@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
@@ -64,7 +64,7 @@ var alertStyle = {
64
64
  withTitle: {
65
65
  '& $icon': {
66
66
  fontSize: _theme.default.alertTitleFontSize,
67
- width: "calc(".concat(_theme.default.alertTitleIconWidth, " + 2px)"),
67
+ width: "calc(".concat(_theme.default.alertTitleFontSize, " + 2px)"),
68
68
  height: _theme.default.lineHeightDynamic
69
69
  },
70
70
  '& $title': {
@@ -174,7 +174,7 @@ var alertStyle = {
174
174
  }
175
175
  },
176
176
  icon: {
177
- width: _theme.default.alertIconSize,
177
+ width: "calc(".concat(_theme.default.alertFontSize, " + 2px)"),
178
178
  display: 'inline-flex',
179
179
  fontSize: _theme.default.alertFontSize,
180
180
  height: _theme.default.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"}
@@ -107,6 +107,9 @@ var cascaderStyle = _objectSpread(_objectSpread({
107
107
  // padding: `${token.cascaderSmallOptionInnerPaddingY} ${token.cascaderSmallOptionInnerPaddingX}`,
108
108
  fontSize: _theme.default.cascaderSmallFontSize
109
109
  },
110
+ '& $arrowIcon': {
111
+ width: _theme.default.inputSmallFontSize
112
+ },
110
113
  '& $clearIcon': {
111
114
  right: _theme.default.cascaderSmallPaddingX
112
115
  }
@@ -117,7 +120,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
117
120
  marginBottom: _theme.default.cascaderLargePlaceholderMarginY
118
121
  },
119
122
  '& $arrowIcon': {
120
- width: _theme.default.cascaderLargeFontSize
123
+ width: _theme.default.inputLargeFontSize
121
124
  },
122
125
  '& $optionInner': {
123
126
  // padding: `${token.cascaderLargeOptionInnerPaddingY} ${token.cascaderLargeOptionInnerPaddingX}`,
@@ -221,7 +224,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
221
224
  whiteSpace: 'nowrap',
222
225
  textOverflow: 'ellipsis',
223
226
  '&::placeholder': {
224
- color: _theme.default.cascaderPlaceholderColor
227
+ color: _theme.default.inputPlaceholderColor
225
228
  }
226
229
  }
227
230
  },
@@ -271,7 +274,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
271
274
  backgroundColor: 'transparent',
272
275
  width: '100%',
273
276
  '&::placeholder': {
274
- color: _theme.default.cascaderPlaceholderColor
277
+ color: _theme.default.inputPlaceholderColor
275
278
  }
276
279
  }
277
280
  },
@@ -304,7 +307,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
304
307
  }
305
308
  },
306
309
  placeholder: {
307
- color: _theme.default.cascaderPlaceholderColor,
310
+ color: _theme.default.inputPlaceholderColor,
308
311
  lineHeight: _theme.default.lineHeightDynamic,
309
312
  marginTop: _theme.default.cascaderPlaceholderMarginY,
310
313
  marginBottom: _theme.default.cascaderPlaceholderMarginY
@@ -329,25 +332,25 @@ var cascaderStyle = _objectSpread(_objectSpread({
329
332
  clearable: {},
330
333
  clearIcon: {
331
334
  cursor: 'pointer',
332
- width: _theme.default.cascaderFontSize,
335
+ width: _theme.default.inputFontSize,
333
336
  lineHeight: 0,
334
- color: _theme.default.cascaderClearColor,
337
+ color: _theme.default.inputClearColor,
335
338
  verticalAlign: 'middle',
336
339
  '&:hover': {
337
- color: _theme.default.cascaderClearHoverColor
340
+ color: _theme.default.inputHoverClearColor
338
341
  },
339
342
  '$wrapperSmall &': {
340
- width: _theme.default.cascaderSmallFontSize
343
+ width: _theme.default.inputSmallFontSize
341
344
  },
342
345
  '$wrapperLarge &': {
343
- width: _theme.default.cascaderLargeFontSize
346
+ width: _theme.default.inputLargeFontSize
344
347
  }
345
348
  },
346
349
  compressedIcon: {},
347
350
  arrowIcon: {
348
351
  display: 'inline-block',
349
352
  verticalAlign: 'middle',
350
- width: _theme.default.cascaderFontSize,
353
+ width: _theme.default.inputFontSize,
351
354
  lineHeight: 0,
352
355
  color: _theme.default.cascaderIconColor,
353
356
  transition: 'transform 0.3s'
@@ -383,13 +386,13 @@ var cascaderStyle = _objectSpread(_objectSpread({
383
386
  },
384
387
  loading: {
385
388
  padding: 10,
386
- color: _theme.default.cascaderPlaceholderColor,
389
+ color: _theme.default.inputPlaceholderColor,
387
390
  display: 'flex',
388
391
  justifyContent: 'center'
389
392
  },
390
393
  empty: {
391
394
  padding: "calc(".concat(_theme.default.cascaderOptionPaddingY, " + ").concat(_theme.default.cascaderOptionInnerPaddingY, ") calc(").concat(_theme.default.cascaderOptionPaddingX, " + ").concat(_theme.default.cascaderOptionInnerPaddingX, ")"),
392
- color: _theme.default.cascaderPlaceholderColor
395
+ color: _theme.default.inputPlaceholderColor
393
396
  },
394
397
  checkedIcon: {
395
398
  right: 8,
@@ -551,12 +554,12 @@ var cascaderStyle = _objectSpread(_objectSpread({
551
554
  justifyContent: 'center',
552
555
  '& svg': {
553
556
  verticalAlign: 'middle',
554
- width: _theme.default.cascaderOptionIconSize,
557
+ width: _theme.default.cascaderFontSize,
555
558
  '$wrapperLarge &': {
556
- width: _theme.default.cascaderLargeOptionIconSize
559
+ width: _theme.default.cascaderLargeFontSize
557
560
  },
558
561
  '$wrapperSmall &': {
559
- width: _theme.default.cascaderSmallOptionIconSize
562
+ width: _theme.default.cascaderSmallFontSize
560
563
  }
561
564
  }
562
565
  },
@@ -45,17 +45,17 @@ var checkboxStyle = _objectSpread(_objectSpread({}, _common.animations), {}, {
45
45
  display: 'block',
46
46
  position: 'relative',
47
47
  boxSizing: 'border-box',
48
- width: _theme.default.checkboxIconSize,
49
- height: _theme.default.checkboxIconSize,
48
+ width: _theme.default.checkboxLabelFontSize,
49
+ height: _theme.default.checkboxLabelFontSize,
50
50
  // marginTop: token.checkboxIndicatorMarginTop,
51
51
  flexShrink: 0,
52
52
  '$wrapperSmall &': {
53
- width: _theme.default.checkboxSmallIconSize,
54
- height: _theme.default.checkboxSmallIconSize
53
+ width: _theme.default.checkboxSmallLabelFontSize,
54
+ height: _theme.default.checkboxSmallLabelFontSize
55
55
  },
56
56
  '$wrapperLarge &': {
57
- width: _theme.default.checkboxLargeIconSize,
58
- height: _theme.default.checkboxLargeIconSize
57
+ width: _theme.default.checkboxLargeLabelFontSize,
58
+ height: _theme.default.checkboxLargeLabelFontSize
59
59
  },
60
60
  verticalAlign: 'middle',
61
61
  '&::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"}
@@ -205,15 +205,15 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
205
205
  alignItems: 'center',
206
206
  color: _theme.default.datePickerIconColor,
207
207
  '& svg': {
208
- width: _theme.default.datePickerIconSize,
209
- height: _theme.default.datePickerIconSize,
208
+ width: _theme.default.inputFontSize,
209
+ height: _theme.default.inputFontSize,
210
210
  '$wrapperSmall &': {
211
- width: _theme.default.datePickerSmallIconSize,
212
- height: _theme.default.datePickerSmallIconSize
211
+ width: _theme.default.inputSmallFontSize,
212
+ height: _theme.default.inputSmallFontSize
213
213
  },
214
214
  '$wrapperLarge &': {
215
- width: _theme.default.datePickerLargeIconSize,
216
- height: _theme.default.datePickerLargeIconSize
215
+ width: _theme.default.inputLargeFontSize,
216
+ height: _theme.default.inputLargeFontSize
217
217
  }
218
218
  },
219
219
  // todo 暂时写死
@@ -333,7 +333,8 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
333
333
  alignItems: 'center',
334
334
  '& > span': {
335
335
  padding: "0 ".concat(_theme.default.datePickerPanelHeaderTitlePaddingX),
336
- fontSize: _theme.default.datePickerPanelHeaderFontSize
336
+ fontSize: _theme.default.datePickerPanelHeaderFontSize,
337
+ color: _theme.default.datePickerPanelHeaderFontColor
337
338
  }
338
339
  },
339
340
  pickerHeaderInfo: {
@@ -684,8 +685,8 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
684
685
  lineHeight: '0',
685
686
  marginRight: '8px',
686
687
  '& > svg': {
687
- width: _theme.default.datePickerIconSize,
688
- height: _theme.default.datePickerIconSize,
688
+ width: _theme.default.datePickerFontSize,
689
+ height: _theme.default.datePickerFontSize,
689
690
  color: _theme.default.datePickerIconColor
690
691
  }
691
692
  },
@@ -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"}
@@ -84,7 +84,7 @@ var dropdown = {
84
84
  }
85
85
  },
86
86
  boxList: {
87
- padding: "".concat(_theme.default.dropdownColumnPaddingY, " ").concat(_theme.default.dropdownColumnPaddingX),
87
+ padding: "".concat(_theme.default.dropdownListPaddingY, " ").concat(_theme.default.dropdownListPaddingX),
88
88
  '& $item': {
89
89
  textAlign: 'center'
90
90
  }
@@ -192,7 +192,15 @@ var dropdown = {
192
192
  }
193
193
  },
194
194
  optionDivider: {
195
- padding: "".concat(_theme.default.dropdownOptionDividerPaddingY, " ").concat(_theme.default.dropdownOptionDividerPaddingX),
195
+ padding: "".concat(_theme.default.dropdownOptionDividerPaddingY, " ").concat(_theme.default.dropdownOptionPaddingX),
196
+ '$listSmall &': {
197
+ paddingLeft: _theme.default.dropdownOptionSmallPaddingX,
198
+ paddingRight: _theme.default.dropdownOptionSmallPaddingX
199
+ },
200
+ '$listLarge &': {
201
+ paddingLeft: _theme.default.dropdownOptionLargePaddingX,
202
+ paddingRight: _theme.default.dropdownOptionLargePaddingX
203
+ },
196
204
  '&::before': {
197
205
  content: '" "',
198
206
  height: _theme.default.dropdownOptionDividerHeight,
@@ -81,8 +81,8 @@ var editableAreaStyle = _objectSpread(_objectSpread({
81
81
  clear: {
82
82
  position: 'absolute',
83
83
  display: 'flex',
84
- width: _theme.default.inputIconSize,
85
- height: _theme.default.inputIconSize,
84
+ width: _theme.default.inputFontSize,
85
+ height: _theme.default.inputFontSize,
86
86
  top: 0,
87
87
  bottom: 0,
88
88
  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"}
@@ -170,9 +170,8 @@ var formItemStyle = _objectSpread(_objectSpread({
170
170
  minHeight: _theme.default.formItemTipMinHeight,
171
171
  fontSize: _theme.default.formItemDangerFontSize,
172
172
  fontWeight: _theme.default.formItemDangerFontWeight,
173
- animation: '$appear 1s ease-in-out forwards'
174
- // flexBasis: '100%',
175
- // width: 0,
173
+ animation: '$appear 1s ease-in-out forwards',
174
+ marginTop: _theme.default.formItemTipMarginTop
176
175
  },
177
176
  tip: {
178
177
  color: _theme.default.formItemTipFontColor,
@@ -179,7 +179,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
179
179
  },
180
180
  clearWrapper: {
181
181
  position: 'relative',
182
- flexBasis: "calc(".concat(_theme.default.inputIconSize, " + 8px)"),
182
+ flexBasis: "calc(".concat(_theme.default.inputFontSize, " + 8px)"),
183
183
  flexShrink: 0,
184
184
  display: 'none',
185
185
  '$wrapper:hover &, $wrapperFocus &': {
@@ -188,7 +188,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
188
188
  },
189
189
  password: {
190
190
  '& $clearWrapper': {
191
- flexBasis: "calc(".concat(_theme.default.inputIconSize, " + 12px)")
191
+ flexBasis: "calc(".concat(_theme.default.inputFontSize, " + 12px)")
192
192
  },
193
193
  '& $clear': {
194
194
  marginRight: 8,
@@ -203,8 +203,8 @@ var input = _objectSpread(_objectSpread(_objectSpread({
203
203
  top: '0',
204
204
  bottom: '0',
205
205
  margin: 'auto',
206
- width: _theme.default.inputIconSize,
207
- height: _theme.default.inputIconSize,
206
+ width: _theme.default.inputFontSize,
207
+ height: _theme.default.inputFontSize,
208
208
  boxSizing: 'border-box',
209
209
  display: 'flex',
210
210
  cursor: 'pointer',
@@ -219,12 +219,12 @@ var input = _objectSpread(_objectSpread(_objectSpread({
219
219
  left: '0'
220
220
  },
221
221
  '$wrapperSmall &': {
222
- width: _theme.default.inputSmallIconSize,
223
- height: _theme.default.inputSmallIconSize
222
+ width: _theme.default.inputSmallFontSize,
223
+ height: _theme.default.inputSmallFontSize
224
224
  },
225
225
  '$wrapperLarge &': {
226
- width: _theme.default.inputLargeIconSize,
227
- height: _theme.default.inputLargeIconSize
226
+ width: _theme.default.inputLargeFontSize,
227
+ height: _theme.default.inputLargeFontSize
228
228
  }
229
229
  },
230
230
  group: _objectSpread(_objectSpread({}, group), {}, {
@@ -274,7 +274,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
274
274
  borderBottom: "1px solid ".concat(_theme.default.inputBorderColor)
275
275
  },
276
276
  '& svg': {
277
- width: _theme.default.inputIconSize,
277
+ width: _theme.default.inputFontSize,
278
278
  transform: 'rotate(-90deg)'
279
279
  }
280
280
  },
@@ -290,20 +290,20 @@ var input = _objectSpread(_objectSpread(_objectSpread({
290
290
  display: 'flex',
291
291
  alignItems: 'center',
292
292
  flexShrink: 0,
293
- width: _theme.default.inputIconSize,
294
- height: _theme.default.inputIconSize,
293
+ width: _theme.default.inputFontSize,
294
+ height: _theme.default.inputFontSize,
295
295
  color: _theme.default.inputToggleColor,
296
296
  cursor: 'pointer',
297
297
  '$wrapperDisabled &': {
298
298
  color: _theme.default.inputDisabledFontColor
299
299
  },
300
300
  '$wrapperSmall &': {
301
- width: _theme.default.inputSmallIconSize,
302
- height: _theme.default.inputSmallIconSize
301
+ width: _theme.default.inputSmallFontSize,
302
+ height: _theme.default.inputSmallFontSize
303
303
  },
304
304
  '$wrapperLarge &': {
305
- width: _theme.default.inputLargeIconSize,
306
- height: _theme.default.inputLargeIconSize
305
+ width: _theme.default.inputLargeFontSize,
306
+ height: _theme.default.inputLargeFontSize
307
307
  },
308
308
  '& > svg': {
309
309
  cursor: 'pointer',
package/cjs/menu/menu.js CHANGED
@@ -413,13 +413,13 @@ var menuStyle = {
413
413
  minWidth: 0,
414
414
  padding: "".concat(_theme.default.menuTitlePaddingY, " ").concat(_theme.default.menuTitlePaddingX),
415
415
  '$wrapperInline $childrenHasExpand $item:not($itemHasChildren) $itemContentBack > &': {
416
- paddingRight: "calc(".concat(_theme.default.menuIconMarginX, " + ").concat(_theme.default.menuTitlePaddingX, " + ").concat(_theme.default.menuExpandSize, ")")
416
+ paddingRight: "calc(".concat(_theme.default.menuIconMarginX, " + ").concat(_theme.default.menuTitlePaddingX, " + ").concat(_theme.default.menuFontSize, ")")
417
417
  },
418
418
  '$wrapperInline $itemHasChildren > $itemContentBack > &': {
419
419
  paddingRight: 0
420
420
  },
421
421
  '$childrenHasExpand > $item:not($itemHasChildren) > $itemContentBack > &': {
422
- paddingRight: "calc(".concat(_theme.default.menuIconMarginX, " + ").concat(_theme.default.menuTitlePaddingX, " + ").concat(_theme.default.menuExpandSize, ")")
422
+ paddingRight: "calc(".concat(_theme.default.menuIconMarginX, " + ").concat(_theme.default.menuTitlePaddingX, " + ").concat(_theme.default.menuFontSize, ")")
423
423
  },
424
424
  '$wrapperHorizontal $childrenHasExpand > $item:not($itemHasChildren) > $itemContentBack > &': {
425
425
  paddingRight: _theme.default.menuTitlePaddingX
@@ -461,8 +461,8 @@ var menuStyle = {
461
461
  },
462
462
  '& > $icon': {
463
463
  lineHeight: 1,
464
- width: _theme.default.menuExpandSize,
465
- height: _theme.default.menuExpandSize,
464
+ width: _theme.default.menuFontSize,
465
+ height: _theme.default.menuFontSize,
466
466
  alignSelf: 'flex-start',
467
467
  alignItems: 'center',
468
468
  display: 'flex',
@@ -59,18 +59,18 @@ var radioStyle = _objectSpread(_objectSpread({}, _common.animations), {}, {
59
59
  display: 'block',
60
60
  position: 'relative',
61
61
  boxSizing: 'border-box',
62
- width: _theme.default.radioIconWidth,
63
- minWidth: _theme.default.radioIconWidth,
64
- height: _theme.default.radioIconWidth,
62
+ width: _theme.default.radioLabelFontSize,
63
+ minWidth: _theme.default.radioLabelFontSize,
64
+ height: _theme.default.radioLabelFontSize,
65
65
  '$wrapperSmall &': {
66
- width: _theme.default.radioSmallIconWidth,
67
- minWidth: _theme.default.radioSmallIconWidth,
68
- height: _theme.default.radioSmallIconWidth
66
+ width: _theme.default.radioSmallLabelFontSize,
67
+ minWidth: _theme.default.radioSmallLabelFontSize,
68
+ height: _theme.default.radioSmallLabelFontSize
69
69
  },
70
70
  '$wrapperLarge &': {
71
- width: _theme.default.radioLargeIconWidth,
72
- minWidth: _theme.default.radioLargeIconWidth,
73
- height: _theme.default.radioLargeIconWidth
71
+ width: _theme.default.radioLargeLabelFontSize,
72
+ minWidth: _theme.default.radioLargeLabelFontSize,
73
+ height: _theme.default.radioLargeLabelFontSize
74
74
  },
75
75
  marginRight: _theme.default.radioIconGap,
76
76
  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"}
@@ -98,6 +98,9 @@ var selectStyle = _objectSpread(_objectSpread({
98
98
  '& $placeholder,$ellipsis,$space,input': {
99
99
  marginTop: 0,
100
100
  marginBottom: 0
101
+ },
102
+ '& $arrowIcon': {
103
+ width: _theme.default.inputSmallFontSize
101
104
  }
102
105
  },
103
106
  '&$wrapperLarge': {
@@ -106,7 +109,7 @@ var selectStyle = _objectSpread(_objectSpread({
106
109
  marginBottom: _theme.default.selectLargePlaceholderMarginY
107
110
  },
108
111
  '& $arrowIcon': {
109
- width: _theme.default.selectLargeFontSize
112
+ width: _theme.default.inputLargeFontSize
110
113
  }
111
114
  },
112
115
  '&:hover': _objectSpread(_objectSpread({}, wrapper['&:hover']), {}, {
@@ -133,7 +136,7 @@ var selectStyle = _objectSpread(_objectSpread({
133
136
  color: _theme.default.selectDisabledIconColor
134
137
  },
135
138
  '& $placeholder': {
136
- color: _theme.default.selectDisabledPlaceholderColor
139
+ color: _theme.default.inputDisabledPlaceholderColor
137
140
  }
138
141
  }),
139
142
  triggerHover: {
@@ -189,7 +192,7 @@ var selectStyle = _objectSpread(_objectSpread({
189
192
  whiteSpace: 'nowrap',
190
193
  textOverflow: 'ellipsis',
191
194
  '&::placeholder': {
192
- color: _theme.default.selectPlaceholderColor
195
+ color: _theme.default.inputPlaceholderColor
193
196
  }
194
197
  }
195
198
  },
@@ -239,7 +242,7 @@ var selectStyle = _objectSpread(_objectSpread({
239
242
  backgroundColor: 'transparent',
240
243
  width: '100%',
241
244
  '&::placeholder': {
242
- color: _theme.default.selectPlaceholderColor
245
+ color: _theme.default.inputPlaceholderColor
243
246
  }
244
247
  }
245
248
  },
@@ -272,7 +275,7 @@ var selectStyle = _objectSpread(_objectSpread({
272
275
  }
273
276
  },
274
277
  placeholder: {
275
- color: _theme.default.selectPlaceholderColor,
278
+ color: _theme.default.inputPlaceholderColor,
276
279
  lineHeight: _theme.default.lineHeightDynamic,
277
280
  marginTop: _theme.default.selectPlaceholderMarginY,
278
281
  marginBottom: _theme.default.selectPlaceholderMarginY
@@ -324,24 +327,24 @@ var selectStyle = _objectSpread(_objectSpread({
324
327
  clearable: {},
325
328
  clearIcon: {
326
329
  cursor: 'pointer',
327
- width: _theme.default.selectFontSize,
330
+ width: _theme.default.inputFontSize,
328
331
  lineHeight: 0,
329
- color: _theme.default.selectClearColor,
332
+ color: _theme.default.inputClearColor,
330
333
  verticalAlign: 'middle',
331
334
  '&:hover': {
332
335
  color: _theme.default.selectIconColor
333
336
  },
334
337
  '$wrapperSmall &': {
335
- width: _theme.default.selectSmallFontSize
338
+ width: _theme.default.inputSmallFontSize
336
339
  },
337
340
  '$wrapperLarge &': {
338
- width: _theme.default.selectLargeFontSize
341
+ width: _theme.default.inputLargeFontSize
339
342
  }
340
343
  },
341
344
  arrowIcon: {
342
345
  display: 'inline-block',
343
346
  verticalAlign: 'middle',
344
- width: _theme.default.selectFontSize,
347
+ width: _theme.default.inputFontSize,
345
348
  lineHeight: 0,
346
349
  color: _theme.default.selectIconColor,
347
350
  transition: 'transform 0.3s'
@@ -611,7 +614,7 @@ var selectStyle = _objectSpread(_objectSpread({
611
614
  },
612
615
  '&:not($optionDisabled):hover': {
613
616
  background: _theme.default.selectOptionHoverBackgroundColor,
614
- borderRadius: _theme.default.selectPanelRadius
617
+ borderRadius: _theme.default.selectOptionInnerBorderRadius
615
618
  }
616
619
  },
617
620
  columnsRadio: {
package/cjs/tabs/tabs.js CHANGED
@@ -573,10 +573,10 @@ var tabsStyle = {
573
573
  background: _theme.default.tabsActiveFontColor,
574
574
  transition: "left .2s ease-in-out, top .2s ease-in-out, width .2s ease-in-out, height .2s ease-in-out",
575
575
  '[data-soui-position^="top-"] &,[data-soui-position^="bottom-"] &': {
576
- height: _theme.default.tabsLineCheckedHeight
576
+ height: _theme.default.tabsLineCheckedInkHeight
577
577
  },
578
578
  '[data-soui-position^="left-"] &,[data-soui-position^="right-"] &': {
579
- width: _theme.default.tabsLineCheckedHeight
579
+ width: _theme.default.tabsLineCheckedInkHeight
580
580
  }
581
581
  },
582
582
  header: {
@@ -591,7 +591,7 @@ var tabsStyle = {
591
591
  '& $tab': {
592
592
  marginTop: _theme.default.tabsBadgeMargin,
593
593
  position: 'relative',
594
- border: "1px solid ".concat(_theme.default.tabsCardBorderColor),
594
+ border: "1px solid ".concat(_theme.default.tabsBorderColor),
595
595
  padding: "".concat(_theme.default.tabsCardPaddingY, " ").concat(_theme.default.tabsCardPaddingX),
596
596
  color: _theme.default.tabsCardFontColor,
597
597
  fontSize: _theme.default.tabsCardFontSize,
@@ -679,7 +679,7 @@ var tabsStyle = {
679
679
  background: _theme.default.tabsLineCheckedBackgroundColor,
680
680
  fontWeight: _theme.default.tabsLineCheckedFontWeight,
681
681
  '&:after': {
682
- background: _theme.default.tabsLineAfterBackgroundColor
682
+ background: _theme.default.tabsLineCheckedInkColor
683
683
  }
684
684
  },
685
685
  '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):hover $lineInner': {
@@ -163,15 +163,15 @@ var input = _objectSpread(_objectSpread(_objectSpread({
163
163
  },
164
164
  '& > svg': {
165
165
  display: 'block',
166
- width: _theme.default.textareaClearSize,
167
- height: _theme.default.textareaClearSize,
166
+ width: _theme.default.textareaFontSize,
167
+ height: _theme.default.textareaFontSize,
168
168
  '$wrapperSmall &': {
169
- width: _theme.default.textareaSmallClearSize,
170
- height: _theme.default.textareaSmallClearSize
169
+ width: _theme.default.textareaSmallFontSize,
170
+ height: _theme.default.textareaSmallFontSize
171
171
  },
172
172
  '$wrapperLarge &': {
173
- width: _theme.default.textareaLargeClearSize,
174
- height: _theme.default.textareaLargeClearSize
173
+ width: _theme.default.textareaLargeFontSize,
174
+ height: _theme.default.textareaLargeFontSize
175
175
  }
176
176
  },
177
177
  '[dir="rtl"] &': {
@@ -181,13 +181,13 @@ var input = _objectSpread(_objectSpread(_objectSpread({
181
181
  },
182
182
  wrapperWithClear: {
183
183
  '&& $textarea': {
184
- paddingRight: "calc(".concat(_theme.default.textareaPaddingX, " + ").concat(_theme.default.textareaClearSize, " + 12px)")
184
+ paddingRight: "calc(".concat(_theme.default.textareaPaddingX, " + ").concat(_theme.default.textareaFontSize, " + 12px)")
185
185
  },
186
186
  '&&$wrapperSmall > $textarea': {
187
- paddingRight: "calc(".concat(_theme.default.textareaSmallPaddingX, " + ").concat(_theme.default.textareaSmallClearSize, " + 12px)")
187
+ paddingRight: "calc(".concat(_theme.default.textareaSmallPaddingX, " + ").concat(_theme.default.textareaSmallFontSize, " + 12px)")
188
188
  },
189
189
  '&&$wrapperLarge > $textarea': {
190
- paddingRight: "calc(".concat(_theme.default.textareaLargePaddingX, " + ").concat(_theme.default.textareaLargeClearSize, " + 12px)")
190
+ paddingRight: "calc(".concat(_theme.default.textareaLargePaddingX, " + ").concat(_theme.default.textareaLargeFontSize, " + 12px)")
191
191
  }
192
192
  },
193
193
  wrapperShowClear: {
package/cjs/tree/tree.js CHANGED
@@ -392,9 +392,9 @@ var treeStyle = {
392
392
  background: _theme.default.treeItemActiveBackgroundColor
393
393
  },
394
394
  '& svg': {
395
- width: _theme.default.treeIconSize,
395
+ width: _theme.default.treeFontSize,
396
396
  '$sizeLarge &': {
397
- width: "calc(".concat(_theme.default.treeIconSize, " + 2px)")
397
+ width: "calc(".concat(_theme.default.treeFontSize, " + 2px)")
398
398
  }
399
399
  }
400
400
  },
@@ -1 +1 @@
1
- {"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["tree-select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAwD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAogBlD,CAAC;AACF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["tree-select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAwD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAugBlD,CAAC;AACF,eAAe,eAAe,CAAC"}