@sheinx/theme 3.2.0-rc.1 → 3.2.0-rc.2

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.
Files changed (91) hide show
  1. package/cjs/alert/alert.d.ts.map +1 -1
  2. package/cjs/alert/alert.js +4 -1
  3. package/cjs/alert/rule.js +2 -2
  4. package/cjs/alert/token.js +7 -2
  5. package/cjs/alert/type.d.ts +19 -1
  6. package/cjs/alert/type.d.ts.map +1 -1
  7. package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
  8. package/cjs/breadcrumb/breadcrumb.js +1 -3
  9. package/cjs/breadcrumb/token.js +2 -8
  10. package/cjs/breadcrumb/type.d.ts +6 -18
  11. package/cjs/breadcrumb/type.d.ts.map +1 -1
  12. package/cjs/descriptions/descriptions.d.ts.map +1 -1
  13. package/cjs/descriptions/descriptions.js +6 -4
  14. package/cjs/descriptions/rule.js +3 -2
  15. package/cjs/descriptions/token.js +11 -3
  16. package/cjs/descriptions/type.d.ts +15 -3
  17. package/cjs/descriptions/type.d.ts.map +1 -1
  18. package/cjs/dropdown/dropdown.d.ts.map +1 -1
  19. package/cjs/dropdown/dropdown.js +6 -4
  20. package/cjs/dropdown/rule.js +2 -0
  21. package/cjs/dropdown/token.js +9 -5
  22. package/cjs/dropdown/type.d.ts +16 -4
  23. package/cjs/dropdown/type.d.ts.map +1 -1
  24. package/cjs/input/input.d.ts.map +1 -1
  25. package/cjs/input/input.js +17 -5
  26. package/cjs/input/rule.js +1 -7
  27. package/cjs/input/token.js +29 -12
  28. package/cjs/input/type.d.ts +94 -22
  29. package/cjs/input/type.d.ts.map +1 -1
  30. package/cjs/list/list.d.ts.map +1 -1
  31. package/cjs/list/list.js +5 -1
  32. package/cjs/list/token.js +11 -1
  33. package/cjs/list/type.d.ts +25 -1
  34. package/cjs/list/type.d.ts.map +1 -1
  35. package/cjs/popover/popover.d.ts.map +1 -1
  36. package/cjs/popover/popover.js +9 -7
  37. package/cjs/popover/rule.js +2 -2
  38. package/cjs/popover/token.js +11 -7
  39. package/cjs/popover/type.d.ts +19 -7
  40. package/cjs/popover/type.d.ts.map +1 -1
  41. package/cjs/select/select.d.ts.map +1 -1
  42. package/cjs/select/select.js +23 -7
  43. package/cjs/select/token.js +62 -12
  44. package/cjs/select/type.d.ts +103 -7
  45. package/cjs/select/type.d.ts.map +1 -1
  46. package/esm/alert/alert.d.ts.map +1 -1
  47. package/esm/alert/alert.js +4 -1
  48. package/esm/alert/rule.js +2 -2
  49. package/esm/alert/token.js +7 -2
  50. package/esm/alert/type.d.ts +19 -1
  51. package/esm/alert/type.d.ts.map +1 -1
  52. package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
  53. package/esm/breadcrumb/breadcrumb.js +1 -3
  54. package/esm/breadcrumb/token.js +2 -8
  55. package/esm/breadcrumb/type.d.ts +6 -18
  56. package/esm/breadcrumb/type.d.ts.map +1 -1
  57. package/esm/descriptions/descriptions.d.ts.map +1 -1
  58. package/esm/descriptions/descriptions.js +6 -4
  59. package/esm/descriptions/rule.js +3 -2
  60. package/esm/descriptions/token.js +11 -3
  61. package/esm/descriptions/type.d.ts +15 -3
  62. package/esm/descriptions/type.d.ts.map +1 -1
  63. package/esm/dropdown/dropdown.d.ts.map +1 -1
  64. package/esm/dropdown/dropdown.js +6 -4
  65. package/esm/dropdown/rule.js +2 -0
  66. package/esm/dropdown/token.js +9 -5
  67. package/esm/dropdown/type.d.ts +16 -4
  68. package/esm/dropdown/type.d.ts.map +1 -1
  69. package/esm/input/input.d.ts.map +1 -1
  70. package/esm/input/input.js +17 -5
  71. package/esm/input/rule.js +1 -7
  72. package/esm/input/token.js +29 -12
  73. package/esm/input/type.d.ts +94 -22
  74. package/esm/input/type.d.ts.map +1 -1
  75. package/esm/list/list.d.ts.map +1 -1
  76. package/esm/list/list.js +5 -1
  77. package/esm/list/token.js +11 -1
  78. package/esm/list/type.d.ts +25 -1
  79. package/esm/list/type.d.ts.map +1 -1
  80. package/esm/popover/popover.d.ts.map +1 -1
  81. package/esm/popover/popover.js +9 -7
  82. package/esm/popover/rule.js +2 -2
  83. package/esm/popover/token.js +11 -7
  84. package/esm/popover/type.d.ts +19 -7
  85. package/esm/popover/type.d.ts.map +1 -1
  86. package/esm/select/select.d.ts.map +1 -1
  87. package/esm/select/select.js +23 -7
  88. package/esm/select/token.js +62 -12
  89. package/esm/select/type.d.ts +103 -7
  90. package/esm/select/type.d.ts.map +1 -1
  91. package/package.json +1 -1
@@ -25,14 +25,17 @@ var inputTokenDescription = {
25
25
  * 该映射表将根据规则自动生成,并与公共 token 进行合并。若有相同 token,将覆盖公共 token。默认不包含公共 token,除非在映射表中添加覆盖。
26
26
  * 注意,该映射表的内容不与 inputRules 强关联,非 inputRules 规则内的 token 需手动增加或删减。
27
27
  */
28
- var inputTokenValue = {
28
+ var inputTokenValue = {};
29
+ var inputTokenExtraValue = {
29
30
  font: {
30
31
  size: 'Font-14',
31
- color: 'Neutral-text-5'
32
+ color: 'Neutral-text-5',
33
+ weight: 'Weight-regular'
32
34
  },
33
35
  border: {
34
- radius: 'Radius-4',
35
- color: 'Neutral-border-2'
36
+ radius: 'Radius-default',
37
+ color: 'Neutral-border-2',
38
+ width: 'Border-1'
36
39
  },
37
40
  padding: {
38
41
  x: 'Spacing-8',
@@ -96,7 +99,7 @@ var inputTokenValue = {
96
99
  color: 'Brand-6'
97
100
  },
98
101
  background: {
99
- color: ''
102
+ color: 'Neutral-fill-1'
100
103
  },
101
104
  shadow: '',
102
105
  clear: {
@@ -120,7 +123,7 @@ var inputTokenValue = {
120
123
  color: 'Brand-7'
121
124
  },
122
125
  background: {
123
- color: ''
126
+ color: 'Neutral-fill-1'
124
127
  },
125
128
  shadow: 'Brand-2',
126
129
  clear: {
@@ -216,7 +219,7 @@ var inputTokenValue = {
216
219
  color: 'Danger-6'
217
220
  },
218
221
  background: {
219
- color: ''
222
+ color: 'Neutral-fill-1'
220
223
  },
221
224
  shadow: '',
222
225
  clear: {
@@ -236,10 +239,10 @@ var inputTokenValue = {
236
239
  color: ''
237
240
  },
238
241
  border: {
239
- color: ''
242
+ color: 'Danger-6'
240
243
  },
241
244
  background: {
242
- color: ''
245
+ color: 'Neutral-fill-1'
243
246
  },
244
247
  shadow: '',
245
248
  clear: {
@@ -260,10 +263,10 @@ var inputTokenValue = {
260
263
  color: ''
261
264
  },
262
265
  border: {
263
- color: ''
266
+ color: 'Danger-6'
264
267
  },
265
268
  background: {
266
- color: ''
269
+ color: 'Neutral-fill-1'
267
270
  },
268
271
  shadow: 'Danger-1',
269
272
  clear: {
@@ -325,10 +328,24 @@ var inputTokenValue = {
325
328
  font: {
326
329
  size: 'Font-14'
327
330
  }
331
+ },
332
+ top: {
333
+ font: {
334
+ size: 'Font-12'
335
+ },
336
+ small: {
337
+ font: {
338
+ size: 'Font-12'
339
+ }
340
+ },
341
+ large: {
342
+ font: {
343
+ size: 'Font-12'
344
+ }
345
+ }
328
346
  }
329
347
  }
330
348
  };
331
- var inputTokenExtraValue = {};
332
349
  module.exports = {
333
350
  inputTokenValue: inputTokenValue,
334
351
  inputTokenExtraValue: inputTokenExtraValue,
@@ -7,10 +7,34 @@ export interface InputTokens {
7
7
  inputFontSize: string;
8
8
  /**
9
9
  * @type {string}
10
- * @token Radius-4
10
+ * @token Neutral-text-5
11
+ * @description 输入框字体颜色
12
+ */
13
+ inputFontColor: string;
14
+ /**
15
+ * @type {string}
16
+ * @token Weight-regular
17
+ * @description 输入框字体字重
18
+ */
19
+ inputFontWeight: string;
20
+ /**
21
+ * @type {string}
22
+ * @token Radius-default
11
23
  * @description 输入框边框圆角
12
24
  */
13
25
  inputBorderRadius: string;
26
+ /**
27
+ * @type {string}
28
+ * @token Neutral-border-2
29
+ * @description 输入框边框颜色
30
+ */
31
+ inputBorderColor: string;
32
+ /**
33
+ * @type {string}
34
+ * @token Border-1
35
+ * @description 输入框边框宽度
36
+ */
37
+ inputBorderWidth: string;
14
38
  /**
15
39
  * @type {string}
16
40
  * @token Spacing-8
@@ -29,6 +53,12 @@ export interface InputTokens {
29
53
  * @description 输入框图标字号
30
54
  */
31
55
  inputIconSize: string;
56
+ /**
57
+ * @type {string}
58
+ * @token Neutral-text-4
59
+ * @description 输入框图标颜色
60
+ */
61
+ inputIconColor: string;
32
62
  /**
33
63
  * @type {string}
34
64
  * @token Font-12
@@ -65,24 +95,12 @@ export interface InputTokens {
65
95
  * @description 输入框大尺寸内边距(垂直方向)
66
96
  */
67
97
  inputLargePaddingY: string;
68
- /**
69
- * @type {string}
70
- * @token Neutral-text-5
71
- * @description 输入框字体颜色
72
- */
73
- inputFontColor: string;
74
98
  /**
75
99
  * @type {string}
76
100
  * @token Neutral-text-2
77
101
  * @description 输入框占位符颜色
78
102
  */
79
103
  inputPlaceholderColor: string;
80
- /**
81
- * @type {string}
82
- * @token Neutral-border-2
83
- * @description 输入框边框颜色
84
- */
85
- inputBorderColor: string;
86
104
  /**
87
105
  * @type {string}
88
106
  * @token Neutral-fill-1
@@ -101,18 +119,18 @@ export interface InputTokens {
101
119
  * @description 输入框反转颜色
102
120
  */
103
121
  inputToggleColor: string;
104
- /**
105
- * @type {string}
106
- * @token Neutral-text-4
107
- * @description 输入框图标颜色
108
- */
109
- inputIconColor: string;
110
122
  /**
111
123
  * @type {string}
112
124
  * @token Brand-6
113
125
  * @description 输入框鼠标移入时的边框颜色
114
126
  */
115
127
  inputHoverBorderColor: string;
128
+ /**
129
+ * @type {string}
130
+ * @token Neutral-fill-1
131
+ * @description 输入框鼠标移入时的背景颜色
132
+ */
133
+ inputHoverBackgroundColor: string;
116
134
  /**
117
135
  * @type {string}
118
136
  * @token Neutral-text-4
@@ -131,6 +149,12 @@ export interface InputTokens {
131
149
  * @description 输入框鼠标聚焦时的边框颜色
132
150
  */
133
151
  inputFocusBorderColor: string;
152
+ /**
153
+ * @type {string}
154
+ * @token Neutral-fill-1
155
+ * @description 输入框鼠标聚焦时的背景颜色
156
+ */
157
+ inputFocusBackgroundColor: string;
134
158
  /**
135
159
  * @type {string}
136
160
  * @token Brand-2
@@ -167,6 +191,36 @@ export interface InputTokens {
167
191
  * @description 输入框错误状态的边框颜色
168
192
  */
169
193
  inputErrorBorderColor: string;
194
+ /**
195
+ * @type {string}
196
+ * @token Neutral-fill-1
197
+ * @description 输入框错误状态的背景颜色
198
+ */
199
+ inputErrorBackgroundColor: string;
200
+ /**
201
+ * @type {string}
202
+ * @token Danger-6
203
+ * @description 输入框错误状态的鼠标移入时的边框颜色
204
+ */
205
+ inputErrorHoverBorderColor: string;
206
+ /**
207
+ * @type {string}
208
+ * @token Neutral-fill-1
209
+ * @description 输入框错误状态的鼠标移入时的背景颜色
210
+ */
211
+ inputErrorHoverBackgroundColor: string;
212
+ /**
213
+ * @type {string}
214
+ * @token Danger-6
215
+ * @description 输入框错误状态的鼠标聚焦时的边框颜色
216
+ */
217
+ inputErrorFocusBorderColor: string;
218
+ /**
219
+ * @type {string}
220
+ * @token Neutral-fill-1
221
+ * @description 输入框错误状态的鼠标聚焦时的背景颜色
222
+ */
223
+ inputErrorFocusBackgroundColor: string;
170
224
  /**
171
225
  * @type {string}
172
226
  * @token Danger-1
@@ -227,6 +281,12 @@ export interface InputTokens {
227
281
  * @description 输入框内嵌字体字号
228
282
  */
229
283
  inputInnerFontSize: string;
284
+ /**
285
+ * @type {string}
286
+ * @token Neutral-text-4
287
+ * @description 输入框内嵌字体颜色
288
+ */
289
+ inputInnerFontColor: string;
230
290
  /**
231
291
  * @type {string}
232
292
  * @token Spacing-8
@@ -265,9 +325,21 @@ export interface InputTokens {
265
325
  inputInnerLargeFontSize: string;
266
326
  /**
267
327
  * @type {string}
268
- * @token Neutral-text-4
269
- * @description 输入框内嵌字体颜色
328
+ * @token Font-12
329
+ * @description 输入框内嵌undefined字体字号
270
330
  */
271
- inputInnerFontColor: string;
331
+ inputInnerTopFontSize: string;
332
+ /**
333
+ * @type {string}
334
+ * @token Font-12
335
+ * @description 输入框内嵌undefined小尺寸字体字号
336
+ */
337
+ inputInnerTopSmallFontSize: string;
338
+ /**
339
+ * @type {string}
340
+ * @token Font-12
341
+ * @description 输入框内嵌undefined大尺寸字体字号
342
+ */
343
+ inputInnerTopLargeFontSize: string;
272
344
  }
273
345
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IA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ACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;CACpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["list.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UAajB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["list.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UAiBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/cjs/list/list.js CHANGED
@@ -11,13 +11,17 @@ var listTokens = {
11
11
  listFontSize: 'Font-14',
12
12
  listFontColor: 'Neutral-text-5',
13
13
  listBorderColor: 'Neutral-border-1',
14
- listBorderRadius: 'Radius-2',
14
+ listBorderRadius: 'Radius-lesser',
15
+ listBorderWidth: 'Border-1',
15
16
  listItemPaddingY: 'Spacing-12',
16
17
  listItemPaddingX: 'Spacing-16',
18
+ listItemBackgroundColor: 'Transparent',
17
19
  listSmallItemPaddingY: 'Spacing-8',
18
20
  listSmallItemPaddingX: 'Spacing-12',
21
+ listSmallFontSize: 'Font-14',
19
22
  listLargeItemPaddingY: 'Spacing-16',
20
23
  listLargeItemPaddingX: 'Spacing-20',
24
+ listLargeFontSize: 'Font-14',
21
25
  listPaginationMarginY: 'Spacing-12',
22
26
  listStripedBackgroundColor: 'Neutral-fill-2'
23
27
  };
package/cjs/list/token.js CHANGED
@@ -30,12 +30,16 @@ var listTokenExtraValue = {
30
30
  },
31
31
  border: {
32
32
  color: 'Neutral-border-1',
33
- radius: 'Radius-2'
33
+ radius: 'Radius-lesser',
34
+ width: 'Border-1'
34
35
  },
35
36
  item: {
36
37
  padding: {
37
38
  y: 'Spacing-12',
38
39
  x: 'Spacing-16'
40
+ },
41
+ background: {
42
+ color: 'Transparent'
39
43
  }
40
44
  },
41
45
  small: {
@@ -44,6 +48,9 @@ var listTokenExtraValue = {
44
48
  y: 'Spacing-8',
45
49
  x: 'Spacing-12'
46
50
  }
51
+ },
52
+ font: {
53
+ size: 'Font-14'
47
54
  }
48
55
  },
49
56
  large: {
@@ -52,6 +59,9 @@ var listTokenExtraValue = {
52
59
  y: 'Spacing-16',
53
60
  x: 'Spacing-20'
54
61
  }
62
+ },
63
+ font: {
64
+ size: 'Font-14'
55
65
  }
56
66
  },
57
67
  pagination: {
@@ -19,10 +19,16 @@ export interface ListTokens {
19
19
  listBorderColor: string;
20
20
  /**
21
21
  * @type {string}
22
- * @token Radius-2
22
+ * @token Radius-lesser
23
23
  * @description 列表边框圆角
24
24
  */
25
25
  listBorderRadius: string;
26
+ /**
27
+ * @type {string}
28
+ * @token Border-1
29
+ * @description 列表边框宽度
30
+ */
31
+ listBorderWidth: string;
26
32
  /**
27
33
  * @type {string}
28
34
  * @token Spacing-12
@@ -35,6 +41,12 @@ export interface ListTokens {
35
41
  * @description 列表选项内边距(水平方向)
36
42
  */
37
43
  listItemPaddingX: string;
44
+ /**
45
+ * @type {string}
46
+ * @token Transparent
47
+ * @description 列表选项背景颜色
48
+ */
49
+ listItemBackgroundColor: string;
38
50
  /**
39
51
  * @type {string}
40
52
  * @token Spacing-8
@@ -47,6 +59,12 @@ export interface ListTokens {
47
59
  * @description 列表小尺寸选项内边距(水平方向)
48
60
  */
49
61
  listSmallItemPaddingX: string;
62
+ /**
63
+ * @type {string}
64
+ * @token Font-14
65
+ * @description 列表小尺寸字体字号
66
+ */
67
+ listSmallFontSize: string;
50
68
  /**
51
69
  * @type {string}
52
70
  * @token Spacing-16
@@ -59,6 +77,12 @@ export interface ListTokens {
59
77
  * @description 列表大尺寸选项内边距(水平方向)
60
78
  */
61
79
  listLargeItemPaddingX: string;
80
+ /**
81
+ * @type {string}
82
+ * @token Font-14
83
+ * @description 列表大尺寸字体字号
84
+ */
85
+ listLargeFontSize: string;
62
86
  /**
63
87
  * @type {string}
64
88
  * @token Spacing-12
@@ -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,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;CACpC"}
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,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;CACpC"}
@@ -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,aAwBpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
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"}
@@ -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-4',
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: '#fff3e5',
23
- popoverWarningBorderColor: 'rgba(255, 140, 0, 0.1)',
24
- popoverInfoBackgroundColor: '#e8f1fe',
25
- popoverInfoBorderColor: 'rgba(25, 122, 250, 0.1)',
26
- popoverDangerBackgroundColor: '#ffeded',
27
- popoverDangerBorderColor: 'rgba(255, 77, 80, 0.1)',
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;
@@ -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 = {
@@ -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-4',
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: '#fff3e5'
63
+ color: 'Warning-1'
63
64
  },
64
65
  shadow: '',
65
66
  border: {
66
- color: 'rgba(255, 140, 0, 0.1)'
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: '#e8f1fe'
75
+ color: 'Brand-1'
75
76
  },
76
77
  shadow: '',
77
78
  border: {
78
- color: 'rgba(25, 122, 250, 0.1)'
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: '#ffeded'
87
+ color: 'Danger-1'
87
88
  },
88
89
  shadow: '',
89
90
  border: {
90
- color: 'rgba(255, 77, 80, 0.1)'
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
  }
@@ -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-4
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 #fff3e5
76
+ * @token Warning-1
71
77
  * @description 气泡警告背景颜色
72
78
  */
73
79
  popoverWarningBackgroundColor: string;
74
80
  /**
75
81
  * @type {string}
76
- * @token rgba(255, 140, 0, 0.1)
82
+ * @token Warning-2
77
83
  * @description 气泡警告边框颜色
78
84
  */
79
85
  popoverWarningBorderColor: string;
80
86
  /**
81
87
  * @type {string}
82
- * @token #e8f1fe
88
+ * @token Brand-1
83
89
  * @description 气泡提示背景颜色
84
90
  */
85
91
  popoverInfoBackgroundColor: string;
86
92
  /**
87
93
  * @type {string}
88
- * @token rgba(25, 122, 250, 0.1)
94
+ * @token Brand-2
89
95
  * @description 气泡提示边框颜色
90
96
  */
91
97
  popoverInfoBorderColor: string;
92
98
  /**
93
99
  * @type {string}
94
- * @token #ffeded
100
+ * @token Danger-1
95
101
  * @description 气泡危险色背景颜色
96
102
  */
97
103
  popoverDangerBackgroundColor: string;
98
104
  /**
99
105
  * @type {string}
100
- * @token rgba(255, 77, 80, 0.1)
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":[],"mappings":"AAGA,MAAM,WAAW,aAAa;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ources":["select.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,YA6EnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
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"}