@sheinx/shineout-style 3.9.8-beta.1 → 3.9.8-beta.11

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.
@@ -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;AAuDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CA+gB9C,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;AAuDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAohB9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -366,7 +366,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
366
366
  marginBottom: _theme.default.cascaderPlaceholderMarginY
367
367
  },
368
368
  multiple: {
369
- '& $optionInner': {
369
+ '& $optionInner:not($optionLeaf)': {
370
370
  paddingRight: _theme.default.cascaderOptionInnerPaddingRight
371
371
  },
372
372
  '& $resultTextWrapper': {
@@ -536,6 +536,11 @@ var cascaderStyle = _objectSpread(_objectSpread({
536
536
  optionIcon: {
537
537
  position: 'absolute',
538
538
  right: 8,
539
+ '[dir=rtl] &': {
540
+ left: 8,
541
+ right: 'auto',
542
+ transform: 'rotate(180deg)'
543
+ },
539
544
  top: 0,
540
545
  bottom: 0,
541
546
  fontSize: _theme.default.cascaderFontSize,
@@ -1 +1 @@
1
- {"version":3,"file":"descriptions.d.ts","sourceRoot":"","sources":["descriptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;AAE9D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,qBAAqB,CAmLtD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"descriptions.d.ts","sourceRoot":"","sources":["descriptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;AAE9D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,qBAAqB,CAiLtD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -54,11 +54,9 @@ var descriptionsStyle = {
54
54
  lineHeight: _theme.default.lineHeightDynamic
55
55
  },
56
56
  row: {
57
- // '&>td': {
58
- // '&:not(:last-child)': {
59
- // paddingRight: token.descriptionsCellGap,
60
- // },
61
- // },
57
+ '$body:not($border) & > td': {
58
+ border: 'none'
59
+ }
62
60
  },
63
61
  label: {
64
62
  paddingRight: _theme.default.descriptionsLabelPaddingRight,
@@ -330,8 +330,8 @@ var modalStyle = _objectSpread(_objectSpread({
330
330
  '$wrapper &': {
331
331
  marginRight: _theme.default.modalHeaderIconMarginEnd,
332
332
  marginTop: _theme.default.modalHeaderIconMarginTop,
333
- width: _theme.default.modalHeaderIconSize,
334
- height: _theme.default.modalHeaderIconSize,
333
+ width: "calc(".concat(_theme.default.modalHeaderFontSize, " + 2px)"),
334
+ height: "calc(".concat(_theme.default.modalHeaderFontSize, " + 2px)"),
335
335
  lineHeight: _theme.default.modalHeaderIconSize,
336
336
  display: 'block',
337
337
  alignItems: 'center'
@@ -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,CA4K9C,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,CA4L9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -64,6 +64,9 @@ var progressStyle = {
64
64
  backgroundColor: _theme.default.progressSuccessFrontBackgroundColor,
65
65
  '& + $lineFront': {
66
66
  zIndex: 1
67
+ },
68
+ '$noAnimation &': {
69
+ transition: 'none'
67
70
  }
68
71
  },
69
72
  lineFront: {
@@ -101,6 +104,9 @@ var progressStyle = {
101
104
  '$wrapperDanger&': {
102
105
  backgroundColor: _theme.default.progressLineInnerDangerFrontBackgroundColor
103
106
  }
107
+ },
108
+ '$noAnimation &': {
109
+ transition: 'none'
104
110
  }
105
111
  },
106
112
  content: {
@@ -140,7 +146,10 @@ var progressStyle = {
140
146
  padding: '3px 8px',
141
147
  borderRadius: '2px',
142
148
  color: _theme.default.progressLinePopFontColor,
143
- 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)'
149
+ 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)',
150
+ '$noAnimation &': {
151
+ transition: 'none'
152
+ }
144
153
  },
145
154
  linePopValue: {},
146
155
  linePopArrow: {
@@ -213,13 +222,20 @@ var progressStyle = {
213
222
  },
214
223
  '$wrapperDanger &': {
215
224
  stroke: _theme.default.progressDangerFrontBackgroundColor
225
+ },
226
+ '$noAnimation &': {
227
+ transition: 'none'
216
228
  }
217
229
  },
218
230
  circleSuccess: {
219
231
  transform: 'rotate(-90deg)',
220
232
  transformOrigin: '50% 50%',
221
233
  transition: 'stroke-dashoffset .32s ease 0s,stroke-dasharray .32s ease 0s,stroke .32s,stroke-width .06s ease .32s',
222
- stroke: _theme.default.progressSuccessFrontBackgroundColor
223
- }
234
+ stroke: _theme.default.progressSuccessFrontBackgroundColor,
235
+ '$noAnimation &': {
236
+ transition: 'none'
237
+ }
238
+ },
239
+ noAnimation: {}
224
240
  };
225
241
  var _default = exports.default = progressStyle;
@@ -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;AAWxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CA6oBxC,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,CA+oBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -344,7 +344,8 @@ var tableStyle = _objectSpread(_objectSpread({
344
344
  right: "-".concat(shadowWidth, "px")
345
345
  },
346
346
  '&[dir=rtl]::after': {
347
- left: "-".concat(shadowWidth, "px")
347
+ left: "-".concat(shadowWidth, "px"),
348
+ boxShadow: 'inset -8px 0 10px -6px rgba(2,11,24,.1)'
348
349
  }
349
350
  },
350
351
  '& table': {
@@ -373,7 +374,8 @@ var tableStyle = _objectSpread(_objectSpread({
373
374
  boxShadow: 'inset -8px 0 10px -6px rgba(2,11,24,.1)'
374
375
  },
375
376
  '&[dir=rtl]::before': {
376
- right: "-".concat(shadowWidth, "px")
377
+ right: "-".concat(shadowWidth, "px"),
378
+ boxShadow: 'inset 8px 0 10px -6px rgba(2,11,24,.1)'
377
379
  },
378
380
  '&[dir=ltr]::before': {
379
381
  left: "-".concat(shadowWidth, "px")
@@ -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;AAqJ1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CAqNxC,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;AA4J1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CA0NxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/cjs/tag/tag.js CHANGED
@@ -13,6 +13,16 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
14
14
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
15
15
  var tagDefaultLineHeight = "calc(".concat(_theme.default.tagDefaultLineBase, " + 6px)");
16
+ var animations = {
17
+ '@keyframes spin': {
18
+ '0%': {
19
+ transform: 'rotate(0deg)'
20
+ },
21
+ '100%': {
22
+ transform: 'rotate(360deg)'
23
+ }
24
+ }
25
+ };
16
26
  var brightTag = function brightTag(name, type) {
17
27
  return {
18
28
  color: _theme.default["tag".concat(type, "FontColor")],
@@ -113,7 +123,7 @@ var brightOutlineTag = function brightOutlineTag(name, type) {
113
123
  }
114
124
  });
115
125
  };
116
- var TagStyle = {
126
+ var TagStyle = _objectSpread(_objectSpread({
117
127
  rootClass: {},
118
128
  tag: {
119
129
  display: 'inline-flex',
@@ -214,6 +224,10 @@ var TagStyle = {
214
224
  cursor: 'pointer',
215
225
  height: tagDefaultLineHeight,
216
226
  maxHeight: '100%'
227
+ }
228
+ }, animations), {}, {
229
+ closeIconPending: {
230
+ animation: "$spin 1s linear infinite"
217
231
  },
218
232
  closeIconWrapper: {
219
233
  display: 'inline-flex',
@@ -248,5 +262,5 @@ var TagStyle = {
248
262
  rounded: {
249
263
  borderRadius: _theme.default.buttonRoundBorderRadius
250
264
  }
251
- };
265
+ });
252
266
  var _default = exports.default = TagStyle;
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAyDxC,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,eAAe,CAqG1C,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAyDxC,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,eAAe,CAyG1C,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -147,6 +147,10 @@ var input = _objectSpread(_objectSpread(_objectSpread({
147
147
  display: 'block',
148
148
  width: _theme.default.textareaClearSize,
149
149
  height: _theme.default.textareaClearSize
150
+ },
151
+ '[dir="rtl"] &': {
152
+ right: 'auto',
153
+ left: _theme.default.textareaPaddingX
150
154
  }
151
155
  },
152
156
  wrapperWithClear: {
@@ -165,10 +165,10 @@ var tooltipStyle = _objectSpread(_objectSpread({
165
165
  boxSizing: 'border-box',
166
166
  '--tooltip-background-color': _theme.default.tooltipLightBackgroundColor,
167
167
  '&[data-soui-position^="top"] $arrow': {
168
- transform: 'translate(0, -1px) rotate(-180deg)'
168
+ transform: 'translate(-50%, -1px) rotate(-180deg)'
169
169
  },
170
170
  '&[data-soui-position^="bottom"] $arrow': {
171
- transform: 'translate(0, calc(-100% + 1px)) rotate(0deg)'
171
+ transform: 'translate(-50%, calc(-100% + 1px)) rotate(0deg)'
172
172
  },
173
173
  '& $arrow:before': {
174
174
  clipPath: 'none',
@@ -482,7 +482,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
482
482
  optionDisabled: {
483
483
  cursor: 'not-allowed',
484
484
  color: _theme.default.treeSelectOptionDisabledColor,
485
- backgroundColor: _theme.default.treeSelectOptionDisabledBackgroundColor,
485
+ // backgroundColor: token.treeSelectOptionDisabledBackgroundColor,
486
486
  '&>[data-role="text"]': {
487
487
  color: _theme.default.treeSelectOptionDisabledColor,
488
488
  backgroundColor: _theme.default.treeSelectOptionDisabledBackgroundColor
package/cjs/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.9.8-beta.1";
1
+ declare const _default: "3.9.8-beta.11";
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,wBAA+B"}
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.8-beta.1';
7
+ var _default = exports.default = '3.9.8-beta.11';
@@ -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;AAuDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CA+gB9C,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;AAuDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAohB9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -357,7 +357,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
357
357
  marginBottom: token.cascaderPlaceholderMarginY
358
358
  },
359
359
  multiple: {
360
- '& $optionInner': {
360
+ '& $optionInner:not($optionLeaf)': {
361
361
  paddingRight: token.cascaderOptionInnerPaddingRight
362
362
  },
363
363
  '& $resultTextWrapper': {
@@ -527,6 +527,11 @@ var cascaderStyle = _objectSpread(_objectSpread({
527
527
  optionIcon: {
528
528
  position: 'absolute',
529
529
  right: 8,
530
+ '[dir=rtl] &': {
531
+ left: 8,
532
+ right: 'auto',
533
+ transform: 'rotate(180deg)'
534
+ },
530
535
  top: 0,
531
536
  bottom: 0,
532
537
  fontSize: token.cascaderFontSize,
@@ -1 +1 @@
1
- {"version":3,"file":"descriptions.d.ts","sourceRoot":"","sources":["descriptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;AAE9D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,qBAAqB,CAmLtD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"descriptions.d.ts","sourceRoot":"","sources":["descriptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;AAE9D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,qBAAqB,CAiLtD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -47,11 +47,9 @@ var descriptionsStyle = {
47
47
  lineHeight: token.lineHeightDynamic
48
48
  },
49
49
  row: {
50
- // '&>td': {
51
- // '&:not(:last-child)': {
52
- // paddingRight: token.descriptionsCellGap,
53
- // },
54
- // },
50
+ '$body:not($border) & > td': {
51
+ border: 'none'
52
+ }
55
53
  },
56
54
  label: {
57
55
  paddingRight: token.descriptionsLabelPaddingRight,
@@ -323,8 +323,8 @@ var modalStyle = _objectSpread(_objectSpread({
323
323
  '$wrapper &': {
324
324
  marginRight: token.modalHeaderIconMarginEnd,
325
325
  marginTop: token.modalHeaderIconMarginTop,
326
- width: token.modalHeaderIconSize,
327
- height: token.modalHeaderIconSize,
326
+ width: "calc(".concat(token.modalHeaderFontSize, " + 2px)"),
327
+ height: "calc(".concat(token.modalHeaderFontSize, " + 2px)"),
328
328
  lineHeight: token.modalHeaderIconSize,
329
329
  display: 'block',
330
330
  alignItems: 'center'
@@ -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,CA4K9C,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,CA4L9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -57,6 +57,9 @@ var progressStyle = {
57
57
  backgroundColor: token.progressSuccessFrontBackgroundColor,
58
58
  '& + $lineFront': {
59
59
  zIndex: 1
60
+ },
61
+ '$noAnimation &': {
62
+ transition: 'none'
60
63
  }
61
64
  },
62
65
  lineFront: {
@@ -94,6 +97,9 @@ var progressStyle = {
94
97
  '$wrapperDanger&': {
95
98
  backgroundColor: token.progressLineInnerDangerFrontBackgroundColor
96
99
  }
100
+ },
101
+ '$noAnimation &': {
102
+ transition: 'none'
97
103
  }
98
104
  },
99
105
  content: {
@@ -133,7 +139,10 @@ var progressStyle = {
133
139
  padding: '3px 8px',
134
140
  borderRadius: '2px',
135
141
  color: token.progressLinePopFontColor,
136
- 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)'
142
+ 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)',
143
+ '$noAnimation &': {
144
+ transition: 'none'
145
+ }
137
146
  },
138
147
  linePopValue: {},
139
148
  linePopArrow: {
@@ -206,13 +215,20 @@ var progressStyle = {
206
215
  },
207
216
  '$wrapperDanger &': {
208
217
  stroke: token.progressDangerFrontBackgroundColor
218
+ },
219
+ '$noAnimation &': {
220
+ transition: 'none'
209
221
  }
210
222
  },
211
223
  circleSuccess: {
212
224
  transform: 'rotate(-90deg)',
213
225
  transformOrigin: '50% 50%',
214
226
  transition: 'stroke-dashoffset .32s ease 0s,stroke-dasharray .32s ease 0s,stroke .32s,stroke-width .06s ease .32s',
215
- stroke: token.progressSuccessFrontBackgroundColor
216
- }
227
+ stroke: token.progressSuccessFrontBackgroundColor,
228
+ '$noAnimation &': {
229
+ transition: 'none'
230
+ }
231
+ },
232
+ noAnimation: {}
217
233
  };
218
234
  export default progressStyle;
@@ -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;AAWxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CA6oBxC,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,CA+oBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -336,7 +336,8 @@ var tableStyle = _objectSpread(_objectSpread({
336
336
  right: "-".concat(shadowWidth, "px")
337
337
  },
338
338
  '&[dir=rtl]::after': {
339
- left: "-".concat(shadowWidth, "px")
339
+ left: "-".concat(shadowWidth, "px"),
340
+ boxShadow: 'inset -8px 0 10px -6px rgba(2,11,24,.1)'
340
341
  }
341
342
  },
342
343
  '& table': {
@@ -365,7 +366,8 @@ var tableStyle = _objectSpread(_objectSpread({
365
366
  boxShadow: 'inset -8px 0 10px -6px rgba(2,11,24,.1)'
366
367
  },
367
368
  '&[dir=rtl]::before': {
368
- right: "-".concat(shadowWidth, "px")
369
+ right: "-".concat(shadowWidth, "px"),
370
+ boxShadow: 'inset 8px 0 10px -6px rgba(2,11,24,.1)'
369
371
  },
370
372
  '&[dir=ltr]::before': {
371
373
  left: "-".concat(shadowWidth, "px")
@@ -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;AAqJ1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CAqNxC,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;AA4J1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CA0NxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/esm/tag/tag.js CHANGED
@@ -6,6 +6,16 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  import Token from '@sheinx/theme';
8
8
  var tagDefaultLineHeight = "calc(".concat(Token.tagDefaultLineBase, " + 6px)");
9
+ var animations = {
10
+ '@keyframes spin': {
11
+ '0%': {
12
+ transform: 'rotate(0deg)'
13
+ },
14
+ '100%': {
15
+ transform: 'rotate(360deg)'
16
+ }
17
+ }
18
+ };
9
19
  var brightTag = function brightTag(name, type) {
10
20
  return {
11
21
  color: Token["tag".concat(type, "FontColor")],
@@ -106,7 +116,7 @@ var brightOutlineTag = function brightOutlineTag(name, type) {
106
116
  }
107
117
  });
108
118
  };
109
- var TagStyle = {
119
+ var TagStyle = _objectSpread(_objectSpread({
110
120
  rootClass: {},
111
121
  tag: {
112
122
  display: 'inline-flex',
@@ -207,6 +217,10 @@ var TagStyle = {
207
217
  cursor: 'pointer',
208
218
  height: tagDefaultLineHeight,
209
219
  maxHeight: '100%'
220
+ }
221
+ }, animations), {}, {
222
+ closeIconPending: {
223
+ animation: "$spin 1s linear infinite"
210
224
  },
211
225
  closeIconWrapper: {
212
226
  display: 'inline-flex',
@@ -241,5 +255,5 @@ var TagStyle = {
241
255
  rounded: {
242
256
  borderRadius: Token.buttonRoundBorderRadius
243
257
  }
244
- };
258
+ });
245
259
  export default TagStyle;
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAyDxC,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,eAAe,CAqG1C,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAyDxC,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,eAAe,CAyG1C,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -140,6 +140,10 @@ var input = _objectSpread(_objectSpread(_objectSpread({
140
140
  display: 'block',
141
141
  width: token.textareaClearSize,
142
142
  height: token.textareaClearSize
143
+ },
144
+ '[dir="rtl"] &': {
145
+ right: 'auto',
146
+ left: token.textareaPaddingX
143
147
  }
144
148
  },
145
149
  wrapperWithClear: {
@@ -158,10 +158,10 @@ var tooltipStyle = _objectSpread(_objectSpread({
158
158
  boxSizing: 'border-box',
159
159
  '--tooltip-background-color': token.tooltipLightBackgroundColor,
160
160
  '&[data-soui-position^="top"] $arrow': {
161
- transform: 'translate(0, -1px) rotate(-180deg)'
161
+ transform: 'translate(-50%, -1px) rotate(-180deg)'
162
162
  },
163
163
  '&[data-soui-position^="bottom"] $arrow': {
164
- transform: 'translate(0, calc(-100% + 1px)) rotate(0deg)'
164
+ transform: 'translate(-50%, calc(-100% + 1px)) rotate(0deg)'
165
165
  },
166
166
  '& $arrow:before': {
167
167
  clipPath: 'none',
@@ -473,7 +473,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
473
473
  optionDisabled: {
474
474
  cursor: 'not-allowed',
475
475
  color: token.treeSelectOptionDisabledColor,
476
- backgroundColor: token.treeSelectOptionDisabledBackgroundColor,
476
+ // backgroundColor: token.treeSelectOptionDisabledBackgroundColor,
477
477
  '&>[data-role="text"]': {
478
478
  color: token.treeSelectOptionDisabledColor,
479
479
  backgroundColor: token.treeSelectOptionDisabledBackgroundColor
package/esm/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.9.8-beta.1";
1
+ declare const _default: "3.9.8-beta.11";
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,wBAA+B"}
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export default '3.9.8-beta.1';
1
+ export default '3.9.8-beta.11';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/shineout-style",
3
- "version": "3.9.8-beta.1",
3
+ "version": "3.9.8-beta.11",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,8 +17,8 @@
17
17
  "dependencies": {
18
18
  "jss": "10.9.2",
19
19
  "react-jss": "10.9.2",
20
- "@sheinx/theme": "3.9.8-beta.1",
21
- "@sheinx/base": "3.9.8-beta.1"
20
+ "@sheinx/theme": "3.9.8-beta.11",
21
+ "@sheinx/base": "3.9.8-beta.11"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "core-js": ">=3"