@douyinfe/semi-foundation 2.1.2 → 2.1.6-alpha.0
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.
- package/checkbox/checkbox.scss +25 -1
- package/checkbox/checkboxFoundation.ts +15 -4
- package/checkbox/variables.scss +6 -1
- package/lib/cjs/checkbox/checkbox.css +21 -2
- package/lib/cjs/checkbox/checkbox.scss +25 -1
- package/lib/cjs/checkbox/checkboxFoundation.d.ts +11 -4
- package/lib/cjs/checkbox/checkboxFoundation.js +7 -0
- package/lib/cjs/checkbox/variables.scss +6 -1
- package/lib/cjs/modal/modal.css +1 -1
- package/lib/cjs/modal/modalFoundation.d.ts +2 -2
- package/lib/cjs/modal/variables.scss +1 -1
- package/lib/cjs/radio/radio.css +33 -2
- package/lib/cjs/radio/radio.scss +44 -1
- package/lib/cjs/radio/variables.scss +12 -2
- package/lib/cjs/rating/rating.css +3 -0
- package/lib/cjs/rating/rating.scss +4 -0
- package/lib/cjs/select/select.scss +1 -1
- package/lib/cjs/sideSheet/sideSheet.css +1 -1
- package/lib/cjs/sideSheet/variables.scss +1 -1
- package/lib/cjs/table/table.css +2 -2
- package/lib/cjs/table/table.scss +2 -2
- package/lib/cjs/table/variables.scss +3 -0
- package/lib/cjs/timeline/timeline.css +3 -0
- package/lib/cjs/timeline/timeline.scss +5 -1
- package/lib/cjs/upload/upload.css +1 -1
- package/lib/cjs/upload/variables.scss +1 -1
- package/lib/es/checkbox/checkbox.css +21 -2
- package/lib/es/checkbox/checkbox.scss +25 -1
- package/lib/es/checkbox/checkboxFoundation.d.ts +11 -4
- package/lib/es/checkbox/checkboxFoundation.js +7 -0
- package/lib/es/checkbox/variables.scss +6 -1
- package/lib/es/modal/modal.css +1 -1
- package/lib/es/modal/modalFoundation.d.ts +2 -2
- package/lib/es/modal/variables.scss +1 -1
- package/lib/es/radio/radio.css +33 -2
- package/lib/es/radio/radio.scss +44 -1
- package/lib/es/radio/variables.scss +12 -2
- package/lib/es/rating/rating.css +3 -0
- package/lib/es/rating/rating.scss +4 -0
- package/lib/es/select/select.scss +1 -1
- package/lib/es/sideSheet/sideSheet.css +1 -1
- package/lib/es/sideSheet/variables.scss +1 -1
- package/lib/es/table/table.css +2 -2
- package/lib/es/table/table.scss +2 -2
- package/lib/es/table/variables.scss +3 -0
- package/lib/es/timeline/timeline.css +3 -0
- package/lib/es/timeline/timeline.scss +5 -1
- package/lib/es/upload/upload.css +1 -1
- package/lib/es/upload/variables.scss +1 -1
- package/modal/modalFoundation.ts +2 -2
- package/modal/variables.scss +1 -1
- package/package.json +3 -3
- package/radio/radio.scss +44 -1
- package/radio/variables.scss +12 -2
- package/rating/rating.scss +4 -0
- package/select/select.scss +1 -1
- package/sideSheet/variables.scss +1 -1
- package/table/table.scss +2 -2
- package/table/variables.scss +3 -0
- package/timeline/timeline.scss +5 -1
- package/tree/treeUtil.ts +1 -1
- package/tsconfig.json +2 -1
- package/upload/variables.scss +1 -1
package/lib/es/table/table.css
CHANGED
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
user-select: none;
|
|
112
112
|
}
|
|
113
113
|
.semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-left, .semi-table-thead > .semi-table-row > .semi-table-row-head.semi-table-cell-fixed-right {
|
|
114
|
-
z-index:
|
|
114
|
+
z-index: 101;
|
|
115
115
|
position: sticky;
|
|
116
116
|
background-color: var(--semi-color-bg-2);
|
|
117
117
|
}
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
background-color: var(--semi-color-fill-0);
|
|
226
226
|
}
|
|
227
227
|
.semi-table-tbody > .semi-table-row > .semi-table-cell-fixed-left, .semi-table-tbody > .semi-table-row > .semi-table-cell-fixed-right {
|
|
228
|
-
z-index:
|
|
228
|
+
z-index: 101;
|
|
229
229
|
position: sticky;
|
|
230
230
|
background-color: var(--semi-color-bg-2);
|
|
231
231
|
}
|
package/lib/es/table/table.scss
CHANGED
|
@@ -104,7 +104,7 @@ $module: #{$prefix}-table;
|
|
|
104
104
|
|
|
105
105
|
&-left,
|
|
106
106
|
&-right {
|
|
107
|
-
z-index:
|
|
107
|
+
z-index: $z-table_fixed_column;
|
|
108
108
|
position: sticky;
|
|
109
109
|
background-color: $color-table-bg-default;
|
|
110
110
|
|
|
@@ -247,7 +247,7 @@ $module: #{$prefix}-table;
|
|
|
247
247
|
|
|
248
248
|
&-left,
|
|
249
249
|
&-right {
|
|
250
|
-
z-index:
|
|
250
|
+
z-index: $z-table_fixed_column;;
|
|
251
251
|
position: sticky;
|
|
252
252
|
background-color: $color-table-bg-default;
|
|
253
253
|
}
|
|
@@ -82,3 +82,6 @@ $shadow-table_right: 3px 0 0 0 $color-table_shadow-bg-default; // 表格滚动
|
|
|
82
82
|
$border-table: #{$width-table_base_border} #{$border-table_base-borderStyle} $color-table-border-default; // 表格默认描边
|
|
83
83
|
$border-table_head-bottom: #{$width-table_header_border} #{$border-table_base-borderStyle} $color-table_th-border-default; // 表头单元格描边 - 底部
|
|
84
84
|
$border-table_resizer: $width-table_resizer_border solid $color-table_resizer-bg-default; // 表格拉伸标识描边
|
|
85
|
+
|
|
86
|
+
$z-table-fixed: 101!default; // fixed列的zIndex值
|
|
87
|
+
$z-table_fixed_column: $z-table-fixed; // fixed列的zIndex值
|
|
@@ -96,6 +96,9 @@
|
|
|
96
96
|
.semi-timeline-alternate .semi-timeline-item-tail, .semi-timeline-alternate .semi-timeline-item-head, .semi-timeline-alternate .semi-timeline-item-head-custom, .semi-timeline-right .semi-timeline-item-tail, .semi-timeline-right .semi-timeline-item-head, .semi-timeline-right .semi-timeline-item-head-custom, .semi-timeline-center .semi-timeline-item-tail, .semi-timeline-center .semi-timeline-item-head, .semi-timeline-center .semi-timeline-item-head-custom {
|
|
97
97
|
left: 50%;
|
|
98
98
|
}
|
|
99
|
+
.semi-timeline-alternate .semi-timeline-item-head.semi-timeline-item-head-custom, .semi-timeline-right .semi-timeline-item-head.semi-timeline-item-head-custom, .semi-timeline-center .semi-timeline-item-head.semi-timeline-item-head-custom {
|
|
100
|
+
margin-left: 0;
|
|
101
|
+
}
|
|
99
102
|
.semi-timeline-alternate .semi-timeline-item-head, .semi-timeline-right .semi-timeline-item-head, .semi-timeline-center .semi-timeline-item-head {
|
|
100
103
|
margin-left: -4px;
|
|
101
104
|
}
|
|
@@ -120,7 +120,11 @@ $module: #{$prefix}-timeline;
|
|
|
120
120
|
&-head-custom {
|
|
121
121
|
left: $spacing-timeline_item_head_custom-left;
|
|
122
122
|
}
|
|
123
|
-
|
|
123
|
+
&-head{
|
|
124
|
+
&.#{$module}-item-head-custom{
|
|
125
|
+
margin-left: 0;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
124
128
|
&-head {
|
|
125
129
|
margin-left: $spacing-timeline_item_head-marginLeft;
|
|
126
130
|
}
|
package/lib/es/upload/upload.css
CHANGED
|
@@ -22,7 +22,7 @@ $color-upload-icon: var(--semi-color-tertiary); // 图片墙上传图标加号
|
|
|
22
22
|
$color-upload_pic_add-bg-active: var(--semi-color-fill-2); // 图片墙上传背景色 - 按下
|
|
23
23
|
$color-upload_pic_add-bg-hover: var(--semi-color-fill-1); // 图片墙上传背景色 - 悬浮
|
|
24
24
|
$color-upload_pic_add-bg: var(--semi-color-fill-0); // 图片墙上传背景色 - 默认
|
|
25
|
-
$color-upload_pic_remove-bg: var(--semi-overlay-bg); // 图片墙上传移除图标颜色
|
|
25
|
+
$color-upload_pic_remove-bg: var(--semi-color-overlay-bg); // 图片墙上传移除图标颜色
|
|
26
26
|
$color-upload_picture_file_card_loading_error-icon: var(--semi-color-danger); // 图片墙上传移除图标颜色
|
|
27
27
|
$color-upload_preview-icon: var(--semi-color-text-2); // 上传文件卡片文本颜色
|
|
28
28
|
$color-upload_retry-text: var(--semi-color-primary); // 上传文件卡片重新上传按钮文本颜色
|
package/modal/modalFoundation.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface ModalProps {
|
|
|
29
29
|
footer?: any;
|
|
30
30
|
hasCancel?: boolean;
|
|
31
31
|
header?: any;
|
|
32
|
-
height?: number;
|
|
32
|
+
height?: string | number;
|
|
33
33
|
mask?: boolean;
|
|
34
34
|
maskClosable?: boolean;
|
|
35
35
|
maskStyle?: Record<string, any>;
|
|
@@ -43,7 +43,7 @@ export interface ModalProps {
|
|
|
43
43
|
style?: Record<string, any>;
|
|
44
44
|
title?: any;
|
|
45
45
|
visible?: boolean;
|
|
46
|
-
width?: number;
|
|
46
|
+
width?: string | number;
|
|
47
47
|
zIndex?: number;
|
|
48
48
|
icon?: any;
|
|
49
49
|
getPopupContainer?: () => HTMLElement;
|
package/modal/variables.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Color
|
|
2
2
|
$color-modal-bg: var(--semi-color-bg-2); // 模态框背景颜色
|
|
3
|
-
$color-modal_mask-bg: var(--semi-overlay-bg); // 模态框蒙层颜色
|
|
3
|
+
$color-modal_mask-bg: var(--semi-color-overlay-bg); // 模态框蒙层颜色
|
|
4
4
|
$color-modal_main-text: var(--semi-color-text-0); // 模态框文字颜色
|
|
5
5
|
$color-modal_info-icon: var(--semi-color-info); // 模态框信息图标颜色
|
|
6
6
|
$color-modal_primary-icon: var(--semi-color-primary); // 模态框主要图标颜色
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-foundation",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6-alpha.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build:lib": "node ./scripts/compileLib.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@babel/runtime-corejs3": "^7.15.4",
|
|
11
|
-
"@douyinfe/semi-animation": "2.1.
|
|
11
|
+
"@douyinfe/semi-animation": "2.1.5",
|
|
12
12
|
"async-validator": "^3.5.0",
|
|
13
13
|
"classnames": "^2.2.6",
|
|
14
14
|
"date-fns": "^2.9.0",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"*.scss",
|
|
25
25
|
"*.css"
|
|
26
26
|
],
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "6721f8e4f803913529db3c51d6d0af5dfe616938",
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
30
30
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
package/radio/radio.scss
CHANGED
|
@@ -29,6 +29,7 @@ $inner-width: $width-icon-medium;
|
|
|
29
29
|
width: 100%;
|
|
30
30
|
height: 100%;
|
|
31
31
|
margin: 0;
|
|
32
|
+
cursor: pointer;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
&:hover {
|
|
@@ -46,6 +47,7 @@ $inner-width: $width-icon-medium;
|
|
|
46
47
|
.#{$module}-inner-checked {
|
|
47
48
|
.#{$module}-inner-display {
|
|
48
49
|
background: $color-radio_primary-bg-hover;
|
|
50
|
+
border-color: $color-radio_checked-border-hover;
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
53
|
}
|
|
@@ -64,6 +66,7 @@ $inner-width: $width-icon-medium;
|
|
|
64
66
|
.#{$module}-inner-checked {
|
|
65
67
|
.#{$module}-inner-display {
|
|
66
68
|
background: $color-radio_primary-bg-active;
|
|
69
|
+
border-color: $color-radio_checked-border-active;
|
|
67
70
|
}
|
|
68
71
|
}
|
|
69
72
|
}
|
|
@@ -135,6 +138,29 @@ $inner-width: $width-icon-medium;
|
|
|
135
138
|
&_checked {
|
|
136
139
|
background: $color-radio_cardRadioGroup-bg-checked;
|
|
137
140
|
border: $width-radio_cardRadioGroup_checked-border solid $color-radio_cardRadioGroup_border-active;
|
|
141
|
+
|
|
142
|
+
&:hover {
|
|
143
|
+
border: $width-radio_cardRadioGroup_checked-border solid $color-radio_cardRadioGroup_checked_border-hover;
|
|
144
|
+
|
|
145
|
+
.#{$module}-inner-checked .#{$module}-inner-display {
|
|
146
|
+
border-color: $color-radio_cardRadioGroup_checked_border-hover;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&:active {
|
|
151
|
+
background: $color-radio_cardRadioGroup-bg-checked;
|
|
152
|
+
border: $width-radio_cardRadioGroup_checked-border solid $color-radio_cardRadioGroup_checked_border-active;
|
|
153
|
+
|
|
154
|
+
.#{$module}-inner-checked {
|
|
155
|
+
.#{$module}-inner-display {
|
|
156
|
+
border-color: $color-radio_cardRadioGroup_checked_border-active;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&:hover .#{$module}-inner-display {
|
|
160
|
+
background: $color-radio_primary-bg-active;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
138
164
|
}
|
|
139
165
|
|
|
140
166
|
&_hover {
|
|
@@ -146,6 +172,21 @@ $inner-width: $width-icon-medium;
|
|
|
146
172
|
background: transparent;
|
|
147
173
|
}
|
|
148
174
|
}
|
|
175
|
+
|
|
176
|
+
&_checked_disabled.#{$module}-cardRadioGroup {
|
|
177
|
+
background: $color-radio_cardRadioGroup_disabled-bg-checked;
|
|
178
|
+
border: $width-radio_cardRadioGroup_checked_disabled-border solid $color-radio_cardRadioGroup_border_disabled-active;
|
|
179
|
+
|
|
180
|
+
.#{$module}-inner-checked .#{$module}-inner-display {
|
|
181
|
+
border-color: $color-radio_cardRadioGroup_checked_disabled-border-default;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&:hover {
|
|
185
|
+
.#{$module}-inner-checked .#{$module}-inner-display {
|
|
186
|
+
border-color: $color-radio_cardRadioGroup_checked_disabled-border-hover;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
149
190
|
}
|
|
150
191
|
|
|
151
192
|
&.#{$module}-disabled:hover,
|
|
@@ -158,6 +199,7 @@ $inner-width: $width-icon-medium;
|
|
|
158
199
|
.#{$module}-inner-checked {
|
|
159
200
|
.#{$module}-inner-display {
|
|
160
201
|
background: $color-radio_checked-bg-disabled;
|
|
202
|
+
border-color: $color-radio_checked-border-disabled;
|
|
161
203
|
}
|
|
162
204
|
}
|
|
163
205
|
}
|
|
@@ -293,7 +335,7 @@ $inner-width: $width-icon-medium;
|
|
|
293
335
|
&-display {
|
|
294
336
|
opacity: 0.75;
|
|
295
337
|
background: $color-radio_disabled-bg-default;
|
|
296
|
-
border-color: $color-
|
|
338
|
+
border-color: $color-radio_default-border-disabled;
|
|
297
339
|
|
|
298
340
|
&:hover {
|
|
299
341
|
background: $color-radio_disabled-bg-hover;
|
|
@@ -308,6 +350,7 @@ $inner-width: $width-icon-medium;
|
|
|
308
350
|
|
|
309
351
|
&:hover {
|
|
310
352
|
background: $color-radio_checked-bg-disabled;
|
|
353
|
+
border-color: $color-radio_checked-border-disabled;
|
|
311
354
|
}
|
|
312
355
|
}
|
|
313
356
|
}
|
package/radio/variables.scss
CHANGED
|
@@ -3,6 +3,8 @@ $color-radio_default-bg-default: transparent; // 默认态背景颜色
|
|
|
3
3
|
$color-radio_default-bg-hover: var(--semi-color-fill-0); // 悬浮态背景颜色
|
|
4
4
|
$color-radio_default-bg-active: var(--semi-color-fill-1); // 按下态背景颜色
|
|
5
5
|
$color-radio_default-border-hover: var(--semi-color-focus-border); // 悬浮态描边颜色
|
|
6
|
+
$color-radio_checked-border-hover: var(--semi-color-primary-hover); // 选中时悬浮态描边颜色
|
|
7
|
+
$color-radio_checked-border-active: var(--semi-color-primary-active); // 选中时按下态描边颜色
|
|
6
8
|
|
|
7
9
|
$color-radio_default-text-default: var(--semi-color-text-0); // 选项文本颜色
|
|
8
10
|
$color-radio_extra-text-default: var(--semi-color-text-2); // 辅助文本颜色
|
|
@@ -14,7 +16,8 @@ $color-radio_primary-bg-default: var(--semi-color-primary); // 选中项背景
|
|
|
14
16
|
$color-radio_primary-text-default: white; // 选中项原点颜色
|
|
15
17
|
|
|
16
18
|
$color-radio_checked-bg-disabled: var(--semi-color-primary-disabled); // 选中项禁用态背景颜色
|
|
17
|
-
$color-
|
|
19
|
+
$color-radio_default-border-disabled: var(--semi-color-border); // 禁用态描边颜色
|
|
20
|
+
$color-radio_checked-border-disabled: var(--semi-color-primary-disabled); // 选中项禁用态描边颜色
|
|
18
21
|
|
|
19
22
|
$color-radio_disabled-bg-default: var(--semi-color-disabled-fill); // 禁用态背景颜色
|
|
20
23
|
$color-radio_disabled-bg-hover: transparent;
|
|
@@ -30,11 +33,17 @@ $color-radio_addon_buttonRadio-bg-hover: var(--semi-color-fill-1); // 按钮样
|
|
|
30
33
|
$color-radio_addon_buttonRadio-text-checked: var(--semi-color-primary); // 按钮样式单选选中项文字颜色
|
|
31
34
|
$color-radio_addon_buttonRadio-bg-checked: var(--semi-color-bg-3); // 按钮样式单选选中项背景颜色
|
|
32
35
|
$color-radio_cardRadioGroup-bg-checked: var(--semi-color-primary-light-default); // 卡片样式单选选中态背景色
|
|
36
|
+
$color-radio_cardRadioGroup_disabled-bg-checked: var(--semi-color-primary-light-default); // 卡片样式单选选中且禁用时的背景色
|
|
33
37
|
$color-radio_cardRadioGroup-bg-hover: var(--semi-color-fill-0); // 卡片样式单选悬浮态背景色
|
|
34
38
|
$color-radio_cardRadioGroup-bg-active: var(--semi-color-fill-1); // 卡片样式单选按下态背景色
|
|
35
|
-
$color-radio_cardRadioGroup_border-active: var(--semi-color-
|
|
39
|
+
$color-radio_cardRadioGroup_border-active: var(--semi-color-primary); // 卡片样式单选选中态描边颜色
|
|
40
|
+
$color-radio_cardRadioGroup_checked_border-active: var(--semi-color-primary-active); // 卡片样式单选选中态描边颜色 - 按下态
|
|
41
|
+
$color-radio_cardRadioGroup_checked_border-hover: var(--semi-color-primary-hover); // 卡片样式单选选中态描边颜色 - 悬浮态
|
|
42
|
+
$color-radio_cardRadioGroup_border_disabled-active: var(--semi-color-primary-disabled); // 卡片样式单选选中且禁用时的描边颜色
|
|
36
43
|
$color-radio_cardRadioGroup_addon-text-default: var(--semi-color-text-0); // 卡片样式单选标题文字颜色
|
|
37
44
|
$color-radio_cardRadioGroup_extra-text-default: var(--semi-color-text-2); // 卡片样式单选辅助文字颜色
|
|
45
|
+
$color-radio_cardRadioGroup_checked_disabled-border-default: var(--semi-color-primary-disabled); // 卡片样式选中项禁用态描边颜色 - 默认态
|
|
46
|
+
$color-radio_cardRadioGroup_checked_disabled-border-hover: var(--semi-color-primary-disabled); // 卡片样式选中项禁用态描边颜色 - 悬浮态
|
|
38
47
|
$color-radio_card-bg-hover: var(--semi-color-white); // 单选圆点颜色
|
|
39
48
|
$color-radio_card-bg-active: var(--semi-color-white); // 单选圆点颜色 - 按下态
|
|
40
49
|
$color-radio_card-bg-default: var(--semi-color-white); // 单选圆点颜色 - 悬浮态
|
|
@@ -44,6 +53,7 @@ $radius-radio_addon_buttonRadio: var(--semi-border-radius-small); // 按钮式
|
|
|
44
53
|
$radius-radio_buttonRadio: var(--semi-border-radius-small); // 按钮式单选圆角大小
|
|
45
54
|
|
|
46
55
|
$width-radio_cardRadioGroup_checked-border: 1px; // 卡片式单选描边宽度
|
|
56
|
+
$width-radio_cardRadioGroup_checked_disabled-border: 1px; // 卡片式单选选中且禁用时的描边宽度
|
|
47
57
|
$width-radio_hover-border: $border-thickness-control; // 描边宽度 - 悬浮态
|
|
48
58
|
$width-radio_disabled-border: $border-thickness-control; // 描边宽度 - 禁用态
|
|
49
59
|
$width-radio_innder-border: $border-thickness-control; // 描边宽度 - 禁用态
|
package/rating/rating.scss
CHANGED
package/select/select.scss
CHANGED
package/sideSheet/variables.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Color
|
|
2
|
-
$color-sideSheet_mask-bg: var(--semi-overlay-bg); // 侧边栏打开后蒙层颜色
|
|
2
|
+
$color-sideSheet_mask-bg: var(--semi-color-overlay-bg); // 侧边栏打开后蒙层颜色
|
|
3
3
|
$color-sideSheet-bg: var(--semi-color-bg-2); // 侧边栏背景颜色
|
|
4
4
|
$color-sideSheet_main-text: var(--semi-color-text-0); // 侧边栏默认文本颜色
|
|
5
5
|
|
package/table/table.scss
CHANGED
|
@@ -104,7 +104,7 @@ $module: #{$prefix}-table;
|
|
|
104
104
|
|
|
105
105
|
&-left,
|
|
106
106
|
&-right {
|
|
107
|
-
z-index:
|
|
107
|
+
z-index: $z-table_fixed_column;
|
|
108
108
|
position: sticky;
|
|
109
109
|
background-color: $color-table-bg-default;
|
|
110
110
|
|
|
@@ -247,7 +247,7 @@ $module: #{$prefix}-table;
|
|
|
247
247
|
|
|
248
248
|
&-left,
|
|
249
249
|
&-right {
|
|
250
|
-
z-index:
|
|
250
|
+
z-index: $z-table_fixed_column;;
|
|
251
251
|
position: sticky;
|
|
252
252
|
background-color: $color-table-bg-default;
|
|
253
253
|
}
|
package/table/variables.scss
CHANGED
|
@@ -82,3 +82,6 @@ $shadow-table_right: 3px 0 0 0 $color-table_shadow-bg-default; // 表格滚动
|
|
|
82
82
|
$border-table: #{$width-table_base_border} #{$border-table_base-borderStyle} $color-table-border-default; // 表格默认描边
|
|
83
83
|
$border-table_head-bottom: #{$width-table_header_border} #{$border-table_base-borderStyle} $color-table_th-border-default; // 表头单元格描边 - 底部
|
|
84
84
|
$border-table_resizer: $width-table_resizer_border solid $color-table_resizer-bg-default; // 表格拉伸标识描边
|
|
85
|
+
|
|
86
|
+
$z-table-fixed: 101!default; // fixed列的zIndex值
|
|
87
|
+
$z-table_fixed_column: $z-table-fixed; // fixed列的zIndex值
|
package/timeline/timeline.scss
CHANGED
|
@@ -120,7 +120,11 @@ $module: #{$prefix}-timeline;
|
|
|
120
120
|
&-head-custom {
|
|
121
121
|
left: $spacing-timeline_item_head_custom-left;
|
|
122
122
|
}
|
|
123
|
-
|
|
123
|
+
&-head{
|
|
124
|
+
&.#{$module}-item-head-custom{
|
|
125
|
+
margin-left: 0;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
124
128
|
&-head {
|
|
125
129
|
margin-left: $spacing-timeline_item_head-marginLeft;
|
|
126
130
|
}
|
package/tree/treeUtil.ts
CHANGED
|
@@ -441,7 +441,7 @@ export function normalizeKeyList(keyList: any, keyEntities: KeyEntities, leafOnl
|
|
|
441
441
|
res.push(key);
|
|
442
442
|
});
|
|
443
443
|
} else {
|
|
444
|
-
res = Array.from(keyList).filter(
|
|
444
|
+
res = (Array.from(keyList) as string[]).filter(key => keyEntities[key] && !isValid(keyEntities[key].children));
|
|
445
445
|
}
|
|
446
446
|
return res;
|
|
447
447
|
}
|
package/tsconfig.json
CHANGED
package/upload/variables.scss
CHANGED
|
@@ -22,7 +22,7 @@ $color-upload-icon: var(--semi-color-tertiary); // 图片墙上传图标加号
|
|
|
22
22
|
$color-upload_pic_add-bg-active: var(--semi-color-fill-2); // 图片墙上传背景色 - 按下
|
|
23
23
|
$color-upload_pic_add-bg-hover: var(--semi-color-fill-1); // 图片墙上传背景色 - 悬浮
|
|
24
24
|
$color-upload_pic_add-bg: var(--semi-color-fill-0); // 图片墙上传背景色 - 默认
|
|
25
|
-
$color-upload_pic_remove-bg: var(--semi-overlay-bg); // 图片墙上传移除图标颜色
|
|
25
|
+
$color-upload_pic_remove-bg: var(--semi-color-overlay-bg); // 图片墙上传移除图标颜色
|
|
26
26
|
$color-upload_picture_file_card_loading_error-icon: var(--semi-color-danger); // 图片墙上传移除图标颜色
|
|
27
27
|
$color-upload_preview-icon: var(--semi-color-text-2); // 上传文件卡片文本颜色
|
|
28
28
|
$color-upload_retry-text: var(--semi-color-primary); // 上传文件卡片重新上传按钮文本颜色
|