@douyinfe/semi-foundation 2.57.0 → 2.58.0-beta.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 +1 -1
- package/checkbox/variables.scss +3 -1
- package/lib/cjs/checkbox/checkbox.scss +1 -1
- package/lib/cjs/checkbox/variables.scss +3 -1
- package/lib/cjs/table/rtl.scss +14 -2
- package/lib/cjs/table/table.css +8 -2
- package/lib/cjs/tagInput/tagInput.css +13 -0
- package/lib/cjs/tagInput/tagInput.scss +15 -0
- package/lib/cjs/tagInput/variables.scss +4 -1
- package/lib/es/checkbox/checkbox.scss +1 -1
- package/lib/es/checkbox/variables.scss +3 -1
- package/lib/es/table/rtl.scss +14 -2
- package/lib/es/table/table.css +8 -2
- package/lib/es/tagInput/tagInput.css +13 -0
- package/lib/es/tagInput/tagInput.scss +15 -0
- package/lib/es/tagInput/variables.scss +4 -1
- package/package.json +3 -3
- package/table/rtl.scss +14 -2
- package/tagInput/tagInput.scss +15 -0
- package/tagInput/variables.scss +4 -1
package/checkbox/checkbox.scss
CHANGED
|
@@ -188,7 +188,7 @@ $module: #{$prefix}-checkbox;
|
|
|
188
188
|
border-radius: $radius-checkbox_cardType;
|
|
189
189
|
padding: $spacing-checkbox_cardType-paddingY $spacing-checkbox_cardType-paddingX;
|
|
190
190
|
background: transparent;
|
|
191
|
-
border: $width-checkbox_cardType_checked-border solid
|
|
191
|
+
border: $width-checkbox_cardType_checked-border solid $color-checkbox_cardType-border-default;
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
.#{$module}-inner {
|
package/checkbox/variables.scss
CHANGED
|
@@ -38,6 +38,8 @@ $color-checkbox_checked-bg-disabled: var(--semi-color-primary-disabled); // 选
|
|
|
38
38
|
$color-checkbox_checked-icon-disabled: var(--semi-color-white); // 选框禁用态对勾颜色
|
|
39
39
|
$color-checkbox_primary-outline-focus: var(--semi-color-primary-light-active); // 复选框轮廓-聚焦颜色
|
|
40
40
|
|
|
41
|
+
$color-checkbox_cardType-border-default: transparent; // 卡片复选框默认边框颜色
|
|
42
|
+
|
|
41
43
|
$size-checkbox_inner-shadow: $border-thickness-control; // 选框内描边宽度
|
|
42
44
|
$width-checkbox_inner: $width-icon-medium; // 选框对勾 icon 宽度
|
|
43
45
|
$height-checkbox_inner: 20px; // 选框对勾 icon 高度
|
|
@@ -66,4 +68,4 @@ $font-checkbox_cardType_addon-fontWeight: $font-weight-bold; // 卡片类型复
|
|
|
66
68
|
$font-checkbox_cardType_addon-lineHeight: 20px; // 卡片类型复选框的 addon 的文字行高
|
|
67
69
|
$font-checkbox_cardType_extra-size: $font-size-regular; // 卡片类型复选框的 extra 的文字大小
|
|
68
70
|
$font-checkbox_cardType_extra-fontWeight: normal; // 卡片类型复选框的 extra 的 fontWeight
|
|
69
|
-
$font-checkbox_cardType_extra-lineHeight: 20px; // 卡片类型复选框的 extra 的文字行高
|
|
71
|
+
$font-checkbox_cardType_extra-lineHeight: 20px; // 卡片类型复选框的 extra 的文字行高
|
|
@@ -188,7 +188,7 @@ $module: #{$prefix}-checkbox;
|
|
|
188
188
|
border-radius: $radius-checkbox_cardType;
|
|
189
189
|
padding: $spacing-checkbox_cardType-paddingY $spacing-checkbox_cardType-paddingX;
|
|
190
190
|
background: transparent;
|
|
191
|
-
border: $width-checkbox_cardType_checked-border solid
|
|
191
|
+
border: $width-checkbox_cardType_checked-border solid $color-checkbox_cardType-border-default;
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
.#{$module}-inner {
|
|
@@ -38,6 +38,8 @@ $color-checkbox_checked-bg-disabled: var(--semi-color-primary-disabled); // 选
|
|
|
38
38
|
$color-checkbox_checked-icon-disabled: var(--semi-color-white); // 选框禁用态对勾颜色
|
|
39
39
|
$color-checkbox_primary-outline-focus: var(--semi-color-primary-light-active); // 复选框轮廓-聚焦颜色
|
|
40
40
|
|
|
41
|
+
$color-checkbox_cardType-border-default: transparent; // 卡片复选框默认边框颜色
|
|
42
|
+
|
|
41
43
|
$size-checkbox_inner-shadow: $border-thickness-control; // 选框内描边宽度
|
|
42
44
|
$width-checkbox_inner: $width-icon-medium; // 选框对勾 icon 宽度
|
|
43
45
|
$height-checkbox_inner: 20px; // 选框对勾 icon 高度
|
|
@@ -66,4 +68,4 @@ $font-checkbox_cardType_addon-fontWeight: $font-weight-bold; // 卡片类型复
|
|
|
66
68
|
$font-checkbox_cardType_addon-lineHeight: 20px; // 卡片类型复选框的 addon 的文字行高
|
|
67
69
|
$font-checkbox_cardType_extra-size: $font-size-regular; // 卡片类型复选框的 extra 的文字大小
|
|
68
70
|
$font-checkbox_cardType_extra-fontWeight: normal; // 卡片类型复选框的 extra 的 fontWeight
|
|
69
|
-
$font-checkbox_cardType_extra-lineHeight: 20px; // 卡片类型复选框的 extra 的文字行高
|
|
71
|
+
$font-checkbox_cardType_extra-lineHeight: 20px; // 卡片类型复选框的 extra 的文字行高
|
package/lib/cjs/table/rtl.scss
CHANGED
|
@@ -5,6 +5,18 @@ $module: #{$prefix}-table;
|
|
|
5
5
|
direction: rtl;
|
|
6
6
|
text-align: right;
|
|
7
7
|
|
|
8
|
+
&-align-left {
|
|
9
|
+
.#{$module}-operate-wrapper {
|
|
10
|
+
justify-content: flex-end;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-align-right {
|
|
15
|
+
.#{$module}-operate-wrapper {
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
8
20
|
&-thead {
|
|
9
21
|
& > .#{$module}-row {
|
|
10
22
|
& > .#{$module}-row-head {
|
|
@@ -98,12 +110,12 @@ $module: #{$prefix}-table;
|
|
|
98
110
|
}
|
|
99
111
|
|
|
100
112
|
&-sorter {
|
|
101
|
-
margin-left:
|
|
113
|
+
margin-left: 0;
|
|
102
114
|
margin-right: $spacing-table_column_sorter-marginLeft;
|
|
103
115
|
}
|
|
104
116
|
|
|
105
117
|
&-filter {
|
|
106
|
-
margin-left:
|
|
118
|
+
margin-left: 0;
|
|
107
119
|
margin-right: $spacing-table_column_filter-marginLeft;
|
|
108
120
|
}
|
|
109
121
|
}
|
package/lib/cjs/table/table.css
CHANGED
|
@@ -508,6 +508,12 @@
|
|
|
508
508
|
direction: rtl;
|
|
509
509
|
text-align: right;
|
|
510
510
|
}
|
|
511
|
+
.semi-table-wrapper-rtl .semi-table-align-left .semi-table-operate-wrapper {
|
|
512
|
+
justify-content: flex-end;
|
|
513
|
+
}
|
|
514
|
+
.semi-table-wrapper-rtl .semi-table-align-right .semi-table-operate-wrapper {
|
|
515
|
+
justify-content: flex-start;
|
|
516
|
+
}
|
|
511
517
|
.semi-table-wrapper-rtl .semi-table-thead > .semi-table-row > .semi-table-row-head {
|
|
512
518
|
text-align: right;
|
|
513
519
|
}
|
|
@@ -563,11 +569,11 @@
|
|
|
563
569
|
margin-left: 0;
|
|
564
570
|
}
|
|
565
571
|
.semi-table-wrapper-rtl .semi-table .semi-table-column-sorter {
|
|
566
|
-
margin-left:
|
|
572
|
+
margin-left: 0;
|
|
567
573
|
margin-right: 4px;
|
|
568
574
|
}
|
|
569
575
|
.semi-table-wrapper-rtl .semi-table .semi-table-column-filter {
|
|
570
|
-
margin-left:
|
|
576
|
+
margin-left: 0;
|
|
571
577
|
margin-right: 4px;
|
|
572
578
|
}
|
|
573
579
|
.semi-table-wrapper-rtl .semi-table-bordered .semi-table-container {
|
|
@@ -207,6 +207,16 @@
|
|
|
207
207
|
.semi-tagInput-clearBtn-invisible {
|
|
208
208
|
visibility: hidden;
|
|
209
209
|
}
|
|
210
|
+
.semi-tagInput-inset-label {
|
|
211
|
+
margin-right: 12px;
|
|
212
|
+
font-weight: 600;
|
|
213
|
+
font-size: 14px;
|
|
214
|
+
line-height: 20px;
|
|
215
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
216
|
+
color: var(--semi-color-text-2);
|
|
217
|
+
flex-shrink: 0;
|
|
218
|
+
white-space: nowrap;
|
|
219
|
+
}
|
|
210
220
|
.semi-tagInput-prefix, .semi-tagInput-suffix {
|
|
211
221
|
display: flex;
|
|
212
222
|
justify-content: center;
|
|
@@ -227,6 +237,9 @@
|
|
|
227
237
|
.semi-tagInput-suffix-text {
|
|
228
238
|
color: var(--semi-color-text-2);
|
|
229
239
|
}
|
|
240
|
+
.semi-tagInput-with-prefix .semi-input {
|
|
241
|
+
padding-left: 0;
|
|
242
|
+
}
|
|
230
243
|
.semi-tagInput-tag-content-wrapper {
|
|
231
244
|
display: flex;
|
|
232
245
|
align-items: center;
|
|
@@ -255,6 +255,15 @@ $module: #{$prefix}-tagInput;
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
+
&-inset-label {
|
|
259
|
+
margin-right: $spacing-tagInput_insetLabel-marginRight;
|
|
260
|
+
font-weight: $font-tagInput_insetLabel-fontWeight;
|
|
261
|
+
@include font-size-regular;
|
|
262
|
+
color: $color-tagInput_prefix-text-default;
|
|
263
|
+
flex-shrink: 0;
|
|
264
|
+
white-space: nowrap;
|
|
265
|
+
}
|
|
266
|
+
|
|
258
267
|
&-prefix,
|
|
259
268
|
&-suffix {
|
|
260
269
|
@include all-center;
|
|
@@ -281,6 +290,12 @@ $module: #{$prefix}-tagInput;
|
|
|
281
290
|
}
|
|
282
291
|
}
|
|
283
292
|
|
|
293
|
+
&-with-prefix {
|
|
294
|
+
.#{$prefix}-input {
|
|
295
|
+
padding-left: 0;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
284
299
|
&-tag-content-wrapper {
|
|
285
300
|
display: flex;
|
|
286
301
|
align-items: center;
|
|
@@ -28,7 +28,7 @@ $color-tagInput_danger-border-hover: var(--semi-color-danger-light-hover); //
|
|
|
28
28
|
$color-tagInput_danger-bg-focus: var(--semi-color-danger-light-default); // 危险标签输入框背景颜色 - 选中
|
|
29
29
|
$color-tagInput_danger-border-focus: var(--semi-color-danger); // 危险标签输入框描边颜色 - 选中
|
|
30
30
|
$color-tagInput_sortable_item_over-bg: var(--semi-color-primary); // 拖拽经过的元素前竖线背景色
|
|
31
|
-
|
|
31
|
+
$color-tagInput_prefix-text-default: var(--semi-color-text-2); // 标签输入框 prefix 文字颜色
|
|
32
32
|
$color-tagInput_handler-icon-default: var(--semi-color-text-2); // 可拖拽的标签拖拽按钮颜色
|
|
33
33
|
|
|
34
34
|
$spacing-tagInput_small-Y: 1px; // 小尺寸标签输入框标签顶部外边距
|
|
@@ -37,6 +37,7 @@ $spacing-tagInput_large-Y: 3px; // 大尺寸标签输入框标签顶部外边距
|
|
|
37
37
|
$spacing-tagInput_wrapper_n_paddingX: $spacing-tight; //标签输入框标签容器水平内边距
|
|
38
38
|
$spacing-tagInput_drag_handler-marginRight: 4px; // 拖拽handler icon的右外边距
|
|
39
39
|
$spacing-tagInput_tag_icon_paddingLeft: 4px; // tag中有handler icon时tag的左内边距
|
|
40
|
+
$spacing-tagInput_insetLabel-marginRight: $spacing-base-tight; // Form容器中标签输入框内嵌Label的右边距
|
|
40
41
|
|
|
41
42
|
$height-tagInput-large: $height-control-large; // 大尺寸标签输入框高度
|
|
42
43
|
$height-tagInput-default: $height-control-default; // 默认尺寸标签输入框高度
|
|
@@ -54,3 +55,5 @@ $width-tagInput_sortable_item_over: 2px; // 拖拽经过的元素前竖线宽度
|
|
|
54
55
|
$radius-tagInput: var(--semi-border-radius-small); // 标签输入框圆角
|
|
55
56
|
|
|
56
57
|
$z-tagInput_drag_item_move: 2000 !default; // 标签输入框中正在拖拽元素的z-index
|
|
58
|
+
|
|
59
|
+
$font-tagInput_insetLabel-fontWeight: 600; // prefix 文字字重
|
|
@@ -188,7 +188,7 @@ $module: #{$prefix}-checkbox;
|
|
|
188
188
|
border-radius: $radius-checkbox_cardType;
|
|
189
189
|
padding: $spacing-checkbox_cardType-paddingY $spacing-checkbox_cardType-paddingX;
|
|
190
190
|
background: transparent;
|
|
191
|
-
border: $width-checkbox_cardType_checked-border solid
|
|
191
|
+
border: $width-checkbox_cardType_checked-border solid $color-checkbox_cardType-border-default;
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
.#{$module}-inner {
|
|
@@ -38,6 +38,8 @@ $color-checkbox_checked-bg-disabled: var(--semi-color-primary-disabled); // 选
|
|
|
38
38
|
$color-checkbox_checked-icon-disabled: var(--semi-color-white); // 选框禁用态对勾颜色
|
|
39
39
|
$color-checkbox_primary-outline-focus: var(--semi-color-primary-light-active); // 复选框轮廓-聚焦颜色
|
|
40
40
|
|
|
41
|
+
$color-checkbox_cardType-border-default: transparent; // 卡片复选框默认边框颜色
|
|
42
|
+
|
|
41
43
|
$size-checkbox_inner-shadow: $border-thickness-control; // 选框内描边宽度
|
|
42
44
|
$width-checkbox_inner: $width-icon-medium; // 选框对勾 icon 宽度
|
|
43
45
|
$height-checkbox_inner: 20px; // 选框对勾 icon 高度
|
|
@@ -66,4 +68,4 @@ $font-checkbox_cardType_addon-fontWeight: $font-weight-bold; // 卡片类型复
|
|
|
66
68
|
$font-checkbox_cardType_addon-lineHeight: 20px; // 卡片类型复选框的 addon 的文字行高
|
|
67
69
|
$font-checkbox_cardType_extra-size: $font-size-regular; // 卡片类型复选框的 extra 的文字大小
|
|
68
70
|
$font-checkbox_cardType_extra-fontWeight: normal; // 卡片类型复选框的 extra 的 fontWeight
|
|
69
|
-
$font-checkbox_cardType_extra-lineHeight: 20px; // 卡片类型复选框的 extra 的文字行高
|
|
71
|
+
$font-checkbox_cardType_extra-lineHeight: 20px; // 卡片类型复选框的 extra 的文字行高
|
package/lib/es/table/rtl.scss
CHANGED
|
@@ -5,6 +5,18 @@ $module: #{$prefix}-table;
|
|
|
5
5
|
direction: rtl;
|
|
6
6
|
text-align: right;
|
|
7
7
|
|
|
8
|
+
&-align-left {
|
|
9
|
+
.#{$module}-operate-wrapper {
|
|
10
|
+
justify-content: flex-end;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-align-right {
|
|
15
|
+
.#{$module}-operate-wrapper {
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
8
20
|
&-thead {
|
|
9
21
|
& > .#{$module}-row {
|
|
10
22
|
& > .#{$module}-row-head {
|
|
@@ -98,12 +110,12 @@ $module: #{$prefix}-table;
|
|
|
98
110
|
}
|
|
99
111
|
|
|
100
112
|
&-sorter {
|
|
101
|
-
margin-left:
|
|
113
|
+
margin-left: 0;
|
|
102
114
|
margin-right: $spacing-table_column_sorter-marginLeft;
|
|
103
115
|
}
|
|
104
116
|
|
|
105
117
|
&-filter {
|
|
106
|
-
margin-left:
|
|
118
|
+
margin-left: 0;
|
|
107
119
|
margin-right: $spacing-table_column_filter-marginLeft;
|
|
108
120
|
}
|
|
109
121
|
}
|
package/lib/es/table/table.css
CHANGED
|
@@ -508,6 +508,12 @@
|
|
|
508
508
|
direction: rtl;
|
|
509
509
|
text-align: right;
|
|
510
510
|
}
|
|
511
|
+
.semi-table-wrapper-rtl .semi-table-align-left .semi-table-operate-wrapper {
|
|
512
|
+
justify-content: flex-end;
|
|
513
|
+
}
|
|
514
|
+
.semi-table-wrapper-rtl .semi-table-align-right .semi-table-operate-wrapper {
|
|
515
|
+
justify-content: flex-start;
|
|
516
|
+
}
|
|
511
517
|
.semi-table-wrapper-rtl .semi-table-thead > .semi-table-row > .semi-table-row-head {
|
|
512
518
|
text-align: right;
|
|
513
519
|
}
|
|
@@ -563,11 +569,11 @@
|
|
|
563
569
|
margin-left: 0;
|
|
564
570
|
}
|
|
565
571
|
.semi-table-wrapper-rtl .semi-table .semi-table-column-sorter {
|
|
566
|
-
margin-left:
|
|
572
|
+
margin-left: 0;
|
|
567
573
|
margin-right: 4px;
|
|
568
574
|
}
|
|
569
575
|
.semi-table-wrapper-rtl .semi-table .semi-table-column-filter {
|
|
570
|
-
margin-left:
|
|
576
|
+
margin-left: 0;
|
|
571
577
|
margin-right: 4px;
|
|
572
578
|
}
|
|
573
579
|
.semi-table-wrapper-rtl .semi-table-bordered .semi-table-container {
|
|
@@ -207,6 +207,16 @@
|
|
|
207
207
|
.semi-tagInput-clearBtn-invisible {
|
|
208
208
|
visibility: hidden;
|
|
209
209
|
}
|
|
210
|
+
.semi-tagInput-inset-label {
|
|
211
|
+
margin-right: 12px;
|
|
212
|
+
font-weight: 600;
|
|
213
|
+
font-size: 14px;
|
|
214
|
+
line-height: 20px;
|
|
215
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
216
|
+
color: var(--semi-color-text-2);
|
|
217
|
+
flex-shrink: 0;
|
|
218
|
+
white-space: nowrap;
|
|
219
|
+
}
|
|
210
220
|
.semi-tagInput-prefix, .semi-tagInput-suffix {
|
|
211
221
|
display: flex;
|
|
212
222
|
justify-content: center;
|
|
@@ -227,6 +237,9 @@
|
|
|
227
237
|
.semi-tagInput-suffix-text {
|
|
228
238
|
color: var(--semi-color-text-2);
|
|
229
239
|
}
|
|
240
|
+
.semi-tagInput-with-prefix .semi-input {
|
|
241
|
+
padding-left: 0;
|
|
242
|
+
}
|
|
230
243
|
.semi-tagInput-tag-content-wrapper {
|
|
231
244
|
display: flex;
|
|
232
245
|
align-items: center;
|
|
@@ -255,6 +255,15 @@ $module: #{$prefix}-tagInput;
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
+
&-inset-label {
|
|
259
|
+
margin-right: $spacing-tagInput_insetLabel-marginRight;
|
|
260
|
+
font-weight: $font-tagInput_insetLabel-fontWeight;
|
|
261
|
+
@include font-size-regular;
|
|
262
|
+
color: $color-tagInput_prefix-text-default;
|
|
263
|
+
flex-shrink: 0;
|
|
264
|
+
white-space: nowrap;
|
|
265
|
+
}
|
|
266
|
+
|
|
258
267
|
&-prefix,
|
|
259
268
|
&-suffix {
|
|
260
269
|
@include all-center;
|
|
@@ -281,6 +290,12 @@ $module: #{$prefix}-tagInput;
|
|
|
281
290
|
}
|
|
282
291
|
}
|
|
283
292
|
|
|
293
|
+
&-with-prefix {
|
|
294
|
+
.#{$prefix}-input {
|
|
295
|
+
padding-left: 0;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
284
299
|
&-tag-content-wrapper {
|
|
285
300
|
display: flex;
|
|
286
301
|
align-items: center;
|
|
@@ -28,7 +28,7 @@ $color-tagInput_danger-border-hover: var(--semi-color-danger-light-hover); //
|
|
|
28
28
|
$color-tagInput_danger-bg-focus: var(--semi-color-danger-light-default); // 危险标签输入框背景颜色 - 选中
|
|
29
29
|
$color-tagInput_danger-border-focus: var(--semi-color-danger); // 危险标签输入框描边颜色 - 选中
|
|
30
30
|
$color-tagInput_sortable_item_over-bg: var(--semi-color-primary); // 拖拽经过的元素前竖线背景色
|
|
31
|
-
|
|
31
|
+
$color-tagInput_prefix-text-default: var(--semi-color-text-2); // 标签输入框 prefix 文字颜色
|
|
32
32
|
$color-tagInput_handler-icon-default: var(--semi-color-text-2); // 可拖拽的标签拖拽按钮颜色
|
|
33
33
|
|
|
34
34
|
$spacing-tagInput_small-Y: 1px; // 小尺寸标签输入框标签顶部外边距
|
|
@@ -37,6 +37,7 @@ $spacing-tagInput_large-Y: 3px; // 大尺寸标签输入框标签顶部外边距
|
|
|
37
37
|
$spacing-tagInput_wrapper_n_paddingX: $spacing-tight; //标签输入框标签容器水平内边距
|
|
38
38
|
$spacing-tagInput_drag_handler-marginRight: 4px; // 拖拽handler icon的右外边距
|
|
39
39
|
$spacing-tagInput_tag_icon_paddingLeft: 4px; // tag中有handler icon时tag的左内边距
|
|
40
|
+
$spacing-tagInput_insetLabel-marginRight: $spacing-base-tight; // Form容器中标签输入框内嵌Label的右边距
|
|
40
41
|
|
|
41
42
|
$height-tagInput-large: $height-control-large; // 大尺寸标签输入框高度
|
|
42
43
|
$height-tagInput-default: $height-control-default; // 默认尺寸标签输入框高度
|
|
@@ -54,3 +55,5 @@ $width-tagInput_sortable_item_over: 2px; // 拖拽经过的元素前竖线宽度
|
|
|
54
55
|
$radius-tagInput: var(--semi-border-radius-small); // 标签输入框圆角
|
|
55
56
|
|
|
56
57
|
$z-tagInput_drag_item_move: 2000 !default; // 标签输入框中正在拖拽元素的z-index
|
|
58
|
+
|
|
59
|
+
$font-tagInput_insetLabel-fontWeight: 600; // prefix 文字字重
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-foundation",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.58.0-beta.0",
|
|
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.
|
|
10
|
+
"@douyinfe/semi-animation": "2.58.0-beta.0",
|
|
11
11
|
"async-validator": "^3.5.0",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"date-fns": "^2.29.3",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"*.scss",
|
|
25
25
|
"*.css"
|
|
26
26
|
],
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "bd0c5bf8924d1e971746ba88f83c2c8857d307f7",
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
30
30
|
"@babel/preset-env": "^7.15.8",
|
package/table/rtl.scss
CHANGED
|
@@ -5,6 +5,18 @@ $module: #{$prefix}-table;
|
|
|
5
5
|
direction: rtl;
|
|
6
6
|
text-align: right;
|
|
7
7
|
|
|
8
|
+
&-align-left {
|
|
9
|
+
.#{$module}-operate-wrapper {
|
|
10
|
+
justify-content: flex-end;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-align-right {
|
|
15
|
+
.#{$module}-operate-wrapper {
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
8
20
|
&-thead {
|
|
9
21
|
& > .#{$module}-row {
|
|
10
22
|
& > .#{$module}-row-head {
|
|
@@ -98,12 +110,12 @@ $module: #{$prefix}-table;
|
|
|
98
110
|
}
|
|
99
111
|
|
|
100
112
|
&-sorter {
|
|
101
|
-
margin-left:
|
|
113
|
+
margin-left: 0;
|
|
102
114
|
margin-right: $spacing-table_column_sorter-marginLeft;
|
|
103
115
|
}
|
|
104
116
|
|
|
105
117
|
&-filter {
|
|
106
|
-
margin-left:
|
|
118
|
+
margin-left: 0;
|
|
107
119
|
margin-right: $spacing-table_column_filter-marginLeft;
|
|
108
120
|
}
|
|
109
121
|
}
|
package/tagInput/tagInput.scss
CHANGED
|
@@ -255,6 +255,15 @@ $module: #{$prefix}-tagInput;
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
+
&-inset-label {
|
|
259
|
+
margin-right: $spacing-tagInput_insetLabel-marginRight;
|
|
260
|
+
font-weight: $font-tagInput_insetLabel-fontWeight;
|
|
261
|
+
@include font-size-regular;
|
|
262
|
+
color: $color-tagInput_prefix-text-default;
|
|
263
|
+
flex-shrink: 0;
|
|
264
|
+
white-space: nowrap;
|
|
265
|
+
}
|
|
266
|
+
|
|
258
267
|
&-prefix,
|
|
259
268
|
&-suffix {
|
|
260
269
|
@include all-center;
|
|
@@ -281,6 +290,12 @@ $module: #{$prefix}-tagInput;
|
|
|
281
290
|
}
|
|
282
291
|
}
|
|
283
292
|
|
|
293
|
+
&-with-prefix {
|
|
294
|
+
.#{$prefix}-input {
|
|
295
|
+
padding-left: 0;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
284
299
|
&-tag-content-wrapper {
|
|
285
300
|
display: flex;
|
|
286
301
|
align-items: center;
|
package/tagInput/variables.scss
CHANGED
|
@@ -28,7 +28,7 @@ $color-tagInput_danger-border-hover: var(--semi-color-danger-light-hover); //
|
|
|
28
28
|
$color-tagInput_danger-bg-focus: var(--semi-color-danger-light-default); // 危险标签输入框背景颜色 - 选中
|
|
29
29
|
$color-tagInput_danger-border-focus: var(--semi-color-danger); // 危险标签输入框描边颜色 - 选中
|
|
30
30
|
$color-tagInput_sortable_item_over-bg: var(--semi-color-primary); // 拖拽经过的元素前竖线背景色
|
|
31
|
-
|
|
31
|
+
$color-tagInput_prefix-text-default: var(--semi-color-text-2); // 标签输入框 prefix 文字颜色
|
|
32
32
|
$color-tagInput_handler-icon-default: var(--semi-color-text-2); // 可拖拽的标签拖拽按钮颜色
|
|
33
33
|
|
|
34
34
|
$spacing-tagInput_small-Y: 1px; // 小尺寸标签输入框标签顶部外边距
|
|
@@ -37,6 +37,7 @@ $spacing-tagInput_large-Y: 3px; // 大尺寸标签输入框标签顶部外边距
|
|
|
37
37
|
$spacing-tagInput_wrapper_n_paddingX: $spacing-tight; //标签输入框标签容器水平内边距
|
|
38
38
|
$spacing-tagInput_drag_handler-marginRight: 4px; // 拖拽handler icon的右外边距
|
|
39
39
|
$spacing-tagInput_tag_icon_paddingLeft: 4px; // tag中有handler icon时tag的左内边距
|
|
40
|
+
$spacing-tagInput_insetLabel-marginRight: $spacing-base-tight; // Form容器中标签输入框内嵌Label的右边距
|
|
40
41
|
|
|
41
42
|
$height-tagInput-large: $height-control-large; // 大尺寸标签输入框高度
|
|
42
43
|
$height-tagInput-default: $height-control-default; // 默认尺寸标签输入框高度
|
|
@@ -54,3 +55,5 @@ $width-tagInput_sortable_item_over: 2px; // 拖拽经过的元素前竖线宽度
|
|
|
54
55
|
$radius-tagInput: var(--semi-border-radius-small); // 标签输入框圆角
|
|
55
56
|
|
|
56
57
|
$z-tagInput_drag_item_move: 2000 !default; // 标签输入框中正在拖拽元素的z-index
|
|
58
|
+
|
|
59
|
+
$font-tagInput_insetLabel-fontWeight: 600; // prefix 文字字重
|