diff --git a/src/BlazingApple.Components.Shared/BlazingApple.Components.Shared.csproj b/src/BlazingApple.Components.Shared/BlazingApple.Components.Shared.csproj index 27574be..e462d15 100644 --- a/src/BlazingApple.Components.Shared/BlazingApple.Components.Shared.csproj +++ b/src/BlazingApple.Components.Shared/BlazingApple.Components.Shared.csproj @@ -9,10 +9,10 @@ https://github.com/BlazingApple/Components GitHub true - 2.5.4 - 2.5.5 - 2.5.5 - 2.5.5 - Target .NET 8 + 2.5.6 + 2.5.6 + 2.5.6 + 2.5.6 - Add new SpanType enum true snupkg true @@ -27,4 +27,8 @@ \ + + + + diff --git a/src/BlazingApple.Components.Shared/Models/Time/SpanType.cs b/src/BlazingApple.Components.Shared/Models/Time/SpanType.cs new file mode 100644 index 0000000..b3192ac --- /dev/null +++ b/src/BlazingApple.Components.Shared/Models/Time/SpanType.cs @@ -0,0 +1,15 @@ +namespace BlazingApple.Components.Shared.Models.Time; + +/// The type of span +/// +public enum SpanType +{ + /// Render the span in days + Days, + /// Render the span in weeks + Weeks, + /// Render the span in months + Months, + /// Render the span in years + Years, +} diff --git a/src/BlazingApple.Components/BlazingApple.Components/BlazingApple.Components.csproj b/src/BlazingApple.Components/BlazingApple.Components/BlazingApple.Components.csproj index bf769c8..ad6f9d0 100644 --- a/src/BlazingApple.Components/BlazingApple.Components/BlazingApple.Components.csproj +++ b/src/BlazingApple.Components/BlazingApple.Components/BlazingApple.Components.csproj @@ -10,10 +10,10 @@ https://github.com/BlazingApple/Components GitHub true - 2.6 - 2.6 - 2.6 - 2.6 - Add toggle button + 2.7.0 + 2.7.0 + 2.7.0 + 2.7.0 - New Input Components and Buttons true snupkg true @@ -32,12 +32,12 @@ - + - - - + + + diff --git a/src/BlazingApple.Components/BlazingApple.Components/HTMLElements/DropDown.razor b/src/BlazingApple.Components/BlazingApple.Components/HTMLElements/DropDown.razor index 57de123..c4df41c 100644 --- a/src/BlazingApple.Components/BlazingApple.Components/HTMLElements/DropDown.razor +++ b/src/BlazingApple.Components/BlazingApple.Components/HTMLElements/DropDown.razor @@ -13,7 +13,15 @@