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

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 (125) 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/cascader/cascader.d.ts.map +1 -1
  13. package/cjs/cascader/cascader.js +3 -0
  14. package/cjs/cascader/token.js +9 -0
  15. package/cjs/cascader/type.d.ts +18 -0
  16. package/cjs/cascader/type.d.ts.map +1 -1
  17. package/cjs/descriptions/descriptions.d.ts.map +1 -1
  18. package/cjs/descriptions/descriptions.js +6 -4
  19. package/cjs/descriptions/rule.js +3 -2
  20. package/cjs/descriptions/token.js +11 -3
  21. package/cjs/descriptions/type.d.ts +15 -3
  22. package/cjs/descriptions/type.d.ts.map +1 -1
  23. package/cjs/dropdown/dropdown.d.ts.map +1 -1
  24. package/cjs/dropdown/dropdown.js +6 -4
  25. package/cjs/dropdown/rule.js +2 -0
  26. package/cjs/dropdown/token.js +9 -5
  27. package/cjs/dropdown/type.d.ts +16 -4
  28. package/cjs/dropdown/type.d.ts.map +1 -1
  29. package/cjs/index.d.ts +2 -2
  30. package/cjs/index.d.ts.map +1 -1
  31. package/cjs/index.js +7 -0
  32. package/cjs/input/input.d.ts.map +1 -1
  33. package/cjs/input/input.js +21 -5
  34. package/cjs/input/rule.js +1 -7
  35. package/cjs/input/token.js +44 -15
  36. package/cjs/input/type.d.ts +115 -19
  37. package/cjs/input/type.d.ts.map +1 -1
  38. package/cjs/list/list.d.ts.map +1 -1
  39. package/cjs/list/list.js +5 -1
  40. package/cjs/list/token.js +11 -1
  41. package/cjs/list/type.d.ts +25 -1
  42. package/cjs/list/type.d.ts.map +1 -1
  43. package/cjs/popover/popover.d.ts.map +1 -1
  44. package/cjs/popover/popover.js +9 -7
  45. package/cjs/popover/rule.js +2 -2
  46. package/cjs/popover/token.js +11 -7
  47. package/cjs/popover/type.d.ts +19 -7
  48. package/cjs/popover/type.d.ts.map +1 -1
  49. package/cjs/select/select.d.ts.map +1 -1
  50. package/cjs/select/select.js +23 -7
  51. package/cjs/select/token.js +62 -12
  52. package/cjs/select/type.d.ts +103 -7
  53. package/cjs/select/type.d.ts.map +1 -1
  54. package/cjs/token/token.d.ts +2 -1
  55. package/cjs/token/token.d.ts.map +1 -1
  56. package/cjs/token/token.js +2 -1
  57. package/cjs/tree/rule.js +2 -0
  58. package/cjs/tree/token.js +7 -2
  59. package/cjs/tree/tree.d.ts.map +1 -1
  60. package/cjs/tree/tree.js +2 -0
  61. package/cjs/tree/type.d.ts +15 -3
  62. package/cjs/tree/type.d.ts.map +1 -1
  63. package/esm/alert/alert.d.ts.map +1 -1
  64. package/esm/alert/alert.js +4 -1
  65. package/esm/alert/rule.js +2 -2
  66. package/esm/alert/token.js +7 -2
  67. package/esm/alert/type.d.ts +19 -1
  68. package/esm/alert/type.d.ts.map +1 -1
  69. package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
  70. package/esm/breadcrumb/breadcrumb.js +1 -3
  71. package/esm/breadcrumb/token.js +2 -8
  72. package/esm/breadcrumb/type.d.ts +6 -18
  73. package/esm/breadcrumb/type.d.ts.map +1 -1
  74. package/esm/cascader/cascader.d.ts.map +1 -1
  75. package/esm/cascader/cascader.js +3 -0
  76. package/esm/cascader/token.js +9 -0
  77. package/esm/cascader/type.d.ts +18 -0
  78. package/esm/cascader/type.d.ts.map +1 -1
  79. package/esm/descriptions/descriptions.d.ts.map +1 -1
  80. package/esm/descriptions/descriptions.js +6 -4
  81. package/esm/descriptions/rule.js +3 -2
  82. package/esm/descriptions/token.js +11 -3
  83. package/esm/descriptions/type.d.ts +15 -3
  84. package/esm/descriptions/type.d.ts.map +1 -1
  85. package/esm/dropdown/dropdown.d.ts.map +1 -1
  86. package/esm/dropdown/dropdown.js +6 -4
  87. package/esm/dropdown/rule.js +2 -0
  88. package/esm/dropdown/token.js +9 -5
  89. package/esm/dropdown/type.d.ts +16 -4
  90. package/esm/dropdown/type.d.ts.map +1 -1
  91. package/esm/index.d.ts +2 -2
  92. package/esm/index.d.ts.map +1 -1
  93. package/esm/index.js +1 -1
  94. package/esm/input/input.d.ts.map +1 -1
  95. package/esm/input/input.js +21 -5
  96. package/esm/input/rule.js +1 -7
  97. package/esm/input/token.js +44 -15
  98. package/esm/input/type.d.ts +115 -19
  99. package/esm/input/type.d.ts.map +1 -1
  100. package/esm/list/list.d.ts.map +1 -1
  101. package/esm/list/list.js +5 -1
  102. package/esm/list/token.js +11 -1
  103. package/esm/list/type.d.ts +25 -1
  104. package/esm/list/type.d.ts.map +1 -1
  105. package/esm/popover/popover.d.ts.map +1 -1
  106. package/esm/popover/popover.js +9 -7
  107. package/esm/popover/rule.js +2 -2
  108. package/esm/popover/token.js +11 -7
  109. package/esm/popover/type.d.ts +19 -7
  110. package/esm/popover/type.d.ts.map +1 -1
  111. package/esm/select/select.d.ts.map +1 -1
  112. package/esm/select/select.js +23 -7
  113. package/esm/select/token.js +62 -12
  114. package/esm/select/type.d.ts +103 -7
  115. package/esm/select/type.d.ts.map +1 -1
  116. package/esm/token/token.d.ts +2 -1
  117. package/esm/token/token.d.ts.map +1 -1
  118. package/esm/token/token.js +2 -1
  119. package/esm/tree/rule.js +2 -0
  120. package/esm/tree/token.js +7 -2
  121. package/esm/tree/tree.d.ts.map +1 -1
  122. package/esm/tree/tree.js +2 -0
  123. package/esm/tree/type.d.ts +15 -3
  124. package/esm/tree/type.d.ts.map +1 -1
  125. package/package.json +1 -1
@@ -19,10 +19,16 @@ export interface ListTokens {
19
19
  listBorderColor: string;
20
20
  /**
21
21
  * @type {string}
22
- * @token Radius-2
22
+ * @token Radius-lesser
23
23
  * @description 列表边框圆角
24
24
  */
25
25
  listBorderRadius: string;
26
+ /**
27
+ * @type {string}
28
+ * @token Border-1
29
+ * @description 列表边框宽度
30
+ */
31
+ listBorderWidth: string;
26
32
  /**
27
33
  * @type {string}
28
34
  * @token Spacing-12
@@ -35,6 +41,12 @@ export interface ListTokens {
35
41
  * @description 列表选项内边距(水平方向)
36
42
  */
37
43
  listItemPaddingX: string;
44
+ /**
45
+ * @type {string}
46
+ * @token Transparent
47
+ * @description 列表选项背景颜色
48
+ */
49
+ listItemBackgroundColor: string;
38
50
  /**
39
51
  * @type {string}
40
52
  * @token Spacing-8
@@ -47,6 +59,12 @@ export interface ListTokens {
47
59
  * @description 列表小尺寸选项内边距(水平方向)
48
60
  */
49
61
  listSmallItemPaddingX: string;
62
+ /**
63
+ * @type {string}
64
+ * @token Font-14
65
+ * @description 列表小尺寸字体字号
66
+ */
67
+ listSmallFontSize: string;
50
68
  /**
51
69
  * @type {string}
52
70
  * @token Spacing-16
@@ -59,6 +77,12 @@ export interface ListTokens {
59
77
  * @description 列表大尺寸选项内边距(水平方向)
60
78
  */
61
79
  listLargeItemPaddingX: string;
80
+ /**
81
+ * @type {string}
82
+ * @token Font-14
83
+ * @description 列表大尺寸字体字号
84
+ */
85
+ listLargeFontSize: string;
62
86
  /**
63
87
  * @type {string}
64
88
  * @token Spacing-12
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC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}
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,aAAa,EAAE,aAwBpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,aAAa,EAAE,aA0BpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -3,9 +3,10 @@
3
3
 
4
4
  var popoverTokens = {
5
5
  popoverFontSize: 'Font-14',
6
+ popoverFontWeight: 'Weight-regular',
6
7
  popoverPaddingX: 'Spacing-8',
7
8
  popoverPaddingY: 'Spacing-8',
8
- popoverRadius: 'Radius-4',
9
+ popoverRadius: 'Radius-default',
9
10
  popoverBorderWidth: 'Border-1',
10
11
  popoverFontColor: 'Neutral-text-5',
11
12
  popoverBackgroundColor: 'Neutral-fill-1',
@@ -13,17 +14,18 @@ var popoverTokens = {
13
14
  popoverBorderColor: 'Neutral-border-1',
14
15
  popoverSuccessBackgroundColor: '#edf9e8',
15
16
  popoverSuccessBorderColor: 'rgba(82, 196, 26, 0.1)',
16
- popoverWarningBackgroundColor: '#fff3e5',
17
- popoverWarningBorderColor: 'rgba(255, 140, 0, 0.1)',
18
- popoverInfoBackgroundColor: '#e8f1fe',
19
- popoverInfoBorderColor: 'rgba(25, 122, 250, 0.1)',
20
- popoverDangerBackgroundColor: '#ffeded',
21
- popoverDangerBorderColor: 'rgba(255, 77, 80, 0.1)',
17
+ popoverWarningBackgroundColor: 'Warning-1',
18
+ popoverWarningBorderColor: 'Warning-2',
19
+ popoverInfoBackgroundColor: 'Brand-1',
20
+ popoverInfoBorderColor: 'Brand-2',
21
+ popoverDangerBackgroundColor: 'Danger-1',
22
+ popoverDangerBorderColor: 'Danger-2',
22
23
  popoverErrorFontColor: 'Danger-7',
23
24
  popoverErrorBackgroundColor: 'Danger-1',
24
25
  popoverErrorBorderColor: 'Danger-1',
25
26
  popoverConfirmPaddingX: 'Spacing-16',
26
27
  popoverConfirmPaddingY: 'Spacing-16',
28
+ popoverConfirmMarginY: 'Spacing-16',
27
29
  popoverConfirmBackgroundColor: 'transparent'
28
30
  };
29
31
  export default popoverTokens;
@@ -7,9 +7,9 @@
7
7
  * 规则变量名称为 组件名称 + Rules。请勿修改变量命名,否则将导致 token 无法生成。
8
8
  */
9
9
  var popoverRules = {
10
- size: [[''], ['font-size', 'padding-x', 'padding-y', 'radius', 'border-width']],
10
+ size: [[''], ['font-size', 'font-weight', 'padding-x', 'padding-y', 'radius', 'border-width']],
11
11
  color: [['', 'success', 'warning', 'info', 'danger', 'error'], ['font-color', 'background-color', 'shadow', 'border-color']],
12
- confirmSize: [['confirm'], ['font-size', 'padding-x', 'padding-y']],
12
+ confirmSize: [['confirm'], ['font-size', 'padding-x', 'padding-y', 'margin-y']],
13
13
  confirmColor: [['confirm'], ['background-color']]
14
14
  };
15
15
  module.exports = {
@@ -25,13 +25,14 @@ var popoverTokenDescription = {
25
25
  var popoverTokenValue = {
26
26
  font: {
27
27
  size: 'Font-14',
28
+ weight: 'Weight-regular',
28
29
  color: 'Neutral-text-5'
29
30
  },
30
31
  padding: {
31
32
  x: 'Spacing-8',
32
33
  y: 'Spacing-8'
33
34
  },
34
- radius: 'Radius-4',
35
+ radius: 'Radius-default',
35
36
  border: {
36
37
  width: 'Border-1',
37
38
  color: 'Neutral-border-1'
@@ -57,11 +58,11 @@ var popoverTokenValue = {
57
58
  color: ''
58
59
  },
59
60
  background: {
60
- color: '#fff3e5'
61
+ color: 'Warning-1'
61
62
  },
62
63
  shadow: '',
63
64
  border: {
64
- color: 'rgba(255, 140, 0, 0.1)'
65
+ color: 'Warning-2'
65
66
  }
66
67
  },
67
68
  info: {
@@ -69,11 +70,11 @@ var popoverTokenValue = {
69
70
  color: ''
70
71
  },
71
72
  background: {
72
- color: '#e8f1fe'
73
+ color: 'Brand-1'
73
74
  },
74
75
  shadow: '',
75
76
  border: {
76
- color: 'rgba(25, 122, 250, 0.1)'
77
+ color: 'Brand-2'
77
78
  }
78
79
  },
79
80
  danger: {
@@ -81,11 +82,11 @@ var popoverTokenValue = {
81
82
  color: ''
82
83
  },
83
84
  background: {
84
- color: '#ffeded'
85
+ color: 'Danger-1'
85
86
  },
86
87
  shadow: '',
87
88
  border: {
88
- color: 'rgba(255, 77, 80, 0.1)'
89
+ color: 'Danger-2'
89
90
  }
90
91
  },
91
92
  error: {
@@ -108,6 +109,9 @@ var popoverTokenValue = {
108
109
  x: 'Spacing-16',
109
110
  y: 'Spacing-16'
110
111
  },
112
+ margin: {
113
+ y: 'Spacing-16'
114
+ },
111
115
  background: {
112
116
  color: 'transparent'
113
117
  }
@@ -5,6 +5,12 @@ export interface PopoverTokens {
5
5
  * @description 气泡字体字号
6
6
  */
7
7
  popoverFontSize: string;
8
+ /**
9
+ * @type {string}
10
+ * @token Weight-regular
11
+ * @description 气泡字体字重
12
+ */
13
+ popoverFontWeight: string;
8
14
  /**
9
15
  * @type {string}
10
16
  * @token Spacing-8
@@ -19,7 +25,7 @@ export interface PopoverTokens {
19
25
  popoverPaddingY: string;
20
26
  /**
21
27
  * @type {string}
22
- * @token Radius-4
28
+ * @token Radius-default
23
29
  * @description 气泡圆角
24
30
  */
25
31
  popoverRadius: string;
@@ -67,37 +73,37 @@ export interface PopoverTokens {
67
73
  popoverSuccessBorderColor: string;
68
74
  /**
69
75
  * @type {string}
70
- * @token #fff3e5
76
+ * @token Warning-1
71
77
  * @description 气泡警告背景颜色
72
78
  */
73
79
  popoverWarningBackgroundColor: string;
74
80
  /**
75
81
  * @type {string}
76
- * @token rgba(255, 140, 0, 0.1)
82
+ * @token Warning-2
77
83
  * @description 气泡警告边框颜色
78
84
  */
79
85
  popoverWarningBorderColor: string;
80
86
  /**
81
87
  * @type {string}
82
- * @token #e8f1fe
88
+ * @token Brand-1
83
89
  * @description 气泡提示背景颜色
84
90
  */
85
91
  popoverInfoBackgroundColor: string;
86
92
  /**
87
93
  * @type {string}
88
- * @token rgba(25, 122, 250, 0.1)
94
+ * @token Brand-2
89
95
  * @description 气泡提示边框颜色
90
96
  */
91
97
  popoverInfoBorderColor: string;
92
98
  /**
93
99
  * @type {string}
94
- * @token #ffeded
100
+ * @token Danger-1
95
101
  * @description 气泡危险色背景颜色
96
102
  */
97
103
  popoverDangerBackgroundColor: string;
98
104
  /**
99
105
  * @type {string}
100
- * @token rgba(255, 77, 80, 0.1)
106
+ * @token Danger-2
101
107
  * @description 气泡危险色边框颜色
102
108
  */
103
109
  popoverDangerBorderColor: string;
@@ -131,6 +137,12 @@ export interface PopoverTokens {
131
137
  * @description 气泡确认内边距(垂直方向)
132
138
  */
133
139
  popoverConfirmPaddingY: string;
140
+ /**
141
+ * @type {string}
142
+ * @token Spacing-16
143
+ * @description 气泡确认外边距(垂直方向)
144
+ */
145
+ popoverConfirmMarginY: string;
134
146
  /**
135
147
  * @type {string}
136
148
  * @token transparent
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,6BAA6B,EAAE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IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;CACvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,YA6EnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,YA6FnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -4,8 +4,10 @@
4
4
  var selectTokens = {
5
5
  selectFontSize: 'Font-14',
6
6
  selectFontColor: 'Neutral-text-5',
7
- selectBorderRadius: 'Radius-4',
7
+ selectFontWeight: 'Weight-regular',
8
+ selectBorderRadius: 'Radius-default',
8
9
  selectBorderColor: 'Neutral-border-2',
10
+ selectBorderWidth: 'Border-1',
9
11
  selectPaddingX: 'Spacing-8',
10
12
  selectPaddingY: 'Spacing-2',
11
13
  selectIconSize: 'Size-7',
@@ -30,26 +32,35 @@ var selectTokens = {
30
32
  selectClearPadding: 'Spacing-8',
31
33
  selectHoverBorderColor: 'Brand-6',
32
34
  selectHoverClearColor: 'Neutral-text-4',
35
+ selectHoverBackgroundColor: 'Neutral-fill-1',
33
36
  selectFocusBorderColor: 'Brand-7',
34
37
  selectFocusShadow: 'Brand-2',
38
+ selectFocusBackgroundColor: 'Neutral-fill-1',
35
39
  selectDisabledIconColor: 'Neutral-text-2',
36
40
  selectDisabledFontColor: 'Neutral-text-2',
37
41
  selectDisabledPlaceholderColor: 'Neutral-text-2',
38
42
  selectDisabledBorderColor: 'Neutral-border-1',
39
43
  selectDisabledBackgroundColor: 'Neutral-fill-2',
40
- selectResultTextBorderRadius: 'Radius-4',
44
+ selectResultTextBorderRadius: 'Radius-default',
41
45
  selectResultTextPaddingX: 'Spacing-4',
42
46
  selectResultTextSmallPaddingX: 'Spacing-4',
43
47
  selectResultTextLargePaddingX: 'Spacing-10',
44
48
  selectResultTextActiveBackgroundColor: 'Brand-1',
45
49
  selectErrorBorderColor: 'Danger-6',
50
+ selectErrorBackgroundColor: 'Neutral-fill-1',
46
51
  selectErrorFocusShadow: 'Danger-1',
52
+ selectErrorFocusBackgroundColor: 'Neutral-fill-1',
53
+ selectErrorFocusBorderColor: 'Danger-6',
54
+ selectErrorHoverBackgroundColor: 'Neutral-fill-1',
55
+ selectErrorHoverBorderColor: 'Danger-6',
47
56
  selectPanelColor: 'Neutral-text-5',
48
57
  selectPanelBackgroundColor: 'Neutral-fill-1',
49
58
  selectPanelShadow: 'Shadow-2',
50
- selectPanelRadius: 'Radius-4',
59
+ selectPanelRadius: 'Radius-default',
51
60
  selectPanelBorder: 'Neutral-border-1',
52
61
  selectOptionHeight: 'Size-16',
62
+ selectOptionBackgroundColor: 'Neutral-fill-1',
63
+ selectOptionFontColor: 'Neutral-text-5',
53
64
  selectOptionPaddingX: 'Spacing-4',
54
65
  selectOptionPaddingY: 'Spacing-1',
55
66
  selectOptionActiveColor: 'Brand-6',
@@ -57,15 +68,18 @@ var selectTokens = {
57
68
  selectOptionInnerPaddingX: 'Spacing-8',
58
69
  selectOptionInnerPaddingY: 'Spacing-5',
59
70
  selectOptionInnerPaddingRight: 'Size-15',
60
- selectOptionInnerBorderRadius: 'Radius-2',
71
+ selectOptionInnerBorderRadius: 'Radius-lesser',
61
72
  selectOptionHoverBackgroundColor: 'Neutral-fill-2',
73
+ selectOptionHoverFontColor: 'Neutral-text-5',
62
74
  selectOptionDisabledColor: 'Neutral-text-2',
63
75
  selectOptionDisabledBackgroundColor: 'Neutral-fill-1',
64
76
  selectMorePadding: 'Spacing-8',
65
- selectHeaderPadding: 'Spacing-8',
77
+ selectHeaderPaddingX: 'Spacing-8',
78
+ selectHeaderPaddingY: 'Spacing-8',
66
79
  selectHeaderBorderColor: 'Neutral-border-1',
67
80
  selectGroupTitleFontColor: 'Neutral-text-3',
68
81
  selectGroupTitleFontSize: 'Font-12',
82
+ selectGroupTitleFontWeight: 'Weight-regular',
69
83
  selectGroupTitlePaddingX: 'Spacing-12',
70
84
  selectGroupTitlePaddingTop: 'Spacing-10',
71
85
  selectGroupTitlePaddingBottom: 'Spacing-2',
@@ -76,7 +90,9 @@ var selectTokens = {
76
90
  selectGroupTitleLargeBottom: 'Spacing-4',
77
91
  selectColumnPadding: 'Spacing-8',
78
92
  selectColumnOptionMargin: 'Spacing-8',
79
- selectColumnBorderRadius: 'Radius-4',
80
- selectColumnBackgroundColor: 'Neutral-fill-2'
93
+ selectColumnBorderRadius: 'Radius-default',
94
+ selectColumnBackgroundColor: 'Neutral-fill-2',
95
+ selectLoadingSpinColor: 'Brand-6',
96
+ selectEmptyFontColor: 'Neutral-text-2'
81
97
  };
82
98
  export default selectTokens;
@@ -23,7 +23,9 @@ var selectTokenDescription = {
23
23
  shadow: '阴影',
24
24
  panel: '下拉面板的',
25
25
  top: '(顶部)',
26
- bottom: '(底部)'
26
+ bottom: '(底部)',
27
+ loading: '加载状态下的',
28
+ spin: '加载组件'
27
29
  };
28
30
 
29
31
  /**
@@ -41,11 +43,13 @@ var selectTokenValue = {
41
43
  var selectTokenExtraValue = {
42
44
  font: {
43
45
  size: 'Font-14',
44
- color: 'Neutral-text-5'
46
+ color: 'Neutral-text-5',
47
+ weight: 'Weight-regular'
45
48
  },
46
49
  border: {
47
- radius: 'Radius-4',
48
- color: 'Neutral-border-2'
50
+ radius: 'Radius-default',
51
+ color: 'Neutral-border-2',
52
+ width: 'Border-1'
49
53
  },
50
54
  padding: {
51
55
  x: 'Spacing-8',
@@ -122,13 +126,19 @@ var selectTokenExtraValue = {
122
126
  },
123
127
  clear: {
124
128
  color: 'Neutral-text-4'
129
+ },
130
+ background: {
131
+ color: 'Neutral-fill-1'
125
132
  }
126
133
  },
127
134
  focus: {
128
135
  border: {
129
136
  color: 'Brand-7'
130
137
  },
131
- shadow: 'Brand-2'
138
+ shadow: 'Brand-2',
139
+ background: {
140
+ color: 'Neutral-fill-1'
141
+ }
132
142
  },
133
143
  disabled: {
134
144
  icon: {
@@ -150,7 +160,7 @@ var selectTokenExtraValue = {
150
160
  result: {
151
161
  text: {
152
162
  border: {
153
- radius: 'Radius-4'
163
+ radius: 'Radius-default'
154
164
  },
155
165
  padding: {
156
166
  x: 'Spacing-4'
@@ -176,8 +186,25 @@ var selectTokenExtraValue = {
176
186
  border: {
177
187
  color: 'Danger-6'
178
188
  },
189
+ background: {
190
+ color: 'Neutral-fill-1'
191
+ },
179
192
  focus: {
180
- shadow: 'Danger-1'
193
+ shadow: 'Danger-1',
194
+ background: {
195
+ color: 'Neutral-fill-1'
196
+ },
197
+ border: {
198
+ color: 'Danger-6'
199
+ }
200
+ },
201
+ hover: {
202
+ background: {
203
+ color: 'Neutral-fill-1'
204
+ },
205
+ border: {
206
+ color: 'Danger-6'
207
+ }
181
208
  }
182
209
  },
183
210
  panel: {
@@ -186,11 +213,17 @@ var selectTokenExtraValue = {
186
213
  color: 'Neutral-fill-1'
187
214
  },
188
215
  shadow: 'Shadow-2',
189
- radius: 'Radius-4',
216
+ radius: 'Radius-default',
190
217
  border: 'Neutral-border-1'
191
218
  },
192
219
  option: {
193
220
  height: 'Size-16',
221
+ background: {
222
+ color: 'Neutral-fill-1'
223
+ },
224
+ font: {
225
+ color: 'Neutral-text-5'
226
+ },
194
227
  padding: {
195
228
  x: 'Spacing-4',
196
229
  y: 'Spacing-1'
@@ -208,12 +241,15 @@ var selectTokenExtraValue = {
208
241
  right: 'Size-15'
209
242
  },
210
243
  border: {
211
- radius: 'Radius-2'
244
+ radius: 'Radius-lesser'
212
245
  }
213
246
  },
214
247
  hover: {
215
248
  background: {
216
249
  color: 'Neutral-fill-2'
250
+ },
251
+ font: {
252
+ color: 'Neutral-text-5'
217
253
  }
218
254
  },
219
255
  disabled: {
@@ -227,7 +263,10 @@ var selectTokenExtraValue = {
227
263
  padding: 'Spacing-8'
228
264
  },
229
265
  header: {
230
- padding: 'Spacing-8',
266
+ padding: {
267
+ x: 'Spacing-8',
268
+ y: 'Spacing-8'
269
+ },
231
270
  border: {
232
271
  color: 'Neutral-border-1'
233
272
  }
@@ -236,7 +275,8 @@ var selectTokenExtraValue = {
236
275
  title: {
237
276
  font: {
238
277
  color: 'Neutral-text-3',
239
- size: 'Font-12'
278
+ size: 'Font-12',
279
+ weight: 'Weight-regular'
240
280
  },
241
281
  padding: {
242
282
  x: 'Spacing-12',
@@ -260,11 +300,21 @@ var selectTokenExtraValue = {
260
300
  margin: 'Spacing-8'
261
301
  },
262
302
  border: {
263
- radius: 'Radius-4'
303
+ radius: 'Radius-default'
264
304
  },
265
305
  background: {
266
306
  color: 'Neutral-fill-2'
267
307
  }
308
+ },
309
+ loading: {
310
+ spin: {
311
+ color: 'Brand-6'
312
+ }
313
+ },
314
+ empty: {
315
+ font: {
316
+ color: 'Neutral-text-2'
317
+ }
268
318
  }
269
319
  };
270
320
  module.exports = {