diff --git a/samples/BlazorApp/BlazorApp.csproj b/samples/BlazorApp/BlazorApp.csproj index dd0c42c..294800a 100644 --- a/samples/BlazorApp/BlazorApp.csproj +++ b/samples/BlazorApp/BlazorApp.csproj @@ -5,7 +5,7 @@ Exe 7.3 3.0 - 3.0.0-preview6.19305.13 + 3.0.0-preview7.19365.7 diff --git a/samples/BlazorApp/Pages/TextFieldSample.razor b/samples/BlazorApp/Pages/TextFieldSample.razor index 5140917..8493f5a 100644 --- a/samples/BlazorApp/Pages/TextFieldSample.razor +++ b/samples/BlazorApp/Pages/TextFieldSample.razor @@ -4,13 +4,32 @@

See TextField.cshtml for sources.

- +
+ + @if (currentText != null) + { +

You typed: @currentText

+ } +
-@if (currentValue != null) -{ -

You typed: @currentValue

-} +
+ + @if (currentPassword != null) + { +

You typed: @currentPassword

+ } +
+ +
+ + @if (currentMultiLine != null) + { +

You typed: @currentMultiLine

+ } +
@functions { - string currentValue; + string currentText; + string currentPassword; + string currentMultiLine; } diff --git a/samples/BlazorApp/wwwroot/css/site.css b/samples/BlazorApp/wwwroot/css/site.css index b0d0a9c..aec6615 100644 --- a/samples/BlazorApp/wwwroot/css/site.css +++ b/samples/BlazorApp/wwwroot/css/site.css @@ -82,3 +82,7 @@ h1 { .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing)+.mdc-drawer-app-content .mdc-top-app-bar { width: calc(100% - 256px); } + +.grouping { + margin: 10px; +} \ No newline at end of file diff --git a/samples/BlazorApp/wwwroot/index.html b/samples/BlazorApp/wwwroot/index.html index 39a2936..7160f57 100644 --- a/samples/BlazorApp/wwwroot/index.html +++ b/samples/BlazorApp/wwwroot/index.html @@ -6,9 +6,9 @@ Component Demos - - - + + + Loading... diff --git a/samples/RazorComponentsApp/Index.cshtml b/samples/RazorComponentsApp/Index.cshtml index 9be4117..441192d 100644 --- a/samples/RazorComponentsApp/Index.cshtml +++ b/samples/RazorComponentsApp/Index.cshtml @@ -8,9 +8,9 @@ Component Demos - - - + + + @(await Html.RenderComponentAsync()) diff --git a/samples/RazorComponentsApp/RazorComponentsApp.csproj b/samples/RazorComponentsApp/RazorComponentsApp.csproj index 03fb765..6f855e9 100644 --- a/samples/RazorComponentsApp/RazorComponentsApp.csproj +++ b/samples/RazorComponentsApp/RazorComponentsApp.csproj @@ -3,7 +3,7 @@ netcoreapp3.0 7.3 - 3.0.0-preview6.19305.13 + 3.0.0-preview7.19365.7 diff --git a/src/RazorComponents.MaterialDesign/MdcTextArea.razor b/src/RazorComponents.MaterialDesign/MdcTextArea.razor new file mode 100644 index 0000000..362d4dc --- /dev/null +++ b/src/RazorComponents.MaterialDesign/MdcTextArea.razor @@ -0,0 +1,23 @@ +@inherits MdcInputComponentBase +@inject IJSRuntime jsRuntime + +
+