diff --git a/content/show/table/index.md b/content/show/table/index.md index 9000900871..b66303d012 100644 --- a/content/show/table/index.md +++ b/content/show/table/index.md @@ -45,6 +45,7 @@ function App() { nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/figma-icon.png', size: '2M', owner: '姜鹏志', + status: 'success', updateTime: '2020-02-02 05:13', avatarBg: 'grey', }, @@ -54,6 +55,7 @@ function App() { nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '2M', owner: '郝宣', + status: 'pending', updateTime: '2020-01-17 05:31', avatarBg: 'red', }, @@ -62,6 +64,7 @@ function App() { name: '设计文档', nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '34KB', + status: 'wait', owner: 'Zoey Edwards', updateTime: '2020-01-26 11:01', avatarBg: 'light-blue', @@ -106,6 +109,19 @@ function App() { title: '大小', dataIndex: 'size', }, + { + title: '交付状态', + dataIndex: 'status', + render: (text) => { + const tagConfig = { + success: { color: 'green', prefixIcon: , text: '已交付' }, + pending: { color: 'pink', prefixIcon: , text: '已延期' }, + wait: { color: 'cyan', prefixIcon: , text: '待评审' }, + }; + const tagProps = tagConfig[text]; + return {tagProps.text} + } + }, { title: '所有者', dataIndex: 'owner', @@ -133,12 +149,13 @@ function App() { }, ]; const data = [ - { + { key: '1', name: 'Semi Design 设计稿.fig', nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/figma-icon.png', size: '2M', owner: '姜鹏志', + status: 'success', updateTime: '2020-02-02 05:13', avatarBg: 'grey', }, @@ -148,6 +165,7 @@ function App() { nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '2M', owner: '郝宣', + status: 'pending', updateTime: '2020-01-17 05:31', avatarBg: 'red', }, @@ -156,6 +174,7 @@ function App() { name: '设计文档', nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '34KB', + status: 'wait', owner: 'Zoey Edwards', updateTime: '2020-01-26 11:01', avatarBg: 'light-blue', @@ -192,6 +211,7 @@ function App() { nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/figma-icon.png', size: '2M', owner: '姜鹏志', + status: 'success', updateTime: '2020-02-02 05:13', avatarBg: 'grey', }, @@ -201,6 +221,7 @@ function App() { nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '2M', owner: '郝宣', + status: 'pending', updateTime: '2020-01-17 05:31', avatarBg: 'red', }, @@ -209,6 +230,7 @@ function App() { name: '设计文档', nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '34KB', + status: 'wait', owner: 'Zoey Edwards', updateTime: '2020-01-26 11:01', avatarBg: 'light-blue', @@ -292,6 +314,19 @@ function App() { title: '大小', dataIndex: 'size', }, + { + title: '交付状态', + dataIndex: 'status', + render: (text) => { + const tagConfig = { + success: { color: 'green', prefixIcon: , text: '已交付' }, + pending: { color: 'pink', prefixIcon: , text: '已延期' }, + wait: { color: 'cyan', prefixIcon: , text: '待评审' }, + }; + const tagProps = tagConfig[text]; + return {tagProps.text} + } + }, { title: '所有者', dataIndex: 'owner', @@ -326,6 +361,7 @@ function App() { nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/figma-icon.png', size: '2M', owner: '姜鹏志', + status: 'success', updateTime: '2020-02-02 05:13', avatarBg: 'grey', }, @@ -335,6 +371,7 @@ function App() { nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '2M', owner: '郝宣', + status: 'pending', updateTime: '2020-01-17 05:31', avatarBg: 'red', }, @@ -343,6 +380,7 @@ function App() { name: '设计文档', nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '34KB', + status: 'wait', owner: 'Zoey Edwards', updateTime: '2020-01-26 11:01', avatarBg: 'light-blue', @@ -353,6 +391,7 @@ function App() { nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/figma-icon.png', size: '2M', owner: '姜鹏志', + status: 'wait', updateTime: '2020-02-02 05:13', avatarBg: 'grey', }, @@ -362,6 +401,7 @@ function App() { nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '2M', owner: '郝宣', + status: 'pending', updateTime: '2020-01-17 05:31', avatarBg: 'red', }, @@ -370,6 +410,7 @@ function App() { name: 'Semi D2C 设计文档', nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '34KB', + status: 'success', owner: 'Zoey Edwards', updateTime: '2020-01-26 11:01', avatarBg: 'light-blue', @@ -424,6 +465,7 @@ const raw = [ nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/figma-icon.png', size: '2M', owner: '姜鹏志', + status: 'success', updateTime: '2020-02-02 05:13', avatarBg: 'grey', }, @@ -433,6 +475,7 @@ const raw = [ nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '2M', owner: '郝宣', + status: 'pending', updateTime: '2020-01-17 05:31', avatarBg: 'red', }, @@ -441,6 +484,7 @@ const raw = [ name: '设计文档', nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '34KB', + status: 'wait', owner: 'Zoey Edwards', updateTime: '2020-01-26 11:01', avatarBg: 'light-blue', @@ -450,6 +494,7 @@ const raw = [ name: 'Semi D2C 设计文档可能也有点长所以也会显示Tooltip', nameIconSrc: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/docs-icon.png', size: '34KB', + status: 'success', owner: '姜琪', updateTime: '2020-01-26 11:01', avatarBg: 'green', @@ -502,6 +547,19 @@ function App() { dataIndex: 'size', width: 150, }, + { + title: '交付状态', + dataIndex: 'status', + render: (text) => { + const tagConfig = { + success: { color: 'green', prefixIcon: , text: '已交付' }, + pending: { color: 'pink', prefixIcon: , text: '已延期' }, + wait: { color: 'cyan', prefixIcon: , text: '待评审' }, + }; + const tagProps = tagConfig[text]; + return {tagProps.text} + } + }, { title: '所有者', dataIndex: 'owner', @@ -565,7 +623,6 @@ render(App); - 受控模式下,分页的状态完全由外部传入,依据为是否往 Table 传入了 `pagination.currentPage` 这个字段。一般情况下,受控模式适用于远程拉取数据并渲染。 - 非受控模式下,Table 默认会将传入的 `dataSource` 长度作为 `total` 传给 Pagination 组件,当然你也可以传入一个 `total` 字段来覆盖 Table 组件的取值,不过我们并不推荐用户在非受控分页模式下传入这个字段。 -> 非受控时传入自定义的 `pagination.total` 字段在 >=0.25.0 版本后才支持 ```jsx live=true noInline=true dir="column" import React, { useState, useMemo } from 'react'; @@ -604,6 +661,19 @@ const columns = [ sorter: (a, b) => (a.size - b.size > 0 ? 1 : -1), render: text => `${text} KB`, }, + { + title: '交付状态', + dataIndex: 'status', + render: (text) => { + const tagConfig = { + success: { color: 'green', prefixIcon: , text: '已交付' }, + pending: { color: 'pink', prefixIcon: , text: '已延期' }, + wait: { color: 'cyan', prefixIcon: , text: '待评审' }, + }; + const tagProps = tagConfig[text] || {}; + return {tagProps.text} + } + }, { title: '所有者', dataIndex: 'owner', @@ -657,6 +727,7 @@ function App() { name: isSemiDesign ? `Semi Design 设计稿${i}.fig` : `Semi D2C 设计稿${i}.fig`, owner: isSemiDesign ? '姜鹏志' : '郝宣', size: randomNumber, + status: isSemiDesign ? 'success' : 'wait', updateTime: new Date().valueOf() + randomNumber * DAY, avatarBg: isSemiDesign ? 'grey' : 'red', }); @@ -724,6 +795,19 @@ const columns = [ sorter: (a, b) => (a.size - b.size > 0 ? 1 : -1), render: text => `${text} KB`, }, + { + title: '交付状态', + dataIndex: 'status', + render: (text) => { + const tagConfig = { + success: { color: 'green', prefixIcon: , text: '已交付' }, + pending: { color: 'pink', prefixIcon: , text: '已延期' }, + wait: { color: 'cyan', prefixIcon: , text: '待评审' }, + }; + const tagProps = tagConfig[text] || {}; + return {tagProps.text} + } + }, { title: '所有者', dataIndex: 'owner', @@ -758,6 +842,7 @@ const getData = () => { name: isSemiDesign ? `Semi Design 设计稿${i}.fig` : `Semi D2C 设计稿${i}.fig`, owner: isSemiDesign ? '姜鹏志' : '郝宣', size: randomNumber, + status: isSemiDesign ? 'success' : 'wait', updateTime: new Date().valueOf() + randomNumber * DAY, avatarBg: isSemiDesign ? 'grey' : 'red', }); @@ -1132,6 +1217,19 @@ const columns = [ sorter: (a, b) => (a.size - b.size > 0 ? 1 : -1), render: text => `${text} KB`, }, + { + title: '交付状态', + dataIndex: 'status', + render: (text) => { + const tagConfig = { + success: { color: 'green', prefixIcon: , text: '已交付' }, + pending: { color: 'pink', prefixIcon: , text: '已延期' }, + wait: { color: 'cyan', prefixIcon: , text: '待评审' }, + }; + const tagProps = tagConfig[text]; + return {tagProps.text} + } + }, { title: '所有者', dataIndex: 'owner', @@ -1183,6 +1281,7 @@ function App() { name: isSemiDesign ? `Semi Design 设计稿${i}.fig` : `Semi D2C 设计稿${i}.fig`, owner: isSemiDesign ? '姜鹏志' : '郝宣', size: randomNumber, + status: isSemiDesign ? 'success' : 'wait', updateTime: new Date().valueOf() + randomNumber * DAY, avatarBg: isSemiDesign ? 'grey' : 'red', }); @@ -1401,6 +1500,19 @@ function App() { sorter: (a, b) => (a.size - b.size > 0 ? 1 : -1), render: text => `${text} KB`, }, + { + title: '交付状态', + dataIndex: 'status', + render: (text) => { + const tagConfig = { + success: { color: 'green', prefixIcon: , text: '已交付' }, + pending: { color: 'pink', prefixIcon: , text: '已延期' }, + wait: { color: 'cyan', prefixIcon: , text: '待评审' }, + }; + const tagProps = tagConfig[text]; + return {tagProps.text} + } + }, { title: '所有者', dataIndex: 'owner', @@ -1435,6 +1547,7 @@ function App() { name: isSemiDesign ? `Semi Design 设计稿${i}.fig` : `Semi D2C 首页${i}.fig`, owner: isSemiDesign ? '姜鹏志' : '郝宣', size: randomNumber, + status: isSemiDesign ? 'success' : 'wait', updateTime: new Date('2024-01-25').valueOf() + randomNumber * DAY, avatarBg: isSemiDesign ? 'grey' : 'red', }); diff --git a/content/start/changelog/index-en-US.md b/content/start/changelog/index-en-US.md index 76bcaa19c7..6c8315f9a9 100644 --- a/content/start/changelog/index-en-US.md +++ b/content/start/changelog/index-en-US.md @@ -16,6 +16,14 @@ Version:Major.Minor.Patch (follow the **Semver** specification) --- +#### 🎉 2.62.0 (2024-07-12) +- 【Fix】 + - When the carousel has only one child and autoPlay is true, no switching operation is performed [#2334](https://github.com/DouyinFE/semi-design/pull/2334) + - Fixed the issue that Modal returns document.body exception in getPopupContainer + - Fix Table has unexpected borderRadius when dataSource is empty +- 【Chore】 + - Table Column support RecordType [#2314](https://github.com/DouyinFE/semi-design/issues/2314) + #### 🎉 2.62.0-beta.0 (2024-07-05) - 【New Component】 - Added new verification code input component pinCode for quickly and conveniently entering verification codes [#2130 ](https://github.com/DouyinFE/semi-design/issues/2130) diff --git a/content/start/changelog/index.md b/content/start/changelog/index.md index 64b935dce5..9db8909786 100644 --- a/content/start/changelog/index.md +++ b/content/start/changelog/index.md @@ -12,7 +12,15 @@ Semi 版本号遵循 **Semver** 规范(主版本号-次版本号-修订版本 - 次版本号(minor):Semi 固定每两周发布一个 minor 版本,包括以下类型变更:添加了新组件/新 feature,或者设计规范样式更新,或者不合理交互的变更,但不会对组件 API 做删减或功能变更。 - 修订版本号(patch):仅会进行 bugfix,发布时间不限 - 不同版本间的详细关系,可查阅 [FAQ](/zh-CN/start/faq) - + +#### 🎉 2.62.0 (2024-07-12) +- 【Fix】 + - Carousel 仅有一个 children 且 autoPlay 为 true 时不执行任何切换操作 [#2334](https://github.com/DouyinFE/semi-design/pull/2334) + - 修复 Modal 在 getPopupContainer 中如果返回 document.body 异常的问题 [#2335](https://github.com/DouyinFE/semi-design/pull/2335) + - 修复 Table 在 dataSource 为空时,存在非预期的 borderRadius 的问题 [#2337](https://github.com/DouyinFE/semi-design/pull/2337) +- 【Chore】 + - Table Column jsx 写法支持传入 RecordType 泛型 [#2314](https://github.com/DouyinFE/semi-design/issues/2314) [#2320](https://github.com/DouyinFE/semi-design/pull/2320) + #### 🎉 2.62.0-beta.0 (2024-07-05) - 【New Component】 - 新增验证码输入组件 PinCode 用于快速便捷输入验证码 [#2130](https://github.com/DouyinFE/semi-design/issues/2130) [#2209](https://github.com/DouyinFE/semi-design/pull/2209) diff --git a/lerna.json b/lerna.json index c5d3c687ba..9100cb3cab 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { "useWorkspaces": true, "npmClient": "yarn", - "version": "2.62.0-beta.0" + "version": "2.62.0" } \ No newline at end of file diff --git a/package.json b/package.json index 2fc0cd50da..192349a3b3 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@douyinfe/semi-site-banner": "^0.1.5", "@douyinfe/semi-site-doc-style": "0.0.4", "@douyinfe/semi-site-header": "^0.0.29", - "@douyinfe/semi-site-markdown-blocks": "^0.0.14", + "@douyinfe/semi-site-markdown-blocks": "^0.0.17", "@mdx-js/mdx": "1.6.22", "@mdx-js/react": "^1.6.22", "@storybook/react-webpack5": "^7.0.7", diff --git a/packages/semi-animation-react/package.json b/packages/semi-animation-react/package.json index ad55535f70..02f5b81cfb 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.62.0-beta.0", + "version": "2.62.0", "description": "motion library for semi-ui-react", "keywords": [ "motion", @@ -25,8 +25,8 @@ "prepublishOnly": "npm run build:lib" }, "dependencies": { - "@douyinfe/semi-animation": "2.62.0-beta.0", - "@douyinfe/semi-animation-styled": "2.62.0-beta.0", + "@douyinfe/semi-animation": "2.62.0", + "@douyinfe/semi-animation-styled": "2.62.0", "classnames": "^2.2.6" }, "devDependencies": { diff --git a/packages/semi-animation-styled/package.json b/packages/semi-animation-styled/package.json index 6b940195bc..a6dbd3b3ef 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.62.0-beta.0", + "version": "2.62.0", "description": "semi styled animation", "keywords": [ "semi", diff --git a/packages/semi-animation/package.json b/packages/semi-animation/package.json index 2002ff9e5b..c4066a6855 100644 --- a/packages/semi-animation/package.json +++ b/packages/semi-animation/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-animation", - "version": "2.62.0-beta.0", + "version": "2.62.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 e8c00c608f..974e7ce67d 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.62.0-beta.0", + "version": "2.62.0", "description": "semi ui eslint plugin", "keywords": [ "semi", diff --git a/packages/semi-foundation/carousel/foundation.ts b/packages/semi-foundation/carousel/foundation.ts index 544afb483d..73d125f841 100644 --- a/packages/semi-foundation/carousel/foundation.ts +++ b/packages/semi-foundation/carousel/foundation.ts @@ -7,7 +7,7 @@ export interface CarouselAdapter

, S = Record void; setPreActiveIndex: (activeIndex: number) => void; setIsReverse: (isReverse: boolean) => void; - setIsInit: (isInit: boolean) => void; + setIsInit: (isInit: boolean) => void } class CarouselFoundation

, S = Record> extends BaseFoundation, P, S> { @@ -124,9 +124,11 @@ class CarouselFoundation

, S = Record> exten handleAutoPlay(): void { const { autoPlay } = this.getProps(); + const { children } = this.getStates(); const autoPlayType = typeof autoPlay; // when user manually call the play function, force play - if ((autoPlayType === 'boolean' && autoPlay) || isObject(autoPlay) || this._forcePlay) { + // only when carousel children length > 1 to start play + if (children.length > 1 && ((autoPlay === true) || isObject(autoPlay) || this._forcePlay)) { this.play(this.getSwitchingTime()); } } diff --git a/packages/semi-foundation/package.json b/packages/semi-foundation/package.json index 42e795421f..5a5b190838 100644 --- a/packages/semi-foundation/package.json +++ b/packages/semi-foundation/package.json @@ -1,13 +1,13 @@ { "name": "@douyinfe/semi-foundation", - "version": "2.62.0-beta.0", + "version": "2.62.0", "description": "", "scripts": { "build:lib": "node ./scripts/compileLib.js", "prepublishOnly": "npm run build:lib" }, "dependencies": { - "@douyinfe/semi-animation": "2.62.0-beta.0", + "@douyinfe/semi-animation": "2.62.0", "@mdx-js/mdx": "^3.0.1", "async-validator": "^3.5.0", "classnames": "^2.2.6", diff --git a/packages/semi-icons-lab/package.json b/packages/semi-icons-lab/package.json index 15637985bb..4e905d502c 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.62.0-beta.0", + "version": "2.62.0", "description": "semi icons lab", "keywords": [ "semi", diff --git a/packages/semi-icons/package.json b/packages/semi-icons/package.json index 8f2c500db9..10e44ecc4e 100644 --- a/packages/semi-icons/package.json +++ b/packages/semi-icons/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-icons", - "version": "2.62.0-beta.0", + "version": "2.62.0", "description": "semi icons", "keywords": [ "semi", diff --git a/packages/semi-illustrations/package.json b/packages/semi-illustrations/package.json index ddfc3eed9b..629cdf309d 100644 --- a/packages/semi-illustrations/package.json +++ b/packages/semi-illustrations/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-illustrations", - "version": "2.62.0-beta.0", + "version": "2.62.0", "description": "semi illustrations", "keywords": [ "semi", diff --git a/packages/semi-next/package.json b/packages/semi-next/package.json index de07e8bac3..9114b42817 100644 --- a/packages/semi-next/package.json +++ b/packages/semi-next/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-next", - "version": "2.62.0-beta.0", + "version": "2.62.0", "description": "Plugin that support Semi Design in Next.js", "author": "伍浩威 ", "homepage": "", @@ -22,7 +22,7 @@ "typescript": "^4" }, "dependencies": { - "@douyinfe/semi-webpack-plugin": "2.62.0-beta.0" + "@douyinfe/semi-webpack-plugin": "2.62.0" }, "gitHead": "eb34a4f25f002bb4cbcfa51f3df93bed868c831a" } diff --git a/packages/semi-rspack/package.json b/packages/semi-rspack/package.json index 12e1a7629e..effe985e4e 100644 --- a/packages/semi-rspack/package.json +++ b/packages/semi-rspack/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-rspack-plugin", - "version": "2.62.0-beta.0", + "version": "2.62.0", "description": "", "homepage": "", "license": "MIT", diff --git a/packages/semi-scss-compile/package.json b/packages/semi-scss-compile/package.json index 295dfbddf5..9ad857cd7c 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.62.0-beta.0", + "version": "2.62.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 2dc6a4714d..6e4473ccfe 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.62.0-beta.0", + "version": "2.62.0", "description": "semi-theme-default", "keywords": [ "semi-theme", diff --git a/packages/semi-ui/carousel/_story/carousel.stories.jsx b/packages/semi-ui/carousel/_story/carousel.stories.jsx index 52ff8f1232..09222e948f 100644 --- a/packages/semi-ui/carousel/_story/carousel.stories.jsx +++ b/packages/semi-ui/carousel/_story/carousel.stories.jsx @@ -511,12 +511,10 @@ fix1482.story = { }; - - - - - - - - - +export const OnlyOneChildrenNotPlay = () => ( + {console.log('onChange', e)}}> +

+

1

+
+ +); \ No newline at end of file diff --git a/packages/semi-ui/package.json b/packages/semi-ui/package.json index 833db67d96..30673ef165 100644 --- a/packages/semi-ui/package.json +++ b/packages/semi-ui/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-ui", - "version": "2.62.0-beta.0", + "version": "2.62.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,11 +20,11 @@ "@dnd-kit/core": "^6.0.8", "@dnd-kit/sortable": "^7.0.2", "@dnd-kit/utilities": "^3.2.1", - "@douyinfe/semi-animation": "2.62.0-beta.0", - "@douyinfe/semi-animation-react": "2.62.0-beta.0", - "@douyinfe/semi-foundation": "2.62.0-beta.0", - "@douyinfe/semi-icons": "2.62.0-beta.0", - "@douyinfe/semi-illustrations": "2.62.0-beta.0", + "@douyinfe/semi-animation": "2.62.0", + "@douyinfe/semi-animation-react": "2.62.0", + "@douyinfe/semi-foundation": "2.62.0", + "@douyinfe/semi-icons": "2.62.0", + "@douyinfe/semi-illustrations": "2.62.0", "@douyinfe/semi-theme-default": "2.61.0", "async-validator": "^3.5.0", "classnames": "^2.2.6", diff --git a/packages/semi-ui/tooltip/index.tsx b/packages/semi-ui/tooltip/index.tsx index 025bcd6be9..c171268bcd 100644 --- a/packages/semi-ui/tooltip/index.tsx +++ b/packages/semi-ui/tooltip/index.tsx @@ -565,7 +565,7 @@ export default class Tooltip extends BaseComponent { const triangleCls = classNames([`${prefixCls}-icon-arrow`]); const bgColor = get(style, 'backgroundColor'); - const iconComponent = placement.includes('left') || placement.includes('right') ? + const iconComponent = placement?.includes('left') || placement?.includes('right') ? : ; if (showArrow) { diff --git a/packages/semi-webpack/package.json b/packages/semi-webpack/package.json index b5b9dd4198..f436b38c21 100644 --- a/packages/semi-webpack/package.json +++ b/packages/semi-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@douyinfe/semi-webpack-plugin", - "version": "2.62.0-beta.0", + "version": "2.62.0", "description": "", "author": "伍浩威 ", "homepage": "", diff --git a/sitemap.xml b/sitemap.xml index d55524d59d..7e976d92a2 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,22 +2,22 @@ https://juejin.cn/post/7267418854124699702 - 2024-07-05T09:44:14.567Z + 2024-07-12T09:30:32.146Z weekly https://medium.com/front-end-weekly/how-we-test-semi-design-component-libraries-64b854f63b65 - 2024-07-05T09:44:14.587Z + 2024-07-12T09:30:31.192Z weekly https://mp.weixin.qq.com/s/noHoWRuA25PgqFNcurhIUA - 2024-07-05T09:44:18.663Z + 2024-07-12T09:30:34.323Z weekly https://mp.weixin.qq.com/s/O3js-SZDNPEOjGxh-aAkbw - 2024-07-05T09:44:18.507Z + 2024-07-12T09:30:34.655Z weekly @@ -790,77 +790,77 @@ https://semi.design/en-US/basic/divider - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/basic/grid - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/basic/icon - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/basic/layout - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/basic/space - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/basic/tokens - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/basic/typography - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/feedback/banner - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/feedback/notification - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/feedback/popconfirm - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/feedback/progress - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/feedback/skeleton - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/feedback/spin - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/feedback/toast - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/autocomplete - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly @@ -870,362 +870,362 @@ https://semi.design/en-US/input/cascader - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/checkbox - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/datepicker - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/form - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/input - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/inputnumber - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/radio - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/rating - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/select - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/slider - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/switch - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/taginput - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/timepicker - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/transfer - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/treeselect - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/input/upload - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/navigation/anchor - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/navigation/backtop - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/navigation/breadcrumb - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/navigation/navigation - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/navigation/pagination - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/navigation/steps - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/navigation/tabs - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/navigation/tree - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/other/configprovider - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/other/locale - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/avatar - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/badge - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/calendar - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/card - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/carousel - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/collapse - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/collapsible - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/descriptions - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/dropdown - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/empty - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/highlight - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/image - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/list - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/modal - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/overflowlist - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/popover - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/scrolllist - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/sidesheet - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/table - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/tag - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/timeline - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/show/tooltip - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/start/accessibility - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/start/changelog - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/start/customize-theme - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/start/dark-mode - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/start/faq - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/start/getting-started - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/start/introduction - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/start/overview - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/en-US/start/update-to-v2 - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/basic/divider - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/basic/grid - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/basic/icon - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/basic/layout - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/basic/space - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/basic/tokens - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/basic/typography - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/feedback/banner - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/feedback/notification - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/feedback/popconfirm - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/feedback/progress - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/feedback/skeleton - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/feedback/spin - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/feedback/toast - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/autocomplete - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly @@ -1235,287 +1235,287 @@ https://semi.design/zh-CN/input/cascader - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/checkbox - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/datepicker - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/form - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/input - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/inputnumber - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/radio - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/rating - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/select - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/slider - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/switch - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/taginput - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/timepicker - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/transfer - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/treeselect - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/input/upload - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/navigation/anchor - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/navigation/backtop - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/navigation/breadcrumb - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/navigation/navigation - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/navigation/pagination - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/navigation/steps - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/navigation/tabs - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/navigation/tree - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/other/configprovider - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/other/locale - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/avatar - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/badge - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/calendar - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/card - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/carousel - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/collapse - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/collapsible - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/descriptions - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/dropdown - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/empty - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/highlight - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/image - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/list - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/modal - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/overflowlist - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/popover - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/scrolllist - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/sidesheet - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/table - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/tag - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/timeline - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/show/tooltip - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/start/accessibility - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/start/changelog - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/start/customize-theme - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/start/dark-mode - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/start/faq - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/start/getting-started - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/start/introduction - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/start/overview - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly https://semi.design/zh-CN/start/update-to-v2 - 2024-07-05T09:25:19.000Z + 2024-07-12T09:27:26.000Z weekly diff --git a/yarn.lock b/yarn.lock index 8d218ed13d..c36cb9471f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1731,10 +1731,10 @@ lodash-es "^4.17.21" react-i18next "^11.12.0" -"@douyinfe/semi-site-markdown-blocks@^0.0.14": - version "0.0.14" - resolved "https://registry.yarnpkg.com/@douyinfe/semi-site-markdown-blocks/-/semi-site-markdown-blocks-0.0.14.tgz#ac657263b5546e6e7be1f4fd4af878af32377889" - integrity sha512-kbPe0xxdeDmikgQSW3ORNB47EpvszgIe6DBsDY/dwR6Y2nZv4bEURLdgEXhsZKauwhzB+BygP/wtV0qMlEp7/w== +"@douyinfe/semi-site-markdown-blocks@^0.0.17": + version "0.0.17" + resolved "https://registry.yarnpkg.com/@douyinfe/semi-site-markdown-blocks/-/semi-site-markdown-blocks-0.0.17.tgz#36b5dd8c521c2767bcf151af4c832166d9631a6e" + integrity sha512-uPVEO8dDJMNoUgiq1mrqqXZW1LTFJ1V+3+zW58mAc9ghZABl4v4DZpsGudft+nUuYGetbosGg3rKa3aXmrFFrg== dependencies: "@douyinfe/semi-site-playground" "0.0.13" classnames "^2.2.6" @@ -25171,8 +25171,7 @@ string-similarity@^1.2.2: lodash.map "^4.6.0" lodash.maxby "^4.6.0" -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: - name string-width-cjs +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -25190,6 +25189,15 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^2.0.0, string-width@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" @@ -25317,7 +25325,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -25345,6 +25353,13 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -27941,8 +27956,7 @@ worker-farm@^1.7.0: dependencies: errno "~0.1.7" -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: - name wrap-ansi-cjs +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -27977,6 +27991,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"