Skip to content

Commit

Permalink
doc(Icons): update icons style sheet documentation (#4428)
Browse files Browse the repository at this point in the history
* refactor: 移除 version 工具配置

* chore: 更新 warning 配置

* chore: 更新 Json 依赖配置

* chore: 移除版本工具链配置

* refactor: 移动 CS8002 警告配置

* chore: 移除平台配置

* chore: 更新 Json 高风险配置

* chore: 增加 wasm 平台支持配置

* chore: 更新 Json 版本配置

* doc: 更新图标样式使用文档

* chore: bump version 8.10.2
  • Loading branch information
ArgoZhang authored Oct 11, 2024
1 parent 5c414c1 commit 0b7fe8a
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@

<PackageTips Name="BootstrapBlazor.AntDesignIcon" />

<Tips class="mt-3">
<ul class="ul-demo">
<li>@Localizer["P1"]</li>
<li>@Localizer["P2"]</li>
</ul>
<div>@Localizer["P3"]</div>
</Tips>

<Pre>&lt;link href="_content/BootstrapBlazor.AntDesignIcon/BootstrapBlazor.AntDesignIcon.bundle.scp.css" rel="stylesheet"&gt;</Pre>

<Pre>&lt;AntDesignIcon Category="AntDesignIconCategory.Outlined" Name="account-book"&gt;&lt;AntDesignIcon&gt;</Pre>

<AntDesignIconList CopiedTooltipText="@Localizer["CopiedTooltipText"]" />
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@

<PackageTips Name="BootstrapBlazor.ElementIcon" />

<Tips class="mt-3">
<ul class="ul-demo">
<li>@Localizer["P1"]</li>
<li>@Localizer["P2"]</li>
</ul>
<div>@Localizer["P3"]</div>
</Tips>

<Pre>&lt;link href="_content/BootstrapBlazor.ElementIcon/BootstrapBlazor.ElementIcon.bundle.scp.css" rel="stylesheet"&gt;</Pre>

<Pre>&lt;ElementIcon Name="add-location"&gt;&lt;ElementIcon&gt;</Pre>

<ElementIconList CopiedTooltipText="@Localizer["CopiedTooltipText"]" />
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@

<PackageTips Name="BootstrapBlazor.IconPark" />

<Tips class="mt-3">
<ul class="ul-demo">
<li>@Localizer["P1"]</li>
<li>@Localizer["P2"]</li>
</ul>
<div>@Localizer["P3"]</div>
</Tips>

<Pre>&lt;link href="_content/BootstrapBlazor.IconPark/BootstrapBlazor.IconPark.bundle.scp.css" rel="stylesheet"&gt;</Pre>

<Pre>&lt;ByteDanceIcon Name="abdominal"&gt;&lt;ByteDanceIcon&gt;</Pre>

<IconParkList CopiedTooltipText="@Localizer["CopiedTooltipText"]" />
15 changes: 12 additions & 3 deletions src/BootstrapBlazor.Server/Locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -6657,7 +6657,10 @@
"BootstrapBlazor.Server.Components.Samples.Icons.ElementIcons": {
"ElementIconTitle": "Element-plus Icons",
"ElementIconDescription": "Free, high quality, open source icon library",
"CopiedTooltipText": "Copied"
"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"
},
"BootstrapBlazor.Server.Components.Samples.Icons.FAIcons": {
"Title": "Font Awesome Icons",
Expand All @@ -6678,12 +6681,18 @@
"BootstrapBlazor.Server.Components.Samples.Icons.IconParks": {
"IconParkTitle": "ByteDance Svg Icon Lib",
"IconParkDescription": "It has covered all platforms of ByteDance commercial product series and has been introduced and used by 12 platforms as the underlying code, ensuring the uniformity of icon style and cognition.",
"CopiedTooltipText": "Copied"
"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"
},
"BootstrapBlazor.Server.Components.Samples.Icons.AntDesignIcons": {
"AntDesignIconTitle": "AntDesign Svg Icon Lib",
"AntDesignIconDescription": "Semantic vector graphics.",
"CopiedTooltipText": "Copied"
"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"
},
"BootstrapBlazor.Server.Components.Samples.BootstrapBlazorIcons": {
"IconsTitle": "Icon",
Expand Down
15 changes: 12 additions & 3 deletions src/BootstrapBlazor.Server/Locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -6657,7 +6657,10 @@
"BootstrapBlazor.Server.Components.Samples.Icons.ElementIcons": {
"ElementIconTitle": "饿了么图标库",
"ElementIconDescription": "饿了么免费开源图标库",
"CopiedTooltipText": "拷贝成功"
"CopiedTooltipText": "拷贝成功",
"P1": "1. 引用扩展组件包后添加包内置样式文件开启图标",
"P2": "2. 开启样式隔离,编译后自动引用组件样式",
"P3": "请拷贝下方样式即可"
},
"BootstrapBlazor.Server.Components.Samples.Icons.FAIcons": {
"Title": "Font Awesome Icons",
Expand All @@ -6678,12 +6681,18 @@
"BootstrapBlazor.Server.Components.Samples.Icons.IconParks": {
"IconParkTitle": "字节跳动图标库",
"IconParkDescription": "已覆盖字节跳动商业化产品系所有平台,并被12个平台作为底层代码引入使用,保证了图标样式与认知的统一性",
"CopiedTooltipText": "拷贝成功"
"CopiedTooltipText": "拷贝成功",
"P1": "1. 引用扩展组件包后添加包内置样式文件开启图标",
"P2": "2. 开启样式隔离,编译后自动引用组件样式",
"P3": "请拷贝下方样式即可"
},
"BootstrapBlazor.Server.Components.Samples.Icons.AntDesignIcons": {
"AntDesignIconTitle": "蚂蚁图标库",
"AntDesignIconDescription": "语义化的矢量图形",
"CopiedTooltipText": "拷贝成功"
"CopiedTooltipText": "拷贝成功",
"P1": "1. 引用扩展组件包后添加包内置样式文件开启图标",
"P2": "2. 开启样式隔离,编译后自动引用组件样式",
"P3": "请拷贝下方样式即可"
},
"BootstrapBlazor.Server.Components.Samples.BootstrapBlazorIcons": {
"IconsTitle": "Icon 图标",
Expand Down
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>8.10.2-beta05</Version>
<Version>8.10.2</Version>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
Expand Down

0 comments on commit 0b7fe8a

Please sign in to comment.