Skip to content

Commit

Permalink
v.2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chanan committed Mar 15, 2020
1 parent 68f1c0b commit 2d4666d
Show file tree
Hide file tree
Showing 53 changed files with 74 additions and 24 deletions.
4 changes: 4 additions & 0 deletions docs/_content/SampleCore/globalstyles1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<Styled GlobalStyle="ColorHotPink">
label: color-hotpink;
color: hotpink;
</Styled>
5 changes: 5 additions & 0 deletions docs/_content/SampleCore/globalstyles2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@inject IStyled Styled

<p class="@Styled.GlobalStyles[" ColorHotPink"]">
This paragraph is hot pink because the it uses a global style that defines it to be hot pink.
</p>
Binary file modified docs/_framework/_bin/BlazorPrettyCode.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/BlazorPrettyCode.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/BlazorStyled.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/BlazorStyled.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/BlazorTypography.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/BlazorTypography.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/ClientSideSample.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/ClientSideSample.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/_framework/_bin/Microsoft.AspNetCore.Components.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/Microsoft.AspNetCore.Components.dll.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/_framework/_bin/Microsoft.Extensions.Configuration.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/Microsoft.Extensions.Configuration.dll.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/_framework/_bin/Microsoft.Extensions.Primitives.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/Microsoft.Extensions.Primitives.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/SampleCore.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/SampleCore.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Core.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Core.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Net.Http.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Net.Http.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll
Binary file not shown.
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Text.Encodings.Web.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Text.Encodings.Web.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Text.Json.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Text.Json.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/System.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/System.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/WebAssembly.Bindings.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/WebAssembly.Bindings.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/WebAssembly.Net.Http.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/WebAssembly.Net.Http.dll.gz
Binary file not shown.
Binary file modified docs/_framework/_bin/mscorlib.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/mscorlib.dll.gz
Binary file not shown.
46 changes: 23 additions & 23 deletions docs/_framework/blazor.boot.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,35 @@
"linkerEnabled": true,
"resources": {
"assembly": {
"BlazorPrettyCode.dll": "sha256-ZDBSHGKUPjiX2jZlFm\/ayXkXkV\/GMpidJrU7zrnAgWA=",
"BlazorStyled.dll": "sha256-QfBMO31A9DBB1fsUjTJM0inKHg2BR0yETmAqBbU+ryI=",
"BlazorTypography.dll": "sha256-IP4r6IpvSpZFzq8paQxjtdwDh0GCjH7lmXHabpCCgRI=",
"ClientSideSample.dll": "sha256-Ky2y+SkQ0WQ+doED1HkhyNMQRptvA\/UTuuCHmvLdSqs=",
"BlazorPrettyCode.dll": "sha256-bfRCw3v0yHSJ+UE7DLieBGRhEGt5s9Xwi114tve0qnk=",
"BlazorStyled.dll": "sha256-WWV3n6aBuojlJUhFthGBg8wLCXKaaxiHWc6VlWqlwV0=",
"BlazorTypography.dll": "sha256-R2cMx2tSil61M+m6LmRAYpeQ8nrY9531E\/PWoe2u+3Q=",
"ClientSideSample.dll": "sha256-JHDM995h8dAgvvAu3UmKbipn3WiQl\/XtsFYUK1xQFsg=",
"CSHTMLTokenizer.dll": "sha256-hayWnG0MBNcIseM4R4ZMbbu9wyTpG5rI4D2G\/pBun3c=",
"Microsoft.AspNetCore.Components.dll": "sha256-MzZDSkkNjMw9znRlH9K4hpSmnAC2Qx15hLOvQ\/b6V18=",
"Microsoft.AspNetCore.Components.Web.dll": "sha256-lXF6tU+cgXiZJNDzc9JIcdcQVE0LXU2NpJzAwymzRfo=",
"Microsoft.AspNetCore.Components.WebAssembly.dll": "sha256-a26i6NOfFLWLGaw4+HjR07bOs0n09m57r5+2BmhGjVg=",
"Microsoft.AspNetCore.Components.dll": "sha256-00Es+cNnP8QmeBgQC0R+nXH53\/5qwT4oeWvMZsfoDk0=",
"Microsoft.AspNetCore.Components.Web.dll": "sha256-AFLnWeZvea3twfKt\/c4r6nbBCYBsSs3Fy3PiDLvdWiU=",
"Microsoft.AspNetCore.Components.WebAssembly.dll": "sha256-qBq1bPvR406IRctXJCiLB\/5Ax\/PrrVCtYe7Fv1bqYQ4=",
"Microsoft.Bcl.AsyncInterfaces.dll": "sha256-jzHgXWAvWMkKIGFjZoT84tbe72E+H7CvTr\/Dryh4QPs=",
"Microsoft.Extensions.Configuration.Abstractions.dll": "sha256-6rHQpg\/HyONTARUew8kVaRhXrSi16ss9C7lJ\/MnvHPc=",
"Microsoft.Extensions.Configuration.dll": "sha256-+e9ohDBPCk\/X0Wq8zTGdSqilPgS1i\/4yu3DYrmQmW0M=",
"Microsoft.Extensions.DependencyInjection.Abstractions.dll": "sha256-o\/nLw7bRl1VVRBMGR65pmalC1Y2BzLb1qZxa4b36aXM=",
"Microsoft.Extensions.DependencyInjection.dll": "sha256-eldYKht5kE4fzeytNcu7v4cgbNqcUpXreOWkK2nblbU=",
"Microsoft.Extensions.Logging.Abstractions.dll": "sha256-Amdq6lBEYzYAw1x82zxi82FfaaueFgdeYE2bwW01r74=",
"Microsoft.Extensions.Primitives.dll": "sha256-Vd01KWCaymDTMe5wj9tdBe+DZLS8rhlFdZa359uR3Dg=",
"Microsoft.Extensions.Configuration.Abstractions.dll": "sha256-gMjMxokECF1fhtyNylJTGcV\/28ZjoOYsJ45C\/YWt+kU=",
"Microsoft.Extensions.Configuration.dll": "sha256-niKQGfnZ1hRWVdXNXtqS2Rljsxw+ENARwqpNdF9f4RM=",
"Microsoft.Extensions.DependencyInjection.Abstractions.dll": "sha256-wuviaQrvThcn\/GZgqBd+6MNVUzvzbUshX\/4yETWQDYo=",
"Microsoft.Extensions.DependencyInjection.dll": "sha256-inSnlxK7xZxmkYc73FVdzHbg0xOs34jCEIxd0nVgG1w=",
"Microsoft.Extensions.Logging.Abstractions.dll": "sha256-9KR5ZUHO7rvQdmk83ZazmUJf4ZdrxQpfiw2N1YgmQ3s=",
"Microsoft.Extensions.Primitives.dll": "sha256-UcF0s5gKGz61K8q7rFKeDGJs+nuZDcjqErL1O\/pO\/LI=",
"Microsoft.JSInterop.dll": "sha256-CJ0jnf2G21cOvZYQt\/4NVkv642Xz8fLQyPnHvcfP3D4=",
"Microsoft.JSInterop.WebAssembly.dll": "sha256-VP8179q6KlTFT\/O0r6zq3Il8a0P7HOsHY2h35s5Lpng=",
"mscorlib.dll": "sha256-Gku0SdOWlRYbN4+VRoLzBBHEWdNYuIaBzoJ2pMx19d0=",
"mscorlib.dll": "sha256-iJmdmPAl0WECqSR4sDSMlBLVkGTmiceG6isBAYaJI90=",
"Polished.net.dll": "sha256-TIAx8OOnl9YQJ9ymf6NK5BEF3Am0xOqKiKQnxarQIbg=",
"SampleCore.dll": "sha256-gqAscgrJGg6K+XBwqXwhe1wNI09BwXHQrZSxTMqgGFI=",
"SampleCore.dll": "sha256-jfzNJfJE6ZLLEDJt0K7Lb6enVSeC+Fhblx4CJ2aFanw=",
"Stateless.dll": "sha256-Z0Ib3TQDHXW7VpbYGpuN0Cz31f+MXMsNE00wihDNoqw=",
"System.Core.dll": "sha256-A5dC6IIV3F3EA6y2RFPYfByqwSqB+FlPgulbyhBytvE=",
"System.dll": "sha256-IkgpxUfl+uSeEVBY+30fHF6GMofFQ+bWSES5XHPzS9M=",
"System.Net.Http.dll": "sha256-xWHQKUaVz1RmaTwxphHv9lMXRLO88kLiECzpaXl8B10=",
"System.Runtime.CompilerServices.Unsafe.dll": "sha256-kk0k5LCsHeDEPRIAgnjDxzoleh\/wb93P7nSbHa+XhC4=",
"System.Text.Encodings.Web.dll": "sha256-IbYqn9lyRFiLlExhGpoz9eNrbgGkAJFC2uKQbOAoY78=",
"System.Text.Json.dll": "sha256-HkEyRqPDdqUNuhDxRqqGU\/VpTMO2cipF7tn\/fa\/Zz1s=",
"WebAssembly.Bindings.dll": "sha256-6Bs590Wcn9AKYNbOTgU00Zkf68W5BsZMEm9BBFHjN9E=",
"WebAssembly.Net.Http.dll": "sha256-5dUL7EqPLGDgAFSq7m1MVUJ\/F6c1dVWc6+s6vDYtMPQ="
"System.Core.dll": "sha256-CGk\/zd\/ueB7QcSgn4dpkM1QIxSb3VsZ54r6GrToSarM=",
"System.dll": "sha256-REsUuv+DT1qtOSsi4HmYXl94nVsup58XgFtVHbnHAmU=",
"System.Net.Http.dll": "sha256-3EctvMj4iSKtlit6peuZ7AfHPfxzERDaC8MEBd1lVjE=",
"System.Runtime.CompilerServices.Unsafe.dll": "sha256-WUCy7aufqGhxPN7YnYphXK9lSPISt3rkMVuecLOW0d8=",
"System.Text.Encodings.Web.dll": "sha256-OMaGBOS6ydBwZS8VXsWb06Gq5X3UuRIzf4GEMG0QPJI=",
"System.Text.Json.dll": "sha256-ZGtUF46CDg4HIgZuEbLdjswfNqSAKYqBwvy6\/\/joPU0=",
"WebAssembly.Bindings.dll": "sha256-cZB6FKBssQipX0KHw9wNO\/gLeBjkF+L3349yJx\/aqFA=",
"WebAssembly.Net.Http.dll": "sha256-BN5wPpg4v46EBwrkyx3Vi4WcHeLvSpeDJlPq0Rk06a8="
},
"runtime": {
"dotnet.3.2.0-preview2.20159.2.js": "sha256-80Q7rIpqLxXzuMWqtC+FCBNrG15kR\/r+ba08n2TpQO0=",
Expand Down
Binary file modified docs/_framework/blazor.boot.json.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion src/BlazorStyled/BlazorStyled.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<LangVersion>8.0</LangVersion>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<PackageId>BlazorStyled</PackageId>
<Version>2.1.0</Version>
<Version>2.2.0</Version>
<Authors>Chanan Braunstein</Authors>
<Title>BlazorStyled</Title>
<Description>CSS in Blazor Components</Description>
Expand Down
38 changes: 38 additions & 0 deletions src/SampleCore/Pages/WhatsNew.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
@page "/whatsNew"

<h1>What's New</h1>

<dl>
<dt>Version 2.2.0 3/14/2020</dt>
<dd>
<ul>
<li>Added <a href="/globalStyles">GlobalStyles</a></li>
</ul>
</dd>
<dt>Version 2.1.0 3/12/2020</dt>
<dd>
<ul>
<li>Upgraded to WebAssembly 3.2 preview2</li>
</ul>
</dd>
<dt>Version 2.0.0 3/9/2020</dt>
<dd>
<h4>Breaking Changes</h4>
<ul>
<li>Setup: No need for tags in the head anymore. Remove them all. Only setup needed is register the services (<code>AddBlazorStyled</code>)</li>
<li>Themes API changes: Set theme values using <code>IStyled.SetThemeValue</code></li>
<li>Themes API changes: Get all values using <code>IStyled.GetThemeValues</code></li>
</ul>
<h4>Other Changes</h4>
<ul>
<li>Each Stylesheet id (<code>WithId</code>) now has its own style tag in the head</li>
<li>Compose now returns a list of classes instead of creating a new class with all the rules of the composed classes</li>
<li>
You can now put rules directly in the
<code>&lt;Styled>...&lt;/Styled></code> tag when composing that serve as the basis for the all the classes being composed
</li>
<li>A bug was fixed where a class with just a label caused an exception</li>
</ul>
</dd>
</dl>

3 changes: 3 additions & 0 deletions src/SampleCore/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
<NavLink class="@link" href="googlefonts">
Google Fonts
</NavLink>
<NavLink class="@link" href="whatsNew">
What's New
</NavLink>
</li>
</ul>
<h3 class="@h3nav">Advanced</h3>
Expand Down

0 comments on commit 2d4666d

Please sign in to comment.