@douyinfe/semi-foundation 2.43.1-alpha.1 → 2.43.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -327,7 +327,6 @@ export default class CalendarFoundation<P = Record<string, any>, S = Record<stri
327
327
  }
328
328
  const weekEvents = this._parseWeeklyEvents(map, weekStart);
329
329
  eventArray.push(...weekEvents);
330
-
331
330
  return eventArray;
332
331
  }
333
332
 
@@ -37,9 +37,11 @@
37
37
  flex-direction: column;
38
38
  }
39
39
  .semi-popconfirm-body {
40
- margin-left: 36px;
41
40
  color: var(--semi-color-text-2);
42
41
  }
42
+ .semi-popconfirm-body-withIcon {
43
+ margin-left: 36px;
44
+ }
43
45
  .semi-popconfirm-body > p {
44
46
  margin: 0;
45
47
  padding: 0;
@@ -46,8 +46,9 @@ $module: #{$prefix}-popconfirm;
46
46
  }
47
47
 
48
48
  &-body {
49
- margin-left: $width-popconfirm-icon + $spacing-popconfirm_header_icon-marginRight;
50
-
49
+ &-withIcon {
50
+ margin-left: $width-popconfirm-icon + $spacing-popconfirm_header_icon-marginRight;
51
+ }
51
52
  color: $color-popconfirm_body-text;
52
53
 
53
54
  & > p {
@@ -493,6 +493,11 @@
493
493
  transform: rotate(0deg);
494
494
  }
495
495
 
496
+ .semi-table-column-filter-dropdown .semi-dropdown-menu {
497
+ max-height: 290px;
498
+ overflow-y: auto;
499
+ }
500
+
496
501
  .semi-table-wrapper-rtl .semi-table {
497
502
  direction: rtl;
498
503
  text-align: right;
@@ -620,4 +620,11 @@ $module: #{$prefix}-table;
620
620
  }
621
621
  }
622
622
 
623
+ .#{$module}-column-filter-dropdown {
624
+ .#{$prefix}-dropdown-menu {
625
+ max-height: $height-table_column_filter_dropdown;
626
+ overflow-y: auto;
627
+ }
628
+ }
629
+
623
630
  @import './rtl.scss';
@@ -42,6 +42,7 @@ $width-table_cell_fixed_left_last: 1px; // 表格左上角单元格底部描边
42
42
  $width-table_cell_fixed_right_first: 1px; // 表格左上角单元格右侧描边宽度
43
43
  $width-table_react_resizable_handle: 9px; // 表格伸缩列调节热区宽度
44
44
  $height-table_pagination_outer_min: 60px; // 表格分页器高度
45
+ $height-table_column_filter_dropdown: 290px; // 表格过滤筛选列表最大高度
45
46
 
46
47
 
47
48
  // Color no need to change
@@ -37,9 +37,11 @@
37
37
  flex-direction: column;
38
38
  }
39
39
  .semi-popconfirm-body {
40
- margin-left: 36px;
41
40
  color: var(--semi-color-text-2);
42
41
  }
42
+ .semi-popconfirm-body-withIcon {
43
+ margin-left: 36px;
44
+ }
43
45
  .semi-popconfirm-body > p {
44
46
  margin: 0;
45
47
  padding: 0;
@@ -46,8 +46,9 @@ $module: #{$prefix}-popconfirm;
46
46
  }
47
47
 
48
48
  &-body {
49
- margin-left: $width-popconfirm-icon + $spacing-popconfirm_header_icon-marginRight;
50
-
49
+ &-withIcon {
50
+ margin-left: $width-popconfirm-icon + $spacing-popconfirm_header_icon-marginRight;
51
+ }
51
52
  color: $color-popconfirm_body-text;
52
53
 
53
54
  & > p {
@@ -493,6 +493,11 @@
493
493
  transform: rotate(0deg);
494
494
  }
495
495
 
496
+ .semi-table-column-filter-dropdown .semi-dropdown-menu {
497
+ max-height: 290px;
498
+ overflow-y: auto;
499
+ }
500
+
496
501
  .semi-table-wrapper-rtl .semi-table {
497
502
  direction: rtl;
498
503
  text-align: right;
@@ -620,4 +620,11 @@ $module: #{$prefix}-table;
620
620
  }
621
621
  }
622
622
 
623
+ .#{$module}-column-filter-dropdown {
624
+ .#{$prefix}-dropdown-menu {
625
+ max-height: $height-table_column_filter_dropdown;
626
+ overflow-y: auto;
627
+ }
628
+ }
629
+
623
630
  @import './rtl.scss';
@@ -42,6 +42,7 @@ $width-table_cell_fixed_left_last: 1px; // 表格左上角单元格底部描边
42
42
  $width-table_cell_fixed_right_first: 1px; // 表格左上角单元格右侧描边宽度
43
43
  $width-table_react_resizable_handle: 9px; // 表格伸缩列调节热区宽度
44
44
  $height-table_pagination_outer_min: 60px; // 表格分页器高度
45
+ $height-table_column_filter_dropdown: 290px; // 表格过滤筛选列表最大高度
45
46
 
46
47
 
47
48
  // Color no need to change
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-foundation",
3
- "version": "2.43.1-alpha.1",
3
+ "version": "2.43.2",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build:lib": "node ./scripts/compileLib.js",
7
7
  "prepublishOnly": "npm run build:lib"
8
8
  },
9
9
  "dependencies": {
10
- "@douyinfe/semi-animation": "2.43.1-alpha.1",
10
+ "@douyinfe/semi-animation": "2.43.2",
11
11
  "async-validator": "^3.5.0",
12
12
  "classnames": "^2.2.6",
13
13
  "date-fns": "^2.29.3",
@@ -23,7 +23,7 @@
23
23
  "*.scss",
24
24
  "*.css"
25
25
  ],
26
- "gitHead": "5d365532a2f23fb1d064276a81e602fb8fbf26b4",
26
+ "gitHead": "6c7218869ff6a0c83525f49845b7dc7a858f3705",
27
27
  "devDependencies": {
28
28
  "@babel/plugin-transform-runtime": "^7.15.8",
29
29
  "@babel/preset-env": "^7.15.8",
@@ -46,8 +46,9 @@ $module: #{$prefix}-popconfirm;
46
46
  }
47
47
 
48
48
  &-body {
49
- margin-left: $width-popconfirm-icon + $spacing-popconfirm_header_icon-marginRight;
50
-
49
+ &-withIcon {
50
+ margin-left: $width-popconfirm-icon + $spacing-popconfirm_header_icon-marginRight;
51
+ }
51
52
  color: $color-popconfirm_body-text;
52
53
 
53
54
  & > p {
package/table/table.scss CHANGED
@@ -620,4 +620,11 @@ $module: #{$prefix}-table;
620
620
  }
621
621
  }
622
622
 
623
+ .#{$module}-column-filter-dropdown {
624
+ .#{$prefix}-dropdown-menu {
625
+ max-height: $height-table_column_filter_dropdown;
626
+ overflow-y: auto;
627
+ }
628
+ }
629
+
623
630
  @import './rtl.scss';
@@ -42,6 +42,7 @@ $width-table_cell_fixed_left_last: 1px; // 表格左上角单元格底部描边
42
42
  $width-table_cell_fixed_right_first: 1px; // 表格左上角单元格右侧描边宽度
43
43
  $width-table_react_resizable_handle: 9px; // 表格伸缩列调节热区宽度
44
44
  $height-table_pagination_outer_min: 60px; // 表格分页器高度
45
+ $height-table_column_filter_dropdown: 290px; // 表格过滤筛选列表最大高度
45
46
 
46
47
 
47
48
  // Color no need to change