From 829bcb31036b81623fc2c4bd93ad6195e11a5802 Mon Sep 17 00:00:00 2001 From: semi-bot Date: Fri, 7 Jun 2024 08:45:41 +0000 Subject: [PATCH 1/7] chore: publish 2.60.0 --- sitemap.xml | 300 ++++++++++++++++++++++++++-------------------------- yarn.lock | 85 +++++++++++++++ 2 files changed, 235 insertions(+), 150 deletions(-) diff --git a/sitemap.xml b/sitemap.xml index 5264c5ad72..6beb4a77a4 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,22 +2,22 @@ https://juejin.cn/post/7267418854124699702 - 2024-06-04T03:40:42.597Z + 2024-06-07T08:45:25.373Z weekly https://medium.com/front-end-weekly/how-we-test-semi-design-component-libraries-64b854f63b65 - 2024-06-04T03:40:41.749Z + 2024-06-07T08:45:24.627Z weekly https://mp.weixin.qq.com/s/noHoWRuA25PgqFNcurhIUA - 2024-06-04T03:40:45.713Z + 2024-06-07T08:45:28.260Z weekly https://mp.weixin.qq.com/s/O3js-SZDNPEOjGxh-aAkbw - 2024-06-04T03:40:45.559Z + 2024-06-07T08:45:28.349Z weekly @@ -436,9 +436,9 @@ https://semi.design/design/zh-CN/input/rating - 2024-03-18T12:30:43.767Z + 2024-06-07T08:45:31.230Z weekly - 1.0.0.133 + 1.0.0.130 https://semi.design/design/zh-CN/input/select @@ -790,77 +790,77 @@ https://semi.design/en-US/basic/divider - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/basic/grid - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/basic/icon - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/basic/layout - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/basic/space - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/basic/tokens - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/basic/typography - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/feedback/banner - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/feedback/notification - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/feedback/popconfirm - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/feedback/progress - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/feedback/skeleton - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/feedback/spin - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/feedback/toast - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/autocomplete - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly @@ -870,362 +870,362 @@ https://semi.design/en-US/input/cascader - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/checkbox - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/datepicker - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/form - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/input - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/inputnumber - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/radio - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/rating - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/select - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/slider - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/switch - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/taginput - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/timepicker - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/transfer - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/treeselect - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/input/upload - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/navigation/anchor - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/navigation/backtop - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/navigation/breadcrumb - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/navigation/navigation - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/navigation/pagination - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/navigation/steps - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/navigation/tabs - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/navigation/tree - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/other/configprovider - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/other/locale - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/avatar - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/badge - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/calendar - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/card - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/carousel - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/collapse - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/collapsible - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/descriptions - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/dropdown - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/empty - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/highlight - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/image - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/list - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/modal - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/overflowlist - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/popover - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/scrolllist - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/sidesheet - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/table - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/tag - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/timeline - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/show/tooltip - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/start/accessibility - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/start/changelog - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/start/customize-theme - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/start/dark-mode - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/start/faq - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/start/getting-started - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/start/introduction - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/start/overview - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/en-US/start/update-to-v2 - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/basic/divider - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/basic/grid - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/basic/icon - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/basic/layout - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/basic/space - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/basic/tokens - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/basic/typography - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/feedback/banner - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/feedback/notification - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/feedback/popconfirm - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/feedback/progress - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/feedback/skeleton - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/feedback/spin - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/feedback/toast - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/autocomplete - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly @@ -1235,287 +1235,287 @@ https://semi.design/zh-CN/input/cascader - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/checkbox - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/datepicker - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/form - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/input - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/inputnumber - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/radio - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/rating - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/select - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/slider - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/switch - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/taginput - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/timepicker - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/transfer - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/treeselect - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/input/upload - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/navigation/anchor - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/navigation/backtop - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/navigation/breadcrumb - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/navigation/navigation - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/navigation/pagination - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/navigation/steps - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/navigation/tabs - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/navigation/tree - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/other/configprovider - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/other/locale - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/avatar - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/badge - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/calendar - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/card - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/carousel - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/collapse - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/collapsible - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/descriptions - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/dropdown - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/empty - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/highlight - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/image - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/list - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/modal - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/overflowlist - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/popover - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/scrolllist - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/sidesheet - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/table - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/tag - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/timeline - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/show/tooltip - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/start/accessibility - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/start/changelog - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/start/customize-theme - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/start/dark-mode - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/start/faq - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/start/getting-started - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/start/introduction - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/start/overview - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly https://semi.design/zh-CN/start/update-to-v2 - 2024-06-04T03:35:38.000Z + 2024-06-07T08:39:00.000Z weekly diff --git a/yarn.lock b/yarn.lock index 865f9d7332..0c730f129d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1534,11 +1534,25 @@ "@douyinfe/semi-animation-styled" "2.23.2" classnames "^2.2.6" +"@douyinfe/semi-animation-react@2.59.1": + version "2.59.1" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation-react/-/semi-animation-react-2.59.1.tgz#66ef6a26a0064c4785d2a69877c0c939d5b55a88" + integrity sha512-TImalOl13V8QeHEOOAdwqQbwt3F59lwAFBcKvsymqnquWhAyBhOXTRaaIZSziv4sKGn1gXD7Cs7N5fBBY+pMog== + dependencies: + "@douyinfe/semi-animation" "2.59.1" + "@douyinfe/semi-animation-styled" "2.59.1" + classnames "^2.2.6" + "@douyinfe/semi-animation-styled@2.23.2": version "2.23.2" resolved "https://registry.npmjs.org/@douyinfe/semi-animation-styled/-/semi-animation-styled-2.23.2.tgz#f18bc074515441c297cc636ed98521e249d093c9" integrity sha512-cKaA1yGHPF76Rx7EZDZicj+1oX1su2wnqb/UGFOTquAwqWmkTfgQ+EKxCd/N704WH+RtmGf4xbrJKpBvvcEdSQ== +"@douyinfe/semi-animation-styled@2.59.1": + version "2.59.1" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation-styled/-/semi-animation-styled-2.59.1.tgz#af8db2ebaae4fa1ed948ffd5596563e50663e67c" + integrity sha512-41MtvA+FJCnPoWjY1RWLz3vkJ4HP42QriUUJ+ZmRMQYUQo0dXuE2uSCa47pMaMLAvEHoY0CFoIUnYUGzdonSjw== + "@douyinfe/semi-animation@2.12.0": version "2.12.0" resolved "https://registry.npmjs.org/@douyinfe/semi-animation/-/semi-animation-2.12.0.tgz#51fe52d3911c2591a80a6e9fe96e6809c1511f13" @@ -1554,6 +1568,13 @@ dependencies: bezier-easing "^2.1.0" +"@douyinfe/semi-animation@2.59.1": + version "2.59.1" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation/-/semi-animation-2.59.1.tgz#2b2ddacb87ff29ccb0b198f1641f3229db1d306e" + integrity sha512-vrYRe9aT5FhNl/ghjLGE4L3T29Y1nuvKQPqptde5XMhPkpGkH3A/4IjO8dXvfipdXdhZGcXyWYbtL9gknsm+rQ== + dependencies: + bezier-easing "^2.1.0" + "@douyinfe/semi-foundation@2.33.1": version "2.33.1" resolved "https://registry.npmjs.org/@douyinfe/semi-foundation/-/semi-foundation-2.33.1.tgz#1dfe6233e35a4ed768cb580b0c9a677d1c34ffba" @@ -1568,6 +1589,21 @@ memoize-one "^5.2.1" scroll-into-view-if-needed "^2.2.24" +"@douyinfe/semi-foundation@2.59.1": + version "2.59.1" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-foundation/-/semi-foundation-2.59.1.tgz#e7d9fb01f99a3a786c1726f8fa67af7e9f07c919" + integrity sha512-t2CXa/5zLiBimHnmF1v/UWZgUoE9rB7SFR2qi649xyahpLQx6H9ahrbo6oqwa8GDLnSWravTeSNlvoI8Z8if7Q== + dependencies: + "@douyinfe/semi-animation" "2.59.1" + async-validator "^3.5.0" + classnames "^2.2.6" + date-fns "^2.29.3" + date-fns-tz "^1.3.8" + fast-copy "^3.0.1 " + lodash "^4.17.21" + memoize-one "^5.2.1" + scroll-into-view-if-needed "^2.2.24" + "@douyinfe/semi-icons@2.33.1", "@douyinfe/semi-icons@latest": version "2.33.1" resolved "https://registry.yarnpkg.com/@douyinfe/semi-icons/-/semi-icons-2.33.1.tgz#8e2871d9bc0ab7e12df74e3c71802d53d69b7425" @@ -1575,11 +1611,23 @@ dependencies: classnames "^2.2.6" +"@douyinfe/semi-icons@2.59.1", "@douyinfe/semi-icons@^2.0.0": + version "2.59.1" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-icons/-/semi-icons-2.59.1.tgz#de5695f4d01061b5ca35807ca6a9dfd652b276ff" + integrity sha512-XJ30Fsbnkq0T9Z7exYKiI+GM8q3Zee1gO28H5CckA0dFHxnpNyJ4QazzTuTj5dSXAZq3uYXakmNB8wDAgV9d9A== + dependencies: + classnames "^2.2.6" + "@douyinfe/semi-illustrations@2.33.1": version "2.33.1" resolved "https://registry.npmjs.org/@douyinfe/semi-illustrations/-/semi-illustrations-2.33.1.tgz#530ab851f4dc32a52221c4067c778c800b9b55d7" integrity sha512-tTTUN8QwnQiF++sk4VBNzfkG87aYZ4iUeqk2ys8/ymVUmCZQ7y46ys020GO1MfPHRR47OMFPI82FVcH1WQtE3g== +"@douyinfe/semi-illustrations@2.59.1": + version "2.59.1" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-illustrations/-/semi-illustrations-2.59.1.tgz#2874a681805dbad83b2024496cfe58b46396eef0" + integrity sha512-EzbM+FAV862tdXNIbVwoSCfGLeIcT37/Vzm+q9cfx+DYMBqeQEQcH5qLOpRGFc4Hf796bxJtGfE/jFmDC2xdDw== + "@douyinfe/semi-scss-compile@2.23.2": version "2.23.2" resolved "https://registry.npmjs.org/@douyinfe/semi-scss-compile/-/semi-scss-compile-2.23.2.tgz#30884bb194ee9ae1e81877985e5663c3297c1ced" @@ -1653,6 +1701,38 @@ dependencies: glob "^7.1.6" +"@douyinfe/semi-theme-default@2.59.1": + version "2.59.1" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-theme-default/-/semi-theme-default-2.59.1.tgz#8afca4da013fab673377ca06147ea463f717e45b" + integrity sha512-XuB6jf5Ob0ufyFJ2xKpdNTbB0/LM8Fe9hWOIMEmux2eiHwnMzCQvfrOHphCy/g1+TbGlGK9N6kJnCyUKP+U/AQ== + +"@douyinfe/semi-ui@^2.0.0": + version "2.59.1" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-ui/-/semi-ui-2.59.1.tgz#6784816155f0d81d47ac65d6203a4c7540409a33" + integrity sha512-zF5Fe0d8NrNxR8tVoMiuhlnp5J6/5PvnV0kr0iBOsqW89peboF0HPNg/lr3DvzoPpCWCN++bZZAFdMAB/WGplQ== + dependencies: + "@dnd-kit/core" "^6.0.8" + "@dnd-kit/sortable" "^7.0.2" + "@dnd-kit/utilities" "^3.2.1" + "@douyinfe/semi-animation" "2.59.1" + "@douyinfe/semi-animation-react" "2.59.1" + "@douyinfe/semi-foundation" "2.59.1" + "@douyinfe/semi-icons" "2.59.1" + "@douyinfe/semi-illustrations" "2.59.1" + "@douyinfe/semi-theme-default" "2.59.1" + async-validator "^3.5.0" + classnames "^2.2.6" + copy-text-to-clipboard "^2.1.1" + date-fns "^2.29.3" + date-fns-tz "^1.3.8" + fast-copy "^3.0.1 " + lodash "^4.17.21" + prop-types "^15.7.2" + react-resizable "^3.0.5" + react-window "^1.8.2" + scroll-into-view-if-needed "^2.2.24" + utility-types "^3.10.0" + "@douyinfe/semi-ui@latest": version "2.33.1" resolved "https://registry.yarnpkg.com/@douyinfe/semi-ui/-/semi-ui-2.33.1.tgz#3234ca96eb3560b8299bc9750fbe59446522d9bb" @@ -11666,6 +11746,11 @@ eslint-plugin-react@^7.20.6, eslint-plugin-react@^7.24.0: semver "^6.3.0" string.prototype.matchall "^4.0.8" +eslint-plugin-semi-design@^2.33.0: + version "2.59.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-semi-design/-/eslint-plugin-semi-design-2.59.1.tgz#35848e8a2d030f691a3919a7dfc24f358271ff4a" + integrity sha512-RSWWNICk5SqHifMB83zcNlLg4sMaUz2T22s09lKar8CMsBNmL1iYtHj7pt28tsGRpiu4SzC9sHICR/qaATn+IQ== + eslint-rule-composer@^0.3.0: version "0.3.0" resolved "https://registry.npmjs.org/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9" From 4002a3053726ca7c3d5175cad3cd7bc36cf0daf1 Mon Sep 17 00:00:00 2001 From: semi-bot Date: Fri, 7 Jun 2024 08:45:42 +0000 Subject: [PATCH 2/7] v2.60.0 --- lerna.json | 2 +- packages/semi-animation-react/package.json | 6 +++--- packages/semi-animation-styled/package.json | 2 +- packages/semi-animation/package.json | 2 +- packages/semi-eslint-plugin/package.json | 2 +- packages/semi-foundation/package.json | 4 ++-- packages/semi-icons-lab/package.json | 2 +- packages/semi-icons/package.json | 2 +- packages/semi-illustrations/package.json | 2 +- packages/semi-next/package.json | 4 ++-- packages/semi-rspack/package.json | 2 +- packages/semi-scss-compile/package.json | 2 +- packages/semi-theme-default/package.json | 2 +- packages/semi-ui/package.json | 14 +++++++------- packages/semi-webpack/package.json | 2 +- 15 files changed, 25 insertions(+), 25 deletions(-) diff --git a/lerna.json b/lerna.json index 354c9978de..49a303c926 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { "useWorkspaces": true, "npmClient": "yarn", - "version": "2.60.0-beta.0" + "version": "2.60.0" } \ No newline at end of file diff --git a/packages/semi-animation-react/package.json b/packages/semi-animation-react/package.json index 5e3b7773e5..711a89f65c 100644 --- a/packages/semi-animation-react/package.json +++ b/packages/semi-animation-react/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-animation-react", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "motion library for semi-ui-react", "keywords": [ "motion", @@ -25,8 +25,8 @@ "prepublishOnly": "npm run build:lib" }, "dependencies": { - "@douyinfe/semi-animation": "2.60.0-beta.0", - "@douyinfe/semi-animation-styled": "2.60.0-beta.0", + "@douyinfe/semi-animation": "2.60.0", + "@douyinfe/semi-animation-styled": "2.60.0", "classnames": "^2.2.6" }, "devDependencies": { diff --git a/packages/semi-animation-styled/package.json b/packages/semi-animation-styled/package.json index 12ba22e105..784f8a04fd 100644 --- a/packages/semi-animation-styled/package.json +++ b/packages/semi-animation-styled/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-animation-styled", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "semi styled animation", "keywords": [ "semi", diff --git a/packages/semi-animation/package.json b/packages/semi-animation/package.json index 003300db61..c6d53cd80e 100644 --- a/packages/semi-animation/package.json +++ b/packages/semi-animation/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-animation", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "animation base library for semi-ui", "keywords": [ "animation", diff --git a/packages/semi-eslint-plugin/package.json b/packages/semi-eslint-plugin/package.json index add40548fd..3dd7ca50e8 100644 --- a/packages/semi-eslint-plugin/package.json +++ b/packages/semi-eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-semi-design", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "semi ui eslint plugin", "keywords": [ "semi", diff --git a/packages/semi-foundation/package.json b/packages/semi-foundation/package.json index 42f1395d78..bf4688a1c4 100644 --- a/packages/semi-foundation/package.json +++ b/packages/semi-foundation/package.json @@ -1,13 +1,13 @@ { "name": "@douyinfe/semi-foundation", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "", "scripts": { "build:lib": "node ./scripts/compileLib.js", "prepublishOnly": "npm run build:lib" }, "dependencies": { - "@douyinfe/semi-animation": "2.60.0-beta.0", + "@douyinfe/semi-animation": "2.60.0", "async-validator": "^3.5.0", "classnames": "^2.2.6", "date-fns": "^2.29.3", diff --git a/packages/semi-icons-lab/package.json b/packages/semi-icons-lab/package.json index 98863176f2..a99ceb07d7 100644 --- a/packages/semi-icons-lab/package.json +++ b/packages/semi-icons-lab/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-icons-lab", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "semi icons lab", "keywords": [ "semi", diff --git a/packages/semi-icons/package.json b/packages/semi-icons/package.json index 6907ea4086..515ded0d9a 100644 --- a/packages/semi-icons/package.json +++ b/packages/semi-icons/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-icons", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "semi icons", "keywords": [ "semi", diff --git a/packages/semi-illustrations/package.json b/packages/semi-illustrations/package.json index 9aa9098099..2e22e80656 100644 --- a/packages/semi-illustrations/package.json +++ b/packages/semi-illustrations/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-illustrations", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "semi illustrations", "keywords": [ "semi", diff --git a/packages/semi-next/package.json b/packages/semi-next/package.json index d80a3a4349..1b22ae8c18 100644 --- a/packages/semi-next/package.json +++ b/packages/semi-next/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-next", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "Plugin that support Semi Design in Next.js", "author": "伍浩威 ", "homepage": "", @@ -23,7 +23,7 @@ "typescript": "^4" }, "dependencies": { - "@douyinfe/semi-webpack-plugin": "2.60.0-beta.0" + "@douyinfe/semi-webpack-plugin": "2.60.0" }, "gitHead": "eb34a4f25f002bb4cbcfa51f3df93bed868c831a" } diff --git a/packages/semi-rspack/package.json b/packages/semi-rspack/package.json index ae24a61676..02e9580c9a 100644 --- a/packages/semi-rspack/package.json +++ b/packages/semi-rspack/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-rspack-plugin", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "", "homepage": "", "license": "MIT", diff --git a/packages/semi-scss-compile/package.json b/packages/semi-scss-compile/package.json index 10ff9ed18c..1fb17af21d 100644 --- a/packages/semi-scss-compile/package.json +++ b/packages/semi-scss-compile/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-scss-compile", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "compile semi scss to css", "author": "daiqiang@bytedance.com", "license": "MIT", diff --git a/packages/semi-theme-default/package.json b/packages/semi-theme-default/package.json index d3db0854eb..112f544866 100644 --- a/packages/semi-theme-default/package.json +++ b/packages/semi-theme-default/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-theme-default", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "semi-theme-default", "keywords": [ "semi-theme", diff --git a/packages/semi-ui/package.json b/packages/semi-ui/package.json index b0c0b814df..e7da369f94 100644 --- a/packages/semi-ui/package.json +++ b/packages/semi-ui/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-ui", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.", "main": "lib/cjs/index.js", "module": "lib/es/index.js", @@ -20,12 +20,12 @@ "@dnd-kit/core": "^6.0.8", "@dnd-kit/sortable": "^7.0.2", "@dnd-kit/utilities": "^3.2.1", - "@douyinfe/semi-animation": "2.60.0-beta.0", - "@douyinfe/semi-animation-react": "2.60.0-beta.0", - "@douyinfe/semi-foundation": "2.60.0-beta.0", - "@douyinfe/semi-icons": "2.60.0-beta.0", - "@douyinfe/semi-illustrations": "2.60.0-beta.0", - "@douyinfe/semi-theme-default": "2.60.0-beta.0", + "@douyinfe/semi-animation": "2.60.0", + "@douyinfe/semi-animation-react": "2.60.0", + "@douyinfe/semi-foundation": "2.60.0", + "@douyinfe/semi-icons": "2.60.0", + "@douyinfe/semi-illustrations": "2.60.0", + "@douyinfe/semi-theme-default": "2.60.0", "async-validator": "^3.5.0", "classnames": "^2.2.6", "copy-text-to-clipboard": "^2.1.1", diff --git a/packages/semi-webpack/package.json b/packages/semi-webpack/package.json index eb44f98537..739e0fb2ad 100644 --- a/packages/semi-webpack/package.json +++ b/packages/semi-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-webpack-plugin", - "version": "2.60.0-beta.0", + "version": "2.60.0", "description": "", "author": "伍浩威 ", "homepage": "", From 85915526ddb06b0d834ab6c1bd399eb66ffa7f6e Mon Sep 17 00:00:00 2001 From: YyumeiZhang <101110131+YyumeiZhang@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:30:50 +0800 Subject: [PATCH 3/7] docs: remove extra item show in overview (#2287) --- content/start/overview/index.md | 2 +- src/components/ComponentOverview/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/start/overview/index.md b/content/start/overview/index.md index 498f10152c..8fed97c235 100644 --- a/content/start/overview/index.md +++ b/content/start/overview/index.md @@ -98,5 +98,5 @@ Toast 提示 ```overview ConfigProvider 全局配置, -LocaleProvider 多语言, +LocaleProvider 多语言 ``` diff --git a/src/components/ComponentOverview/index.jsx b/src/components/ComponentOverview/index.jsx index 4c0d5190aa..20b64dec06 100644 --- a/src/components/ComponentOverview/index.jsx +++ b/src/components/ComponentOverview/index.jsx @@ -2,7 +2,7 @@ import React from 'react'; import Card from './card'; const ComponentList = props => { - const list = props.code.split(','); + const list = props.code.split(',').filter(item => item !== '\n'); return (
{list.map((item, index) => ( From e0ef3c82b52beb40caef775fe9a0f747da664397 Mon Sep 17 00:00:00 2001 From: DaiQiangReal Date: Tue, 11 Jun 2024 15:30:36 +0800 Subject: [PATCH 4/7] feat: avatar size support raw value --- content/show/avatar/index-en-US.md | 2 +- content/show/avatar/index.md | 2 +- packages/semi-ui/avatar/index.tsx | 11 ++++++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/content/show/avatar/index-en-US.md b/content/show/avatar/index-en-US.md index 54a814f8af..d3c21240d6 100644 --- a/content/show/avatar/index-en-US.md +++ b/content/show/avatar/index-en-US.md @@ -437,7 +437,7 @@ import { Avatar, AvatarGroup } from '@douyinfe/semi-ui'; | hoverMask | Avatar content overlay when hover | ReactNode | - | | imgAttr | Native html img attributes **>=1.5.0** | React.ImgHTMLAttributes | - | | shape | Shape of the avatar, one of `circle`, `square` | string | `circle` | -| size | Size of the avatar, one of `extra-extra-small`,`extra-small`, `small`, `default`, `medium`, `large`, `extra-large` | string | `medium` | +| size | Size of the avatar, one of `extra-extra-small`,`extra-small`, `small`, `default`, `medium`, `large`, `extra-large` and raw value | string | `medium` | | src | Resource address for imgage avatars | string | - | | srcSet | Set the image avatar responsive resource address | string | - | | style | Style name | CSSProperties | - | diff --git a/content/show/avatar/index.md b/content/show/avatar/index.md index f0b808fc27..7556f8fa4e 100644 --- a/content/show/avatar/index.md +++ b/content/show/avatar/index.md @@ -432,7 +432,7 @@ import { AvatarGroup, Avatar } from '@douyinfe/semi-ui'; | gap | 字符头像距离左右两侧的像素大小 | number | 3 | | imgAttr | 原生 img 属性 **>=1.5.0** | React.ImgHTMLAttributes | - | | shape | 指定头像的形状,支持 `circle`、`square` | string | `circle` | -| size | 设置头像的大小,支持 `extra-extra-small`、`extra-small`、`small`、`default`、`medium`、`large`、`extra-large` | string | `medium` | +| size | 设置头像的大小,支持 `extra-extra-small`、`extra-small`、`small`、`default`、`medium`、`large`、`extra-large` 和 字面量 | string | `medium` | | src | 图片类头像的资源地址 | string | - | | srcSet | 设置图片类头像响应式资源地址 | string | - | | style | 样式名 | CSSProperties | - | diff --git a/packages/semi-ui/avatar/index.tsx b/packages/semi-ui/avatar/index.tsx index 771361bb94..3ddbd695ed 100644 --- a/packages/semi-ui/avatar/index.tsx +++ b/packages/semi-ui/avatar/index.tsx @@ -336,6 +336,11 @@ export default class Avatar extends BaseComponent { ...others } = this.props; const { isImgExist, hoverContent, focusVisible } = this.state; + let customStyle :CSSProperties= {}; + if(!strings.SIZE.includes(size)){ + customStyle = {width:size,height:size} + } + customStyle = {...customStyle,...style} const shouldWrap = bottomSlot || topSlot || border; const mouseEvent = { onClick: onClick, @@ -361,7 +366,7 @@ export default class Avatar extends BaseComponent { let avatar = { if (typeof border ==='object' && border?.color) { borderStyle['borderColor'] = border?.color; } - avatar =
+ avatar =
{avatar} { if (shouldWrap) { - return + return {avatar} {topSlot && ["extra-small","small", "default", "medium", "large", "extra-large"].includes(size) && shape === "circle" && this.renderTopSlot()} {bottomSlot && ["extra-small","small", "default", "medium", "large", "extra-large"].includes(size) && this.renderBottomSlot()} From b6d131845882ed5f03c778db64bec367160eb203 Mon Sep 17 00:00:00 2001 From: DaiQiangReal Date: Tue, 11 Jun 2024 15:32:00 +0800 Subject: [PATCH 5/7] chore: format cvode --- packages/semi-ui/avatar/index.tsx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/semi-ui/avatar/index.tsx b/packages/semi-ui/avatar/index.tsx index 3ddbd695ed..3b1bdac70e 100644 --- a/packages/semi-ui/avatar/index.tsx +++ b/packages/semi-ui/avatar/index.tsx @@ -294,7 +294,7 @@ export default class Avatar extends BaseComponent { const textStyle: CSSProperties = {}; if (this.props.topSlot.textColor) { textStyle['color'] = this.props.topSlot.textColor; - } + } return
{ ...others } = this.props; const { isImgExist, hoverContent, focusVisible } = this.state; - let customStyle :CSSProperties= {}; - if(!strings.SIZE.includes(size)){ - customStyle = {width:size,height:size} + let customStyle: CSSProperties = {}; + if (!strings.SIZE.includes(size)) { + customStyle = { width: size, height: size }; } - customStyle = {...customStyle,...style} + customStyle = { ...customStyle, ...style }; const shouldWrap = bottomSlot || topSlot || border; const mouseEvent = { onClick: onClick, @@ -378,7 +378,7 @@ export default class Avatar extends BaseComponent { if (border) { const borderStyle: CSSProperties = {}; - if (typeof border ==='object' && border?.color) { + if (typeof border === 'object' && border?.color) { borderStyle['borderColor'] = border?.color; } avatar =
@@ -392,7 +392,8 @@ export default class Avatar extends BaseComponent { ])}> { - (typeof this.props.border === 'object' && this.props.border.motion) && { if (shouldWrap) { return {avatar} - {topSlot && ["extra-small","small", "default", "medium", "large", "extra-large"].includes(size) && shape === "circle" && this.renderTopSlot()} - {bottomSlot && ["extra-small","small", "default", "medium", "large", "extra-large"].includes(size) && this.renderBottomSlot()} + {topSlot && ["extra-small", "small", "default", "medium", "large", "extra-large"].includes(size) && shape === "circle" && this.renderTopSlot()} + {bottomSlot && ["extra-small", "small", "default", "medium", "large", "extra-large"].includes(size) && this.renderBottomSlot()} ; } else { return avatar; From 7134eb3fe69951958a09cd520df52ff7f28b1951 Mon Sep 17 00:00:00 2001 From: DaiQiangReal Date: Tue, 11 Jun 2024 15:37:14 +0800 Subject: [PATCH 6/7] chore: remove number of size --- content/show/avatar/index-en-US.md | 2 +- content/show/avatar/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/show/avatar/index-en-US.md b/content/show/avatar/index-en-US.md index d3c21240d6..186de6ddd7 100644 --- a/content/show/avatar/index-en-US.md +++ b/content/show/avatar/index-en-US.md @@ -18,7 +18,7 @@ import { Avatar, AvatarGroup } from '@douyinfe/semi-ui'; ``` ### Size -You can change the size of the avatars with `size` property. The following sizes are supported: `extra-extra-small`(20x20), `extra-small`(24x24),`small`(32x32), `default`(40x40), `medium`(48x48), `large`(72x72), `extra-large`(128 x 128). +You can change the size of the avatars with `size` property. The following sizes are supported: `extra-extra-small`, `extra-small`,`small`, `default`, `medium`, `large`, `extra-large`. ```jsx live=true import React from 'react'; diff --git a/content/show/avatar/index.md b/content/show/avatar/index.md index 7556f8fa4e..30d9bedbf5 100644 --- a/content/show/avatar/index.md +++ b/content/show/avatar/index.md @@ -17,7 +17,7 @@ import { Avatar, AvatarGroup } from '@douyinfe/semi-ui'; ### 尺寸 -可以通过 `size` 属性设置图标大小,支持``extra-extra-small`(20x20),`extra-small`(24x24),`small`(32x32),`default`(40x40),`medium`(48x48),`large`(72x72),`extra-large`(128x128)`。 +可以通过 `size` 属性设置图标大小,支持`extra-extra-small`,`extra-small`,`small`,`default`,`medium`,`large`,`extra-large`。 ```jsx live=true import React from 'react'; From 26d717a609ec0f632e5a96280725d4b625c592dd Mon Sep 17 00:00:00 2001 From: DaiQiangReal Date: Tue, 11 Jun 2024 17:00:42 +0800 Subject: [PATCH 7/7] chore: update doc --- content/show/avatar/index-en-US.md | 2 +- content/show/avatar/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/show/avatar/index-en-US.md b/content/show/avatar/index-en-US.md index 186de6ddd7..188f259105 100644 --- a/content/show/avatar/index-en-US.md +++ b/content/show/avatar/index-en-US.md @@ -437,7 +437,7 @@ import { Avatar, AvatarGroup } from '@douyinfe/semi-ui'; | hoverMask | Avatar content overlay when hover | ReactNode | - | | imgAttr | Native html img attributes **>=1.5.0** | React.ImgHTMLAttributes | - | | shape | Shape of the avatar, one of `circle`, `square` | string | `circle` | -| size | Size of the avatar, one of `extra-extra-small`,`extra-small`, `small`, `default`, `medium`, `large`, `extra-large` and raw value | string | `medium` | +| size | Size of the avatar, one of `extra-extra-small`,`extra-small`, `small`, `default`, `medium`, `large`, `extra-large` and valid value like "10px" | string | `medium` | | src | Resource address for imgage avatars | string | - | | srcSet | Set the image avatar responsive resource address | string | - | | style | Style name | CSSProperties | - | diff --git a/content/show/avatar/index.md b/content/show/avatar/index.md index 30d9bedbf5..6c4417597e 100644 --- a/content/show/avatar/index.md +++ b/content/show/avatar/index.md @@ -432,7 +432,7 @@ import { AvatarGroup, Avatar } from '@douyinfe/semi-ui'; | gap | 字符头像距离左右两侧的像素大小 | number | 3 | | imgAttr | 原生 img 属性 **>=1.5.0** | React.ImgHTMLAttributes | - | | shape | 指定头像的形状,支持 `circle`、`square` | string | `circle` | -| size | 设置头像的大小,支持 `extra-extra-small`、`extra-small`、`small`、`default`、`medium`、`large`、`extra-large` 和 字面量 | string | `medium` | +| size | 设置头像的大小,支持 `extra-extra-small`、`extra-small`、`small`、`default`、`medium`、`large`、`extra-large` 和 合法的 width 属性值例如 "10px" | string | `medium` | | src | 图片类头像的资源地址 | string | - | | srcSet | 设置图片类头像响应式资源地址 | string | - | | style | 样式名 | CSSProperties | - |