@sheinx/theme 3.1.0-rc.1 → 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 +16 -16
- package/cjs/button/token.js +15 -15
- package/cjs/button/type.d.ts +21 -21
- 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 +16 -16
- package/esm/button/token.js +15 -15
- package/esm/button/type.d.ts +21 -21
- 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
|
@@ -30,18 +30,18 @@ var descriptionsTokenValue = {
|
|
|
30
30
|
title: {
|
|
31
31
|
padding: {
|
|
32
32
|
top: '',
|
|
33
|
-
bottom: '
|
|
33
|
+
bottom: 'Spacing-12',
|
|
34
34
|
left: '',
|
|
35
35
|
right: ''
|
|
36
36
|
},
|
|
37
37
|
small: {
|
|
38
|
-
size: '14
|
|
38
|
+
size: 'Font-14'
|
|
39
39
|
},
|
|
40
40
|
default: {
|
|
41
|
-
size: '16
|
|
41
|
+
size: 'Font-16'
|
|
42
42
|
},
|
|
43
43
|
large: {
|
|
44
|
-
size: '18
|
|
44
|
+
size: 'Font-18'
|
|
45
45
|
},
|
|
46
46
|
color: 'Neutral-text-5',
|
|
47
47
|
font: {
|
|
@@ -52,16 +52,16 @@ var descriptionsTokenValue = {
|
|
|
52
52
|
label: {
|
|
53
53
|
padding: {
|
|
54
54
|
top: '',
|
|
55
|
-
bottom: '
|
|
55
|
+
bottom: 'Spacing-12',
|
|
56
56
|
left: '',
|
|
57
|
-
right: '
|
|
57
|
+
right: 'Spacing-8'
|
|
58
58
|
},
|
|
59
59
|
color: 'Neutral-text-4'
|
|
60
60
|
},
|
|
61
61
|
value: {
|
|
62
62
|
padding: {
|
|
63
63
|
top: '',
|
|
64
|
-
bottom: '
|
|
64
|
+
bottom: 'Spacing-12',
|
|
65
65
|
left: '',
|
|
66
66
|
right: ''
|
|
67
67
|
},
|
|
@@ -91,19 +91,19 @@ var descriptionsTokenValue = {
|
|
|
91
91
|
},
|
|
92
92
|
padding: {
|
|
93
93
|
size: '',
|
|
94
|
-
x: '
|
|
95
|
-
y: '
|
|
94
|
+
x: 'Spacing-8',
|
|
95
|
+
y: 'Spacing-12'
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
font: {
|
|
99
99
|
small: {
|
|
100
|
-
size: '12
|
|
100
|
+
size: 'Font-12'
|
|
101
101
|
},
|
|
102
102
|
default: {
|
|
103
|
-
size: '14
|
|
103
|
+
size: 'Font-14'
|
|
104
104
|
},
|
|
105
105
|
large: {
|
|
106
|
-
size: '16
|
|
106
|
+
size: 'Font-16'
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
extra: {
|
|
@@ -115,8 +115,8 @@ var descriptionsTokenValue = {
|
|
|
115
115
|
inline: {
|
|
116
116
|
border: {
|
|
117
117
|
padding: {
|
|
118
|
-
x: '
|
|
119
|
-
y: '
|
|
118
|
+
x: 'Spacing-8',
|
|
119
|
+
y: 'Spacing-12'
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
export interface DescriptionsTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token
|
|
4
|
+
* @token Spacing-12
|
|
5
5
|
* @description 描述列表标题模式内边距底部
|
|
6
6
|
*/
|
|
7
7
|
descriptionsTitlePaddingBottom: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
|
-
* @token
|
|
10
|
+
* @token Spacing-12
|
|
11
11
|
* @description 描述列表标签的内边距底部
|
|
12
12
|
*/
|
|
13
13
|
descriptionsLabelPaddingBottom: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
|
-
* @token
|
|
16
|
+
* @token Spacing-8
|
|
17
17
|
* @description 描述列表标签的内边距右部
|
|
18
18
|
*/
|
|
19
19
|
descriptionsLabelPaddingRight: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @token
|
|
22
|
+
* @token Spacing-12
|
|
23
23
|
* @description 描述列表值的内边距底部
|
|
24
24
|
*/
|
|
25
25
|
descriptionsValuePaddingBottom: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @token 14
|
|
28
|
+
* @token Font-14
|
|
29
29
|
* @description 描述列表标题模式小尺寸字号
|
|
30
30
|
*/
|
|
31
31
|
descriptionsTitleSmallSize: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @token 16
|
|
34
|
+
* @token Font-16
|
|
35
35
|
* @description 描述列表标题模式默认尺寸字号
|
|
36
36
|
*/
|
|
37
37
|
descriptionsTitleDefaultSize: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @token 18
|
|
40
|
+
* @token Font-18
|
|
41
41
|
* @description 描述列表标题模式大尺寸字号
|
|
42
42
|
*/
|
|
43
43
|
descriptionsTitleLargeSize: string;
|
|
@@ -49,19 +49,19 @@ export interface DescriptionsTokens {
|
|
|
49
49
|
descriptionsBorderDefaultSize: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
|
-
* @token 12
|
|
52
|
+
* @token Font-12
|
|
53
53
|
* @description 描述列表字体小尺寸字号
|
|
54
54
|
*/
|
|
55
55
|
descriptionsFontSmallSize: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @token 14
|
|
58
|
+
* @token Font-14
|
|
59
59
|
* @description 描述列表字体默认尺寸字号
|
|
60
60
|
*/
|
|
61
61
|
descriptionsFontDefaultSize: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @token 16
|
|
64
|
+
* @token Font-16
|
|
65
65
|
* @description 描述列表字体大尺寸字号
|
|
66
66
|
*/
|
|
67
67
|
descriptionsFontLargeSize: string;
|
|
@@ -127,25 +127,25 @@ export interface DescriptionsTokens {
|
|
|
127
127
|
descriptionsBorderBottomSize: string;
|
|
128
128
|
/**
|
|
129
129
|
* @type {string}
|
|
130
|
-
* @token
|
|
130
|
+
* @token Spacing-8
|
|
131
131
|
* @description 描述列表边框内边距(水平方向)
|
|
132
132
|
*/
|
|
133
133
|
descriptionsBorderPaddingX: string;
|
|
134
134
|
/**
|
|
135
135
|
* @type {string}
|
|
136
|
-
* @token
|
|
136
|
+
* @token Spacing-12
|
|
137
137
|
* @description 描述列表边框内边距(垂直方向)
|
|
138
138
|
*/
|
|
139
139
|
descriptionsBorderPaddingY: string;
|
|
140
140
|
/**
|
|
141
141
|
* @type {string}
|
|
142
|
-
* @token
|
|
142
|
+
* @token Spacing-8
|
|
143
143
|
* @description 描述列表内联边框内边距(水平方向)
|
|
144
144
|
*/
|
|
145
145
|
descriptionsInlineBorderPaddingX: string;
|
|
146
146
|
/**
|
|
147
147
|
* @type {string}
|
|
148
|
-
* @token
|
|
148
|
+
* @token Spacing-12
|
|
149
149
|
* @description 描述列表内联边框内边距(垂直方向)
|
|
150
150
|
*/
|
|
151
151
|
descriptionsInlineBorderPaddingY: string;
|
package/cjs/divider/divider.js
CHANGED
|
@@ -8,13 +8,13 @@ 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 dividerTokens = {
|
|
11
|
-
dividerFontSize: '12
|
|
11
|
+
dividerFontSize: 'Font-12',
|
|
12
12
|
dividerFontColor: 'Neutral-text-5',
|
|
13
13
|
dividerBorderColor: 'Neutral-border-1',
|
|
14
14
|
dividerBorderWidth: 'Border-1',
|
|
15
|
-
dividerHorizontalMarginY: '
|
|
16
|
-
dividerHorizontalTextMarginY: '
|
|
17
|
-
dividerVerticalMarginX: '
|
|
15
|
+
dividerHorizontalMarginY: 'Spacing-24',
|
|
16
|
+
dividerHorizontalTextMarginY: 'Spacing-16',
|
|
17
|
+
dividerVerticalMarginX: 'Spacing-12',
|
|
18
18
|
dividerTextPaddingX: '1em'
|
|
19
19
|
};
|
|
20
20
|
var _default = exports.default = dividerTokens;
|
package/cjs/divider/token.js
CHANGED
|
@@ -25,7 +25,7 @@ var dividerTokenDescription = {
|
|
|
25
25
|
var dividerTokenValue = {};
|
|
26
26
|
var dividerTokenExtraValue = {
|
|
27
27
|
font: {
|
|
28
|
-
size: '12
|
|
28
|
+
size: 'Font-12',
|
|
29
29
|
color: 'Neutral-text-5'
|
|
30
30
|
},
|
|
31
31
|
border: {
|
|
@@ -34,17 +34,17 @@ var dividerTokenExtraValue = {
|
|
|
34
34
|
},
|
|
35
35
|
horizontal: {
|
|
36
36
|
margin: {
|
|
37
|
-
y: '
|
|
37
|
+
y: 'Spacing-24'
|
|
38
38
|
},
|
|
39
39
|
text: {
|
|
40
40
|
margin: {
|
|
41
|
-
y: '
|
|
41
|
+
y: 'Spacing-16'
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
vertical: {
|
|
46
46
|
margin: {
|
|
47
|
-
x: '
|
|
47
|
+
x: 'Spacing-12'
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
text: {
|
package/cjs/divider/type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface DividerTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token 12
|
|
4
|
+
* @token Font-12
|
|
5
5
|
* @description 分割线字体字号
|
|
6
6
|
*/
|
|
7
7
|
dividerFontSize: string;
|
|
@@ -25,19 +25,19 @@ export interface DividerTokens {
|
|
|
25
25
|
dividerBorderWidth: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @token
|
|
28
|
+
* @token Spacing-24
|
|
29
29
|
* @description 分割线水平模式外边距(垂直方向)
|
|
30
30
|
*/
|
|
31
31
|
dividerHorizontalMarginY: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @token
|
|
34
|
+
* @token Spacing-16
|
|
35
35
|
* @description 分割线水平模式带文字外边距(垂直方向)
|
|
36
36
|
*/
|
|
37
37
|
dividerHorizontalTextMarginY: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @token
|
|
40
|
+
* @token Spacing-12
|
|
41
41
|
* @description 分割线垂直模式外边距(水平方向)
|
|
42
42
|
*/
|
|
43
43
|
dividerVerticalMarginX: string;
|
package/cjs/dropdown/dropdown.js
CHANGED
|
@@ -8,30 +8,30 @@ 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 dropdownTokens = {
|
|
11
|
-
dropdownCaretMarginLeft: '
|
|
11
|
+
dropdownCaretMarginLeft: 'Spacing-4',
|
|
12
12
|
dropdownListBorderRadius: 'Radius-4',
|
|
13
|
-
dropdownListPaddingX: '
|
|
14
|
-
dropdownListPaddingY: '
|
|
15
|
-
dropdownListFontSize: '14
|
|
13
|
+
dropdownListPaddingX: 'Spacing-4',
|
|
14
|
+
dropdownListPaddingY: 'Spacing-4',
|
|
15
|
+
dropdownListFontSize: 'Font-14',
|
|
16
16
|
dropdownListSmallBorderRadius: 'Radius-4',
|
|
17
|
-
dropdownListSmallPaddingX: '
|
|
18
|
-
dropdownListSmallPaddingY: '
|
|
19
|
-
dropdownListSmallFontSize: '12
|
|
17
|
+
dropdownListSmallPaddingX: 'Spacing-4',
|
|
18
|
+
dropdownListSmallPaddingY: 'Spacing-4',
|
|
19
|
+
dropdownListSmallFontSize: 'Font-12',
|
|
20
20
|
dropdownListLargeBorderRadius: 'Radius-4',
|
|
21
|
-
dropdownListLargePaddingX: '
|
|
22
|
-
dropdownListLargePaddingY: '
|
|
23
|
-
dropdownListLargeFontSize: '16
|
|
21
|
+
dropdownListLargePaddingX: 'Spacing-4',
|
|
22
|
+
dropdownListLargePaddingY: 'Spacing-4',
|
|
23
|
+
dropdownListLargeFontSize: 'Font-16',
|
|
24
24
|
dropdownListBackgroundColor: 'Neutral-fill-1',
|
|
25
25
|
dropdownListBorderColor: 'Neutral-border-1',
|
|
26
26
|
dropdownListFontColor: 'Neutral-text-5',
|
|
27
27
|
dropdownListBoxShadow: 'Shadow-2',
|
|
28
28
|
dropdownListBorderWidth: 'Border-1',
|
|
29
|
-
dropdownOptionPaddingX: '
|
|
30
|
-
dropdownOptionPaddingY: '
|
|
31
|
-
dropdownOptionSmallPaddingX: '
|
|
32
|
-
dropdownOptionSmallPaddingY: '
|
|
33
|
-
dropdownOptionLargePaddingX: '
|
|
34
|
-
dropdownOptionLargePaddingY: '
|
|
29
|
+
dropdownOptionPaddingX: 'Spacing-8',
|
|
30
|
+
dropdownOptionPaddingY: 'Spacing-5',
|
|
31
|
+
dropdownOptionSmallPaddingX: 'Spacing-8',
|
|
32
|
+
dropdownOptionSmallPaddingY: 'Spacing-2',
|
|
33
|
+
dropdownOptionLargePaddingX: 'Spacing-12',
|
|
34
|
+
dropdownOptionLargePaddingY: 'Spacing-8',
|
|
35
35
|
dropdownOptionBackgroundColor: 'Neutral-fill-1',
|
|
36
36
|
dropdownOptionFontColor: 'Neutral-text-5',
|
|
37
37
|
dropdownOptionHoverBackgroundColor: 'Neutral-fill-2',
|
|
@@ -42,21 +42,21 @@ var dropdownTokens = {
|
|
|
42
42
|
dropdownOptionSelectFontColor: 'Brand-6',
|
|
43
43
|
dropdownOptionDisabledBackgroundColor: 'Neutral-fill-1',
|
|
44
44
|
dropdownOptionDisabledFontColor: 'Neutral-text-2',
|
|
45
|
-
dropdownColumnPaddingX: '
|
|
46
|
-
dropdownColumnPaddingY: '
|
|
47
|
-
dropdownOptionGroupPaddingX: '
|
|
48
|
-
dropdownOptionGroupPaddingTop: '
|
|
49
|
-
dropdownOptionGroupPaddingBottom: '
|
|
50
|
-
dropdownOptionGroupFontSize: '12
|
|
45
|
+
dropdownColumnPaddingX: 'Spacing-4',
|
|
46
|
+
dropdownColumnPaddingY: 'Spacing-4',
|
|
47
|
+
dropdownOptionGroupPaddingX: 'Spacing-8',
|
|
48
|
+
dropdownOptionGroupPaddingTop: 'Spacing-10',
|
|
49
|
+
dropdownOptionGroupPaddingBottom: 'Spacing-2',
|
|
50
|
+
dropdownOptionGroupFontSize: 'Font-12',
|
|
51
51
|
dropdownOptionGroupFontColor: 'Neutral-text-3',
|
|
52
|
-
dropdownOptionGroupSmallX: '
|
|
53
|
-
dropdownOptionGroupSmallTop: '
|
|
54
|
-
dropdownOptionGroupLargeX: '
|
|
55
|
-
dropdownOptionGroupLargeTop: '
|
|
56
|
-
dropdownOptionGroupLargeBottom: '
|
|
52
|
+
dropdownOptionGroupSmallX: 'Spacing-8',
|
|
53
|
+
dropdownOptionGroupSmallTop: 'Spacing-4',
|
|
54
|
+
dropdownOptionGroupLargeX: 'Spacing-12',
|
|
55
|
+
dropdownOptionGroupLargeTop: 'Spacing-14',
|
|
56
|
+
dropdownOptionGroupLargeBottom: 'Spacing-4',
|
|
57
57
|
dropdownOptionDividerBackgroundColor: 'Neutral-border-1',
|
|
58
|
-
dropdownOptionDividerPaddingX: '
|
|
59
|
-
dropdownOptionDividerPaddingY: '
|
|
58
|
+
dropdownOptionDividerPaddingX: 'Spacing-8',
|
|
59
|
+
dropdownOptionDividerPaddingY: 'Spacing-2',
|
|
60
60
|
dropdownOptionDividerHeight: 'Border-1'
|
|
61
61
|
};
|
|
62
62
|
var _default = exports.default = dropdownTokens;
|
package/cjs/dropdown/token.js
CHANGED
|
@@ -40,11 +40,11 @@ var dropdownTokenValue = {
|
|
|
40
40
|
width: 'Border-1'
|
|
41
41
|
},
|
|
42
42
|
padding: {
|
|
43
|
-
x: '
|
|
44
|
-
y: '
|
|
43
|
+
x: 'Spacing-4',
|
|
44
|
+
y: 'Spacing-4'
|
|
45
45
|
},
|
|
46
46
|
font: {
|
|
47
|
-
size: '14
|
|
47
|
+
size: 'Font-14',
|
|
48
48
|
color: 'Neutral-text-5'
|
|
49
49
|
},
|
|
50
50
|
small: {
|
|
@@ -52,11 +52,11 @@ var dropdownTokenValue = {
|
|
|
52
52
|
radius: 'Radius-4'
|
|
53
53
|
},
|
|
54
54
|
padding: {
|
|
55
|
-
x: '
|
|
56
|
-
y: '
|
|
55
|
+
x: 'Spacing-4',
|
|
56
|
+
y: 'Spacing-4'
|
|
57
57
|
},
|
|
58
58
|
font: {
|
|
59
|
-
size: '12
|
|
59
|
+
size: 'Font-12'
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
large: {
|
|
@@ -64,11 +64,11 @@ var dropdownTokenValue = {
|
|
|
64
64
|
radius: 'Radius-4'
|
|
65
65
|
},
|
|
66
66
|
padding: {
|
|
67
|
-
x: '
|
|
68
|
-
y: '
|
|
67
|
+
x: 'Spacing-4',
|
|
68
|
+
y: 'Spacing-4'
|
|
69
69
|
},
|
|
70
70
|
font: {
|
|
71
|
-
size: '16
|
|
71
|
+
size: 'Font-16'
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
background: {
|
|
@@ -80,19 +80,19 @@ var dropdownTokenValue = {
|
|
|
80
80
|
},
|
|
81
81
|
option: {
|
|
82
82
|
padding: {
|
|
83
|
-
x: '
|
|
84
|
-
y: '
|
|
83
|
+
x: 'Spacing-8',
|
|
84
|
+
y: 'Spacing-5'
|
|
85
85
|
},
|
|
86
86
|
small: {
|
|
87
87
|
padding: {
|
|
88
|
-
x: '
|
|
89
|
-
y: '
|
|
88
|
+
x: 'Spacing-8',
|
|
89
|
+
y: 'Spacing-2'
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
large: {
|
|
93
93
|
padding: {
|
|
94
|
-
x: '
|
|
95
|
-
y: '
|
|
94
|
+
x: 'Spacing-12',
|
|
95
|
+
y: 'Spacing-8'
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
background: {
|
|
@@ -135,23 +135,23 @@ var dropdownTokenValue = {
|
|
|
135
135
|
},
|
|
136
136
|
group: {
|
|
137
137
|
padding: {
|
|
138
|
-
x: '
|
|
139
|
-
top: '
|
|
140
|
-
bottom: '
|
|
138
|
+
x: 'Spacing-8',
|
|
139
|
+
top: 'Spacing-10',
|
|
140
|
+
bottom: 'Spacing-2'
|
|
141
141
|
},
|
|
142
142
|
font: {
|
|
143
|
-
size: '12
|
|
143
|
+
size: 'Font-12',
|
|
144
144
|
color: 'Neutral-text-3'
|
|
145
145
|
},
|
|
146
146
|
small: {
|
|
147
|
-
x: '
|
|
148
|
-
top: '
|
|
147
|
+
x: 'Spacing-8',
|
|
148
|
+
top: 'Spacing-4',
|
|
149
149
|
bottom: ''
|
|
150
150
|
},
|
|
151
151
|
large: {
|
|
152
|
-
x: '
|
|
153
|
-
top: '
|
|
154
|
-
bottom: '
|
|
152
|
+
x: 'Spacing-12',
|
|
153
|
+
top: 'Spacing-14',
|
|
154
|
+
bottom: 'Spacing-4'
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
divider: {
|
|
@@ -159,23 +159,23 @@ var dropdownTokenValue = {
|
|
|
159
159
|
color: 'Neutral-border-1'
|
|
160
160
|
},
|
|
161
161
|
padding: {
|
|
162
|
-
x: '
|
|
163
|
-
y: '
|
|
162
|
+
x: 'Spacing-8',
|
|
163
|
+
y: 'Spacing-2'
|
|
164
164
|
},
|
|
165
165
|
height: 'Border-1'
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
column: {
|
|
169
169
|
padding: {
|
|
170
|
-
x: '
|
|
171
|
-
y: '
|
|
170
|
+
x: 'Spacing-4',
|
|
171
|
+
y: 'Spacing-4'
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
var dropdownTokenExtraValue = {
|
|
176
176
|
caret: {
|
|
177
177
|
margin: {
|
|
178
|
-
left: '
|
|
178
|
+
left: 'Spacing-4'
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
};
|