@sheinx/shineout-style 3.9.13-beta.3 → 3.9.13-beta.5

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 (47) hide show
  1. package/cjs/alert/alert.js +2 -2
  2. package/cjs/cascader/cascader.d.ts.map +1 -1
  3. package/cjs/cascader/cascader.js +18 -15
  4. package/cjs/checkbox/checkbox.js +6 -6
  5. package/cjs/date-picker/date-picker.d.ts.map +1 -1
  6. package/cjs/date-picker/date-picker.js +10 -9
  7. package/cjs/dropdown/dropdown.d.ts.map +1 -1
  8. package/cjs/dropdown/dropdown.js +10 -2
  9. package/cjs/editable-area/editable-area.js +2 -2
  10. package/cjs/form/form-item.d.ts.map +1 -1
  11. package/cjs/form/form-item.js +2 -3
  12. package/cjs/input/input.js +15 -15
  13. package/cjs/menu/menu.js +4 -4
  14. package/cjs/radio/radio.js +9 -9
  15. package/cjs/select/select.d.ts.map +1 -1
  16. package/cjs/select/select.js +14 -11
  17. package/cjs/tabs/tabs.js +4 -4
  18. package/cjs/textarea/textarea.js +9 -9
  19. package/cjs/tree/tree.js +2 -2
  20. package/cjs/tree-select/tree-select.d.ts.map +1 -1
  21. package/cjs/tree-select/tree-select.js +13 -10
  22. package/cjs/version.d.ts +1 -1
  23. package/cjs/version.js +1 -1
  24. package/esm/alert/alert.js +2 -2
  25. package/esm/cascader/cascader.d.ts.map +1 -1
  26. package/esm/cascader/cascader.js +18 -15
  27. package/esm/checkbox/checkbox.js +6 -6
  28. package/esm/date-picker/date-picker.d.ts.map +1 -1
  29. package/esm/date-picker/date-picker.js +10 -9
  30. package/esm/dropdown/dropdown.d.ts.map +1 -1
  31. package/esm/dropdown/dropdown.js +10 -2
  32. package/esm/editable-area/editable-area.js +2 -2
  33. package/esm/form/form-item.d.ts.map +1 -1
  34. package/esm/form/form-item.js +2 -3
  35. package/esm/input/input.js +15 -15
  36. package/esm/menu/menu.js +4 -4
  37. package/esm/radio/radio.js +9 -9
  38. package/esm/select/select.d.ts.map +1 -1
  39. package/esm/select/select.js +14 -11
  40. package/esm/tabs/tabs.js +4 -4
  41. package/esm/textarea/textarea.js +9 -9
  42. package/esm/tree/tree.js +2 -2
  43. package/esm/tree-select/tree-select.d.ts.map +1 -1
  44. package/esm/tree-select/tree-select.js +13 -10
  45. package/esm/version.d.ts +1 -1
  46. package/esm/version.js +1 -1
  47. package/package.json +3 -3
@@ -108,6 +108,9 @@ var treeSelectStyle = _objectSpread(_objectSpread({
108
108
  },
109
109
  '& $clearIcon': {
110
110
  right: _theme.default.treeSelectSmallPaddingX
111
+ },
112
+ '& $arrowIcon': {
113
+ width: _theme.default.inputSmallFontSize
111
114
  }
112
115
  },
113
116
  '&$wrapperLarge': {
@@ -123,7 +126,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
123
126
  fontSize: _theme.default.treeSelectLargeFontSize
124
127
  },
125
128
  '& $arrowIcon': {
126
- width: _theme.default.treeSelectLargeFontSize
129
+ width: _theme.default.inputLargeFontSize
127
130
  },
128
131
  '& $clearIcon': {
129
132
  right: _theme.default.treeSelectLargePaddingX
@@ -192,7 +195,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
192
195
  whiteSpace: 'nowrap',
193
196
  textOverflow: 'ellipsis',
194
197
  '&::placeholder': {
195
- color: _theme.default.treeSelectPlaceholderColor
198
+ color: _theme.default.inputPlaceholderColor
196
199
  }
197
200
  }
198
201
  },
@@ -239,7 +242,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
239
242
  backgroundColor: 'transparent',
240
243
  width: '100%',
241
244
  '&::placeholder': {
242
- color: _theme.default.treeSelectPlaceholderColor
245
+ color: _theme.default.inputPlaceholderColor
243
246
  }
244
247
  }
245
248
  },
@@ -272,7 +275,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
272
275
  }
273
276
  },
274
277
  placeholder: {
275
- color: _theme.default.treeSelectPlaceholderColor,
278
+ color: _theme.default.inputPlaceholderColor,
276
279
  lineHeight: _theme.default.lineHeightDynamic,
277
280
  marginTop: _theme.default.treeSelectPlaceholderMarginY,
278
281
  marginBottom: _theme.default.treeSelectPlaceholderMarginY
@@ -301,24 +304,24 @@ var treeSelectStyle = _objectSpread(_objectSpread({
301
304
  clearable: {},
302
305
  clearIcon: {
303
306
  cursor: 'pointer',
304
- width: _theme.default.treeSelectFontSize,
307
+ width: _theme.default.inputFontSize,
305
308
  lineHeight: 0,
306
- color: _theme.default.treeSelectClearColor,
309
+ color: _theme.default.inputClearColor,
307
310
  verticalAlign: 'middle',
308
311
  '&:hover svg': {
309
312
  color: _theme.default.treeSelectClearHoverColor
310
313
  },
311
314
  '$wrapperSmall &': {
312
- width: _theme.default.treeSelectSmallFontSize
315
+ width: _theme.default.inputSmallFontSize
313
316
  },
314
317
  '$wrapperLarge &': {
315
- width: _theme.default.treeSelectLargeFontSize
318
+ width: _theme.default.inputLargeFontSize
316
319
  }
317
320
  },
318
321
  arrowIcon: {
319
322
  display: 'inline-block',
320
323
  verticalAlign: 'middle',
321
- width: _theme.default.treeSelectFontSize,
324
+ width: _theme.default.inputFontSize,
322
325
  lineHeight: 0,
323
326
  color: _theme.default.treeSelectIconColor,
324
327
  transition: 'transform 0.3s',
@@ -555,7 +558,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
555
558
  }
556
559
  },
557
560
  empty: {
558
- color: _theme.default.selectPlaceholderColor
561
+ color: _theme.default.inputPlaceholderColor
559
562
  }
560
563
  });
561
564
  var _default = exports.default = treeSelectStyle;
package/cjs/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.9.13-beta.3";
1
+ declare const _default: "3.9.13-beta.5";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
package/cjs/version.js CHANGED
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = exports.default = '3.9.13-beta.3';
7
+ var _default = exports.default = '3.9.13-beta.5';
@@ -57,7 +57,7 @@ var alertStyle = {
57
57
  withTitle: {
58
58
  '& $icon': {
59
59
  fontSize: Token.alertTitleFontSize,
60
- width: "calc(".concat(Token.alertTitleIconWidth, " + 2px)"),
60
+ width: "calc(".concat(Token.alertTitleFontSize, " + 2px)"),
61
61
  height: Token.lineHeightDynamic
62
62
  },
63
63
  '& $title': {
@@ -167,7 +167,7 @@ var alertStyle = {
167
167
  }
168
168
  },
169
169
  icon: {
170
- width: Token.alertIconSize,
170
+ width: "calc(".concat(Token.alertFontSize, " + 2px)"),
171
171
  display: 'inline-flex',
172
172
  fontSize: Token.alertFontSize,
173
173
  height: Token.lineHeightDynamic,
@@ -1 +1 @@
1
- {"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAwDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAohB9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAwDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAuhB9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -98,6 +98,9 @@ var cascaderStyle = _objectSpread(_objectSpread({
98
98
  // padding: `${token.cascaderSmallOptionInnerPaddingY} ${token.cascaderSmallOptionInnerPaddingX}`,
99
99
  fontSize: token.cascaderSmallFontSize
100
100
  },
101
+ '& $arrowIcon': {
102
+ width: token.inputSmallFontSize
103
+ },
101
104
  '& $clearIcon': {
102
105
  right: token.cascaderSmallPaddingX
103
106
  }
@@ -108,7 +111,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
108
111
  marginBottom: token.cascaderLargePlaceholderMarginY
109
112
  },
110
113
  '& $arrowIcon': {
111
- width: token.cascaderLargeFontSize
114
+ width: token.inputLargeFontSize
112
115
  },
113
116
  '& $optionInner': {
114
117
  // padding: `${token.cascaderLargeOptionInnerPaddingY} ${token.cascaderLargeOptionInnerPaddingX}`,
@@ -212,7 +215,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
212
215
  whiteSpace: 'nowrap',
213
216
  textOverflow: 'ellipsis',
214
217
  '&::placeholder': {
215
- color: token.cascaderPlaceholderColor
218
+ color: token.inputPlaceholderColor
216
219
  }
217
220
  }
218
221
  },
@@ -262,7 +265,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
262
265
  backgroundColor: 'transparent',
263
266
  width: '100%',
264
267
  '&::placeholder': {
265
- color: token.cascaderPlaceholderColor
268
+ color: token.inputPlaceholderColor
266
269
  }
267
270
  }
268
271
  },
@@ -295,7 +298,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
295
298
  }
296
299
  },
297
300
  placeholder: {
298
- color: token.cascaderPlaceholderColor,
301
+ color: token.inputPlaceholderColor,
299
302
  lineHeight: token.lineHeightDynamic,
300
303
  marginTop: token.cascaderPlaceholderMarginY,
301
304
  marginBottom: token.cascaderPlaceholderMarginY
@@ -320,25 +323,25 @@ var cascaderStyle = _objectSpread(_objectSpread({
320
323
  clearable: {},
321
324
  clearIcon: {
322
325
  cursor: 'pointer',
323
- width: token.cascaderFontSize,
326
+ width: token.inputFontSize,
324
327
  lineHeight: 0,
325
- color: token.cascaderClearColor,
328
+ color: token.inputClearColor,
326
329
  verticalAlign: 'middle',
327
330
  '&:hover': {
328
- color: token.cascaderClearHoverColor
331
+ color: token.inputHoverClearColor
329
332
  },
330
333
  '$wrapperSmall &': {
331
- width: token.cascaderSmallFontSize
334
+ width: token.inputSmallFontSize
332
335
  },
333
336
  '$wrapperLarge &': {
334
- width: token.cascaderLargeFontSize
337
+ width: token.inputLargeFontSize
335
338
  }
336
339
  },
337
340
  compressedIcon: {},
338
341
  arrowIcon: {
339
342
  display: 'inline-block',
340
343
  verticalAlign: 'middle',
341
- width: token.cascaderFontSize,
344
+ width: token.inputFontSize,
342
345
  lineHeight: 0,
343
346
  color: token.cascaderIconColor,
344
347
  transition: 'transform 0.3s'
@@ -374,13 +377,13 @@ var cascaderStyle = _objectSpread(_objectSpread({
374
377
  },
375
378
  loading: {
376
379
  padding: 10,
377
- color: token.cascaderPlaceholderColor,
380
+ color: token.inputPlaceholderColor,
378
381
  display: 'flex',
379
382
  justifyContent: 'center'
380
383
  },
381
384
  empty: {
382
385
  padding: "calc(".concat(token.cascaderOptionPaddingY, " + ").concat(token.cascaderOptionInnerPaddingY, ") calc(").concat(token.cascaderOptionPaddingX, " + ").concat(token.cascaderOptionInnerPaddingX, ")"),
383
- color: token.cascaderPlaceholderColor
386
+ color: token.inputPlaceholderColor
384
387
  },
385
388
  checkedIcon: {
386
389
  right: 8,
@@ -542,12 +545,12 @@ var cascaderStyle = _objectSpread(_objectSpread({
542
545
  justifyContent: 'center',
543
546
  '& svg': {
544
547
  verticalAlign: 'middle',
545
- width: token.cascaderOptionIconSize,
548
+ width: token.cascaderFontSize,
546
549
  '$wrapperLarge &': {
547
- width: token.cascaderLargeOptionIconSize
550
+ width: token.cascaderLargeFontSize
548
551
  },
549
552
  '$wrapperSmall &': {
550
- width: token.cascaderSmallOptionIconSize
553
+ width: token.cascaderSmallFontSize
551
554
  }
552
555
  }
553
556
  },
@@ -38,17 +38,17 @@ var checkboxStyle = _objectSpread(_objectSpread({}, animations), {}, {
38
38
  display: 'block',
39
39
  position: 'relative',
40
40
  boxSizing: 'border-box',
41
- width: token.checkboxIconSize,
42
- height: token.checkboxIconSize,
41
+ width: token.checkboxLabelFontSize,
42
+ height: token.checkboxLabelFontSize,
43
43
  // marginTop: token.checkboxIndicatorMarginTop,
44
44
  flexShrink: 0,
45
45
  '$wrapperSmall &': {
46
- width: token.checkboxSmallIconSize,
47
- height: token.checkboxSmallIconSize
46
+ width: token.checkboxSmallLabelFontSize,
47
+ height: token.checkboxSmallLabelFontSize
48
48
  },
49
49
  '$wrapperLarge &': {
50
- width: token.checkboxLargeIconSize,
51
- height: token.checkboxLargeIconSize
50
+ width: token.checkboxLargeLabelFontSize,
51
+ height: token.checkboxLargeLabelFontSize
52
52
  },
53
53
  verticalAlign: 'middle',
54
54
  '&::before': {
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAgE1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CA+pBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAgE1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAgqBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -198,15 +198,15 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
198
198
  alignItems: 'center',
199
199
  color: token.datePickerIconColor,
200
200
  '& svg': {
201
- width: token.datePickerIconSize,
202
- height: token.datePickerIconSize,
201
+ width: token.inputFontSize,
202
+ height: token.inputFontSize,
203
203
  '$wrapperSmall &': {
204
- width: token.datePickerSmallIconSize,
205
- height: token.datePickerSmallIconSize
204
+ width: token.inputSmallFontSize,
205
+ height: token.inputSmallFontSize
206
206
  },
207
207
  '$wrapperLarge &': {
208
- width: token.datePickerLargeIconSize,
209
- height: token.datePickerLargeIconSize
208
+ width: token.inputLargeFontSize,
209
+ height: token.inputLargeFontSize
210
210
  }
211
211
  },
212
212
  // todo 暂时写死
@@ -326,7 +326,8 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
326
326
  alignItems: 'center',
327
327
  '& > span': {
328
328
  padding: "0 ".concat(token.datePickerPanelHeaderTitlePaddingX),
329
- fontSize: token.datePickerPanelHeaderFontSize
329
+ fontSize: token.datePickerPanelHeaderFontSize,
330
+ color: token.datePickerPanelHeaderFontColor
330
331
  }
331
332
  },
332
333
  pickerHeaderInfo: {
@@ -677,8 +678,8 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
677
678
  lineHeight: '0',
678
679
  marginRight: '8px',
679
680
  '& > svg': {
680
- width: token.datePickerIconSize,
681
- height: token.datePickerIconSize,
681
+ width: token.datePickerFontSize,
682
+ height: token.datePickerFontSize,
682
683
  color: token.datePickerIconColor
683
684
  }
684
685
  },
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,eAAe,CAqM7C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,eAAe,CA6M7C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -77,7 +77,7 @@ var dropdown = {
77
77
  }
78
78
  },
79
79
  boxList: {
80
- padding: "".concat(token.dropdownColumnPaddingY, " ").concat(token.dropdownColumnPaddingX),
80
+ padding: "".concat(token.dropdownListPaddingY, " ").concat(token.dropdownListPaddingX),
81
81
  '& $item': {
82
82
  textAlign: 'center'
83
83
  }
@@ -185,7 +185,15 @@ var dropdown = {
185
185
  }
186
186
  },
187
187
  optionDivider: {
188
- padding: "".concat(token.dropdownOptionDividerPaddingY, " ").concat(token.dropdownOptionDividerPaddingX),
188
+ padding: "".concat(token.dropdownOptionDividerPaddingY, " ").concat(token.dropdownOptionPaddingX),
189
+ '$listSmall &': {
190
+ paddingLeft: token.dropdownOptionSmallPaddingX,
191
+ paddingRight: token.dropdownOptionSmallPaddingX
192
+ },
193
+ '$listLarge &': {
194
+ paddingLeft: token.dropdownOptionLargePaddingX,
195
+ paddingRight: token.dropdownOptionLargePaddingX
196
+ },
189
197
  '&::before': {
190
198
  content: '" "',
191
199
  height: token.dropdownOptionDividerHeight,
@@ -74,8 +74,8 @@ var editableAreaStyle = _objectSpread(_objectSpread({
74
74
  clear: {
75
75
  position: 'absolute',
76
76
  display: 'flex',
77
- width: token.inputIconSize,
78
- height: token.inputIconSize,
77
+ width: token.inputFontSize,
78
+ height: token.inputFontSize,
79
79
  top: 0,
80
80
  bottom: 0,
81
81
  margin: 'auto',
@@ -1 +1 @@
1
- {"version":3,"file":"form-item.d.ts","sourceRoot":"","sources":["form-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAYxC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,CAwJlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"form-item.d.ts","sourceRoot":"","sources":["form-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAYxC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,CAuJlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -163,9 +163,8 @@ var formItemStyle = _objectSpread(_objectSpread({
163
163
  minHeight: token.formItemTipMinHeight,
164
164
  fontSize: token.formItemDangerFontSize,
165
165
  fontWeight: token.formItemDangerFontWeight,
166
- animation: '$appear 1s ease-in-out forwards'
167
- // flexBasis: '100%',
168
- // width: 0,
166
+ animation: '$appear 1s ease-in-out forwards',
167
+ marginTop: token.formItemTipMarginTop
169
168
  },
170
169
  tip: {
171
170
  color: token.formItemTipFontColor,
@@ -172,7 +172,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
172
172
  },
173
173
  clearWrapper: {
174
174
  position: 'relative',
175
- flexBasis: "calc(".concat(token.inputIconSize, " + 8px)"),
175
+ flexBasis: "calc(".concat(token.inputFontSize, " + 8px)"),
176
176
  flexShrink: 0,
177
177
  display: 'none',
178
178
  '$wrapper:hover &, $wrapperFocus &': {
@@ -181,7 +181,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
181
181
  },
182
182
  password: {
183
183
  '& $clearWrapper': {
184
- flexBasis: "calc(".concat(token.inputIconSize, " + 12px)")
184
+ flexBasis: "calc(".concat(token.inputFontSize, " + 12px)")
185
185
  },
186
186
  '& $clear': {
187
187
  marginRight: 8,
@@ -196,8 +196,8 @@ var input = _objectSpread(_objectSpread(_objectSpread({
196
196
  top: '0',
197
197
  bottom: '0',
198
198
  margin: 'auto',
199
- width: token.inputIconSize,
200
- height: token.inputIconSize,
199
+ width: token.inputFontSize,
200
+ height: token.inputFontSize,
201
201
  boxSizing: 'border-box',
202
202
  display: 'flex',
203
203
  cursor: 'pointer',
@@ -212,12 +212,12 @@ var input = _objectSpread(_objectSpread(_objectSpread({
212
212
  left: '0'
213
213
  },
214
214
  '$wrapperSmall &': {
215
- width: token.inputSmallIconSize,
216
- height: token.inputSmallIconSize
215
+ width: token.inputSmallFontSize,
216
+ height: token.inputSmallFontSize
217
217
  },
218
218
  '$wrapperLarge &': {
219
- width: token.inputLargeIconSize,
220
- height: token.inputLargeIconSize
219
+ width: token.inputLargeFontSize,
220
+ height: token.inputLargeFontSize
221
221
  }
222
222
  },
223
223
  group: _objectSpread(_objectSpread({}, group), {}, {
@@ -267,7 +267,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
267
267
  borderBottom: "1px solid ".concat(token.inputBorderColor)
268
268
  },
269
269
  '& svg': {
270
- width: token.inputIconSize,
270
+ width: token.inputFontSize,
271
271
  transform: 'rotate(-90deg)'
272
272
  }
273
273
  },
@@ -283,20 +283,20 @@ var input = _objectSpread(_objectSpread(_objectSpread({
283
283
  display: 'flex',
284
284
  alignItems: 'center',
285
285
  flexShrink: 0,
286
- width: token.inputIconSize,
287
- height: token.inputIconSize,
286
+ width: token.inputFontSize,
287
+ height: token.inputFontSize,
288
288
  color: token.inputToggleColor,
289
289
  cursor: 'pointer',
290
290
  '$wrapperDisabled &': {
291
291
  color: token.inputDisabledFontColor
292
292
  },
293
293
  '$wrapperSmall &': {
294
- width: token.inputSmallIconSize,
295
- height: token.inputSmallIconSize
294
+ width: token.inputSmallFontSize,
295
+ height: token.inputSmallFontSize
296
296
  },
297
297
  '$wrapperLarge &': {
298
- width: token.inputLargeIconSize,
299
- height: token.inputLargeIconSize
298
+ width: token.inputLargeFontSize,
299
+ height: token.inputLargeFontSize
300
300
  },
301
301
  '& > svg': {
302
302
  cursor: 'pointer',
package/esm/menu/menu.js CHANGED
@@ -406,13 +406,13 @@ var menuStyle = {
406
406
  minWidth: 0,
407
407
  padding: "".concat(token.menuTitlePaddingY, " ").concat(token.menuTitlePaddingX),
408
408
  '$wrapperInline $childrenHasExpand $item:not($itemHasChildren) $itemContentBack > &': {
409
- paddingRight: "calc(".concat(token.menuIconMarginX, " + ").concat(token.menuTitlePaddingX, " + ").concat(token.menuExpandSize, ")")
409
+ paddingRight: "calc(".concat(token.menuIconMarginX, " + ").concat(token.menuTitlePaddingX, " + ").concat(token.menuFontSize, ")")
410
410
  },
411
411
  '$wrapperInline $itemHasChildren > $itemContentBack > &': {
412
412
  paddingRight: 0
413
413
  },
414
414
  '$childrenHasExpand > $item:not($itemHasChildren) > $itemContentBack > &': {
415
- paddingRight: "calc(".concat(token.menuIconMarginX, " + ").concat(token.menuTitlePaddingX, " + ").concat(token.menuExpandSize, ")")
415
+ paddingRight: "calc(".concat(token.menuIconMarginX, " + ").concat(token.menuTitlePaddingX, " + ").concat(token.menuFontSize, ")")
416
416
  },
417
417
  '$wrapperHorizontal $childrenHasExpand > $item:not($itemHasChildren) > $itemContentBack > &': {
418
418
  paddingRight: token.menuTitlePaddingX
@@ -454,8 +454,8 @@ var menuStyle = {
454
454
  },
455
455
  '& > $icon': {
456
456
  lineHeight: 1,
457
- width: token.menuExpandSize,
458
- height: token.menuExpandSize,
457
+ width: token.menuFontSize,
458
+ height: token.menuFontSize,
459
459
  alignSelf: 'flex-start',
460
460
  alignItems: 'center',
461
461
  display: 'flex',
@@ -52,18 +52,18 @@ var radioStyle = _objectSpread(_objectSpread({}, animations), {}, {
52
52
  display: 'block',
53
53
  position: 'relative',
54
54
  boxSizing: 'border-box',
55
- width: token.radioIconWidth,
56
- minWidth: token.radioIconWidth,
57
- height: token.radioIconWidth,
55
+ width: token.radioLabelFontSize,
56
+ minWidth: token.radioLabelFontSize,
57
+ height: token.radioLabelFontSize,
58
58
  '$wrapperSmall &': {
59
- width: token.radioSmallIconWidth,
60
- minWidth: token.radioSmallIconWidth,
61
- height: token.radioSmallIconWidth
59
+ width: token.radioSmallLabelFontSize,
60
+ minWidth: token.radioSmallLabelFontSize,
61
+ height: token.radioSmallLabelFontSize
62
62
  },
63
63
  '$wrapperLarge &': {
64
- width: token.radioLargeIconWidth,
65
- minWidth: token.radioLargeIconWidth,
66
- height: token.radioLargeIconWidth
64
+ width: token.radioLargeLabelFontSize,
65
+ minWidth: token.radioLargeLabelFontSize,
66
+ height: token.radioLargeLabelFontSize
67
67
  },
68
68
  marginRight: token.radioIconGap,
69
69
  verticalAlign: 'middle',
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAwDlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAwlB1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAwDlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CA2lB1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -89,6 +89,9 @@ var selectStyle = _objectSpread(_objectSpread({
89
89
  '& $placeholder,$ellipsis,$space,input': {
90
90
  marginTop: 0,
91
91
  marginBottom: 0
92
+ },
93
+ '& $arrowIcon': {
94
+ width: token.inputSmallFontSize
92
95
  }
93
96
  },
94
97
  '&$wrapperLarge': {
@@ -97,7 +100,7 @@ var selectStyle = _objectSpread(_objectSpread({
97
100
  marginBottom: token.selectLargePlaceholderMarginY
98
101
  },
99
102
  '& $arrowIcon': {
100
- width: token.selectLargeFontSize
103
+ width: token.inputLargeFontSize
101
104
  }
102
105
  },
103
106
  '&:hover': _objectSpread(_objectSpread({}, wrapper['&:hover']), {}, {
@@ -124,7 +127,7 @@ var selectStyle = _objectSpread(_objectSpread({
124
127
  color: token.selectDisabledIconColor
125
128
  },
126
129
  '& $placeholder': {
127
- color: token.selectDisabledPlaceholderColor
130
+ color: token.inputDisabledPlaceholderColor
128
131
  }
129
132
  }),
130
133
  triggerHover: {
@@ -180,7 +183,7 @@ var selectStyle = _objectSpread(_objectSpread({
180
183
  whiteSpace: 'nowrap',
181
184
  textOverflow: 'ellipsis',
182
185
  '&::placeholder': {
183
- color: token.selectPlaceholderColor
186
+ color: token.inputPlaceholderColor
184
187
  }
185
188
  }
186
189
  },
@@ -230,7 +233,7 @@ var selectStyle = _objectSpread(_objectSpread({
230
233
  backgroundColor: 'transparent',
231
234
  width: '100%',
232
235
  '&::placeholder': {
233
- color: token.selectPlaceholderColor
236
+ color: token.inputPlaceholderColor
234
237
  }
235
238
  }
236
239
  },
@@ -263,7 +266,7 @@ var selectStyle = _objectSpread(_objectSpread({
263
266
  }
264
267
  },
265
268
  placeholder: {
266
- color: token.selectPlaceholderColor,
269
+ color: token.inputPlaceholderColor,
267
270
  lineHeight: token.lineHeightDynamic,
268
271
  marginTop: token.selectPlaceholderMarginY,
269
272
  marginBottom: token.selectPlaceholderMarginY
@@ -315,24 +318,24 @@ var selectStyle = _objectSpread(_objectSpread({
315
318
  clearable: {},
316
319
  clearIcon: {
317
320
  cursor: 'pointer',
318
- width: token.selectFontSize,
321
+ width: token.inputFontSize,
319
322
  lineHeight: 0,
320
- color: token.selectClearColor,
323
+ color: token.inputClearColor,
321
324
  verticalAlign: 'middle',
322
325
  '&:hover': {
323
326
  color: token.selectIconColor
324
327
  },
325
328
  '$wrapperSmall &': {
326
- width: token.selectSmallFontSize
329
+ width: token.inputSmallFontSize
327
330
  },
328
331
  '$wrapperLarge &': {
329
- width: token.selectLargeFontSize
332
+ width: token.inputLargeFontSize
330
333
  }
331
334
  },
332
335
  arrowIcon: {
333
336
  display: 'inline-block',
334
337
  verticalAlign: 'middle',
335
- width: token.selectFontSize,
338
+ width: token.inputFontSize,
336
339
  lineHeight: 0,
337
340
  color: token.selectIconColor,
338
341
  transition: 'transform 0.3s'
@@ -602,7 +605,7 @@ var selectStyle = _objectSpread(_objectSpread({
602
605
  },
603
606
  '&:not($optionDisabled):hover': {
604
607
  background: token.selectOptionHoverBackgroundColor,
605
- borderRadius: token.selectPanelRadius
608
+ borderRadius: token.selectOptionInnerBorderRadius
606
609
  }
607
610
  },
608
611
  columnsRadio: {
package/esm/tabs/tabs.js CHANGED
@@ -566,10 +566,10 @@ var tabsStyle = {
566
566
  background: Token.tabsActiveFontColor,
567
567
  transition: "left .2s ease-in-out, top .2s ease-in-out, width .2s ease-in-out, height .2s ease-in-out",
568
568
  '[data-soui-position^="top-"] &,[data-soui-position^="bottom-"] &': {
569
- height: Token.tabsLineCheckedHeight
569
+ height: Token.tabsLineCheckedInkHeight
570
570
  },
571
571
  '[data-soui-position^="left-"] &,[data-soui-position^="right-"] &': {
572
- width: Token.tabsLineCheckedHeight
572
+ width: Token.tabsLineCheckedInkHeight
573
573
  }
574
574
  },
575
575
  header: {
@@ -584,7 +584,7 @@ var tabsStyle = {
584
584
  '& $tab': {
585
585
  marginTop: Token.tabsBadgeMargin,
586
586
  position: 'relative',
587
- border: "1px solid ".concat(Token.tabsCardBorderColor),
587
+ border: "1px solid ".concat(Token.tabsBorderColor),
588
588
  padding: "".concat(Token.tabsCardPaddingY, " ").concat(Token.tabsCardPaddingX),
589
589
  color: Token.tabsCardFontColor,
590
590
  fontSize: Token.tabsCardFontSize,
@@ -672,7 +672,7 @@ var tabsStyle = {
672
672
  background: Token.tabsLineCheckedBackgroundColor,
673
673
  fontWeight: Token.tabsLineCheckedFontWeight,
674
674
  '&:after': {
675
- background: Token.tabsLineAfterBackgroundColor
675
+ background: Token.tabsLineCheckedInkColor
676
676
  }
677
677
  },
678
678
  '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):hover $lineInner': {