@sheinx/theme 3.9.0-beta.10 → 3.9.0-beta.11

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.
@@ -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,SA4ThB,CAAC;AAEF,eAAe,SAAS,CAAC"}
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
- tagSmallFontWeight: 'Weight-regular',
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
- tagInfoIconFontColor: 'Brand-6',
269
- tagInfoIconDisabledFontColor: 'Brand-3',
270
- tagInfoIconHoverBackgroundColor: 'Brand-2',
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,