@sheinx/theme 3.2.0 → 3.3.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.
Files changed (209) hide show
  1. package/cjs/alert/alert.d.ts.map +1 -1
  2. package/cjs/alert/alert.js +3 -0
  3. package/cjs/alert/rule.js +1 -7
  4. package/cjs/alert/token.js +9 -2
  5. package/cjs/alert/type.d.ts +18 -0
  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 +4 -1
  9. package/cjs/breadcrumb/token.js +16 -2
  10. package/cjs/breadcrumb/type.d.ts +19 -1
  11. package/cjs/breadcrumb/type.d.ts.map +1 -1
  12. package/cjs/button/button.js +3 -3
  13. package/cjs/button/token.js +3 -3
  14. package/cjs/button/type.d.ts +3 -3
  15. package/cjs/card/card.d.ts.map +1 -1
  16. package/cjs/card/card.js +16 -2
  17. package/cjs/card/token.js +32 -3
  18. package/cjs/card/type.d.ts +85 -1
  19. package/cjs/card/type.d.ts.map +1 -1
  20. package/cjs/carousel/carousel.js +1 -1
  21. package/cjs/carousel/token.js +1 -1
  22. package/cjs/carousel/type.d.ts +1 -1
  23. package/cjs/cascader/cascader.js +4 -4
  24. package/cjs/cascader/token.js +4 -4
  25. package/cjs/cascader/type.d.ts +4 -4
  26. package/cjs/collapse/collapse.js +4 -4
  27. package/cjs/collapse/token.js +4 -4
  28. package/cjs/collapse/type.d.ts +4 -4
  29. package/cjs/date-picker/date-picker.d.ts.map +1 -1
  30. package/cjs/date-picker/date-picker.js +7 -4
  31. package/cjs/date-picker/token.js +10 -5
  32. package/cjs/date-picker/type.d.ts +22 -4
  33. package/cjs/date-picker/type.d.ts.map +1 -1
  34. package/cjs/divider/divider.d.ts.map +1 -1
  35. package/cjs/divider/divider.js +2 -1
  36. package/cjs/divider/token.js +3 -2
  37. package/cjs/divider/type.d.ts +7 -1
  38. package/cjs/divider/type.d.ts.map +1 -1
  39. package/cjs/empty/empty.d.ts.map +1 -1
  40. package/cjs/empty/empty.js +2 -1
  41. package/cjs/empty/rule.js +1 -1
  42. package/cjs/empty/token.js +5 -2
  43. package/cjs/empty/type.d.ts +6 -0
  44. package/cjs/empty/type.d.ts.map +1 -1
  45. package/cjs/form/form.d.ts.map +1 -1
  46. package/cjs/form/form.js +8 -2
  47. package/cjs/form/token.js +14 -2
  48. package/cjs/form/type.d.ts +38 -2
  49. package/cjs/form/type.d.ts.map +1 -1
  50. package/cjs/image/image.d.ts.map +1 -1
  51. package/cjs/image/image.js +5 -3
  52. package/cjs/image/rule.js +1 -1
  53. package/cjs/image/token.js +7 -3
  54. package/cjs/image/type.d.ts +15 -3
  55. package/cjs/image/type.d.ts.map +1 -1
  56. package/cjs/modal/modal.js +1 -1
  57. package/cjs/modal/token.js +1 -1
  58. package/cjs/modal/type.d.ts +1 -1
  59. package/cjs/progress/progress.d.ts.map +1 -1
  60. package/cjs/progress/progress.js +15 -1
  61. package/cjs/progress/token.js +81 -1
  62. package/cjs/progress/type.d.ts +87 -3
  63. package/cjs/progress/type.d.ts.map +1 -1
  64. package/cjs/rate/rate.d.ts.map +1 -1
  65. package/cjs/rate/rate.js +3 -1
  66. package/cjs/rate/token.js +6 -2
  67. package/cjs/rate/type.d.ts +13 -1
  68. package/cjs/rate/type.d.ts.map +1 -1
  69. package/cjs/slider/slider.js +1 -1
  70. package/cjs/slider/token.js +1 -1
  71. package/cjs/slider/type.d.ts +1 -1
  72. package/cjs/tabs/rule.js +17 -6
  73. package/cjs/tabs/tabs.d.ts.map +1 -1
  74. package/cjs/tabs/tabs.js +52 -5
  75. package/cjs/tabs/token.js +202 -14
  76. package/cjs/tabs/type.d.ts +305 -23
  77. package/cjs/tabs/type.d.ts.map +1 -1
  78. package/cjs/tag/rule.js +1 -1
  79. package/cjs/tag/tag.d.ts.map +1 -1
  80. package/cjs/tag/tag.js +7 -4
  81. package/cjs/tag/token.js +10 -34
  82. package/cjs/tag/type.d.ts +22 -4
  83. package/cjs/tag/type.d.ts.map +1 -1
  84. package/cjs/textarea/textarea.js +1 -1
  85. package/cjs/textarea/token.js +1 -1
  86. package/cjs/textarea/type.d.ts +1 -1
  87. package/cjs/tooltip/token.js +1 -1
  88. package/cjs/tooltip/tooltip.js +1 -1
  89. package/cjs/tooltip/type.d.ts +1 -1
  90. package/cjs/transfer/rule.js +1 -8
  91. package/cjs/transfer/token.js +21 -4
  92. package/cjs/transfer/transfer.d.ts.map +1 -1
  93. package/cjs/transfer/transfer.js +11 -5
  94. package/cjs/transfer/type.d.ts +54 -18
  95. package/cjs/transfer/type.d.ts.map +1 -1
  96. package/cjs/tree/token.js +1 -1
  97. package/cjs/tree/tree.js +1 -1
  98. package/cjs/tree/type.d.ts +1 -1
  99. package/cjs/tree-select/token.js +4 -4
  100. package/cjs/tree-select/tree-select.js +4 -4
  101. package/cjs/tree-select/type.d.ts +4 -4
  102. package/cjs/upload/token.js +2 -2
  103. package/cjs/upload/type.d.ts +2 -2
  104. package/cjs/upload/upload.js +2 -2
  105. package/esm/alert/alert.d.ts.map +1 -1
  106. package/esm/alert/alert.js +3 -0
  107. package/esm/alert/rule.js +1 -7
  108. package/esm/alert/token.js +9 -2
  109. package/esm/alert/type.d.ts +18 -0
  110. package/esm/alert/type.d.ts.map +1 -1
  111. package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
  112. package/esm/breadcrumb/breadcrumb.js +4 -1
  113. package/esm/breadcrumb/token.js +16 -2
  114. package/esm/breadcrumb/type.d.ts +19 -1
  115. package/esm/breadcrumb/type.d.ts.map +1 -1
  116. package/esm/button/button.js +3 -3
  117. package/esm/button/token.js +3 -3
  118. package/esm/button/type.d.ts +3 -3
  119. package/esm/card/card.d.ts.map +1 -1
  120. package/esm/card/card.js +16 -2
  121. package/esm/card/token.js +32 -3
  122. package/esm/card/type.d.ts +85 -1
  123. package/esm/card/type.d.ts.map +1 -1
  124. package/esm/carousel/carousel.js +1 -1
  125. package/esm/carousel/token.js +1 -1
  126. package/esm/carousel/type.d.ts +1 -1
  127. package/esm/cascader/cascader.js +4 -4
  128. package/esm/cascader/token.js +4 -4
  129. package/esm/cascader/type.d.ts +4 -4
  130. package/esm/collapse/collapse.js +4 -4
  131. package/esm/collapse/token.js +4 -4
  132. package/esm/collapse/type.d.ts +4 -4
  133. package/esm/date-picker/date-picker.d.ts.map +1 -1
  134. package/esm/date-picker/date-picker.js +7 -4
  135. package/esm/date-picker/token.js +10 -5
  136. package/esm/date-picker/type.d.ts +22 -4
  137. package/esm/date-picker/type.d.ts.map +1 -1
  138. package/esm/divider/divider.d.ts.map +1 -1
  139. package/esm/divider/divider.js +2 -1
  140. package/esm/divider/token.js +3 -2
  141. package/esm/divider/type.d.ts +7 -1
  142. package/esm/divider/type.d.ts.map +1 -1
  143. package/esm/empty/empty.d.ts.map +1 -1
  144. package/esm/empty/empty.js +2 -1
  145. package/esm/empty/rule.js +1 -1
  146. package/esm/empty/token.js +5 -2
  147. package/esm/empty/type.d.ts +6 -0
  148. package/esm/empty/type.d.ts.map +1 -1
  149. package/esm/form/form.d.ts.map +1 -1
  150. package/esm/form/form.js +8 -2
  151. package/esm/form/token.js +14 -2
  152. package/esm/form/type.d.ts +38 -2
  153. package/esm/form/type.d.ts.map +1 -1
  154. package/esm/image/image.d.ts.map +1 -1
  155. package/esm/image/image.js +5 -3
  156. package/esm/image/rule.js +1 -1
  157. package/esm/image/token.js +7 -3
  158. package/esm/image/type.d.ts +15 -3
  159. package/esm/image/type.d.ts.map +1 -1
  160. package/esm/modal/modal.js +1 -1
  161. package/esm/modal/token.js +1 -1
  162. package/esm/modal/type.d.ts +1 -1
  163. package/esm/progress/progress.d.ts.map +1 -1
  164. package/esm/progress/progress.js +15 -1
  165. package/esm/progress/token.js +81 -1
  166. package/esm/progress/type.d.ts +87 -3
  167. package/esm/progress/type.d.ts.map +1 -1
  168. package/esm/rate/rate.d.ts.map +1 -1
  169. package/esm/rate/rate.js +3 -1
  170. package/esm/rate/token.js +6 -2
  171. package/esm/rate/type.d.ts +13 -1
  172. package/esm/rate/type.d.ts.map +1 -1
  173. package/esm/slider/slider.js +1 -1
  174. package/esm/slider/token.js +1 -1
  175. package/esm/slider/type.d.ts +1 -1
  176. package/esm/tabs/rule.js +17 -6
  177. package/esm/tabs/tabs.d.ts.map +1 -1
  178. package/esm/tabs/tabs.js +52 -5
  179. package/esm/tabs/token.js +202 -14
  180. package/esm/tabs/type.d.ts +305 -23
  181. package/esm/tabs/type.d.ts.map +1 -1
  182. package/esm/tag/rule.js +1 -1
  183. package/esm/tag/tag.d.ts.map +1 -1
  184. package/esm/tag/tag.js +7 -4
  185. package/esm/tag/token.js +10 -34
  186. package/esm/tag/type.d.ts +22 -4
  187. package/esm/tag/type.d.ts.map +1 -1
  188. package/esm/textarea/textarea.js +1 -1
  189. package/esm/textarea/token.js +1 -1
  190. package/esm/textarea/type.d.ts +1 -1
  191. package/esm/tooltip/token.js +1 -1
  192. package/esm/tooltip/tooltip.js +1 -1
  193. package/esm/tooltip/type.d.ts +1 -1
  194. package/esm/transfer/rule.js +1 -8
  195. package/esm/transfer/token.js +21 -4
  196. package/esm/transfer/transfer.d.ts.map +1 -1
  197. package/esm/transfer/transfer.js +11 -5
  198. package/esm/transfer/type.d.ts +54 -18
  199. package/esm/transfer/type.d.ts.map +1 -1
  200. package/esm/tree/token.js +1 -1
  201. package/esm/tree/tree.js +1 -1
  202. package/esm/tree/type.d.ts +1 -1
  203. package/esm/tree-select/token.js +4 -4
  204. package/esm/tree-select/tree-select.js +4 -4
  205. package/esm/tree-select/type.d.ts +4 -4
  206. package/esm/upload/token.js +2 -2
  207. package/esm/upload/type.d.ts +2 -2
  208. package/esm/upload/upload.js +2 -2
  209. package/package.json +1 -1
@@ -7,7 +7,19 @@ export interface ImageTokens {
7
7
  imageSpinColor: string;
8
8
  /**
9
9
  * @type {string}
10
- * @token Radius-50%
10
+ * @token Radius-default
11
+ * @description 图片边框圆角
12
+ */
13
+ imageBorderRadius: string;
14
+ /**
15
+ * @type {string}
16
+ * @token Neutral-border-1
17
+ * @description 图片边框颜色
18
+ */
19
+ imageBorderColor: string;
20
+ /**
21
+ * @type {string}
22
+ * @token Radius-circle
11
23
  * @description 图片圆形边框圆角
12
24
  */
13
25
  imageCircleBorderRadius: string;
@@ -19,7 +31,7 @@ export interface ImageTokens {
19
31
  imageCircleBorderColor: string;
20
32
  /**
21
33
  * @type {string}
22
- * @token Radius-4
34
+ * @token Radius-default
23
35
  * @description 图片圆角模式边框圆角
24
36
  */
25
37
  imageRoundedBorderRadius: string;
@@ -31,7 +43,7 @@ export interface ImageTokens {
31
43
  imageRoundedBorderColor: string;
32
44
  /**
33
45
  * @type {string}
34
- * @token Radius-4
46
+ * @token Radius-default
35
47
  * @description 图片图框模式边框圆角
36
48
  */
37
49
  imageThumbnailBorderRadius: string;
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;CAC9B"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;CAC9B"}
@@ -16,7 +16,7 @@ var modalTokens = {
16
16
  modalPanelShadow: 'Shadow-3',
17
17
  modalPanelBorder: 'Neutral-border-1',
18
18
  modalPanelGap: 'Spacing-16',
19
- modalPanelRadius: 'Radius-4',
19
+ modalPanelRadius: 'Radius-default',
20
20
  modalPanelFontSize: 'Font-14',
21
21
  modalHeaderIconMarginEnd: 'Spacing-8',
22
22
  modalHeaderIconMarginTop: 'Size-2',
@@ -54,7 +54,7 @@ var modalTokenExtraValue = {
54
54
  shadow: 'Shadow-3',
55
55
  border: 'Neutral-border-1',
56
56
  gap: 'Spacing-16',
57
- radius: 'Radius-4',
57
+ radius: 'Radius-default',
58
58
  font: {
59
59
  size: 'Font-14'
60
60
  }
@@ -49,7 +49,7 @@ export interface ModalTokens {
49
49
  modalPanelGap: string;
50
50
  /**
51
51
  * @type {string}
52
- * @token Radius-4
52
+ * @token Radius-default
53
53
  * @description 对话框面板圆角
54
54
  */
55
55
  modalPanelRadius: string;
@@ -1 +1 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cAmBrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cAiCrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -12,9 +12,18 @@ var progressTokens = {
12
12
  progressFontColor: 'Neutral-text-4',
13
13
  progressBackground: 'Neutral-fill-3',
14
14
  progressInfoFrontBackgroundColor: 'Brand-6',
15
+ progressInfoInnerFontColor: 'Neutral-text-1',
15
16
  progressWarningFrontBackgroundColor: 'Warning-6',
17
+ progressWarningInnerFontColor: 'Neutral-text-1',
16
18
  progressSuccessFrontBackgroundColor: 'Success-6',
19
+ progressSuccessInnerFontColor: 'Neutral-text-1',
17
20
  progressDangerFrontBackgroundColor: 'Danger-6',
21
+ progressDangerInnerFontColor: 'Neutral-text-1',
22
+ progressCircleInfoFontColor: 'Neutral-text-4',
23
+ progressCircleWarningFontColor: 'Warning-6',
24
+ progressCircleSuccessFontColor: 'success-6',
25
+ progressCircleDangerFontColor: 'danger-6',
26
+ progressCircleFontWeight: 'Weight-regular',
18
27
  progressLineHeight: 'Size-3',
19
28
  progressLineGap: 'Spacing-8',
20
29
  progressLineInnerHeight: 'Size-10',
@@ -23,8 +32,13 @@ var progressTokens = {
23
32
  progressLineInnerFontColor: 'Neutral-text-1',
24
33
  progressLineInnerFontSize: 'Font-12',
25
34
  progressLineInnerRightFontColor: 'Neutral-text-5',
35
+ progressLineInnerInfoFrontBackgroundColor: 'Brand-6',
36
+ progressLineInnerWarningFrontBackgroundColor: 'Warning-6',
37
+ progressLineInnerSuccessFrontBackgroundColor: 'Success-6',
38
+ progressLineInnerDangerFrontBackgroundColor: 'Danger-6',
39
+ progressLinePopFontColor: 'Neutral-text-1',
26
40
  progressLineIconSize: 'Size-7',
27
41
  progressLineBackgroundColor: 'Neutral-fill-9',
28
- progressLineColor: 'Neutral-text-1'
42
+ progressLineFontWeight: 'Weight-regular'
29
43
  };
30
44
  var _default = exports.default = progressTokens;
@@ -36,6 +36,11 @@ var progressTokenExtraValue = {
36
36
  background: {
37
37
  color: 'Brand-6'
38
38
  }
39
+ },
40
+ inner: {
41
+ font: {
42
+ color: 'Neutral-text-1'
43
+ }
39
44
  }
40
45
  },
41
46
  warning: {
@@ -43,6 +48,11 @@ var progressTokenExtraValue = {
43
48
  background: {
44
49
  color: 'Warning-6'
45
50
  }
51
+ },
52
+ inner: {
53
+ font: {
54
+ color: 'Neutral-text-1'
55
+ }
46
56
  }
47
57
  },
48
58
  success: {
@@ -50,6 +60,11 @@ var progressTokenExtraValue = {
50
60
  background: {
51
61
  color: 'Success-6'
52
62
  }
63
+ },
64
+ inner: {
65
+ font: {
66
+ color: 'Neutral-text-1'
67
+ }
53
68
  }
54
69
  },
55
70
  danger: {
@@ -57,6 +72,36 @@ var progressTokenExtraValue = {
57
72
  background: {
58
73
  color: 'Danger-6'
59
74
  }
75
+ },
76
+ inner: {
77
+ font: {
78
+ color: 'Neutral-text-1'
79
+ }
80
+ }
81
+ },
82
+ circle: {
83
+ info: {
84
+ font: {
85
+ color: 'Neutral-text-4'
86
+ }
87
+ },
88
+ warning: {
89
+ font: {
90
+ color: 'Warning-6'
91
+ }
92
+ },
93
+ success: {
94
+ font: {
95
+ color: 'success-6'
96
+ }
97
+ },
98
+ danger: {
99
+ font: {
100
+ color: 'danger-6'
101
+ }
102
+ },
103
+ font: {
104
+ weight: 'Weight-regular'
60
105
  }
61
106
  },
62
107
  line: {
@@ -76,6 +121,39 @@ var progressTokenExtraValue = {
76
121
  font: {
77
122
  color: 'Neutral-text-5'
78
123
  }
124
+ },
125
+ info: {
126
+ front: {
127
+ background: {
128
+ color: 'Brand-6'
129
+ }
130
+ }
131
+ },
132
+ warning: {
133
+ front: {
134
+ background: {
135
+ color: 'Warning-6'
136
+ }
137
+ }
138
+ },
139
+ success: {
140
+ front: {
141
+ background: {
142
+ color: 'Success-6'
143
+ }
144
+ }
145
+ },
146
+ danger: {
147
+ front: {
148
+ background: {
149
+ color: 'Danger-6'
150
+ }
151
+ }
152
+ }
153
+ },
154
+ pop: {
155
+ font: {
156
+ color: 'Neutral-text-1'
79
157
  }
80
158
  },
81
159
  icon: {
@@ -84,7 +162,9 @@ var progressTokenExtraValue = {
84
162
  background: {
85
163
  color: 'Neutral-fill-9'
86
164
  },
87
- color: 'Neutral-text-1'
165
+ font: {
166
+ weight: 'Weight-regular'
167
+ }
88
168
  }
89
169
  };
90
170
  module.exports = {
@@ -23,24 +23,78 @@ export interface ProgressTokens {
23
23
  * @description 进度条基础色已完成进度的背景颜色
24
24
  */
25
25
  progressInfoFrontBackgroundColor: string;
26
+ /**
27
+ * @type {string}
28
+ * @token Neutral-text-1
29
+ * @description 进度条基础色内嵌文案模式字体颜色
30
+ */
31
+ progressInfoInnerFontColor: string;
26
32
  /**
27
33
  * @type {string}
28
34
  * @token Warning-6
29
35
  * @description 进度条警告色已完成进度的背景颜色
30
36
  */
31
37
  progressWarningFrontBackgroundColor: string;
38
+ /**
39
+ * @type {string}
40
+ * @token Neutral-text-1
41
+ * @description 进度条警告色内嵌文案模式字体颜色
42
+ */
43
+ progressWarningInnerFontColor: string;
32
44
  /**
33
45
  * @type {string}
34
46
  * @token Success-6
35
47
  * @description 进度条成功色已完成进度的背景颜色
36
48
  */
37
49
  progressSuccessFrontBackgroundColor: string;
50
+ /**
51
+ * @type {string}
52
+ * @token Neutral-text-1
53
+ * @description 进度条成功色内嵌文案模式字体颜色
54
+ */
55
+ progressSuccessInnerFontColor: string;
38
56
  /**
39
57
  * @type {string}
40
58
  * @token Danger-6
41
59
  * @description 进度条危险色已完成进度的背景颜色
42
60
  */
43
61
  progressDangerFrontBackgroundColor: string;
62
+ /**
63
+ * @type {string}
64
+ * @token Neutral-text-1
65
+ * @description 进度条危险色内嵌文案模式字体颜色
66
+ */
67
+ progressDangerInnerFontColor: string;
68
+ /**
69
+ * @type {string}
70
+ * @token Neutral-text-4
71
+ * @description 进度条圆形基础色字体颜色
72
+ */
73
+ progressCircleInfoFontColor: string;
74
+ /**
75
+ * @type {string}
76
+ * @token Warning-6
77
+ * @description 进度条圆形警告色字体颜色
78
+ */
79
+ progressCircleWarningFontColor: string;
80
+ /**
81
+ * @type {string}
82
+ * @token success-6
83
+ * @description 进度条圆形成功色字体颜色
84
+ */
85
+ progressCircleSuccessFontColor: string;
86
+ /**
87
+ * @type {string}
88
+ * @token danger-6
89
+ * @description 进度条圆形危险色字体颜色
90
+ */
91
+ progressCircleDangerFontColor: string;
92
+ /**
93
+ * @type {string}
94
+ * @token Weight-regular
95
+ * @description 进度条圆形字体字重
96
+ */
97
+ progressCircleFontWeight: string;
44
98
  /**
45
99
  * @type {string}
46
100
  * @token Size-3
@@ -89,6 +143,36 @@ export interface ProgressTokens {
89
143
  * @description 进度条行内嵌文案模式右侧的字体颜色
90
144
  */
91
145
  progressLineInnerRightFontColor: string;
146
+ /**
147
+ * @type {string}
148
+ * @token Brand-6
149
+ * @description 进度条行内嵌文案模式基础色已完成进度的背景颜色
150
+ */
151
+ progressLineInnerInfoFrontBackgroundColor: string;
152
+ /**
153
+ * @type {string}
154
+ * @token Warning-6
155
+ * @description 进度条行内嵌文案模式警告色已完成进度的背景颜色
156
+ */
157
+ progressLineInnerWarningFrontBackgroundColor: string;
158
+ /**
159
+ * @type {string}
160
+ * @token Success-6
161
+ * @description 进度条行内嵌文案模式成功色已完成进度的背景颜色
162
+ */
163
+ progressLineInnerSuccessFrontBackgroundColor: string;
164
+ /**
165
+ * @type {string}
166
+ * @token Danger-6
167
+ * @description 进度条行内嵌文案模式危险色已完成进度的背景颜色
168
+ */
169
+ progressLineInnerDangerFrontBackgroundColor: string;
170
+ /**
171
+ * @type {string}
172
+ * @token Neutral-text-1
173
+ * @description 进度条行undefined字体颜色
174
+ */
175
+ progressLinePopFontColor: string;
92
176
  /**
93
177
  * @type {string}
94
178
  * @token Size-7
@@ -103,9 +187,9 @@ export interface ProgressTokens {
103
187
  progressLineBackgroundColor: string;
104
188
  /**
105
189
  * @type {string}
106
- * @token Neutral-text-1
107
- * @description 进度条行颜色
190
+ * @token Weight-regular
191
+ * @description 进度条行字体字重
108
192
  */
109
- progressLineColor: string;
193
+ progressLineFontWeight: string;
110
194
  }
111
195
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC3B"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,yCAAyC,EAAE,MAAM,CAAC;IAClD;;;;OAIG;IACH,4CAA4C,EAAE,MAAM,CAAC;IACrD;;;;OAIG;IACH,4CAA4C,EAAE,MAAM,CAAC;IACrD;;;;OAIG;IACH,2CAA2C,EAAE,MAAM,CAAC;IACpD;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;CAChC"}
@@ -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,UAOjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
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
- rateGap: 'Size-3',
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: 'Size-3',
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
  },
@@ -13,7 +13,13 @@ export interface RateTokens {
13
13
  rateFontSize: string;
14
14
  /**
15
15
  * @type {string}
16
- * @token Size-3
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
@@ -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"}
@@ -24,7 +24,7 @@ var sliderTokens = {
24
24
  sliderValueBackgroundColor: 'Neutral-fill-1',
25
25
  sliderValueHoverBackgroundColor: 'Neutral-fill-9',
26
26
  sliderValueHoverFontColor: 'Neutral-text-1',
27
- sliderValueHoverRadius: 'Radius-2',
27
+ sliderValueHoverRadius: 'Radius-lesser',
28
28
  sliderValueHoverPaddingX: 'Spacing-8',
29
29
  sliderValueHoverPaddingY: 'Spacing-3',
30
30
  sliderScaleLineSize: 'Size-3',
@@ -81,7 +81,7 @@ var sliderTokenExtraValue = {
81
81
  font: {
82
82
  color: 'Neutral-text-1'
83
83
  },
84
- radius: 'Radius-2',
84
+ radius: 'Radius-lesser',
85
85
  padding: {
86
86
  x: 'Spacing-8',
87
87
  y: 'Spacing-3'
@@ -97,7 +97,7 @@ export interface SliderTokens {
97
97
  sliderValueHoverFontColor: string;
98
98
  /**
99
99
  * @type {string}
100
- * @token Radius-2
100
+ * @token Radius-lesser
101
101
  * @description 滑块文案鼠标移入时的圆角
102
102
  */
103
103
  sliderValueHoverRadius: string;
package/cjs/tabs/rule.js CHANGED
@@ -9,12 +9,23 @@
9
9
  * 规则变量名称为 组件名称 + Rules。请勿修改变量命名,否则将导致 token 无法生成。
10
10
  */
11
11
  var tabsRules = {
12
- status: [['', 'active', 'hover', 'disabled', 'click'], ['font-color', 'background-color', 'border-color']],
13
- size: [['tab'], ['padding-x', 'padding-y', 'font-size', 'border-radius']],
14
- extra_nearly: [['nearly'], ['margin']],
15
- extra_line: [['line', 'line-inner', 'fill', 'fill-inner'], ['padding-x', 'padding-y']],
16
- extra_split: [['split'], ['border-color']],
17
- extra_prev_next: [['action'], ['vertical', 'horizontal'], ['padding-x', 'padding-y']]
12
+ // status: [
13
+ // ['', 'active', 'hover', 'disabled', 'click'],
14
+ // ['font-color', 'background-color', 'border-color'],
15
+ // ],
16
+ // size: [['tab'], ['padding-x', 'padding-y', 'font-size', 'border-radius']],
17
+ // extra_nearly: [['nearly'], ['margin']],
18
+ // extra_line: [
19
+ // ['line', 'line-inner', 'fill', 'fill-inner'],
20
+ // ['padding-x', 'padding-y'],
21
+ // ],
22
+ // type: [
23
+ // ['line', 'fill', 'dash', 'card'],
24
+ // ['', 'active', 'hover', 'disabled'],
25
+ // ['font-color', 'background-color', 'font-weight'],
26
+ // ],
27
+ // extra_split: [['split'], ['border-color']],
28
+ // extra_prev_next: [['action'], ['vertical', 'horizontal'], ['padding-x', 'padding-y']],
18
29
  };
19
30
  module.exports = {
20
31
  tabsRules: tabsRules
@@ -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,UA+BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
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,UA8EjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/cjs/tabs/tabs.js CHANGED
@@ -8,9 +8,6 @@ exports.default = void 0;
8
8
  // This file was generated automatically by a script. Please do not modify it directly.
9
9
 
10
10
  var tabsTokens = {
11
- tabsExtraFillHoverBackgroundColor: 'Neutral-fill-3',
12
- tabsCardDisabledBackgroundColor: 'Neutral-fill-2',
13
- tabsArrowFontColor: 'Neutral-text-4',
14
11
  tabsFontColor: 'Neutral-text-5',
15
12
  tabsBackgroundColor: 'Neutral-fill-2',
16
13
  tabsBorderColor: 'Neutral-border-1',
@@ -23,20 +20,70 @@ var tabsTokens = {
23
20
  tabsTabPaddingX: 'Spacing-15',
24
21
  tabsTabPaddingY: 'Spacing-9',
25
22
  tabsTabFontSize: 'Font-14',
26
- tabsTabBorderRadius: 'Radius-4',
23
+ tabsTabBorderRadius: 'Radius-default',
27
24
  tabsNearlyMargin: 'Spacing-4',
28
25
  tabsLinePaddingX: 'Spacing-8',
29
26
  tabsLinePaddingY: 'Spacing-6',
27
+ tabsLineHrBackgroundColor: 'Neutral-border-1',
28
+ tabsLineAfterBackgroundColor: 'Brand-6',
30
29
  tabsLineInnerPaddingX: 'Spacing-8',
31
30
  tabsLineInnerPaddingY: 'Spacing-4',
31
+ tabsLineFontColor: 'Neutral-text-5',
32
+ tabsLineFontWeight: 'Weight-regular',
33
+ tabsLineFontSize: 'Font-14',
34
+ tabsLineBackgroundColor: 'Neutral-fill-1',
35
+ tabsLineActiveBackgroundColor: 'Neutral-fill-3',
36
+ tabsLineCheckedFontColor: 'Brand-6',
37
+ tabsLineCheckedFontSize: 'Font-14',
38
+ tabsLineCheckedFontWeight: 'Weight-medium',
39
+ tabsLineCheckedBackgroundColor: 'Neutral-fill-1',
40
+ tabsLineHoverFontSize: 'Font-14',
41
+ tabsLineHoverBackgroundColor: 'Neutral-fill-2',
42
+ tabsLineDisabledFontColor: 'Neutral-text-2',
32
43
  tabsFillPaddingX: 'Spacing-4',
33
44
  tabsFillPaddingY: 'Spacing-4',
34
45
  tabsFillInnerPaddingX: 'Spacing-16',
35
46
  tabsFillInnerPaddingY: 'Spacing-5',
47
+ tabsFillFontColor: 'Neutral-text-5',
48
+ tabsFillFontWeight: 'Weight-regular',
49
+ tabsFillFontSize: 'Font-14',
50
+ tabsFillBackgroundColor: 'Neutral-fill-2',
51
+ tabsFillActiveFontWeight: 'Weight-medium',
52
+ tabsFillActiveFontSize: 'Font-14',
53
+ tabsFillActiveBackgroundColor: 'Neutral-fill-4',
54
+ tabsFillCheckedFontColor: 'Brand-6',
55
+ tabsFillCheckedFontSize: 'Font-14',
56
+ tabsFillCheckedFontWeight: 'Weight-medium',
57
+ tabsFillCheckedBackgroundColor: 'Neutral-fill-1',
58
+ tabsFillHoverBackgroundColor: 'Neutral-fill-3',
59
+ tabsFillDisabledFontColor: 'Neutral-text-2',
60
+ tabsDashFontWeight: 'Weight-regular',
61
+ tabsDashFontSize: 'Font-14',
62
+ tabsDashActiveFontWeight: 'Weight-medium',
63
+ tabsDashActiveFontSize: 'Font-14',
64
+ tabsCardPaddingX: 'Spacing-15',
65
+ tabsCardPaddingY: 'Spacing-9',
66
+ tabsCardFontColor: 'Neutral-text-5',
67
+ tabsCardFontWeight: 'Weight-regular',
68
+ tabsCardFontSize: 'Font-14',
69
+ tabsCardBackgroundColor: 'Neutral-fill-2',
70
+ tabsCardActiveFontWeight: 'Weight-medium',
71
+ tabsCardActiveFontSize: 'Font-14',
72
+ tabsCardActiveBackgroundColor: 'Neutral-fill-4',
73
+ tabsCardBorderColor: 'Neutral-border-1',
74
+ tabsCardCheckedFontColor: 'Brand-6',
75
+ tabsCardCheckedFontSize: 'Font-14',
76
+ tabsCardCheckedFontWeight: 'Weight-medium',
77
+ tabsCardCheckedBackgroundColor: 'Neutral-fill-1',
78
+ tabsCardHoverBackgroundColor: 'Neutral-fill-3',
79
+ tabsCardDisabledFontColor: 'Neutral-text-2',
80
+ tabsCardDisabledBackgroundColor: 'Neutral-fill-2',
36
81
  tabsSplitBorderColor: 'Neutral-border-2',
37
82
  tabsActionVerticalPaddingX: 'Spacing-7',
38
83
  tabsActionVerticalPaddingY: 'Spacing-4',
39
84
  tabsActionHorizontalPaddingX: 'Spacing-7',
40
- tabsActionHorizontalPaddingY: 'Spacing-8'
85
+ tabsActionHorizontalPaddingY: 'Spacing-8',
86
+ tabsExtraFillHoverBackgroundColor: 'Neutral-fill-3',
87
+ tabsArrowFontColor: 'Neutral-text-4'
41
88
  };
42
89
  var _default = exports.default = tabsTokens;