@sheinx/theme 3.0.0-alpha.8 → 3.0.0-rc.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 (263) hide show
  1. package/cjs/alert/token.js +4 -1
  2. package/cjs/alert/type.d.ts +4 -4
  3. package/cjs/breadcrumb/token.js +6 -1
  4. package/cjs/breadcrumb/type.d.ts +16 -16
  5. package/cjs/button/button.d.ts.map +1 -1
  6. package/cjs/button/button.js +40 -25
  7. package/cjs/button/rule.js +1 -1
  8. package/cjs/button/token.js +248 -26
  9. package/cjs/button/type.d.ts +116 -26
  10. package/cjs/button/type.d.ts.map +1 -1
  11. package/cjs/card/token.js +6 -1
  12. package/cjs/card/type.d.ts +13 -13
  13. package/cjs/cascader/cascader.d.ts.map +1 -1
  14. package/cjs/cascader/cascader.js +6 -0
  15. package/cjs/cascader/token.js +27 -4
  16. package/cjs/cascader/type.d.ts +48 -12
  17. package/cjs/cascader/type.d.ts.map +1 -1
  18. package/cjs/checkbox/token.js +5 -1
  19. package/cjs/checkbox/type.d.ts +13 -13
  20. package/cjs/collapse/token.js +9 -1
  21. package/cjs/collapse/type.d.ts +25 -25
  22. package/cjs/common/common.d.ts.map +1 -1
  23. package/cjs/common/common.js +2 -1
  24. package/cjs/common/type.d.ts +7 -0
  25. package/cjs/common/type.d.ts.map +1 -1
  26. package/cjs/config.d.ts +19 -4
  27. package/cjs/config.d.ts.map +1 -1
  28. package/cjs/config.js +50 -10
  29. package/cjs/date-picker/date-picker.d.ts.map +1 -1
  30. package/cjs/date-picker/date-picker.js +1 -0
  31. package/cjs/date-picker/token.js +1 -0
  32. package/cjs/date-picker/type.d.ts +6 -0
  33. package/cjs/date-picker/type.d.ts.map +1 -1
  34. package/cjs/descriptions/descriptions.d.ts.map +1 -1
  35. package/cjs/descriptions/descriptions.js +5 -7
  36. package/cjs/descriptions/rule.js +3 -3
  37. package/cjs/descriptions/token.js +33 -24
  38. package/cjs/descriptions/type.d.ts +41 -53
  39. package/cjs/descriptions/type.d.ts.map +1 -1
  40. package/cjs/dropdown/dropdown.d.ts.map +1 -1
  41. package/cjs/dropdown/dropdown.js +6 -3
  42. package/cjs/dropdown/rule.js +1 -1
  43. package/cjs/dropdown/token.js +19 -2
  44. package/cjs/dropdown/type.d.ts +70 -52
  45. package/cjs/dropdown/type.d.ts.map +1 -1
  46. package/cjs/form/token.js +8 -2
  47. package/cjs/form/type.d.ts +11 -11
  48. package/cjs/icon/icon.d.ts +2 -2
  49. package/cjs/icon/icon.d.ts.map +1 -1
  50. package/cjs/icon/icon.js +2 -2
  51. package/cjs/icon/token.js +3 -1
  52. package/cjs/icon/type.d.ts +1 -1
  53. package/cjs/image/token.js +2 -1
  54. package/cjs/image/type.d.ts +1 -1
  55. package/cjs/index.d.ts +3 -1
  56. package/cjs/index.d.ts.map +1 -1
  57. package/cjs/index.js +14 -0
  58. package/cjs/input/token.js +5 -1
  59. package/cjs/input/type.d.ts +12 -12
  60. package/cjs/list/token.js +4 -1
  61. package/cjs/list/type.d.ts +12 -12
  62. package/cjs/menu/token.js +8 -1
  63. package/cjs/menu/type.d.ts +29 -29
  64. package/cjs/message/token.js +3 -1
  65. package/cjs/message/type.d.ts +5 -5
  66. package/cjs/modal/modal.d.ts.map +1 -1
  67. package/cjs/modal/modal.js +2 -1
  68. package/cjs/modal/token.js +17 -2
  69. package/cjs/modal/type.d.ts +34 -28
  70. package/cjs/modal/type.d.ts.map +1 -1
  71. package/cjs/popover/token.js +2 -1
  72. package/cjs/popover/type.d.ts +1 -1
  73. package/cjs/progress/token.js +6 -1
  74. package/cjs/progress/type.d.ts +18 -18
  75. package/cjs/radio/token.js +8 -1
  76. package/cjs/radio/type.d.ts +14 -14
  77. package/cjs/rate/rate.js +1 -1
  78. package/cjs/rate/token.js +4 -2
  79. package/cjs/rate/type.d.ts +7 -7
  80. package/cjs/select/select.d.ts.map +1 -1
  81. package/cjs/select/select.js +2 -0
  82. package/cjs/select/token.js +10 -2
  83. package/cjs/select/type.d.ts +23 -11
  84. package/cjs/select/type.d.ts.map +1 -1
  85. package/cjs/slider/slider.js +1 -1
  86. package/cjs/slider/token.js +8 -2
  87. package/cjs/slider/type.d.ts +25 -25
  88. package/cjs/slider/type.d.ts.map +1 -1
  89. package/cjs/spin/token.js +2 -1
  90. package/cjs/spin/type.d.ts +1 -1
  91. package/cjs/steps/token.js +2 -1
  92. package/cjs/steps/type.d.ts +1 -1
  93. package/cjs/sticky/token.js +1 -1
  94. package/cjs/sticky/type.d.ts +1 -1
  95. package/cjs/switch/token.js +6 -1
  96. package/cjs/switch/type.d.ts +32 -32
  97. package/cjs/table/token.js +13 -1
  98. package/cjs/table/type.d.ts +28 -28
  99. package/cjs/tabs/token.js +6 -1
  100. package/cjs/tabs/type.d.ts +7 -7
  101. package/cjs/tag/tag.js +1 -1
  102. package/cjs/tag/token.js +5 -3
  103. package/cjs/tag/type.d.ts +169 -169
  104. package/cjs/textarea/token.js +6 -1
  105. package/cjs/textarea/type.d.ts +29 -29
  106. package/cjs/token/figma.js +497 -15
  107. package/cjs/token/token.d.ts.map +1 -1
  108. package/cjs/token/token.js +97 -3
  109. package/cjs/token/type.d.ts +670 -12
  110. package/cjs/token/type.d.ts.map +1 -1
  111. package/cjs/tooltip/token.js +4 -2
  112. package/cjs/tooltip/tooltip.js +1 -1
  113. package/cjs/tooltip/type.d.ts +5 -5
  114. package/cjs/transfer/token.js +3 -1
  115. package/cjs/transfer/type.d.ts +2 -2
  116. package/cjs/tree/token.js +5 -1
  117. package/cjs/tree/type.d.ts +13 -13
  118. package/cjs/tree-select/token.js +5 -2
  119. package/cjs/tree-select/tree-select.d.ts.map +1 -1
  120. package/cjs/tree-select/tree-select.js +1 -0
  121. package/cjs/tree-select/type.d.ts +9 -3
  122. package/cjs/tree-select/type.d.ts.map +1 -1
  123. package/cjs/utils/css-var.d.ts +1 -0
  124. package/cjs/utils/css-var.d.ts.map +1 -1
  125. package/cjs/utils/css-var.js +5 -2
  126. package/cjs/utils/notification.d.ts +16 -0
  127. package/cjs/utils/notification.d.ts.map +1 -0
  128. package/cjs/utils/notification.js +52 -0
  129. package/cjs/utils/token-setter.d.ts +57 -0
  130. package/cjs/utils/token-setter.d.ts.map +1 -0
  131. package/cjs/utils/token-setter.js +74 -0
  132. package/esm/alert/token.js +4 -1
  133. package/esm/alert/type.d.ts +4 -4
  134. package/esm/breadcrumb/token.js +6 -1
  135. package/esm/breadcrumb/type.d.ts +16 -16
  136. package/esm/button/button.d.ts.map +1 -1
  137. package/esm/button/button.js +40 -25
  138. package/esm/button/rule.js +1 -1
  139. package/esm/button/token.js +248 -26
  140. package/esm/button/type.d.ts +116 -26
  141. package/esm/button/type.d.ts.map +1 -1
  142. package/esm/card/token.js +6 -1
  143. package/esm/card/type.d.ts +13 -13
  144. package/esm/cascader/cascader.d.ts.map +1 -1
  145. package/esm/cascader/cascader.js +6 -0
  146. package/esm/cascader/token.js +27 -4
  147. package/esm/cascader/type.d.ts +48 -12
  148. package/esm/cascader/type.d.ts.map +1 -1
  149. package/esm/checkbox/token.js +5 -1
  150. package/esm/checkbox/type.d.ts +13 -13
  151. package/esm/collapse/token.js +9 -1
  152. package/esm/collapse/type.d.ts +25 -25
  153. package/esm/common/common.d.ts.map +1 -1
  154. package/esm/common/common.js +2 -1
  155. package/esm/common/type.d.ts +7 -0
  156. package/esm/common/type.d.ts.map +1 -1
  157. package/esm/config.d.ts +19 -4
  158. package/esm/config.d.ts.map +1 -1
  159. package/esm/config.js +50 -10
  160. package/esm/date-picker/date-picker.d.ts.map +1 -1
  161. package/esm/date-picker/date-picker.js +1 -0
  162. package/esm/date-picker/token.js +1 -0
  163. package/esm/date-picker/type.d.ts +6 -0
  164. package/esm/date-picker/type.d.ts.map +1 -1
  165. package/esm/descriptions/descriptions.d.ts.map +1 -1
  166. package/esm/descriptions/descriptions.js +5 -7
  167. package/esm/descriptions/rule.js +3 -3
  168. package/esm/descriptions/token.js +33 -24
  169. package/esm/descriptions/type.d.ts +41 -53
  170. package/esm/descriptions/type.d.ts.map +1 -1
  171. package/esm/dropdown/dropdown.d.ts.map +1 -1
  172. package/esm/dropdown/dropdown.js +6 -3
  173. package/esm/dropdown/rule.js +1 -1
  174. package/esm/dropdown/token.js +19 -2
  175. package/esm/dropdown/type.d.ts +70 -52
  176. package/esm/dropdown/type.d.ts.map +1 -1
  177. package/esm/form/token.js +8 -2
  178. package/esm/form/type.d.ts +11 -11
  179. package/esm/icon/icon.d.ts +2 -2
  180. package/esm/icon/icon.d.ts.map +1 -1
  181. package/esm/icon/icon.js +2 -2
  182. package/esm/icon/token.js +3 -1
  183. package/esm/icon/type.d.ts +1 -1
  184. package/esm/image/token.js +2 -1
  185. package/esm/image/type.d.ts +1 -1
  186. package/esm/index.d.ts +3 -1
  187. package/esm/index.d.ts.map +1 -1
  188. package/esm/index.js +14 -0
  189. package/esm/input/token.js +5 -1
  190. package/esm/input/type.d.ts +12 -12
  191. package/esm/list/token.js +4 -1
  192. package/esm/list/type.d.ts +12 -12
  193. package/esm/menu/token.js +8 -1
  194. package/esm/menu/type.d.ts +29 -29
  195. package/esm/message/token.js +3 -1
  196. package/esm/message/type.d.ts +5 -5
  197. package/esm/modal/modal.d.ts.map +1 -1
  198. package/esm/modal/modal.js +2 -1
  199. package/esm/modal/token.js +17 -2
  200. package/esm/modal/type.d.ts +34 -28
  201. package/esm/modal/type.d.ts.map +1 -1
  202. package/esm/popover/token.js +2 -1
  203. package/esm/popover/type.d.ts +1 -1
  204. package/esm/progress/token.js +6 -1
  205. package/esm/progress/type.d.ts +18 -18
  206. package/esm/radio/token.js +8 -1
  207. package/esm/radio/type.d.ts +14 -14
  208. package/esm/rate/rate.js +1 -1
  209. package/esm/rate/token.js +4 -2
  210. package/esm/rate/type.d.ts +7 -7
  211. package/esm/select/select.d.ts.map +1 -1
  212. package/esm/select/select.js +2 -0
  213. package/esm/select/token.js +10 -2
  214. package/esm/select/type.d.ts +23 -11
  215. package/esm/select/type.d.ts.map +1 -1
  216. package/esm/slider/slider.js +1 -1
  217. package/esm/slider/token.js +8 -2
  218. package/esm/slider/type.d.ts +25 -25
  219. package/esm/slider/type.d.ts.map +1 -1
  220. package/esm/spin/token.js +2 -1
  221. package/esm/spin/type.d.ts +1 -1
  222. package/esm/steps/token.js +2 -1
  223. package/esm/steps/type.d.ts +1 -1
  224. package/esm/sticky/token.js +1 -1
  225. package/esm/sticky/type.d.ts +1 -1
  226. package/esm/switch/token.js +6 -1
  227. package/esm/switch/type.d.ts +32 -32
  228. package/esm/table/token.js +13 -1
  229. package/esm/table/type.d.ts +28 -28
  230. package/esm/tabs/token.js +6 -1
  231. package/esm/tabs/type.d.ts +7 -7
  232. package/esm/tag/tag.js +1 -1
  233. package/esm/tag/token.js +5 -3
  234. package/esm/tag/type.d.ts +169 -169
  235. package/esm/textarea/token.js +6 -1
  236. package/esm/textarea/type.d.ts +29 -29
  237. package/esm/token/figma.js +497 -15
  238. package/esm/token/token.d.ts.map +1 -1
  239. package/esm/token/token.js +97 -3
  240. package/esm/token/type.d.ts +670 -12
  241. package/esm/token/type.d.ts.map +1 -1
  242. package/esm/tooltip/token.js +4 -2
  243. package/esm/tooltip/tooltip.js +1 -1
  244. package/esm/tooltip/type.d.ts +5 -5
  245. package/esm/transfer/token.js +3 -1
  246. package/esm/transfer/type.d.ts +2 -2
  247. package/esm/tree/token.js +5 -1
  248. package/esm/tree/type.d.ts +13 -13
  249. package/esm/tree-select/token.js +5 -2
  250. package/esm/tree-select/tree-select.d.ts.map +1 -1
  251. package/esm/tree-select/tree-select.js +1 -0
  252. package/esm/tree-select/type.d.ts +9 -3
  253. package/esm/tree-select/type.d.ts.map +1 -1
  254. package/esm/utils/css-var.d.ts +1 -0
  255. package/esm/utils/css-var.d.ts.map +1 -1
  256. package/esm/utils/css-var.js +5 -2
  257. package/esm/utils/notification.d.ts +16 -0
  258. package/esm/utils/notification.d.ts.map +1 -0
  259. package/esm/utils/notification.js +52 -0
  260. package/esm/utils/token-setter.d.ts +57 -0
  261. package/esm/utils/token-setter.d.ts.map +1 -0
  262. package/esm/utils/token-setter.js +74 -0
  263. package/package.json +5 -2
@@ -10,7 +10,10 @@
10
10
  */
11
11
  var alertTokenDescription = {
12
12
  alert: '提示框',
13
- info: '提示色'
13
+ info: '提示色',
14
+ nearly: '相邻之间的',
15
+ close: '关闭icon',
16
+ message: '在全局提示中使用时'
14
17
  };
15
18
 
16
19
  /**
@@ -104,7 +104,7 @@ export interface AlertTokens {
104
104
  /**
105
105
  * @type {string}
106
106
  * @token Margin-8
107
- * @description 提示框undefined外边距
107
+ * @description 提示框相邻之间的外边距
108
108
  */
109
109
  alertNearlyMargin: string;
110
110
  /**
@@ -116,19 +116,19 @@ export interface AlertTokens {
116
116
  /**
117
117
  * @type {string}
118
118
  * @token Neutral-text-4
119
- * @description 提示框undefined字体颜色
119
+ * @description 提示框关闭icon字体颜色
120
120
  */
121
121
  alertCloseFontColor: string;
122
122
  /**
123
123
  * @type {string}
124
124
  * @token Neutral-text-5
125
- * @description 提示框undefined鼠标移入时的颜色
125
+ * @description 提示框关闭icon鼠标移入时的颜色
126
126
  */
127
127
  alertCloseHoverColor: string;
128
128
  /**
129
129
  * @type {string}
130
130
  * @token Neutral-fill-2
131
- * @description 提示框undefined鼠标移入时的颜色
131
+ * @description 提示框在全局提示中使用时鼠标移入时的颜色
132
132
  */
133
133
  alertMessageHoverColor: string;
134
134
  }
@@ -9,7 +9,12 @@
9
9
  * 描述词典变量名称为 组件名称 + TokenDescription。请勿修改变量命名,否则将导致 token 无法生成。
10
10
  */
11
11
  var breadcrumbTokenDescription = {
12
- breadcrumb: 'xxx'
12
+ breadcrumb: '面包屑',
13
+ list: '下拉列表的',
14
+ shadow: '阴影',
15
+ item: '选项',
16
+ wrapper: '外部容器',
17
+ separator: '分隔符'
13
18
  };
14
19
 
15
20
  /**
@@ -2,97 +2,97 @@ export interface BreadcrumbTokens {
2
2
  /**
3
3
  * @type {string}
4
4
  * @token 14/regular
5
- * @description xxx字体字号
5
+ * @description 面包屑字体字号
6
6
  */
7
7
  breadcrumbFontSize: string;
8
8
  /**
9
9
  * @type {string}
10
10
  * @token Neutral-text-5
11
- * @description xxx字体颜色
11
+ * @description 面包屑字体颜色
12
12
  */
13
13
  breadcrumbFontColor: string;
14
14
  /**
15
15
  * @type {string}
16
16
  * @token Neutral-text-3
17
- * @description xxx链接色颜色
17
+ * @description 面包屑链接色颜色
18
18
  */
19
19
  breadcrumbLinkColor: string;
20
20
  /**
21
21
  * @type {string}
22
22
  * @token Brand-5
23
- * @description xxx链接色鼠标移入时的颜色
23
+ * @description 面包屑链接色鼠标移入时的颜色
24
24
  */
25
25
  breadcrumbLinkHoverColor: string;
26
26
  /**
27
27
  * @type {string}
28
28
  * @token Neutral-fill-1
29
- * @description xxxundefined背景颜色
29
+ * @description 面包屑下拉列表的背景颜色
30
30
  */
31
31
  breadcrumbListBackgroundColor: string;
32
32
  /**
33
33
  * @type {string}
34
34
  * @token Shadow-1
35
- * @description xxxundefinedundefined
35
+ * @description 面包屑下拉列表的阴影
36
36
  */
37
37
  breadcrumbListShadow: string;
38
38
  /**
39
39
  * @type {string}
40
40
  * @token #f4f5f8
41
- * @description xxxundefined边框颜色
41
+ * @description 面包屑下拉列表的边框颜色
42
42
  */
43
43
  breadcrumbListBorderColor: string;
44
44
  /**
45
45
  * @type {string}
46
46
  * @token Padding-4
47
- * @description xxxundefined内边距(垂直方向)
47
+ * @description 面包屑下拉列表的内边距(垂直方向)
48
48
  */
49
49
  breadcrumbListPaddingY: string;
50
50
  /**
51
51
  * @type {string}
52
52
  * @token Radius-4
53
- * @description xxxundefinedundefined边框圆角
53
+ * @description 面包屑下拉列表的选项边框圆角
54
54
  */
55
55
  breadcrumbListItemBorderRadius: string;
56
56
  /**
57
57
  * @type {string}
58
58
  * @token Padding-4
59
- * @description xxxundefinedundefinedundefined内边距(水平方向)
59
+ * @description 面包屑下拉列表的选项外部容器内边距(水平方向)
60
60
  */
61
61
  breadcrumbListItemWrapperPaddingX: string;
62
62
  /**
63
63
  * @type {string}
64
64
  * @token Padding-8
65
- * @description xxxundefinedundefined内边距(水平方向)
65
+ * @description 面包屑下拉列表的选项内边距(水平方向)
66
66
  */
67
67
  breadcrumbListItemPaddingX: string;
68
68
  /**
69
69
  * @type {string}
70
70
  * @token Padding-5
71
- * @description xxxundefinedundefined内边距(垂直方向)
71
+ * @description 面包屑下拉列表的选项内边距(垂直方向)
72
72
  */
73
73
  breadcrumbListItemPaddingY: string;
74
74
  /**
75
75
  * @type {string}
76
76
  * @token Neutral-fill-2
77
- * @description xxxundefinedundefined鼠标移入时的背景颜色
77
+ * @description 面包屑下拉列表的选项鼠标移入时的背景颜色
78
78
  */
79
79
  breadcrumbListItemHoverBackgroundColor: string;
80
80
  /**
81
81
  * @type {string}
82
82
  * @token Neutral-text-3
83
- * @description xxxundefinedundefined鼠标移入时的字体颜色
83
+ * @description 面包屑下拉列表的选项鼠标移入时的字体颜色
84
84
  */
85
85
  breadcrumbListItemHoverFontColor: string;
86
86
  /**
87
87
  * @type {string}
88
88
  * @token Padding-8
89
- * @description xxxundefined外边距(水平方向)
89
+ * @description 面包屑分隔符外边距(水平方向)
90
90
  */
91
91
  breadcrumbSeparatorMarginX: string;
92
92
  /**
93
93
  * @type {string}
94
94
  * @token Neutral-text-4
95
- * @description xxx图标背景颜色
95
+ * @description 面包屑图标背景颜色
96
96
  */
97
97
  breadcrumbIconBackgroundColor: string;
98
98
  }
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["button.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,YAyUnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["button.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,YAwVnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -26,19 +26,19 @@ var buttonTokens = {
26
26
  buttonPrimaryFocusBackgroundColor: 'Brand-5',
27
27
  buttonPrimaryFocusBorderColor: 'Brand-5',
28
28
  buttonPrimaryOutlineFontColor: 'Brand-6',
29
- buttonPrimaryOutlineBackgroundColor: 'Neutral-fill-1',
29
+ buttonPrimaryOutlineBackgroundColor: 'transparent',
30
30
  buttonPrimaryOutlineBorderColor: 'Brand-6',
31
31
  buttonPrimaryOutlineDisabledFontColor: 'Brand-3',
32
- buttonPrimaryOutlineDisabledBackgroundColor: 'Neutral-fill-1',
32
+ buttonPrimaryOutlineDisabledBackgroundColor: 'transparent',
33
33
  buttonPrimaryOutlineDisabledBorderColor: 'Brand-3',
34
34
  buttonPrimaryOutlineHoverFontColor: 'Brand-5',
35
- buttonPrimaryOutlineHoverBackgroundColor: 'Neutral-fill-1',
35
+ buttonPrimaryOutlineHoverBackgroundColor: 'transparent',
36
36
  buttonPrimaryOutlineHoverBorderColor: 'Brand-5',
37
37
  buttonPrimaryOutlineActiveFontColor: 'Brand-7',
38
- buttonPrimaryOutlineActiveBackgroundColor: 'Neutral-fill-1',
38
+ buttonPrimaryOutlineActiveBackgroundColor: 'transparent',
39
39
  buttonPrimaryOutlineActiveBorderColor: 'Brand-7',
40
40
  buttonPrimaryOutlineFocusFontColor: 'Brand-5',
41
- buttonPrimaryOutlineFocusBackgroundColor: 'Neutral-fill-1',
41
+ buttonPrimaryOutlineFocusBackgroundColor: 'transparent',
42
42
  buttonPrimaryOutlineFocusBorderColor: 'Brand-5',
43
43
  buttonPrimaryTextFontColor: 'Brand-6',
44
44
  buttonPrimaryTextBackgroundColor: 'Transparent',
@@ -71,19 +71,19 @@ var buttonTokens = {
71
71
  buttonSecondaryFocusBackgroundColor: 'Neutral-fill-4',
72
72
  buttonSecondaryFocusBorderColor: 'Neutral-fill-4',
73
73
  buttonSecondaryOutlineFontColor: 'Neutral-text-5',
74
- buttonSecondaryOutlineBackgroundColor: 'Neutral-fill-1',
74
+ buttonSecondaryOutlineBackgroundColor: 'transparent',
75
75
  buttonSecondaryOutlineBorderColor: 'Neutral-border-2',
76
76
  buttonSecondaryOutlineDisabledFontColor: 'Neutral-text-2',
77
- buttonSecondaryOutlineDisabledBackgroundColor: 'Neutral-fill-1',
77
+ buttonSecondaryOutlineDisabledBackgroundColor: 'transparent',
78
78
  buttonSecondaryOutlineDisabledBorderColor: 'Neutral-border-2',
79
79
  buttonSecondaryOutlineHoverFontColor: 'Brand-5',
80
- buttonSecondaryOutlineHoverBackgroundColor: 'Neutral-fill-1',
80
+ buttonSecondaryOutlineHoverBackgroundColor: 'transparent',
81
81
  buttonSecondaryOutlineHoverBorderColor: 'Brand-5',
82
82
  buttonSecondaryOutlineActiveFontColor: 'Brand-7',
83
- buttonSecondaryOutlineActiveBackgroundColor: 'Neutral-fill-1',
83
+ buttonSecondaryOutlineActiveBackgroundColor: 'transparent',
84
84
  buttonSecondaryOutlineActiveBorderColor: 'Brand-7',
85
85
  buttonSecondaryOutlineFocusFontColor: 'Brand-5',
86
- buttonSecondaryOutlineFocusBackgroundColor: 'Neutral-fill-1',
86
+ buttonSecondaryOutlineFocusBackgroundColor: 'transparent',
87
87
  buttonSecondaryOutlineFocusBorderColor: 'Brand-5',
88
88
  buttonSecondaryTextFontColor: 'Neutral-text-5',
89
89
  buttonSecondaryTextBackgroundColor: 'Transparent',
@@ -116,19 +116,19 @@ var buttonTokens = {
116
116
  buttonSuccessFocusBackgroundColor: 'Success-5',
117
117
  buttonSuccessFocusBorderColor: 'Success-5',
118
118
  buttonSuccessOutlineFontColor: 'Success-6',
119
- buttonSuccessOutlineBackgroundColor: 'Neutral-fill-1',
119
+ buttonSuccessOutlineBackgroundColor: 'transparent',
120
120
  buttonSuccessOutlineBorderColor: 'Success-6',
121
121
  buttonSuccessOutlineDisabledFontColor: 'Success-3',
122
- buttonSuccessOutlineDisabledBackgroundColor: 'Neutral-fill-1',
122
+ buttonSuccessOutlineDisabledBackgroundColor: 'transparent',
123
123
  buttonSuccessOutlineDisabledBorderColor: 'Success-3',
124
124
  buttonSuccessOutlineHoverFontColor: 'Success-5',
125
- buttonSuccessOutlineHoverBackgroundColor: 'Neutral-fill-1',
125
+ buttonSuccessOutlineHoverBackgroundColor: 'transparent',
126
126
  buttonSuccessOutlineHoverBorderColor: 'Success-5',
127
127
  buttonSuccessOutlineActiveFontColor: 'Success-7',
128
- buttonSuccessOutlineActiveBackgroundColor: 'Neutral-fill-1',
128
+ buttonSuccessOutlineActiveBackgroundColor: 'transparent',
129
129
  buttonSuccessOutlineActiveBorderColor: 'Success-7',
130
130
  buttonSuccessOutlineFocusFontColor: 'Success-5',
131
- buttonSuccessOutlineFocusBackgroundColor: 'Neutral-fill-1',
131
+ buttonSuccessOutlineFocusBackgroundColor: 'transparent',
132
132
  buttonSuccessOutlineFocusBorderColor: 'Success-5',
133
133
  buttonSuccessTextFontColor: 'Success-6',
134
134
  buttonSuccessTextBackgroundColor: 'Transparent',
@@ -161,19 +161,19 @@ var buttonTokens = {
161
161
  buttonWarningFocusBackgroundColor: 'Warning-5',
162
162
  buttonWarningFocusBorderColor: 'Warning-5',
163
163
  buttonWarningOutlineFontColor: 'Warning-6',
164
- buttonWarningOutlineBackgroundColor: 'Neutral-fill-1',
164
+ buttonWarningOutlineBackgroundColor: 'transparent',
165
165
  buttonWarningOutlineBorderColor: 'Warning-6',
166
166
  buttonWarningOutlineDisabledFontColor: 'Warning-3',
167
- buttonWarningOutlineDisabledBackgroundColor: 'Neutral-fill-1',
167
+ buttonWarningOutlineDisabledBackgroundColor: 'transparent',
168
168
  buttonWarningOutlineDisabledBorderColor: 'Warning-3',
169
169
  buttonWarningOutlineHoverFontColor: 'Warning-5',
170
- buttonWarningOutlineHoverBackgroundColor: 'Neutral-fill-1',
170
+ buttonWarningOutlineHoverBackgroundColor: 'transparent',
171
171
  buttonWarningOutlineHoverBorderColor: 'Warning-5',
172
172
  buttonWarningOutlineActiveFontColor: 'Warning-7',
173
- buttonWarningOutlineActiveBackgroundColor: 'Neutral-fill-1',
173
+ buttonWarningOutlineActiveBackgroundColor: 'transparent',
174
174
  buttonWarningOutlineActiveBorderColor: 'Warning-7',
175
175
  buttonWarningOutlineFocusFontColor: 'Warning-5',
176
- buttonWarningOutlineFocusBackgroundColor: 'Neutral-fill-1',
176
+ buttonWarningOutlineFocusBackgroundColor: 'transparent',
177
177
  buttonWarningOutlineFocusBorderColor: 'Warning-5',
178
178
  buttonWarningTextFontColor: 'Warning-6',
179
179
  buttonWarningTextBackgroundColor: 'Transparent',
@@ -206,19 +206,19 @@ var buttonTokens = {
206
206
  buttonDangerFocusBackgroundColor: 'Danger-5',
207
207
  buttonDangerFocusBorderColor: 'Danger-5',
208
208
  buttonDangerOutlineFontColor: 'Danger-6',
209
- buttonDangerOutlineBackgroundColor: 'Neutral-fill-1',
209
+ buttonDangerOutlineBackgroundColor: 'transparent',
210
210
  buttonDangerOutlineBorderColor: 'Danger-6',
211
211
  buttonDangerOutlineDisabledFontColor: 'Danger-3',
212
- buttonDangerOutlineDisabledBackgroundColor: 'Neutral-fill-1',
212
+ buttonDangerOutlineDisabledBackgroundColor: 'transparent',
213
213
  buttonDangerOutlineDisabledBorderColor: 'Danger-3',
214
214
  buttonDangerOutlineHoverFontColor: 'Danger-5',
215
- buttonDangerOutlineHoverBackgroundColor: 'Neutral-fill-1',
215
+ buttonDangerOutlineHoverBackgroundColor: 'transparent',
216
216
  buttonDangerOutlineHoverBorderColor: 'Danger-5',
217
217
  buttonDangerOutlineActiveFontColor: 'Danger-7',
218
- buttonDangerOutlineActiveBackgroundColor: 'Neutral-fill-1',
218
+ buttonDangerOutlineActiveBackgroundColor: 'transparent',
219
219
  buttonDangerOutlineActiveBorderColor: 'Danger-7',
220
220
  buttonDangerOutlineFocusFontColor: 'Danger-5',
221
- buttonDangerOutlineFocusBackgroundColor: 'Neutral-fill-1',
221
+ buttonDangerOutlineFocusBackgroundColor: 'transparent',
222
222
  buttonDangerOutlineFocusBorderColor: 'Danger-5',
223
223
  buttonDangerTextFontColor: 'Danger-6',
224
224
  buttonDangerTextBackgroundColor: 'Transparent',
@@ -235,6 +235,21 @@ var buttonTokens = {
235
235
  buttonDangerTextFocusFontColor: 'Danger-5',
236
236
  buttonDangerTextFocusBackgroundColor: 'Neutral-fill-2',
237
237
  buttonDangerTextFocusBorderColor: 'Neutral-fill-2',
238
+ buttonLinkFontColor: 'Brand-6',
239
+ buttonLinkBackgroundColor: 'transparent',
240
+ buttonLinkBorderColor: 'transparent',
241
+ buttonLinkDisabledFontColor: 'Brand-3',
242
+ buttonLinkDisabledBackgroundColor: 'transparent',
243
+ buttonLinkDisabledBorderColor: 'transparent',
244
+ buttonLinkHoverFontColor: 'Brand-5',
245
+ buttonLinkHoverBackgroundColor: 'transparent',
246
+ buttonLinkHoverBorderColor: 'transparent',
247
+ buttonLinkActiveFontColor: 'Brand-7',
248
+ buttonLinkActiveBackgroundColor: 'transparent',
249
+ buttonLinkActiveBorderColor: 'transparent',
250
+ buttonLinkFocusFontColor: 'Brand-5',
251
+ buttonLinkFocusBackgroundColor: 'transparent',
252
+ buttonLinkFocusBorderColor: 'transparent',
238
253
  buttonFontSize: '14/regular',
239
254
  buttonBorderRadius: 'Radius-4',
240
255
  buttonPaddingX: 'Padding-8',
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  var buttonRules = {
4
- color: [['default', 'primary', 'secondary', 'success', 'warning', 'danger'], ['', 'outline', 'text', 'dashed'], ['', 'disabled', 'hover', 'active', 'focus'], ['font-color', 'background-color', 'border-color']],
4
+ color: [['default', 'primary', 'secondary', 'success', 'warning', 'danger', 'link'], ['', 'outline', 'text', 'dashed'], ['', 'disabled', 'hover', 'active', 'focus'], ['font-color', 'background-color', 'border-color']],
5
5
  size: [['', 'small', 'large'], ['font-size', 'border-radius', 'padding-x', 'padding-y', 'height']],
6
6
  group: [['default', 'primary', 'secondary', 'success', 'warning', 'danger'], ['', 'outline', 'text', 'dashed'], ['split'], ['', 'disabled', 'hover', 'active', 'focus'], ['background-color']],
7
7
  shape: [['', 'small', 'large'], ['round', 'circle', 'square'], ['border-radius']],