Skip to content

Commit

Permalink
feat(icon): update zenticons version (#2051)
Browse files Browse the repository at this point in the history
Co-authored-by: landluck <[email protected]>
  • Loading branch information
landluck and landluck authored Jun 7, 2024
1 parent c251139 commit 47787db
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/zent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zent",
"version": "9.12.15-beta.4",
"version": "9.12.15-beta.3",
"description": "一套前端设计语言和基于React的实现",
"bugs": "https://github.com/youzan/zent/issues",
"repository": {
Expand Down Expand Up @@ -53,7 +53,7 @@
"tslib": "^2.3.0",
"utility-types": "^3.4.1",
"warning": "^4.0.3",
"zenticons": "3.7.5-beta.1"
"zenticons": "3.7.5-beta.2"
},
"peerDependencies": {
"react": "^17.0.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/zent/src/icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ export type IconType =
| 'brush'
| 'brush-o'
| 'business'
| 'business-manage'
| 'business-manage-o'
| 'business-o'
| 'calendar'
| 'calendar-o'
Expand Down
24 changes: 24 additions & 0 deletions packages/zent/src/icon/demos/all.md
Original file line number Diff line number Diff line change
Expand Up @@ -1421,6 +1421,30 @@ class IconGrid extends Component {
<span className="zi-grid-item-name">canvas_fill</span>
</div>
</CopyButton>
<CopyButton
text={this.getIconString("business-manage-o")}
onCopySuccess="business-manage 已复制到剪贴板"
>
<div
className="zi-grid-item"
data-index="business-managebusinessmanagebusiness-manageoutline"
>
<Icon type="business-manage-o" />
<span className="zi-grid-item-name">business-manage</span>
</div>
</CopyButton>
<CopyButton
text={this.getIconString("business-manage")}
onCopySuccess="business-manage_fill 已复制到剪贴板"
>
<div
className="zi-grid-item"
data-index="business-manage_fillbusinessmanagebusiness-managefilled"
>
<Icon type="business-manage" />
<span className="zi-grid-item-name">business-manage_fill</span>
</div>
</CopyButton>
</div>
</div>

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12451,10 +12451,10 @@ yocto-queue@^0.1.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

[email protected].1:
version "3.7.5-beta.1"
resolved "https://registry.npmjs.org/zenticons/-/zenticons-3.7.5-beta.1.tgz#1419d32e42482ed04e4bea1fc9726e5840c199ef"
integrity sha512-Vq6UYgnr2GWhkpsNrqVAO+MTsWda7tsQRryOpKKh8U+5GIRIrS557/DHcM4oyLoxiGx/yGmNvTa6UqnjoWAMAA==
[email protected].2:
version "3.7.5-beta.2"
resolved "https://registry.npmjs.org/zenticons/-/zenticons-3.7.5-beta.2.tgz#3aa3584b5b9cab2f7a21678ef3d436901828fd80"
integrity sha512-D6QIkT8n8GTrAjCnXu1jHVu1QyyQfUEbN5XN9thvHEnCMpBz3MfAXMNgJm0HA/YCLYULA5tfiTzJBf7LtcJWDQ==

zwitch@^1.0.0:
version "1.0.5"
Expand Down

0 comments on commit 47787db

Please sign in to comment.