@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
package/cjs/input/token.js
CHANGED
|
@@ -27,7 +27,7 @@ var inputTokenDescription = {
|
|
|
27
27
|
*/
|
|
28
28
|
var inputTokenValue = {
|
|
29
29
|
font: {
|
|
30
|
-
size: '14
|
|
30
|
+
size: 'Font-14',
|
|
31
31
|
color: 'Neutral-text-5'
|
|
32
32
|
},
|
|
33
33
|
border: {
|
|
@@ -35,8 +35,8 @@ var inputTokenValue = {
|
|
|
35
35
|
color: 'Neutral-border-2'
|
|
36
36
|
},
|
|
37
37
|
padding: {
|
|
38
|
-
x: '
|
|
39
|
-
y: '
|
|
38
|
+
x: 'Spacing-8',
|
|
39
|
+
y: 'Spacing-4'
|
|
40
40
|
},
|
|
41
41
|
icon: {
|
|
42
42
|
size: 'Size-7',
|
|
@@ -44,14 +44,14 @@ var inputTokenValue = {
|
|
|
44
44
|
},
|
|
45
45
|
small: {
|
|
46
46
|
font: {
|
|
47
|
-
size: '12
|
|
47
|
+
size: 'Font-12'
|
|
48
48
|
},
|
|
49
49
|
border: {
|
|
50
50
|
radius: ''
|
|
51
51
|
},
|
|
52
52
|
padding: {
|
|
53
|
-
x: '
|
|
54
|
-
y: '
|
|
53
|
+
x: 'Spacing-8',
|
|
54
|
+
y: 'Spacing-1'
|
|
55
55
|
},
|
|
56
56
|
icon: {
|
|
57
57
|
size: ''
|
|
@@ -59,14 +59,14 @@ var inputTokenValue = {
|
|
|
59
59
|
},
|
|
60
60
|
large: {
|
|
61
61
|
font: {
|
|
62
|
-
size: '16
|
|
62
|
+
size: 'Font-16'
|
|
63
63
|
},
|
|
64
64
|
border: {
|
|
65
65
|
radius: ''
|
|
66
66
|
},
|
|
67
67
|
padding: {
|
|
68
|
-
x: '
|
|
69
|
-
y: '
|
|
68
|
+
x: 'Spacing-12',
|
|
69
|
+
y: 'Spacing-7'
|
|
70
70
|
},
|
|
71
71
|
icon: {
|
|
72
72
|
size: ''
|
|
@@ -301,29 +301,29 @@ var inputTokenValue = {
|
|
|
301
301
|
},
|
|
302
302
|
inner: {
|
|
303
303
|
padding: {
|
|
304
|
-
x: '
|
|
305
|
-
y: '
|
|
304
|
+
x: 'Spacing-8',
|
|
305
|
+
y: 'Spacing-1'
|
|
306
306
|
},
|
|
307
307
|
font: {
|
|
308
|
-
size: '12
|
|
308
|
+
size: 'Font-12',
|
|
309
309
|
color: 'Neutral-text-4'
|
|
310
310
|
},
|
|
311
311
|
small: {
|
|
312
312
|
padding: {
|
|
313
|
-
x: '
|
|
314
|
-
y: '
|
|
313
|
+
x: 'Spacing-8',
|
|
314
|
+
y: 'Spacing-1'
|
|
315
315
|
},
|
|
316
316
|
font: {
|
|
317
|
-
size: '12
|
|
317
|
+
size: 'Font-12'
|
|
318
318
|
}
|
|
319
319
|
},
|
|
320
320
|
large: {
|
|
321
321
|
padding: {
|
|
322
|
-
x: '
|
|
323
|
-
y: '
|
|
322
|
+
x: 'Spacing-12',
|
|
323
|
+
y: 'Spacing-3'
|
|
324
324
|
},
|
|
325
325
|
font: {
|
|
326
|
-
size: '14
|
|
326
|
+
size: 'Font-14'
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
package/cjs/input/type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface InputTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token 14
|
|
4
|
+
* @token Font-14
|
|
5
5
|
* @description 输入框字体字号
|
|
6
6
|
*/
|
|
7
7
|
inputFontSize: string;
|
|
@@ -13,13 +13,13 @@ export interface InputTokens {
|
|
|
13
13
|
inputBorderRadius: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
|
-
* @token
|
|
16
|
+
* @token Spacing-8
|
|
17
17
|
* @description 输入框内边距(水平方向)
|
|
18
18
|
*/
|
|
19
19
|
inputPaddingX: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @token
|
|
22
|
+
* @token Spacing-4
|
|
23
23
|
* @description 输入框内边距(垂直方向)
|
|
24
24
|
*/
|
|
25
25
|
inputPaddingY: string;
|
|
@@ -31,37 +31,37 @@ export interface InputTokens {
|
|
|
31
31
|
inputIconSize: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @token 12
|
|
34
|
+
* @token Font-12
|
|
35
35
|
* @description 输入框小尺寸字体字号
|
|
36
36
|
*/
|
|
37
37
|
inputSmallFontSize: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @token
|
|
40
|
+
* @token Spacing-8
|
|
41
41
|
* @description 输入框小尺寸内边距(水平方向)
|
|
42
42
|
*/
|
|
43
43
|
inputSmallPaddingX: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @token
|
|
46
|
+
* @token Spacing-1
|
|
47
47
|
* @description 输入框小尺寸内边距(垂直方向)
|
|
48
48
|
*/
|
|
49
49
|
inputSmallPaddingY: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
|
-
* @token 16
|
|
52
|
+
* @token Font-16
|
|
53
53
|
* @description 输入框大尺寸字体字号
|
|
54
54
|
*/
|
|
55
55
|
inputLargeFontSize: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @token
|
|
58
|
+
* @token Spacing-12
|
|
59
59
|
* @description 输入框大尺寸内边距(水平方向)
|
|
60
60
|
*/
|
|
61
61
|
inputLargePaddingX: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @token
|
|
64
|
+
* @token Spacing-7
|
|
65
65
|
* @description 输入框大尺寸内边距(垂直方向)
|
|
66
66
|
*/
|
|
67
67
|
inputLargePaddingY: string;
|
|
@@ -211,55 +211,55 @@ export interface InputTokens {
|
|
|
211
211
|
inputInfoErrorBorderColor: string;
|
|
212
212
|
/**
|
|
213
213
|
* @type {string}
|
|
214
|
-
* @token
|
|
214
|
+
* @token Spacing-8
|
|
215
215
|
* @description 输入框内嵌内边距(水平方向)
|
|
216
216
|
*/
|
|
217
217
|
inputInnerPaddingX: string;
|
|
218
218
|
/**
|
|
219
219
|
* @type {string}
|
|
220
|
-
* @token
|
|
220
|
+
* @token Spacing-1
|
|
221
221
|
* @description 输入框内嵌内边距(垂直方向)
|
|
222
222
|
*/
|
|
223
223
|
inputInnerPaddingY: string;
|
|
224
224
|
/**
|
|
225
225
|
* @type {string}
|
|
226
|
-
* @token 12
|
|
226
|
+
* @token Font-12
|
|
227
227
|
* @description 输入框内嵌字体字号
|
|
228
228
|
*/
|
|
229
229
|
inputInnerFontSize: string;
|
|
230
230
|
/**
|
|
231
231
|
* @type {string}
|
|
232
|
-
* @token
|
|
232
|
+
* @token Spacing-8
|
|
233
233
|
* @description 输入框内嵌小尺寸内边距(水平方向)
|
|
234
234
|
*/
|
|
235
235
|
inputInnerSmallPaddingX: string;
|
|
236
236
|
/**
|
|
237
237
|
* @type {string}
|
|
238
|
-
* @token
|
|
238
|
+
* @token Spacing-1
|
|
239
239
|
* @description 输入框内嵌小尺寸内边距(垂直方向)
|
|
240
240
|
*/
|
|
241
241
|
inputInnerSmallPaddingY: string;
|
|
242
242
|
/**
|
|
243
243
|
* @type {string}
|
|
244
|
-
* @token 12
|
|
244
|
+
* @token Font-12
|
|
245
245
|
* @description 输入框内嵌小尺寸字体字号
|
|
246
246
|
*/
|
|
247
247
|
inputInnerSmallFontSize: string;
|
|
248
248
|
/**
|
|
249
249
|
* @type {string}
|
|
250
|
-
* @token
|
|
250
|
+
* @token Spacing-12
|
|
251
251
|
* @description 输入框内嵌大尺寸内边距(水平方向)
|
|
252
252
|
*/
|
|
253
253
|
inputInnerLargePaddingX: string;
|
|
254
254
|
/**
|
|
255
255
|
* @type {string}
|
|
256
|
-
* @token
|
|
256
|
+
* @token Spacing-3
|
|
257
257
|
* @description 输入框内嵌大尺寸内边距(垂直方向)
|
|
258
258
|
*/
|
|
259
259
|
inputInnerLargePaddingY: string;
|
|
260
260
|
/**
|
|
261
261
|
* @type {string}
|
|
262
|
-
* @token 14
|
|
262
|
+
* @token Font-14
|
|
263
263
|
* @description 输入框内嵌大尺寸字体字号
|
|
264
264
|
*/
|
|
265
265
|
inputInnerLargeFontSize: string;
|
package/cjs/list/list.js
CHANGED
|
@@ -8,17 +8,17 @@ 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 listTokens = {
|
|
11
|
-
listFontSize: '14
|
|
11
|
+
listFontSize: 'Font-14',
|
|
12
12
|
listFontColor: 'Neutral-text-5',
|
|
13
13
|
listBorderColor: 'Neutral-border-1',
|
|
14
14
|
listBorderRadius: 'Radius-2',
|
|
15
|
-
listItemPaddingY: '
|
|
16
|
-
listItemPaddingX: '
|
|
17
|
-
listSmallItemPaddingY: '
|
|
18
|
-
listSmallItemPaddingX: '
|
|
19
|
-
listLargeItemPaddingY: '
|
|
20
|
-
listLargeItemPaddingX: '
|
|
21
|
-
listPaginationMarginY: '
|
|
15
|
+
listItemPaddingY: 'Spacing-12',
|
|
16
|
+
listItemPaddingX: 'Spacing-16',
|
|
17
|
+
listSmallItemPaddingY: 'Spacing-8',
|
|
18
|
+
listSmallItemPaddingX: 'Spacing-12',
|
|
19
|
+
listLargeItemPaddingY: 'Spacing-16',
|
|
20
|
+
listLargeItemPaddingX: 'Spacing-20',
|
|
21
|
+
listPaginationMarginY: 'Spacing-12',
|
|
22
22
|
listStripedBackgroundColor: 'Neutral-fill-2'
|
|
23
23
|
};
|
|
24
24
|
var _default = exports.default = listTokens;
|
package/cjs/list/token.js
CHANGED
|
@@ -25,7 +25,7 @@ var listTokenDescription = {
|
|
|
25
25
|
var listTokenValue = {};
|
|
26
26
|
var listTokenExtraValue = {
|
|
27
27
|
font: {
|
|
28
|
-
size: '14
|
|
28
|
+
size: 'Font-14',
|
|
29
29
|
color: 'Neutral-text-5'
|
|
30
30
|
},
|
|
31
31
|
border: {
|
|
@@ -34,29 +34,29 @@ var listTokenExtraValue = {
|
|
|
34
34
|
},
|
|
35
35
|
item: {
|
|
36
36
|
padding: {
|
|
37
|
-
y: '
|
|
38
|
-
x: '
|
|
37
|
+
y: 'Spacing-12',
|
|
38
|
+
x: 'Spacing-16'
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
small: {
|
|
42
42
|
item: {
|
|
43
43
|
padding: {
|
|
44
|
-
y: '
|
|
45
|
-
x: '
|
|
44
|
+
y: 'Spacing-8',
|
|
45
|
+
x: 'Spacing-12'
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
large: {
|
|
50
50
|
item: {
|
|
51
51
|
padding: {
|
|
52
|
-
y: '
|
|
53
|
-
x: '
|
|
52
|
+
y: 'Spacing-16',
|
|
53
|
+
x: 'Spacing-20'
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
pagination: {
|
|
58
58
|
margin: {
|
|
59
|
-
y: '
|
|
59
|
+
y: 'Spacing-12'
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
striped: {
|
package/cjs/list/type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface ListTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token 14
|
|
4
|
+
* @token Font-14
|
|
5
5
|
* @description 列表字体字号
|
|
6
6
|
*/
|
|
7
7
|
listFontSize: string;
|
|
@@ -25,43 +25,43 @@ export interface ListTokens {
|
|
|
25
25
|
listBorderRadius: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @token
|
|
28
|
+
* @token Spacing-12
|
|
29
29
|
* @description 列表选项内边距(垂直方向)
|
|
30
30
|
*/
|
|
31
31
|
listItemPaddingY: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @token
|
|
34
|
+
* @token Spacing-16
|
|
35
35
|
* @description 列表选项内边距(水平方向)
|
|
36
36
|
*/
|
|
37
37
|
listItemPaddingX: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @token
|
|
40
|
+
* @token Spacing-8
|
|
41
41
|
* @description 列表小尺寸选项内边距(垂直方向)
|
|
42
42
|
*/
|
|
43
43
|
listSmallItemPaddingY: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @token
|
|
46
|
+
* @token Spacing-12
|
|
47
47
|
* @description 列表小尺寸选项内边距(水平方向)
|
|
48
48
|
*/
|
|
49
49
|
listSmallItemPaddingX: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
|
-
* @token
|
|
52
|
+
* @token Spacing-16
|
|
53
53
|
* @description 列表大尺寸选项内边距(垂直方向)
|
|
54
54
|
*/
|
|
55
55
|
listLargeItemPaddingY: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @token
|
|
58
|
+
* @token Spacing-20
|
|
59
59
|
* @description 列表大尺寸选项内边距(水平方向)
|
|
60
60
|
*/
|
|
61
61
|
listLargeItemPaddingX: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @token
|
|
64
|
+
* @token Spacing-12
|
|
65
65
|
* @description 列表分页器外边距(垂直方向)
|
|
66
66
|
*/
|
|
67
67
|
listPaginationMarginY: string;
|
package/cjs/menu/menu.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 menuTokens = {
|
|
11
|
-
menuFontSize: '14
|
|
11
|
+
menuFontSize: 'Font-14',
|
|
12
12
|
menuFontColor: 'Neutral-text-5',
|
|
13
13
|
menuIconColor: 'Neutral-text-4',
|
|
14
14
|
menuItemBackgroundColor: 'Neutral-fill-1',
|
package/cjs/menu/token.js
CHANGED
package/cjs/menu/type.d.ts
CHANGED
package/cjs/message/message.js
CHANGED
|
@@ -12,6 +12,6 @@ var messageTokens = {
|
|
|
12
12
|
messageBorderColor: 'Neutral-border-1',
|
|
13
13
|
messageBackgroundColor: 'Neutral-fill-1',
|
|
14
14
|
messageFontColor: 'Neutral-text-5',
|
|
15
|
-
messageMarginBottom: '
|
|
15
|
+
messageMarginBottom: 'Spacing-24'
|
|
16
16
|
};
|
|
17
17
|
var _default = exports.default = messageTokens;
|
package/cjs/message/token.js
CHANGED
package/cjs/message/type.d.ts
CHANGED
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;
|