pointhalo пре 2 година
родитељ
комит
b10d9b6741
30 измењених фајлова са 153 додато и 92 уклоњено
  1. 7 0
      content/start/changelog/index-en-US.md
  2. 7 0
      content/start/changelog/index.md
  3. 1 1
      lerna.json
  4. 2 2
      package.json
  5. 1 1
      packages/semi-animation-react/package.json
  6. 1 1
      packages/semi-animation-styled/package.json
  7. 1 1
      packages/semi-animation/package.json
  8. 1 1
      packages/semi-eslint-plugin/package.json
  9. 2 0
      packages/semi-foundation/breadcrumb/breadcrumb.scss
  10. 4 0
      packages/semi-foundation/breadcrumb/variables.scss
  11. 11 0
      packages/semi-foundation/datePicker/datePicker.scss
  12. 6 0
      packages/semi-foundation/datePicker/variables.scss
  13. 6 0
      packages/semi-foundation/descriptions/descriptions.scss
  14. 10 0
      packages/semi-foundation/descriptions/variables.scss
  15. 3 0
      packages/semi-foundation/form/form.scss
  16. 3 0
      packages/semi-foundation/form/variables.scss
  17. 1 1
      packages/semi-foundation/package.json
  18. 1 0
      packages/semi-foundation/sideSheet/sideSheet.scss
  19. 1 0
      packages/semi-foundation/sideSheet/variables.scss
  20. 3 3
      packages/semi-foundation/steps/variables.scss
  21. 1 1
      packages/semi-icons/package.json
  22. 1 1
      packages/semi-illustrations/package.json
  23. 1 1
      packages/semi-next/package.json
  24. 1 1
      packages/semi-scss-compile/package.json
  25. 1 1
      packages/semi-theme-default/package.json
  26. 7 7
      packages/semi-ui/package.json
  27. 29 29
      packages/semi-ui/transfer/index.tsx
  28. 1 1
      packages/semi-webpack/package.json
  29. 1 1
      src/sitePages/newHome/components/operateButton/operateButton.jsx
  30. 38 38
      yarn.lock

+ 7 - 0
content/start/changelog/index-en-US.md

@@ -15,6 +15,13 @@ Version:Major.Minor.Patch (follow the **Semver** specification)
 -   **Patch version**: Only include bug fix, the release time is not limited
 
 ---
+#### 🎉 2.27.0-beta.0 (2023-01-03)
+- 【Feat】
+    - Add top margin token `$spacing-form_label-marginTop` `$spacing-form_section_text-paddingTop` `$spacing-form_section_text-marginTop` in the label section of Form, add trigger border related token in datePicker range mode (width `$width -datepicker_range_trigger-border`, colors in various states `$color-datepicker_range_trigger-border` `$color-datepicker_range_trigger-border-hover` `$color-datepicker_range_trigger-border-active`), steps modify `$color-steps_item_left_number_icon- bg` `$color-steps_item_left_number_icon-icon` `$color-steps_item_process_left_number-icon` Description.
+    - breadcrumb add `$font-breadcrumb_loose-fontSize` `$font-breadcrumb_compact-fontSize` Descriptions add `$font-descriptions_key_small-fontSize` `$font-descriptions_value_small-fontSize` `$font-descriptions_key_medium-fontSize` `$font-descriptions_value_medium-fontSize` `$font-descriptions_key_large-fontSize` `$font-descriptions_value_large-fontSize`,SideSheet add `$font-sideSheet_title-fontSize` tokens.
+- 【Fix】
+    - Fix uuid mismatch warning in TabBar under SSR scenario [#1351 ](https://github.com/DouyinFE/semi-design/issues/1351) 
+
 #### 🎉 2.26.0 (2022-12-27)
 - 【Fix】
     - fix the problem that when TagInput is input in Chinese, the length of pinyin will be used to judge whether it exceeds maxLength  [#1347 ](https://github.com/DouyinFE/semi-design/issues/1347)

+ 7 - 0
content/start/changelog/index.md

@@ -15,6 +15,13 @@ Semi 版本号遵循 **Semver** 规范(主版本号-次版本号-修订版本
 
 
 ---
+#### 🎉 2.27.0-beta.0 (2023-01-03)
+- 【Feat】
+    - Form 的 label section 新增上边距 token `$spacing-form_label-marginTop` `$spacing-form_section_text-paddingTop` `$spacing-form_section_text-marginTop`,datePicker range 模式下新增 trigger 边框相关 token (宽度 `$width-datepicker_range_trigger-border`,各种状态下的颜色 `$color-datepicker_range_trigger-border` `$color-datepicker_range_trigger-border-hover` `$color-datepicker_range_trigger-border-active`),steps 修改 `$color-steps_item_left_number_icon-bg` `$color-steps_item_left_number_icon-icon` `$color-steps_item_process_left_number-icon` 描述。
+    - breadcrumb 新增 `$font-breadcrumb_loose-fontSize` `$font-breadcrumb_compact-fontSize` Descriptions 新增 `$font-descriptions_key_small-fontSize` `$font-descriptions_value_small-fontSize` `$font-descriptions_key_medium-fontSize` `$font-descriptions_value_medium-fontSize` `$font-descriptions_key_large-fontSize` `$font-descriptions_value_large-fontSize`,SideSheet 新增 `$font-sideSheet_title-fontSize` 
+- 【Fix】
+    - 修复 SSR 场景下 TabBar 中的 uuid 不匹配警告  [#1351 ](https://github.com/DouyinFE/semi-design/issues/1351)
+
 #### 🎉 2.26.0 (2022-12-27)
 - 【Fix】
     - 修复 TagInput 在中文输入时,会将拼音的长度用于判断是否超出 maxLength 的问题  [#1347 ](https://github.com/DouyinFE/semi-design/issues/1347)

+ 1 - 1
lerna.json

@@ -1,5 +1,5 @@
 {
     "useWorkspaces": true,
     "npmClient": "yarn",
-    "version": "2.26.0"
+    "version": "2.27.0-beta.0"
 }

+ 2 - 2
package.json

@@ -44,7 +44,7 @@
     "dependencies": {
         "@douyinfe/semi-site-banner": "^0.1.0",
         "@douyinfe/semi-site-doc-style": "0.0.1",
-        "@douyinfe/semi-site-header": "^0.0.18",
+        "@douyinfe/semi-site-header": "^0.0.19",
         "@douyinfe/semi-site-markdown-blocks": "^0.0.9",
         "@mdx-js/react": "^1.6.22",
         "@svgr/core": "^5.5.0",
@@ -226,4 +226,4 @@
         ]
     },
     "license": "MIT"
-}
+}

+ 1 - 1
packages/semi-animation-react/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@douyinfe/semi-animation-react",
-  "version": "2.26.0",
+  "version": "2.27.0-beta.0",
   "description": "motion library for semi-ui-react",
   "keywords": [
     "motion",

+ 1 - 1
packages/semi-animation-styled/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@douyinfe/semi-animation-styled",
-  "version": "2.26.0",
+  "version": "2.27.0-beta.0",
   "description": "semi styled animation",
   "keywords": [
     "semi",

+ 1 - 1
packages/semi-animation/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@douyinfe/semi-animation",
-  "version": "2.26.0",
+  "version": "2.27.0-beta.0",
   "description": "animation base library for semi-ui",
   "keywords": [
     "animation",

+ 1 - 1
packages/semi-eslint-plugin/package.json

@@ -1,6 +1,6 @@
 {
   "name": "eslint-plugin-semi-design",
-  "version": "2.26.0",
+  "version": "2.27.0-beta.0",
   "description": "semi ui eslint plugin",
   "keywords": [
     "semi",

+ 2 - 0
packages/semi-foundation/breadcrumb/breadcrumb.scss

@@ -15,10 +15,12 @@ $module: #{$prefix}-breadcrumb;
 
         &-loose {
             @include font-size-regular;
+            font-size: $font-breadcrumb_loose-fontSize;
         }
 
         &-compact {
             @include font-size-small;
+            font-size: $font-breadcrumb_compact-fontSize;
         }
     }
 

+ 4 - 0
packages/semi-foundation/breadcrumb/variables.scss

@@ -17,3 +17,7 @@ $color-breadcrumb-restItem-text-default: var(--semi-color-text-2); // 面包屑
 
 $font-breadcrumb_default-fontWeight: $font-weight-regular; // 面包屑文字字重 - 未选中
 $font-breadcrumb_active-fontWeight: $font-weight-bold; // 面包屑文字字重 - 选中
+
+
+$font-breadcrumb_compact-fontSize:$font-size-small; // 面包屑文字大小 - 紧凑
+$font-breadcrumb_loose-fontSize:$font-size-regular; // 面包屑文字大小 - 宽松

+ 11 - 0
packages/semi-foundation/datePicker/datePicker.scss

@@ -859,6 +859,17 @@ $module-list: #{$prefix}-scrolllist;
             height: $height-datepicker_range_input-default;
             color: $color-datepicker_range_input-text-default;
             background-color: $color-datepicker_range_input-bg-default;
+            border: $width-datepicker_range_trigger-border solid $color-datepicker_range_trigger-border;
+
+            &:hover{
+                border-color: $color-datepicker_range_trigger-border-hover
+            }
+
+            &:active{
+                border-color: $color-datepicker_range_trigger-border-active ;
+            }
+
+
 
             &-wrapper {
                 box-sizing: border-box;

+ 6 - 0
packages/semi-foundation/datePicker/variables.scss

@@ -34,6 +34,7 @@ $width-datepicker_insetInput_month_type_wrapper: 204px; // 月份类型内嵌输
 $height-datepicker_insetInput_separator: 32px;
 $height-datepicker_month_grid_yearType_insetInput: 317px;
 $height-datepicker_month_grid_timeType_insetInput: 317px;
+$width-datepicker_range_trigger-border: 0px; //  触发器边框宽度
 
 // Spacing
 $spacing-datepicker_day-marginX: ($width-datepicker_day - $width-datepicker_day_main) * 0.5; // 日期格子水平外边距
@@ -142,6 +143,11 @@ $color-datepicker_range_input_inputWrapper-bg-focus: var(--semi-color-fill-1);
 $color-datepicker_range_input_separator-text-active: var(--semi-color-text-0);
 $color-datepicker_day_main-border: var(--semi-color-primary-active);
 $color-datepicker_insetInput_separator: var(--semi-color-text-3);
+$color-datepicker_range_trigger-border: transparent; // 范围日期选择模式触发器边框颜色
+$color-datepicker_range_trigger-border-hover: transparent; // 范围日期选择模式触发器边框颜色 - 悬浮
+$color-datepicker_range_trigger-border-active: transparent; // 范围日期选择模式触发器边框颜色 - 激活
+
+
 
 // Font
 $font-datepicker_range_input_prefix_suffix_clearbtn-fontWeight: 600;

+ 6 - 0
packages/semi-foundation/descriptions/descriptions.scss

@@ -110,10 +110,12 @@ $module: #{$prefix}-descriptions;
             .#{$module}-key {
                 @include font-size-small;
                 padding-bottom: 0;
+                font-size: $font-descriptions_key_small-fontSize;
             }
 
             .#{$module}-value {
                 @include font-size-header-6;
+                font-size: $font-descriptions_value_small-fontSize;
             }
         }
 
@@ -124,10 +126,12 @@ $module: #{$prefix}-descriptions;
 
             & .#{$module}-key {
                 padding-bottom: $spacing-descriptions_key_medium-paddingBottom;
+                font-size: $font-descriptions_key_medium-fontSize;
             }
 
             & .#{$module}-value {
                 @include font-size-header-4;
+                font-size: $font-descriptions_value_medium-fontSize;
             }
         }
 
@@ -138,10 +142,12 @@ $module: #{$prefix}-descriptions;
 
             & .#{$module}-key {
                 padding-bottom: $spacing-descriptions_key_large-paddingBottom;
+                font-size: $font-descriptions_key_large-fontSize;
             }
 
             & .#{$module}-value {
                 @include font-size-header-2;
+                font-size: $font-descriptions_value_large-fontSize;
             }
         }
     }

+ 10 - 0
packages/semi-foundation/descriptions/variables.scss

@@ -13,3 +13,13 @@ $color-descriptions_value-text-default: var(--semi-color-text-0); // value 文
 
 $spacing-descriptions_value_plain-paddingLeft: 8px; // 普通显示 plain 模式下 value 左侧内边距
 $spacing-descriptions_item_double-padding: 0; // 双行显示右侧 item 内边距
+
+
+$font-descriptions_key_small-fontSize:$font-size-small; // 双行显示 key 文字大小 - 小尺寸
+$font-descriptions_value_small-fontSize:$font-size-header-6; // 双行显示 value 文字大小 - 小尺寸
+
+$font-descriptions_key_medium-fontSize:$font-size-regular; // 双行显示 key 文字大小 - 小尺寸
+$font-descriptions_value_medium-fontSize:$font-size-header-4; // 双行显示 value 文字大小 - 小尺寸
+
+$font-descriptions_key_large-fontSize:$font-size-regular; // 双行显示 key 文字大小 - 小尺寸
+$font-descriptions_value_large-fontSize:$font-size-header-2; // 双行显示 value 文字大小 - 小尺寸

+ 3 - 0
packages/semi-foundation/form/form.scss

@@ -92,6 +92,7 @@ $rating: #{$prefix}-rating;
         font-weight: $font-form_label-fontWeight;
         color: $color-form_label-text-default;
         margin-bottom: $spacing-form_label-marginBottom;
+        margin-top: $spacing-form_label-marginTop;
         padding-right: $spacing-form_label-paddingRight;
         display: inline-block;
         vertical-align: middle;
@@ -288,8 +289,10 @@ $rating: #{$prefix}-rating;
         font-weight: 600;
         width: 100%;
         padding-bottom: $spacing-form_section_text-paddingBottom;
+        padding-top: $spacing-form_section_text-paddingTop;
         border-bottom: $width-form_section-border solid $color-form_section-border-default;
         margin-bottom: $spacing-form_section_text-marginBottom;
+        margin-top: $spacing-form_section_text-marginTop;
         color: $color-form_section-text-default;
     }
 

+ 3 - 0
packages/semi-foundation/form/variables.scss

@@ -10,6 +10,7 @@ $spacing-form_field_group_vertical-paddingBottom: $spacing-base-tight; // 垂直
 $spacing-form_label-paddingRight: $spacing-base; // 表单项标签右侧边距(水平布局)
 $spacing-form_label-paddingTop: ($height-control-default - 20px) * 0.5; // 表单项标签顶部内边距(水平布局)
 $spacing-form_label-marginBottom: $spacing-extra-tight; // 表单项标签底部外边距
+$spacing-form_label-marginTop: 0px; // 表单项标签顶部外边距
 $spacing-form_label_extra-marginLeft: $spacing-extra-tight; // 表单项标签额外信息左侧边距
 $spacing-form_label_required-marginLeft: $spacing-extra-tight; // 表单项标签必填标志左侧边距
 $spacing-form_label_posLeft-marginRight: 0; // 表单项左侧标签右侧外边距
@@ -47,4 +48,6 @@ $width-form_section-border: $border-thickness-control; // 表单分组标题底
 $spacing-form_section-marginTop: $spacing-super-loose - $spacing-base-tight; // 表单分组顶部内边距
 $spacing-form_section_text-paddingBottom: $spacing-tight; // 表单分组标题底部内边距
 $spacing-form_section_text-marginBottom: $spacing-extra-tight; // 表单分组标题底部外边距
+$spacing-form_section_text-paddingTop: 0px; // 表单分组标题顶部内边距
+$spacing-form_section_text-marginTop: 0px; // 表单分组标题顶部外边距
 

+ 1 - 1
packages/semi-foundation/package.json

@@ -1,6 +1,6 @@
 {
     "name": "@douyinfe/semi-foundation",
-    "version": "2.26.0",
+    "version": "2.27.0-beta.0",
     "description": "",
     "scripts": {
         "build:lib": "node ./scripts/compileLib.js",

+ 1 - 0
packages/semi-foundation/sideSheet/sideSheet.scss

@@ -76,6 +76,7 @@ $module: #{$prefix}-sidesheet;
         margin: $spacing-sideSheet_title-margin;
         @include font-size-header-5;
         font-weight: $font-sideSheet_title-fontWeight;
+        font-size: $font-sideSheet_title-fontSize;
         color: $color-sideSheet_main-text;
         text-align: left;
     }

+ 1 - 0
packages/semi-foundation/sideSheet/variables.scss

@@ -14,3 +14,4 @@ $spacing-sideSheet_footer-padding: $spacing-loose; // 侧边栏 footer 内边距
 
 // Font
 $font-sideSheet_title-fontWeight: $font-weight-bold; // 侧边栏标题文本字重
+$font-sideSheet_title-fontSize: $font-size-header-5; // 侧边栏标题文本字号

+ 3 - 3
packages/semi-foundation/steps/variables.scss

@@ -16,10 +16,10 @@ $color-steps_item_error_left-icon: var(--semi-color-danger); // 错误步骤条
 $color-steps_item_error_left_number-icon: var(--semi-color-primary); // 错误步骤条数字序号文本颜色
 $color-steps_item_finish-icon: var(--semi-color-primary); // 已完成步骤条图标颜色
 $color-steps_item_finish_number-icon: var(--semi-color-white); // 已完成步骤条对勾图标颜色
-$color-steps_item_left_number_icon-bg: var(--semi-color-primary); // 已完成步骤条图标背景颜色
-$color-steps_item_left_number_icon-icon: var(--semi-color-white); // 已完成步骤条图标文字颜色
+$color-steps_item_left_number_icon-bg: var(--semi-color-primary); // 步骤条图标背景颜色
+$color-steps_item_left_number_icon-icon: var(--semi-color-white); // 步骤条图标文字颜色
 $color-steps_item_process_left-icon: var(--semi-color-primary); // 进行中步骤条对勾图标颜色
-$color-steps_item_process_left_number-icon: var(--semi-color-white); // 进行中步骤条对勾图标颜色
+$color-steps_item_process_left_number-icon: var(--semi-color-white); // 进行中步骤条内部图标颜色
 $color-steps_item_title-text-hover: var(--semi-color-focus-border); // 步骤条标题文字悬停颜色
 $color-steps_item_wait_left_icon-icon: var(--semi-color-text-2); // 未到达步骤条图标颜色
 $color-steps_item_wait_left_number_icon-bg-hover: var(--semi-color-secondary-light-default); // 未到达步骤条图标背景颜色 - 悬浮态

+ 1 - 1
packages/semi-icons/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@douyinfe/semi-icons",
-  "version": "2.26.0",
+  "version": "2.27.0-beta.0",
   "description": "semi icons",
   "keywords": [
     "semi",

+ 1 - 1
packages/semi-illustrations/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@douyinfe/semi-illustrations",
-  "version": "2.26.0",
+  "version": "2.27.0-beta.0",
   "description": "semi illustrations",
   "keywords": [
     "semi",

+ 1 - 1
packages/semi-next/package.json

@@ -1,6 +1,6 @@
 {
     "name": "@douyinfe/semi-next",
-    "version": "2.26.0",
+    "version": "2.27.0-beta.0",
     "description": "Plugin that support Semi Design in Next.js",
     "author": "伍浩威 <[email protected]>",
     "homepage": "",

+ 1 - 1
packages/semi-scss-compile/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@douyinfe/semi-scss-compile",
-  "version": "2.26.0",
+  "version": "2.27.0-beta.0",
   "description": "compile semi scss to css",
   "author": "[email protected]",
   "license": "MIT",

+ 1 - 1
packages/semi-theme-default/package.json

@@ -1,6 +1,6 @@
 {
     "name": "@douyinfe/semi-theme-default",
-    "version": "2.26.0",
+    "version": "2.27.0-beta.0",
     "description": "semi-theme-default",
     "keywords": [
         "semi-theme",

+ 7 - 7
packages/semi-ui/package.json

@@ -1,6 +1,6 @@
 {
     "name": "@douyinfe/semi-ui",
-    "version": "2.26.0",
+    "version": "2.27.0-beta.0",
     "description": "",
     "main": "lib/cjs/index.js",
     "module": "lib/es/index.js",
@@ -17,12 +17,12 @@
         "lib/*"
     ],
     "dependencies": {
-        "@douyinfe/semi-animation": "2.26.0",
-        "@douyinfe/semi-animation-react": "2.26.0",
-        "@douyinfe/semi-foundation": "2.26.0",
-        "@douyinfe/semi-icons": "2.26.0",
-        "@douyinfe/semi-illustrations": "2.26.0",
-        "@douyinfe/semi-theme-default": "2.26.0",
+        "@douyinfe/semi-animation": "2.27.0-beta.0",
+        "@douyinfe/semi-animation-react": "2.27.0-beta.0",
+        "@douyinfe/semi-foundation": "2.27.0-beta.0",
+        "@douyinfe/semi-icons": "2.27.0-beta.0",
+        "@douyinfe/semi-illustrations": "2.27.0-beta.0",
+        "@douyinfe/semi-theme-default": "2.27.0-beta.0",
         "async-validator": "^3.5.0",
         "classnames": "^2.2.6",
         "copy-text-to-clipboard": "^2.1.1",

+ 29 - 29
packages/semi-ui/transfer/index.tsx

@@ -150,7 +150,7 @@ export interface TransferProps {
     renderSelectedPanel?: (selectedPanelProps: SelectedPanelProps) => React.ReactNode
 }
 
-const prefixcls = cssClasses.PREFIX;
+const prefixCls = cssClasses.PREFIX;
 
 // SortableItem & SortableList should not be assigned inside of the render function
 const SortableItem = SortableElement((
@@ -158,7 +158,7 @@ const SortableItem = SortableElement((
 ));
 
 const SortableList = SortableContainer(({ items }: { items: Array<ResolvedDataItem> }) => (
-    <div className={`${prefixcls}-right-list`} role="list" aria-label="Selected list">
+    <div className={`${prefixCls}-right-list`} role="list" aria-label="Selected list">
         {items.map((item, index: number) => (
             // @ts-ignore skip SortableItem type check
             <SortableItem key={item.label} index={index} item={item} />
@@ -321,7 +321,7 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
             return null;
         }
         return (
-            <div role="search" aria-label="Transfer filter" className={`${prefixcls}-filter`}>
+            <div role="search" aria-label="Transfer filter" className={`${prefixCls}-filter`}>
                 <Input
                     prefix={<IconSearch />}
                     placeholder={locale.placeholder}
@@ -339,20 +339,20 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
         const { disabled } = this.props;
         const { totalContent, allContent, onAllClick, type, showButton } = headerConfig;
         const headerCls = cls({
-            [`${prefixcls}-header`]: true,
-            [`${prefixcls}-right-header`]: type === 'right',
-            [`${prefixcls}-left-header`]: type === 'left',
+            [`${prefixCls}-header`]: true,
+            [`${prefixCls}-right-header`]: type === 'right',
+            [`${prefixCls}-left-header`]: type === 'left',
         });
         return (
             <div className={headerCls}>
-                <span className={`${prefixcls}-header-total`}>{totalContent}</span>
+                <span className={`${prefixCls}-header-total`}>{totalContent}</span>
                 {showButton ? (
                     <Button
                         theme="borderless"
                         disabled={disabled}
                         type="tertiary"
                         size="small"
-                        className={`${prefixcls}-header-all`}
+                        className={`${prefixCls}-header-all`}
                         onClick={onAllClick}
                     >
                         {allContent}
@@ -370,8 +370,8 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
             return renderSourceItem({ ...item, checked, onChange: () => this.onSelectOrRemove(item) });
         }
         const leftItemCls = cls({
-            [`${prefixcls}-item`]: true,
-            [`${prefixcls}-item-disabled`]: item.disabled,
+            [`${prefixCls}-item`]: true,
+            [`${prefixCls}-item-disabled`]: item.disabled,
         });
         return (
             <Checkbox
@@ -476,7 +476,7 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
         }
 
         return (
-            <section className={`${prefixcls}-left`}>
+            <section className={`${prefixCls}-left`}>
                 {inputCom}
                 {content}
             </section>
@@ -484,7 +484,7 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
     }
 
     renderGroupTitle(group: GroupItem, index: number) {
-        const groupCls = cls(`${prefixcls }-group-title`);
+        const groupCls = cls(`${prefixCls }-group-title`);
         return (
             <div className={groupCls} key={`title-${index}`}>
                 {group.title}
@@ -539,16 +539,16 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
                 content.push(optionContent);
             }
         });
-        return <div className={`${prefixcls}-left-list`} role="list" aria-label="Option list">{content}</div>;
+        return <div className={`${prefixCls}-left-list`} role="list" aria-label="Option list">{content}</div>;
     }
 
     renderRightItem(item: ResolvedDataItem): React.ReactNode {
         const { renderSelectedItem, draggable, type, showPath } = this.props;
         const onRemove = () => this.foundation.handleSelectOrRemove(item);
         const rightItemCls = cls({
-            [`${prefixcls}-item`]: true,
-            [`${prefixcls}-right-item`]: true,
-            [`${prefixcls}-right-item-draggable`]: draggable
+            [`${prefixCls}-item`]: true,
+            [`${prefixCls}-right-item`]: true,
+            [`${prefixCls}-right-item-draggable`]: draggable
         });
         const shouldShowPath = type === strings.TYPE_TREE_TO_LIST && showPath === true;
 
@@ -559,19 +559,19 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
         }
 
         const DragHandle = SortableHandle(() => (
-            <IconHandle role="button" aria-label="Drag and sort" className={`${prefixcls}-right-item-drag-handler`} />
+            <IconHandle role="button" aria-label="Drag and sort" className={`${prefixCls}-right-item-drag-handler`} />
         ));
 
         return (
             // https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
             <div role="listitem" className={rightItemCls} key={item.key}>
                 {draggable ? <DragHandle /> : null}
-                <div className={`${prefixcls}-right-item-text`}>{label}</div>
+                <div className={`${prefixCls}-right-item-text`}>{label}</div>
                 <IconClose
                     onClick={onRemove}
                     aria-disabled={item.disabled}
-                    className={cls(`${prefixcls}-item-close-icon`, {
-                        [`${prefixcls}-item-close-icon-disabled`]: item.disabled
+                    className={cls(`${prefixCls}-item-close-icon`, {
+                        [`${prefixCls}-item-close-icon-disabled`]: item.disabled
                     })}
                 />
             </div>
@@ -580,9 +580,9 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
 
     renderEmpty(type: string, emptyText: React.ReactNode) {
         const emptyCls = cls({
-            [`${prefixcls}-empty`]: true,
-            [`${prefixcls}-right-empty`]: type === 'right',
-            [`${prefixcls}-left-empty`]: type === 'left',
+            [`${prefixCls}-empty`]: true,
+            [`${prefixCls}-right-empty`]: type === 'right',
+            [`${prefixCls}-left-empty`]: type === 'left',
         });
         return <div aria-label="empty" className={emptyCls}>{emptyText}</div>;
     }
@@ -595,7 +595,7 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
 
         // helperClass:add styles to the helper(item being dragged) https://github.com/clauderic/react-sortable-hoc/issues/87
         // @ts-ignore skip SortableItem type check
-        const sortList = <SortableList useDragHandle helperClass={`${prefixcls}-right-item-drag-item-move`} onSortEnd={this.onSortEnd} items={sortableListItems} />;
+        const sortList = <SortableList useDragHandle helperClass={`${prefixCls}-right-item-drag-item-move`} onSortEnd={this.onSortEnd} items={sortableListItems} />;
         return sortList;
     }
 
@@ -626,7 +626,7 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
         };
         const headerCom = this.renderHeader(headerConfig);
         const emptyCom = this.renderEmpty('right', emptyContent.right ? emptyContent.right : locale.emptyRight);
-        const panelCls = `${prefixcls}-right`;
+        const panelCls = `${prefixCls}-right`;
 
         let content = null;
 
@@ -637,7 +637,7 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
                 break;
             case selectedData.length && !draggable:
                 const list = (
-                    <div className={`${prefixcls}-right-list`} role="list" aria-label="Selected list">
+                    <div className={`${prefixCls}-right-list`} role="list" aria-label="Selected list">
                         {selectedData.map(item => this.renderRightItem({ ...item }))}
                     </div>
                 );
@@ -660,9 +660,9 @@ class Transfer extends BaseComponent<TransferProps, TransferState> {
 
     render() {
         const { className, style, disabled, renderSelectedPanel, renderSourcePanel } = this.props;
-        const transferCls = cls(prefixcls, className, {
-            [`${prefixcls}-disabled`]: disabled,
-            [`${prefixcls}-custom-panel`]: renderSelectedPanel && renderSourcePanel,
+        const transferCls = cls(prefixCls, className, {
+            [`${prefixCls}-disabled`]: disabled,
+            [`${prefixCls}-custom-panel`]: renderSelectedPanel && renderSourcePanel,
         });
 
         return (

+ 1 - 1
packages/semi-webpack/package.json

@@ -1,6 +1,6 @@
 {
     "name": "@douyinfe/semi-webpack-plugin",
-    "version": "2.26.0",
+    "version": "2.27.0-beta.0",
     "description": "",
     "author": "伍浩威 <[email protected]>",
     "homepage": "",

+ 1 - 1
src/sitePages/newHome/components/operateButton/operateButton.jsx

@@ -32,7 +32,7 @@ function OperateButton() {
         >
             <span style={{ display: 'flex' }}>
                 GitHub
-                <span className={styles.badge}>6.2k</span>
+                <span className={styles.badge}>6.5k</span>
             </span>
         </Button>
     </div>);

+ 38 - 38
yarn.lock

@@ -1456,10 +1456,10 @@
   resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
   integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==
 
-"@douyinfe/[email protected]5.2":
-  version "2.25.2"
-  resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation-react/-/semi-animation-react-2.25.2.tgz#e87433a91e15dacc2c440bce0230e79e6ff4dbf8"
-  integrity sha512-Yr+KeAMA4bcK5GitTdvWT7zGuzQ2dVObnK1yMxUmLU30r4J9NHYcxrnaCTBB/FS13eW/98wu6HN6Cyz+ph1X4w==
+"@douyinfe/[email protected]6.0":
+  version "2.26.0"
+  resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation-react/-/semi-animation-react-2.26.0.tgz#3c932a5e568a777d8a04fbebf0073901ddc21fd9"
+  integrity sha512-MU9HMHll0ek6drr+4M6bU5nBLIRcZ3PEpvPnTcycgCQBa8FB/uIKEdxlfsWml9VzT54TUOhTi1HIJ3o++o8eyQ==
   dependencies:
     "@douyinfe/semi-animation" "2.12.0"
     "@douyinfe/semi-animation-styled" "2.23.2"
@@ -1495,10 +1495,10 @@
     "@babel/runtime-corejs3" "^7.15.4"
     bezier-easing "^2.1.0"
 
-"@douyinfe/[email protected]5.2":
-  version "2.25.2"
-  resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation/-/semi-animation-2.25.2.tgz#a502b7c178f586278da6287a3fb2ae3dbe597edc"
-  integrity sha512-GCCCKieW8xdL5UNezfXJs3etZZV+LUB0T4YojQ7WqNCk2a6MxC3p7Gd3+5HwgLFyDKcOJ71m8ZzBrWwWXV+UOw==
+"@douyinfe/[email protected]6.0":
+  version "2.26.0"
+  resolved "https://registry.yarnpkg.com/@douyinfe/semi-animation/-/semi-animation-2.26.0.tgz#3a05b231ff656f9e52c03f1e1681a7b7d1d430be"
+  integrity sha512-FfW54CArI4OOS20g6t9610d5p73CuVVM3U3CupF/MARPEgTe6fDS49uU2iBR2LHtbEKBbHp/RP8sdWE+d7/q2Q==
   dependencies:
     bezier-easing "^2.1.0"
 
@@ -1510,10 +1510,10 @@
     "@babel/runtime-corejs3" "^7.15.4"
     bezier-easing "^2.1.0"
 
-"@douyinfe/[email protected]5.2":
-  version "2.25.2"
-  resolved "https://registry.yarnpkg.com/@douyinfe/semi-foundation/-/semi-foundation-2.25.2.tgz#3a833f16ecc38ddc606c44fd7335f2963f398ec0"
-  integrity sha512-VnufdjFJTUxiIeVxh5nqzoLEp1cXjzBH9K9cfxYXoplTc205W0RGike9Fkg9P6X5zeIEs8uC8XonFd27qtr/0A==
+"@douyinfe/[email protected]6.0":
+  version "2.26.0"
+  resolved "https://registry.yarnpkg.com/@douyinfe/semi-foundation/-/semi-foundation-2.26.0.tgz#8446c893d85d3081e578cd83e826fe24d09335af"
+  integrity sha512-MOOnJ8n8uvb+Aitx4RQGK/YJ4U8F1lT9jyk181BaUI9Qzq5av3ldiZxsb6RUN45JEYqju6fTlyn29sE4Pi4QjA==
   dependencies:
     "@douyinfe/semi-animation" "2.12.0"
     async-validator "^3.5.0"
@@ -1539,10 +1539,10 @@
     memoize-one "^5.2.1"
     scroll-into-view-if-needed "^2.2.24"
 
-"@douyinfe/[email protected]5.2", "@douyinfe/semi-icons@^2.0.0":
-  version "2.25.2"
-  resolved "https://registry.yarnpkg.com/@douyinfe/semi-icons/-/semi-icons-2.25.2.tgz#bde2018d4a86c875f6b05e4eca1d943f677072f1"
-  integrity sha512-+8vt9XVVr2ytGdJVncohXQ7u2JClX7UxywYq8y3HxYMIonyw/fgyGpltVQXcvzx6fbT1Jl8di9LES9lMgVTKhw==
+"@douyinfe/[email protected]6.0", "@douyinfe/semi-icons@^2.0.0":
+  version "2.26.0"
+  resolved "https://registry.yarnpkg.com/@douyinfe/semi-icons/-/semi-icons-2.26.0.tgz#603438476dc7933e0a158778aa71576d14bc292a"
+  integrity sha512-aA3P5iuEj5ILPAXas41DWjTQgqpQ5g2NRzVXPY4NtbWEU2vG492bUSq+fcsyOKlBgEJKAwclFHberoGabrnLKg==
   dependencies:
     classnames "^2.2.6"
 
@@ -1554,10 +1554,10 @@
     "@babel/runtime-corejs3" "^7.15.4"
     classnames "^2.2.6"
 
-"@douyinfe/[email protected]5.2":
-  version "2.25.2"
-  resolved "https://registry.yarnpkg.com/@douyinfe/semi-illustrations/-/semi-illustrations-2.25.2.tgz#6ba91adedb8945d4288951516190c3c7b06b6d4e"
-  integrity sha512-TKEN4/5nGFItVUa7o8IwKN4mUV9RYdG7TOVNYQ8+6EFdSv4gwSga+J0HwDd2XNGvtR4h2pczUfeLYzBLA+npfQ==
+"@douyinfe/[email protected]6.0":
+  version "2.26.0"
+  resolved "https://registry.yarnpkg.com/@douyinfe/semi-illustrations/-/semi-illustrations-2.26.0.tgz#d3488f5f8f9308bc233c0486284962c5d2cb2b54"
+  integrity sha512-iRMQSVNuFhRLSq7qbiydq9epr2U4h4ZWpvUf9Veu1cWoMCsN4JoFC3D471HjtTg99F/ocmLne9FHnTf+VrQutA==
 
 "@douyinfe/[email protected]":
   version "2.9.1"
@@ -1593,10 +1593,10 @@
   resolved "https://registry.yarnpkg.com/@douyinfe/semi-site-doc-style/-/semi-site-doc-style-0.0.1.tgz#c3c803014218ec00441dac32db9a875f6222ed0b"
   integrity sha512-y7Jc1i9q/O2idfaqckSJvghpt4AboQJgZ4iTEK8UMqjQkyWmb5I/NRzVWjOP9S0LEbJNs76OKfZil7DwsOmY/A==
 
-"@douyinfe/semi-site-header@^0.0.18":
-  version "0.0.18"
-  resolved "https://registry.yarnpkg.com/@douyinfe/semi-site-header/-/semi-site-header-0.0.18.tgz#f4fe1b9ab02768a99eaa752ea3eb4b56a8085e5e"
-  integrity sha512-ttBMbiQQrkZvhBTz8ZQM4cFosR9IAMR9neRXTmteeaEDyw+xrvGUvnIjf6cDiXTKzQYinfzN13XmH3Ei9inuZw==
+"@douyinfe/semi-site-header@^0.0.19":
+  version "0.0.19"
+  resolved "https://registry.yarnpkg.com/@douyinfe/semi-site-header/-/semi-site-header-0.0.19.tgz#eae92958fe121856138aaefbc4e0aa30c2495b18"
+  integrity sha512-95NvP7a78gM+7n6L1y3k8U220smgQkkgsxGA06v+P2+sCKfHxp9ZJGj5DcNvF9f9npUfwM9mMI26NTfZ8XslPQ==
   dependencies:
     "@douyinfe/semi-icons" "^2.0.0"
     "@douyinfe/semi-ui" "^2.0.0"
@@ -1632,10 +1632,10 @@
     monaco-themes "^0.3.3"
     react-live "^2.2.2"
 
-"@douyinfe/[email protected]5.2":
-  version "2.25.2"
-  resolved "https://registry.yarnpkg.com/@douyinfe/semi-theme-default/-/semi-theme-default-2.25.2.tgz#a171f6f51b731db04c1779e4ed72600fc06c3250"
-  integrity sha512-4EfkGFUm4xiQuwzo1J2d3M3e/v8w79x9KknmGn8UexGL48o6hJXVyXHmnODqHW3GXNUOI6CUZZKh42HfZhn0Bw==
+"@douyinfe/[email protected]6.0":
+  version "2.26.0"
+  resolved "https://registry.yarnpkg.com/@douyinfe/semi-theme-default/-/semi-theme-default-2.26.0.tgz#24f195c8e25a69898a771be2dc6dcd8c3d7025fd"
+  integrity sha512-UvfdFH7SjVsNa87lkT19rvWL8fR69a3b8I3hCck1nvl4q3DTGm6czJIzm7q5QgBtLGmNFFf9q7VFRTIDOZfe8w==
   dependencies:
     glob "^7.1.6"
 
@@ -1647,16 +1647,16 @@
     glob "^7.1.6"
 
 "@douyinfe/semi-ui@^2.0.0":
-  version "2.25.2"
-  resolved "https://registry.yarnpkg.com/@douyinfe/semi-ui/-/semi-ui-2.25.2.tgz#68c1fb91ad2067c8846b0bcc2e15020379f07772"
-  integrity sha512-n0TvLWuvq6DlxVyvSz0icxvDKzgmn25qtiYyA7S3NcNTg6wQTJ3qtwyK3lg7OTH58SI3XRpfCJxJSrUtrDngcA==
-  dependencies:
-    "@douyinfe/semi-animation" "2.25.2"
-    "@douyinfe/semi-animation-react" "2.25.2"
-    "@douyinfe/semi-foundation" "2.25.2"
-    "@douyinfe/semi-icons" "2.25.2"
-    "@douyinfe/semi-illustrations" "2.25.2"
-    "@douyinfe/semi-theme-default" "2.25.2"
+  version "2.26.0"
+  resolved "https://registry.yarnpkg.com/@douyinfe/semi-ui/-/semi-ui-2.26.0.tgz#b49993977860ad13c6a7cc6ec3c1580201848ec9"
+  integrity sha512-AI1sFinCLzZRly4MtBTMj7f3fNHffcRZBLU5Zeim2LnVuN+5IlaBrwRdtdOTq+kUSpNS7Lu+RAeUzyowsCkAVg==
+  dependencies:
+    "@douyinfe/semi-animation" "2.26.0"
+    "@douyinfe/semi-animation-react" "2.26.0"
+    "@douyinfe/semi-foundation" "2.26.0"
+    "@douyinfe/semi-icons" "2.26.0"
+    "@douyinfe/semi-illustrations" "2.26.0"
+    "@douyinfe/semi-theme-default" "2.26.0"
     async-validator "^3.5.0"
     classnames "^2.2.6"
     copy-text-to-clipboard "^2.1.1"