@sheinx/theme 3.1.25 → 3.2.0-beta.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/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 +1 -3
- package/cjs/breadcrumb/token.js +2 -8
- package/cjs/breadcrumb/type.d.ts +6 -18
- 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 +15 -1
- package/cjs/card/token.js +31 -2
- package/cjs/card/type.d.ts +84 -0
- package/cjs/card/type.d.ts.map +1 -1
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +3 -0
- package/cjs/cascader/token.js +9 -0
- package/cjs/cascader/type.d.ts +18 -0
- package/cjs/cascader/type.d.ts.map +1 -1
- 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/index.d.ts +2 -2
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +7 -0
- 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 +15 -2
- package/cjs/menu/token.js +57 -1
- package/cjs/menu/type.d.ts +79 -1
- package/cjs/menu/type.d.ts.map +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/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/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/token/token.d.ts +2 -1
- package/cjs/token/token.d.ts.map +1 -1
- package/cjs/token/token.js +2 -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 +7 -2
- package/cjs/tree/tree.d.ts.map +1 -1
- package/cjs/tree/tree.js +2 -0
- package/cjs/tree/type.d.ts +15 -3
- package/cjs/tree/type.d.ts.map +1 -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 +1 -3
- package/esm/breadcrumb/token.js +2 -8
- package/esm/breadcrumb/type.d.ts +6 -18
- 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 +15 -1
- package/esm/card/token.js +31 -2
- package/esm/card/type.d.ts +84 -0
- package/esm/card/type.d.ts.map +1 -1
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +3 -0
- package/esm/cascader/token.js +9 -0
- package/esm/cascader/type.d.ts +18 -0
- package/esm/cascader/type.d.ts.map +1 -1
- 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/index.d.ts +2 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -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 +15 -2
- package/esm/menu/token.js +57 -1
- package/esm/menu/type.d.ts +79 -1
- package/esm/menu/type.d.ts.map +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/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/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/token/token.d.ts +2 -1
- package/esm/token/token.d.ts.map +1 -1
- package/esm/token/token.js +2 -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 +7 -2
- package/esm/tree/tree.d.ts.map +1 -1
- package/esm/tree/tree.js +2 -0
- package/esm/tree/type.d.ts +15 -3
- package/esm/tree/type.d.ts.map +1 -1
- package/package.json +1 -1
package/cjs/menu/type.d.ts
CHANGED
|
@@ -17,6 +17,36 @@ export interface MenuTokens {
|
|
|
17
17
|
* @description 菜单图标颜色
|
|
18
18
|
*/
|
|
19
19
|
menuIconColor: string;
|
|
20
|
+
/**
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @token Size-20
|
|
23
|
+
* @description 菜单折叠模式下的宽度
|
|
24
|
+
*/
|
|
25
|
+
menuCollapseWidth: string;
|
|
26
|
+
/**
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @token Neutral-text-2
|
|
29
|
+
* @description 菜单折叠模式下的选项禁用时的字体颜色
|
|
30
|
+
*/
|
|
31
|
+
menuCollapseItemDisabledFontColor: string;
|
|
32
|
+
/**
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @token Neutral-fill-1
|
|
35
|
+
* @description 菜单折叠模式下的选项禁用时的背景颜色
|
|
36
|
+
*/
|
|
37
|
+
menuCollapseItemDisabledBackgroundColor: string;
|
|
38
|
+
/**
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @token Brand-6
|
|
41
|
+
* @description 菜单折叠模式下的选项鼠标点击时的字体颜色
|
|
42
|
+
*/
|
|
43
|
+
menuCollapseItemActiveFontColor: string;
|
|
44
|
+
/**
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @token Neutral-fill-1
|
|
47
|
+
* @description 菜单折叠模式下的选项鼠标点击时的背景颜色
|
|
48
|
+
*/
|
|
49
|
+
menuCollapseItemActiveBackgroundColor: string;
|
|
20
50
|
/**
|
|
21
51
|
* @type {string}
|
|
22
52
|
* @token Neutral-fill-1
|
|
@@ -73,7 +103,7 @@ export interface MenuTokens {
|
|
|
73
103
|
menuItemDisabledFontColor: string;
|
|
74
104
|
/**
|
|
75
105
|
* @type {string}
|
|
76
|
-
* @token
|
|
106
|
+
* @token 13px
|
|
77
107
|
* @description 菜单标题模式内边距(水平方向)
|
|
78
108
|
*/
|
|
79
109
|
menuTitlePaddingX: string;
|
|
@@ -173,5 +203,53 @@ export interface MenuTokens {
|
|
|
173
203
|
* @description 菜单深色模式选项禁用时的字体颜色
|
|
174
204
|
*/
|
|
175
205
|
menuDarkItemDisabledFontColor: string;
|
|
206
|
+
/**
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @token Brand-1
|
|
209
|
+
* @description 菜单深色模式折叠模式下的选项字体颜色
|
|
210
|
+
*/
|
|
211
|
+
menuDarkCollapseItemFontColor: string;
|
|
212
|
+
/**
|
|
213
|
+
* @type {string}
|
|
214
|
+
* @token Neutral-fill-9
|
|
215
|
+
* @description 菜单深色模式折叠模式下的选项背景颜色
|
|
216
|
+
*/
|
|
217
|
+
menuDarkCollapseItemBackgroundColor: string;
|
|
218
|
+
/**
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @token Neutral-text-1
|
|
221
|
+
* @description 菜单深色模式折叠模式下的选项鼠标点击时的字体颜色
|
|
222
|
+
*/
|
|
223
|
+
menuDarkCollapseItemActiveFontColor: string;
|
|
224
|
+
/**
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @token Brand-6
|
|
227
|
+
* @description 菜单深色模式折叠模式下的选项鼠标点击时的背景颜色
|
|
228
|
+
*/
|
|
229
|
+
menuDarkCollapseItemActiveBackgroundColor: string;
|
|
230
|
+
/**
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @token Neutral-text-4
|
|
233
|
+
* @description 菜单深色模式折叠模式下的选项禁用时的字体颜色
|
|
234
|
+
*/
|
|
235
|
+
menuDarkCollapseItemDisabledFontColor: string;
|
|
236
|
+
/**
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @token Neutral-fill-9
|
|
239
|
+
* @description 菜单深色模式折叠模式下的选项禁用时的背景颜色
|
|
240
|
+
*/
|
|
241
|
+
menuDarkCollapseItemDisabledBackgroundColor: string;
|
|
242
|
+
/**
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @token Neutral-text-1
|
|
245
|
+
* @description 菜单深色模式折叠模式下的选项鼠标移入时的字体颜色
|
|
246
|
+
*/
|
|
247
|
+
menuDarkCollapseItemHoverFontColor: string;
|
|
248
|
+
/**
|
|
249
|
+
* @type {string}
|
|
250
|
+
* @token Brand-9
|
|
251
|
+
* @description 菜单深色模式折叠模式下的选项鼠标移入时的背景颜色
|
|
252
|
+
*/
|
|
253
|
+
menuDarkCollapseItemHoverBackgroundColor: string;
|
|
176
254
|
}
|
|
177
255
|
//# sourceMappingURL=type.d.ts.map
|
package/cjs/menu/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,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,6BAA6B,EAAE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C;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,yCAAyC,EAAE,MAAM,CAAC;IAClD;;;;OAIG;IACH,qCAAqC,EAAE,MAAM,CAAC;IAC9C;;;;OAIG;IACH,2CAA2C,EAAE,MAAM,CAAC;IACpD;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,wCAAwC,EAAE,MAAM,CAAC;CAClD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,aAAa,EAAE,aA0BpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/cjs/popover/popover.js
CHANGED
|
@@ -9,9 +9,10 @@ exports.default = void 0;
|
|
|
9
9
|
|
|
10
10
|
var popoverTokens = {
|
|
11
11
|
popoverFontSize: 'Font-14',
|
|
12
|
+
popoverFontWeight: 'Weight-regular',
|
|
12
13
|
popoverPaddingX: 'Spacing-8',
|
|
13
14
|
popoverPaddingY: 'Spacing-8',
|
|
14
|
-
popoverRadius: 'Radius-
|
|
15
|
+
popoverRadius: 'Radius-default',
|
|
15
16
|
popoverBorderWidth: 'Border-1',
|
|
16
17
|
popoverFontColor: 'Neutral-text-5',
|
|
17
18
|
popoverBackgroundColor: 'Neutral-fill-1',
|
|
@@ -19,17 +20,18 @@ var popoverTokens = {
|
|
|
19
20
|
popoverBorderColor: 'Neutral-border-1',
|
|
20
21
|
popoverSuccessBackgroundColor: '#edf9e8',
|
|
21
22
|
popoverSuccessBorderColor: 'rgba(82, 196, 26, 0.1)',
|
|
22
|
-
popoverWarningBackgroundColor: '
|
|
23
|
-
popoverWarningBorderColor: '
|
|
24
|
-
popoverInfoBackgroundColor: '
|
|
25
|
-
popoverInfoBorderColor: '
|
|
26
|
-
popoverDangerBackgroundColor: '
|
|
27
|
-
popoverDangerBorderColor: '
|
|
23
|
+
popoverWarningBackgroundColor: 'Warning-1',
|
|
24
|
+
popoverWarningBorderColor: 'Warning-2',
|
|
25
|
+
popoverInfoBackgroundColor: 'Brand-1',
|
|
26
|
+
popoverInfoBorderColor: 'Brand-2',
|
|
27
|
+
popoverDangerBackgroundColor: 'Danger-1',
|
|
28
|
+
popoverDangerBorderColor: 'Danger-2',
|
|
28
29
|
popoverErrorFontColor: 'Danger-7',
|
|
29
30
|
popoverErrorBackgroundColor: 'Danger-1',
|
|
30
31
|
popoverErrorBorderColor: 'Danger-1',
|
|
31
32
|
popoverConfirmPaddingX: 'Spacing-16',
|
|
32
33
|
popoverConfirmPaddingY: 'Spacing-16',
|
|
34
|
+
popoverConfirmMarginY: 'Spacing-16',
|
|
33
35
|
popoverConfirmBackgroundColor: 'transparent'
|
|
34
36
|
};
|
|
35
37
|
var _default = exports.default = popoverTokens;
|
package/cjs/popover/rule.js
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* 规则变量名称为 组件名称 + Rules。请勿修改变量命名,否则将导致 token 无法生成。
|
|
10
10
|
*/
|
|
11
11
|
var popoverRules = {
|
|
12
|
-
size: [[''], ['font-size', 'padding-x', 'padding-y', 'radius', 'border-width']],
|
|
12
|
+
size: [[''], ['font-size', 'font-weight', 'padding-x', 'padding-y', 'radius', 'border-width']],
|
|
13
13
|
color: [['', 'success', 'warning', 'info', 'danger', 'error'], ['font-color', 'background-color', 'shadow', 'border-color']],
|
|
14
|
-
confirmSize: [['confirm'], ['font-size', 'padding-x', 'padding-y']],
|
|
14
|
+
confirmSize: [['confirm'], ['font-size', 'padding-x', 'padding-y', 'margin-y']],
|
|
15
15
|
confirmColor: [['confirm'], ['background-color']]
|
|
16
16
|
};
|
|
17
17
|
module.exports = {
|
package/cjs/popover/token.js
CHANGED
|
@@ -27,13 +27,14 @@ var popoverTokenDescription = {
|
|
|
27
27
|
var popoverTokenValue = {
|
|
28
28
|
font: {
|
|
29
29
|
size: 'Font-14',
|
|
30
|
+
weight: 'Weight-regular',
|
|
30
31
|
color: 'Neutral-text-5'
|
|
31
32
|
},
|
|
32
33
|
padding: {
|
|
33
34
|
x: 'Spacing-8',
|
|
34
35
|
y: 'Spacing-8'
|
|
35
36
|
},
|
|
36
|
-
radius: 'Radius-
|
|
37
|
+
radius: 'Radius-default',
|
|
37
38
|
border: {
|
|
38
39
|
width: 'Border-1',
|
|
39
40
|
color: 'Neutral-border-1'
|
|
@@ -59,11 +60,11 @@ var popoverTokenValue = {
|
|
|
59
60
|
color: ''
|
|
60
61
|
},
|
|
61
62
|
background: {
|
|
62
|
-
color: '
|
|
63
|
+
color: 'Warning-1'
|
|
63
64
|
},
|
|
64
65
|
shadow: '',
|
|
65
66
|
border: {
|
|
66
|
-
color: '
|
|
67
|
+
color: 'Warning-2'
|
|
67
68
|
}
|
|
68
69
|
},
|
|
69
70
|
info: {
|
|
@@ -71,11 +72,11 @@ var popoverTokenValue = {
|
|
|
71
72
|
color: ''
|
|
72
73
|
},
|
|
73
74
|
background: {
|
|
74
|
-
color: '
|
|
75
|
+
color: 'Brand-1'
|
|
75
76
|
},
|
|
76
77
|
shadow: '',
|
|
77
78
|
border: {
|
|
78
|
-
color: '
|
|
79
|
+
color: 'Brand-2'
|
|
79
80
|
}
|
|
80
81
|
},
|
|
81
82
|
danger: {
|
|
@@ -83,11 +84,11 @@ var popoverTokenValue = {
|
|
|
83
84
|
color: ''
|
|
84
85
|
},
|
|
85
86
|
background: {
|
|
86
|
-
color: '
|
|
87
|
+
color: 'Danger-1'
|
|
87
88
|
},
|
|
88
89
|
shadow: '',
|
|
89
90
|
border: {
|
|
90
|
-
color: '
|
|
91
|
+
color: 'Danger-2'
|
|
91
92
|
}
|
|
92
93
|
},
|
|
93
94
|
error: {
|
|
@@ -110,6 +111,9 @@ var popoverTokenValue = {
|
|
|
110
111
|
x: 'Spacing-16',
|
|
111
112
|
y: 'Spacing-16'
|
|
112
113
|
},
|
|
114
|
+
margin: {
|
|
115
|
+
y: 'Spacing-16'
|
|
116
|
+
},
|
|
113
117
|
background: {
|
|
114
118
|
color: 'transparent'
|
|
115
119
|
}
|
package/cjs/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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.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/cjs/rate/rate.js
CHANGED
|
@@ -10,8 +10,10 @@ exports.default = void 0;
|
|
|
10
10
|
var rateTokens = {
|
|
11
11
|
rateFontColor: 'Neutral-text-5',
|
|
12
12
|
rateFontSize: 'Font-14',
|
|
13
|
-
|
|
13
|
+
rateFontWeight: 'Weight-regular',
|
|
14
|
+
rateGap: 'Spacing-6',
|
|
14
15
|
rateSize: 'Size-12',
|
|
16
|
+
rateTextGap: 'Spacing-10',
|
|
15
17
|
rateBackgroundColor: 'Neutral-fill-3',
|
|
16
18
|
rateFrontBackgroundColor: 'Warning-5'
|
|
17
19
|
};
|
package/cjs/rate/token.js
CHANGED
|
@@ -25,10 +25,14 @@ var rateTokenValue = {};
|
|
|
25
25
|
var rateTokenExtraValue = {
|
|
26
26
|
font: {
|
|
27
27
|
color: 'Neutral-text-5',
|
|
28
|
-
size: 'Font-14'
|
|
28
|
+
size: 'Font-14',
|
|
29
|
+
weight: 'Weight-regular'
|
|
29
30
|
},
|
|
30
|
-
gap: '
|
|
31
|
+
gap: 'Spacing-6',
|
|
31
32
|
size: 'Size-12',
|
|
33
|
+
text: {
|
|
34
|
+
gap: 'Spacing-10'
|
|
35
|
+
},
|
|
32
36
|
background: {
|
|
33
37
|
color: 'Neutral-fill-3'
|
|
34
38
|
},
|
package/cjs/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/cjs/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/cjs/select/select.js
CHANGED
|
@@ -10,8 +10,10 @@ exports.default = void 0;
|
|
|
10
10
|
var selectTokens = {
|
|
11
11
|
selectFontSize: 'Font-14',
|
|
12
12
|
selectFontColor: 'Neutral-text-5',
|
|
13
|
-
|
|
13
|
+
selectFontWeight: 'Weight-regular',
|
|
14
|
+
selectBorderRadius: 'Radius-default',
|
|
14
15
|
selectBorderColor: 'Neutral-border-2',
|
|
16
|
+
selectBorderWidth: 'Border-1',
|
|
15
17
|
selectPaddingX: 'Spacing-8',
|
|
16
18
|
selectPaddingY: 'Spacing-2',
|
|
17
19
|
selectIconSize: 'Size-7',
|
|
@@ -36,26 +38,35 @@ var selectTokens = {
|
|
|
36
38
|
selectClearPadding: 'Spacing-8',
|
|
37
39
|
selectHoverBorderColor: 'Brand-6',
|
|
38
40
|
selectHoverClearColor: 'Neutral-text-4',
|
|
41
|
+
selectHoverBackgroundColor: 'Neutral-fill-1',
|
|
39
42
|
selectFocusBorderColor: 'Brand-7',
|
|
40
43
|
selectFocusShadow: 'Brand-2',
|
|
44
|
+
selectFocusBackgroundColor: 'Neutral-fill-1',
|
|
41
45
|
selectDisabledIconColor: 'Neutral-text-2',
|
|
42
46
|
selectDisabledFontColor: 'Neutral-text-2',
|
|
43
47
|
selectDisabledPlaceholderColor: 'Neutral-text-2',
|
|
44
48
|
selectDisabledBorderColor: 'Neutral-border-1',
|
|
45
49
|
selectDisabledBackgroundColor: 'Neutral-fill-2',
|
|
46
|
-
selectResultTextBorderRadius: 'Radius-
|
|
50
|
+
selectResultTextBorderRadius: 'Radius-default',
|
|
47
51
|
selectResultTextPaddingX: 'Spacing-4',
|
|
48
52
|
selectResultTextSmallPaddingX: 'Spacing-4',
|
|
49
53
|
selectResultTextLargePaddingX: 'Spacing-10',
|
|
50
54
|
selectResultTextActiveBackgroundColor: 'Brand-1',
|
|
51
55
|
selectErrorBorderColor: 'Danger-6',
|
|
56
|
+
selectErrorBackgroundColor: 'Neutral-fill-1',
|
|
52
57
|
selectErrorFocusShadow: 'Danger-1',
|
|
58
|
+
selectErrorFocusBackgroundColor: 'Neutral-fill-1',
|
|
59
|
+
selectErrorFocusBorderColor: 'Danger-6',
|
|
60
|
+
selectErrorHoverBackgroundColor: 'Neutral-fill-1',
|
|
61
|
+
selectErrorHoverBorderColor: 'Danger-6',
|
|
53
62
|
selectPanelColor: 'Neutral-text-5',
|
|
54
63
|
selectPanelBackgroundColor: 'Neutral-fill-1',
|
|
55
64
|
selectPanelShadow: 'Shadow-2',
|
|
56
|
-
selectPanelRadius: 'Radius-
|
|
65
|
+
selectPanelRadius: 'Radius-default',
|
|
57
66
|
selectPanelBorder: 'Neutral-border-1',
|
|
58
67
|
selectOptionHeight: 'Size-16',
|
|
68
|
+
selectOptionBackgroundColor: 'Neutral-fill-1',
|
|
69
|
+
selectOptionFontColor: 'Neutral-text-5',
|
|
59
70
|
selectOptionPaddingX: 'Spacing-4',
|
|
60
71
|
selectOptionPaddingY: 'Spacing-1',
|
|
61
72
|
selectOptionActiveColor: 'Brand-6',
|
|
@@ -63,15 +74,18 @@ var selectTokens = {
|
|
|
63
74
|
selectOptionInnerPaddingX: 'Spacing-8',
|
|
64
75
|
selectOptionInnerPaddingY: 'Spacing-5',
|
|
65
76
|
selectOptionInnerPaddingRight: 'Size-15',
|
|
66
|
-
selectOptionInnerBorderRadius: 'Radius-
|
|
77
|
+
selectOptionInnerBorderRadius: 'Radius-lesser',
|
|
67
78
|
selectOptionHoverBackgroundColor: 'Neutral-fill-2',
|
|
79
|
+
selectOptionHoverFontColor: 'Neutral-text-5',
|
|
68
80
|
selectOptionDisabledColor: 'Neutral-text-2',
|
|
69
81
|
selectOptionDisabledBackgroundColor: 'Neutral-fill-1',
|
|
70
82
|
selectMorePadding: 'Spacing-8',
|
|
71
|
-
|
|
83
|
+
selectHeaderPaddingX: 'Spacing-8',
|
|
84
|
+
selectHeaderPaddingY: 'Spacing-8',
|
|
72
85
|
selectHeaderBorderColor: 'Neutral-border-1',
|
|
73
86
|
selectGroupTitleFontColor: 'Neutral-text-3',
|
|
74
87
|
selectGroupTitleFontSize: 'Font-12',
|
|
88
|
+
selectGroupTitleFontWeight: 'Weight-regular',
|
|
75
89
|
selectGroupTitlePaddingX: 'Spacing-12',
|
|
76
90
|
selectGroupTitlePaddingTop: 'Spacing-10',
|
|
77
91
|
selectGroupTitlePaddingBottom: 'Spacing-2',
|
|
@@ -82,7 +96,9 @@ var selectTokens = {
|
|
|
82
96
|
selectGroupTitleLargeBottom: 'Spacing-4',
|
|
83
97
|
selectColumnPadding: 'Spacing-8',
|
|
84
98
|
selectColumnOptionMargin: 'Spacing-8',
|
|
85
|
-
selectColumnBorderRadius: 'Radius-
|
|
86
|
-
selectColumnBackgroundColor: 'Neutral-fill-2'
|
|
99
|
+
selectColumnBorderRadius: 'Radius-default',
|
|
100
|
+
selectColumnBackgroundColor: 'Neutral-fill-2',
|
|
101
|
+
selectLoadingSpinColor: 'Brand-6',
|
|
102
|
+
selectEmptyFontColor: 'Neutral-text-2'
|
|
87
103
|
};
|
|
88
104
|
var _default = exports.default = selectTokens;
|
package/cjs/select/token.js
CHANGED
|
@@ -25,7 +25,9 @@ var selectTokenDescription = {
|
|
|
25
25
|
shadow: '阴影',
|
|
26
26
|
panel: '下拉面板的',
|
|
27
27
|
top: '(顶部)',
|
|
28
|
-
bottom: '(底部)'
|
|
28
|
+
bottom: '(底部)',
|
|
29
|
+
loading: '加载状态下的',
|
|
30
|
+
spin: '加载组件'
|
|
29
31
|
};
|
|
30
32
|
|
|
31
33
|
/**
|
|
@@ -43,11 +45,13 @@ var selectTokenValue = {
|
|
|
43
45
|
var selectTokenExtraValue = {
|
|
44
46
|
font: {
|
|
45
47
|
size: 'Font-14',
|
|
46
|
-
color: 'Neutral-text-5'
|
|
48
|
+
color: 'Neutral-text-5',
|
|
49
|
+
weight: 'Weight-regular'
|
|
47
50
|
},
|
|
48
51
|
border: {
|
|
49
|
-
radius: 'Radius-
|
|
50
|
-
color: 'Neutral-border-2'
|
|
52
|
+
radius: 'Radius-default',
|
|
53
|
+
color: 'Neutral-border-2',
|
|
54
|
+
width: 'Border-1'
|
|
51
55
|
},
|
|
52
56
|
padding: {
|
|
53
57
|
x: 'Spacing-8',
|
|
@@ -124,13 +128,19 @@ var selectTokenExtraValue = {
|
|
|
124
128
|
},
|
|
125
129
|
clear: {
|
|
126
130
|
color: 'Neutral-text-4'
|
|
131
|
+
},
|
|
132
|
+
background: {
|
|
133
|
+
color: 'Neutral-fill-1'
|
|
127
134
|
}
|
|
128
135
|
},
|
|
129
136
|
focus: {
|
|
130
137
|
border: {
|
|
131
138
|
color: 'Brand-7'
|
|
132
139
|
},
|
|
133
|
-
shadow: 'Brand-2'
|
|
140
|
+
shadow: 'Brand-2',
|
|
141
|
+
background: {
|
|
142
|
+
color: 'Neutral-fill-1'
|
|
143
|
+
}
|
|
134
144
|
},
|
|
135
145
|
disabled: {
|
|
136
146
|
icon: {
|
|
@@ -152,7 +162,7 @@ var selectTokenExtraValue = {
|
|
|
152
162
|
result: {
|
|
153
163
|
text: {
|
|
154
164
|
border: {
|
|
155
|
-
radius: 'Radius-
|
|
165
|
+
radius: 'Radius-default'
|
|
156
166
|
},
|
|
157
167
|
padding: {
|
|
158
168
|
x: 'Spacing-4'
|
|
@@ -178,8 +188,25 @@ var selectTokenExtraValue = {
|
|
|
178
188
|
border: {
|
|
179
189
|
color: 'Danger-6'
|
|
180
190
|
},
|
|
191
|
+
background: {
|
|
192
|
+
color: 'Neutral-fill-1'
|
|
193
|
+
},
|
|
181
194
|
focus: {
|
|
182
|
-
shadow: 'Danger-1'
|
|
195
|
+
shadow: 'Danger-1',
|
|
196
|
+
background: {
|
|
197
|
+
color: 'Neutral-fill-1'
|
|
198
|
+
},
|
|
199
|
+
border: {
|
|
200
|
+
color: 'Danger-6'
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
hover: {
|
|
204
|
+
background: {
|
|
205
|
+
color: 'Neutral-fill-1'
|
|
206
|
+
},
|
|
207
|
+
border: {
|
|
208
|
+
color: 'Danger-6'
|
|
209
|
+
}
|
|
183
210
|
}
|
|
184
211
|
},
|
|
185
212
|
panel: {
|
|
@@ -188,11 +215,17 @@ var selectTokenExtraValue = {
|
|
|
188
215
|
color: 'Neutral-fill-1'
|
|
189
216
|
},
|
|
190
217
|
shadow: 'Shadow-2',
|
|
191
|
-
radius: 'Radius-
|
|
218
|
+
radius: 'Radius-default',
|
|
192
219
|
border: 'Neutral-border-1'
|
|
193
220
|
},
|
|
194
221
|
option: {
|
|
195
222
|
height: 'Size-16',
|
|
223
|
+
background: {
|
|
224
|
+
color: 'Neutral-fill-1'
|
|
225
|
+
},
|
|
226
|
+
font: {
|
|
227
|
+
color: 'Neutral-text-5'
|
|
228
|
+
},
|
|
196
229
|
padding: {
|
|
197
230
|
x: 'Spacing-4',
|
|
198
231
|
y: 'Spacing-1'
|
|
@@ -210,12 +243,15 @@ var selectTokenExtraValue = {
|
|
|
210
243
|
right: 'Size-15'
|
|
211
244
|
},
|
|
212
245
|
border: {
|
|
213
|
-
radius: 'Radius-
|
|
246
|
+
radius: 'Radius-lesser'
|
|
214
247
|
}
|
|
215
248
|
},
|
|
216
249
|
hover: {
|
|
217
250
|
background: {
|
|
218
251
|
color: 'Neutral-fill-2'
|
|
252
|
+
},
|
|
253
|
+
font: {
|
|
254
|
+
color: 'Neutral-text-5'
|
|
219
255
|
}
|
|
220
256
|
},
|
|
221
257
|
disabled: {
|
|
@@ -229,7 +265,10 @@ var selectTokenExtraValue = {
|
|
|
229
265
|
padding: 'Spacing-8'
|
|
230
266
|
},
|
|
231
267
|
header: {
|
|
232
|
-
padding:
|
|
268
|
+
padding: {
|
|
269
|
+
x: 'Spacing-8',
|
|
270
|
+
y: 'Spacing-8'
|
|
271
|
+
},
|
|
233
272
|
border: {
|
|
234
273
|
color: 'Neutral-border-1'
|
|
235
274
|
}
|
|
@@ -238,7 +277,8 @@ var selectTokenExtraValue = {
|
|
|
238
277
|
title: {
|
|
239
278
|
font: {
|
|
240
279
|
color: 'Neutral-text-3',
|
|
241
|
-
size: 'Font-12'
|
|
280
|
+
size: 'Font-12',
|
|
281
|
+
weight: 'Weight-regular'
|
|
242
282
|
},
|
|
243
283
|
padding: {
|
|
244
284
|
x: 'Spacing-12',
|
|
@@ -262,11 +302,21 @@ var selectTokenExtraValue = {
|
|
|
262
302
|
margin: 'Spacing-8'
|
|
263
303
|
},
|
|
264
304
|
border: {
|
|
265
|
-
radius: 'Radius-
|
|
305
|
+
radius: 'Radius-default'
|
|
266
306
|
},
|
|
267
307
|
background: {
|
|
268
308
|
color: 'Neutral-fill-2'
|
|
269
309
|
}
|
|
310
|
+
},
|
|
311
|
+
loading: {
|
|
312
|
+
spin: {
|
|
313
|
+
color: 'Brand-6'
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
empty: {
|
|
317
|
+
font: {
|
|
318
|
+
color: 'Neutral-text-2'
|
|
319
|
+
}
|
|
270
320
|
}
|
|
271
321
|
};
|
|
272
322
|
module.exports = {
|