@sheinx/theme 3.1.25 → 3.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) 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/button/button.js +7 -7
  13. package/cjs/button/token.js +8 -8
  14. package/cjs/button/type.d.ts +2 -2
  15. package/cjs/card/card.d.ts.map +1 -1
  16. package/cjs/card/card.js +15 -1
  17. package/cjs/card/token.js +31 -2
  18. package/cjs/card/type.d.ts +84 -0
  19. package/cjs/card/type.d.ts.map +1 -1
  20. package/cjs/cascader/cascader.d.ts.map +1 -1
  21. package/cjs/cascader/cascader.js +3 -0
  22. package/cjs/cascader/token.js +9 -0
  23. package/cjs/cascader/type.d.ts +18 -0
  24. package/cjs/cascader/type.d.ts.map +1 -1
  25. package/cjs/descriptions/descriptions.d.ts.map +1 -1
  26. package/cjs/descriptions/descriptions.js +6 -4
  27. package/cjs/descriptions/rule.js +3 -2
  28. package/cjs/descriptions/token.js +11 -3
  29. package/cjs/descriptions/type.d.ts +15 -3
  30. package/cjs/descriptions/type.d.ts.map +1 -1
  31. package/cjs/divider/divider.d.ts.map +1 -1
  32. package/cjs/divider/divider.js +1 -0
  33. package/cjs/divider/token.js +2 -1
  34. package/cjs/divider/type.d.ts +6 -0
  35. package/cjs/divider/type.d.ts.map +1 -1
  36. package/cjs/dropdown/dropdown.d.ts.map +1 -1
  37. package/cjs/dropdown/dropdown.js +6 -4
  38. package/cjs/dropdown/rule.js +2 -0
  39. package/cjs/dropdown/token.js +9 -5
  40. package/cjs/dropdown/type.d.ts +16 -4
  41. package/cjs/dropdown/type.d.ts.map +1 -1
  42. package/cjs/empty/empty.d.ts.map +1 -1
  43. package/cjs/empty/empty.js +2 -1
  44. package/cjs/empty/rule.js +1 -1
  45. package/cjs/empty/token.js +5 -2
  46. package/cjs/empty/type.d.ts +6 -0
  47. package/cjs/empty/type.d.ts.map +1 -1
  48. package/cjs/index.d.ts +2 -2
  49. package/cjs/index.d.ts.map +1 -1
  50. package/cjs/index.js +7 -0
  51. package/cjs/input/input.d.ts.map +1 -1
  52. package/cjs/input/input.js +21 -5
  53. package/cjs/input/rule.js +1 -7
  54. package/cjs/input/token.js +44 -15
  55. package/cjs/input/type.d.ts +115 -19
  56. package/cjs/input/type.d.ts.map +1 -1
  57. package/cjs/list/list.d.ts.map +1 -1
  58. package/cjs/list/list.js +5 -1
  59. package/cjs/list/token.js +11 -1
  60. package/cjs/list/type.d.ts +25 -1
  61. package/cjs/list/type.d.ts.map +1 -1
  62. package/cjs/menu/menu.d.ts.map +1 -1
  63. package/cjs/menu/menu.js +15 -2
  64. package/cjs/menu/token.js +57 -1
  65. package/cjs/menu/type.d.ts +79 -1
  66. package/cjs/menu/type.d.ts.map +1 -1
  67. package/cjs/popover/popover.d.ts.map +1 -1
  68. package/cjs/popover/popover.js +9 -7
  69. package/cjs/popover/rule.js +2 -2
  70. package/cjs/popover/token.js +11 -7
  71. package/cjs/popover/type.d.ts +19 -7
  72. package/cjs/popover/type.d.ts.map +1 -1
  73. package/cjs/rate/rate.d.ts.map +1 -1
  74. package/cjs/rate/rate.js +3 -1
  75. package/cjs/rate/token.js +6 -2
  76. package/cjs/rate/type.d.ts +13 -1
  77. package/cjs/rate/type.d.ts.map +1 -1
  78. package/cjs/select/select.d.ts.map +1 -1
  79. package/cjs/select/select.js +23 -7
  80. package/cjs/select/token.js +62 -12
  81. package/cjs/select/type.d.ts +103 -7
  82. package/cjs/select/type.d.ts.map +1 -1
  83. package/cjs/table/table.d.ts.map +1 -1
  84. package/cjs/table/table.js +13 -0
  85. package/cjs/table/token.js +28 -1
  86. package/cjs/table/type.d.ts +78 -0
  87. package/cjs/table/type.d.ts.map +1 -1
  88. package/cjs/token/token.d.ts +2 -1
  89. package/cjs/token/token.d.ts.map +1 -1
  90. package/cjs/token/token.js +2 -1
  91. package/cjs/transfer/rule.js +1 -8
  92. package/cjs/transfer/token.js +21 -4
  93. package/cjs/transfer/transfer.d.ts.map +1 -1
  94. package/cjs/transfer/transfer.js +11 -5
  95. package/cjs/transfer/type.d.ts +54 -18
  96. package/cjs/transfer/type.d.ts.map +1 -1
  97. package/cjs/tree/rule.js +2 -0
  98. package/cjs/tree/token.js +7 -2
  99. package/cjs/tree/tree.d.ts.map +1 -1
  100. package/cjs/tree/tree.js +2 -0
  101. package/cjs/tree/type.d.ts +15 -3
  102. package/cjs/tree/type.d.ts.map +1 -1
  103. package/esm/alert/alert.d.ts.map +1 -1
  104. package/esm/alert/alert.js +4 -1
  105. package/esm/alert/rule.js +2 -2
  106. package/esm/alert/token.js +7 -2
  107. package/esm/alert/type.d.ts +19 -1
  108. package/esm/alert/type.d.ts.map +1 -1
  109. package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
  110. package/esm/breadcrumb/breadcrumb.js +1 -3
  111. package/esm/breadcrumb/token.js +2 -8
  112. package/esm/breadcrumb/type.d.ts +6 -18
  113. package/esm/breadcrumb/type.d.ts.map +1 -1
  114. package/esm/button/button.js +7 -7
  115. package/esm/button/token.js +8 -8
  116. package/esm/button/type.d.ts +2 -2
  117. package/esm/card/card.d.ts.map +1 -1
  118. package/esm/card/card.js +15 -1
  119. package/esm/card/token.js +31 -2
  120. package/esm/card/type.d.ts +84 -0
  121. package/esm/card/type.d.ts.map +1 -1
  122. package/esm/cascader/cascader.d.ts.map +1 -1
  123. package/esm/cascader/cascader.js +3 -0
  124. package/esm/cascader/token.js +9 -0
  125. package/esm/cascader/type.d.ts +18 -0
  126. package/esm/cascader/type.d.ts.map +1 -1
  127. package/esm/descriptions/descriptions.d.ts.map +1 -1
  128. package/esm/descriptions/descriptions.js +6 -4
  129. package/esm/descriptions/rule.js +3 -2
  130. package/esm/descriptions/token.js +11 -3
  131. package/esm/descriptions/type.d.ts +15 -3
  132. package/esm/descriptions/type.d.ts.map +1 -1
  133. package/esm/divider/divider.d.ts.map +1 -1
  134. package/esm/divider/divider.js +1 -0
  135. package/esm/divider/token.js +2 -1
  136. package/esm/divider/type.d.ts +6 -0
  137. package/esm/divider/type.d.ts.map +1 -1
  138. package/esm/dropdown/dropdown.d.ts.map +1 -1
  139. package/esm/dropdown/dropdown.js +6 -4
  140. package/esm/dropdown/rule.js +2 -0
  141. package/esm/dropdown/token.js +9 -5
  142. package/esm/dropdown/type.d.ts +16 -4
  143. package/esm/dropdown/type.d.ts.map +1 -1
  144. package/esm/empty/empty.d.ts.map +1 -1
  145. package/esm/empty/empty.js +2 -1
  146. package/esm/empty/rule.js +1 -1
  147. package/esm/empty/token.js +5 -2
  148. package/esm/empty/type.d.ts +6 -0
  149. package/esm/empty/type.d.ts.map +1 -1
  150. package/esm/index.d.ts +2 -2
  151. package/esm/index.d.ts.map +1 -1
  152. package/esm/index.js +1 -1
  153. package/esm/input/input.d.ts.map +1 -1
  154. package/esm/input/input.js +21 -5
  155. package/esm/input/rule.js +1 -7
  156. package/esm/input/token.js +44 -15
  157. package/esm/input/type.d.ts +115 -19
  158. package/esm/input/type.d.ts.map +1 -1
  159. package/esm/list/list.d.ts.map +1 -1
  160. package/esm/list/list.js +5 -1
  161. package/esm/list/token.js +11 -1
  162. package/esm/list/type.d.ts +25 -1
  163. package/esm/list/type.d.ts.map +1 -1
  164. package/esm/menu/menu.d.ts.map +1 -1
  165. package/esm/menu/menu.js +15 -2
  166. package/esm/menu/token.js +57 -1
  167. package/esm/menu/type.d.ts +79 -1
  168. package/esm/menu/type.d.ts.map +1 -1
  169. package/esm/popover/popover.d.ts.map +1 -1
  170. package/esm/popover/popover.js +9 -7
  171. package/esm/popover/rule.js +2 -2
  172. package/esm/popover/token.js +11 -7
  173. package/esm/popover/type.d.ts +19 -7
  174. package/esm/popover/type.d.ts.map +1 -1
  175. package/esm/rate/rate.d.ts.map +1 -1
  176. package/esm/rate/rate.js +3 -1
  177. package/esm/rate/token.js +6 -2
  178. package/esm/rate/type.d.ts +13 -1
  179. package/esm/rate/type.d.ts.map +1 -1
  180. package/esm/select/select.d.ts.map +1 -1
  181. package/esm/select/select.js +23 -7
  182. package/esm/select/token.js +62 -12
  183. package/esm/select/type.d.ts +103 -7
  184. package/esm/select/type.d.ts.map +1 -1
  185. package/esm/table/table.d.ts.map +1 -1
  186. package/esm/table/table.js +13 -0
  187. package/esm/table/token.js +28 -1
  188. package/esm/table/type.d.ts +78 -0
  189. package/esm/table/type.d.ts.map +1 -1
  190. package/esm/token/token.d.ts +2 -1
  191. package/esm/token/token.d.ts.map +1 -1
  192. package/esm/token/token.js +2 -1
  193. package/esm/transfer/rule.js +1 -8
  194. package/esm/transfer/token.js +21 -4
  195. package/esm/transfer/transfer.d.ts.map +1 -1
  196. package/esm/transfer/transfer.js +11 -5
  197. package/esm/transfer/type.d.ts +54 -18
  198. package/esm/transfer/type.d.ts.map +1 -1
  199. package/esm/tree/rule.js +2 -0
  200. package/esm/tree/token.js +7 -2
  201. package/esm/tree/tree.d.ts.map +1 -1
  202. package/esm/tree/tree.js +2 -0
  203. package/esm/tree/type.d.ts +15 -3
  204. package/esm/tree/type.d.ts.map +1 -1
  205. package/package.json +1 -1
@@ -23,7 +23,8 @@ var transferTokenDescription = {
23
23
  * 该映射表将根据规则自动生成,并与公共 token 进行合并。若有相同 token,将覆盖公共 token。默认不包含公共 token,除非在映射表中添加覆盖。
24
24
  * 注意,该映射表的内容不与 transferRules 强关联,非 transferRules 规则内的 token 需手动增加或删减。
25
25
  */
26
- var transferTokenValue = {
26
+ var transferTokenValue = {};
27
+ var transferTokenExtraValue = {
27
28
  font: {
28
29
  size: 'Font-14',
29
30
  color: 'Neutral-text-5'
@@ -32,6 +33,9 @@ var transferTokenValue = {
32
33
  height: 'Size-23',
33
34
  background: {
34
35
  color: 'Neutral-fill-2'
36
+ },
37
+ border: {
38
+ color: 'Transparent'
35
39
  }
36
40
  },
37
41
  small: {
@@ -52,7 +56,7 @@ var transferTokenValue = {
52
56
  },
53
57
  border: {
54
58
  color: 'Neutral-border-1',
55
- radius: 'Radius-4'
59
+ radius: 'Radius-default'
56
60
  },
57
61
  icon: {
58
62
  color: 'Neutral-text-4',
@@ -85,9 +89,15 @@ var transferTokenValue = {
85
89
  color: ''
86
90
  }
87
91
  },
92
+ background: {
93
+ color: 'Neutral-fill-1'
94
+ },
88
95
  footer: {
89
96
  background: {
90
- color: ''
97
+ color: 'Neutral-fill-1'
98
+ },
99
+ border: {
100
+ color: 'Neutral-border-1'
91
101
  }
92
102
  },
93
103
  item: {
@@ -95,6 +105,14 @@ var transferTokenValue = {
95
105
  background: {
96
106
  color: 'Neutral-fill-2'
97
107
  }
108
+ },
109
+ border: {
110
+ radius: 'Radius-default'
111
+ }
112
+ },
113
+ remove: {
114
+ icon: {
115
+ color: 'Neutral-text-4'
98
116
  }
99
117
  },
100
118
  checkbox: {
@@ -105,7 +123,6 @@ var transferTokenValue = {
105
123
  }
106
124
  }
107
125
  };
108
- var transferTokenExtraValue = {};
109
126
  module.exports = {
110
127
  transferTokenValue: transferTokenValue,
111
128
  transferTokenExtraValue: transferTokenExtraValue,
@@ -1 +1 @@
1
- {"version":3,"file":"transfer.d.ts","sourceRoot":"","sources":["transfer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cAkBrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"transfer.d.ts","sourceRoot":"","sources":["transfer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cAwBrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -3,21 +3,27 @@
3
3
 
4
4
  var transferTokens = {
5
5
  transferFontSize: 'Font-14',
6
+ transferFontColor: 'Neutral-text-5',
6
7
  transferHeaderHeight: 'Size-23',
8
+ transferHeaderBackgroundColor: 'Neutral-fill-2',
9
+ transferHeaderBorderColor: 'Transparent',
7
10
  transferSmallFontSize: 'Font-12',
8
11
  transferSmallHeaderHeight: 'Size-22',
9
12
  transferLargeFontSize: 'Font-16',
10
13
  transferLargeHeaderHeight: 'Size-24',
11
14
  transferBorderColor: 'Neutral-border-1',
12
- transferFontColor: 'Neutral-text-5',
15
+ transferBorderRadius: 'Radius-default',
13
16
  transferIconColor: 'Neutral-text-4',
14
- transferDisabledFontColor: 'Neutral-text-2',
15
- transferEmptyFontColor: 'Neutral-text-3',
16
- transferBorderRadius: 'Radius-4',
17
- transferHeaderBackgroundColor: 'Neutral-fill-2',
18
17
  transferIconBackgroundColor: 'Neutral-fill-3',
19
18
  transferIconNearlyMargin: 'Spacing-8',
19
+ transferDisabledFontColor: 'Neutral-text-2',
20
+ transferEmptyFontColor: 'Neutral-text-3',
21
+ transferBackgroundColor: 'Neutral-fill-1',
22
+ transferFooterBackgroundColor: 'Neutral-fill-1',
23
+ transferFooterBorderColor: 'Neutral-border-1',
20
24
  transferItemHoverBackgroundColor: 'Neutral-fill-2',
25
+ transferItemBorderRadius: 'Radius-default',
26
+ transferRemoveIconColor: 'Neutral-text-4',
21
27
  transferCheckboxHoverBackgroundColor: 'Neutral-fill-3'
22
28
  };
23
29
  export default transferTokens;
@@ -5,12 +5,30 @@ export interface TransferTokens {
5
5
  * @description 穿梭框字体字号
6
6
  */
7
7
  transferFontSize: string;
8
+ /**
9
+ * @type {string}
10
+ * @token Neutral-text-5
11
+ * @description 穿梭框字体颜色
12
+ */
13
+ transferFontColor: string;
8
14
  /**
9
15
  * @type {string}
10
16
  * @token Size-23
11
17
  * @description 穿梭框头部区域的高度
12
18
  */
13
19
  transferHeaderHeight: string;
20
+ /**
21
+ * @type {string}
22
+ * @token Neutral-fill-2
23
+ * @description 穿梭框头部区域的背景颜色
24
+ */
25
+ transferHeaderBackgroundColor: string;
26
+ /**
27
+ * @type {string}
28
+ * @token Transparent
29
+ * @description 穿梭框头部区域的边框颜色
30
+ */
31
+ transferHeaderBorderColor: string;
14
32
  /**
15
33
  * @type {string}
16
34
  * @token Font-12
@@ -43,16 +61,28 @@ export interface TransferTokens {
43
61
  transferBorderColor: string;
44
62
  /**
45
63
  * @type {string}
46
- * @token Neutral-text-5
47
- * @description 穿梭框字体颜色
64
+ * @token Radius-default
65
+ * @description 穿梭框边框圆角
48
66
  */
49
- transferFontColor: string;
67
+ transferBorderRadius: string;
50
68
  /**
51
69
  * @type {string}
52
70
  * @token Neutral-text-4
53
71
  * @description 穿梭框图标颜色
54
72
  */
55
73
  transferIconColor: string;
74
+ /**
75
+ * @type {string}
76
+ * @token Neutral-fill-3
77
+ * @description 穿梭框图标背景颜色
78
+ */
79
+ transferIconBackgroundColor: string;
80
+ /**
81
+ * @type {string}
82
+ * @token Spacing-8
83
+ * @description 穿梭框图标相邻外边距
84
+ */
85
+ transferIconNearlyMargin: string;
56
86
  /**
57
87
  * @type {string}
58
88
  * @token Neutral-text-2
@@ -67,34 +97,40 @@ export interface TransferTokens {
67
97
  transferEmptyFontColor: string;
68
98
  /**
69
99
  * @type {string}
70
- * @token Radius-4
71
- * @description 穿梭框边框圆角
100
+ * @token Neutral-fill-1
101
+ * @description 穿梭框背景颜色
72
102
  */
73
- transferBorderRadius: string;
103
+ transferBackgroundColor: string;
74
104
  /**
75
105
  * @type {string}
76
- * @token Neutral-fill-2
77
- * @description 穿梭框头部区域的背景颜色
106
+ * @token Neutral-fill-1
107
+ * @description 穿梭框undefined背景颜色
78
108
  */
79
- transferHeaderBackgroundColor: string;
109
+ transferFooterBackgroundColor: string;
80
110
  /**
81
111
  * @type {string}
82
- * @token Neutral-fill-3
83
- * @description 穿梭框图标背景颜色
84
- */
85
- transferIconBackgroundColor: string;
86
- /**
87
- * @type {string}
88
- * @token Spacing-8
89
- * @description 穿梭框图标相邻外边距
112
+ * @token Neutral-border-1
113
+ * @description 穿梭框undefined边框颜色
90
114
  */
91
- transferIconNearlyMargin: string;
115
+ transferFooterBorderColor: string;
92
116
  /**
93
117
  * @type {string}
94
118
  * @token Neutral-fill-2
95
119
  * @description 穿梭框选项鼠标移入时的背景颜色
96
120
  */
97
121
  transferItemHoverBackgroundColor: string;
122
+ /**
123
+ * @type {string}
124
+ * @token Radius-default
125
+ * @description 穿梭框选项边框圆角
126
+ */
127
+ transferItemBorderRadius: string;
128
+ /**
129
+ * @type {string}
130
+ * @token Neutral-text-4
131
+ * @description 穿梭框undefined图标颜色
132
+ */
133
+ transferRemoveIconColor: string;
98
134
  /**
99
135
  * @type {string}
100
136
  * @token Neutral-fill-3
@@ -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,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAI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IG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,oCAAoC,EAAE,MAAM,CAAC;CAC9C"}
package/esm/tree/rule.js CHANGED
@@ -8,7 +8,9 @@
8
8
  */
9
9
  var treeRules = {
10
10
  size: [['', 'small', 'large'], ['font-size', 'line-height']],
11
+ font: [['font'], ['weight']],
11
12
  color: [['font-color']],
13
+ line: [['line'], ['background-color']],
12
14
  layout: [['padding-x', 'padding-y']],
13
15
  item: [['item'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color']],
14
16
  content: [['content'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color']],
package/esm/tree/token.js CHANGED
@@ -13,7 +13,8 @@ var treeTokenDescription = {
13
13
  text: '文字',
14
14
  checkbox: '复选框',
15
15
  item: '节点',
16
- content: '节点容器'
16
+ content: '节点容器',
17
+ line: '连接线'
17
18
  };
18
19
 
19
20
  /**
@@ -26,10 +27,14 @@ var treeTokenDescription = {
26
27
  var treeTokenValue = {
27
28
  font: {
28
29
  size: 'Font-14',
30
+ weight: 'Weight-regular',
29
31
  color: 'Neutral-text-5'
30
32
  },
31
33
  line: {
32
- height: 'Size-18'
34
+ height: 'Size-18',
35
+ background: {
36
+ color: 'Neutral-fill-2'
37
+ }
33
38
  },
34
39
  small: {
35
40
  font: {
@@ -1 +1 @@
1
- {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UAyBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UA2BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/esm/tree/tree.js CHANGED
@@ -10,7 +10,9 @@ var treeTokens = {
10
10
  treeSmallLineHeight: 'Size-14',
11
11
  treeLargeFontSize: 'Font-16',
12
12
  treeLargeLineHeight: 'Size-22',
13
+ treeFontWeight: 'Weight-regular',
13
14
  treeFontColor: 'Neutral-text-5',
15
+ treeLineBackgroundColor: 'Neutral-fill-2',
14
16
  treePaddingX: 'Spacing-8',
15
17
  treePaddingY: 'Spacing-1',
16
18
  treeItemFontColor: 'Neutral-text-4',
@@ -20,7 +20,7 @@ export interface TreeTokens {
20
20
  /**
21
21
  * @type {string}
22
22
  * @token Size-18
23
- * @description 树组件行高度
23
+ * @description 树组件连接线高度
24
24
  */
25
25
  treeLineHeight: string;
26
26
  /**
@@ -32,7 +32,7 @@ export interface TreeTokens {
32
32
  /**
33
33
  * @type {string}
34
34
  * @token Size-14
35
- * @description 树组件小尺寸行高度
35
+ * @description 树组件小尺寸连接线高度
36
36
  */
37
37
  treeSmallLineHeight: string;
38
38
  /**
@@ -44,15 +44,27 @@ export interface TreeTokens {
44
44
  /**
45
45
  * @type {string}
46
46
  * @token Size-22
47
- * @description 树组件大尺寸行高度
47
+ * @description 树组件大尺寸连接线高度
48
48
  */
49
49
  treeLargeLineHeight: string;
50
+ /**
51
+ * @type {string}
52
+ * @token Weight-regular
53
+ * @description 树组件字体字重
54
+ */
55
+ treeFontWeight: string;
50
56
  /**
51
57
  * @type {string}
52
58
  * @token Neutral-text-5
53
59
  * @description 树组件字体颜色
54
60
  */
55
61
  treeFontColor: string;
62
+ /**
63
+ * @type {string}
64
+ * @token Neutral-fill-2
65
+ * @description 树组件连接线背景颜色
66
+ */
67
+ treeLineBackgroundColor: string;
56
68
  /**
57
69
  * @type {string}
58
70
  * @token Spacing-8
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts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ACH,uBAAuB,EAAE,MAAM,CAAC;CACjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/theme",
3
- "version": "3.1.25",
3
+ "version": "3.2.0-beta.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "",