@sheinx/theme 3.1.27 → 3.2.0-beta.2
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/cjs/alert/alert.d.ts.map +1 -1
- package/cjs/alert/alert.js +4 -1
- package/cjs/alert/rule.js +2 -2
- package/cjs/alert/token.js +7 -2
- package/cjs/alert/type.d.ts +19 -1
- package/cjs/alert/type.d.ts.map +1 -1
- package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/cjs/breadcrumb/breadcrumb.js +2 -4
- package/cjs/breadcrumb/token.js +3 -9
- package/cjs/breadcrumb/type.d.ts +7 -19
- package/cjs/breadcrumb/type.d.ts.map +1 -1
- package/cjs/button/button.js +7 -7
- package/cjs/button/token.js +8 -8
- package/cjs/button/type.d.ts +2 -2
- package/cjs/card/card.d.ts.map +1 -1
- package/cjs/card/card.js +16 -2
- package/cjs/card/token.js +32 -3
- package/cjs/card/type.d.ts +85 -1
- package/cjs/card/type.d.ts.map +1 -1
- package/cjs/carousel/carousel.js +1 -1
- package/cjs/carousel/token.js +1 -1
- package/cjs/carousel/type.d.ts +1 -1
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +7 -4
- package/cjs/cascader/token.js +13 -4
- package/cjs/cascader/type.d.ts +22 -4
- package/cjs/cascader/type.d.ts.map +1 -1
- package/cjs/collapse/collapse.js +4 -4
- package/cjs/collapse/token.js +4 -4
- package/cjs/collapse/type.d.ts +4 -4
- package/cjs/date-picker/date-picker.js +4 -4
- package/cjs/date-picker/token.js +4 -4
- package/cjs/date-picker/type.d.ts +4 -4
- package/cjs/descriptions/descriptions.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +6 -4
- package/cjs/descriptions/rule.js +3 -2
- package/cjs/descriptions/token.js +11 -3
- package/cjs/descriptions/type.d.ts +15 -3
- package/cjs/descriptions/type.d.ts.map +1 -1
- package/cjs/divider/divider.d.ts.map +1 -1
- package/cjs/divider/divider.js +1 -0
- package/cjs/divider/token.js +2 -1
- package/cjs/divider/type.d.ts +6 -0
- package/cjs/divider/type.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.js +6 -4
- package/cjs/dropdown/rule.js +2 -0
- package/cjs/dropdown/token.js +9 -5
- package/cjs/dropdown/type.d.ts +16 -4
- package/cjs/dropdown/type.d.ts.map +1 -1
- package/cjs/empty/empty.d.ts.map +1 -1
- package/cjs/empty/empty.js +2 -1
- package/cjs/empty/rule.js +1 -1
- package/cjs/empty/token.js +5 -2
- package/cjs/empty/type.d.ts +6 -0
- package/cjs/empty/type.d.ts.map +1 -1
- package/cjs/form/form.d.ts.map +1 -1
- package/cjs/form/form.js +9 -2
- package/cjs/form/token.js +19 -2
- package/cjs/form/type.d.ts +44 -2
- package/cjs/form/type.d.ts.map +1 -1
- package/cjs/image/image.d.ts.map +1 -1
- package/cjs/image/image.js +5 -3
- package/cjs/image/rule.js +1 -1
- package/cjs/image/token.js +7 -3
- package/cjs/image/type.d.ts +15 -3
- package/cjs/image/type.d.ts.map +1 -1
- package/cjs/index.d.ts +4 -2
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +27 -1
- package/cjs/input/input.d.ts.map +1 -1
- package/cjs/input/input.js +21 -5
- package/cjs/input/rule.js +1 -7
- package/cjs/input/token.js +44 -15
- package/cjs/input/type.d.ts +115 -19
- package/cjs/input/type.d.ts.map +1 -1
- package/cjs/list/list.d.ts.map +1 -1
- package/cjs/list/list.js +5 -1
- package/cjs/list/token.js +11 -1
- package/cjs/list/type.d.ts +25 -1
- package/cjs/list/type.d.ts.map +1 -1
- package/cjs/menu/menu.d.ts.map +1 -1
- package/cjs/menu/menu.js +34 -5
- package/cjs/menu/token.js +106 -5
- package/cjs/menu/type.d.ts +178 -4
- package/cjs/menu/type.d.ts.map +1 -1
- package/cjs/modal/modal.js +1 -1
- package/cjs/modal/token.js +1 -1
- package/cjs/modal/type.d.ts +1 -1
- package/cjs/popover/popover.d.ts.map +1 -1
- package/cjs/popover/popover.js +9 -7
- package/cjs/popover/rule.js +2 -2
- package/cjs/popover/token.js +11 -7
- package/cjs/popover/type.d.ts +19 -7
- package/cjs/popover/type.d.ts.map +1 -1
- package/cjs/progress/progress.d.ts.map +1 -1
- package/cjs/progress/progress.js +15 -1
- package/cjs/progress/token.js +81 -1
- package/cjs/progress/type.d.ts +87 -3
- package/cjs/progress/type.d.ts.map +1 -1
- package/cjs/rate/rate.d.ts.map +1 -1
- package/cjs/rate/rate.js +3 -1
- package/cjs/rate/token.js +6 -2
- package/cjs/rate/type.d.ts +13 -1
- package/cjs/rate/type.d.ts.map +1 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +23 -7
- package/cjs/select/token.js +62 -12
- package/cjs/select/type.d.ts +103 -7
- package/cjs/select/type.d.ts.map +1 -1
- package/cjs/slider/slider.js +1 -1
- package/cjs/slider/token.js +1 -1
- package/cjs/slider/type.d.ts +1 -1
- package/cjs/table/table.d.ts.map +1 -1
- package/cjs/table/table.js +13 -0
- package/cjs/table/token.js +28 -1
- package/cjs/table/type.d.ts +78 -0
- package/cjs/table/type.d.ts.map +1 -1
- package/cjs/tabs/tabs.js +1 -1
- package/cjs/tabs/token.js +1 -1
- package/cjs/tabs/type.d.ts +1 -1
- package/cjs/tag/rule.js +1 -1
- package/cjs/tag/tag.d.ts.map +1 -1
- package/cjs/tag/tag.js +7 -4
- package/cjs/tag/token.js +10 -34
- package/cjs/tag/type.d.ts +22 -4
- package/cjs/tag/type.d.ts.map +1 -1
- package/cjs/textarea/textarea.js +1 -1
- package/cjs/textarea/token.js +1 -1
- package/cjs/textarea/type.d.ts +1 -1
- package/cjs/token/figma.js +6 -0
- package/cjs/token/token.d.ts.map +1 -1
- package/cjs/token/token.js +1 -0
- package/cjs/token/type.d.ts +7 -0
- package/cjs/token/type.d.ts.map +1 -1
- package/cjs/tooltip/token.js +1 -1
- package/cjs/tooltip/tooltip.js +1 -1
- package/cjs/tooltip/type.d.ts +1 -1
- package/cjs/transfer/rule.js +1 -8
- package/cjs/transfer/token.js +21 -4
- package/cjs/transfer/transfer.d.ts.map +1 -1
- package/cjs/transfer/transfer.js +11 -5
- package/cjs/transfer/type.d.ts +54 -18
- package/cjs/transfer/type.d.ts.map +1 -1
- package/cjs/tree/rule.js +2 -0
- package/cjs/tree/token.js +8 -3
- package/cjs/tree/tree.d.ts.map +1 -1
- package/cjs/tree/tree.js +3 -1
- package/cjs/tree/type.d.ts +16 -4
- package/cjs/tree/type.d.ts.map +1 -1
- package/cjs/tree-select/token.js +4 -4
- package/cjs/tree-select/tree-select.js +4 -4
- package/cjs/tree-select/type.d.ts +4 -4
- package/cjs/upload/token.js +2 -2
- package/cjs/upload/type.d.ts +2 -2
- package/cjs/upload/upload.js +2 -2
- package/cjs/utils/css-var.d.ts +1 -0
- package/cjs/utils/css-var.d.ts.map +1 -1
- package/cjs/utils/css-var.js +6 -1
- package/esm/alert/alert.d.ts.map +1 -1
- package/esm/alert/alert.js +4 -1
- package/esm/alert/rule.js +2 -2
- package/esm/alert/token.js +7 -2
- package/esm/alert/type.d.ts +19 -1
- package/esm/alert/type.d.ts.map +1 -1
- package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/esm/breadcrumb/breadcrumb.js +2 -4
- package/esm/breadcrumb/token.js +3 -9
- package/esm/breadcrumb/type.d.ts +7 -19
- package/esm/breadcrumb/type.d.ts.map +1 -1
- package/esm/button/button.js +7 -7
- package/esm/button/token.js +8 -8
- package/esm/button/type.d.ts +2 -2
- package/esm/card/card.d.ts.map +1 -1
- package/esm/card/card.js +16 -2
- package/esm/card/token.js +32 -3
- package/esm/card/type.d.ts +85 -1
- package/esm/card/type.d.ts.map +1 -1
- package/esm/carousel/carousel.js +1 -1
- package/esm/carousel/token.js +1 -1
- package/esm/carousel/type.d.ts +1 -1
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +7 -4
- package/esm/cascader/token.js +13 -4
- package/esm/cascader/type.d.ts +22 -4
- package/esm/cascader/type.d.ts.map +1 -1
- package/esm/collapse/collapse.js +4 -4
- package/esm/collapse/token.js +4 -4
- package/esm/collapse/type.d.ts +4 -4
- package/esm/date-picker/date-picker.js +4 -4
- package/esm/date-picker/token.js +4 -4
- package/esm/date-picker/type.d.ts +4 -4
- package/esm/descriptions/descriptions.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +6 -4
- package/esm/descriptions/rule.js +3 -2
- package/esm/descriptions/token.js +11 -3
- package/esm/descriptions/type.d.ts +15 -3
- package/esm/descriptions/type.d.ts.map +1 -1
- package/esm/divider/divider.d.ts.map +1 -1
- package/esm/divider/divider.js +1 -0
- package/esm/divider/token.js +2 -1
- package/esm/divider/type.d.ts +6 -0
- package/esm/divider/type.d.ts.map +1 -1
- package/esm/dropdown/dropdown.d.ts.map +1 -1
- package/esm/dropdown/dropdown.js +6 -4
- package/esm/dropdown/rule.js +2 -0
- package/esm/dropdown/token.js +9 -5
- package/esm/dropdown/type.d.ts +16 -4
- package/esm/dropdown/type.d.ts.map +1 -1
- package/esm/empty/empty.d.ts.map +1 -1
- package/esm/empty/empty.js +2 -1
- package/esm/empty/rule.js +1 -1
- package/esm/empty/token.js +5 -2
- package/esm/empty/type.d.ts +6 -0
- package/esm/empty/type.d.ts.map +1 -1
- package/esm/form/form.d.ts.map +1 -1
- package/esm/form/form.js +9 -2
- package/esm/form/token.js +19 -2
- package/esm/form/type.d.ts +44 -2
- package/esm/form/type.d.ts.map +1 -1
- package/esm/image/image.d.ts.map +1 -1
- package/esm/image/image.js +5 -3
- package/esm/image/rule.js +1 -1
- package/esm/image/token.js +7 -3
- package/esm/image/type.d.ts +15 -3
- package/esm/image/type.d.ts.map +1 -1
- package/esm/index.d.ts +4 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -1
- package/esm/input/input.d.ts.map +1 -1
- package/esm/input/input.js +21 -5
- package/esm/input/rule.js +1 -7
- package/esm/input/token.js +44 -15
- package/esm/input/type.d.ts +115 -19
- package/esm/input/type.d.ts.map +1 -1
- package/esm/list/list.d.ts.map +1 -1
- package/esm/list/list.js +5 -1
- package/esm/list/token.js +11 -1
- package/esm/list/type.d.ts +25 -1
- package/esm/list/type.d.ts.map +1 -1
- package/esm/menu/menu.d.ts.map +1 -1
- package/esm/menu/menu.js +34 -5
- package/esm/menu/token.js +106 -5
- package/esm/menu/type.d.ts +178 -4
- package/esm/menu/type.d.ts.map +1 -1
- package/esm/modal/modal.js +1 -1
- package/esm/modal/token.js +1 -1
- package/esm/modal/type.d.ts +1 -1
- package/esm/popover/popover.d.ts.map +1 -1
- package/esm/popover/popover.js +9 -7
- package/esm/popover/rule.js +2 -2
- package/esm/popover/token.js +11 -7
- package/esm/popover/type.d.ts +19 -7
- package/esm/popover/type.d.ts.map +1 -1
- package/esm/progress/progress.d.ts.map +1 -1
- package/esm/progress/progress.js +15 -1
- package/esm/progress/token.js +81 -1
- package/esm/progress/type.d.ts +87 -3
- package/esm/progress/type.d.ts.map +1 -1
- package/esm/rate/rate.d.ts.map +1 -1
- package/esm/rate/rate.js +3 -1
- package/esm/rate/token.js +6 -2
- package/esm/rate/type.d.ts +13 -1
- package/esm/rate/type.d.ts.map +1 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +23 -7
- package/esm/select/token.js +62 -12
- package/esm/select/type.d.ts +103 -7
- package/esm/select/type.d.ts.map +1 -1
- package/esm/slider/slider.js +1 -1
- package/esm/slider/token.js +1 -1
- package/esm/slider/type.d.ts +1 -1
- package/esm/table/table.d.ts.map +1 -1
- package/esm/table/table.js +13 -0
- package/esm/table/token.js +28 -1
- package/esm/table/type.d.ts +78 -0
- package/esm/table/type.d.ts.map +1 -1
- package/esm/tabs/tabs.js +1 -1
- package/esm/tabs/token.js +1 -1
- package/esm/tabs/type.d.ts +1 -1
- package/esm/tag/rule.js +1 -1
- package/esm/tag/tag.d.ts.map +1 -1
- package/esm/tag/tag.js +7 -4
- package/esm/tag/token.js +10 -34
- package/esm/tag/type.d.ts +22 -4
- package/esm/tag/type.d.ts.map +1 -1
- package/esm/textarea/textarea.js +1 -1
- package/esm/textarea/token.js +1 -1
- package/esm/textarea/type.d.ts +1 -1
- package/esm/token/figma.js +6 -0
- package/esm/token/token.d.ts.map +1 -1
- package/esm/token/token.js +1 -0
- package/esm/token/type.d.ts +7 -0
- package/esm/token/type.d.ts.map +1 -1
- package/esm/tooltip/token.js +1 -1
- package/esm/tooltip/tooltip.js +1 -1
- package/esm/tooltip/type.d.ts +1 -1
- package/esm/transfer/rule.js +1 -8
- package/esm/transfer/token.js +21 -4
- package/esm/transfer/transfer.d.ts.map +1 -1
- package/esm/transfer/transfer.js +11 -5
- package/esm/transfer/type.d.ts +54 -18
- package/esm/transfer/type.d.ts.map +1 -1
- package/esm/tree/rule.js +2 -0
- package/esm/tree/token.js +8 -3
- package/esm/tree/tree.d.ts.map +1 -1
- package/esm/tree/tree.js +3 -1
- package/esm/tree/type.d.ts +16 -4
- package/esm/tree/type.d.ts.map +1 -1
- package/esm/tree-select/token.js +4 -4
- package/esm/tree-select/tree-select.js +4 -4
- package/esm/tree-select/type.d.ts +4 -4
- package/esm/upload/token.js +2 -2
- package/esm/upload/type.d.ts +2 -2
- package/esm/upload/upload.js +2 -2
- package/esm/utils/css-var.d.ts +1 -0
- package/esm/utils/css-var.d.ts.map +1 -1
- package/esm/utils/css-var.js +5 -0
- package/package.json +1 -1
package/esm/popover/token.js
CHANGED
|
@@ -25,13 +25,14 @@ var popoverTokenDescription = {
|
|
|
25
25
|
var popoverTokenValue = {
|
|
26
26
|
font: {
|
|
27
27
|
size: 'Font-14',
|
|
28
|
+
weight: 'Weight-regular',
|
|
28
29
|
color: 'Neutral-text-5'
|
|
29
30
|
},
|
|
30
31
|
padding: {
|
|
31
32
|
x: 'Spacing-8',
|
|
32
33
|
y: 'Spacing-8'
|
|
33
34
|
},
|
|
34
|
-
radius: 'Radius-
|
|
35
|
+
radius: 'Radius-default',
|
|
35
36
|
border: {
|
|
36
37
|
width: 'Border-1',
|
|
37
38
|
color: 'Neutral-border-1'
|
|
@@ -57,11 +58,11 @@ var popoverTokenValue = {
|
|
|
57
58
|
color: ''
|
|
58
59
|
},
|
|
59
60
|
background: {
|
|
60
|
-
color: '
|
|
61
|
+
color: 'Warning-1'
|
|
61
62
|
},
|
|
62
63
|
shadow: '',
|
|
63
64
|
border: {
|
|
64
|
-
color: '
|
|
65
|
+
color: 'Warning-2'
|
|
65
66
|
}
|
|
66
67
|
},
|
|
67
68
|
info: {
|
|
@@ -69,11 +70,11 @@ var popoverTokenValue = {
|
|
|
69
70
|
color: ''
|
|
70
71
|
},
|
|
71
72
|
background: {
|
|
72
|
-
color: '
|
|
73
|
+
color: 'Brand-1'
|
|
73
74
|
},
|
|
74
75
|
shadow: '',
|
|
75
76
|
border: {
|
|
76
|
-
color: '
|
|
77
|
+
color: 'Brand-2'
|
|
77
78
|
}
|
|
78
79
|
},
|
|
79
80
|
danger: {
|
|
@@ -81,11 +82,11 @@ var popoverTokenValue = {
|
|
|
81
82
|
color: ''
|
|
82
83
|
},
|
|
83
84
|
background: {
|
|
84
|
-
color: '
|
|
85
|
+
color: 'Danger-1'
|
|
85
86
|
},
|
|
86
87
|
shadow: '',
|
|
87
88
|
border: {
|
|
88
|
-
color: '
|
|
89
|
+
color: 'Danger-2'
|
|
89
90
|
}
|
|
90
91
|
},
|
|
91
92
|
error: {
|
|
@@ -108,6 +109,9 @@ var popoverTokenValue = {
|
|
|
108
109
|
x: 'Spacing-16',
|
|
109
110
|
y: 'Spacing-16'
|
|
110
111
|
},
|
|
112
|
+
margin: {
|
|
113
|
+
y: 'Spacing-16'
|
|
114
|
+
},
|
|
111
115
|
background: {
|
|
112
116
|
color: 'transparent'
|
|
113
117
|
}
|
package/esm/popover/type.d.ts
CHANGED
|
@@ -5,6 +5,12 @@ export interface PopoverTokens {
|
|
|
5
5
|
* @description 气泡字体字号
|
|
6
6
|
*/
|
|
7
7
|
popoverFontSize: string;
|
|
8
|
+
/**
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @token Weight-regular
|
|
11
|
+
* @description 气泡字体字重
|
|
12
|
+
*/
|
|
13
|
+
popoverFontWeight: string;
|
|
8
14
|
/**
|
|
9
15
|
* @type {string}
|
|
10
16
|
* @token Spacing-8
|
|
@@ -19,7 +25,7 @@ export interface PopoverTokens {
|
|
|
19
25
|
popoverPaddingY: string;
|
|
20
26
|
/**
|
|
21
27
|
* @type {string}
|
|
22
|
-
* @token Radius-
|
|
28
|
+
* @token Radius-default
|
|
23
29
|
* @description 气泡圆角
|
|
24
30
|
*/
|
|
25
31
|
popoverRadius: string;
|
|
@@ -67,37 +73,37 @@ export interface PopoverTokens {
|
|
|
67
73
|
popoverSuccessBorderColor: string;
|
|
68
74
|
/**
|
|
69
75
|
* @type {string}
|
|
70
|
-
* @token
|
|
76
|
+
* @token Warning-1
|
|
71
77
|
* @description 气泡警告背景颜色
|
|
72
78
|
*/
|
|
73
79
|
popoverWarningBackgroundColor: string;
|
|
74
80
|
/**
|
|
75
81
|
* @type {string}
|
|
76
|
-
* @token
|
|
82
|
+
* @token Warning-2
|
|
77
83
|
* @description 气泡警告边框颜色
|
|
78
84
|
*/
|
|
79
85
|
popoverWarningBorderColor: string;
|
|
80
86
|
/**
|
|
81
87
|
* @type {string}
|
|
82
|
-
* @token
|
|
88
|
+
* @token Brand-1
|
|
83
89
|
* @description 气泡提示背景颜色
|
|
84
90
|
*/
|
|
85
91
|
popoverInfoBackgroundColor: string;
|
|
86
92
|
/**
|
|
87
93
|
* @type {string}
|
|
88
|
-
* @token
|
|
94
|
+
* @token Brand-2
|
|
89
95
|
* @description 气泡提示边框颜色
|
|
90
96
|
*/
|
|
91
97
|
popoverInfoBorderColor: string;
|
|
92
98
|
/**
|
|
93
99
|
* @type {string}
|
|
94
|
-
* @token
|
|
100
|
+
* @token Danger-1
|
|
95
101
|
* @description 气泡危险色背景颜色
|
|
96
102
|
*/
|
|
97
103
|
popoverDangerBackgroundColor: string;
|
|
98
104
|
/**
|
|
99
105
|
* @type {string}
|
|
100
|
-
* @token
|
|
106
|
+
* @token Danger-2
|
|
101
107
|
* @description 气泡危险色边框颜色
|
|
102
108
|
*/
|
|
103
109
|
popoverDangerBorderColor: string;
|
|
@@ -131,6 +137,12 @@ export interface PopoverTokens {
|
|
|
131
137
|
* @description 气泡确认内边距(垂直方向)
|
|
132
138
|
*/
|
|
133
139
|
popoverConfirmPaddingY: string;
|
|
140
|
+
/**
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @token Spacing-16
|
|
143
|
+
* @description 气泡确认外边距(垂直方向)
|
|
144
|
+
*/
|
|
145
|
+
popoverConfirmMarginY: string;
|
|
134
146
|
/**
|
|
135
147
|
* @type {string}
|
|
136
148
|
* @token transparent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;CACvC"}
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;CACvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cAiCrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
package/esm/progress/progress.js
CHANGED
|
@@ -6,9 +6,18 @@ var progressTokens = {
|
|
|
6
6
|
progressFontColor: 'Neutral-text-4',
|
|
7
7
|
progressBackground: 'Neutral-fill-3',
|
|
8
8
|
progressInfoFrontBackgroundColor: 'Brand-6',
|
|
9
|
+
progressInfoInnerFontColor: 'Neutral-text-1',
|
|
9
10
|
progressWarningFrontBackgroundColor: 'Warning-6',
|
|
11
|
+
progressWarningInnerFontColor: 'Neutral-text-1',
|
|
10
12
|
progressSuccessFrontBackgroundColor: 'Success-6',
|
|
13
|
+
progressSuccessInnerFontColor: 'Neutral-text-1',
|
|
11
14
|
progressDangerFrontBackgroundColor: 'Danger-6',
|
|
15
|
+
progressDangerInnerFontColor: 'Neutral-text-1',
|
|
16
|
+
progressCircleInfoFontColor: 'Neutral-text-4',
|
|
17
|
+
progressCircleWarningFontColor: 'Warning-6',
|
|
18
|
+
progressCircleSuccessFontColor: 'success-6',
|
|
19
|
+
progressCircleDangerFontColor: 'danger-6',
|
|
20
|
+
progressCircleFontWeight: 'Weight-regular',
|
|
12
21
|
progressLineHeight: 'Size-3',
|
|
13
22
|
progressLineGap: 'Spacing-8',
|
|
14
23
|
progressLineInnerHeight: 'Size-10',
|
|
@@ -17,8 +26,13 @@ var progressTokens = {
|
|
|
17
26
|
progressLineInnerFontColor: 'Neutral-text-1',
|
|
18
27
|
progressLineInnerFontSize: 'Font-12',
|
|
19
28
|
progressLineInnerRightFontColor: 'Neutral-text-5',
|
|
29
|
+
progressLineInnerInfoFrontBackgroundColor: 'Brand-6',
|
|
30
|
+
progressLineInnerWarningFrontBackgroundColor: 'Warning-6',
|
|
31
|
+
progressLineInnerSuccessFrontBackgroundColor: 'Success-6',
|
|
32
|
+
progressLineInnerDangerFrontBackgroundColor: 'Danger-6',
|
|
33
|
+
progressLinePopFontColor: 'Neutral-text-1',
|
|
20
34
|
progressLineIconSize: 'Size-7',
|
|
21
35
|
progressLineBackgroundColor: 'Neutral-fill-9',
|
|
22
|
-
|
|
36
|
+
progressLineFontWeight: 'Weight-regular'
|
|
23
37
|
};
|
|
24
38
|
export default progressTokens;
|
package/esm/progress/token.js
CHANGED
|
@@ -34,6 +34,11 @@ var progressTokenExtraValue = {
|
|
|
34
34
|
background: {
|
|
35
35
|
color: 'Brand-6'
|
|
36
36
|
}
|
|
37
|
+
},
|
|
38
|
+
inner: {
|
|
39
|
+
font: {
|
|
40
|
+
color: 'Neutral-text-1'
|
|
41
|
+
}
|
|
37
42
|
}
|
|
38
43
|
},
|
|
39
44
|
warning: {
|
|
@@ -41,6 +46,11 @@ var progressTokenExtraValue = {
|
|
|
41
46
|
background: {
|
|
42
47
|
color: 'Warning-6'
|
|
43
48
|
}
|
|
49
|
+
},
|
|
50
|
+
inner: {
|
|
51
|
+
font: {
|
|
52
|
+
color: 'Neutral-text-1'
|
|
53
|
+
}
|
|
44
54
|
}
|
|
45
55
|
},
|
|
46
56
|
success: {
|
|
@@ -48,6 +58,11 @@ var progressTokenExtraValue = {
|
|
|
48
58
|
background: {
|
|
49
59
|
color: 'Success-6'
|
|
50
60
|
}
|
|
61
|
+
},
|
|
62
|
+
inner: {
|
|
63
|
+
font: {
|
|
64
|
+
color: 'Neutral-text-1'
|
|
65
|
+
}
|
|
51
66
|
}
|
|
52
67
|
},
|
|
53
68
|
danger: {
|
|
@@ -55,6 +70,36 @@ var progressTokenExtraValue = {
|
|
|
55
70
|
background: {
|
|
56
71
|
color: 'Danger-6'
|
|
57
72
|
}
|
|
73
|
+
},
|
|
74
|
+
inner: {
|
|
75
|
+
font: {
|
|
76
|
+
color: 'Neutral-text-1'
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
circle: {
|
|
81
|
+
info: {
|
|
82
|
+
font: {
|
|
83
|
+
color: 'Neutral-text-4'
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
warning: {
|
|
87
|
+
font: {
|
|
88
|
+
color: 'Warning-6'
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
success: {
|
|
92
|
+
font: {
|
|
93
|
+
color: 'success-6'
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
danger: {
|
|
97
|
+
font: {
|
|
98
|
+
color: 'danger-6'
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
font: {
|
|
102
|
+
weight: 'Weight-regular'
|
|
58
103
|
}
|
|
59
104
|
},
|
|
60
105
|
line: {
|
|
@@ -74,6 +119,39 @@ var progressTokenExtraValue = {
|
|
|
74
119
|
font: {
|
|
75
120
|
color: 'Neutral-text-5'
|
|
76
121
|
}
|
|
122
|
+
},
|
|
123
|
+
info: {
|
|
124
|
+
front: {
|
|
125
|
+
background: {
|
|
126
|
+
color: 'Brand-6'
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
warning: {
|
|
131
|
+
front: {
|
|
132
|
+
background: {
|
|
133
|
+
color: 'Warning-6'
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
success: {
|
|
138
|
+
front: {
|
|
139
|
+
background: {
|
|
140
|
+
color: 'Success-6'
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
danger: {
|
|
145
|
+
front: {
|
|
146
|
+
background: {
|
|
147
|
+
color: 'Danger-6'
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
pop: {
|
|
153
|
+
font: {
|
|
154
|
+
color: 'Neutral-text-1'
|
|
77
155
|
}
|
|
78
156
|
},
|
|
79
157
|
icon: {
|
|
@@ -82,7 +160,9 @@ var progressTokenExtraValue = {
|
|
|
82
160
|
background: {
|
|
83
161
|
color: 'Neutral-fill-9'
|
|
84
162
|
},
|
|
85
|
-
|
|
163
|
+
font: {
|
|
164
|
+
weight: 'Weight-regular'
|
|
165
|
+
}
|
|
86
166
|
}
|
|
87
167
|
};
|
|
88
168
|
module.exports = {
|
package/esm/progress/type.d.ts
CHANGED
|
@@ -23,24 +23,78 @@ export interface ProgressTokens {
|
|
|
23
23
|
* @description 进度条基础色已完成进度的背景颜色
|
|
24
24
|
*/
|
|
25
25
|
progressInfoFrontBackgroundColor: string;
|
|
26
|
+
/**
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @token Neutral-text-1
|
|
29
|
+
* @description 进度条基础色内嵌文案模式字体颜色
|
|
30
|
+
*/
|
|
31
|
+
progressInfoInnerFontColor: string;
|
|
26
32
|
/**
|
|
27
33
|
* @type {string}
|
|
28
34
|
* @token Warning-6
|
|
29
35
|
* @description 进度条警告色已完成进度的背景颜色
|
|
30
36
|
*/
|
|
31
37
|
progressWarningFrontBackgroundColor: string;
|
|
38
|
+
/**
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @token Neutral-text-1
|
|
41
|
+
* @description 进度条警告色内嵌文案模式字体颜色
|
|
42
|
+
*/
|
|
43
|
+
progressWarningInnerFontColor: string;
|
|
32
44
|
/**
|
|
33
45
|
* @type {string}
|
|
34
46
|
* @token Success-6
|
|
35
47
|
* @description 进度条成功色已完成进度的背景颜色
|
|
36
48
|
*/
|
|
37
49
|
progressSuccessFrontBackgroundColor: string;
|
|
50
|
+
/**
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @token Neutral-text-1
|
|
53
|
+
* @description 进度条成功色内嵌文案模式字体颜色
|
|
54
|
+
*/
|
|
55
|
+
progressSuccessInnerFontColor: string;
|
|
38
56
|
/**
|
|
39
57
|
* @type {string}
|
|
40
58
|
* @token Danger-6
|
|
41
59
|
* @description 进度条危险色已完成进度的背景颜色
|
|
42
60
|
*/
|
|
43
61
|
progressDangerFrontBackgroundColor: string;
|
|
62
|
+
/**
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @token Neutral-text-1
|
|
65
|
+
* @description 进度条危险色内嵌文案模式字体颜色
|
|
66
|
+
*/
|
|
67
|
+
progressDangerInnerFontColor: string;
|
|
68
|
+
/**
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @token Neutral-text-4
|
|
71
|
+
* @description 进度条圆形基础色字体颜色
|
|
72
|
+
*/
|
|
73
|
+
progressCircleInfoFontColor: string;
|
|
74
|
+
/**
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @token Warning-6
|
|
77
|
+
* @description 进度条圆形警告色字体颜色
|
|
78
|
+
*/
|
|
79
|
+
progressCircleWarningFontColor: string;
|
|
80
|
+
/**
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @token success-6
|
|
83
|
+
* @description 进度条圆形成功色字体颜色
|
|
84
|
+
*/
|
|
85
|
+
progressCircleSuccessFontColor: string;
|
|
86
|
+
/**
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @token danger-6
|
|
89
|
+
* @description 进度条圆形危险色字体颜色
|
|
90
|
+
*/
|
|
91
|
+
progressCircleDangerFontColor: string;
|
|
92
|
+
/**
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @token Weight-regular
|
|
95
|
+
* @description 进度条圆形字体字重
|
|
96
|
+
*/
|
|
97
|
+
progressCircleFontWeight: string;
|
|
44
98
|
/**
|
|
45
99
|
* @type {string}
|
|
46
100
|
* @token Size-3
|
|
@@ -89,6 +143,36 @@ export interface ProgressTokens {
|
|
|
89
143
|
* @description 进度条行内嵌文案模式右侧的字体颜色
|
|
90
144
|
*/
|
|
91
145
|
progressLineInnerRightFontColor: string;
|
|
146
|
+
/**
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @token Brand-6
|
|
149
|
+
* @description 进度条行内嵌文案模式基础色已完成进度的背景颜色
|
|
150
|
+
*/
|
|
151
|
+
progressLineInnerInfoFrontBackgroundColor: string;
|
|
152
|
+
/**
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @token Warning-6
|
|
155
|
+
* @description 进度条行内嵌文案模式警告色已完成进度的背景颜色
|
|
156
|
+
*/
|
|
157
|
+
progressLineInnerWarningFrontBackgroundColor: string;
|
|
158
|
+
/**
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @token Success-6
|
|
161
|
+
* @description 进度条行内嵌文案模式成功色已完成进度的背景颜色
|
|
162
|
+
*/
|
|
163
|
+
progressLineInnerSuccessFrontBackgroundColor: string;
|
|
164
|
+
/**
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @token Danger-6
|
|
167
|
+
* @description 进度条行内嵌文案模式危险色已完成进度的背景颜色
|
|
168
|
+
*/
|
|
169
|
+
progressLineInnerDangerFrontBackgroundColor: string;
|
|
170
|
+
/**
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @token Neutral-text-1
|
|
173
|
+
* @description 进度条行undefined字体颜色
|
|
174
|
+
*/
|
|
175
|
+
progressLinePopFontColor: string;
|
|
92
176
|
/**
|
|
93
177
|
* @type {string}
|
|
94
178
|
* @token Size-7
|
|
@@ -103,9 +187,9 @@ export interface ProgressTokens {
|
|
|
103
187
|
progressLineBackgroundColor: string;
|
|
104
188
|
/**
|
|
105
189
|
* @type {string}
|
|
106
|
-
* @token
|
|
107
|
-
* @description
|
|
190
|
+
* @token Weight-regular
|
|
191
|
+
* @description 进度条行字体字重
|
|
108
192
|
*/
|
|
109
|
-
|
|
193
|
+
progressLineFontWeight: string;
|
|
110
194
|
}
|
|
111
195
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,yCAAyC,EAAE,MAAM,CAAC;IAClD;;;;OAIG;IACH,4CAA4C,EAAE,MAAM,CAAC;IACrD;;;;OAIG;IACH,4CAA4C,EAAE,MAAM,CAAC;IACrD;;;;OAIG;IACH,2CAA2C,EAAE,MAAM,CAAC;IACpD;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;CAChC"}
|
package/esm/rate/rate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["rate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["rate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UASjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/rate/rate.js
CHANGED
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
var rateTokens = {
|
|
5
5
|
rateFontColor: 'Neutral-text-5',
|
|
6
6
|
rateFontSize: 'Font-14',
|
|
7
|
-
|
|
7
|
+
rateFontWeight: 'Weight-regular',
|
|
8
|
+
rateGap: 'Spacing-6',
|
|
8
9
|
rateSize: 'Size-12',
|
|
10
|
+
rateTextGap: 'Spacing-10',
|
|
9
11
|
rateBackgroundColor: 'Neutral-fill-3',
|
|
10
12
|
rateFrontBackgroundColor: 'Warning-5'
|
|
11
13
|
};
|
package/esm/rate/token.js
CHANGED
|
@@ -23,10 +23,14 @@ var rateTokenValue = {};
|
|
|
23
23
|
var rateTokenExtraValue = {
|
|
24
24
|
font: {
|
|
25
25
|
color: 'Neutral-text-5',
|
|
26
|
-
size: 'Font-14'
|
|
26
|
+
size: 'Font-14',
|
|
27
|
+
weight: 'Weight-regular'
|
|
27
28
|
},
|
|
28
|
-
gap: '
|
|
29
|
+
gap: 'Spacing-6',
|
|
29
30
|
size: 'Size-12',
|
|
31
|
+
text: {
|
|
32
|
+
gap: 'Spacing-10'
|
|
33
|
+
},
|
|
30
34
|
background: {
|
|
31
35
|
color: 'Neutral-fill-3'
|
|
32
36
|
},
|
package/esm/rate/type.d.ts
CHANGED
|
@@ -13,7 +13,13 @@ export interface RateTokens {
|
|
|
13
13
|
rateFontSize: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
|
-
* @token
|
|
16
|
+
* @token Weight-regular
|
|
17
|
+
* @description 评分字体字重
|
|
18
|
+
*/
|
|
19
|
+
rateFontWeight: string;
|
|
20
|
+
/**
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @token Spacing-6
|
|
17
23
|
* @description 评分间距
|
|
18
24
|
*/
|
|
19
25
|
rateGap: string;
|
|
@@ -23,6 +29,12 @@ export interface RateTokens {
|
|
|
23
29
|
* @description 评分字号
|
|
24
30
|
*/
|
|
25
31
|
rateSize: string;
|
|
32
|
+
/**
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @token Spacing-10
|
|
35
|
+
* @description 评分undefined间距
|
|
36
|
+
*/
|
|
37
|
+
rateTextGap: string;
|
|
26
38
|
/**
|
|
27
39
|
* @type {string}
|
|
28
40
|
* @token Neutral-fill-3
|
package/esm/rate/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,YA6FnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/esm/select/select.js
CHANGED
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
var selectTokens = {
|
|
5
5
|
selectFontSize: 'Font-14',
|
|
6
6
|
selectFontColor: 'Neutral-text-5',
|
|
7
|
-
|
|
7
|
+
selectFontWeight: 'Weight-regular',
|
|
8
|
+
selectBorderRadius: 'Radius-default',
|
|
8
9
|
selectBorderColor: 'Neutral-border-2',
|
|
10
|
+
selectBorderWidth: 'Border-1',
|
|
9
11
|
selectPaddingX: 'Spacing-8',
|
|
10
12
|
selectPaddingY: 'Spacing-2',
|
|
11
13
|
selectIconSize: 'Size-7',
|
|
@@ -30,26 +32,35 @@ var selectTokens = {
|
|
|
30
32
|
selectClearPadding: 'Spacing-8',
|
|
31
33
|
selectHoverBorderColor: 'Brand-6',
|
|
32
34
|
selectHoverClearColor: 'Neutral-text-4',
|
|
35
|
+
selectHoverBackgroundColor: 'Neutral-fill-1',
|
|
33
36
|
selectFocusBorderColor: 'Brand-7',
|
|
34
37
|
selectFocusShadow: 'Brand-2',
|
|
38
|
+
selectFocusBackgroundColor: 'Neutral-fill-1',
|
|
35
39
|
selectDisabledIconColor: 'Neutral-text-2',
|
|
36
40
|
selectDisabledFontColor: 'Neutral-text-2',
|
|
37
41
|
selectDisabledPlaceholderColor: 'Neutral-text-2',
|
|
38
42
|
selectDisabledBorderColor: 'Neutral-border-1',
|
|
39
43
|
selectDisabledBackgroundColor: 'Neutral-fill-2',
|
|
40
|
-
selectResultTextBorderRadius: 'Radius-
|
|
44
|
+
selectResultTextBorderRadius: 'Radius-default',
|
|
41
45
|
selectResultTextPaddingX: 'Spacing-4',
|
|
42
46
|
selectResultTextSmallPaddingX: 'Spacing-4',
|
|
43
47
|
selectResultTextLargePaddingX: 'Spacing-10',
|
|
44
48
|
selectResultTextActiveBackgroundColor: 'Brand-1',
|
|
45
49
|
selectErrorBorderColor: 'Danger-6',
|
|
50
|
+
selectErrorBackgroundColor: 'Neutral-fill-1',
|
|
46
51
|
selectErrorFocusShadow: 'Danger-1',
|
|
52
|
+
selectErrorFocusBackgroundColor: 'Neutral-fill-1',
|
|
53
|
+
selectErrorFocusBorderColor: 'Danger-6',
|
|
54
|
+
selectErrorHoverBackgroundColor: 'Neutral-fill-1',
|
|
55
|
+
selectErrorHoverBorderColor: 'Danger-6',
|
|
47
56
|
selectPanelColor: 'Neutral-text-5',
|
|
48
57
|
selectPanelBackgroundColor: 'Neutral-fill-1',
|
|
49
58
|
selectPanelShadow: 'Shadow-2',
|
|
50
|
-
selectPanelRadius: 'Radius-
|
|
59
|
+
selectPanelRadius: 'Radius-default',
|
|
51
60
|
selectPanelBorder: 'Neutral-border-1',
|
|
52
61
|
selectOptionHeight: 'Size-16',
|
|
62
|
+
selectOptionBackgroundColor: 'Neutral-fill-1',
|
|
63
|
+
selectOptionFontColor: 'Neutral-text-5',
|
|
53
64
|
selectOptionPaddingX: 'Spacing-4',
|
|
54
65
|
selectOptionPaddingY: 'Spacing-1',
|
|
55
66
|
selectOptionActiveColor: 'Brand-6',
|
|
@@ -57,15 +68,18 @@ var selectTokens = {
|
|
|
57
68
|
selectOptionInnerPaddingX: 'Spacing-8',
|
|
58
69
|
selectOptionInnerPaddingY: 'Spacing-5',
|
|
59
70
|
selectOptionInnerPaddingRight: 'Size-15',
|
|
60
|
-
selectOptionInnerBorderRadius: 'Radius-
|
|
71
|
+
selectOptionInnerBorderRadius: 'Radius-lesser',
|
|
61
72
|
selectOptionHoverBackgroundColor: 'Neutral-fill-2',
|
|
73
|
+
selectOptionHoverFontColor: 'Neutral-text-5',
|
|
62
74
|
selectOptionDisabledColor: 'Neutral-text-2',
|
|
63
75
|
selectOptionDisabledBackgroundColor: 'Neutral-fill-1',
|
|
64
76
|
selectMorePadding: 'Spacing-8',
|
|
65
|
-
|
|
77
|
+
selectHeaderPaddingX: 'Spacing-8',
|
|
78
|
+
selectHeaderPaddingY: 'Spacing-8',
|
|
66
79
|
selectHeaderBorderColor: 'Neutral-border-1',
|
|
67
80
|
selectGroupTitleFontColor: 'Neutral-text-3',
|
|
68
81
|
selectGroupTitleFontSize: 'Font-12',
|
|
82
|
+
selectGroupTitleFontWeight: 'Weight-regular',
|
|
69
83
|
selectGroupTitlePaddingX: 'Spacing-12',
|
|
70
84
|
selectGroupTitlePaddingTop: 'Spacing-10',
|
|
71
85
|
selectGroupTitlePaddingBottom: 'Spacing-2',
|
|
@@ -76,7 +90,9 @@ var selectTokens = {
|
|
|
76
90
|
selectGroupTitleLargeBottom: 'Spacing-4',
|
|
77
91
|
selectColumnPadding: 'Spacing-8',
|
|
78
92
|
selectColumnOptionMargin: 'Spacing-8',
|
|
79
|
-
selectColumnBorderRadius: 'Radius-
|
|
80
|
-
selectColumnBackgroundColor: 'Neutral-fill-2'
|
|
93
|
+
selectColumnBorderRadius: 'Radius-default',
|
|
94
|
+
selectColumnBackgroundColor: 'Neutral-fill-2',
|
|
95
|
+
selectLoadingSpinColor: 'Brand-6',
|
|
96
|
+
selectEmptyFontColor: 'Neutral-text-2'
|
|
81
97
|
};
|
|
82
98
|
export default selectTokens;
|