Skip to content

Commit 53441dd

Browse files
committed
v1.3.0
1 parent ad33f82 commit 53441dd

36 files changed

+16
-32
lines changed
0 Bytes
Binary file not shown.

docs/_framework/_bin/BlazorStyled.dll

16.5 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-20 Bytes
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 not shown.
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.

docs/_framework/_bin/SamplePages.dll

-1.5 KB
Binary file not shown.

docs/_framework/_bin/SamplePages.pdb

0 Bytes
Binary file not shown.

docs/_framework/_bin/System.Core.dll

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
512 Bytes
Binary file not shown.

docs/_framework/_bin/System.dll

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

docs/_framework/_bin/mscorlib.dll

0 Bytes
Binary file not shown.

src/BlazorTypography.Tests/BlazorTypography.Tests.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
15-
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0" />
16-
<PackageReference Include="MSTest.TestFramework" Version="2.0.0" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
15+
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0" />
16+
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
1717
</ItemGroup>
1818

1919
<ItemGroup>

src/BlazorTypography/BlazorTypography.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<IsPackable>true</IsPackable>
77
<LangVersion>8.0</LangVersion>
88
<PackageId>BlazorTypography</PackageId>
9-
<Version>1.2.0</Version>
9+
<Version>1.3.0</Version>
1010
<Authors>Chanan Braunstein</Authors>
1111
<Title>BlazorTypography</Title>
1212
<Description>A powerful toolkit for building websites with beautiful design</Description>
@@ -16,9 +16,9 @@
1616
</PropertyGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="BlazorStyled" Version="1.2.0" />
20-
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.1.1" />
21-
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.1" />
19+
<PackageReference Include="BlazorStyled" Version="2.0.0" />
20+
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.1.2" />
21+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.2" />
2222
</ItemGroup>
2323

2424
<ItemGroup>

src/BlazorTypography/ServiceCollectionExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public static class ServiceCollectionExtensions
99
{
1010
public static IServiceCollection AddTypography(this IServiceCollection serviceCollection)
1111
{
12-
serviceCollection.AddBlazorStyled(isDevelopment: false);
12+
serviceCollection.AddBlazorStyled();
1313
serviceCollection.AddTransient<ITypography, TypographyImpl>();
1414
serviceCollection.AddSingleton<IMixins, Mixins>();
1515
return serviceCollection;

src/Sample/ClientSideSample.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="BlazorPrettyCode" Version="1.2.0" />
11+
<PackageReference Include="BlazorPrettyCode" Version="1.3.0" />
1212
<PackageReference Include="Microsoft.AspNetCore.Blazor" Version="3.2.0-preview1.20073.1" />
1313
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="3.2.0-preview1.20073.1" PrivateAssets="all" />
1414
<PackageReference Include="Microsoft.AspNetCore.Blazor.DevServer" Version="3.2.0-preview1.20073.1" PrivateAssets="all" />

src/Sample/Program.cs

-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using BlazorPrettyCode;
2-
using BlazorStyled;
32
using BlazorTypography;
43
using Microsoft.AspNetCore.Blazor.Hosting;
54
using SamplePages;
@@ -25,9 +24,6 @@ public static async Task Main(string[] args)
2524

2625
builder.RootComponents.Add<App>("app");
2726

28-
//Add BlazorStyled to root components
29-
builder.RootComponents.Add<ClientSideStyled>("#styled");
30-
3127
await builder.Build().RunAsync();
3228
}
3329
}

src/SamplePages/Pages/Index.razor

+4-15
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,16 @@
1616

1717
<h2>Quick Start</h2>
1818

19-
<ol>
20-
<li>Add <code>@@using BlazorTypography</code> to your <code>_Imports.razor</code> file</li>
21-
</ol>
19+
<p>Add <code>@@using BlazorTypography</code> to your <code>_Imports.razor</code> file</p>
20+
2221

2322
<h3>Client Side Blazor</h3>
2423

25-
<ol>
26-
<li>Add <code>builder.Services.AddTypography();</code> to your <code>Program.cs</code></li>
27-
<li>Add <code>app.AddComponent&lt;ClientSideStyled>("#styled");</code> to your <code>Program.cs</code></li>
28-
<li>Add <code>&lt;style id="styled">&lt;/style></code> to the <code>head</code> tag of your <code>index.html</code></li>
29-
</ol>
24+
<p>Add <code>builder.Services.AddTypography();</code> to your <code>Program.cs</code></p>
3025

3126
<h3>Server Side Blazor</h3>
3227

33-
<ol>
34-
<li>Add <code>services.AddTypography();</code> to your <code>Startup.cs</code></li>
35-
<li>
36-
For <strong>Server Side Blazor</strong> add <code>@@(await Html.RenderComponentAsync&lt;BlazorStyled.ServerSideStyled>(RenderMode.Server))</code> to the <code>head</code> tag
37-
of your <code>_Hosts.cshtml</code>
38-
</li>
39-
</ol>
28+
<p>Add <code>services.AddTypography();</code> to your <code>Startup.cs</code></p>
4029

4130
<h3>Tag Usage</h3>
4231

src/SamplePages/SamplePages.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="BlazorPrettyCode" Version="1.2.0" />
10-
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.1.1" />
11-
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.1" />
9+
<PackageReference Include="BlazorPrettyCode" Version="1.3.0" />
10+
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.1.2" />
11+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.2" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

src/ServerSideSample/Pages/_Host.cshtml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1010
<title>BlazorTypography Server Side Sample Site</title>
1111
<base href="~/" />
12-
@(await Html.RenderComponentAsync<BlazorStyled.ServerSideStyled>(RenderMode.Server))
1312
</head>
1413
<body>
1514
<app>@(await Html.RenderComponentAsync<SamplePages.App>(RenderMode.Server))</app>

0 commit comments

Comments
 (0)