From c5e97f9600f6d856423f2be3c1cc2cb332f4b04a Mon Sep 17 00:00:00 2001 From: stm Date: Tue, 17 Jan 2023 10:15:49 +0100 Subject: [PATCH] Progress --- Connected.Components.sln | 2 +- src/Connected.Components/Components/Icon/Icon.razor.cs | 2 +- src/Connected.Components/Components/Input/Input.razor | 3 +-- src/Connected.Components/Components/Input/Input.razor.cs | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Connected.Components.sln b/Connected.Components.sln index 50640d1..6507c50 100644 --- a/Connected.Components.sln +++ b/Connected.Components.sln @@ -7,7 +7,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Components", "src EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Components.Showcase", "src\Connected.Components.Showcase\Connected.Components.Showcase.csproj", "{EBB24FD8-A554-427C-A93B-B48C047D34CC}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Connected.Components.Showcase.Runner", "Connected.Components.Showcase.Runner\Connected.Components.Showcase.Runner.csproj", "{B8E7BCC3-3F99-4222-B65E-9ABD3B18DAF7}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Components.Showcase.Runner", "Connected.Components.Showcase.Runner\Connected.Components.Showcase.Runner.csproj", "{B8E7BCC3-3F99-4222-B65E-9ABD3B18DAF7}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/Connected.Components/Components/Icon/Icon.razor.cs b/src/Connected.Components/Components/Icon/Icon.razor.cs index 41f1190..6c7919f 100644 --- a/src/Connected.Components/Components/Icon/Icon.razor.cs +++ b/src/Connected.Components/Components/Icon/Icon.razor.cs @@ -10,7 +10,7 @@ public partial class Icon : UIComponent protected string Classname => new CssBuilder("icon-root") .AddClass($"icon-default", Color == ThemeColor.Default) - .AddClass($"svg-icon", !string.IsNullOrEmpty(Glyph) && Glyph.Trim().StartsWith(("<"))) + .AddClass($"svg-icon", !string.IsNullOrEmpty(Glyph) && Glyph.Trim().StartsWith("<")) .AddClass($"{Color.ToDescription()}-text", Color != ThemeColor.Default && Color != ThemeColor.Inherit) .AddClass($"icon-size-{Size.ToDescription()}") .AddClass(AdditionalClassList) diff --git a/src/Connected.Components/Components/Input/Input.razor b/src/Connected.Components/Components/Input/Input.razor index 94b3ce5..305d6fa 100644 --- a/src/Connected.Components/Components/Input/Input.razor +++ b/src/Connected.Components/Components/Input/Input.razor @@ -58,8 +58,7 @@ @onmousewheel="@OnMouseWheel" @onwheel="@OnMouseWheel" aria-invalid="@HasError.ToString().ToLower()" - aria-describedby="@ErrorId" - > + aria-describedby="@ErrorId"> @Text diff --git a/src/Connected.Components/Components/Input/Input.razor.cs b/src/Connected.Components/Components/Input/Input.razor.cs index 6aa9ae2..234ef34 100644 --- a/src/Connected.Components/Components/Input/Input.razor.cs +++ b/src/Connected.Components/Components/Input/Input.razor.cs @@ -14,7 +14,6 @@ public partial class Input : InputBase * */ - /// /// The current character counter, displayed below the text field. ///