From 47787db016a385908114703f7479fe57d84ae4d8 Mon Sep 17 00:00:00 2001 From: landluck Date: Fri, 7 Jun 2024 14:44:57 +0800 Subject: [PATCH] feat(icon): update zenticons version (#2051) Co-authored-by: landluck --- packages/zent/package.json | 4 ++-- packages/zent/src/icon/Icon.tsx | 2 ++ packages/zent/src/icon/demos/all.md | 24 ++++++++++++++++++++++++ yarn.lock | 8 ++++---- 4 files changed, 32 insertions(+), 6 deletions(-) diff --git a/packages/zent/package.json b/packages/zent/package.json index 68f8f759a..455b07076 100644 --- a/packages/zent/package.json +++ b/packages/zent/package.json @@ -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": { @@ -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", diff --git a/packages/zent/src/icon/Icon.tsx b/packages/zent/src/icon/Icon.tsx index 8dab079a8..c04893e04 100644 --- a/packages/zent/src/icon/Icon.tsx +++ b/packages/zent/src/icon/Icon.tsx @@ -20,6 +20,8 @@ export type IconType = | 'brush' | 'brush-o' | 'business' + | 'business-manage' + | 'business-manage-o' | 'business-o' | 'calendar' | 'calendar-o' diff --git a/packages/zent/src/icon/demos/all.md b/packages/zent/src/icon/demos/all.md index 622d220a1..6207326c9 100644 --- a/packages/zent/src/icon/demos/all.md +++ b/packages/zent/src/icon/demos/all.md @@ -1421,6 +1421,30 @@ class IconGrid extends Component { canvas_fill + +
+ + business-manage +
+
+ +
+ + business-manage_fill +
+
diff --git a/yarn.lock b/yarn.lock index 3fa6ee623..368fe0a47 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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== -zenticons@3.7.5-beta.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== +zenticons@3.7.5-beta.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"