@sheinx/shineout-style 3.2.0 → 3.3.0-beta.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 (63) hide show
  1. package/cjs/alert/alert.js +4 -4
  2. package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
  3. package/cjs/breadcrumb/breadcrumb.js +8 -1
  4. package/cjs/button/button.d.ts.map +1 -1
  5. package/cjs/button/button.js +14 -4
  6. package/cjs/card/card.d.ts.map +1 -1
  7. package/cjs/card/card.js +8 -4
  8. package/cjs/date-picker/date-picker.d.ts.map +1 -1
  9. package/cjs/date-picker/date-picker.js +4 -1
  10. package/cjs/divider/divider.d.ts.map +1 -1
  11. package/cjs/divider/divider.js +1 -0
  12. package/cjs/empty/empty.d.ts.map +1 -1
  13. package/cjs/empty/empty.js +1 -0
  14. package/cjs/form/form-item.d.ts.map +1 -1
  15. package/cjs/form/form-item.js +8 -3
  16. package/cjs/image/image.js +5 -5
  17. package/cjs/progress/progress.d.ts.map +1 -1
  18. package/cjs/progress/progress.js +43 -6
  19. package/cjs/rate/rate.d.ts.map +1 -1
  20. package/cjs/rate/rate.js +2 -1
  21. package/cjs/select/select.d.ts.map +1 -1
  22. package/cjs/select/select.js +1 -0
  23. package/cjs/tabs/tabs.d.ts.map +1 -1
  24. package/cjs/tabs/tabs.js +92 -45
  25. package/cjs/tag/tag.d.ts.map +1 -1
  26. package/cjs/tag/tag.js +8 -2
  27. package/cjs/transfer/transfer.d.ts.map +1 -1
  28. package/cjs/transfer/transfer.js +12 -5
  29. package/cjs/version.d.ts +1 -1
  30. package/cjs/version.d.ts.map +1 -1
  31. package/cjs/version.js +1 -1
  32. package/esm/alert/alert.js +4 -4
  33. package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
  34. package/esm/breadcrumb/breadcrumb.js +8 -1
  35. package/esm/button/button.d.ts.map +1 -1
  36. package/esm/button/button.js +14 -4
  37. package/esm/card/card.d.ts.map +1 -1
  38. package/esm/card/card.js +8 -4
  39. package/esm/date-picker/date-picker.d.ts.map +1 -1
  40. package/esm/date-picker/date-picker.js +4 -1
  41. package/esm/divider/divider.d.ts.map +1 -1
  42. package/esm/divider/divider.js +1 -0
  43. package/esm/empty/empty.d.ts.map +1 -1
  44. package/esm/empty/empty.js +1 -0
  45. package/esm/form/form-item.d.ts.map +1 -1
  46. package/esm/form/form-item.js +8 -3
  47. package/esm/image/image.js +5 -5
  48. package/esm/progress/progress.d.ts.map +1 -1
  49. package/esm/progress/progress.js +43 -6
  50. package/esm/rate/rate.d.ts.map +1 -1
  51. package/esm/rate/rate.js +2 -1
  52. package/esm/select/select.d.ts.map +1 -1
  53. package/esm/select/select.js +1 -0
  54. package/esm/tabs/tabs.d.ts.map +1 -1
  55. package/esm/tabs/tabs.js +92 -45
  56. package/esm/tag/tag.d.ts.map +1 -1
  57. package/esm/tag/tag.js +8 -2
  58. package/esm/transfer/transfer.d.ts.map +1 -1
  59. package/esm/transfer/transfer.js +12 -5
  60. package/esm/version.d.ts +1 -1
  61. package/esm/version.d.ts.map +1 -1
  62. package/esm/version.js +1 -1
  63. package/package.json +3 -3
@@ -63,11 +63,11 @@ var alertStyle = {
63
63
  widthTitle: {
64
64
  '& $icon': {
65
65
  // marginBottom: Token.alertNearlyMargin,
66
- width: 20,
67
- height: 24
66
+ width: _theme.default.alertTitleIconWidth,
67
+ height: _theme.default.alertTitleIconHeight
68
68
  },
69
69
  '& $title': {
70
- lineHeight: '24px'
70
+ lineHeight: _theme.default.lineHeightDynamic
71
71
  },
72
72
  '& $close': {
73
73
  marginBottom: _theme.default.alertNearlyMargin,
@@ -160,7 +160,7 @@ var alertStyle = {
160
160
  borderColor: 'transparent'
161
161
  },
162
162
  icon: {
163
- width: 16,
163
+ width: _theme.default.alertIconSize,
164
164
  display: 'inline-flex',
165
165
  fontSize: _theme.default.alertFontSize,
166
166
  height: _theme.default.lineHeightDynamic,
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["breadcrumb.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAE1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CA4FlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["breadcrumb.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAE1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAmGlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -10,6 +10,7 @@ var breadcrumbStyle = {
10
10
  wrapper: {
11
11
  lineHeight: _theme.default.lineHeightDynamic,
12
12
  fontSize: _theme.default.breadcrumbFontSize,
13
+ fontWeight: _theme.default.breadcrumbFontWieght,
13
14
  display: 'flex',
14
15
  alignItems: 'center',
15
16
  color: _theme.default.breadcrumbFontColor,
@@ -38,7 +39,13 @@ var breadcrumbStyle = {
38
39
  },
39
40
  item: {
40
41
  display: 'flex',
41
- alignItems: 'center'
42
+ alignItems: 'center',
43
+ '& a:not(a[class])': {
44
+ color: _theme.default.breadcrumbDefaultLinkColor,
45
+ '&:hover': {
46
+ color: _theme.default.breadcrumbDefaultLinkHoverColor
47
+ }
48
+ }
42
49
  // '&:not(a) svg': {
43
50
  // color: token.breadcrumbIconBackgroundColor,
44
51
  // },
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAmL7C,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,aAAa,CAuW9C,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAmL7C,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,aAAa,CAgX9C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -207,7 +207,8 @@ var ButtonStyle = {
207
207
  padding: "".concat(_theme.default.buttonPaddingY, " ").concat(_theme.default.buttonPaddingX),
208
208
  transition: 'all .1s linear',
209
209
  fontFamily: 'inherit',
210
- height: _theme.default.buttonHeight,
210
+ // height: Token.buttonHeight,
211
+
211
212
  '& + &': {
212
213
  marginLeft: _theme.default.buttonNearlyMargin
213
214
  },
@@ -219,7 +220,7 @@ var ButtonStyle = {
219
220
  }
220
221
  },
221
222
  small: {
222
- height: _theme.default.buttonSmallHeight,
223
+ // height: Token.buttonSmallHeight,
223
224
  fontWeight: _theme.default.buttonSmallFontWeight,
224
225
  fontSize: _theme.default.buttonSmallFontSize,
225
226
  padding: "".concat(_theme.default.buttonSmallPaddingY, " ").concat(_theme.default.buttonSmallPaddingX),
@@ -229,7 +230,7 @@ var ButtonStyle = {
229
230
  }
230
231
  },
231
232
  large: {
232
- height: _theme.default.buttonLargeHeight,
233
+ // height: Token.buttonLargeHeight,
233
234
  fontWeight: _theme.default.buttonLargeFontWeight,
234
235
  fontSize: _theme.default.buttonLargeFontSize,
235
236
  padding: "".concat(_theme.default.buttonLargePaddingY, " ").concat(_theme.default.buttonLargePaddingX),
@@ -332,7 +333,16 @@ var ButtonStyle = {
332
333
  groupItem: {},
333
334
  group: {
334
335
  // 2.x 之前非 inline-block
335
- display: 'inline-block',
336
+ display: 'inline-flex',
337
+ // 处理 dropdown 下的 button
338
+ '& [data-role="dropdown"]': {
339
+ '& $button': {
340
+ height: '100%'
341
+ },
342
+ '& [data-role="caret"]': {
343
+ margin: 0
344
+ }
345
+ },
336
346
  '& > :first-child$button,& > :first-child $button': {
337
347
  '&::before': {
338
348
  display: 'none'
@@ -1 +1 @@
1
- {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["card.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAS9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CA6ItC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["card.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAU9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAgJtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
package/cjs/card/card.js CHANGED
@@ -15,7 +15,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  var headerCommon = {
16
16
  fontSize: _theme.default.cardTitleFontSize,
17
17
  lineHeight: _theme.default.lineHeightDynamic,
18
- fontWeight: 'bold',
18
+ color: _theme.default.cardTitleFontColor,
19
+ fontWeight: _theme.default.cardTitleFontWeight,
19
20
  minWidth: 0
20
21
  };
21
22
  var cardStyle = {
@@ -59,7 +60,7 @@ var cardStyle = {
59
60
  borderRadius: _theme.default.cardBorderRadius
60
61
  },
61
62
  header: {
62
- padding: "".concat(_theme.default.cardPaddingY, " ").concat(_theme.default.cardPaddingX),
63
+ padding: "".concat(_theme.default.cardHeaderPaddingY, " ").concat(_theme.default.cardHeaderPaddingX),
63
64
  '$wrapperMoveable &': {
64
65
  cursor: 'move'
65
66
  },
@@ -110,10 +111,13 @@ var cardStyle = {
110
111
  '$wrapperSplit>$header+&, $wrapperSplit>$header+$bodyCollapse>&': {
111
112
  borderTop: "1px solid ".concat(_theme.default.cardBorderColor)
112
113
  },
113
- padding: "".concat(_theme.default.cardPaddingY, " ").concat(_theme.default.cardPaddingX),
114
+ padding: "".concat(_theme.default.cardBodyPaddingY, " ").concat(_theme.default.cardBodyPaddingX),
114
115
  flex: 1,
115
116
  minHeight: 0,
116
117
  minWidth: 0,
118
+ color: _theme.default.cardBodyFontColor,
119
+ fontWeight: _theme.default.cardBodyFontWeight,
120
+ fontSize: _theme.default.cardBodyFontSize,
117
121
  boxSizing: 'border-box'
118
122
  },
119
123
  bodyCollapse: {},
@@ -121,7 +125,7 @@ var cardStyle = {
121
125
  '$wrapperSplit>$body+&, $wrapperSplit>$bodyCollapse+&': {
122
126
  borderTop: "1px solid ".concat(_theme.default.cardBorderColor)
123
127
  },
124
- padding: "".concat(_theme.default.cardPaddingY, " ").concat(_theme.default.cardPaddingX),
128
+ padding: "".concat(_theme.default.cardFooterPaddingY, " ").concat(_theme.default.cardFooterPaddingX),
125
129
  boxSizing: 'border-box'
126
130
  },
127
131
  resizeX: {
@@ -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;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAymBlD,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;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CA4mBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -295,6 +295,7 @@ var datePickerStyle = _objectSpread(_objectSpread({
295
295
  cursor: 'pointer',
296
296
  width: _theme.default.datePickerPanelHeaderIconHotWidth,
297
297
  height: _theme.default.datePickerPanelHeaderIconHotWidth,
298
+ color: _theme.default.datePickerPanelHeaderIconColor,
298
299
  borderRadius: '50%',
299
300
  '&[dir=rtl]': {
300
301
  transform: 'rotate(180deg)'
@@ -318,6 +319,8 @@ var datePickerStyle = _objectSpread(_objectSpread({
318
319
  pickerHeaderInfo: {
319
320
  cursor: 'pointer',
320
321
  borderRadius: '2px',
322
+ color: _theme.default.datePickerPanelHeaderFontColor,
323
+ fontWeight: _theme.default.datePickerPanelHeaderFontWeight,
321
324
  '&:hover': {
322
325
  backgroundColor: _theme.default.datePickerPanelHeaderIconHoverBackgroundColor
323
326
  }
@@ -335,7 +338,7 @@ var datePickerStyle = _objectSpread(_objectSpread({
335
338
  '& th, & td': {
336
339
  boxSizing: 'border-box',
337
340
  padding: '0',
338
- fontWeight: 'normal'
341
+ fontWeight: _theme.default.datePickerPanelFontWeight
339
342
  },
340
343
  '& th': {
341
344
  color: _theme.default.datePickerCellHeaderColor,
@@ -1 +1 @@
1
- {"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["divider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,kBAAkB,GAAG,MAAM,cAAc,CAAC;AAEtD,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,kBAAkB,CAgF9C,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["divider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,kBAAkB,GAAG,MAAM,cAAc,CAAC;AAEtD,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,kBAAkB,CAiF9C,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -84,6 +84,7 @@ var dividerStyle = {
84
84
  display: 'inline-block',
85
85
  padding: "0 ".concat(_theme.default.dividerTextPaddingX),
86
86
  fontSize: _theme.default.dividerFontSize,
87
+ fontWeight: _theme.default.dividerFontWeight,
87
88
  color: _theme.default.dividerFontColor
88
89
  }
89
90
  };
@@ -1 +1 @@
1
- {"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["empty.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,CAwB5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["empty.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,CAyB5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -28,6 +28,7 @@ var emptyStyle = {
28
28
  description: {
29
29
  fontSize: _theme.default.emptyFontSize,
30
30
  color: _theme.default.emptyFontColor,
31
+ fontWeight: _theme.default.emptyFontWeight,
31
32
  lineHeight: _theme.default.lineHeightDynamic
32
33
  }
33
34
  };
@@ -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;AAExC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,CAqGlD,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;AAExC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,CA0GlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -25,6 +25,8 @@ var formItemStyle = {
25
25
  },
26
26
  wordWrap: 'break-word',
27
27
  width: _theme.default.formItemLabelWidth,
28
+ fontWeight: _theme.default.formItemLabelFontWeight,
29
+ color: _theme.default.formItemLabelFontColor,
28
30
  padding: "".concat(_theme.default.formItemLabelPaddingY, " 0"),
29
31
  lineHeight: _theme.default.lineHeightDynamic,
30
32
  marginRight: _theme.default.formItemLabelMarginXEnd,
@@ -70,7 +72,7 @@ var formItemStyle = {
70
72
  wrapperRequired: {
71
73
  '& $label::before': {
72
74
  marginRight: '4px',
73
- color: _theme.default.formItemDangerColor,
75
+ color: _theme.default.formItemDangerFontColor,
74
76
  content: '"*"',
75
77
  fontFamily: 'SimSun',
76
78
  position: 'relative',
@@ -93,18 +95,21 @@ var formItemStyle = {
93
95
  }
94
96
  },
95
97
  error: {
96
- color: _theme.default.formItemDangerColor,
98
+ color: _theme.default.formItemDangerFontColor,
97
99
  lineHeight: _theme.default.lineHeightDynamic,
98
100
  minHeight: _theme.default.formItemTipMinHeight,
99
- fontSize: _theme.default.formItemTipFontSize
101
+ fontSize: _theme.default.formItemDangerFontSize,
102
+ fontWeight: _theme.default.formItemDangerFontWeight
100
103
  // flexBasis: '100%',
101
104
  // width: 0,
102
105
  },
103
106
  tip: {
104
107
  color: _theme.default.formItemTipFontColor,
105
108
  fontSize: _theme.default.formItemTipFontSize,
109
+ fontWeight: _theme.default.formItemTipFontWeight,
106
110
  lineHeight: _theme.default.lineHeightDynamic,
107
111
  minHeight: _theme.default.formItemTipMinHeight,
112
+ marginTop: _theme.default.formItemTipMarginTop,
108
113
  width: '100%'
109
114
  }
110
115
  };
@@ -160,16 +160,16 @@ var ImageStyle = _objectSpread(_objectSpread({}, animation), {}, {
160
160
  },
161
161
  circle: {
162
162
  borderRadius: _theme.default.imageCircleBorderRadius,
163
- border: "1px solid ".concat(_theme.default.imageCircleBorderColor)
163
+ border: "1px solid ".concat(_theme.default.imageBorderColor)
164
164
  },
165
165
  rounded: {
166
- borderRadius: _theme.default.imageRoundedBorderRadius,
167
- border: "1px solid ".concat(_theme.default.imageRoundedBorderColor)
166
+ borderRadius: _theme.default.imageBorderRadius,
167
+ border: "1px solid ".concat(_theme.default.imageBorderColor)
168
168
  },
169
169
  thumbnail: {
170
- borderRadius: _theme.default.imageThumbnailBorderRadius,
170
+ borderRadius: _theme.default.imageBorderRadius,
171
171
  backgroundColor: '#FFFFFF',
172
- border: "1px solid ".concat(_theme.default.imageThumbnailBorderColor),
172
+ border: "1px solid ".concat(_theme.default.imageBorderColor),
173
173
  '& $inner': {
174
174
  top: 4,
175
175
  left: 4,
@@ -1 +1 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAEtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAkI9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAEtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAiJ9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -56,10 +56,6 @@ var progressStyle = {
56
56
  height: '100%',
57
57
  boxSizing: 'border-box',
58
58
  borderRadius: 'inherit',
59
- '$lineInner &': {
60
- display: 'flex',
61
- alignItems: 'center'
62
- },
63
59
  '$wrapperSuccess &': {
64
60
  backgroundColor: _theme.default.progressSuccessFrontBackgroundColor
65
61
  },
@@ -71,6 +67,22 @@ var progressStyle = {
71
67
  },
72
68
  '$wrapperDanger &': {
73
69
  backgroundColor: _theme.default.progressDangerFrontBackgroundColor
70
+ },
71
+ '$lineInner &': {
72
+ display: 'flex',
73
+ alignItems: 'center',
74
+ '$wrapperSuccess&': {
75
+ backgroundColor: _theme.default.progressLineInnerSuccessFrontBackgroundColor
76
+ },
77
+ '$wrapperWarning&': {
78
+ backgroundColor: _theme.default.progressLineInnerWarningFrontBackgroundColor
79
+ },
80
+ '$wrapperInfo&': {
81
+ backgroundColor: _theme.default.progressLineInnerInfoFrontBackgroundColor
82
+ },
83
+ '$wrapperDanger&': {
84
+ backgroundColor: _theme.default.progressLineInnerDangerFrontBackgroundColor
85
+ }
74
86
  }
75
87
  },
76
88
  content: {
@@ -80,7 +92,19 @@ var progressStyle = {
80
92
  '$lineInner &': {
81
93
  marginLeft: 'auto',
82
94
  padding: "0 ".concat(_theme.default.progressLineInnerPaddingX),
83
- color: _theme.default.progressLineInnerFontColor
95
+ fontWeight: _theme.default.progressLineFontWeight
96
+ },
97
+ '$wrapperSuccess &': {
98
+ color: _theme.default.progressSuccessInnerFontColor
99
+ },
100
+ '$wrapperWarning &': {
101
+ color: _theme.default.progressWarningInnerFontColor
102
+ },
103
+ '$wrapperInfo &': {
104
+ color: _theme.default.progressInfoInnerFontColor
105
+ },
106
+ '$wrapperDanger &': {
107
+ color: _theme.default.progressDangerInnerFontColor
84
108
  },
85
109
  '$lineInnerRight &&': {
86
110
  // marginLeft: token.progressLineInnerPaddingX,
@@ -97,7 +121,7 @@ var progressStyle = {
97
121
  background: _theme.default.progressLineBackgroundColor,
98
122
  padding: '3px 8px',
99
123
  borderRadius: '2px',
100
- color: _theme.default.progressLineColor,
124
+ color: _theme.default.progressLinePopFontColor,
101
125
  boxShadow: '0 3px 6px -4px rgba(0,0,0,.12), 0 6px 16px rgba(0,0,0,.08), 0 9px 28px 8px rgba(0,0,0,.05)'
102
126
  },
103
127
  linePopValue: {},
@@ -138,6 +162,19 @@ var progressStyle = {
138
162
  '& $icon': {
139
163
  width: '31.25%',
140
164
  height: '31.25%'
165
+ },
166
+ fontWeight: _theme.default.progressCircleFontWeight,
167
+ '&$wrapperSuccess $content': {
168
+ color: _theme.default.progressCircleSuccessFontColor
169
+ },
170
+ '&$wrapperWarning $content': {
171
+ color: _theme.default.progressCircleWarningFontColor
172
+ },
173
+ '&$wrapperInfo $content': {
174
+ color: _theme.default.progressCircleInfoFontColor
175
+ },
176
+ '&$wrapperDanger $content': {
177
+ color: _theme.default.progressCircleDangerFontColor
141
178
  }
142
179
  },
143
180
  circleBg: {
@@ -1 +1 @@
1
- {"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["rate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAoB9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAmFtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["rate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAoB9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAoFtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
package/cjs/rate/rate.js CHANGED
@@ -104,8 +104,9 @@ var rateStyle = {
104
104
  },
105
105
  text: {
106
106
  fontSize: _theme.default.rateFontSize,
107
+ fontWeight: _theme.default.rateFontWeight,
107
108
  color: _theme.default.rateFontColor,
108
- paddingLeft: 10
109
+ paddingLeft: _theme.default.rateTextGap
109
110
  },
110
111
  itemDisabled: {},
111
112
  itemAnimation: {
@@ -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;AAuDlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAif1C,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;AAuDlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAkf1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -447,6 +447,7 @@ var selectStyle = _objectSpread(_objectSpread({
447
447
  overflow: 'hidden',
448
448
  textOverflow: 'ellipsis',
449
449
  whiteSpace: 'nowrap',
450
+ height: '100%',
450
451
  color: _theme.default.selectOptionFontColor,
451
452
  fontSize: _theme.default.selectFontSize,
452
453
  lineHeight: _theme.default.lineHeightDynamic,
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAsSxC,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,WAAW,CAmc1C,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AA8RxC,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,WAAW,CA0f1C,CAAC;AAEF,eAAe,SAAS,CAAC"}
package/cjs/tabs/tabs.js CHANGED
@@ -183,12 +183,12 @@ var getLineStyle = function getLineStyle() {
183
183
  bottom: 0,
184
184
  left: 0,
185
185
  width: 2
186
- })),
187
- '& :not([data-soui-state="active"])$tab': {
188
- '&:after': {
189
- display: 'none'
190
- }
191
- }
186
+ }))
187
+ // '& :not([data-soui-state="active"])$tab': {
188
+ // '&:after': {
189
+ // display: 'none',
190
+ // },
191
+ // },
192
192
  },
193
193
  '&[data-soui-position^="right-"][data-soui-shape="line"]': {
194
194
  '&[dir=ltr]': _objectSpread({
@@ -214,12 +214,7 @@ var getLineStyle = function getLineStyle() {
214
214
  bottom: 0,
215
215
  right: 0,
216
216
  width: 2
217
- })),
218
- '& :not([data-soui-state="active"])$tab': {
219
- '&:after': {
220
- display: 'none'
221
- }
222
- }
217
+ }))
223
218
  },
224
219
  '&[data-soui-position^="top-"][data-soui-shape="line"]': _objectSpread({
225
220
  '& $hr': {
@@ -247,7 +242,13 @@ var getLineStyle = function getLineStyle() {
247
242
  })), {}, {
248
243
  '& :not([data-soui-state="active"])$tab': {
249
244
  '&:after': {
250
- display: 'none'
245
+ position: 'absolute',
246
+ content: '""',
247
+ top: 0,
248
+ left: 0,
249
+ width: '100%',
250
+ height: 1,
251
+ background: _theme.default.tabsBorderColor
251
252
  }
252
253
  }
253
254
  })
@@ -307,12 +308,6 @@ var getFillStyle = function getFillStyle() {
307
308
  color: _theme.default.tabsActiveFontColor
308
309
  }
309
310
  },
310
- '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):hover $fillInner': {
311
- background: _theme.default.tabsExtraFillHoverBackgroundColor
312
- },
313
- '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):active $fillInner': {
314
- background: _theme.default.tabsClickBackgroundColor
315
- },
316
311
  '&:before': {
317
312
  content: '""',
318
313
  position: 'absolute',
@@ -455,7 +450,10 @@ var tabsStyle = {
455
450
  },
456
451
  hr: {
457
452
  position: 'absolute',
458
- background: _theme.default.tabsBorderColor
453
+ background: _theme.default.tabsBorderColor,
454
+ '$headerWrapper[data-soui-shape="line"] &': {
455
+ background: _theme.default.tabsLineHrBackgroundColor
456
+ }
459
457
  },
460
458
  cardHr: {
461
459
  // aflter
@@ -664,23 +662,27 @@ var tabsStyle = {
664
662
  '$headerWrapper[data-soui-shape="card"] &': {
665
663
  '& $tab': {
666
664
  position: 'relative',
667
- border: "1px solid ".concat(_theme.default.tabsBorderColor),
668
- padding: "".concat(_theme.default.tabsTabPaddingY, " ").concat(_theme.default.tabsTabPaddingX),
669
- background: _theme.default.tabsBackgroundColor,
665
+ border: "1px solid ".concat(_theme.default.tabsCardBorderColor),
666
+ padding: "".concat(_theme.default.tabsCardPaddingY, " ").concat(_theme.default.tabsCardPaddingX),
667
+ color: _theme.default.tabsCardFontColor,
668
+ fontSize: _theme.default.tabsCardFontSize,
669
+ fontWeight: _theme.default.tabsCardFontWeight,
670
+ background: _theme.default.tabsCardBackgroundColor,
670
671
  '&[data-soui-state="active"]': {
671
- color: _theme.default.tabsActiveFontColor,
672
- background: _theme.default.tabsActiveBackgroundColor,
673
- fontWeight: 'bold'
672
+ color: _theme.default.tabsCardCheckedFontColor,
673
+ fontSize: _theme.default.tabsCardCheckedFontSize,
674
+ fontWeight: _theme.default.tabsCardCheckedFontWeight,
675
+ background: _theme.default.tabsCardCheckedBackgroundColor
674
676
  },
675
677
  '&[data-soui-state="disabled"]': {
676
- color: _theme.default.tabsDisabledFontColor,
678
+ color: _theme.default.tabsCardDisabledFontColor,
677
679
  cursor: 'not-allowed'
678
680
  },
679
681
  '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):hover': {
680
- background: _theme.default.tabsHoverBackgroundColor
682
+ background: _theme.default.tabsCardHoverBackgroundColor
681
683
  },
682
684
  '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):active': {
683
- background: _theme.default.tabsClickBackgroundColor
685
+ background: _theme.default.tabsCardActiveBackgroundColor
684
686
  }
685
687
  }
686
688
  },
@@ -688,17 +690,39 @@ var tabsStyle = {
688
690
  '& $tab': {
689
691
  position: 'relative',
690
692
  padding: "".concat(_theme.default.tabsLinePaddingY, " ").concat(_theme.default.tabsLinePaddingX),
691
- // background: '#FFF',
692
-
693
+ color: _theme.default.tabsLineFontColor,
694
+ fontSize: _theme.default.tabsLineFontSize,
695
+ fontWeight: _theme.default.tabsLineFontWeight,
696
+ background: _theme.default.tabsLineBackgroundColor,
693
697
  '&[data-soui-state="active"]': {
694
- color: _theme.default.tabsActiveFontColor,
695
- background: _theme.default.tabsActiveBackgroundColor,
696
- fontWeight: 'bold'
698
+ color: _theme.default.tabsLineCheckedFontColor,
699
+ fontSize: _theme.default.tabsLineCheckedFontSize,
700
+ background: _theme.default.tabsLineCheckedBackgroundColor,
701
+ fontWeight: _theme.default.tabsLineCheckedFontWeight,
702
+ '&:after': {
703
+ background: _theme.default.tabsLineAfterBackgroundColor
704
+ }
697
705
  },
698
706
  '&[data-soui-state="disabled"]': {
699
- color: _theme.default.tabsDisabledFontColor,
707
+ color: _theme.default.tabsLineDisabledFontColor,
700
708
  cursor: 'not-allowed'
701
709
  },
710
+ '[data-soui-position^="left-"] &': {
711
+ '&:after': {
712
+ width: 1,
713
+ right: 0,
714
+ left: 'auto',
715
+ height: '100%',
716
+ background: _theme.default.tabsBorderColor
717
+ }
718
+ },
719
+ '[data-soui-position^="right-"] &': {
720
+ '&:after': {
721
+ width: 1,
722
+ height: '100%',
723
+ background: _theme.default.tabsBorderColor
724
+ }
725
+ },
702
726
  '&:not([data-soui-state="active"])': {
703
727
  '&:after': {
704
728
  position: 'absolute',
@@ -711,41 +735,64 @@ var tabsStyle = {
711
735
  }
712
736
  },
713
737
  '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):hover $lineInner': {
714
- background: _theme.default.tabsHoverBackgroundColor
738
+ background: _theme.default.tabsLineHoverBackgroundColor
715
739
  },
716
740
  '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):active $lineInner': {
717
- background: _theme.default.tabsClickBackgroundColor
741
+ background: _theme.default.tabsLineActiveBackgroundColor
718
742
  }
719
743
  }
720
744
  },
721
745
  '$headerWrapper[data-soui-shape="dash"] &': {
722
746
  '& $tab': {
723
747
  padding: "".concat(_theme.default.tabsLinePaddingY, " ").concat(_theme.default.tabsLinePaddingX),
748
+ color: _theme.default.tabsLineFontColor,
749
+ fontSize: _theme.default.tabsLineFontSize,
750
+ fontWeight: _theme.default.tabsLineFontWeight,
751
+ background: _theme.default.tabsLineBackgroundColor,
724
752
  '&[data-soui-state="active"]': {
725
- color: _theme.default.tabsActiveFontColor,
726
- background: _theme.default.tabsActiveBackgroundColor,
727
- fontWeight: 'bold'
753
+ color: _theme.default.tabsLineCheckedFontColor,
754
+ fontSize: _theme.default.tabsLineCheckedFontSize,
755
+ background: _theme.default.tabsLineCheckedBackgroundColor,
756
+ fontWeight: _theme.default.tabsLineCheckedFontWeight,
757
+ '&:after': {
758
+ background: _theme.default.tabsLineAfterBackgroundColor
759
+ }
728
760
  },
729
761
  '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):hover $lineInner': {
730
- background: _theme.default.tabsHoverBackgroundColor
762
+ background: _theme.default.tabsLineHoverBackgroundColor
731
763
  },
732
764
  '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):active $lineInner': {
733
- background: _theme.default.tabsClickBackgroundColor
765
+ background: _theme.default.tabsLineActiveBackgroundColor
734
766
  },
735
767
  '&[data-soui-state="disabled"]': {
736
- color: _theme.default.tabsDisabledFontColor,
768
+ color: _theme.default.tabsLineDisabledFontColor,
737
769
  cursor: 'not-allowed'
738
770
  }
739
771
  }
740
772
  },
741
773
  '$headerWrapper[data-soui-shape="fill"] &': {
742
774
  '& $tab': {
775
+ color: _theme.default.tabsFillFontColor,
776
+ fontSize: _theme.default.tabsFillFontSize,
777
+ fontWeight: _theme.default.tabsFillFontWeight,
778
+ background: _theme.default.tabsFillBackgroundColor,
743
779
  '&[data-soui-state="active"]': {
744
- fontWeight: 'bold'
780
+ color: _theme.default.tabsFillCheckedFontColor,
781
+ // fontSize: Token.tabsFillCheckedFontSize,
782
+ fontWeight: _theme.default.tabsFillCheckedFontWeight,
783
+ '& $fillInner': {
784
+ background: _theme.default.tabsFillCheckedBackgroundColor
785
+ }
745
786
  },
746
787
  '&[data-soui-state="disabled"]': {
747
- color: _theme.default.tabsDisabledFontColor,
788
+ color: _theme.default.tabsFillDisabledFontColor,
748
789
  cursor: 'not-allowed'
790
+ },
791
+ '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):hover $fillInner': {
792
+ background: _theme.default.tabsFillHoverBackgroundColor
793
+ },
794
+ '&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):active $fillInner': {
795
+ background: _theme.default.tabsFillActiveBackgroundColor
749
796
  }
750
797
  }
751
798
  },
@@ -1 +1 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CAwIxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CA8IxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}