@sheinx/shineout-style 3.6.0-beta.9 → 3.6.0

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 (67) hide show
  1. package/cjs/button/button.d.ts.map +1 -1
  2. package/cjs/button/button.js +16 -0
  3. package/cjs/carousel/carousel.d.ts.map +1 -1
  4. package/cjs/carousel/carousel.js +42 -1
  5. package/cjs/date-picker/date-picker.d.ts.map +1 -1
  6. package/cjs/date-picker/date-picker.js +12 -1
  7. package/cjs/descriptions/descriptions.js +3 -3
  8. package/cjs/inner-title/inner-title.d.ts.map +1 -1
  9. package/cjs/inner-title/inner-title.js +2 -1
  10. package/cjs/input/input-border.d.ts.map +1 -1
  11. package/cjs/input/input-border.js +31 -1
  12. package/cjs/input/input.d.ts.map +1 -1
  13. package/cjs/input/input.js +7 -0
  14. package/cjs/popover/popover.d.ts.map +1 -1
  15. package/cjs/popover/popover.js +13 -15
  16. package/cjs/select/select.d.ts.map +1 -1
  17. package/cjs/select/select.js +4 -1
  18. package/cjs/slider/slider.d.ts.map +1 -1
  19. package/cjs/slider/slider.js +9 -4
  20. package/cjs/table/table.d.ts.map +1 -1
  21. package/cjs/table/table.js +76 -13
  22. package/cjs/textarea/textarea.d.ts.map +1 -1
  23. package/cjs/textarea/textarea.js +31 -0
  24. package/cjs/tooltip/tooltip.js +3 -3
  25. package/cjs/tree/tree.d.ts.map +1 -1
  26. package/cjs/tree/tree.js +32 -13
  27. package/cjs/tree-select/tree-select.d.ts.map +1 -1
  28. package/cjs/tree-select/tree-select.js +4 -1
  29. package/cjs/upload/upload.d.ts.map +1 -1
  30. package/cjs/upload/upload.js +36 -6
  31. package/cjs/version.d.ts +1 -1
  32. package/cjs/version.d.ts.map +1 -1
  33. package/cjs/version.js +1 -1
  34. package/esm/button/button.d.ts.map +1 -1
  35. package/esm/button/button.js +16 -0
  36. package/esm/carousel/carousel.d.ts.map +1 -1
  37. package/esm/carousel/carousel.js +42 -1
  38. package/esm/date-picker/date-picker.d.ts.map +1 -1
  39. package/esm/date-picker/date-picker.js +12 -1
  40. package/esm/descriptions/descriptions.js +3 -3
  41. package/esm/inner-title/inner-title.d.ts.map +1 -1
  42. package/esm/inner-title/inner-title.js +2 -1
  43. package/esm/input/input-border.d.ts.map +1 -1
  44. package/esm/input/input-border.js +31 -1
  45. package/esm/input/input.d.ts.map +1 -1
  46. package/esm/input/input.js +7 -0
  47. package/esm/popover/popover.d.ts.map +1 -1
  48. package/esm/popover/popover.js +13 -15
  49. package/esm/select/select.d.ts.map +1 -1
  50. package/esm/select/select.js +4 -1
  51. package/esm/slider/slider.d.ts.map +1 -1
  52. package/esm/slider/slider.js +9 -4
  53. package/esm/table/table.d.ts.map +1 -1
  54. package/esm/table/table.js +76 -13
  55. package/esm/textarea/textarea.d.ts.map +1 -1
  56. package/esm/textarea/textarea.js +31 -0
  57. package/esm/tooltip/tooltip.js +3 -3
  58. package/esm/tree/tree.d.ts.map +1 -1
  59. package/esm/tree/tree.js +32 -13
  60. package/esm/tree-select/tree-select.d.ts.map +1 -1
  61. package/esm/tree-select/tree-select.js +4 -1
  62. package/esm/upload/upload.d.ts.map +1 -1
  63. package/esm/upload/upload.js +36 -6
  64. package/esm/version.d.ts +1 -1
  65. package/esm/version.d.ts.map +1 -1
  66. package/esm/version.js +1 -1
  67. package/package.json +3 -3
package/cjs/tree/tree.js CHANGED
@@ -10,6 +10,14 @@ var treeStyle = {
10
10
  rootClass: {},
11
11
  tree: {},
12
12
  virtual: {},
13
+ notTree: {
14
+ '&$root > $node$leaf': {
15
+ paddingLeft: 0
16
+ },
17
+ '& $content': {
18
+ marginLeft: 0
19
+ }
20
+ },
13
21
  line: {
14
22
  '& $node': {
15
23
  '&[dir=ltr]::before': {
@@ -158,25 +166,27 @@ var treeStyle = {
158
166
  flex: 1,
159
167
  display: 'flex',
160
168
  alignItems: 'center',
161
- cursor: 'pointer',
162
- padding: "0 ".concat(_theme.default.treePaddingX),
163
- borderRadius: _theme.default.treeContentBorderRadius,
169
+ marginLeft: 4,
170
+ // 'label&': {
171
+ // cursor: 'pointer',
172
+ // userSelect: 'none',
173
+ // },
174
+
175
+ // '$iconWrapper + &': {
176
+ // marginLeft: 4,
177
+ // },
178
+
164
179
  '$contentDisabled &': {
165
180
  '& $text': {
166
181
  color: _theme.default.treeContentDisabledFontColor
167
182
  }
168
183
  },
169
184
  '&[data-active="true"]': {
170
- background: _theme.default.treeContentActiveBackgroundColor,
171
185
  '& $text': {
186
+ background: _theme.default.treeContentActiveBackgroundColor,
187
+ borderRadius: _theme.default.treeContentActiveBorderRadius,
172
188
  color: _theme.default.treeContentActiveFontColor
173
189
  }
174
- },
175
- '&:hover:not([data-active="true"])': {
176
- background: _theme.default.treeContentHoverBackgroundColor,
177
- '& $text': {
178
- color: _theme.default.treeContentHoverFontColor
179
- }
180
190
  }
181
191
  },
182
192
  checkbox: {
@@ -186,13 +196,22 @@ var treeStyle = {
186
196
  }
187
197
  },
188
198
  text: {
199
+ flex: 1,
200
+ minWidth: 0,
189
201
  fontSize: _theme.default.treeFontSize,
190
202
  lineHeight: _theme.default.lineHeightDynamic,
191
203
  color: _theme.default.treeFontColor,
192
204
  fontWeight: _theme.default.treeFontWeight,
193
- paddingTop: _theme.default.treeTextPaddingY,
194
- paddingBottom: _theme.default.treeTextPaddingY,
195
- whiteSpace: 'nowrap'
205
+ padding: "".concat(_theme.default.treeTextPaddingY, " ").concat(_theme.default.treeTextPaddingX),
206
+ whiteSpace: 'nowrap',
207
+ borderRadius: _theme.default.treeContentBorderRadius,
208
+ '$content:not([data-active="true"]) &:hover': {
209
+ color: _theme.default.treeContentHoverFontColor,
210
+ background: _theme.default.treeContentHoverBackgroundColor
211
+ }
212
+ },
213
+ textClickable: {
214
+ cursor: 'pointer'
196
215
  },
197
216
  // textDisabled: {
198
217
  // color: Token.treeItemDisabledFontColor,
@@ -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;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CA6elD,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;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAiflD,CAAC;AACF,eAAe,eAAe,CAAC"}
@@ -286,7 +286,10 @@ var treeSelectStyle = _objectSpread(_objectSpread({
286
286
  transformOrigin: '0 0',
287
287
  width: 'max-content',
288
288
  maxWidth: '640px',
289
- cursor: 'initial'
289
+ cursor: 'initial',
290
+ '& $tree': {
291
+ overscrollBehavior: 'none'
292
+ }
290
293
  },
291
294
  iconWrapper: {
292
295
  display: 'flex',
@@ -1 +1 @@
1
- {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["upload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAwW1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["upload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAsY1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -24,6 +24,39 @@ var uploadStyle = {
24
24
  }
25
25
  },
26
26
  wrapperDrop: {},
27
+ draggerWrapper: {
28
+ display: 'block',
29
+ width: '100%'
30
+ },
31
+ draggerArea: {
32
+ position: 'relative',
33
+ padding: 16,
34
+ width: '100%',
35
+ height: '100%',
36
+ textAlign: 'center',
37
+ backgroundColor: _theme.default.uploadImageHandlerBackgroundColor,
38
+ borderRadius: _theme.default.uploadImageBorderRadius,
39
+ cursor: 'pointer',
40
+ color: _theme.default.uploadImageHandlerFontColor,
41
+ // after
42
+ '&:after': {
43
+ content: '""',
44
+ position: 'absolute',
45
+ top: -1,
46
+ right: -1,
47
+ bottom: -1,
48
+ left: -1,
49
+ borderRadius: _theme.default.uploadImageBorderRadius,
50
+ border: "1px dashed ".concat(_theme.default.uploadImageHandlerBorderColor),
51
+ transition: 'border-color 0.3s'
52
+ },
53
+ // hover
54
+ '&:hover': {
55
+ '&:after': {
56
+ borderColor: _theme.default.uploadImageHandlerHoverBorderColor
57
+ }
58
+ }
59
+ },
27
60
  handler: {
28
61
  display: 'inline-block',
29
62
  cursor: 'pointer',
@@ -58,7 +91,6 @@ var uploadStyle = {
58
91
  },
59
92
  result: {
60
93
  display: 'flex',
61
- alignItems: 'center',
62
94
  gap: '8px',
63
95
  borderRadius: _theme.default.uploadResultBorderRadius,
64
96
  padding: "".concat(_theme.default.uploadResultPaddingY, " ").concat(_theme.default.uploadResultPaddingX),
@@ -71,7 +103,7 @@ var uploadStyle = {
71
103
  },
72
104
  icon: {
73
105
  width: _theme.default.uploadResultIconSize,
74
- height: _theme.default.uploadResultIconSize,
106
+ height: _theme.default.lineHeightDynamic,
75
107
  color: _theme.default.uploadResultIconColor,
76
108
  display: 'flex',
77
109
  alignItems: 'center',
@@ -100,16 +132,14 @@ var uploadStyle = {
100
132
  },
101
133
  resultTextFooter: {
102
134
  display: 'flex',
103
- alignItems: 'center',
104
135
  gap: _theme.default.uploadResultGap,
105
136
  color: _theme.default.uploadResultUploadingIconColor
106
137
  },
107
138
  resultText: {
108
139
  display: 'flex',
109
- alignItems: 'center',
110
- minWidth: '0',
111
- wordBreak: 'break-all',
112
140
  flex: 1,
141
+ minWidth: 0,
142
+ wordBreak: 'break-all',
113
143
  gap: _theme.default.uploadResultGap,
114
144
  fontSize: _theme.default.uploadResultFontSize,
115
145
  color: _theme.default.uploadResultFontColor,
package/cjs/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.6.0-beta.9";
1
+ declare const _default: "3.6.0";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAA8B"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAAuB"}
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.6.0-beta.9';
7
+ var _default = exports.default = '3.6.0';
@@ -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,CAiX9C,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,CAoY9C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -211,6 +211,22 @@ var ButtonStyle = {
211
211
  },
212
212
  '&:active': {
213
213
  transition: 'none'
214
+ },
215
+ '[data-soui-role="input-group-seperate"] > &': {
216
+ borderRadius: 0,
217
+ marginLeft: -1,
218
+ '&:first-child': {
219
+ marginLeft: 0,
220
+ borderTopLeftRadius: Token.buttonBorderRadius,
221
+ borderBottomLeftRadius: Token.buttonBorderRadius
222
+ },
223
+ '&:last-child': {
224
+ borderTopRightRadius: Token.buttonBorderRadius,
225
+ borderBottomRightRadius: Token.buttonBorderRadius
226
+ },
227
+ '&:hover': {
228
+ zIndex: 1
229
+ }
214
230
  }
215
231
  },
216
232
  small: {
@@ -1 +1 @@
1
- {"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["carousel.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;AA8CtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CA2O9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["carousel.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;AA8CtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAoR9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -282,7 +282,48 @@ var carouselStyle = _objectSpread(_objectSpread({
282
282
  }
283
283
  }
284
284
  },
285
- indicatorTypeSlider: {},
285
+ indicatorTypeBar: {
286
+ '& $indicator': {
287
+ position: 'relative',
288
+ borderRadius: '100px',
289
+ '&:first-child': {
290
+ '&:before': {
291
+ borderRadius: '100px 0 0 100px'
292
+ }
293
+ },
294
+ '&:last-child': {
295
+ '&:before': {
296
+ borderRadius: '0 100px 100px 0'
297
+ }
298
+ },
299
+ width: token.carouselIndicatorBarWidth,
300
+ height: token.carouselIndicatorBarHeight
301
+ },
302
+ '& $indicator:before': {
303
+ content: '""',
304
+ position: 'absolute',
305
+ zIndex: -1,
306
+ top: 0,
307
+ left: 0,
308
+ width: '100%',
309
+ height: '100%',
310
+ background: token.carouselIndicatorBackgroundColor
311
+ },
312
+ '$indicatorLeft& $indicator, $indicatorRight& $indicator': {
313
+ width: token.carouselIndicatorBarHeight,
314
+ height: token.carouselIndicatorBarWidth,
315
+ '&:first-child': {
316
+ '&:before': {
317
+ borderRadius: '100px 100px 0 0'
318
+ }
319
+ },
320
+ '&:last-child': {
321
+ '&:before': {
322
+ borderRadius: '0 0 100px 100px'
323
+ }
324
+ }
325
+ }
326
+ },
286
327
  indicatorArrow: {
287
328
  width: token.carouselIndicatorArrowSize,
288
329
  height: token.carouselIndicatorArrowSize,
@@ -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;AA+D1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CA2oBlD,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;AA+D1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAupBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -345,11 +345,22 @@ var datePickerStyle = _objectSpread(_objectSpread({
345
345
  pickerFooter: {
346
346
  borderTop: "1px solid ".concat(token.datePickerPanelHeaderBorderColor),
347
347
  display: 'flex',
348
- justifyContent: 'space-between'
348
+ justifyContent: 'space-between',
349
+ '&[dir=rtl] $pickerFooterConfirm': {
350
+ 'margin-right': 'auto'
351
+ },
352
+ '&[dir=ltr] $pickerFooterConfirm': {
353
+ 'margin-left': 'auto'
354
+ }
349
355
  },
350
356
  pickerFooterTime: {
351
357
  padding: "".concat(token.datePickerPanelFooterPaddingY, " ").concat(token.datePickerPanelFooterPaddingX)
352
358
  },
359
+ wrapperSmall: {
360
+ '& $pickerFooterNow': {
361
+ padding: "".concat(token.datePickerSmallPanelFooterNowPaddingY, " ").concat(token.datePickerSmallPanelFooterNowPaddingX)
362
+ }
363
+ },
353
364
  pickerFooterNow: {
354
365
  padding: "".concat(token.datePickerPanelFooterPaddingY, " ").concat(token.datePickerPanelFooterPaddingX),
355
366
  '&:only-child': {
@@ -89,6 +89,7 @@ var descriptionsStyle = {
89
89
  valueInline: {
90
90
  paddingRight: token.descriptionsLabelPaddingRight,
91
91
  textAlign: 'left',
92
+ wordBreak: 'break-all',
92
93
  boxSizing: 'border-box',
93
94
  color: token.descriptionsValueColor
94
95
  },
@@ -104,11 +105,10 @@ var descriptionsStyle = {
104
105
  },
105
106
  inlineHorizontal: {
106
107
  '& $item': {
107
- display: 'flex',
108
- alignItems: 'center'
108
+ display: 'flex'
109
109
  },
110
110
  '& $cell': {
111
- verticalAlign: 'middle'
111
+ verticalAlign: 'top'
112
112
  },
113
113
  '& $row': {
114
114
  '&>td': {
@@ -1 +1 @@
1
- {"version":3,"file":"inner-title.d.ts","sourceRoot":"","sources":["inner-title.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAsEjD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,iBAAiB,CA4FjD,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"inner-title.d.ts","sourceRoot":"","sources":["inner-title.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAsEjD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,iBAAiB,CA6FjD,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -118,7 +118,8 @@ var innerTitle = _objectSpread(_objectSpread({
118
118
  pointerEvents: 'none',
119
119
  '& $title': {
120
120
  position: 'relative',
121
- top: 0
121
+ top: 0,
122
+ color: token.inputInnerPlaceFontColor
122
123
  },
123
124
  '$animation$wrapperOpen & $title': {
124
125
  animation: "$movein ".concat(moveTime, " ease-in")
@@ -1 +1 @@
1
- {"version":3,"file":"input-border.d.ts","sourceRoot":"","sources":["input-border.ts"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,qBAAqB,EAAE,MAAM,CAAC;IAE9B,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAE1B,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,yBAAyB,EAAE,MAAM,CAAC;IAClC,yBAAyB,EAAE,MAAM,CAAC;IAElC,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;CACjC;4DACiD,KAAK;AAAvD,wBAsJE"}
1
+ {"version":3,"file":"input-border.d.ts","sourceRoot":"","sources":["input-border.ts"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,qBAAqB,EAAE,MAAM,CAAC;IAE9B,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAE1B,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,yBAAyB,EAAE,MAAM,CAAC;IAClC,yBAAyB,EAAE,MAAM,CAAC;IAElC,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;CACjC;4DACiD,KAAK;AAAvD,wBAuLE"}
@@ -18,6 +18,7 @@ export default (function (name) {
18
18
  verticalAlign: 'top',
19
19
  transition: "border-color .15s ease-in-out,box-shadow .15s ease-in-out;",
20
20
  '&:hover': _defineProperty({
21
+ zIndex: 1,
21
22
  borderColor: token.hoverBorderColor
22
23
  }, "&:not($".concat(name, "Disabled):not($").concat(name, "Error)"), {
23
24
  backgroundColor: token.hoverBackgroundColor
@@ -27,11 +28,34 @@ export default (function (name) {
27
28
  borderRadius: 0,
28
29
  boxShadow: 'none',
29
30
  backgroundColor: 'transparent',
30
- flex: 1,
31
+ // flex: 1,
31
32
  minWidth: 0
32
33
  },
33
34
  '[data-soui-role="input-group"] [data-soui-input-border] + &': {
34
35
  borderLeftWidth: '1px'
36
+ },
37
+ '[data-soui-role="input-group-seperate"] &&&, [data-soui-role="input-group-seperate"] &&&:hover': {
38
+ borderRadius: 0,
39
+ flexShrink: 0,
40
+ width: 'auto',
41
+ 'margin-left': "-1px",
42
+ '&:first-child': {
43
+ marginLeft: 0,
44
+ borderTopLeftRadius: token.borderRadius,
45
+ borderBottomLeftRadius: token.borderRadius
46
+ },
47
+ '&:last-child': {
48
+ borderTopRightRadius: token.borderRadius,
49
+ borderBottomRightRadius: token.borderRadius
50
+ }
51
+ },
52
+ '[dir=rtl][data-soui-role="input-group-seperate"] &&&, [dir=rtl][data-soui-role="input-group-seperate"] &&&:hover': {
53
+ '&:first-child': {
54
+ borderRadius: "0 ".concat(token.borderRadius, " ").concat(token.borderRadius, " 0")
55
+ },
56
+ '&:last-child': {
57
+ borderRadius: "".concat(token.borderRadius, " 0 0 ").concat(token.borderRadius)
58
+ }
35
59
  }
36
60
  }), "".concat(name, "PaddingBox"), _defineProperty(_defineProperty(_defineProperty({
37
61
  borderRadius: token.borderRadius
@@ -73,6 +97,12 @@ export default (function (name) {
73
97
  borderColor: token.focusBorderColor,
74
98
  boxShadow: "0 0 0 2px ".concat(token.focusShadow),
75
99
  background: token.focusBackgroundColor,
100
+ '&[data-soui-role="input-group-seperate"]': {
101
+ boxShadow: 'none'
102
+ },
103
+ '[data-soui-role="input-group-seperate"] &': {
104
+ zIndex: 1
105
+ },
76
106
  '&:hover': {
77
107
  borderColor: token.focusBorderColor
78
108
  }
@@ -1 +1 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAwG5C,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,YAAY,CAuNvC,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAwG5C,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,YAAY,CA+NvC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -198,6 +198,13 @@ var input = _objectSpread(_objectSpread(_objectSpread({
198
198
  background: 'transparent'
199
199
  }
200
200
  }, groupSpace(token.inputPaddingX)),
201
+ groupSeperate: {
202
+ border: 'none',
203
+ '& > b': {
204
+ border: "1px solid ".concat(token.inputBorderColor),
205
+ 'margin-left': '-1px'
206
+ }
207
+ },
201
208
  groupSmall: _objectSpread(_objectSpread({}, groupSmall), groupSpace(token.inputSmallPaddingX)),
202
209
  groupLarge: _objectSpread(_objectSpread({}, groupLarge), groupSpace(token.inputLargePaddingX))
203
210
  }, resetGroup), {}, {
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,cAAc,CAAC;AAMpD,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,gBAAgB,CAiL5C,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,cAAc,CAAC;AAUpD,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,gBAAgB,CA4K5C,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -5,7 +5,10 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
5
5
  import token from '@sheinx/theme';
6
6
  var cssvar = '--popover-arrow-gap';
7
7
  var hideArrowGap = "var(".concat(cssvar, ", 10px)");
8
+ var extraArrowGap = 'var(--popover-arrow-gap-extra, 0px)';
8
9
  var arrowMargin = '8px';
10
+ var poyfillPos = "calc((".concat(hideArrowGap, " + ").concat(extraArrowGap, ") * -1)");
11
+ var poyfillHeight = "calc((".concat(hideArrowGap, " + ").concat(extraArrowGap, "))");
9
12
  var popoverStyle = {
10
13
  rootClass: {},
11
14
  wrapper: {
@@ -45,12 +48,12 @@ var popoverStyle = {
45
48
  margin: 'auto'
46
49
  },
47
50
  '&::after': {
48
- top: "calc(".concat(hideArrowGap, " * -1)"),
51
+ top: poyfillPos,
49
52
  left: '0',
50
53
  right: '0',
51
54
  content: '" "',
52
55
  display: 'block',
53
- height: hideArrowGap,
56
+ height: poyfillHeight,
54
57
  position: 'absolute'
55
58
  }
56
59
  },
@@ -66,24 +69,22 @@ var popoverStyle = {
66
69
  },
67
70
  '&::after': {
68
71
  // bottom: arrowGap * -1,
69
- bottom: "calc(".concat(hideArrowGap, " * -1)"),
72
+ bottom: poyfillPos,
70
73
  left: '0',
71
74
  right: '0',
72
75
  content: '" "',
73
76
  display: 'block',
74
77
  // height: arrowGap,
75
- height: hideArrowGap,
78
+ height: poyfillHeight,
76
79
  position: 'absolute'
77
80
  }
78
81
  },
79
82
  '&[data-soui-position^="left"]': {
80
- // '&[dir=ltr]': { marginLeft: (arrowGap - 2) * -1 },
81
83
  '&[dir=ltr]': {
82
- marginLeft: "calc((".concat(hideArrowGap, " - 2px) * -1)")
84
+ marginRight: "calc((".concat(hideArrowGap, " - 2px))")
83
85
  },
84
- // '&[dir=rtl]': { marginRight: (arrowGap - 2) * -1 },
85
86
  '&[dir=rtl]': {
86
- marginRight: "calc((".concat(hideArrowGap, " - 2px) * -1)")
87
+ marginLeft: "calc((".concat(hideArrowGap, " - 2px))")
87
88
  },
88
89
  '& $arrow': {
89
90
  right: token.popoverBorderWidth,
@@ -93,22 +94,19 @@ var popoverStyle = {
93
94
  margin: 'auto'
94
95
  },
95
96
  '&::after': {
96
- // left: arrowGap * -1,
97
- right: "calc(".concat(hideArrowGap, " * -1)"),
97
+ right: poyfillPos,
98
98
  top: '0',
99
99
  bottom: '0',
100
100
  content: '" "',
101
101
  display: 'block',
102
- width: hideArrowGap,
102
+ width: poyfillHeight,
103
103
  position: 'absolute'
104
104
  }
105
105
  },
106
106
  '&[data-soui-position^="right"]': {
107
- // '&[dir=ltr]': { marginLeft: arrowGap - 2 },
108
107
  '&[dir=ltr]': {
109
108
  marginLeft: "calc(".concat(hideArrowGap, " - 2px)")
110
109
  },
111
- // '&[dir=rtl]': { marginRight: arrowGap - 2 },
112
110
  '&[dir=rtl]': {
113
111
  marginRight: "calc(".concat(hideArrowGap, " - 2px)")
114
112
  },
@@ -121,13 +119,13 @@ var popoverStyle = {
121
119
  },
122
120
  '&::after': {
123
121
  // left: arrowGap * -1,
124
- left: "calc(".concat(hideArrowGap, " * -1)"),
122
+ left: poyfillPos,
125
123
  top: '0',
126
124
  bottom: '0',
127
125
  content: '" "',
128
126
  display: 'block',
129
127
  // width: arrowGap,
130
- width: hideArrowGap,
128
+ width: poyfillHeight,
131
129
  position: 'absolute'
132
130
  }
133
131
  },
@@ -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,CA8gB1C,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,CAkhB1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -274,7 +274,10 @@ var selectStyle = _objectSpread(_objectSpread({
274
274
  borderRadius: token.selectPanelRadius,
275
275
  transformOrigin: '0 0',
276
276
  border: "1px solid ".concat(token.selectPanelBorder),
277
- cursor: 'initial'
277
+ cursor: 'initial',
278
+ '& [data-soui-role="scroll"]': {
279
+ overscrollBehavior: 'none'
280
+ }
278
281
  },
279
282
  pickerSmall: {
280
283
  '& $optionInner': {
@@ -1 +1 @@
1
- {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["slider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAIlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAsS1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["slider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAIlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CA2S1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -25,12 +25,17 @@ var sliderStyle = {
25
25
  cursor: 'pointer',
26
26
  borderRadius: '100px',
27
27
  height: token.sliderTrackSize,
28
- boxSizing: 'border-box',
28
+ borderTop: "".concat(token.sliderScaleMarginY, " solid transparent"),
29
+ borderBottom: "".concat(token.sliderScaleMarginY, " solid transparent"),
30
+ boxSizing: 'content-box',
29
31
  backgroundColor: token.sliderTrackBackgroundColor,
30
32
  position: 'relative',
33
+ backgroundClip: 'content-box',
31
34
  '$vertical &': {
32
35
  width: token.sliderTrackSize,
33
- height: '100%'
36
+ height: '100%',
37
+ borderLeft: "".concat(token.sliderScaleMarginY, " solid transparent"),
38
+ borderRight: "".concat(token.sliderScaleMarginY, " solid transparent")
34
39
  },
35
40
  '$disabled &': {
36
41
  cursor: 'not-allowed'
@@ -250,7 +255,7 @@ var sliderStyle = {
250
255
  backgroundColor: token.sliderScaleLineBackgroundColor
251
256
  },
252
257
  '$wrapper:not($vertical) &': {
253
- marginTop: token.sliderScaleMarginY,
258
+ // marginTop: token.sliderScaleMarginY,
254
259
  width: 0,
255
260
  '&::before': {
256
261
  width: '1px',
@@ -264,7 +269,7 @@ var sliderStyle = {
264
269
  // '&:last-child $label[dir=rtl]': { transform: 'translate(100%)' },
265
270
  },
266
271
  '$vertical &': {
267
- marginLeft: token.sliderScaleMarginY,
272
+ // marginLeft: token.sliderScaleMarginY,
268
273
  height: 0,
269
274
  '&::before': {
270
275
  height: '1px',
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAUxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CA6exC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAWxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAojBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}