@sheinx/theme 3.1.0-rc.2 → 3.1.0-rc.3
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/LICENSE +21 -0
- package/cjs/alert/alert.js +5 -5
- package/cjs/alert/token.js +5 -5
- package/cjs/alert/type.d.ts +5 -5
- package/cjs/breadcrumb/breadcrumb.js +6 -6
- package/cjs/breadcrumb/token.js +6 -6
- package/cjs/breadcrumb/type.d.ts +6 -6
- package/cjs/button/button.js +5 -5
- package/cjs/button/token.js +6 -6
- package/cjs/card/card.js +5 -5
- package/cjs/card/token.js +6 -6
- package/cjs/card/type.d.ts +5 -5
- package/cjs/card-group/card-group.js +1 -1
- package/cjs/card-group/token.js +1 -1
- package/cjs/card-group/type.d.ts +1 -1
- package/cjs/carousel/carousel.js +5 -5
- package/cjs/carousel/token.js +5 -5
- package/cjs/carousel/type.d.ts +5 -5
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +33 -34
- package/cjs/cascader/token.js +34 -35
- package/cjs/cascader/type.d.ts +33 -39
- package/cjs/cascader/type.d.ts.map +1 -1
- package/cjs/checkbox/checkbox.d.ts.map +1 -1
- package/cjs/checkbox/checkbox.js +8 -7
- package/cjs/checkbox/token.js +10 -7
- package/cjs/checkbox/type.d.ts +13 -7
- package/cjs/checkbox/type.d.ts.map +1 -1
- package/cjs/collapse/collapse.js +7 -7
- package/cjs/collapse/token.js +7 -7
- package/cjs/collapse/type.d.ts +7 -7
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +36 -49
- package/cjs/date-picker/token.js +36 -89
- package/cjs/date-picker/type.d.ts +36 -114
- package/cjs/date-picker/type.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +14 -14
- package/cjs/descriptions/token.js +14 -14
- package/cjs/descriptions/type.d.ts +14 -14
- package/cjs/divider/divider.js +4 -4
- package/cjs/divider/token.js +4 -4
- package/cjs/divider/type.d.ts +4 -4
- package/cjs/dropdown/dropdown.js +29 -29
- package/cjs/dropdown/token.js +29 -29
- package/cjs/dropdown/type.d.ts +29 -29
- package/cjs/editable-area/editable-area.js +1 -1
- package/cjs/editable-area/token.js +1 -1
- package/cjs/editable-area/type.d.ts +1 -1
- package/cjs/empty/empty.js +1 -1
- package/cjs/empty/token.js +1 -1
- package/cjs/empty/type.d.ts +1 -1
- package/cjs/form/form.js +7 -7
- package/cjs/form/token.js +7 -7
- package/cjs/form/type.d.ts +7 -7
- package/cjs/icon/icon.js +3 -3
- package/cjs/icon/token.js +3 -3
- package/cjs/icon/type.d.ts +3 -3
- package/cjs/image/image.js +2 -2
- package/cjs/image/token.js +2 -2
- package/cjs/image/type.d.ts +2 -2
- package/cjs/index.d.ts +3 -3
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +9 -9
- package/cjs/input/input.js +18 -18
- package/cjs/input/token.js +18 -18
- package/cjs/input/type.d.ts +18 -18
- package/cjs/list/list.js +8 -8
- package/cjs/list/token.js +8 -8
- package/cjs/list/type.d.ts +8 -8
- package/cjs/menu/menu.js +1 -1
- package/cjs/menu/token.js +1 -1
- package/cjs/menu/type.d.ts +1 -1
- package/cjs/message/message.js +1 -1
- package/cjs/message/token.js +1 -1
- package/cjs/message/type.d.ts +1 -1
- package/cjs/modal/modal.js +14 -14
- package/cjs/modal/token.js +14 -14
- package/cjs/modal/type.d.ts +14 -14
- package/cjs/pagination/pagination.js +4 -4
- package/cjs/pagination/token.js +4 -4
- package/cjs/pagination/type.d.ts +4 -4
- package/cjs/popover/popover.js +5 -5
- package/cjs/popover/token.js +5 -5
- package/cjs/popover/type.d.ts +5 -5
- package/cjs/progress/progress.js +5 -5
- package/cjs/progress/token.js +5 -5
- package/cjs/progress/type.d.ts +5 -5
- package/cjs/radio/radio.d.ts.map +1 -1
- package/cjs/radio/radio.js +9 -10
- package/cjs/radio/token.js +9 -12
- package/cjs/radio/type.d.ts +9 -15
- package/cjs/radio/type.d.ts.map +1 -1
- package/cjs/rate/rate.js +1 -1
- package/cjs/rate/token.js +1 -1
- package/cjs/rate/type.d.ts +1 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +38 -39
- package/cjs/select/token.js +39 -40
- package/cjs/select/type.d.ts +38 -44
- package/cjs/select/type.d.ts.map +1 -1
- package/cjs/slider/slider.js +5 -5
- package/cjs/slider/token.js +5 -5
- package/cjs/slider/type.d.ts +5 -5
- package/cjs/spin/spin.js +2 -2
- package/cjs/spin/token.js +2 -2
- package/cjs/spin/type.d.ts +2 -2
- package/cjs/steps/steps.d.ts.map +1 -1
- package/cjs/steps/steps.js +17 -20
- package/cjs/steps/token.js +21 -24
- package/cjs/steps/type.d.ts +17 -35
- package/cjs/steps/type.d.ts.map +1 -1
- package/cjs/sticky/sticky.js +1 -1
- package/cjs/sticky/token.js +1 -1
- package/cjs/sticky/type.d.ts +1 -1
- package/cjs/switch/switch.js +10 -10
- package/cjs/switch/token.js +10 -10
- package/cjs/switch/type.d.ts +10 -10
- package/cjs/table/table.js +8 -8
- package/cjs/table/token.js +8 -8
- package/cjs/table/type.d.ts +8 -8
- package/cjs/tabs/tabs.js +16 -16
- package/cjs/tabs/token.js +16 -16
- package/cjs/tabs/type.d.ts +16 -16
- package/cjs/tag/tag.js +14 -14
- package/cjs/tag/token.js +14 -14
- package/cjs/tag/type.d.ts +14 -14
- package/cjs/textarea/textarea.js +9 -9
- package/cjs/textarea/token.js +9 -9
- package/cjs/textarea/type.d.ts +9 -9
- package/cjs/token/figma.js +36 -96
- package/cjs/token/token.d.ts +2 -0
- package/cjs/token/token.d.ts.map +1 -1
- package/cjs/token/token.js +19 -18
- package/cjs/token/type.d.ts +42 -112
- package/cjs/token/type.d.ts.map +1 -1
- package/cjs/tooltip/token.js +3 -3
- package/cjs/tooltip/tooltip.js +3 -3
- package/cjs/tooltip/type.d.ts +3 -3
- package/cjs/transfer/token.js +4 -4
- package/cjs/transfer/transfer.js +4 -4
- package/cjs/transfer/type.d.ts +4 -4
- package/cjs/tree/token.js +7 -7
- package/cjs/tree/tree.js +7 -7
- package/cjs/tree/type.d.ts +7 -7
- package/cjs/tree-select/token.js +34 -35
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +33 -34
- package/cjs/tree-select/type.d.ts +33 -39
- package/cjs/tree-select/type.d.ts.map +1 -1
- package/cjs/upload/token.js +7 -7
- package/cjs/upload/type.d.ts +7 -7
- package/cjs/upload/upload.js +7 -7
- package/cjs/utils/css-var.d.ts +1 -1
- package/cjs/utils/css-var.d.ts.map +1 -1
- package/cjs/utils/css-var.js +1 -10
- package/esm/alert/alert.js +5 -5
- package/esm/alert/token.js +5 -5
- package/esm/alert/type.d.ts +5 -5
- package/esm/breadcrumb/breadcrumb.js +6 -6
- package/esm/breadcrumb/token.js +6 -6
- package/esm/breadcrumb/type.d.ts +6 -6
- package/esm/button/button.js +5 -5
- package/esm/button/token.js +6 -6
- package/esm/card/card.js +5 -5
- package/esm/card/token.js +6 -6
- package/esm/card/type.d.ts +5 -5
- package/esm/card-group/card-group.js +1 -1
- package/esm/card-group/token.js +1 -1
- package/esm/card-group/type.d.ts +1 -1
- package/esm/carousel/carousel.js +5 -5
- package/esm/carousel/token.js +5 -5
- package/esm/carousel/type.d.ts +5 -5
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +33 -34
- package/esm/cascader/token.js +34 -35
- package/esm/cascader/type.d.ts +33 -39
- package/esm/cascader/type.d.ts.map +1 -1
- package/esm/checkbox/checkbox.d.ts.map +1 -1
- package/esm/checkbox/checkbox.js +8 -7
- package/esm/checkbox/token.js +10 -7
- package/esm/checkbox/type.d.ts +13 -7
- package/esm/checkbox/type.d.ts.map +1 -1
- package/esm/collapse/collapse.js +7 -7
- package/esm/collapse/token.js +7 -7
- package/esm/collapse/type.d.ts +7 -7
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +36 -49
- package/esm/date-picker/token.js +36 -89
- package/esm/date-picker/type.d.ts +36 -114
- package/esm/date-picker/type.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +14 -14
- package/esm/descriptions/token.js +14 -14
- package/esm/descriptions/type.d.ts +14 -14
- package/esm/divider/divider.js +4 -4
- package/esm/divider/token.js +4 -4
- package/esm/divider/type.d.ts +4 -4
- package/esm/dropdown/dropdown.js +29 -29
- package/esm/dropdown/token.js +29 -29
- package/esm/dropdown/type.d.ts +29 -29
- package/esm/editable-area/editable-area.js +1 -1
- package/esm/editable-area/token.js +1 -1
- package/esm/editable-area/type.d.ts +1 -1
- package/esm/empty/empty.js +1 -1
- package/esm/empty/token.js +1 -1
- package/esm/empty/type.d.ts +1 -1
- package/esm/form/form.js +7 -7
- package/esm/form/token.js +7 -7
- package/esm/form/type.d.ts +7 -7
- package/esm/icon/icon.js +3 -3
- package/esm/icon/token.js +3 -3
- package/esm/icon/type.d.ts +3 -3
- package/esm/image/image.js +2 -2
- package/esm/image/token.js +2 -2
- package/esm/image/type.d.ts +2 -2
- package/esm/index.d.ts +3 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +4 -4
- package/esm/input/input.js +18 -18
- package/esm/input/token.js +18 -18
- package/esm/input/type.d.ts +18 -18
- package/esm/list/list.js +8 -8
- package/esm/list/token.js +8 -8
- package/esm/list/type.d.ts +8 -8
- package/esm/menu/menu.js +1 -1
- package/esm/menu/token.js +1 -1
- package/esm/menu/type.d.ts +1 -1
- package/esm/message/message.js +1 -1
- package/esm/message/token.js +1 -1
- package/esm/message/type.d.ts +1 -1
- package/esm/modal/modal.js +14 -14
- package/esm/modal/token.js +14 -14
- package/esm/modal/type.d.ts +14 -14
- package/esm/pagination/pagination.js +4 -4
- package/esm/pagination/token.js +4 -4
- package/esm/pagination/type.d.ts +4 -4
- package/esm/popover/popover.js +5 -5
- package/esm/popover/token.js +5 -5
- package/esm/popover/type.d.ts +5 -5
- package/esm/progress/progress.js +5 -5
- package/esm/progress/token.js +5 -5
- package/esm/progress/type.d.ts +5 -5
- package/esm/radio/radio.d.ts.map +1 -1
- package/esm/radio/radio.js +9 -10
- package/esm/radio/token.js +9 -12
- package/esm/radio/type.d.ts +9 -15
- package/esm/radio/type.d.ts.map +1 -1
- package/esm/rate/rate.js +1 -1
- package/esm/rate/token.js +1 -1
- package/esm/rate/type.d.ts +1 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +38 -39
- package/esm/select/token.js +39 -40
- package/esm/select/type.d.ts +38 -44
- package/esm/select/type.d.ts.map +1 -1
- package/esm/slider/slider.js +5 -5
- package/esm/slider/token.js +5 -5
- package/esm/slider/type.d.ts +5 -5
- package/esm/spin/spin.js +2 -2
- package/esm/spin/token.js +2 -2
- package/esm/spin/type.d.ts +2 -2
- package/esm/steps/steps.d.ts.map +1 -1
- package/esm/steps/steps.js +17 -20
- package/esm/steps/token.js +21 -24
- package/esm/steps/type.d.ts +17 -35
- package/esm/steps/type.d.ts.map +1 -1
- package/esm/sticky/sticky.js +1 -1
- package/esm/sticky/token.js +1 -1
- package/esm/sticky/type.d.ts +1 -1
- package/esm/switch/switch.js +10 -10
- package/esm/switch/token.js +10 -10
- package/esm/switch/type.d.ts +10 -10
- package/esm/table/table.js +8 -8
- package/esm/table/token.js +8 -8
- package/esm/table/type.d.ts +8 -8
- package/esm/tabs/tabs.js +16 -16
- package/esm/tabs/token.js +16 -16
- package/esm/tabs/type.d.ts +16 -16
- package/esm/tag/tag.js +14 -14
- package/esm/tag/token.js +14 -14
- package/esm/tag/type.d.ts +14 -14
- package/esm/textarea/textarea.js +9 -9
- package/esm/textarea/token.js +9 -9
- package/esm/textarea/type.d.ts +9 -9
- package/esm/token/figma.js +36 -96
- package/esm/token/token.d.ts +2 -0
- package/esm/token/token.d.ts.map +1 -1
- package/esm/token/token.js +19 -17
- package/esm/token/type.d.ts +42 -112
- package/esm/token/type.d.ts.map +1 -1
- package/esm/tooltip/token.js +3 -3
- package/esm/tooltip/tooltip.js +3 -3
- package/esm/tooltip/type.d.ts +3 -3
- package/esm/transfer/token.js +4 -4
- package/esm/transfer/transfer.js +4 -4
- package/esm/transfer/type.d.ts +4 -4
- package/esm/tree/token.js +7 -7
- package/esm/tree/tree.js +7 -7
- package/esm/tree/type.d.ts +7 -7
- package/esm/tree-select/token.js +34 -35
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +33 -34
- package/esm/tree-select/type.d.ts +33 -39
- package/esm/tree-select/type.d.ts.map +1 -1
- package/esm/upload/token.js +7 -7
- package/esm/upload/type.d.ts +7 -7
- package/esm/upload/upload.js +7 -7
- package/esm/utils/css-var.d.ts +1 -1
- package/esm/utils/css-var.d.ts.map +1 -1
- package/esm/utils/css-var.js +1 -10
- package/package.json +8 -3
package/cjs/modal/modal.js
CHANGED
|
@@ -10,31 +10,31 @@ exports.default = void 0;
|
|
|
10
10
|
var modalTokens = {
|
|
11
11
|
modalMaskBackground: 'rgba(2, 11, 24, 0.3)',
|
|
12
12
|
modalMaskLightBackground: 'rgba(2, 11, 24, 0.01)',
|
|
13
|
-
modalPanelPaddingY: '
|
|
14
|
-
modalPanelPaddingX: '
|
|
13
|
+
modalPanelPaddingY: 'Spacing-24',
|
|
14
|
+
modalPanelPaddingX: 'Spacing-24',
|
|
15
15
|
modalPanelBackground: 'Neutral-fill-1',
|
|
16
16
|
modalPanelShadow: 'Shadow-3',
|
|
17
17
|
modalPanelBorder: 'Neutral-border-1',
|
|
18
|
-
modalPanelGap: '
|
|
18
|
+
modalPanelGap: 'Spacing-16',
|
|
19
19
|
modalPanelRadius: 'Radius-4',
|
|
20
|
-
modalPanelFontSize: '14
|
|
21
|
-
modalHeaderIconMarginEnd: '
|
|
20
|
+
modalPanelFontSize: 'Font-14',
|
|
21
|
+
modalHeaderIconMarginEnd: 'Spacing-8',
|
|
22
22
|
modalHeaderIconMarginTop: 'Size-2',
|
|
23
23
|
modalHeaderIconSize: 'Size-8',
|
|
24
|
-
modalHeaderCloseMarginXStart: '
|
|
24
|
+
modalHeaderCloseMarginXStart: 'Spacing-16',
|
|
25
25
|
modalHeaderCloseSize: 'Size-8',
|
|
26
26
|
modalHeaderCloseTop: 'Size-2',
|
|
27
27
|
modalHeaderCloseColor: 'Neutral-text-4',
|
|
28
28
|
modalHeaderCloseBackgroundColor: 'Neutral-fill-2',
|
|
29
|
-
modalHeaderFontSize: '16
|
|
30
|
-
modalDrawerTitlePaddingY: '
|
|
31
|
-
modalDrawerTitlePaddingX: '
|
|
29
|
+
modalHeaderFontSize: 'Font-16',
|
|
30
|
+
modalDrawerTitlePaddingY: 'Spacing-12',
|
|
31
|
+
modalDrawerTitlePaddingX: 'Spacing-16',
|
|
32
32
|
modalDrawerTitleBackgroundColor: 'Neutral-fill-2',
|
|
33
|
-
modalDrawerBodyPaddingY: '
|
|
34
|
-
modalDrawerBodyPaddingX: '
|
|
35
|
-
modalDrawerFooterPaddingY: '
|
|
36
|
-
modalDrawerFooterPaddingX: '
|
|
33
|
+
modalDrawerBodyPaddingY: 'Spacing-16',
|
|
34
|
+
modalDrawerBodyPaddingX: 'Spacing-16',
|
|
35
|
+
modalDrawerFooterPaddingY: 'Spacing-16',
|
|
36
|
+
modalDrawerFooterPaddingX: 'Spacing-16',
|
|
37
37
|
modalDrawerCloseBackgroundColor: 'Neutral-fill-3',
|
|
38
|
-
modalFontSize: '14
|
|
38
|
+
modalFontSize: 'Font-14'
|
|
39
39
|
};
|
|
40
40
|
var _default = exports.default = modalTokens;
|
package/cjs/modal/token.js
CHANGED
|
@@ -35,7 +35,7 @@ var modalTokenDescription = {
|
|
|
35
35
|
*/
|
|
36
36
|
var modalTokenValue = {
|
|
37
37
|
font: {
|
|
38
|
-
size: '14
|
|
38
|
+
size: 'Font-14'
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
var modalTokenExtraValue = {
|
|
@@ -47,22 +47,22 @@ var modalTokenExtraValue = {
|
|
|
47
47
|
},
|
|
48
48
|
panel: {
|
|
49
49
|
padding: {
|
|
50
|
-
y: '
|
|
51
|
-
x: '
|
|
50
|
+
y: 'Spacing-24',
|
|
51
|
+
x: 'Spacing-24'
|
|
52
52
|
},
|
|
53
53
|
background: 'Neutral-fill-1',
|
|
54
54
|
shadow: 'Shadow-3',
|
|
55
55
|
border: 'Neutral-border-1',
|
|
56
|
-
gap: '
|
|
56
|
+
gap: 'Spacing-16',
|
|
57
57
|
radius: 'Radius-4',
|
|
58
58
|
font: {
|
|
59
|
-
size: '14
|
|
59
|
+
size: 'Font-14'
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
header: {
|
|
63
63
|
icon: {
|
|
64
64
|
margin: {
|
|
65
|
-
end: '
|
|
65
|
+
end: 'Spacing-8',
|
|
66
66
|
top: 'Size-2'
|
|
67
67
|
},
|
|
68
68
|
size: 'Size-8'
|
|
@@ -70,7 +70,7 @@ var modalTokenExtraValue = {
|
|
|
70
70
|
close: {
|
|
71
71
|
margin: {
|
|
72
72
|
x: {
|
|
73
|
-
start: '
|
|
73
|
+
start: 'Spacing-16'
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
size: 'Size-8',
|
|
@@ -81,14 +81,14 @@ var modalTokenExtraValue = {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
font: {
|
|
84
|
-
size: '16
|
|
84
|
+
size: 'Font-16'
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
drawer: {
|
|
88
88
|
title: {
|
|
89
89
|
padding: {
|
|
90
|
-
y: '
|
|
91
|
-
x: '
|
|
90
|
+
y: 'Spacing-12',
|
|
91
|
+
x: 'Spacing-16'
|
|
92
92
|
},
|
|
93
93
|
background: {
|
|
94
94
|
color: 'Neutral-fill-2'
|
|
@@ -96,14 +96,14 @@ var modalTokenExtraValue = {
|
|
|
96
96
|
},
|
|
97
97
|
body: {
|
|
98
98
|
padding: {
|
|
99
|
-
y: '
|
|
100
|
-
x: '
|
|
99
|
+
y: 'Spacing-16',
|
|
100
|
+
x: 'Spacing-16'
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
103
|
footer: {
|
|
104
104
|
padding: {
|
|
105
|
-
y: '
|
|
106
|
-
x: '
|
|
105
|
+
y: 'Spacing-16',
|
|
106
|
+
x: 'Spacing-16'
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
close: {
|
package/cjs/modal/type.d.ts
CHANGED
|
@@ -13,13 +13,13 @@ export interface ModalTokens {
|
|
|
13
13
|
modalMaskLightBackground: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
|
-
* @token
|
|
16
|
+
* @token Spacing-24
|
|
17
17
|
* @description 对话框面板内边距(垂直方向)
|
|
18
18
|
*/
|
|
19
19
|
modalPanelPaddingY: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @token
|
|
22
|
+
* @token Spacing-24
|
|
23
23
|
* @description 对话框面板内边距(水平方向)
|
|
24
24
|
*/
|
|
25
25
|
modalPanelPaddingX: string;
|
|
@@ -43,7 +43,7 @@ export interface ModalTokens {
|
|
|
43
43
|
modalPanelBorder: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @token
|
|
46
|
+
* @token Spacing-16
|
|
47
47
|
* @description 对话框面板间距
|
|
48
48
|
*/
|
|
49
49
|
modalPanelGap: string;
|
|
@@ -55,13 +55,13 @@ export interface ModalTokens {
|
|
|
55
55
|
modalPanelRadius: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @token 14
|
|
58
|
+
* @token Font-14
|
|
59
59
|
* @description 对话框面板字体字号
|
|
60
60
|
*/
|
|
61
61
|
modalPanelFontSize: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @token
|
|
64
|
+
* @token Spacing-8
|
|
65
65
|
* @description 对话框头部区域图标外边距(右侧)
|
|
66
66
|
*/
|
|
67
67
|
modalHeaderIconMarginEnd: string;
|
|
@@ -79,7 +79,7 @@ export interface ModalTokens {
|
|
|
79
79
|
modalHeaderIconSize: string;
|
|
80
80
|
/**
|
|
81
81
|
* @type {string}
|
|
82
|
-
* @token
|
|
82
|
+
* @token Spacing-16
|
|
83
83
|
* @description 对话框头部区域关闭icon的外边距(水平方向)(左侧)
|
|
84
84
|
*/
|
|
85
85
|
modalHeaderCloseMarginXStart: string;
|
|
@@ -109,19 +109,19 @@ export interface ModalTokens {
|
|
|
109
109
|
modalHeaderCloseBackgroundColor: string;
|
|
110
110
|
/**
|
|
111
111
|
* @type {string}
|
|
112
|
-
* @token 16
|
|
112
|
+
* @token Font-16
|
|
113
113
|
* @description 对话框头部区域字体字号
|
|
114
114
|
*/
|
|
115
115
|
modalHeaderFontSize: string;
|
|
116
116
|
/**
|
|
117
117
|
* @type {string}
|
|
118
|
-
* @token
|
|
118
|
+
* @token Spacing-12
|
|
119
119
|
* @description 对话框抽屉模式标题的内边距(垂直方向)
|
|
120
120
|
*/
|
|
121
121
|
modalDrawerTitlePaddingY: string;
|
|
122
122
|
/**
|
|
123
123
|
* @type {string}
|
|
124
|
-
* @token
|
|
124
|
+
* @token Spacing-16
|
|
125
125
|
* @description 对话框抽屉模式标题的内边距(水平方向)
|
|
126
126
|
*/
|
|
127
127
|
modalDrawerTitlePaddingX: string;
|
|
@@ -133,25 +133,25 @@ export interface ModalTokens {
|
|
|
133
133
|
modalDrawerTitleBackgroundColor: string;
|
|
134
134
|
/**
|
|
135
135
|
* @type {string}
|
|
136
|
-
* @token
|
|
136
|
+
* @token Spacing-16
|
|
137
137
|
* @description 对话框抽屉模式主区域内边距(垂直方向)
|
|
138
138
|
*/
|
|
139
139
|
modalDrawerBodyPaddingY: string;
|
|
140
140
|
/**
|
|
141
141
|
* @type {string}
|
|
142
|
-
* @token
|
|
142
|
+
* @token Spacing-16
|
|
143
143
|
* @description 对话框抽屉模式主区域内边距(水平方向)
|
|
144
144
|
*/
|
|
145
145
|
modalDrawerBodyPaddingX: string;
|
|
146
146
|
/**
|
|
147
147
|
* @type {string}
|
|
148
|
-
* @token
|
|
148
|
+
* @token Spacing-16
|
|
149
149
|
* @description 对话框抽屉模式底部区域内边距(垂直方向)
|
|
150
150
|
*/
|
|
151
151
|
modalDrawerFooterPaddingY: string;
|
|
152
152
|
/**
|
|
153
153
|
* @type {string}
|
|
154
|
-
* @token
|
|
154
|
+
* @token Spacing-16
|
|
155
155
|
* @description 对话框抽屉模式底部区域内边距(水平方向)
|
|
156
156
|
*/
|
|
157
157
|
modalDrawerFooterPaddingX: string;
|
|
@@ -163,7 +163,7 @@ export interface ModalTokens {
|
|
|
163
163
|
modalDrawerCloseBackgroundColor: string;
|
|
164
164
|
/**
|
|
165
165
|
* @type {string}
|
|
166
|
-
* @token 14
|
|
166
|
+
* @token Font-14
|
|
167
167
|
* @description 对话框字体字号
|
|
168
168
|
*/
|
|
169
169
|
modalFontSize: string;
|
|
@@ -8,10 +8,10 @@ exports.default = void 0;
|
|
|
8
8
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
9
9
|
|
|
10
10
|
var paginationTokens = {
|
|
11
|
-
paginationFontSize: '14
|
|
12
|
-
paginationSmallFontSize: '12
|
|
13
|
-
paginationLargeFontSize: '16
|
|
11
|
+
paginationFontSize: 'Font-14',
|
|
12
|
+
paginationSmallFontSize: 'Font-12',
|
|
13
|
+
paginationLargeFontSize: 'Font-16',
|
|
14
14
|
paginationFontColor: 'Neutral-text-5',
|
|
15
|
-
paginationNearlyMargin: '
|
|
15
|
+
paginationNearlyMargin: 'Spacing-8'
|
|
16
16
|
};
|
|
17
17
|
var _default = exports.default = paginationTokens;
|
package/cjs/pagination/token.js
CHANGED
|
@@ -22,21 +22,21 @@ var paginationTokenDescription = {
|
|
|
22
22
|
*/
|
|
23
23
|
var paginationTokenValue = {
|
|
24
24
|
font: {
|
|
25
|
-
size: '14
|
|
25
|
+
size: 'Font-14',
|
|
26
26
|
color: 'Neutral-text-5'
|
|
27
27
|
},
|
|
28
28
|
small: {
|
|
29
29
|
font: {
|
|
30
|
-
size: '12
|
|
30
|
+
size: 'Font-12'
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
large: {
|
|
34
34
|
font: {
|
|
35
|
-
size: '16
|
|
35
|
+
size: 'Font-16'
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
nearly: {
|
|
39
|
-
margin: '
|
|
39
|
+
margin: 'Spacing-8'
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
var paginationTokenExtraValue = {};
|
package/cjs/pagination/type.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export interface PaginationTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token 14
|
|
4
|
+
* @token Font-14
|
|
5
5
|
* @description 分页器字体字号
|
|
6
6
|
*/
|
|
7
7
|
paginationFontSize: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
|
-
* @token 12
|
|
10
|
+
* @token Font-12
|
|
11
11
|
* @description 分页器小尺寸字体字号
|
|
12
12
|
*/
|
|
13
13
|
paginationSmallFontSize: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
|
-
* @token 16
|
|
16
|
+
* @token Font-16
|
|
17
17
|
* @description 分页器大尺寸字体字号
|
|
18
18
|
*/
|
|
19
19
|
paginationLargeFontSize: string;
|
|
@@ -25,7 +25,7 @@ export interface PaginationTokens {
|
|
|
25
25
|
paginationFontColor: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @token
|
|
28
|
+
* @token Spacing-8
|
|
29
29
|
* @description 分页器相邻构件的外边距
|
|
30
30
|
*/
|
|
31
31
|
paginationNearlyMargin: string;
|
package/cjs/popover/popover.js
CHANGED
|
@@ -8,9 +8,9 @@ exports.default = void 0;
|
|
|
8
8
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
9
9
|
|
|
10
10
|
var popoverTokens = {
|
|
11
|
-
popoverFontSize: '14
|
|
12
|
-
popoverPaddingX: '
|
|
13
|
-
popoverPaddingY: '
|
|
11
|
+
popoverFontSize: 'Font-14',
|
|
12
|
+
popoverPaddingX: 'Spacing-8',
|
|
13
|
+
popoverPaddingY: 'Spacing-8',
|
|
14
14
|
popoverRadius: 'Radius-4',
|
|
15
15
|
popoverBorderWidth: 'Border-1',
|
|
16
16
|
popoverFontColor: 'Neutral-text-5',
|
|
@@ -28,8 +28,8 @@ var popoverTokens = {
|
|
|
28
28
|
popoverErrorFontColor: 'Danger-7',
|
|
29
29
|
popoverErrorBackgroundColor: 'Danger-1',
|
|
30
30
|
popoverErrorBorderColor: 'Danger-1',
|
|
31
|
-
popoverConfirmPaddingX: '
|
|
32
|
-
popoverConfirmPaddingY: '
|
|
31
|
+
popoverConfirmPaddingX: 'Spacing-16',
|
|
32
|
+
popoverConfirmPaddingY: 'Spacing-16',
|
|
33
33
|
popoverConfirmBackgroundColor: 'transparent'
|
|
34
34
|
};
|
|
35
35
|
var _default = exports.default = popoverTokens;
|
package/cjs/popover/token.js
CHANGED
|
@@ -26,12 +26,12 @@ var popoverTokenDescription = {
|
|
|
26
26
|
*/
|
|
27
27
|
var popoverTokenValue = {
|
|
28
28
|
font: {
|
|
29
|
-
size: '14
|
|
29
|
+
size: 'Font-14',
|
|
30
30
|
color: 'Neutral-text-5'
|
|
31
31
|
},
|
|
32
32
|
padding: {
|
|
33
|
-
x: '
|
|
34
|
-
y: '
|
|
33
|
+
x: 'Spacing-8',
|
|
34
|
+
y: 'Spacing-8'
|
|
35
35
|
},
|
|
36
36
|
radius: 'Radius-4',
|
|
37
37
|
border: {
|
|
@@ -107,8 +107,8 @@ var popoverTokenValue = {
|
|
|
107
107
|
size: ''
|
|
108
108
|
},
|
|
109
109
|
padding: {
|
|
110
|
-
x: '
|
|
111
|
-
y: '
|
|
110
|
+
x: 'Spacing-16',
|
|
111
|
+
y: 'Spacing-16'
|
|
112
112
|
},
|
|
113
113
|
background: {
|
|
114
114
|
color: 'transparent'
|
package/cjs/popover/type.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export interface PopoverTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token 14
|
|
4
|
+
* @token Font-14
|
|
5
5
|
* @description 气泡字体字号
|
|
6
6
|
*/
|
|
7
7
|
popoverFontSize: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
|
-
* @token
|
|
10
|
+
* @token Spacing-8
|
|
11
11
|
* @description 气泡内边距(水平方向)
|
|
12
12
|
*/
|
|
13
13
|
popoverPaddingX: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
|
-
* @token
|
|
16
|
+
* @token Spacing-8
|
|
17
17
|
* @description 气泡内边距(垂直方向)
|
|
18
18
|
*/
|
|
19
19
|
popoverPaddingY: string;
|
|
@@ -121,13 +121,13 @@ export interface PopoverTokens {
|
|
|
121
121
|
popoverErrorBorderColor: string;
|
|
122
122
|
/**
|
|
123
123
|
* @type {string}
|
|
124
|
-
* @token
|
|
124
|
+
* @token Spacing-16
|
|
125
125
|
* @description 气泡确认内边距(水平方向)
|
|
126
126
|
*/
|
|
127
127
|
popoverConfirmPaddingX: string;
|
|
128
128
|
/**
|
|
129
129
|
* @type {string}
|
|
130
|
-
* @token
|
|
130
|
+
* @token Spacing-16
|
|
131
131
|
* @description 气泡确认内边距(垂直方向)
|
|
132
132
|
*/
|
|
133
133
|
popoverConfirmPaddingY: string;
|
package/cjs/progress/progress.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
9
9
|
|
|
10
10
|
var progressTokens = {
|
|
11
|
-
progressFontSize: '14
|
|
11
|
+
progressFontSize: 'Font-14',
|
|
12
12
|
progressFontColor: 'Neutral-text-4',
|
|
13
13
|
progressBackground: 'Neutral-fill-3',
|
|
14
14
|
progressInfoFrontBackgroundColor: 'Brand-6',
|
|
@@ -16,12 +16,12 @@ var progressTokens = {
|
|
|
16
16
|
progressSuccessFrontBackgroundColor: 'Success-6',
|
|
17
17
|
progressDangerFrontBackgroundColor: 'Danger-6',
|
|
18
18
|
progressLineHeight: 'Size-3',
|
|
19
|
-
progressLineGap: '
|
|
19
|
+
progressLineGap: 'Spacing-8',
|
|
20
20
|
progressLineInnerHeight: 'Size-10',
|
|
21
|
-
progressLineInnerGap: '
|
|
22
|
-
progressLineInnerPaddingX: '
|
|
21
|
+
progressLineInnerGap: 'Spacing-8',
|
|
22
|
+
progressLineInnerPaddingX: 'Spacing-8',
|
|
23
23
|
progressLineInnerFontColor: 'Neutral-text-1',
|
|
24
|
-
progressLineInnerFontSize: '12
|
|
24
|
+
progressLineInnerFontSize: 'Font-12',
|
|
25
25
|
progressLineInnerRightFontColor: 'Neutral-text-5',
|
|
26
26
|
progressLineIconSize: 'Size-7',
|
|
27
27
|
progressLineBackgroundColor: 'Neutral-fill-9',
|
package/cjs/progress/token.js
CHANGED
|
@@ -27,7 +27,7 @@ var progressTokenDescription = {
|
|
|
27
27
|
var progressTokenValue = {};
|
|
28
28
|
var progressTokenExtraValue = {
|
|
29
29
|
font: {
|
|
30
|
-
size: '14
|
|
30
|
+
size: 'Font-14',
|
|
31
31
|
color: 'Neutral-text-4'
|
|
32
32
|
},
|
|
33
33
|
background: 'Neutral-fill-3',
|
|
@@ -61,16 +61,16 @@ var progressTokenExtraValue = {
|
|
|
61
61
|
},
|
|
62
62
|
line: {
|
|
63
63
|
height: 'Size-3',
|
|
64
|
-
gap: '
|
|
64
|
+
gap: 'Spacing-8',
|
|
65
65
|
inner: {
|
|
66
66
|
height: 'Size-10',
|
|
67
|
-
gap: '
|
|
67
|
+
gap: 'Spacing-8',
|
|
68
68
|
padding: {
|
|
69
|
-
x: '
|
|
69
|
+
x: 'Spacing-8'
|
|
70
70
|
},
|
|
71
71
|
font: {
|
|
72
72
|
color: 'Neutral-text-1',
|
|
73
|
-
size: '12
|
|
73
|
+
size: 'Font-12'
|
|
74
74
|
},
|
|
75
75
|
right: {
|
|
76
76
|
font: {
|
package/cjs/progress/type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface ProgressTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token 14
|
|
4
|
+
* @token Font-14
|
|
5
5
|
* @description 进度条字体字号
|
|
6
6
|
*/
|
|
7
7
|
progressFontSize: string;
|
|
@@ -49,7 +49,7 @@ export interface ProgressTokens {
|
|
|
49
49
|
progressLineHeight: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
|
-
* @token
|
|
52
|
+
* @token Spacing-8
|
|
53
53
|
* @description 进度条行间距
|
|
54
54
|
*/
|
|
55
55
|
progressLineGap: string;
|
|
@@ -61,13 +61,13 @@ export interface ProgressTokens {
|
|
|
61
61
|
progressLineInnerHeight: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @token
|
|
64
|
+
* @token Spacing-8
|
|
65
65
|
* @description 进度条行内嵌文案模式间距
|
|
66
66
|
*/
|
|
67
67
|
progressLineInnerGap: string;
|
|
68
68
|
/**
|
|
69
69
|
* @type {string}
|
|
70
|
-
* @token
|
|
70
|
+
* @token Spacing-8
|
|
71
71
|
* @description 进度条行内嵌文案模式内边距(水平方向)
|
|
72
72
|
*/
|
|
73
73
|
progressLineInnerPaddingX: string;
|
|
@@ -79,7 +79,7 @@ export interface ProgressTokens {
|
|
|
79
79
|
progressLineInnerFontColor: string;
|
|
80
80
|
/**
|
|
81
81
|
* @type {string}
|
|
82
|
-
* @token 12
|
|
82
|
+
* @token Font-12
|
|
83
83
|
* @description 进度条行内嵌文案模式字体字号
|
|
84
84
|
*/
|
|
85
85
|
progressLineInnerFontSize: string;
|
package/cjs/radio/radio.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["radio.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["radio.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WAgClB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/radio/radio.js
CHANGED
|
@@ -8,10 +8,10 @@ exports.default = void 0;
|
|
|
8
8
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
9
9
|
|
|
10
10
|
var radioTokens = {
|
|
11
|
-
radioGap: '
|
|
12
|
-
radioBlockGap: '
|
|
11
|
+
radioGap: 'Spacing-24',
|
|
12
|
+
radioBlockGap: 'Spacing-12',
|
|
13
13
|
radioIconWidth: 'Size-7',
|
|
14
|
-
radioIconGap: '
|
|
14
|
+
radioIconGap: 'Spacing-8',
|
|
15
15
|
radioIconBorderWidth: 'Border-2',
|
|
16
16
|
radioIconInnerSize: 'Size-3',
|
|
17
17
|
radioIconBackgroundColor: 'Neutral-fill-1',
|
|
@@ -26,19 +26,18 @@ var radioTokens = {
|
|
|
26
26
|
radioIconCheckedDisabledColor: 'Brand-3',
|
|
27
27
|
radioIconWrapperFill: 'Neutral-fill-2',
|
|
28
28
|
radioIconWrapperDark: 'Neutral-fill-3',
|
|
29
|
-
radioPaddingY: '
|
|
29
|
+
radioPaddingY: 'Spacing-4',
|
|
30
30
|
radioSmallIconWidth: 'Size-6',
|
|
31
31
|
radioSmallIconBorderWidth: 'Border-1',
|
|
32
32
|
radioSmallIconInnerSize: 'Size-3',
|
|
33
|
-
radioSmallLabelFontSize: '12
|
|
34
|
-
radioSmallPaddingY: '
|
|
33
|
+
radioSmallLabelFontSize: 'Font-12',
|
|
34
|
+
radioSmallPaddingY: 'Spacing-1',
|
|
35
35
|
radioLargeIconWidth: 'Size-8',
|
|
36
36
|
radioLargeIconBorderWidth: 'Border-2',
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
radioLargePaddingY: 'Padding-7',
|
|
37
|
+
radioLargeLabelFontSize: 'Font-16',
|
|
38
|
+
radioLargePaddingY: 'Spacing-7',
|
|
40
39
|
radioLabelFontColor: 'Neutral-text-5',
|
|
41
|
-
radioLabelFontSize: '14
|
|
40
|
+
radioLabelFontSize: 'Font-14',
|
|
42
41
|
radioLabelDisabledFontColor: 'Neutral-text-2'
|
|
43
42
|
};
|
|
44
43
|
var _default = exports.default = radioTokens;
|
package/cjs/radio/token.js
CHANGED
|
@@ -30,13 +30,13 @@ var radioTokenDescription = {
|
|
|
30
30
|
*/
|
|
31
31
|
var radioTokenValue = {};
|
|
32
32
|
var radioTokenExtraValue = {
|
|
33
|
-
gap: '
|
|
33
|
+
gap: 'Spacing-24',
|
|
34
34
|
block: {
|
|
35
|
-
gap: '
|
|
35
|
+
gap: 'Spacing-12'
|
|
36
36
|
},
|
|
37
37
|
icon: {
|
|
38
38
|
width: 'Size-7',
|
|
39
|
-
gap: '
|
|
39
|
+
gap: 'Spacing-8',
|
|
40
40
|
border: {
|
|
41
41
|
width: 'Border-2'
|
|
42
42
|
},
|
|
@@ -77,7 +77,7 @@ var radioTokenExtraValue = {
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
padding: {
|
|
80
|
-
y: '
|
|
80
|
+
y: 'Spacing-4'
|
|
81
81
|
},
|
|
82
82
|
small: {
|
|
83
83
|
icon: {
|
|
@@ -92,11 +92,11 @@ var radioTokenExtraValue = {
|
|
|
92
92
|
},
|
|
93
93
|
label: {
|
|
94
94
|
font: {
|
|
95
|
-
size: '12
|
|
95
|
+
size: 'Font-12'
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
padding: {
|
|
99
|
-
y: '
|
|
99
|
+
y: 'Spacing-1'
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
large: {
|
|
@@ -105,24 +105,21 @@ var radioTokenExtraValue = {
|
|
|
105
105
|
gap: '',
|
|
106
106
|
border: {
|
|
107
107
|
width: 'Border-2'
|
|
108
|
-
},
|
|
109
|
-
inner: {
|
|
110
|
-
size: 'Size-3.5'
|
|
111
108
|
}
|
|
112
109
|
},
|
|
113
110
|
label: {
|
|
114
111
|
font: {
|
|
115
|
-
size: '16
|
|
112
|
+
size: 'Font-16'
|
|
116
113
|
}
|
|
117
114
|
},
|
|
118
115
|
padding: {
|
|
119
|
-
y: '
|
|
116
|
+
y: 'Spacing-7'
|
|
120
117
|
}
|
|
121
118
|
},
|
|
122
119
|
label: {
|
|
123
120
|
font: {
|
|
124
121
|
color: 'Neutral-text-5',
|
|
125
|
-
size: '14
|
|
122
|
+
size: 'Font-14'
|
|
126
123
|
},
|
|
127
124
|
disabled: {
|
|
128
125
|
font: {
|