From 868226ab80d303f3cfedf1eec7ca1f70d34eed7b Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Mar 2025 08:36:58 +0800 Subject: [PATCH 01/10] =?UTF-8?q?doc:=20=E5=A2=9E=E5=8A=A0=20UniverIcon=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Samples/Icons/UniverIconList.razor | 436 ++++++++++++++++++ .../Samples/Icons/UniverIconList.razor.css | 13 + .../Samples/Icons/UniverIcons.razor | 29 ++ .../Samples/Icons/UniverIcons.razor.cs | 14 + 4 files changed, 492 insertions(+) create mode 100644 src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor create mode 100644 src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css create mode 100644 src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor create mode 100644 src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor.cs diff --git a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor new file mode 100644 index 00000000000..d7fc53d9787 --- /dev/null +++ b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor @@ -0,0 +1,436 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css new file mode 100644 index 00000000000..8658cb3000a --- /dev/null +++ b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css @@ -0,0 +1,13 @@ +.icon-list { + margin-top: 1rem; + display: flex; + flex-direction: row; + flex-wrap: wrap; +} + +::deep .bb-univer-icon { + padding: 1rem 2rem; + border: 1px solid var(--bs-border-color); + border-radius: var(--bs-border-radius); + margin: 0.5rem; +} diff --git a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor new file mode 100644 index 00000000000..460b51039a8 --- /dev/null +++ b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor @@ -0,0 +1,29 @@ +@page "/univer-icon" +@layout MainLayout +@inject IStringLocalizer Localizer + +

@Localizer["UniverIconTitle"]

+ +

@Localizer["UniverIconDescription"]

+ + + + +
    +
  • @Localizer["P1"]
  • +
  • @Localizer["P2"]
  • +
+
@Localizer["P3"]
+
+ +
<link href="_content/BootstrapBlazor.OctIcon/BootstrapBlazor.OctIcon.bundle.scp.css" rel="stylesheet">
+ +
+ +
+ +
<UniverIcon Name="create-copy-single"></UniverIcon>
+ +
@((MarkupString)Localizer["Icons"].Value)
+ + diff --git a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor.cs b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor.cs new file mode 100644 index 00000000000..bc0b5ee7847 --- /dev/null +++ b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor.cs @@ -0,0 +1,14 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the Apache 2.0 License +// See the LICENSE file in the project root for more information. +// Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone + +namespace BootstrapBlazor.Server.Components.Samples.Icons; + +/// +/// OctIcons 图标示例 +/// +public partial class UniverIcons +{ + +} From c841ab8790ced20abeb2ec197199d34e9c7c7d9e Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Mar 2025 08:37:11 +0800 Subject: [PATCH 02/10] =?UTF-8?q?doc:=20=E6=9B=B4=E6=96=B0=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E5=8C=96=E8=B5=84=E6=BA=90=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor.Server/Locales/en-US.json | 9 +++++++++ src/BootstrapBlazor.Server/Locales/zh-CN.json | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/src/BootstrapBlazor.Server/Locales/en-US.json b/src/BootstrapBlazor.Server/Locales/en-US.json index cb0e7190da5..96e6a19b617 100644 --- a/src/BootstrapBlazor.Server/Locales/en-US.json +++ b/src/BootstrapBlazor.Server/Locales/en-US.json @@ -6781,6 +6781,15 @@ "P3": "Please copy the following code segement", "Icons": "For icon list, please visit [portal]" }, + "BootstrapBlazor.Server.Components.Samples.Icons.UniverIcons": { + "UniverIconTitle": "Univer Svg Icon Lib", + "UniverIconDescription": "Icons used by Univer", + "CopiedTooltipText": "Copied", + "P1": "1. After referencing the extension package, add the package built-in style file to open the icon", + "P2": "2. Enable css isolation and automatically reference component styles after compilation", + "P3": "Please copy the following code segement", + "Icons": "For icon list, please visit [portal]" + }, "BootstrapBlazor.Server.Components.Samples.BootstrapBlazorIcons": { "IconsTitle": "Icon", "IconsDescription": "Supports font icons, vector SVG icons, and Image pictures", diff --git a/src/BootstrapBlazor.Server/Locales/zh-CN.json b/src/BootstrapBlazor.Server/Locales/zh-CN.json index e51327f430c..e95a3205e31 100644 --- a/src/BootstrapBlazor.Server/Locales/zh-CN.json +++ b/src/BootstrapBlazor.Server/Locales/zh-CN.json @@ -6781,6 +6781,15 @@ "P3": "请拷贝下方样式即可", "Icons": "图标列表请通过 [传送门] 查看" }, + "BootstrapBlazor.Server.Components.Samples.Icons.UniverIcons": { + "UniverIconTitle": "Univer Icon 图标库", + "UniverIconDescription": "Icons used by Univer", + "CopiedTooltipText": "拷贝成功", + "P1": "1. 引用扩展组件包后添加包内置样式文件开启图标", + "P2": "2. 开启样式隔离,编译后自动引用组件样式", + "P3": "请拷贝下方样式即可", + "Icons": "图标列表请通过 [传送门] 查看" + }, "BootstrapBlazor.Server.Components.Samples.BootstrapBlazorIcons": { "IconsTitle": "Icon 图标", "IconsDescription": "同时支持字体图标、矢量 Svg 图标、以及 Image 图片", From defc28cbe7a0abd14e128ad17a36ac3de0434b34 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Mar 2025 08:37:21 +0800 Subject: [PATCH 03/10] =?UTF-8?q?chore:=20=E5=A2=9E=E5=8A=A0=20UniverIcon?= =?UTF-8?q?=20=E4=BE=9D=E8=B5=96=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj index 42917cc9a12..c7ca256e9b8 100644 --- a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj +++ b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj @@ -64,6 +64,7 @@ + From b3e41dfae67c3431b1831054db3b938e44ecc422 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Mar 2025 09:12:12 +0800 Subject: [PATCH 04/10] =?UTF-8?q?doc:=20=E5=A2=9E=E5=8A=A0=20UniverIcon=20?= =?UTF-8?q?=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Extensions/MenusLocalizerExtensions.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/BootstrapBlazor.Server/Extensions/MenusLocalizerExtensions.cs b/src/BootstrapBlazor.Server/Extensions/MenusLocalizerExtensions.cs index 6d7b7c13b0c..2aa8b65d605 100644 --- a/src/BootstrapBlazor.Server/Extensions/MenusLocalizerExtensions.cs +++ b/src/BootstrapBlazor.Server/Extensions/MenusLocalizerExtensions.cs @@ -1583,6 +1583,12 @@ void AddIcons(DemoMenuItem item) { Text = Localizer["OctIcon"], Url = "oct-icon" + }, + new() + { + IsNew = true, + Text = Localizer["UniverIcon"], + Url = "univer-icon" } }; AddBadge(item); From c858524a27c87826447607814c01eaddf2c1ddcb Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Mar 2025 09:12:21 +0800 Subject: [PATCH 05/10] =?UTF-8?q?doc:=20=E5=A2=9E=E5=8A=A0=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E5=A4=9A=E8=AF=AD=E8=A8=80=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor.Server/Locales/en-US.json | 1 + src/BootstrapBlazor.Server/Locales/zh-CN.json | 1 + 2 files changed, 2 insertions(+) diff --git a/src/BootstrapBlazor.Server/Locales/en-US.json b/src/BootstrapBlazor.Server/Locales/en-US.json index 96e6a19b617..7ea819a756b 100644 --- a/src/BootstrapBlazor.Server/Locales/en-US.json +++ b/src/BootstrapBlazor.Server/Locales/en-US.json @@ -4856,6 +4856,7 @@ "Affix": "Affix", "Watermark": "Watermark", "OctIcon": "Oct Icons", + "UniverIcons": "Univer Icons", "Typed": "Typed", "UniverSheet": "UniverSheet" }, diff --git a/src/BootstrapBlazor.Server/Locales/zh-CN.json b/src/BootstrapBlazor.Server/Locales/zh-CN.json index e95a3205e31..f9b2f8f63ca 100644 --- a/src/BootstrapBlazor.Server/Locales/zh-CN.json +++ b/src/BootstrapBlazor.Server/Locales/zh-CN.json @@ -4856,6 +4856,7 @@ "Affix": "固钉组件 Affix", "Watermark": "水印组件 Watermark", "OctIcon": "Oct Icons", + "UniverIcon": "Univer Icons", "Typed": "打字机效果 Typed", "UniverSheet": "表格组件 UniverSheet" }, From 53864dda7d84784cf06e4d08215ba102490a6f91 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Mar 2025 09:12:27 +0800 Subject: [PATCH 06/10] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj index c7ca256e9b8..2443f07cdc9 100644 --- a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj +++ b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj @@ -64,7 +64,7 @@ - + From 2bde8d6a32c6c97f913cb804d22152ec6bacadb8 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Mar 2025 09:17:11 +0800 Subject: [PATCH 07/10] =?UTF-8?q?refactor:=20=E5=BE=AE=E8=B0=83=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Samples/Icons/UniverIconList.razor.css | 4 ++-- .../Components/Samples/Icons/UniverIcons.razor | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css index 8658cb3000a..ba027990a68 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css +++ b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css @@ -6,8 +6,8 @@ } ::deep .bb-univer-icon { - padding: 1rem 2rem; + padding: 1rem 30px; border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius); - margin: 0.5rem; + margin: 0.25rem; } diff --git a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor index 460b51039a8..c02cca9ec4d 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor +++ b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor @@ -18,10 +18,6 @@
<link href="_content/BootstrapBlazor.OctIcon/BootstrapBlazor.OctIcon.bundle.scp.css" rel="stylesheet">
-
- -
-
<UniverIcon Name="create-copy-single"></UniverIcon>
@((MarkupString)Localizer["Icons"].Value)
From d39f821b47afe441c753c680ead4b10cf45713af Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Mar 2025 10:02:58 +0800 Subject: [PATCH 08/10] =?UTF-8?q?refactor:=20=E5=A2=9E=E5=8A=A0=20IconLayo?= =?UTF-8?q?ut=20=E6=AF=8D=E7=89=88=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Layout/IconLayout.razor | 4 + .../Components/Layout/IconLayout.razor.cs | 14 + .../Samples/Icons/UniverIconList.razor | 870 +++++++++--------- .../Samples/Icons/UniverIconList.razor.css | 13 - .../Samples/Icons/UniverIcons.razor | 4 +- .../Components/Samples/Icons/_Imports.razor | 1 + .../wwwroot/css/site.css | 21 + 7 files changed, 477 insertions(+), 450 deletions(-) create mode 100644 src/BootstrapBlazor.Server/Components/Layout/IconLayout.razor create mode 100644 src/BootstrapBlazor.Server/Components/Layout/IconLayout.razor.cs delete mode 100644 src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css create mode 100644 src/BootstrapBlazor.Server/Components/Samples/Icons/_Imports.razor diff --git a/src/BootstrapBlazor.Server/Components/Layout/IconLayout.razor b/src/BootstrapBlazor.Server/Components/Layout/IconLayout.razor new file mode 100644 index 00000000000..0d488b50d20 --- /dev/null +++ b/src/BootstrapBlazor.Server/Components/Layout/IconLayout.razor @@ -0,0 +1,4 @@ +@inherits LayoutComponentBase +@layout MainLayout + +@Body diff --git a/src/BootstrapBlazor.Server/Components/Layout/IconLayout.razor.cs b/src/BootstrapBlazor.Server/Components/Layout/IconLayout.razor.cs new file mode 100644 index 00000000000..a2b752e7fb5 --- /dev/null +++ b/src/BootstrapBlazor.Server/Components/Layout/IconLayout.razor.cs @@ -0,0 +1,14 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the Apache 2.0 License +// See the LICENSE file in the project root for more information. +// Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone + +namespace BootstrapBlazor.Server.Components.Layout; + +/// +/// Icon Layout Component +/// +public partial class IconLayout +{ + +} diff --git a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor index d7fc53d9787..052cd886369 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor +++ b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor @@ -1,436 +1,434 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css deleted file mode 100644 index ba027990a68..00000000000 --- a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIconList.razor.css +++ /dev/null @@ -1,13 +0,0 @@ -.icon-list { - margin-top: 1rem; - display: flex; - flex-direction: row; - flex-wrap: wrap; -} - -::deep .bb-univer-icon { - padding: 1rem 30px; - border: 1px solid var(--bs-border-color); - border-radius: var(--bs-border-radius); - margin: 0.25rem; -} diff --git a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor index c02cca9ec4d..c6d45748a2c 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor +++ b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor @@ -22,4 +22,6 @@
@((MarkupString)Localizer["Icons"].Value)
- +
+ +
diff --git a/src/BootstrapBlazor.Server/Components/Samples/Icons/_Imports.razor b/src/BootstrapBlazor.Server/Components/Samples/Icons/_Imports.razor new file mode 100644 index 00000000000..78d0153ba00 --- /dev/null +++ b/src/BootstrapBlazor.Server/Components/Samples/Icons/_Imports.razor @@ -0,0 +1 @@ +@layout IconLayout diff --git a/src/BootstrapBlazor.Server/wwwroot/css/site.css b/src/BootstrapBlazor.Server/wwwroot/css/site.css index 506736640e9..563c14b7302 100644 --- a/src/BootstrapBlazor.Server/wwwroot/css/site.css +++ b/src/BootstrapBlazor.Server/wwwroot/css/site.css @@ -369,3 +369,24 @@ code { --bd-callout-code-color: #e685b5; --bd-pre-bg: #1b1f22; } + +.icon-list { + margin-top: 1rem; + display: flex; + flex-direction: row; + flex-wrap: wrap; +} + + .icon-list > div { + padding: 1rem 30px; + border: 1px solid var(--bs-border-color); + border-radius: var(--bs-border-radius); + margin: 0.25rem; + cursor: pointer; + transition: background-color .3s linear; + } + + .icon-list > div:hover { + background-color: var(--bb-primary-color); + color: #fff; + } From bad089127f4a735df447db987803c88640ed1064 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Mar 2025 10:16:20 +0800 Subject: [PATCH 09/10] =?UTF-8?q?doc:=20=E6=9B=B4=E6=96=B0=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=A1=A8=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Samples/Icons/UniverIcons.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor index c6d45748a2c..416b7a3abd9 100644 --- a/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor +++ b/src/BootstrapBlazor.Server/Components/Samples/Icons/UniverIcons.razor @@ -16,7 +16,7 @@
@Localizer["P3"]
-
<link href="_content/BootstrapBlazor.OctIcon/BootstrapBlazor.OctIcon.bundle.scp.css" rel="stylesheet">
+
<link href="_content/BootstrapBlazor.UniverIcon/BootstrapBlazor.UniverIcon.bundle.scp.css" rel="stylesheet">
<UniverIcon Name="create-copy-single"></UniverIcon>
From 2fcdf4c914c172c94832c39d8032b5354a38b994 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Mar 2025 10:19:21 +0800 Subject: [PATCH 10/10] =?UTF-8?q?test:=20=E6=9B=B4=E6=96=B0=E5=8D=95?= =?UTF-8?q?=E5=85=83=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/UnitTest/Services/BootstrapBlazorRootRegisterServiceTest.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/UnitTest/Services/BootstrapBlazorRootRegisterServiceTest.cs b/test/UnitTest/Services/BootstrapBlazorRootRegisterServiceTest.cs index a8c6b900b17..f8b68e81b63 100644 --- a/test/UnitTest/Services/BootstrapBlazorRootRegisterServiceTest.cs +++ b/test/UnitTest/Services/BootstrapBlazorRootRegisterServiceTest.cs @@ -28,6 +28,7 @@ public void Subscribe_Ok() var service = new BootstrapBlazorRootRegisterService(); var identifier = new object(); service.Subscribe(identifier, new BootstrapBlazorRootOutlet()); + service.Subscribe(identifier, new BootstrapBlazorRootOutlet()); service.Unsubscribe(new object()); }