diff --git a/src/Connected.Components/Components/Alert/Alert.razor b/src/Connected.Components/Components/Alert/Alert.razor index 8f72876..3da8dc8 100644 --- a/src/Connected.Components/Components/Alert/Alert.razor +++ b/src/Connected.Components/Components/Alert/Alert.razor @@ -20,7 +20,7 @@ @if (CloseGlyphVisible) {
- +
} \ No newline at end of file diff --git a/src/Connected.Components/Components/Badge/Badge.razor b/src/Connected.Components/Components/Badge/Badge.razor index a43da56..ad8c371 100644 --- a/src/Connected.Components/Components/Badge/Badge.razor +++ b/src/Connected.Components/Components/Badge/Badge.razor @@ -11,7 +11,7 @@ { @if (!String.IsNullOrEmpty(Icon)) { - + } else { diff --git a/src/Connected.Components/Components/Breadcrumbs/BreadcrumbLink.razor b/src/Connected.Components/Components/Breadcrumbs/BreadcrumbLink.razor index 6784f68..966d6a7 100644 --- a/src/Connected.Components/Components/Breadcrumbs/BreadcrumbLink.razor +++ b/src/Connected.Components/Components/Breadcrumbs/BreadcrumbLink.razor @@ -7,7 +7,7 @@ @if (Item?.Icon != null) { - + } @Item?.Text diff --git a/src/Connected.Components/Components/Breadcrumbs/Breadcrumbs.razor b/src/Connected.Components/Components/Breadcrumbs/Breadcrumbs.razor index 6d5e759..4e34f6f 100644 --- a/src/Connected.Components/Components/Breadcrumbs/Breadcrumbs.razor +++ b/src/Connected.Components/Components/Breadcrumbs/Breadcrumbs.razor @@ -13,7 +13,7 @@ diff --git a/src/Connected.Components/Components/Button/Fab.razor b/src/Connected.Components/Components/Button/Fab.razor index fb8acc6..f5f50d8 100644 --- a/src/Connected.Components/Components/Button/Fab.razor +++ b/src/Connected.Components/Components/Button/Fab.razor @@ -14,12 +14,12 @@ @if (!string.IsNullOrWhiteSpace(StartIcon)) { - + } @Label @if (!string.IsNullOrWhiteSpace(EndIcon)) { - + } diff --git a/src/Connected.Components/Components/Button/IconButton.razor b/src/Connected.Components/Components/Button/GlyphButton.razor similarity index 84% rename from src/Connected.Components/Components/Button/IconButton.razor rename to src/Connected.Components/Components/Button/GlyphButton.razor index 93139d7..60ef2a8 100644 --- a/src/Connected.Components/Components/Button/IconButton.razor +++ b/src/Connected.Components/Components/Button/GlyphButton.razor @@ -5,17 +5,17 @@ @using Connected.Components; - @if (!String.IsNullOrEmpty(Icon)) + @if (!String.IsNullOrEmpty(Glyph)) { - + } else diff --git a/src/Connected.Components/Components/Button/IconButton.razor.cs b/src/Connected.Components/Components/Button/GlyphButton.razor.cs similarity index 89% rename from src/Connected.Components/Components/Button/IconButton.razor.cs rename to src/Connected.Components/Components/Button/GlyphButton.razor.cs index 047e8c7..bff5752 100644 --- a/src/Connected.Components/Components/Button/IconButton.razor.cs +++ b/src/Connected.Components/Components/Button/GlyphButton.razor.cs @@ -3,20 +3,20 @@ using Microsoft.AspNetCore.Components; namespace Connected.Components; -public partial class IconButton : ButtonBase +public partial class GlyphButton : ButtonBase { #region Content /// /// The Icon that will be used in the component. /// [Parameter] - public string? Icon { get; set; } + public string? Glyph { get; set; } /// /// GlyphTitle of the icon used for accessibility. /// [Parameter] - public string? IconTitle { get; set; } + public string? GlyphTitle { get; set; } /// /// Child content of component, only shows if Glyph is null or Empty. diff --git a/src/Connected.Components/Components/Button/ToggleIconButton.razor b/src/Connected.Components/Components/Button/ToggleGlyphButton.razor similarity index 53% rename from src/Connected.Components/Components/Button/ToggleIconButton.razor rename to src/Connected.Components/Components/Button/ToggleGlyphButton.razor index 004062b..545c071 100644 --- a/src/Connected.Components/Components/Button/ToggleIconButton.razor +++ b/src/Connected.Components/Components/Button/ToggleGlyphButton.razor @@ -2,12 +2,12 @@ @inherits UIComponent - diff --git a/src/Connected.Components/Components/Button/ToggleIconButton.razor.cs b/src/Connected.Components/Components/Button/ToggleGlyphButton.razor.cs similarity index 87% rename from src/Connected.Components/Components/Button/ToggleIconButton.razor.cs rename to src/Connected.Components/Components/Button/ToggleGlyphButton.razor.cs index 53371a7..d441950 100644 --- a/src/Connected.Components/Components/Button/ToggleIconButton.razor.cs +++ b/src/Connected.Components/Components/Button/ToggleGlyphButton.razor.cs @@ -2,7 +2,7 @@ namespace Connected.Components; -public partial class ToggleIconButton : UIComponent +public partial class ToggleGlyphButton : UIComponent { #region Events /// @@ -39,25 +39,25 @@ public partial class ToggleIconButton : UIComponent /// The glyph that will be used in the untoggled state. /// [Parameter] - public string? Icon { get; set; } + public string? Glyph { get; set; } /// /// GlyphTitle of the icon used for accessibility. /// [Parameter] - public string? IconTitle { get; set; } + public string? GlyphTitle { get; set; } /// /// The glyph that will be used in the toggled state. /// [Parameter] - public string? ToggledIcon { get; set; } + public string? ToggledGlyph { get; set; } /// /// GlyphTitle used in toggled state, if different. /// [Parameter] - public string? ToggledIconTitle { get; set; } + public string? ToggledGlyphTitle { get; set; } #endregion #region Styling diff --git a/src/Connected.Components/Components/Carousel/Carousel.razor b/src/Connected.Components/Components/Carousel/Carousel.razor index aec618f..b8cb1b6 100644 --- a/src/Connected.Components/Components/Carousel/Carousel.razor +++ b/src/Connected.Components/Components/Carousel/Carousel.razor @@ -31,7 +31,7 @@ { @if (PreviousButtonTemplate == null) { - + } else { @@ -51,7 +51,7 @@ int current = i; if (BulletTemplate == null) { - + } else { @@ -69,7 +69,7 @@ { @if (NextButtonTemplate == null) { - + } else { diff --git a/src/Connected.Components/Components/CheckBox/CheckBox.razor b/src/Connected.Components/Components/CheckBox/CheckBox.razor index eb643ee..c2301b9 100644 --- a/src/Connected.Components/Components/CheckBox/CheckBox.razor +++ b/src/Connected.Components/Components/CheckBox/CheckBox.razor @@ -8,7 +8,7 @@ @*note: stopping the click propagation is important here. otherwise checking the checkbox results in click events on its parent (i.e. table row), which is generally not what you would want*@ - + @if (!String.IsNullOrEmpty(Label)) { diff --git a/src/Connected.Components/Components/Chip/Chip.razor b/src/Connected.Components/Components/Chip/Chip.razor index ae8bb21..a007d80 100644 --- a/src/Connected.Components/Components/Chip/Chip.razor +++ b/src/Connected.Components/Components/Chip/Chip.razor @@ -10,11 +10,11 @@ } else if (!String.IsNullOrEmpty(Icon) && !IsChecked) { - + } else if (IsChecked) { - + } @if (ChildContent == null) @@ -27,7 +27,7 @@ } @if (OnClose.HasDelegate || ChipSet?.AllClosable==true) { - + } diff --git a/src/Connected.Components/Components/ColorPicker/ColorPicker.razor b/src/Connected.Components/Components/ColorPicker/ColorPicker.razor index a0b334b..4184b09 100644 --- a/src/Connected.Components/Components/ColorPicker/ColorPicker.razor +++ b/src/Connected.Components/Components/ColorPicker/ColorPicker.razor @@ -12,12 +12,12 @@ @if (PickerVariant != PickerVariant.Static) { - + } - - - + + + @if (!DisableColorField) @@ -126,7 +126,7 @@ @if (!DisableModeSwitch) {
- +
} diff --git a/src/Connected.Components/Components/DataGrid/DataGrid.razor b/src/Connected.Components/Components/DataGrid/DataGrid.razor index 1ba89cf..d641904 100644 --- a/src/Connected.Components/Components/DataGrid/DataGrid.razor +++ b/src/Connected.Components/Components/DataGrid/DataGrid.razor @@ -126,9 +126,9 @@ @{ var groupStyle = new StyleBuilder().AddStyle(GroupStyle).AddStyle(GroupStyleFunc?.Invoke(g)).Build(); } - @if (GroupedColumn.GroupTemplate == null) @@ -377,7 +377,7 @@ @if (column == null) { - +