@sheinx/theme 3.1.0-rc.2 → 3.1.0

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 (310) hide show
  1. package/LICENSE +21 -0
  2. package/cjs/alert/alert.js +5 -5
  3. package/cjs/alert/token.js +5 -5
  4. package/cjs/alert/type.d.ts +5 -5
  5. package/cjs/breadcrumb/breadcrumb.js +6 -6
  6. package/cjs/breadcrumb/token.js +6 -6
  7. package/cjs/breadcrumb/type.d.ts +6 -6
  8. package/cjs/button/button.js +5 -5
  9. package/cjs/button/token.js +6 -6
  10. package/cjs/card/card.js +5 -5
  11. package/cjs/card/token.js +6 -6
  12. package/cjs/card/type.d.ts +5 -5
  13. package/cjs/card-group/card-group.js +1 -1
  14. package/cjs/card-group/token.js +1 -1
  15. package/cjs/card-group/type.d.ts +1 -1
  16. package/cjs/carousel/carousel.js +5 -5
  17. package/cjs/carousel/token.js +5 -5
  18. package/cjs/carousel/type.d.ts +5 -5
  19. package/cjs/cascader/cascader.d.ts.map +1 -1
  20. package/cjs/cascader/cascader.js +33 -34
  21. package/cjs/cascader/token.js +34 -35
  22. package/cjs/cascader/type.d.ts +33 -39
  23. package/cjs/cascader/type.d.ts.map +1 -1
  24. package/cjs/checkbox/checkbox.d.ts.map +1 -1
  25. package/cjs/checkbox/checkbox.js +8 -7
  26. package/cjs/checkbox/token.js +10 -7
  27. package/cjs/checkbox/type.d.ts +13 -7
  28. package/cjs/checkbox/type.d.ts.map +1 -1
  29. package/cjs/collapse/collapse.js +7 -7
  30. package/cjs/collapse/token.js +7 -7
  31. package/cjs/collapse/type.d.ts +7 -7
  32. package/cjs/date-picker/date-picker.d.ts.map +1 -1
  33. package/cjs/date-picker/date-picker.js +36 -49
  34. package/cjs/date-picker/token.js +36 -89
  35. package/cjs/date-picker/type.d.ts +36 -114
  36. package/cjs/date-picker/type.d.ts.map +1 -1
  37. package/cjs/descriptions/descriptions.js +14 -14
  38. package/cjs/descriptions/token.js +14 -14
  39. package/cjs/descriptions/type.d.ts +14 -14
  40. package/cjs/divider/divider.js +4 -4
  41. package/cjs/divider/token.js +4 -4
  42. package/cjs/divider/type.d.ts +4 -4
  43. package/cjs/dropdown/dropdown.js +29 -29
  44. package/cjs/dropdown/token.js +29 -29
  45. package/cjs/dropdown/type.d.ts +29 -29
  46. package/cjs/editable-area/editable-area.js +1 -1
  47. package/cjs/editable-area/token.js +1 -1
  48. package/cjs/editable-area/type.d.ts +1 -1
  49. package/cjs/empty/empty.js +1 -1
  50. package/cjs/empty/token.js +1 -1
  51. package/cjs/empty/type.d.ts +1 -1
  52. package/cjs/form/form.js +7 -7
  53. package/cjs/form/token.js +7 -7
  54. package/cjs/form/type.d.ts +7 -7
  55. package/cjs/icon/icon.js +3 -3
  56. package/cjs/icon/token.js +3 -3
  57. package/cjs/icon/type.d.ts +3 -3
  58. package/cjs/image/image.js +2 -2
  59. package/cjs/image/token.js +2 -2
  60. package/cjs/image/type.d.ts +2 -2
  61. package/cjs/index.d.ts +3 -3
  62. package/cjs/index.d.ts.map +1 -1
  63. package/cjs/index.js +9 -9
  64. package/cjs/input/input.js +18 -18
  65. package/cjs/input/token.js +18 -18
  66. package/cjs/input/type.d.ts +18 -18
  67. package/cjs/list/list.js +8 -8
  68. package/cjs/list/token.js +8 -8
  69. package/cjs/list/type.d.ts +8 -8
  70. package/cjs/menu/menu.js +1 -1
  71. package/cjs/menu/token.js +1 -1
  72. package/cjs/menu/type.d.ts +1 -1
  73. package/cjs/message/message.js +1 -1
  74. package/cjs/message/token.js +1 -1
  75. package/cjs/message/type.d.ts +1 -1
  76. package/cjs/modal/modal.js +14 -14
  77. package/cjs/modal/token.js +14 -14
  78. package/cjs/modal/type.d.ts +14 -14
  79. package/cjs/pagination/pagination.js +4 -4
  80. package/cjs/pagination/token.js +4 -4
  81. package/cjs/pagination/type.d.ts +4 -4
  82. package/cjs/popover/popover.js +5 -5
  83. package/cjs/popover/token.js +5 -5
  84. package/cjs/popover/type.d.ts +5 -5
  85. package/cjs/progress/progress.js +5 -5
  86. package/cjs/progress/token.js +5 -5
  87. package/cjs/progress/type.d.ts +5 -5
  88. package/cjs/radio/radio.d.ts.map +1 -1
  89. package/cjs/radio/radio.js +9 -10
  90. package/cjs/radio/token.js +9 -12
  91. package/cjs/radio/type.d.ts +9 -15
  92. package/cjs/radio/type.d.ts.map +1 -1
  93. package/cjs/rate/rate.js +1 -1
  94. package/cjs/rate/token.js +1 -1
  95. package/cjs/rate/type.d.ts +1 -1
  96. package/cjs/select/select.d.ts.map +1 -1
  97. package/cjs/select/select.js +38 -39
  98. package/cjs/select/token.js +39 -40
  99. package/cjs/select/type.d.ts +38 -44
  100. package/cjs/select/type.d.ts.map +1 -1
  101. package/cjs/slider/slider.js +5 -5
  102. package/cjs/slider/token.js +5 -5
  103. package/cjs/slider/type.d.ts +5 -5
  104. package/cjs/spin/spin.js +2 -2
  105. package/cjs/spin/token.js +2 -2
  106. package/cjs/spin/type.d.ts +2 -2
  107. package/cjs/steps/steps.d.ts.map +1 -1
  108. package/cjs/steps/steps.js +17 -20
  109. package/cjs/steps/token.js +21 -24
  110. package/cjs/steps/type.d.ts +17 -35
  111. package/cjs/steps/type.d.ts.map +1 -1
  112. package/cjs/sticky/sticky.js +1 -1
  113. package/cjs/sticky/token.js +1 -1
  114. package/cjs/sticky/type.d.ts +1 -1
  115. package/cjs/switch/switch.js +10 -10
  116. package/cjs/switch/token.js +10 -10
  117. package/cjs/switch/type.d.ts +10 -10
  118. package/cjs/table/table.js +8 -8
  119. package/cjs/table/token.js +8 -8
  120. package/cjs/table/type.d.ts +8 -8
  121. package/cjs/tabs/tabs.js +16 -16
  122. package/cjs/tabs/token.js +16 -16
  123. package/cjs/tabs/type.d.ts +16 -16
  124. package/cjs/tag/tag.js +14 -14
  125. package/cjs/tag/token.js +14 -14
  126. package/cjs/tag/type.d.ts +14 -14
  127. package/cjs/textarea/textarea.js +9 -9
  128. package/cjs/textarea/token.js +9 -9
  129. package/cjs/textarea/type.d.ts +9 -9
  130. package/cjs/token/figma.js +36 -96
  131. package/cjs/token/token.d.ts +2 -0
  132. package/cjs/token/token.d.ts.map +1 -1
  133. package/cjs/token/token.js +19 -18
  134. package/cjs/token/type.d.ts +42 -112
  135. package/cjs/token/type.d.ts.map +1 -1
  136. package/cjs/tooltip/token.js +3 -3
  137. package/cjs/tooltip/tooltip.js +3 -3
  138. package/cjs/tooltip/type.d.ts +3 -3
  139. package/cjs/transfer/token.js +4 -4
  140. package/cjs/transfer/transfer.js +4 -4
  141. package/cjs/transfer/type.d.ts +4 -4
  142. package/cjs/tree/token.js +7 -7
  143. package/cjs/tree/tree.js +7 -7
  144. package/cjs/tree/type.d.ts +7 -7
  145. package/cjs/tree-select/token.js +34 -35
  146. package/cjs/tree-select/tree-select.d.ts.map +1 -1
  147. package/cjs/tree-select/tree-select.js +33 -34
  148. package/cjs/tree-select/type.d.ts +33 -39
  149. package/cjs/tree-select/type.d.ts.map +1 -1
  150. package/cjs/upload/token.js +7 -7
  151. package/cjs/upload/type.d.ts +7 -7
  152. package/cjs/upload/upload.js +7 -7
  153. package/cjs/utils/css-var.d.ts +1 -1
  154. package/cjs/utils/css-var.d.ts.map +1 -1
  155. package/cjs/utils/css-var.js +1 -10
  156. package/esm/alert/alert.js +5 -5
  157. package/esm/alert/token.js +5 -5
  158. package/esm/alert/type.d.ts +5 -5
  159. package/esm/breadcrumb/breadcrumb.js +6 -6
  160. package/esm/breadcrumb/token.js +6 -6
  161. package/esm/breadcrumb/type.d.ts +6 -6
  162. package/esm/button/button.js +5 -5
  163. package/esm/button/token.js +6 -6
  164. package/esm/card/card.js +5 -5
  165. package/esm/card/token.js +6 -6
  166. package/esm/card/type.d.ts +5 -5
  167. package/esm/card-group/card-group.js +1 -1
  168. package/esm/card-group/token.js +1 -1
  169. package/esm/card-group/type.d.ts +1 -1
  170. package/esm/carousel/carousel.js +5 -5
  171. package/esm/carousel/token.js +5 -5
  172. package/esm/carousel/type.d.ts +5 -5
  173. package/esm/cascader/cascader.d.ts.map +1 -1
  174. package/esm/cascader/cascader.js +33 -34
  175. package/esm/cascader/token.js +34 -35
  176. package/esm/cascader/type.d.ts +33 -39
  177. package/esm/cascader/type.d.ts.map +1 -1
  178. package/esm/checkbox/checkbox.d.ts.map +1 -1
  179. package/esm/checkbox/checkbox.js +8 -7
  180. package/esm/checkbox/token.js +10 -7
  181. package/esm/checkbox/type.d.ts +13 -7
  182. package/esm/checkbox/type.d.ts.map +1 -1
  183. package/esm/collapse/collapse.js +7 -7
  184. package/esm/collapse/token.js +7 -7
  185. package/esm/collapse/type.d.ts +7 -7
  186. package/esm/date-picker/date-picker.d.ts.map +1 -1
  187. package/esm/date-picker/date-picker.js +36 -49
  188. package/esm/date-picker/token.js +36 -89
  189. package/esm/date-picker/type.d.ts +36 -114
  190. package/esm/date-picker/type.d.ts.map +1 -1
  191. package/esm/descriptions/descriptions.js +14 -14
  192. package/esm/descriptions/token.js +14 -14
  193. package/esm/descriptions/type.d.ts +14 -14
  194. package/esm/divider/divider.js +4 -4
  195. package/esm/divider/token.js +4 -4
  196. package/esm/divider/type.d.ts +4 -4
  197. package/esm/dropdown/dropdown.js +29 -29
  198. package/esm/dropdown/token.js +29 -29
  199. package/esm/dropdown/type.d.ts +29 -29
  200. package/esm/editable-area/editable-area.js +1 -1
  201. package/esm/editable-area/token.js +1 -1
  202. package/esm/editable-area/type.d.ts +1 -1
  203. package/esm/empty/empty.js +1 -1
  204. package/esm/empty/token.js +1 -1
  205. package/esm/empty/type.d.ts +1 -1
  206. package/esm/form/form.js +7 -7
  207. package/esm/form/token.js +7 -7
  208. package/esm/form/type.d.ts +7 -7
  209. package/esm/icon/icon.js +3 -3
  210. package/esm/icon/token.js +3 -3
  211. package/esm/icon/type.d.ts +3 -3
  212. package/esm/image/image.js +2 -2
  213. package/esm/image/token.js +2 -2
  214. package/esm/image/type.d.ts +2 -2
  215. package/esm/index.d.ts +3 -3
  216. package/esm/index.d.ts.map +1 -1
  217. package/esm/index.js +4 -4
  218. package/esm/input/input.js +18 -18
  219. package/esm/input/token.js +18 -18
  220. package/esm/input/type.d.ts +18 -18
  221. package/esm/list/list.js +8 -8
  222. package/esm/list/token.js +8 -8
  223. package/esm/list/type.d.ts +8 -8
  224. package/esm/menu/menu.js +1 -1
  225. package/esm/menu/token.js +1 -1
  226. package/esm/menu/type.d.ts +1 -1
  227. package/esm/message/message.js +1 -1
  228. package/esm/message/token.js +1 -1
  229. package/esm/message/type.d.ts +1 -1
  230. package/esm/modal/modal.js +14 -14
  231. package/esm/modal/token.js +14 -14
  232. package/esm/modal/type.d.ts +14 -14
  233. package/esm/pagination/pagination.js +4 -4
  234. package/esm/pagination/token.js +4 -4
  235. package/esm/pagination/type.d.ts +4 -4
  236. package/esm/popover/popover.js +5 -5
  237. package/esm/popover/token.js +5 -5
  238. package/esm/popover/type.d.ts +5 -5
  239. package/esm/progress/progress.js +5 -5
  240. package/esm/progress/token.js +5 -5
  241. package/esm/progress/type.d.ts +5 -5
  242. package/esm/radio/radio.d.ts.map +1 -1
  243. package/esm/radio/radio.js +9 -10
  244. package/esm/radio/token.js +9 -12
  245. package/esm/radio/type.d.ts +9 -15
  246. package/esm/radio/type.d.ts.map +1 -1
  247. package/esm/rate/rate.js +1 -1
  248. package/esm/rate/token.js +1 -1
  249. package/esm/rate/type.d.ts +1 -1
  250. package/esm/select/select.d.ts.map +1 -1
  251. package/esm/select/select.js +38 -39
  252. package/esm/select/token.js +39 -40
  253. package/esm/select/type.d.ts +38 -44
  254. package/esm/select/type.d.ts.map +1 -1
  255. package/esm/slider/slider.js +5 -5
  256. package/esm/slider/token.js +5 -5
  257. package/esm/slider/type.d.ts +5 -5
  258. package/esm/spin/spin.js +2 -2
  259. package/esm/spin/token.js +2 -2
  260. package/esm/spin/type.d.ts +2 -2
  261. package/esm/steps/steps.d.ts.map +1 -1
  262. package/esm/steps/steps.js +17 -20
  263. package/esm/steps/token.js +21 -24
  264. package/esm/steps/type.d.ts +17 -35
  265. package/esm/steps/type.d.ts.map +1 -1
  266. package/esm/sticky/sticky.js +1 -1
  267. package/esm/sticky/token.js +1 -1
  268. package/esm/sticky/type.d.ts +1 -1
  269. package/esm/switch/switch.js +10 -10
  270. package/esm/switch/token.js +10 -10
  271. package/esm/switch/type.d.ts +10 -10
  272. package/esm/table/table.js +8 -8
  273. package/esm/table/token.js +8 -8
  274. package/esm/table/type.d.ts +8 -8
  275. package/esm/tabs/tabs.js +16 -16
  276. package/esm/tabs/token.js +16 -16
  277. package/esm/tabs/type.d.ts +16 -16
  278. package/esm/tag/tag.js +14 -14
  279. package/esm/tag/token.js +14 -14
  280. package/esm/tag/type.d.ts +14 -14
  281. package/esm/textarea/textarea.js +9 -9
  282. package/esm/textarea/token.js +9 -9
  283. package/esm/textarea/type.d.ts +9 -9
  284. package/esm/token/figma.js +36 -96
  285. package/esm/token/token.d.ts +2 -0
  286. package/esm/token/token.d.ts.map +1 -1
  287. package/esm/token/token.js +19 -17
  288. package/esm/token/type.d.ts +42 -112
  289. package/esm/token/type.d.ts.map +1 -1
  290. package/esm/tooltip/token.js +3 -3
  291. package/esm/tooltip/tooltip.js +3 -3
  292. package/esm/tooltip/type.d.ts +3 -3
  293. package/esm/transfer/token.js +4 -4
  294. package/esm/transfer/transfer.js +4 -4
  295. package/esm/transfer/type.d.ts +4 -4
  296. package/esm/tree/token.js +7 -7
  297. package/esm/tree/tree.js +7 -7
  298. package/esm/tree/type.d.ts +7 -7
  299. package/esm/tree-select/token.js +34 -35
  300. package/esm/tree-select/tree-select.d.ts.map +1 -1
  301. package/esm/tree-select/tree-select.js +33 -34
  302. package/esm/tree-select/type.d.ts +33 -39
  303. package/esm/tree-select/type.d.ts.map +1 -1
  304. package/esm/upload/token.js +7 -7
  305. package/esm/upload/type.d.ts +7 -7
  306. package/esm/upload/upload.js +7 -7
  307. package/esm/utils/css-var.d.ts +1 -1
  308. package/esm/utils/css-var.d.ts.map +1 -1
  309. package/esm/utils/css-var.js +1 -10
  310. package/package.json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H,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,uCAAuC,EAAE,MAAM,CAAC;IAChD;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;CACtC"}
@@ -30,21 +30,21 @@ var uploadTokenDescription = {
30
30
  */
31
31
  var uploadTokenValue = {
32
32
  font: {
33
- size: '14/regular'
33
+ size: 'Font-14'
34
34
  }
35
35
  };
36
36
  var uploadTokenExtraValue = {
37
37
  result: {
38
38
  padding: {
39
- x: 'Padding-16',
40
- y: 'Padding-5'
39
+ x: 'Spacing-16',
40
+ y: 'Spacing-5'
41
41
  },
42
42
  background: {
43
43
  color: 'Neutral-fill-2'
44
44
  },
45
- gap: 'Margin-4',
45
+ gap: 'Spacing-4',
46
46
  margin: {
47
- y: 'Margin-8'
47
+ y: 'Spacing-8'
48
48
  },
49
49
  icon: {
50
50
  size: 'Size-7',
@@ -56,7 +56,7 @@ var uploadTokenExtraValue = {
56
56
  }
57
57
  },
58
58
  font: {
59
- size: '14/regular',
59
+ size: 'Font-14',
60
60
  color: 'Neutral-text-5'
61
61
  },
62
62
  border: {
@@ -163,7 +163,7 @@ var uploadTokenExtraValue = {
163
163
  color: 'Neutral-fill-1'
164
164
  },
165
165
  font: {
166
- size: '12/regular'
166
+ size: 'Font-12'
167
167
  }
168
168
  }
169
169
  }
@@ -1,13 +1,13 @@
1
1
  export interface UploadTokens {
2
2
  /**
3
3
  * @type {string}
4
- * @token Padding-16
4
+ * @token Spacing-16
5
5
  * @description 上传结果内边距(水平方向)
6
6
  */
7
7
  uploadResultPaddingX: string;
8
8
  /**
9
9
  * @type {string}
10
- * @token Padding-5
10
+ * @token Spacing-5
11
11
  * @description 上传结果内边距(垂直方向)
12
12
  */
13
13
  uploadResultPaddingY: string;
@@ -19,13 +19,13 @@ export interface UploadTokens {
19
19
  uploadResultBackgroundColor: string;
20
20
  /**
21
21
  * @type {string}
22
- * @token Margin-4
22
+ * @token Spacing-4
23
23
  * @description 上传结果内间距
24
24
  */
25
25
  uploadResultGap: string;
26
26
  /**
27
27
  * @type {string}
28
- * @token Margin-8
28
+ * @token Spacing-8
29
29
  * @description 上传结果外边距(垂直方向)
30
30
  */
31
31
  uploadResultMarginY: string;
@@ -49,7 +49,7 @@ export interface UploadTokens {
49
49
  uploadResultIconHoverBackgroundColor: string;
50
50
  /**
51
51
  * @type {string}
52
- * @token 14/regular
52
+ * @token Font-14
53
53
  * @description 上传结果字体字号
54
54
  */
55
55
  uploadResultFontSize: string;
@@ -223,13 +223,13 @@ export interface UploadTokens {
223
223
  uploadImageResultTipBackgroundColor: string;
224
224
  /**
225
225
  * @type {string}
226
- * @token 12/regular
226
+ * @token Font-12
227
227
  * @description 上传图片结果提示字体字号
228
228
  */
229
229
  uploadImageResultTipFontSize: string;
230
230
  /**
231
231
  * @type {string}
232
- * @token 14/regular
232
+ * @token Font-14
233
233
  * @description 上传字体字号
234
234
  */
235
235
  uploadFontSize: string;
@@ -2,15 +2,15 @@
2
2
  // This file was generated automatically by a script. Please do not modify it directly.
3
3
 
4
4
  var uploadTokens = {
5
- uploadResultPaddingX: 'Padding-16',
6
- uploadResultPaddingY: 'Padding-5',
5
+ uploadResultPaddingX: 'Spacing-16',
6
+ uploadResultPaddingY: 'Spacing-5',
7
7
  uploadResultBackgroundColor: 'Neutral-fill-2',
8
- uploadResultGap: 'Margin-4',
9
- uploadResultMarginY: 'Margin-8',
8
+ uploadResultGap: 'Spacing-4',
9
+ uploadResultMarginY: 'Spacing-8',
10
10
  uploadResultIconSize: 'Size-7',
11
11
  uploadResultIconColor: 'Neutral-text-4',
12
12
  uploadResultIconHoverBackgroundColor: 'Neutral-fill-2',
13
- uploadResultFontSize: '14/regular',
13
+ uploadResultFontSize: 'Font-14',
14
14
  uploadResultFontColor: 'Neutral-text-5',
15
15
  uploadResultBorderRadius: 'Radius-4',
16
16
  uploadResultErrorFontColor: 'Danger-6',
@@ -39,7 +39,7 @@ var uploadTokens = {
39
39
  uploadImageResultErrorBorderColor: 'Danger-6',
40
40
  uploadImageResultErrorFontColor: 'Danger-6',
41
41
  uploadImageResultTipBackgroundColor: 'Neutral-fill-1',
42
- uploadImageResultTipFontSize: '12/regular',
43
- uploadFontSize: '14/regular'
42
+ uploadImageResultTipFontSize: 'Font-12',
43
+ uploadFontSize: 'Font-14'
44
44
  };
45
45
  export default uploadTokens;
@@ -1,4 +1,4 @@
1
1
  export declare function replaceNonAlphanumeric(str: string): string;
2
2
  export declare function camelCaseToDash(str: string): string;
3
- export declare const cssvar: (str: string, value: string, key: string, size?: string) => string;
3
+ export declare const cssvar: (str: string, value: string, key: string, _size?: string) => string;
4
4
  //# sourceMappingURL=css-var.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"css-var.d.ts","sourceRoot":"","sources":["css-var.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,UAQjD;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,UAE1C;AAED,eAAO,MAAM,MAAM,QAAS,MAAM,SAAS,MAAM,OAAO,MAAM,SAAS,MAAM,WAoB5E,CAAC"}
1
+ {"version":3,"file":"css-var.d.ts","sourceRoot":"","sources":["css-var.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,UAQjD;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,UAE1C;AAED,eAAO,MAAM,MAAM,QAAS,MAAM,SAAS,MAAM,OAAO,MAAM,UAAU,MAAM,WAW7E,CAAC"}
@@ -10,18 +10,9 @@ export function replaceNonAlphanumeric(str) {
10
10
  export function camelCaseToDash(str) {
11
11
  return str.replace(/(?<=.)([A-Z])/g, '-$1').toLowerCase();
12
12
  }
13
- export var cssvar = function cssvar(str, value, key, size) {
13
+ export var cssvar = function cssvar(str, value, key, _size) {
14
14
  var _getConfig = getConfig(),
15
15
  prefix = _getConfig.prefix;
16
- if (str.indexOf('Size-') > -1) {
17
- // 正则提取出Size-后面的数字
18
- var sizeReg = /Size-(\d+)/;
19
- // 正则提取出以px结尾的数字
20
- var sizeNum = sizeReg.exec(str);
21
- if (sizeNum) {
22
- return "".concat(Number(sizeNum[1]) * Number(size), "px");
23
- }
24
- }
25
16
  var pxReg = /(\d+)px/;
26
17
  var pxNum = pxReg.exec(str);
27
18
  if (pxNum) {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@sheinx/theme",
3
- "version": "3.1.0-rc.2",
3
+ "version": "3.1.0",
4
4
  "description": "",
5
- "license": "ISC",
5
+ "license": "MIT",
6
6
  "author": "",
7
7
  "sideEffects": false,
8
8
  "main": "./cjs/index.js",
@@ -10,5 +10,10 @@
10
10
  "typings": "./cjs/index.d.ts",
11
11
  "peerDependencies": {
12
12
  "core-js": ">=3"
13
- }
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/sheinsight/shineout-next"
17
+ },
18
+ "authors": ""
14
19
  }