Skip to content

Commit

Permalink
aspnet preview6
Browse files Browse the repository at this point in the history
  • Loading branch information
chanan committed Jun 14, 2019
1 parent 0693125 commit 95f3037
Show file tree
Hide file tree
Showing 54 changed files with 319 additions and 33 deletions.
2 changes: 1 addition & 1 deletion docs/_content/BlazorStyled/stlyed.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var styleSheet = styleEl.sheet;

window.styledJsFunctions = {
insertRule: function (rule, development) {
//console.log(rule);
//console.log(rule)
if (development) {
var text = styleEl.innerText;
text = text + rule;
Expand Down
Binary file modified docs/_framework/_bin/BlazorStyled.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/BlazorStyled.pdb
Binary file not shown.
Binary file not shown.
Binary file modified docs/_framework/_bin/Microsoft.AspNetCore.Blazor.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/Microsoft.AspNetCore.Components.Browser.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/Microsoft.AspNetCore.Components.dll
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.JSInterop.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/Mono.Security.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/Mono.WebAssembly.Interop.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/Polished.net.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/Sample.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/Sample.pdb
Binary file not shown.
Binary file added docs/_framework/_bin/System.Buffers.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/System.ComponentModel.Annotations.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Core.dll
Binary file not shown.
Binary file added docs/_framework/_bin/System.Memory.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/System.Net.Http.dll
Binary file not shown.
Binary file added docs/_framework/_bin/System.Numerics.Vectors.dll
Binary file not shown.
Binary file not shown.
Binary file added docs/_framework/_bin/System.Text.Json.dll
Binary file not shown.
Binary file not shown.
Binary file modified docs/_framework/_bin/System.dll
Binary file not shown.
Binary file modified docs/_framework/_bin/mscorlib.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_framework/blazor.boot.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"main":"Sample.dll","entryPoint":"Sample.Program::Main","assemblyReferences":["BlazorStyled.dll","Microsoft.AspNetCore.Blazor.dll","Microsoft.AspNetCore.Components.Browser.dll","Microsoft.AspNetCore.Components.dll","Microsoft.Extensions.DependencyInjection.Abstractions.dll","Microsoft.Extensions.DependencyInjection.dll","Microsoft.JSInterop.dll","Mono.Security.dll","Mono.WebAssembly.Interop.dll","mscorlib.dll","Polished.net.dll","System.ComponentModel.Annotations.dll","System.Core.dll","System.dll","System.Net.Http.dll","BlazorStyled.pdb","Sample.pdb"],"cssReferences":[],"jsReferences":["_content/BlazorStyled/stlyed.js"],"linkerEnabled":true}
{"main":"Sample.dll","entryPoint":"Sample.Program::Main","assemblyReferences":["BlazorStyled.dll","Microsoft.AspNetCore.Authorization.dll","Microsoft.AspNetCore.Blazor.dll","Microsoft.AspNetCore.Components.Browser.dll","Microsoft.AspNetCore.Components.dll","Microsoft.AspNetCore.Metadata.dll","Microsoft.Extensions.DependencyInjection.Abstractions.dll","Microsoft.Extensions.DependencyInjection.dll","Microsoft.Extensions.Logging.Abstractions.dll","Microsoft.Extensions.Options.dll","Microsoft.Extensions.Primitives.dll","Microsoft.JSInterop.dll","Mono.Security.dll","Mono.WebAssembly.Interop.dll","mscorlib.dll","Polished.net.dll","System.Buffers.dll","System.ComponentModel.Annotations.dll","System.Core.dll","System.dll","System.Memory.dll","System.Net.Http.dll","System.Numerics.Vectors.dll","System.Runtime.CompilerServices.Unsafe.dll","System.Text.Json.dll","System.Threading.Tasks.Extensions.dll","BlazorStyled.pdb","Sample.pdb"],"cssReferences":[],"jsReferences":["_content\u002fBlazorStyled\u002fstlyed.js"],"linkerEnabled":true}
6 changes: 3 additions & 3 deletions docs/_framework/blazor.server.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/_framework/blazor.webassembly.js

Large diffs are not rendered by default.

288 changes: 287 additions & 1 deletion docs/_framework/wasm/mono.js

Large diffs are not rendered by default.

Binary file modified docs/_framework/wasm/mono.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions src/BlazorStyled/BlazorStyled.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<RazorLangVersion>3.0</RazorLangVersion>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<PackageId>BlazorStyled</PackageId>
<Version>1.0.0-preview4-01</Version>
<Version>1.0.0-preview6-02</Version>
<Authors>Chanan Braunstein</Authors>
<Title>BlazorStyled</Title>
<Description>CSS in Blazor Components</Description>
Expand All @@ -28,7 +28,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.Browser" Version="3.0.0-preview5-19227-01" />
<PackageReference Include="Microsoft.AspNetCore.Components.Browser" Version="3.0.0-preview6.19307.2" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Pages/Basic.razor
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}
</CodeBlock>

@functions {
@code {
private string example1, example2;

protected override async Task OnInitAsync()
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Pages/ButtonExample.razor
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
}
}</CodeBlock>

@functions {
@code {
private void onclick(UIMouseEventArgs e)
{
Console.WriteLine("Onclick");
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</CodeBlock>
</div>

@functions {
@code {
private string hover, example;
private string color = "white";

Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Pages/Motivation.razor
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<li class="@li"><a href="https://github.com/threepointone/glamor">Glamor</a></li>
</ul>

@functions {
@code {
private string ul, li;

protected override async Task OnInitAsync()
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Pages/Nested.razor
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
}
</CodeBlock>

@functions {
@code {
private string nested, paragraph, hover;

private string color = "white";
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Pages/PolishedExample.razor
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
</CodeBlock>

@functions {
@code {
private string arrow, gradient;

protected override async Task OnInitAsync()
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Pages/Theming.razor
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
</CodeBlock>

@functions {
@code {
private string example;

protected override async Task OnInitAsync()
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Pages/fonts.razor
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
</CodeBlock>

@functions {
@code {
private string p;

protected override async Task OnInitAsync()
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Pages/keyframes.razor
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
</CodeBlock>

@functions {
@code {
private string bounce, example;

protected override async Task OnInitAsync()
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Pages/media.razor
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</CodeBlock>


@functions {
@code {
private string p1, p2;

private int[] breakpoints = new int[] { 576, 768, 992, 1200 };
Expand Down
8 changes: 4 additions & 4 deletions src/Sample/Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
Expand All @@ -11,9 +11,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Blazor" Version="3.0.0-preview5-19227-01" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="3.0.0-preview5-19227-01" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.DevServer" Version="3.0.0-preview5-19227-01" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Blazor" Version="3.0.0-preview6.19307.2" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="3.0.0-preview6.19307.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.DevServer" Version="3.0.0-preview6.19307.2" PrivateAssets="all" />
<PackageReference Include="Polished" Version="1.0.0-preview-02" />
</ItemGroup>

Expand Down
8 changes: 4 additions & 4 deletions src/Sample/Shared/CodeBlock.razor
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@inject IStyled Styled
@inject IMixins Mixins

<pre class="@pre"><code class="@code">@ChildContent</code></pre>
<pre class="@pre"><code class="@codeClass">@ChildContent</code></pre>

@functions {
@code {
[Parameter] private RenderFragment ChildContent { get; set; }
private string pre, code;
private string pre, codeClass;

protected override async Task OnInitAsync()
{
Expand Down Expand Up @@ -33,7 +33,7 @@
background: rgb(40, 41, 54);
");

code = await Styled.Css(@"
codeClass = await Styled.Css(@"
color: rgb(204, 204, 204);
text-shadow: none;
font-family: 'Fira Mono';
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Shared/Heading.razor
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}


@functions {
@code {
[Parameter] private RenderFragment ChildContent { get; set; }
[Parameter]
private HeadingSize HeadingSize { get; set; } = HeadingSize.H1;
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Shared/Line.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<hr class="@hrClass" />

@functions {
@code {
private string hrClass;

protected override async Task OnInitAsync()
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</div>
</div>

@functions {
@code {
private string container, navColumn, mainColumn, topNav, topMain, bottom, brand, ul, li;

protected override async Task OnInitAsync()
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Shared/MyButton.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<button class="@buttonClass" onclick="@OnClick">@ChildContent</button>

@functions {
@code {
[Parameter] private RenderFragment ChildContent { get; set; }
[Parameter] private EventCallback<UIMouseEventArgs> OnClick { get; set; }
[Parameter] private string Color { get; set; } = "green";
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</ul>
</nav>

@functions {
@code {
private string ul, link;

protected override async Task OnInitAsync()
Expand Down
2 changes: 1 addition & 1 deletion src/Sample/Shared/Paragraph.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<p class="@paragraphClass">@ChildContent</p>

@functions {
@code {
[Parameter] private RenderFragment ChildContent { get; set; }
private string paragraphClass;

Expand Down

0 comments on commit 95f3037

Please sign in to comment.