@sheinx/theme 3.0.0-alpha.28 → 3.0.0-alpha.29
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/token.js +2 -1
- package/cjs/button/type.d.ts +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 +1 -0
- package/cjs/cascader/token.js +9 -3
- package/cjs/cascader/type.d.ts +21 -15
- 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/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/token.js +13 -1
- package/cjs/dropdown/type.d.ts +50 -50
- 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 +1 -0
- package/cjs/select/token.js +7 -2
- package/cjs/select/type.d.ts +17 -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/token.js +4 -2
- package/cjs/tag/type.d.ts +168 -168
- package/cjs/textarea/token.js +6 -1
- package/cjs/textarea/type.d.ts +29 -29
- 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 +4 -1
- 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/token.js +2 -1
- package/esm/button/type.d.ts +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 +1 -0
- package/esm/cascader/token.js +9 -3
- package/esm/cascader/type.d.ts +21 -15
- 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/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/token.js +13 -1
- package/esm/dropdown/type.d.ts +50 -50
- 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 +1 -0
- package/esm/select/token.js +7 -2
- package/esm/select/type.d.ts +17 -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/token.js +4 -2
- package/esm/tag/type.d.ts +168 -168
- package/esm/textarea/token.js +6 -1
- package/esm/textarea/type.d.ts +29 -29
- 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 +4 -1
- 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 +1 -1
package/cjs/input/type.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export interface InputTokens {
|
|
|
74
74
|
/**
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @token Neutral-text-2
|
|
77
|
-
* @description
|
|
77
|
+
* @description 输入框占位符颜色
|
|
78
78
|
*/
|
|
79
79
|
inputPlaceholderColor: string;
|
|
80
80
|
/**
|
|
@@ -98,7 +98,7 @@ export interface InputTokens {
|
|
|
98
98
|
/**
|
|
99
99
|
* @type {string}
|
|
100
100
|
* @token Neutral-text-4
|
|
101
|
-
* @description
|
|
101
|
+
* @description 输入框反转颜色
|
|
102
102
|
*/
|
|
103
103
|
inputToggleColor: string;
|
|
104
104
|
/**
|
|
@@ -122,7 +122,7 @@ export interface InputTokens {
|
|
|
122
122
|
/**
|
|
123
123
|
* @type {string}
|
|
124
124
|
* @token Neutral-text-5
|
|
125
|
-
* @description
|
|
125
|
+
* @description 输入框鼠标移入时的反转颜色
|
|
126
126
|
*/
|
|
127
127
|
inputHoverToggleColor: string;
|
|
128
128
|
/**
|
|
@@ -134,7 +134,7 @@ export interface InputTokens {
|
|
|
134
134
|
/**
|
|
135
135
|
* @type {string}
|
|
136
136
|
* @token Brand-2
|
|
137
|
-
* @description
|
|
137
|
+
* @description 输入框鼠标聚焦时的阴影
|
|
138
138
|
*/
|
|
139
139
|
inputFocusShadow: string;
|
|
140
140
|
/**
|
|
@@ -146,7 +146,7 @@ export interface InputTokens {
|
|
|
146
146
|
/**
|
|
147
147
|
* @type {string}
|
|
148
148
|
* @token Neutral-text-2
|
|
149
|
-
* @description
|
|
149
|
+
* @description 输入框禁用时的占位符颜色
|
|
150
150
|
*/
|
|
151
151
|
inputDisabledPlaceholderColor: string;
|
|
152
152
|
/**
|
|
@@ -170,43 +170,43 @@ export interface InputTokens {
|
|
|
170
170
|
/**
|
|
171
171
|
* @type {string}
|
|
172
172
|
* @token Danger-1
|
|
173
|
-
* @description
|
|
173
|
+
* @description 输入框错误状态的鼠标聚焦时的阴影
|
|
174
174
|
*/
|
|
175
175
|
inputErrorFocusShadow: string;
|
|
176
176
|
/**
|
|
177
177
|
* @type {string}
|
|
178
178
|
* @token Brand-6
|
|
179
|
-
* @description
|
|
179
|
+
* @description 输入框基础字体颜色
|
|
180
180
|
*/
|
|
181
181
|
inputInfoFontColor: string;
|
|
182
182
|
/**
|
|
183
183
|
* @type {string}
|
|
184
184
|
* @token Neutral-fill-1
|
|
185
|
-
* @description
|
|
185
|
+
* @description 输入框基础背景颜色
|
|
186
186
|
*/
|
|
187
187
|
inputInfoBackgroundColor: string;
|
|
188
188
|
/**
|
|
189
189
|
* @type {string}
|
|
190
190
|
* @token Neutral-border-2
|
|
191
|
-
* @description
|
|
191
|
+
* @description 输入框基础边框颜色
|
|
192
192
|
*/
|
|
193
193
|
inputInfoBorderColor: string;
|
|
194
194
|
/**
|
|
195
195
|
* @type {string}
|
|
196
196
|
* @token Danger-6
|
|
197
|
-
* @description
|
|
197
|
+
* @description 输入框基础错误状态的字体颜色
|
|
198
198
|
*/
|
|
199
199
|
inputInfoErrorFontColor: string;
|
|
200
200
|
/**
|
|
201
201
|
* @type {string}
|
|
202
202
|
* @token Danger-1
|
|
203
|
-
* @description
|
|
203
|
+
* @description 输入框基础错误状态的背景颜色
|
|
204
204
|
*/
|
|
205
205
|
inputInfoErrorBackgroundColor: string;
|
|
206
206
|
/**
|
|
207
207
|
* @type {string}
|
|
208
208
|
* @token Danger-6
|
|
209
|
-
* @description
|
|
209
|
+
* @description 输入框基础错误状态的边框颜色
|
|
210
210
|
*/
|
|
211
211
|
inputInfoErrorBorderColor: string;
|
|
212
212
|
/**
|
package/cjs/list/token.js
CHANGED
package/cjs/list/type.d.ts
CHANGED
|
@@ -2,73 +2,73 @@ export interface ListTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token 14/regular
|
|
5
|
-
* @description
|
|
5
|
+
* @description 列表字体字号
|
|
6
6
|
*/
|
|
7
7
|
listFontSize: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token Neutral-text-5
|
|
11
|
-
* @description
|
|
11
|
+
* @description 列表字体颜色
|
|
12
12
|
*/
|
|
13
13
|
listFontColor: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Neutral-border-1
|
|
17
|
-
* @description
|
|
17
|
+
* @description 列表边框颜色
|
|
18
18
|
*/
|
|
19
19
|
listBorderColor: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Radius-2
|
|
23
|
-
* @description
|
|
23
|
+
* @description 列表边框圆角
|
|
24
24
|
*/
|
|
25
25
|
listBorderRadius: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token Padding-12
|
|
29
|
-
* @description
|
|
29
|
+
* @description 列表选项内边距(垂直方向)
|
|
30
30
|
*/
|
|
31
31
|
listItemPaddingY: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @token Padding-16
|
|
35
|
-
* @description
|
|
35
|
+
* @description 列表选项内边距(水平方向)
|
|
36
36
|
*/
|
|
37
37
|
listItemPaddingX: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @token Padding-8
|
|
41
|
-
* @description
|
|
41
|
+
* @description 列表小尺寸选项内边距(垂直方向)
|
|
42
42
|
*/
|
|
43
43
|
listSmallItemPaddingY: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @token Padding-12
|
|
47
|
-
* @description
|
|
47
|
+
* @description 列表小尺寸选项内边距(水平方向)
|
|
48
48
|
*/
|
|
49
49
|
listSmallItemPaddingX: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @token Padding-16
|
|
53
|
-
* @description
|
|
53
|
+
* @description 列表大尺寸选项内边距(垂直方向)
|
|
54
54
|
*/
|
|
55
55
|
listLargeItemPaddingY: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @token Padding-20
|
|
59
|
-
* @description
|
|
59
|
+
* @description 列表大尺寸选项内边距(水平方向)
|
|
60
60
|
*/
|
|
61
61
|
listLargeItemPaddingX: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @token Margin-12
|
|
65
|
-
* @description
|
|
65
|
+
* @description 列表分页器外边距(垂直方向)
|
|
66
66
|
*/
|
|
67
67
|
listPaginationMarginY: string;
|
|
68
68
|
/**
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @token Neutral-fill-2
|
|
71
|
-
* @description
|
|
71
|
+
* @description 列表斑马纹的背景颜色
|
|
72
72
|
*/
|
|
73
73
|
listStripedBackgroundColor: string;
|
|
74
74
|
}
|
package/cjs/menu/token.js
CHANGED
|
@@ -9,7 +9,14 @@
|
|
|
9
9
|
* 描述词典变量名称为 组件名称 + TokenDescription。请勿修改变量命名,否则将导致 token 无法生成。
|
|
10
10
|
*/
|
|
11
11
|
var menuTokenDescription = {
|
|
12
|
-
menu: '
|
|
12
|
+
menu: '菜单',
|
|
13
|
+
item: '选项',
|
|
14
|
+
children: '子菜单',
|
|
15
|
+
shadow: '阴影',
|
|
16
|
+
dark: '深色模式',
|
|
17
|
+
expand: '展开icon的',
|
|
18
|
+
open: '打开状态的',
|
|
19
|
+
box: ''
|
|
13
20
|
};
|
|
14
21
|
|
|
15
22
|
/**
|
package/cjs/menu/type.d.ts
CHANGED
|
@@ -2,175 +2,175 @@ export interface MenuTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token 14/regular
|
|
5
|
-
* @description
|
|
5
|
+
* @description 菜单字体字号
|
|
6
6
|
*/
|
|
7
7
|
menuFontSize: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token Neutral-text-5
|
|
11
|
-
* @description
|
|
11
|
+
* @description 菜单字体颜色
|
|
12
12
|
*/
|
|
13
13
|
menuFontColor: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Neutral-text-4
|
|
17
|
-
* @description
|
|
17
|
+
* @description 菜单图标颜色
|
|
18
18
|
*/
|
|
19
19
|
menuIconColor: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Neutral-fill-1
|
|
23
|
-
* @description
|
|
23
|
+
* @description 菜单选项背景颜色
|
|
24
24
|
*/
|
|
25
25
|
menuItemBackgroundColor: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token Neutral-text-5
|
|
29
|
-
* @description
|
|
29
|
+
* @description 菜单选项字体颜色
|
|
30
30
|
*/
|
|
31
31
|
menuItemFontColor: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @token Neutral-fill-2
|
|
35
|
-
* @description
|
|
35
|
+
* @description 菜单选项鼠标移入时的背景颜色
|
|
36
36
|
*/
|
|
37
37
|
menuItemHoverBackgroundColor: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @token Neutral-text-5
|
|
41
|
-
* @description
|
|
41
|
+
* @description 菜单选项鼠标移入时的字体颜色
|
|
42
42
|
*/
|
|
43
43
|
menuItemHoverFontColor: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @token Brand-1
|
|
47
|
-
* @description
|
|
47
|
+
* @description 菜单选项鼠标点击时的背景颜色
|
|
48
48
|
*/
|
|
49
49
|
menuItemActiveBackgroundColor: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @token Brand-2
|
|
53
|
-
* @description
|
|
53
|
+
* @description 菜单选项鼠标点击时的鼠标移入时的背景颜色
|
|
54
54
|
*/
|
|
55
55
|
menuItemActiveHoverBackgroundColor: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @token Brand-6
|
|
59
|
-
* @description
|
|
59
|
+
* @description 菜单选项鼠标点击时的字体颜色
|
|
60
60
|
*/
|
|
61
61
|
menuItemActiveFontColor: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @token Neutral-fill-1
|
|
65
|
-
* @description
|
|
65
|
+
* @description 菜单选项禁用时的背景颜色
|
|
66
66
|
*/
|
|
67
67
|
menuItemDisabledBackgroundColor: string;
|
|
68
68
|
/**
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @token Neutral-text-2
|
|
71
|
-
* @description
|
|
71
|
+
* @description 菜单选项禁用时的字体颜色
|
|
72
72
|
*/
|
|
73
73
|
menuItemDisabledFontColor: string;
|
|
74
74
|
/**
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @token 16px
|
|
77
|
-
* @description
|
|
77
|
+
* @description 菜单标题模式内边距(水平方向)
|
|
78
78
|
*/
|
|
79
79
|
menuTitlePaddingX: string;
|
|
80
80
|
/**
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @token 9px
|
|
83
|
-
* @description
|
|
83
|
+
* @description 菜单标题模式内边距(垂直方向)
|
|
84
84
|
*/
|
|
85
85
|
menuTitlePaddingY: string;
|
|
86
86
|
/**
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @token 46px
|
|
89
|
-
* @description
|
|
89
|
+
* @description 菜单展开icon的宽度
|
|
90
90
|
*/
|
|
91
91
|
menuExpandWidth: string;
|
|
92
92
|
/**
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @token 14px
|
|
95
|
-
* @description
|
|
95
|
+
* @description 菜单展开icon的字号
|
|
96
96
|
*/
|
|
97
97
|
menuExpandSize: string;
|
|
98
98
|
/**
|
|
99
99
|
* @type {string}
|
|
100
100
|
* @token Neutral-fill-3
|
|
101
|
-
* @description
|
|
101
|
+
* @description 菜单展开icon的鼠标移入时的背景颜色
|
|
102
102
|
*/
|
|
103
103
|
menuExpandHoverBackgroundColor: string;
|
|
104
104
|
/**
|
|
105
105
|
* @type {string}
|
|
106
106
|
* @token 0 2px 8px rgba(0, 0, 0, 0.15)
|
|
107
|
-
* @description
|
|
107
|
+
* @description 菜单子菜单阴影
|
|
108
108
|
*/
|
|
109
109
|
menuChildrenBoxShadow: string;
|
|
110
110
|
/**
|
|
111
111
|
* @type {string}
|
|
112
112
|
* @token Neutral-text-1
|
|
113
|
-
* @description
|
|
113
|
+
* @description 菜单深色模式字体颜色
|
|
114
114
|
*/
|
|
115
115
|
menuDarkFontColor: string;
|
|
116
116
|
/**
|
|
117
117
|
* @type {string}
|
|
118
118
|
* @token Neutral-fill-10
|
|
119
|
-
* @description
|
|
119
|
+
* @description 菜单深色模式选项背景颜色
|
|
120
120
|
*/
|
|
121
121
|
menuDarkItemBackgroundColor: string;
|
|
122
122
|
/**
|
|
123
123
|
* @type {string}
|
|
124
124
|
* @token Neutral-text-1
|
|
125
|
-
* @description
|
|
125
|
+
* @description 菜单深色模式选项字体颜色
|
|
126
126
|
*/
|
|
127
127
|
menuDarkItemFontColor: string;
|
|
128
128
|
/**
|
|
129
129
|
* @type {string}
|
|
130
130
|
* @token Brand-9
|
|
131
|
-
* @description
|
|
131
|
+
* @description 菜单深色模式选项鼠标移入时的背景颜色
|
|
132
132
|
*/
|
|
133
133
|
menuDarkItemHoverBackgroundColor: string;
|
|
134
134
|
/**
|
|
135
135
|
* @type {string}
|
|
136
136
|
* @token Neutral-text-1
|
|
137
|
-
* @description
|
|
137
|
+
* @description 菜单深色模式选项鼠标移入时的字体颜色
|
|
138
138
|
*/
|
|
139
139
|
menuDarkItemHoverFontColor: string;
|
|
140
140
|
/**
|
|
141
141
|
* @type {string}
|
|
142
142
|
* @token Brand-6
|
|
143
|
-
* @description
|
|
143
|
+
* @description 菜单深色模式选项鼠标点击时的背景颜色
|
|
144
144
|
*/
|
|
145
145
|
menuDarkItemActiveBackgroundColor: string;
|
|
146
146
|
/**
|
|
147
147
|
* @type {string}
|
|
148
148
|
* @token Neutral-text-1
|
|
149
|
-
* @description
|
|
149
|
+
* @description 菜单深色模式选项鼠标点击时的字体颜色
|
|
150
150
|
*/
|
|
151
151
|
menuDarkItemActiveFontColor: string;
|
|
152
152
|
/**
|
|
153
153
|
* @type {string}
|
|
154
154
|
* @token Neutral-fill-9
|
|
155
|
-
* @description
|
|
155
|
+
* @description 菜单深色模式选项打开状态的背景颜色
|
|
156
156
|
*/
|
|
157
157
|
menuDarkItemOpenBackgroundColor: string;
|
|
158
158
|
/**
|
|
159
159
|
* @type {string}
|
|
160
160
|
* @token Neutral-text-1
|
|
161
|
-
* @description
|
|
161
|
+
* @description 菜单深色模式选项打开状态的字体颜色
|
|
162
162
|
*/
|
|
163
163
|
menuDarkItemOpenFontColor: string;
|
|
164
164
|
/**
|
|
165
165
|
* @type {string}
|
|
166
166
|
* @token Neutral-fill-10
|
|
167
|
-
* @description
|
|
167
|
+
* @description 菜单深色模式选项禁用时的背景颜色
|
|
168
168
|
*/
|
|
169
169
|
menuDarkItemDisabledBackgroundColor: string;
|
|
170
170
|
/**
|
|
171
171
|
* @type {string}
|
|
172
172
|
* @token Neutral-text-4
|
|
173
|
-
* @description
|
|
173
|
+
* @description 菜单深色模式选项禁用时的字体颜色
|
|
174
174
|
*/
|
|
175
175
|
menuDarkItemDisabledFontColor: string;
|
|
176
176
|
}
|
package/cjs/message/token.js
CHANGED
package/cjs/message/type.d.ts
CHANGED
|
@@ -2,31 +2,31 @@ export interface MessageTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token Shadow-3
|
|
5
|
-
* @description
|
|
5
|
+
* @description 全局提示阴影
|
|
6
6
|
*/
|
|
7
7
|
messageShadow: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token Neutral-border-1
|
|
11
|
-
* @description
|
|
11
|
+
* @description 全局提示边框颜色
|
|
12
12
|
*/
|
|
13
13
|
messageBorderColor: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Neutral-fill-1
|
|
17
|
-
* @description
|
|
17
|
+
* @description 全局提示背景颜色
|
|
18
18
|
*/
|
|
19
19
|
messageBackgroundColor: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Neutral-text-5
|
|
23
|
-
* @description
|
|
23
|
+
* @description 全局提示字体颜色
|
|
24
24
|
*/
|
|
25
25
|
messageFontColor: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token Margin-24
|
|
29
|
-
* @description
|
|
29
|
+
* @description 全局提示外边距
|
|
30
30
|
*/
|
|
31
31
|
messageMarginBottom: string;
|
|
32
32
|
}
|
package/cjs/modal/modal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WA6BlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/modal/modal.js
CHANGED
|
@@ -13,7 +13,8 @@ var modalTokens = {
|
|
|
13
13
|
modalPanelPaddingY: 'Padding-24',
|
|
14
14
|
modalPanelPaddingX: 'Padding-24',
|
|
15
15
|
modalPanelBackground: 'Neutral-fill-1',
|
|
16
|
-
modalPanelShadow: 'Shadow-
|
|
16
|
+
modalPanelShadow: 'Shadow-3',
|
|
17
|
+
modalPanelBorder: 'Neutral-border-1',
|
|
17
18
|
modalPanelGap: 'Padding-16',
|
|
18
19
|
modalPanelRadius: 'Radius-4',
|
|
19
20
|
modalPanelFontSize: '14/regular',
|
package/cjs/modal/token.js
CHANGED
|
@@ -9,7 +9,21 @@
|
|
|
9
9
|
* 描述词典变量名称为 组件名称 + TokenDescription。请勿修改变量命名,否则将导致 token 无法生成。
|
|
10
10
|
*/
|
|
11
11
|
var modalTokenDescription = {
|
|
12
|
-
modal: '
|
|
12
|
+
modal: '对话框',
|
|
13
|
+
panel: '面板',
|
|
14
|
+
shadow: '阴影',
|
|
15
|
+
gap: '间距',
|
|
16
|
+
header: '头部区域',
|
|
17
|
+
close: '关闭icon的',
|
|
18
|
+
start: '(左侧)',
|
|
19
|
+
end: '(右侧)',
|
|
20
|
+
top: '顶部距离',
|
|
21
|
+
title: '标题的',
|
|
22
|
+
drawer: '抽屉模式',
|
|
23
|
+
body: '主区域',
|
|
24
|
+
footer: '底部区域',
|
|
25
|
+
mask: '遮罩层',
|
|
26
|
+
light: '浅色'
|
|
13
27
|
};
|
|
14
28
|
|
|
15
29
|
/**
|
|
@@ -37,7 +51,8 @@ var modalTokenExtraValue = {
|
|
|
37
51
|
x: 'Padding-24'
|
|
38
52
|
},
|
|
39
53
|
background: 'Neutral-fill-1',
|
|
40
|
-
shadow: 'Shadow-
|
|
54
|
+
shadow: 'Shadow-3',
|
|
55
|
+
border: 'Neutral-border-1',
|
|
41
56
|
gap: 'Padding-16',
|
|
42
57
|
radius: 'Radius-4',
|
|
43
58
|
font: {
|