@sheinx/theme 3.9.0-beta.2 → 3.9.0-beta.21
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/tabs/tabs.d.ts.map +1 -1
- package/cjs/tabs/tabs.js +4 -2
- package/cjs/tabs/token.js +8 -2
- package/cjs/tabs/type.d.ts +14 -2
- package/cjs/tabs/type.d.ts.map +1 -1
- package/cjs/tag/tag.d.ts.map +1 -1
- package/cjs/tag/tag.js +68 -65
- package/cjs/tag/token.js +11 -2
- package/cjs/tag/type.d.ts +397 -379
- package/cjs/tag/type.d.ts.map +1 -1
- package/cjs/utils/token-setter.d.ts.map +1 -1
- package/cjs/utils/token-setter.js +9 -3
- package/esm/tabs/tabs.d.ts.map +1 -1
- package/esm/tabs/tabs.js +4 -2
- package/esm/tabs/token.js +8 -2
- package/esm/tabs/type.d.ts +14 -2
- package/esm/tabs/type.d.ts.map +1 -1
- package/esm/tag/tag.d.ts.map +1 -1
- package/esm/tag/tag.js +68 -65
- package/esm/tag/token.js +11 -2
- package/esm/tag/type.d.ts +397 -379
- package/esm/tag/type.d.ts.map +1 -1
- package/esm/utils/token-setter.d.ts.map +1 -1
- package/esm/utils/token-setter.js +9 -3
- package/package.json +1 -1
package/cjs/tabs/tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UAgFjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/tabs/tabs.js
CHANGED
|
@@ -23,7 +23,8 @@ var tabsTokens = {
|
|
|
23
23
|
tabsTabBorderRadius: 'Radius-default',
|
|
24
24
|
tabsNearlyMargin: 'Spacing-4',
|
|
25
25
|
tabsLinePaddingX: 'Spacing-8',
|
|
26
|
-
|
|
26
|
+
tabsLinePaddingTop: 'Spacing-6',
|
|
27
|
+
tabsLinePaddingBottom: 'Spacing-6',
|
|
27
28
|
tabsLineHrBackgroundColor: 'Neutral-border-1',
|
|
28
29
|
tabsLineAfterBackgroundColor: 'Brand-6',
|
|
29
30
|
tabsLineInnerPaddingX: 'Spacing-8',
|
|
@@ -84,6 +85,7 @@ var tabsTokens = {
|
|
|
84
85
|
tabsActionHorizontalPaddingX: 'Spacing-7',
|
|
85
86
|
tabsActionHorizontalPaddingY: 'Spacing-8',
|
|
86
87
|
tabsExtraFillHoverBackgroundColor: 'Neutral-fill-3',
|
|
87
|
-
tabsArrowFontColor: 'Neutral-text-4'
|
|
88
|
+
tabsArrowFontColor: 'Neutral-text-4',
|
|
89
|
+
tabsBadgeMargin: 'Spacing-0'
|
|
88
90
|
};
|
|
89
91
|
var _default = exports.default = tabsTokens;
|
package/cjs/tabs/token.js
CHANGED
|
@@ -23,7 +23,9 @@ var tabsTokenDescription = {
|
|
|
23
23
|
arrow: '箭头icon',
|
|
24
24
|
vertical: '垂直模式',
|
|
25
25
|
horizontal: '水平模式',
|
|
26
|
-
checked: '选中状态'
|
|
26
|
+
checked: '选中状态',
|
|
27
|
+
top: '上',
|
|
28
|
+
bottom: '下'
|
|
27
29
|
};
|
|
28
30
|
|
|
29
31
|
/**
|
|
@@ -106,7 +108,8 @@ var tabsTokenExtraValue = {
|
|
|
106
108
|
line: {
|
|
107
109
|
padding: {
|
|
108
110
|
x: 'Spacing-8',
|
|
109
|
-
|
|
111
|
+
top: 'Spacing-6',
|
|
112
|
+
bottom: 'Spacing-6'
|
|
110
113
|
},
|
|
111
114
|
hr: {
|
|
112
115
|
background: {
|
|
@@ -354,6 +357,9 @@ var tabsTokenExtraValue = {
|
|
|
354
357
|
font: {
|
|
355
358
|
color: 'Neutral-text-4'
|
|
356
359
|
}
|
|
360
|
+
},
|
|
361
|
+
badge: {
|
|
362
|
+
margin: 'Spacing-0'
|
|
357
363
|
}
|
|
358
364
|
};
|
|
359
365
|
module.exports = {
|
package/cjs/tabs/type.d.ts
CHANGED
|
@@ -92,9 +92,15 @@ export interface TabsTokens {
|
|
|
92
92
|
/**
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @token Spacing-6
|
|
95
|
-
* @description
|
|
95
|
+
* @description 标签页长线条模式内边距上
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
tabsLinePaddingTop: string;
|
|
98
|
+
/**
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @token Spacing-6
|
|
101
|
+
* @description 标签页长线条模式内边距下
|
|
102
|
+
*/
|
|
103
|
+
tabsLinePaddingBottom: string;
|
|
98
104
|
/**
|
|
99
105
|
* @type {string}
|
|
100
106
|
* @token Neutral-border-1
|
|
@@ -461,5 +467,11 @@ export interface TabsTokens {
|
|
|
461
467
|
* @description 标签页箭头icon字体颜色
|
|
462
468
|
*/
|
|
463
469
|
tabsArrowFontColor: string;
|
|
470
|
+
/**
|
|
471
|
+
* @type {string}
|
|
472
|
+
* @token Spacing-0
|
|
473
|
+
* @description 标签页undefined外边距
|
|
474
|
+
*/
|
|
475
|
+
tabsBadgeMargin: string;
|
|
464
476
|
}
|
|
465
477
|
//# sourceMappingURL=type.d.ts.map
|
package/cjs/tabs/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,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM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C;IACjC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,iCAAiC,EAAE,MAAM,CAAC;IAC1C;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB"}
|
package/cjs/tag/tag.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,QAAA,MAAM,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,QAAA,MAAM,SAAS,EAAE,SA+ThB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/cjs/tag/tag.js
CHANGED
|
@@ -20,12 +20,20 @@ var tagTokens = {
|
|
|
20
20
|
tagInfoOutlineDisabledFontColor: 'Brand-3',
|
|
21
21
|
tagInfoOutlineDisabledBackgroundColor: 'Neutral-fill-1',
|
|
22
22
|
tagInfoOutlineDisabledBorderColor: 'Brand-3',
|
|
23
|
+
tagInfoOutlineIconDisabledFontColor: 'Brand-3',
|
|
24
|
+
tagInfoOutlineIconHoverBackgroundColor: 'Brand-1',
|
|
25
|
+
tagInfoOutlineIconHoverFontColor: 'Brand-6',
|
|
23
26
|
tagInfoFillFontColor: 'Neutral-text-1',
|
|
24
27
|
tagInfoFillBackgroundColor: 'Brand-6',
|
|
25
28
|
tagInfoFillBorderColor: 'Brand-6',
|
|
26
29
|
tagInfoFillDisabledFontColor: 'Neutral-text-1',
|
|
27
30
|
tagInfoFillDisabledBackgroundColor: 'Brand-3',
|
|
28
31
|
tagInfoFillDisabledBorderColor: 'Brand-3',
|
|
32
|
+
tagInfoFillIconHoverBackgroundColor: 'Brand-5',
|
|
33
|
+
tagInfoIconFontColor: 'Brand-6',
|
|
34
|
+
tagInfoIconDisabledFontColor: 'Brand-3',
|
|
35
|
+
tagInfoIconHoverBackgroundColor: 'Brand-2',
|
|
36
|
+
tagDefaultLineHeight: 'Line-height-dynamic',
|
|
29
37
|
tagDefaultFontColor: 'Neutral-text-5',
|
|
30
38
|
tagDefaultBackgroundColor: 'Neutral-fill-2',
|
|
31
39
|
tagDefaultBorderColor: 'Neutral-fill-2',
|
|
@@ -44,6 +52,11 @@ var tagTokens = {
|
|
|
44
52
|
tagDefaultFillDisabledFontColor: 'Neutral-text-2',
|
|
45
53
|
tagDefaultFillDisabledBackgroundColor: 'Neutral-fill-3',
|
|
46
54
|
tagDefaultFillDisabledBorderColor: 'Neutral-fill-3',
|
|
55
|
+
tagDefaultFillIconHoverBackgroundColor: 'Neutral-fill-4',
|
|
56
|
+
tagDefaultIconFontColor: 'Neutral-text-4',
|
|
57
|
+
tagDefaultIconDisabledFontColor: 'Neutral-text-2',
|
|
58
|
+
tagDefaultIconHoverBackgroundColor: 'Neutral-fill-3',
|
|
59
|
+
tagDefaultIconHoverFontColor: 'Neutral-text-5',
|
|
47
60
|
tagSuccessFontColor: 'Success-6',
|
|
48
61
|
tagSuccessBackgroundColor: 'Success-1',
|
|
49
62
|
tagSuccessBorderColor: 'Success-1',
|
|
@@ -56,12 +69,18 @@ var tagTokens = {
|
|
|
56
69
|
tagSuccessOutlineDisabledFontColor: 'Success-3',
|
|
57
70
|
tagSuccessOutlineDisabledBackgroundColor: 'Neutral-fill-1',
|
|
58
71
|
tagSuccessOutlineDisabledBorderColor: 'Success-3',
|
|
72
|
+
tagSuccessOutlineIconDisabledFontColor: 'Success-3',
|
|
73
|
+
tagSuccessOutlineIconHoverBackgroundColor: 'Success-2',
|
|
59
74
|
tagSuccessFillFontColor: 'Neutral-text-1',
|
|
60
75
|
tagSuccessFillBackgroundColor: 'Success-6',
|
|
61
76
|
tagSuccessFillBorderColor: 'Success-6',
|
|
62
77
|
tagSuccessFillDisabledFontColor: 'Neutral-text-1',
|
|
63
78
|
tagSuccessFillDisabledBackgroundColor: 'Success-3',
|
|
64
79
|
tagSuccessFillDisabledBorderColor: 'Success-3',
|
|
80
|
+
tagSuccessFillIconHoverBackgroundColor: 'Success-5',
|
|
81
|
+
tagSuccessIconFontColor: 'Success-6',
|
|
82
|
+
tagSuccessIconDisabledFontColor: 'Success-3',
|
|
83
|
+
tagSuccessIconHoverBackgroundColor: 'Success-2',
|
|
65
84
|
tagWarningFontColor: 'Warning-6',
|
|
66
85
|
tagWarningBackgroundColor: 'Warning-1',
|
|
67
86
|
tagWarningBorderColor: 'Warning-1',
|
|
@@ -80,6 +99,10 @@ var tagTokens = {
|
|
|
80
99
|
tagWarningFillDisabledFontColor: 'Neutral-text-1',
|
|
81
100
|
tagWarningFillDisabledBackgroundColor: 'Warning-3',
|
|
82
101
|
tagWarningFillDisabledBorderColor: 'Warning-3',
|
|
102
|
+
tagWarningFillIconFontColor: 'Warning-6',
|
|
103
|
+
tagWarningFillIconHoverBackgroundColor: 'Warning-5',
|
|
104
|
+
tagWarningIconDisabledFontColor: 'Warning-3',
|
|
105
|
+
tagWarningIconHoverBackgroundColor: 'Warning-2',
|
|
83
106
|
tagDangerFontColor: 'Danger-6',
|
|
84
107
|
tagDangerBackgroundColor: 'Danger-1',
|
|
85
108
|
tagDangerBorderColor: 'Danger-1',
|
|
@@ -98,6 +121,10 @@ var tagTokens = {
|
|
|
98
121
|
tagDangerFillDisabledFontColor: 'Neutral-text-1',
|
|
99
122
|
tagDangerFillDisabledBackgroundColor: 'Danger-3',
|
|
100
123
|
tagDangerFillDisabledBorderColor: 'Danger-3',
|
|
124
|
+
tagDangerFillIconHoverBackgroundColor: 'Danger-5',
|
|
125
|
+
tagDangerIconFontColor: 'Danger-6',
|
|
126
|
+
tagDangerIconDisabledFontColor: 'Danger-3',
|
|
127
|
+
tagDangerIconHoverBackgroundColor: 'Danger-2',
|
|
101
128
|
tagMagentaFontColor: 'Magenta-6',
|
|
102
129
|
tagMagentaBackgroundColor: 'Magenta-1',
|
|
103
130
|
tagMagentaBorderColor: 'Magenta-1',
|
|
@@ -116,6 +143,10 @@ var tagTokens = {
|
|
|
116
143
|
tagMagentaFillDisabledFontColor: 'Neutral-text-1',
|
|
117
144
|
tagMagentaFillDisabledBackgroundColor: 'Magenta-3',
|
|
118
145
|
tagMagentaFillDisabledBorderColor: 'Magenta-3',
|
|
146
|
+
tagMagentaFillIconHoverBackgroundColor: 'Magenta-5',
|
|
147
|
+
tagMagentaIconFontColor: 'Magenta-6',
|
|
148
|
+
tagMagentaIconDisabledFontColor: 'Magenta-3',
|
|
149
|
+
tagMagentaIconHoverBackgroundColor: 'Magenta-2',
|
|
119
150
|
tagBrownFontColor: 'Brown-6',
|
|
120
151
|
tagBrownBackgroundColor: 'Brown-1',
|
|
121
152
|
tagBrownBorderColor: 'Brown-1',
|
|
@@ -134,6 +165,10 @@ var tagTokens = {
|
|
|
134
165
|
tagBrownFillDisabledFontColor: 'Neutral-text-1',
|
|
135
166
|
tagBrownFillDisabledBackgroundColor: 'Brown-3',
|
|
136
167
|
tagBrownFillDisabledBorderColor: 'Brown-3',
|
|
168
|
+
tagBrownFillIconHoverBackgroundColor: 'Brown-5',
|
|
169
|
+
tagBrownIconFontColor: 'Brown-6',
|
|
170
|
+
tagBrownIconDisabledFontColor: 'Brown-3',
|
|
171
|
+
tagBrownIconHoverBackgroundColor: 'Brown-2',
|
|
137
172
|
tagPurpleFontColor: 'Purple-6',
|
|
138
173
|
tagPurpleBackgroundColor: 'Purple-1',
|
|
139
174
|
tagPurpleBorderColor: 'Purple-1',
|
|
@@ -152,6 +187,10 @@ var tagTokens = {
|
|
|
152
187
|
tagPurpleFillDisabledFontColor: 'Neutral-text-1',
|
|
153
188
|
tagPurpleFillDisabledBackgroundColor: 'Purple-3',
|
|
154
189
|
tagPurpleFillDisabledBorderColor: 'Purple-3',
|
|
190
|
+
tagPurpleFillIconHoverBackgroundColor: 'Purple-5',
|
|
191
|
+
tagPurpleIconFontColor: 'Purple-6',
|
|
192
|
+
tagPurpleIconDisabledFontColor: 'Purple-3',
|
|
193
|
+
tagPurpleIconHoverBackgroundColor: 'Purple-2',
|
|
155
194
|
tagIndigoFontColor: 'Indigo-6',
|
|
156
195
|
tagIndigoBackgroundColor: 'Indigo-1',
|
|
157
196
|
tagIndigoBorderColor: 'Indigo-1',
|
|
@@ -170,6 +209,10 @@ var tagTokens = {
|
|
|
170
209
|
tagIndigoFillDisabledFontColor: 'Neutral-text-1',
|
|
171
210
|
tagIndigoFillDisabledBackgroundColor: 'Indigo-3',
|
|
172
211
|
tagIndigoFillDisabledBorderColor: 'Indigo-3',
|
|
212
|
+
tagIndigoFillIconHoverBackgroundColor: 'Indigo-5',
|
|
213
|
+
tagIndigoIconFontColor: 'Indigo-6',
|
|
214
|
+
tagIndigoIconDisabledFontColor: 'Indigo-3',
|
|
215
|
+
tagIndigoIconHoverBackgroundColor: 'Indigo-2',
|
|
173
216
|
tagCyanFontColor: 'Cyan-6',
|
|
174
217
|
tagCyanBackgroundColor: 'Cyan-1',
|
|
175
218
|
tagCyanBorderColor: 'Cyan-1',
|
|
@@ -188,6 +231,10 @@ var tagTokens = {
|
|
|
188
231
|
tagCyanFillDisabledFontColor: 'Neutral-text-1',
|
|
189
232
|
tagCyanFillDisabledBackgroundColor: 'Cyan-3',
|
|
190
233
|
tagCyanFillDisabledBorderColor: 'Cyan-3',
|
|
234
|
+
tagCyanFillIconHoverBackgroundColor: 'Cyan-5',
|
|
235
|
+
tagCyanIconFontColor: 'Cyan-6',
|
|
236
|
+
tagCyanIconDisabledFontColor: 'Cyan-3',
|
|
237
|
+
tagCyanIconHoverBackgroundColor: 'Cyan-2',
|
|
191
238
|
tagNeonFontColor: 'Neon-6',
|
|
192
239
|
tagNeonBackgroundColor: 'Neon-1',
|
|
193
240
|
tagNeonBorderColor: 'Neon-1',
|
|
@@ -206,6 +253,10 @@ var tagTokens = {
|
|
|
206
253
|
tagNeonFillDisabledFontColor: 'Neutral-text-1',
|
|
207
254
|
tagNeonFillDisabledBackgroundColor: 'Neon-3',
|
|
208
255
|
tagNeonFillDisabledBorderColor: 'Neon-3',
|
|
256
|
+
tagNeonFillIconHoverBackgroundColor: 'Neon-5',
|
|
257
|
+
tagNeonIconFontColor: 'Neon-6',
|
|
258
|
+
tagNeonIconDisabledFontColor: 'Neon-3',
|
|
259
|
+
tagNeonIconHoverBackgroundColor: 'Neon-2',
|
|
209
260
|
tagLemonFontColor: 'Lemon-6',
|
|
210
261
|
tagLemonBackgroundColor: 'Lemon-1',
|
|
211
262
|
tagLemonBorderColor: 'Lemon-1',
|
|
@@ -224,6 +275,10 @@ var tagTokens = {
|
|
|
224
275
|
tagLemonFillDisabledFontColor: 'Neutral-text-1',
|
|
225
276
|
tagLemonFillDisabledBackgroundColor: 'Lemon-3',
|
|
226
277
|
tagLemonFillDisabledBorderColor: 'Lemon-3',
|
|
278
|
+
tagLemonFillIconHoverBackgroundColor: 'Lemon-5',
|
|
279
|
+
tagLemonIconFontColor: 'Lemon-6',
|
|
280
|
+
tagLemonIconDisabledFontColor: 'Lemon-3',
|
|
281
|
+
tagLemonIconHoverBackgroundColor: 'Lemon-2',
|
|
227
282
|
tagTangerineFontColor: 'Tangerine-6',
|
|
228
283
|
tagTangerineBackgroundColor: 'Tangerine-1',
|
|
229
284
|
tagTangerineBorderColor: 'Tangerine-1',
|
|
@@ -242,86 +297,34 @@ var tagTokens = {
|
|
|
242
297
|
tagTangerineFillDisabledFontColor: 'Neutral-text-1',
|
|
243
298
|
tagTangerineFillDisabledBackgroundColor: 'Tangerine-3',
|
|
244
299
|
tagTangerineFillDisabledBorderColor: 'Tangerine-3',
|
|
300
|
+
tagTangerineFillIconHoverBackgroundColor: 'Tangerine-5',
|
|
301
|
+
tagTangerineIconFontColor: 'Tangerine-6',
|
|
302
|
+
tagTangerineIconDisabledFontColor: 'Tangerine-3',
|
|
303
|
+
tagTangerineIconHoverBackgroundColor: 'Tangerine-2',
|
|
245
304
|
tagFontSize: 'Font-12',
|
|
305
|
+
tagFontWeight: 'Weight-regular',
|
|
246
306
|
tagBorderRadius: 'Radius-small',
|
|
247
307
|
tagPaddingX: 'Spacing-6',
|
|
248
308
|
tagPaddingY: 'Spacing-0',
|
|
249
309
|
tagHeight: 'Size-11',
|
|
250
|
-
tagFontWeight: 'Weight-regular',
|
|
251
310
|
tagSmallFontSize: 'Font-12',
|
|
311
|
+
tagSmallFontWeight: 'Weight-regular',
|
|
252
312
|
tagSmallBorderRadius: 'Radius-small',
|
|
253
313
|
tagSmallPaddingX: 'Spacing-4',
|
|
254
314
|
tagSmallHeight: 'Size-10',
|
|
255
|
-
|
|
315
|
+
tagSmallInputPaddingX: 'Spacing-4',
|
|
316
|
+
tagSmallInputFontSize: 'Font-12',
|
|
317
|
+
tagSmallLineHeight: 'Line-height-dynamic',
|
|
256
318
|
tagLargeFontSize: 'Font-14',
|
|
319
|
+
tagLargeFontWeight: 'Weight-regular',
|
|
257
320
|
tagLargeBorderRadius: 'Radius-default',
|
|
258
321
|
tagLargePaddingX: 'Spacing-12',
|
|
259
322
|
tagLargePaddingY: 'Spacing-2',
|
|
260
323
|
tagLargeHeight: 'Size-14',
|
|
261
|
-
tagLargeFontWeight: 'Weight-regular',
|
|
262
|
-
tagInputPaddingX: 'Spacing-4',
|
|
263
|
-
tagInputFontSize: 'Font-12',
|
|
264
|
-
tagSmallInputPaddingX: 'Spacing-4',
|
|
265
|
-
tagSmallInputFontSize: 'Font-12',
|
|
266
324
|
tagLargeInputPaddingX: 'Spacing-4',
|
|
267
325
|
tagLargeInputFontSize: 'Font-14',
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
tagInfoOutlineIconDisabledFontColor: 'Brand-3',
|
|
272
|
-
tagInfoOutlineIconHoverBackgroundColor: 'Brand-1',
|
|
273
|
-
tagInfoOutlineIconHoverFontColor: 'Brand-6',
|
|
274
|
-
tagInfoFillIconHoverBackgroundColor: 'Brand-5',
|
|
275
|
-
tagDefaultIconFontColor: 'Neutral-text-4',
|
|
276
|
-
tagDefaultIconDisabledFontColor: 'Neutral-text-2',
|
|
277
|
-
tagDefaultIconHoverBackgroundColor: 'Neutral-fill-3',
|
|
278
|
-
tagDefaultIconHoverFontColor: 'Neutral-text-5',
|
|
279
|
-
tagDefaultFillIconHoverBackgroundColor: 'Neutral-fill-4',
|
|
280
|
-
tagSuccessIconFontColor: 'Success-6',
|
|
281
|
-
tagSuccessIconDisabledFontColor: 'Success-3',
|
|
282
|
-
tagSuccessIconHoverBackgroundColor: 'Success-2',
|
|
283
|
-
tagSuccessOutlineIconDisabledFontColor: 'Success-3',
|
|
284
|
-
tagSuccessOutlineIconHoverBackgroundColor: 'Success-2',
|
|
285
|
-
tagSuccessFillIconHoverBackgroundColor: 'Success-5',
|
|
286
|
-
tagWarningIconDisabledFontColor: 'Warning-3',
|
|
287
|
-
tagWarningIconHoverBackgroundColor: 'Warning-2',
|
|
288
|
-
tagWarningFillIconFontColor: 'Warning-6',
|
|
289
|
-
tagWarningFillIconHoverBackgroundColor: 'Warning-5',
|
|
290
|
-
tagDangerIconFontColor: 'Danger-6',
|
|
291
|
-
tagDangerIconDisabledFontColor: 'Danger-3',
|
|
292
|
-
tagDangerIconHoverBackgroundColor: 'Danger-2',
|
|
293
|
-
tagDangerFillIconHoverBackgroundColor: 'Danger-5',
|
|
294
|
-
tagMagentaIconFontColor: 'Magenta-6',
|
|
295
|
-
tagMagentaIconDisabledFontColor: 'Magenta-3',
|
|
296
|
-
tagMagentaIconHoverBackgroundColor: 'Magenta-2',
|
|
297
|
-
tagMagentaFillIconHoverBackgroundColor: 'Magenta-5',
|
|
298
|
-
tagBrownIconFontColor: 'Brown-6',
|
|
299
|
-
tagBrownIconDisabledFontColor: 'Brown-3',
|
|
300
|
-
tagBrownIconHoverBackgroundColor: 'Brown-2',
|
|
301
|
-
tagBrownFillIconHoverBackgroundColor: 'Brown-5',
|
|
302
|
-
tagPurpleIconFontColor: 'Purple-6',
|
|
303
|
-
tagPurpleIconDisabledFontColor: 'Purple-3',
|
|
304
|
-
tagPurpleIconHoverBackgroundColor: 'Purple-2',
|
|
305
|
-
tagPurpleFillIconHoverBackgroundColor: 'Purple-5',
|
|
306
|
-
tagIndigoIconFontColor: 'Indigo-6',
|
|
307
|
-
tagIndigoIconDisabledFontColor: 'Indigo-3',
|
|
308
|
-
tagIndigoIconHoverBackgroundColor: 'Indigo-2',
|
|
309
|
-
tagIndigoFillIconHoverBackgroundColor: 'Indigo-5',
|
|
310
|
-
tagCyanIconFontColor: 'Cyan-6',
|
|
311
|
-
tagCyanIconDisabledFontColor: 'Cyan-3',
|
|
312
|
-
tagCyanIconHoverBackgroundColor: 'Cyan-2',
|
|
313
|
-
tagCyanFillIconHoverBackgroundColor: 'Cyan-5',
|
|
314
|
-
tagNeonIconFontColor: 'Neon-6',
|
|
315
|
-
tagNeonIconDisabledFontColor: 'Neon-3',
|
|
316
|
-
tagNeonIconHoverBackgroundColor: 'Neon-2',
|
|
317
|
-
tagNeonFillIconHoverBackgroundColor: 'Neon-5',
|
|
318
|
-
tagLemonIconFontColor: 'Lemon-6',
|
|
319
|
-
tagLemonIconDisabledFontColor: 'Lemon-3',
|
|
320
|
-
tagLemonIconHoverBackgroundColor: 'Lemon-2',
|
|
321
|
-
tagLemonFillIconHoverBackgroundColor: 'Lemon-5',
|
|
322
|
-
tagTangerineIconFontColor: 'Tangerine-6',
|
|
323
|
-
tagTangerineIconDisabledFontColor: 'Tangerine-3',
|
|
324
|
-
tagTangerineIconHoverBackgroundColor: 'Tangerine-2',
|
|
325
|
-
tagTangerineFillIconHoverBackgroundColor: 'Tangerine-5'
|
|
326
|
+
tagLargeLineHeight: 'Line-height-dynamic',
|
|
327
|
+
tagInputPaddingX: 'Spacing-4',
|
|
328
|
+
tagInputFontSize: 'Font-12'
|
|
326
329
|
};
|
|
327
330
|
var _default = exports.default = tagTokens;
|
package/cjs/tag/token.js
CHANGED
|
@@ -32,7 +32,8 @@ var tagTokenDescription = {
|
|
|
32
32
|
* 该映射表将根据规则自动生成,并与公共 token 进行合并。若有相同 token,将覆盖公共 token。默认不包含公共 token,除非在映射表中添加覆盖。
|
|
33
33
|
* 注意,该映射表的内容不与 tagRules 强关联,非 tagRules 规则内的 token 需手动增加或删减。
|
|
34
34
|
*/
|
|
35
|
-
var tagTokenValue = {
|
|
35
|
+
var tagTokenValue = {};
|
|
36
|
+
var tagTokenExtraValue = {
|
|
36
37
|
info: {
|
|
37
38
|
font: {
|
|
38
39
|
color: 'Brand-6'
|
|
@@ -172,6 +173,9 @@ var tagTokenValue = {
|
|
|
172
173
|
}
|
|
173
174
|
},
|
|
174
175
|
default: {
|
|
176
|
+
line: {
|
|
177
|
+
height: 'Line-height-dynamic'
|
|
178
|
+
},
|
|
175
179
|
font: {
|
|
176
180
|
color: 'Neutral-text-5'
|
|
177
181
|
},
|
|
@@ -1860,6 +1864,9 @@ var tagTokenValue = {
|
|
|
1860
1864
|
font: {
|
|
1861
1865
|
size: 'Font-12'
|
|
1862
1866
|
}
|
|
1867
|
+
},
|
|
1868
|
+
line: {
|
|
1869
|
+
height: 'Line-height-dynamic'
|
|
1863
1870
|
}
|
|
1864
1871
|
},
|
|
1865
1872
|
large: {
|
|
@@ -1883,6 +1890,9 @@ var tagTokenValue = {
|
|
|
1883
1890
|
font: {
|
|
1884
1891
|
size: 'Font-14'
|
|
1885
1892
|
}
|
|
1893
|
+
},
|
|
1894
|
+
line: {
|
|
1895
|
+
height: 'Line-height-dynamic'
|
|
1886
1896
|
}
|
|
1887
1897
|
},
|
|
1888
1898
|
input: {
|
|
@@ -1895,7 +1905,6 @@ var tagTokenValue = {
|
|
|
1895
1905
|
}
|
|
1896
1906
|
}
|
|
1897
1907
|
};
|
|
1898
|
-
var tagTokenExtraValue = {};
|
|
1899
1908
|
module.exports = {
|
|
1900
1909
|
tagTokenValue: tagTokenValue,
|
|
1901
1910
|
tagTokenExtraValue: tagTokenExtraValue,
|