From 01fc5bcaf593e1fec420bfdea9a8e7eb3cf81205 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sun, 29 Dec 2024 15:58:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20=E5=A2=9E=E5=8A=A0=20Desc=20?= =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Options/ScrollIntoViewOptions.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs b/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs index 2fca35af3d5..134949509f1 100644 --- a/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs +++ b/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs @@ -3,6 +3,8 @@ // See the LICENSE file in the project root for more information. // Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone +using System.ComponentModel; + namespace BootstrapBlazor.Components; /// @@ -35,16 +37,19 @@ public enum ScrollIntoViewBehavior /// /// scrolling should animate smoothly /// + [Description("smooth")] Smooth, /// /// scrolling should happen instantly in a single jump /// + [Description("instant")] Instant, /// /// scroll behavior is determined by the computed value of scroll-behavior /// + [Description("auto")] Auto } @@ -57,21 +62,25 @@ public enum ScrollIntoViewBlock /// /// Start /// + [Description("start")] Start, /// /// Center /// + [Description("center")] Center, /// /// End /// + [Description("end")] End, /// /// Nearest /// + [Description("nearest")] Nearest } @@ -84,20 +93,24 @@ public enum ScrollIntoViewInline /// /// Start /// + [Description("start")] Start, /// /// Center /// + [Description("center")] Center, /// /// End /// + [Description("end")] End, /// /// Nearest /// + [Description("nearest")] Nearest } From 7a313c704f15ae80084fc3cd5b081f5093251ed7 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sun, 29 Dec 2024 16:09:19 +0800 Subject: [PATCH 2/2] chore: bump version 9.2.0-beta03 Co-Authored-By: zph19970424 <51937136+zph19970424@users.noreply.github.com> --- src/BootstrapBlazor/BootstrapBlazor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index b921a79d2aa..a855779081a 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 9.2.0-beta02 + 9.2.0-beta03