@sheinx/theme 3.0.0-alpha.9 → 3.0.0-rc.1
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/token.js +4 -1
- package/cjs/alert/type.d.ts +4 -4
- package/cjs/breadcrumb/token.js +6 -1
- package/cjs/breadcrumb/type.d.ts +16 -16
- package/cjs/button/button.d.ts.map +1 -1
- package/cjs/button/button.js +40 -25
- package/cjs/button/rule.js +1 -1
- package/cjs/button/token.js +248 -26
- package/cjs/button/type.d.ts +116 -26
- package/cjs/button/type.d.ts.map +1 -1
- package/cjs/card/token.js +6 -1
- package/cjs/card/type.d.ts +13 -13
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +6 -0
- package/cjs/cascader/token.js +27 -4
- package/cjs/cascader/type.d.ts +48 -12
- package/cjs/cascader/type.d.ts.map +1 -1
- package/cjs/checkbox/token.js +5 -1
- package/cjs/checkbox/type.d.ts +13 -13
- package/cjs/collapse/token.js +9 -1
- package/cjs/collapse/type.d.ts +25 -25
- package/cjs/common/common.d.ts.map +1 -1
- package/cjs/common/common.js +2 -1
- package/cjs/common/type.d.ts +7 -0
- package/cjs/common/type.d.ts.map +1 -1
- package/cjs/config.d.ts +19 -4
- package/cjs/config.d.ts.map +1 -1
- package/cjs/config.js +50 -10
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +1 -0
- package/cjs/date-picker/token.js +1 -0
- package/cjs/date-picker/type.d.ts +6 -0
- package/cjs/date-picker/type.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +5 -7
- package/cjs/descriptions/rule.js +3 -3
- package/cjs/descriptions/token.js +33 -24
- package/cjs/descriptions/type.d.ts +41 -53
- package/cjs/descriptions/type.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.js +6 -3
- package/cjs/dropdown/rule.js +1 -1
- package/cjs/dropdown/token.js +19 -2
- package/cjs/dropdown/type.d.ts +70 -52
- package/cjs/dropdown/type.d.ts.map +1 -1
- package/cjs/form/token.js +8 -2
- package/cjs/form/type.d.ts +11 -11
- package/cjs/icon/icon.d.ts +2 -2
- package/cjs/icon/icon.d.ts.map +1 -1
- package/cjs/icon/icon.js +2 -2
- package/cjs/icon/token.js +3 -1
- package/cjs/icon/type.d.ts +1 -1
- package/cjs/image/token.js +2 -1
- package/cjs/image/type.d.ts +1 -1
- package/cjs/index.d.ts +3 -1
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +14 -0
- package/cjs/input/token.js +5 -1
- package/cjs/input/type.d.ts +12 -12
- package/cjs/list/token.js +4 -1
- package/cjs/list/type.d.ts +12 -12
- package/cjs/menu/token.js +8 -1
- package/cjs/menu/type.d.ts +29 -29
- package/cjs/message/token.js +3 -1
- package/cjs/message/type.d.ts +5 -5
- package/cjs/modal/modal.d.ts.map +1 -1
- package/cjs/modal/modal.js +2 -1
- package/cjs/modal/token.js +17 -2
- package/cjs/modal/type.d.ts +34 -28
- package/cjs/modal/type.d.ts.map +1 -1
- package/cjs/popover/token.js +2 -1
- package/cjs/popover/type.d.ts +1 -1
- package/cjs/progress/token.js +6 -1
- package/cjs/progress/type.d.ts +18 -18
- package/cjs/radio/token.js +8 -1
- package/cjs/radio/type.d.ts +14 -14
- package/cjs/rate/rate.js +1 -1
- package/cjs/rate/token.js +4 -2
- package/cjs/rate/type.d.ts +7 -7
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +2 -0
- package/cjs/select/token.js +10 -2
- package/cjs/select/type.d.ts +23 -11
- package/cjs/select/type.d.ts.map +1 -1
- package/cjs/slider/slider.js +1 -1
- package/cjs/slider/token.js +8 -2
- package/cjs/slider/type.d.ts +25 -25
- package/cjs/slider/type.d.ts.map +1 -1
- package/cjs/spin/token.js +2 -1
- package/cjs/spin/type.d.ts +1 -1
- package/cjs/steps/token.js +2 -1
- package/cjs/steps/type.d.ts +1 -1
- package/cjs/sticky/token.js +1 -1
- package/cjs/sticky/type.d.ts +1 -1
- package/cjs/switch/token.js +6 -1
- package/cjs/switch/type.d.ts +32 -32
- package/cjs/table/token.js +13 -1
- package/cjs/table/type.d.ts +28 -28
- package/cjs/tabs/token.js +6 -1
- package/cjs/tabs/type.d.ts +7 -7
- package/cjs/tag/tag.js +1 -1
- package/cjs/tag/token.js +5 -3
- package/cjs/tag/type.d.ts +169 -169
- package/cjs/textarea/token.js +6 -1
- package/cjs/textarea/type.d.ts +29 -29
- package/cjs/token/figma.js +497 -15
- package/cjs/token/token.d.ts.map +1 -1
- package/cjs/token/token.js +97 -3
- package/cjs/token/type.d.ts +670 -12
- package/cjs/token/type.d.ts.map +1 -1
- package/cjs/tooltip/token.js +4 -2
- package/cjs/tooltip/tooltip.js +1 -1
- package/cjs/tooltip/type.d.ts +5 -5
- package/cjs/transfer/token.js +3 -1
- package/cjs/transfer/type.d.ts +2 -2
- package/cjs/tree/token.js +5 -1
- package/cjs/tree/type.d.ts +13 -13
- package/cjs/tree-select/token.js +5 -2
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +1 -0
- package/cjs/tree-select/type.d.ts +9 -3
- package/cjs/tree-select/type.d.ts.map +1 -1
- 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 +5 -2
- package/cjs/utils/notification.d.ts +16 -0
- package/cjs/utils/notification.d.ts.map +1 -0
- package/cjs/utils/notification.js +52 -0
- package/cjs/utils/token-setter.d.ts +57 -0
- package/cjs/utils/token-setter.d.ts.map +1 -0
- package/cjs/utils/token-setter.js +74 -0
- package/esm/alert/token.js +4 -1
- package/esm/alert/type.d.ts +4 -4
- package/esm/breadcrumb/token.js +6 -1
- package/esm/breadcrumb/type.d.ts +16 -16
- package/esm/button/button.d.ts.map +1 -1
- package/esm/button/button.js +40 -25
- package/esm/button/rule.js +1 -1
- package/esm/button/token.js +248 -26
- package/esm/button/type.d.ts +116 -26
- package/esm/button/type.d.ts.map +1 -1
- package/esm/card/token.js +6 -1
- package/esm/card/type.d.ts +13 -13
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +6 -0
- package/esm/cascader/token.js +27 -4
- package/esm/cascader/type.d.ts +48 -12
- package/esm/cascader/type.d.ts.map +1 -1
- package/esm/checkbox/token.js +5 -1
- package/esm/checkbox/type.d.ts +13 -13
- package/esm/collapse/token.js +9 -1
- package/esm/collapse/type.d.ts +25 -25
- package/esm/common/common.d.ts.map +1 -1
- package/esm/common/common.js +2 -1
- package/esm/common/type.d.ts +7 -0
- package/esm/common/type.d.ts.map +1 -1
- package/esm/config.d.ts +19 -4
- package/esm/config.d.ts.map +1 -1
- package/esm/config.js +50 -10
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +1 -0
- package/esm/date-picker/token.js +1 -0
- package/esm/date-picker/type.d.ts +6 -0
- package/esm/date-picker/type.d.ts.map +1 -1
- package/esm/descriptions/descriptions.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +5 -7
- package/esm/descriptions/rule.js +3 -3
- package/esm/descriptions/token.js +33 -24
- package/esm/descriptions/type.d.ts +41 -53
- package/esm/descriptions/type.d.ts.map +1 -1
- package/esm/dropdown/dropdown.d.ts.map +1 -1
- package/esm/dropdown/dropdown.js +6 -3
- package/esm/dropdown/rule.js +1 -1
- package/esm/dropdown/token.js +19 -2
- package/esm/dropdown/type.d.ts +70 -52
- package/esm/dropdown/type.d.ts.map +1 -1
- package/esm/form/token.js +8 -2
- package/esm/form/type.d.ts +11 -11
- package/esm/icon/icon.d.ts +2 -2
- package/esm/icon/icon.d.ts.map +1 -1
- package/esm/icon/icon.js +2 -2
- package/esm/icon/token.js +3 -1
- package/esm/icon/type.d.ts +1 -1
- package/esm/image/token.js +2 -1
- package/esm/image/type.d.ts +1 -1
- package/esm/index.d.ts +3 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +14 -0
- package/esm/input/token.js +5 -1
- package/esm/input/type.d.ts +12 -12
- package/esm/list/token.js +4 -1
- package/esm/list/type.d.ts +12 -12
- package/esm/menu/token.js +8 -1
- package/esm/menu/type.d.ts +29 -29
- package/esm/message/token.js +3 -1
- package/esm/message/type.d.ts +5 -5
- package/esm/modal/modal.d.ts.map +1 -1
- package/esm/modal/modal.js +2 -1
- package/esm/modal/token.js +17 -2
- package/esm/modal/type.d.ts +34 -28
- package/esm/modal/type.d.ts.map +1 -1
- package/esm/popover/token.js +2 -1
- package/esm/popover/type.d.ts +1 -1
- package/esm/progress/token.js +6 -1
- package/esm/progress/type.d.ts +18 -18
- package/esm/radio/token.js +8 -1
- package/esm/radio/type.d.ts +14 -14
- package/esm/rate/rate.js +1 -1
- package/esm/rate/token.js +4 -2
- package/esm/rate/type.d.ts +7 -7
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +2 -0
- package/esm/select/token.js +10 -2
- package/esm/select/type.d.ts +23 -11
- package/esm/select/type.d.ts.map +1 -1
- package/esm/slider/slider.js +1 -1
- package/esm/slider/token.js +8 -2
- package/esm/slider/type.d.ts +25 -25
- package/esm/slider/type.d.ts.map +1 -1
- package/esm/spin/token.js +2 -1
- package/esm/spin/type.d.ts +1 -1
- package/esm/steps/token.js +2 -1
- package/esm/steps/type.d.ts +1 -1
- package/esm/sticky/token.js +1 -1
- package/esm/sticky/type.d.ts +1 -1
- package/esm/switch/token.js +6 -1
- package/esm/switch/type.d.ts +32 -32
- package/esm/table/token.js +13 -1
- package/esm/table/type.d.ts +28 -28
- package/esm/tabs/token.js +6 -1
- package/esm/tabs/type.d.ts +7 -7
- package/esm/tag/tag.js +1 -1
- package/esm/tag/token.js +5 -3
- package/esm/tag/type.d.ts +169 -169
- package/esm/textarea/token.js +6 -1
- package/esm/textarea/type.d.ts +29 -29
- package/esm/token/figma.js +497 -15
- package/esm/token/token.d.ts.map +1 -1
- package/esm/token/token.js +97 -3
- package/esm/token/type.d.ts +670 -12
- package/esm/token/type.d.ts.map +1 -1
- package/esm/tooltip/token.js +4 -2
- package/esm/tooltip/tooltip.js +1 -1
- package/esm/tooltip/type.d.ts +5 -5
- package/esm/transfer/token.js +3 -1
- package/esm/transfer/type.d.ts +2 -2
- package/esm/tree/token.js +5 -1
- package/esm/tree/type.d.ts +13 -13
- package/esm/tree-select/token.js +5 -2
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +1 -0
- package/esm/tree-select/type.d.ts +9 -3
- package/esm/tree-select/type.d.ts.map +1 -1
- 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 -2
- package/esm/utils/notification.d.ts +16 -0
- package/esm/utils/notification.d.ts.map +1 -0
- package/esm/utils/notification.js +52 -0
- package/esm/utils/token-setter.d.ts +57 -0
- package/esm/utils/token-setter.d.ts.map +1 -0
- package/esm/utils/token-setter.js +74 -0
- package/package.json +5 -2
package/cjs/modal/type.d.ts
CHANGED
|
@@ -2,163 +2,169 @@ export interface ModalTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token rgba(2, 11, 24, 0.3)
|
|
5
|
-
* @description
|
|
5
|
+
* @description 对话框遮罩层背景
|
|
6
6
|
*/
|
|
7
7
|
modalMaskBackground: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token rgba(2, 11, 24, 0.01)
|
|
11
|
-
* @description
|
|
11
|
+
* @description 对话框遮罩层浅色背景
|
|
12
12
|
*/
|
|
13
13
|
modalMaskLightBackground: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Padding-24
|
|
17
|
-
* @description
|
|
17
|
+
* @description 对话框面板内边距(垂直方向)
|
|
18
18
|
*/
|
|
19
19
|
modalPanelPaddingY: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Padding-24
|
|
23
|
-
* @description
|
|
23
|
+
* @description 对话框面板内边距(水平方向)
|
|
24
24
|
*/
|
|
25
25
|
modalPanelPaddingX: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token Neutral-fill-1
|
|
29
|
-
* @description
|
|
29
|
+
* @description 对话框面板背景
|
|
30
30
|
*/
|
|
31
31
|
modalPanelBackground: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @token Shadow-
|
|
35
|
-
* @description
|
|
34
|
+
* @token Shadow-3
|
|
35
|
+
* @description 对话框面板阴影
|
|
36
36
|
*/
|
|
37
37
|
modalPanelShadow: string;
|
|
38
|
+
/**
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @token Neutral-border-1
|
|
41
|
+
* @description 对话框面板边框
|
|
42
|
+
*/
|
|
43
|
+
modalPanelBorder: string;
|
|
38
44
|
/**
|
|
39
45
|
* @type {string}
|
|
40
46
|
* @token Padding-16
|
|
41
|
-
* @description
|
|
47
|
+
* @description 对话框面板间距
|
|
42
48
|
*/
|
|
43
49
|
modalPanelGap: string;
|
|
44
50
|
/**
|
|
45
51
|
* @type {string}
|
|
46
52
|
* @token Radius-4
|
|
47
|
-
* @description
|
|
53
|
+
* @description 对话框面板圆角
|
|
48
54
|
*/
|
|
49
55
|
modalPanelRadius: string;
|
|
50
56
|
/**
|
|
51
57
|
* @type {string}
|
|
52
58
|
* @token 14/regular
|
|
53
|
-
* @description
|
|
59
|
+
* @description 对话框面板字体字号
|
|
54
60
|
*/
|
|
55
61
|
modalPanelFontSize: string;
|
|
56
62
|
/**
|
|
57
63
|
* @type {string}
|
|
58
64
|
* @token Margin-8
|
|
59
|
-
* @description
|
|
65
|
+
* @description 对话框头部区域图标外边距(右侧)
|
|
60
66
|
*/
|
|
61
67
|
modalHeaderIconMarginEnd: string;
|
|
62
68
|
/**
|
|
63
69
|
* @type {string}
|
|
64
70
|
* @token Size-2
|
|
65
|
-
* @description
|
|
71
|
+
* @description 对话框头部区域图标外边距顶部距离
|
|
66
72
|
*/
|
|
67
73
|
modalHeaderIconMarginTop: string;
|
|
68
74
|
/**
|
|
69
75
|
* @type {string}
|
|
70
76
|
* @token Size-8
|
|
71
|
-
* @description
|
|
77
|
+
* @description 对话框头部区域图标字号
|
|
72
78
|
*/
|
|
73
79
|
modalHeaderIconSize: string;
|
|
74
80
|
/**
|
|
75
81
|
* @type {string}
|
|
76
82
|
* @token Margin-16
|
|
77
|
-
* @description
|
|
83
|
+
* @description 对话框头部区域关闭icon的外边距(水平方向)(左侧)
|
|
78
84
|
*/
|
|
79
85
|
modalHeaderCloseMarginXStart: string;
|
|
80
86
|
/**
|
|
81
87
|
* @type {string}
|
|
82
88
|
* @token Size-8
|
|
83
|
-
* @description
|
|
89
|
+
* @description 对话框头部区域关闭icon的字号
|
|
84
90
|
*/
|
|
85
91
|
modalHeaderCloseSize: string;
|
|
86
92
|
/**
|
|
87
93
|
* @type {string}
|
|
88
94
|
* @token Size-2
|
|
89
|
-
* @description
|
|
95
|
+
* @description 对话框头部区域关闭icon的顶部距离
|
|
90
96
|
*/
|
|
91
97
|
modalHeaderCloseTop: string;
|
|
92
98
|
/**
|
|
93
99
|
* @type {string}
|
|
94
100
|
* @token Neutral-text-4
|
|
95
|
-
* @description
|
|
101
|
+
* @description 对话框头部区域关闭icon的颜色
|
|
96
102
|
*/
|
|
97
103
|
modalHeaderCloseColor: string;
|
|
98
104
|
/**
|
|
99
105
|
* @type {string}
|
|
100
106
|
* @token Neutral-fill-2
|
|
101
|
-
* @description
|
|
107
|
+
* @description 对话框头部区域关闭icon的背景颜色
|
|
102
108
|
*/
|
|
103
109
|
modalHeaderCloseBackgroundColor: string;
|
|
104
110
|
/**
|
|
105
111
|
* @type {string}
|
|
106
112
|
* @token 16/regular
|
|
107
|
-
* @description
|
|
113
|
+
* @description 对话框头部区域字体字号
|
|
108
114
|
*/
|
|
109
115
|
modalHeaderFontSize: string;
|
|
110
116
|
/**
|
|
111
117
|
* @type {string}
|
|
112
118
|
* @token Padding-12
|
|
113
|
-
* @description
|
|
119
|
+
* @description 对话框抽屉模式标题的内边距(垂直方向)
|
|
114
120
|
*/
|
|
115
121
|
modalDrawerTitlePaddingY: string;
|
|
116
122
|
/**
|
|
117
123
|
* @type {string}
|
|
118
124
|
* @token Padding-16
|
|
119
|
-
* @description
|
|
125
|
+
* @description 对话框抽屉模式标题的内边距(水平方向)
|
|
120
126
|
*/
|
|
121
127
|
modalDrawerTitlePaddingX: string;
|
|
122
128
|
/**
|
|
123
129
|
* @type {string}
|
|
124
130
|
* @token Neutral-fill-2
|
|
125
|
-
* @description
|
|
131
|
+
* @description 对话框抽屉模式标题的背景颜色
|
|
126
132
|
*/
|
|
127
133
|
modalDrawerTitleBackgroundColor: string;
|
|
128
134
|
/**
|
|
129
135
|
* @type {string}
|
|
130
136
|
* @token Padding-16
|
|
131
|
-
* @description
|
|
137
|
+
* @description 对话框抽屉模式主区域内边距(垂直方向)
|
|
132
138
|
*/
|
|
133
139
|
modalDrawerBodyPaddingY: string;
|
|
134
140
|
/**
|
|
135
141
|
* @type {string}
|
|
136
142
|
* @token Padding-16
|
|
137
|
-
* @description
|
|
143
|
+
* @description 对话框抽屉模式主区域内边距(水平方向)
|
|
138
144
|
*/
|
|
139
145
|
modalDrawerBodyPaddingX: string;
|
|
140
146
|
/**
|
|
141
147
|
* @type {string}
|
|
142
148
|
* @token Padding-16
|
|
143
|
-
* @description
|
|
149
|
+
* @description 对话框抽屉模式底部区域内边距(垂直方向)
|
|
144
150
|
*/
|
|
145
151
|
modalDrawerFooterPaddingY: string;
|
|
146
152
|
/**
|
|
147
153
|
* @type {string}
|
|
148
154
|
* @token Padding-16
|
|
149
|
-
* @description
|
|
155
|
+
* @description 对话框抽屉模式底部区域内边距(水平方向)
|
|
150
156
|
*/
|
|
151
157
|
modalDrawerFooterPaddingX: string;
|
|
152
158
|
/**
|
|
153
159
|
* @type {string}
|
|
154
160
|
* @token Neutral-fill-3
|
|
155
|
-
* @description
|
|
161
|
+
* @description 对话框抽屉模式关闭icon的背景颜色
|
|
156
162
|
*/
|
|
157
163
|
modalDrawerCloseBackgroundColor: string;
|
|
158
164
|
/**
|
|
159
165
|
* @type {string}
|
|
160
166
|
* @token 14/regular
|
|
161
|
-
* @description
|
|
167
|
+
* @description 对话框字体字号
|
|
162
168
|
*/
|
|
163
169
|
modalFontSize: string;
|
|
164
170
|
}
|
package/cjs/modal/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
package/cjs/popover/token.js
CHANGED
package/cjs/popover/type.d.ts
CHANGED
package/cjs/progress/token.js
CHANGED
package/cjs/progress/type.d.ts
CHANGED
|
@@ -2,109 +2,109 @@ export interface ProgressTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token 14/regular
|
|
5
|
-
* @description
|
|
5
|
+
* @description 进度条字体字号
|
|
6
6
|
*/
|
|
7
7
|
progressFontSize: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token Neutral-text-4
|
|
11
|
-
* @description
|
|
11
|
+
* @description 进度条字体颜色
|
|
12
12
|
*/
|
|
13
13
|
progressFontColor: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Neutral-fill-3
|
|
17
|
-
* @description
|
|
17
|
+
* @description 进度条背景
|
|
18
18
|
*/
|
|
19
19
|
progressBackground: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Brand-6
|
|
23
|
-
* @description
|
|
23
|
+
* @description 进度条基础色已完成进度的背景颜色
|
|
24
24
|
*/
|
|
25
25
|
progressInfoFrontBackgroundColor: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token Warning-6
|
|
29
|
-
* @description
|
|
29
|
+
* @description 进度条警告色已完成进度的背景颜色
|
|
30
30
|
*/
|
|
31
31
|
progressWarningFrontBackgroundColor: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @token Success-6
|
|
35
|
-
* @description
|
|
35
|
+
* @description 进度条成功色已完成进度的背景颜色
|
|
36
36
|
*/
|
|
37
37
|
progressSuccessFrontBackgroundColor: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @token Danger-6
|
|
41
|
-
* @description
|
|
41
|
+
* @description 进度条危险色已完成进度的背景颜色
|
|
42
42
|
*/
|
|
43
43
|
progressDangerFrontBackgroundColor: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @token Size-3
|
|
47
|
-
* @description
|
|
47
|
+
* @description 进度条行高度
|
|
48
48
|
*/
|
|
49
49
|
progressLineHeight: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @token Margin-8
|
|
53
|
-
* @description
|
|
53
|
+
* @description 进度条行间距
|
|
54
54
|
*/
|
|
55
55
|
progressLineGap: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @token Size-10
|
|
59
|
-
* @description
|
|
59
|
+
* @description 进度条行内嵌文案模式高度
|
|
60
60
|
*/
|
|
61
61
|
progressLineInnerHeight: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @token Margin-8
|
|
65
|
-
* @description
|
|
65
|
+
* @description 进度条行内嵌文案模式间距
|
|
66
66
|
*/
|
|
67
67
|
progressLineInnerGap: string;
|
|
68
68
|
/**
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @token Padding-8
|
|
71
|
-
* @description
|
|
71
|
+
* @description 进度条行内嵌文案模式内边距(水平方向)
|
|
72
72
|
*/
|
|
73
73
|
progressLineInnerPaddingX: string;
|
|
74
74
|
/**
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @token Neutral-text-1
|
|
77
|
-
* @description
|
|
77
|
+
* @description 进度条行内嵌文案模式字体颜色
|
|
78
78
|
*/
|
|
79
79
|
progressLineInnerFontColor: string;
|
|
80
80
|
/**
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @token 12/regular
|
|
83
|
-
* @description
|
|
83
|
+
* @description 进度条行内嵌文案模式字体字号
|
|
84
84
|
*/
|
|
85
85
|
progressLineInnerFontSize: string;
|
|
86
86
|
/**
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @token Neutral-text-5
|
|
89
|
-
* @description
|
|
89
|
+
* @description 进度条行内嵌文案模式右侧的字体颜色
|
|
90
90
|
*/
|
|
91
91
|
progressLineInnerRightFontColor: string;
|
|
92
92
|
/**
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @token Size-7
|
|
95
|
-
* @description
|
|
95
|
+
* @description 进度条行图标字号
|
|
96
96
|
*/
|
|
97
97
|
progressLineIconSize: string;
|
|
98
98
|
/**
|
|
99
99
|
* @type {string}
|
|
100
100
|
* @token Neutral-fill-9
|
|
101
|
-
* @description
|
|
101
|
+
* @description 进度条行背景颜色
|
|
102
102
|
*/
|
|
103
103
|
progressLineBackgroundColor: string;
|
|
104
104
|
/**
|
|
105
105
|
* @type {string}
|
|
106
106
|
* @token Neutral-text-1
|
|
107
|
-
* @description
|
|
107
|
+
* @description 进度条行颜色
|
|
108
108
|
*/
|
|
109
109
|
progressLineColor: string;
|
|
110
110
|
}
|
package/cjs/radio/token.js
CHANGED
package/cjs/radio/type.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ export interface RadioTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token Margin-24
|
|
5
|
-
* @description
|
|
5
|
+
* @description 单选框间距
|
|
6
6
|
*/
|
|
7
7
|
radioGap: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token Margin-12
|
|
11
|
-
* @description
|
|
11
|
+
* @description 单选框块级间距
|
|
12
12
|
*/
|
|
13
13
|
radioBlockGap: string;
|
|
14
14
|
/**
|
|
@@ -20,7 +20,7 @@ export interface RadioTokens {
|
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Margin-8
|
|
23
|
-
* @description
|
|
23
|
+
* @description 单选框图标间距
|
|
24
24
|
*/
|
|
25
25
|
radioIconGap: string;
|
|
26
26
|
/**
|
|
@@ -74,37 +74,37 @@ export interface RadioTokens {
|
|
|
74
74
|
/**
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @token Neutral-fill-1
|
|
77
|
-
* @description
|
|
77
|
+
* @description 单选框图标选中状态下的背景颜色
|
|
78
78
|
*/
|
|
79
79
|
radioIconCheckedBackgroundColor: string;
|
|
80
80
|
/**
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @token Brand-6
|
|
83
|
-
* @description
|
|
83
|
+
* @description 单选框图标选中状态下的颜色
|
|
84
84
|
*/
|
|
85
85
|
radioIconCheckedColor: string;
|
|
86
86
|
/**
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @token Neutral-fill-1
|
|
89
|
-
* @description
|
|
89
|
+
* @description 单选框图标选中状态下的禁用时的背景颜色
|
|
90
90
|
*/
|
|
91
91
|
radioIconCheckedDisabledBackgroundColor: string;
|
|
92
92
|
/**
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @token Brand-3
|
|
95
|
-
* @description
|
|
95
|
+
* @description 单选框图标选中状态下的禁用时的颜色
|
|
96
96
|
*/
|
|
97
97
|
radioIconCheckedDisabledColor: string;
|
|
98
98
|
/**
|
|
99
99
|
* @type {string}
|
|
100
100
|
* @token Neutral-fill-2
|
|
101
|
-
* @description
|
|
101
|
+
* @description 单选框图标包裹层填充色
|
|
102
102
|
*/
|
|
103
103
|
radioIconWrapperFill: string;
|
|
104
104
|
/**
|
|
105
105
|
* @type {string}
|
|
106
106
|
* @token Neutral-fill-3
|
|
107
|
-
* @description
|
|
107
|
+
* @description 单选框图标包裹层暗色模式
|
|
108
108
|
*/
|
|
109
109
|
radioIconWrapperDark: string;
|
|
110
110
|
/**
|
|
@@ -134,7 +134,7 @@ export interface RadioTokens {
|
|
|
134
134
|
/**
|
|
135
135
|
* @type {string}
|
|
136
136
|
* @token 12/regular
|
|
137
|
-
* @description
|
|
137
|
+
* @description 单选框小尺寸文案字体字号
|
|
138
138
|
*/
|
|
139
139
|
radioSmallLabelFontSize: string;
|
|
140
140
|
/**
|
|
@@ -164,7 +164,7 @@ export interface RadioTokens {
|
|
|
164
164
|
/**
|
|
165
165
|
* @type {string}
|
|
166
166
|
* @token 16/regular
|
|
167
|
-
* @description
|
|
167
|
+
* @description 单选框大尺寸文案字体字号
|
|
168
168
|
*/
|
|
169
169
|
radioLargeLabelFontSize: string;
|
|
170
170
|
/**
|
|
@@ -176,19 +176,19 @@ export interface RadioTokens {
|
|
|
176
176
|
/**
|
|
177
177
|
* @type {string}
|
|
178
178
|
* @token Neutral-text-5
|
|
179
|
-
* @description
|
|
179
|
+
* @description 单选框文案字体颜色
|
|
180
180
|
*/
|
|
181
181
|
radioLabelFontColor: string;
|
|
182
182
|
/**
|
|
183
183
|
* @type {string}
|
|
184
184
|
* @token 14/regular
|
|
185
|
-
* @description
|
|
185
|
+
* @description 单选框文案字体字号
|
|
186
186
|
*/
|
|
187
187
|
radioLabelFontSize: string;
|
|
188
188
|
/**
|
|
189
189
|
* @type {string}
|
|
190
190
|
* @token Neutral-text-2
|
|
191
|
-
* @description
|
|
191
|
+
* @description 单选框文案禁用时的字体颜色
|
|
192
192
|
*/
|
|
193
193
|
radioLabelDisabledFontColor: string;
|
|
194
194
|
}
|
package/cjs/rate/rate.js
CHANGED
package/cjs/rate/token.js
CHANGED
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
* 描述词典变量名称为 组件名称 + TokenDescription。请勿修改变量命名,否则将导致 token 无法生成。
|
|
10
10
|
*/
|
|
11
11
|
var rateTokenDescription = {
|
|
12
|
-
rate: '
|
|
12
|
+
rate: '评分',
|
|
13
|
+
front: '已完成评分的',
|
|
14
|
+
gap: '间距'
|
|
13
15
|
};
|
|
14
16
|
|
|
15
17
|
/**
|
|
@@ -30,7 +32,7 @@ var rateTokenExtraValue = {
|
|
|
30
32
|
background: {
|
|
31
33
|
color: 'Neutral-fill-3'
|
|
32
34
|
},
|
|
33
|
-
|
|
35
|
+
front: {
|
|
34
36
|
background: {
|
|
35
37
|
color: 'Warning-5'
|
|
36
38
|
}
|
package/cjs/rate/type.d.ts
CHANGED
|
@@ -2,38 +2,38 @@ export interface RateTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token Neutral-text-5
|
|
5
|
-
* @description
|
|
5
|
+
* @description 评分字体颜色
|
|
6
6
|
*/
|
|
7
7
|
rateFontColor: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token 14/regular
|
|
11
|
-
* @description
|
|
11
|
+
* @description 评分字体字号
|
|
12
12
|
*/
|
|
13
13
|
rateFontSize: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Size-3
|
|
17
|
-
* @description
|
|
17
|
+
* @description 评分间距
|
|
18
18
|
*/
|
|
19
19
|
rateGap: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Size-12
|
|
23
|
-
* @description
|
|
23
|
+
* @description 评分字号
|
|
24
24
|
*/
|
|
25
25
|
rateSize: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token Neutral-fill-3
|
|
29
|
-
* @description
|
|
29
|
+
* @description 评分背景颜色
|
|
30
30
|
*/
|
|
31
31
|
rateBackgroundColor: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @token Warning-5
|
|
35
|
-
* @description
|
|
35
|
+
* @description 评分已完成评分的背景颜色
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
rateFrontBackgroundColor: string;
|
|
38
38
|
}
|
|
39
39
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -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,YA8EnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/cjs/select/select.js
CHANGED
|
@@ -55,6 +55,7 @@ var selectTokens = {
|
|
|
55
55
|
selectPanelBackgroundColor: 'Neutral-fill-1',
|
|
56
56
|
selectPanelShadow: 'Shadow-2',
|
|
57
57
|
selectPanelRadius: 'Radius-4',
|
|
58
|
+
selectPanelBorder: 'Neutral-border-1',
|
|
58
59
|
selectOptionHeight: 'Size-16',
|
|
59
60
|
selectOptionPaddingX: 'Padding-4',
|
|
60
61
|
selectOptionPaddingY: 'Padding-1',
|
|
@@ -82,6 +83,7 @@ var selectTokens = {
|
|
|
82
83
|
selectGroupTitleLargeBottom: 'Padding-4',
|
|
83
84
|
selectColumnPadding: 'Padding-8',
|
|
84
85
|
selectColumnOptionMargin: 'Margin-8',
|
|
86
|
+
selectColumnBorderRadius: 'Radius-4',
|
|
85
87
|
selectColumnBackgroundColor: 'Neutral-fill-2'
|
|
86
88
|
};
|
|
87
89
|
var _default = selectTokens;
|
package/cjs/select/token.js
CHANGED
|
@@ -21,7 +21,11 @@ var selectTokenDescription = {
|
|
|
21
21
|
header: '列表头部的',
|
|
22
22
|
group: '分组',
|
|
23
23
|
title: '标题的',
|
|
24
|
-
column: '多列模式下'
|
|
24
|
+
column: '多列模式下',
|
|
25
|
+
shadow: '阴影',
|
|
26
|
+
panel: '下拉面板的',
|
|
27
|
+
top: '(顶部)',
|
|
28
|
+
bottom: '(底部)'
|
|
25
29
|
};
|
|
26
30
|
|
|
27
31
|
/**
|
|
@@ -185,7 +189,8 @@ var selectTokenExtraValue = {
|
|
|
185
189
|
color: 'Neutral-fill-1'
|
|
186
190
|
},
|
|
187
191
|
shadow: 'Shadow-2',
|
|
188
|
-
radius: 'Radius-4'
|
|
192
|
+
radius: 'Radius-4',
|
|
193
|
+
border: 'Neutral-border-1'
|
|
189
194
|
},
|
|
190
195
|
option: {
|
|
191
196
|
height: 'Size-16',
|
|
@@ -257,6 +262,9 @@ var selectTokenExtraValue = {
|
|
|
257
262
|
option: {
|
|
258
263
|
margin: 'Margin-8'
|
|
259
264
|
},
|
|
265
|
+
border: {
|
|
266
|
+
radius: 'Radius-4'
|
|
267
|
+
},
|
|
260
268
|
background: {
|
|
261
269
|
color: 'Neutral-fill-2'
|
|
262
270
|
}
|