@sheinx/shineout-style 3.9.4-beta.8 → 3.9.4
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.
- package/cjs/alert/alert.d.ts.map +1 -1
- package/cjs/alert/alert.js +6 -3
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +17 -10
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +10 -2
- package/cjs/modal/modal.js +2 -2
- package/cjs/radio/radio.d.ts.map +1 -1
- package/cjs/radio/radio.js +3 -0
- package/cjs/rate/rate.js +2 -2
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +17 -9
- package/cjs/switch/switch.d.ts.map +1 -1
- package/cjs/switch/switch.js +20 -26
- package/cjs/table/table.d.ts.map +1 -1
- package/cjs/table/table.js +6 -7
- package/cjs/tabs/tabs.js +2 -2
- package/cjs/tag/tag.d.ts.map +1 -1
- package/cjs/tag/tag.js +8 -11
- package/cjs/transfer/transfer.js +15 -15
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +14 -9
- package/cjs/version.d.ts +1 -1
- package/cjs/version.d.ts.map +1 -1
- package/cjs/version.js +1 -1
- package/esm/alert/alert.d.ts.map +1 -1
- package/esm/alert/alert.js +6 -3
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +15 -10
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +10 -2
- package/esm/modal/modal.js +2 -2
- package/esm/radio/radio.d.ts.map +1 -1
- package/esm/radio/radio.js +3 -0
- package/esm/rate/rate.js +2 -2
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +15 -9
- package/esm/switch/switch.d.ts.map +1 -1
- package/esm/switch/switch.js +18 -25
- package/esm/table/table.d.ts.map +1 -1
- package/esm/table/table.js +4 -6
- package/esm/tabs/tabs.js +2 -2
- package/esm/tag/tag.d.ts.map +1 -1
- package/esm/tag/tag.js +8 -11
- package/esm/transfer/transfer.js +15 -15
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +14 -9
- package/esm/version.d.ts +1 -1
- package/esm/version.d.ts.map +1 -1
- package/esm/version.js +1 -1
- package/package.json +3 -3
|
@@ -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,
|
|
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"}
|
package/esm/cascader/cascader.js
CHANGED
|
@@ -6,7 +6,7 @@ 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
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
8
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
9
|
-
import token from '@sheinx/theme';
|
|
9
|
+
import token, { getTokenName } from '@sheinx/theme';
|
|
10
10
|
import border from "../input/input-border";
|
|
11
11
|
var inputBorderToken = {
|
|
12
12
|
lineHeight: token.lineHeightDynamic,
|
|
@@ -82,9 +82,9 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
82
82
|
},
|
|
83
83
|
'&$wrapperSmall': {
|
|
84
84
|
'& $tag': {
|
|
85
|
-
lineHeight: '16px',
|
|
86
85
|
marginTop: 1,
|
|
87
|
-
marginBottom: 1
|
|
86
|
+
marginBottom: 1,
|
|
87
|
+
border: 'none'
|
|
88
88
|
},
|
|
89
89
|
'& $placeholder,$ellipsis,$space,input': {
|
|
90
90
|
marginTop: 0,
|
|
@@ -319,12 +319,18 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
319
319
|
clearable: {},
|
|
320
320
|
clearIcon: {
|
|
321
321
|
cursor: 'pointer',
|
|
322
|
-
width: token.
|
|
322
|
+
width: token.cascaderClearIconSize,
|
|
323
323
|
lineHeight: 0,
|
|
324
324
|
color: token.cascaderClearColor,
|
|
325
325
|
verticalAlign: 'middle',
|
|
326
326
|
'&:hover': {
|
|
327
327
|
color: token.cascaderClearHoverColor
|
|
328
|
+
},
|
|
329
|
+
'$wrapperSmall &': {
|
|
330
|
+
width: token.cascaderSmallClearIconSize
|
|
331
|
+
},
|
|
332
|
+
'$wrapperLarge &': {
|
|
333
|
+
width: token.cascaderLargeClearIconSize
|
|
328
334
|
}
|
|
329
335
|
},
|
|
330
336
|
compressedIcon: {},
|
|
@@ -406,7 +412,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
406
412
|
paddingTop: token.cascaderListPaddingY,
|
|
407
413
|
paddingBottom: token.cascaderListPaddingY
|
|
408
414
|
},
|
|
409
|
-
tag: {
|
|
415
|
+
tag: _defineProperty(_defineProperty({
|
|
410
416
|
flexShrink: 0,
|
|
411
417
|
'&$tag + &$tag': {
|
|
412
418
|
marginLeft: 0
|
|
@@ -415,11 +421,10 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
415
421
|
marginRight: token.cascaderTagMarginRight,
|
|
416
422
|
marginTop: token.cascaderTagMarginY,
|
|
417
423
|
marginBottom: token.cascaderTagMarginY,
|
|
418
|
-
textWrap: 'nowrap'
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
},
|
|
424
|
+
textWrap: 'nowrap'
|
|
425
|
+
}, getTokenName('tagDefaultLineBase'), token.inputFontSize), '&$hideTag', {
|
|
426
|
+
marginRight: 0
|
|
427
|
+
}),
|
|
423
428
|
tagOnly: {
|
|
424
429
|
flexShrink: 1,
|
|
425
430
|
minWidth: 42
|
|
@@ -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;AA+D1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,
|
|
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;AA+D1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CA+pBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -300,10 +300,15 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
300
300
|
alignItems: 'center',
|
|
301
301
|
justifyContent: 'center',
|
|
302
302
|
cursor: 'pointer',
|
|
303
|
-
width: token.
|
|
304
|
-
height: token.
|
|
303
|
+
width: "calc(".concat(token.datePickerPanelHeaderFontSize, " + 8px)"),
|
|
304
|
+
height: "calc(".concat(token.datePickerPanelHeaderFontSize, " + 8px)"),
|
|
305
305
|
color: token.datePickerPanelHeaderIconColor,
|
|
306
306
|
borderRadius: '50%',
|
|
307
|
+
'$pickerHeaderRight:has(&), $pickerHeaderLeft:has(&)': {
|
|
308
|
+
display: 'flex',
|
|
309
|
+
alignItems: 'center',
|
|
310
|
+
height: token.datePickerPanelHeaderIconHotWidth
|
|
311
|
+
},
|
|
307
312
|
'&[dir=rtl]': {
|
|
308
313
|
transform: 'rotate(180deg)'
|
|
309
314
|
},
|
|
@@ -356,6 +361,9 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
356
361
|
borderTop: "1px solid ".concat(token.datePickerPanelHeaderBorderColor),
|
|
357
362
|
display: 'flex',
|
|
358
363
|
justifyContent: 'space-between',
|
|
364
|
+
'&:empty': {
|
|
365
|
+
display: 'none'
|
|
366
|
+
},
|
|
359
367
|
'&[dir=rtl] $pickerFooterConfirm': {
|
|
360
368
|
'margin-right': 'auto'
|
|
361
369
|
},
|
package/esm/modal/modal.js
CHANGED
|
@@ -345,8 +345,8 @@ var modalStyle = _objectSpread(_objectSpread({
|
|
|
345
345
|
headerClose: {
|
|
346
346
|
marginLeft: token.modalHeaderCloseMarginXStart,
|
|
347
347
|
marginTop: token.modalHeaderCloseTop,
|
|
348
|
-
width: token.
|
|
349
|
-
height: token.
|
|
348
|
+
width: token.modalHeaderFontSize,
|
|
349
|
+
height: token.modalHeaderFontSize,
|
|
350
350
|
cursor: 'pointer',
|
|
351
351
|
display: 'block',
|
|
352
352
|
color: token.modalHeaderCloseColor,
|
package/esm/radio/radio.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["radio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAG5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["radio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAG5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,CA4K5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/radio/radio.js
CHANGED
|
@@ -20,6 +20,9 @@ var radioStyle = _objectSpread(_objectSpread({}, animations), {}, {
|
|
|
20
20
|
},
|
|
21
21
|
'button&': {
|
|
22
22
|
padding: "".concat(token.radioButtonPaddingY, " ").concat(token.radioButtonPaddingX)
|
|
23
|
+
},
|
|
24
|
+
'button[data-soui-outline]&:not($wrapperChecked):not($wrapperDisabled):not(:hover)': {
|
|
25
|
+
borderColor: token.radioButtonBorderColor
|
|
23
26
|
}
|
|
24
27
|
},
|
|
25
28
|
wrapperSmall: {
|
package/esm/rate/rate.js
CHANGED
|
@@ -38,8 +38,8 @@ var rateStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
38
38
|
display: 'flex',
|
|
39
39
|
boxSizing: 'border-box',
|
|
40
40
|
alignItems: 'center',
|
|
41
|
-
width: token.
|
|
42
|
-
fontSize: token.
|
|
41
|
+
width: "calc(".concat(token.rateFontSize, " + 10px)"),
|
|
42
|
+
fontSize: "calc(".concat(token.rateFontSize, " + 10px)"),
|
|
43
43
|
lineHeight: 1,
|
|
44
44
|
'&:not($itemDisabled):hover': {
|
|
45
45
|
cursor: 'pointer',
|
|
@@ -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,
|
|
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,CAgiB1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/esm/select/select.js
CHANGED
|
@@ -6,7 +6,7 @@ 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
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
8
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
9
|
-
import token from '@sheinx/theme';
|
|
9
|
+
import token, { getTokenName } from '@sheinx/theme';
|
|
10
10
|
import border from "../input/input-border";
|
|
11
11
|
var inputBorderToken = {
|
|
12
12
|
lineHeight: token.lineHeightDynamic,
|
|
@@ -82,7 +82,8 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
82
82
|
'&$wrapperSmall': {
|
|
83
83
|
'& $tag': {
|
|
84
84
|
marginTop: 1,
|
|
85
|
-
marginBottom: 1
|
|
85
|
+
marginBottom: 1,
|
|
86
|
+
border: 'none'
|
|
86
87
|
},
|
|
87
88
|
'& $placeholder,$ellipsis,$space,input': {
|
|
88
89
|
marginTop: 0,
|
|
@@ -313,12 +314,18 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
313
314
|
clearable: {},
|
|
314
315
|
clearIcon: {
|
|
315
316
|
cursor: 'pointer',
|
|
316
|
-
width: token.
|
|
317
|
+
width: token.selectClearIconSize,
|
|
317
318
|
lineHeight: 0,
|
|
318
319
|
color: token.selectClearColor,
|
|
319
320
|
verticalAlign: 'middle',
|
|
320
321
|
'&:hover': {
|
|
321
322
|
color: token.selectIconColor
|
|
323
|
+
},
|
|
324
|
+
'$wrapperSmall &': {
|
|
325
|
+
width: token.selectSmallClearIconSize
|
|
326
|
+
},
|
|
327
|
+
'$wrapperLarge &': {
|
|
328
|
+
width: token.selectLargeClearIconSize
|
|
322
329
|
}
|
|
323
330
|
},
|
|
324
331
|
arrowIcon: {
|
|
@@ -397,7 +404,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
397
404
|
}
|
|
398
405
|
}
|
|
399
406
|
},
|
|
400
|
-
tag: {
|
|
407
|
+
tag: _defineProperty(_defineProperty({
|
|
401
408
|
flexShrink: 0,
|
|
402
409
|
'&$tag + &$tag': {
|
|
403
410
|
marginLeft: 0
|
|
@@ -406,11 +413,10 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
406
413
|
marginRight: token.selectTagMarginRight,
|
|
407
414
|
marginTop: token.selectTagMarginY,
|
|
408
415
|
marginBottom: token.selectTagMarginY,
|
|
409
|
-
textWrap: 'nowrap'
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
},
|
|
416
|
+
textWrap: 'nowrap'
|
|
417
|
+
}, getTokenName('tagDefaultLineBase'), token.inputFontSize), '&$hideTag', {
|
|
418
|
+
marginRight: 0
|
|
419
|
+
}),
|
|
414
420
|
tagOnly: {
|
|
415
421
|
flexShrink: 1,
|
|
416
422
|
minWidth: 42
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["switch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAaxC,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["switch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAaxC,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,aAAa,CA6L9C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/esm/switch/switch.js
CHANGED
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
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
|
-
import token from '@sheinx/theme';
|
|
7
|
+
import token, { getTokenName } from '@sheinx/theme';
|
|
8
8
|
var animation = {
|
|
9
9
|
'@keyframes ring': {
|
|
10
10
|
'0%': {
|
|
@@ -19,7 +19,7 @@ var transition = '.2s cubic-bezier(.34,.69,.1,1)';
|
|
|
19
19
|
var switchStyle = _objectSpread(_objectSpread({
|
|
20
20
|
rootClass: {}
|
|
21
21
|
}, animation), {}, {
|
|
22
|
-
wrapper: {
|
|
22
|
+
wrapper: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
23
23
|
'[data-soui-role="form-control"] > &': {
|
|
24
24
|
margin: '5px 0'
|
|
25
25
|
},
|
|
@@ -44,30 +44,23 @@ var switchStyle = _objectSpread(_objectSpread({
|
|
|
44
44
|
'$wrapperChecked$wrapperDisabled&': {
|
|
45
45
|
backgroundColor: token.switchCheckedDisabledBackgroundColor,
|
|
46
46
|
color: token.switchCheckedDisabledFontColor
|
|
47
|
-
},
|
|
48
|
-
height: "calc( ".concat(token.switchCircleSize, " + ").concat(token.switchPaddingY, " * 2 )"),
|
|
49
|
-
padding: "".concat(token.switchPaddingY, " ").concat(token.switchPaddingX),
|
|
50
|
-
minWidth: token.switchWidth,
|
|
51
|
-
borderRadius: "calc( ".concat(token.switchCircleSize, " / 2 + ").concat(token.switchPaddingY, " )"),
|
|
52
|
-
fontSize: token.switchFontSize,
|
|
53
|
-
'$wrapperSmall&': {
|
|
54
|
-
height: "calc( ".concat(token.switchSmallCircleSize, " + ").concat(token.switchSmallPaddingY, " * 2 )"),
|
|
55
|
-
padding: "".concat(token.switchSmallPaddingY, " ").concat(token.switchSmallPaddingX),
|
|
56
|
-
minWidth: token.switchSmallWidth,
|
|
57
|
-
borderRadius: "calc( ".concat(token.switchSmallCircleSize, " / 2 + ").concat(token.switchSmallPaddingY, " )"),
|
|
58
|
-
fontSize: token.switchSmallFontSize,
|
|
59
|
-
'[data-soui-role="form-control"] > &': {
|
|
60
|
-
marginTop: 8
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
'$wrapperLarge&': {
|
|
64
|
-
height: "calc( ".concat(token.switchLargeCircleSize, " + ").concat(token.switchLargePaddingY, " * 2 )"),
|
|
65
|
-
padding: "".concat(token.switchLargePaddingY, " ").concat(token.switchLargePaddingX),
|
|
66
|
-
minWidth: token.switchLargeWidth,
|
|
67
|
-
borderRadius: "calc( ".concat(token.switchLargeCircleSize, " / 2 + ").concat(token.switchLargePaddingY, " )"),
|
|
68
|
-
fontSize: token.switchLargeFontSize
|
|
69
47
|
}
|
|
70
|
-
},
|
|
48
|
+
}, getTokenName('switchCircleSize'), "calc(".concat(token.switchFontSize, " + 4px)")), "height", "calc( ".concat(token.switchCircleSize, " + ").concat(token.switchPaddingY, " * 2 )")), "padding", "".concat(token.switchPaddingY, " ").concat(token.switchPaddingX)), "minWidth", token.switchWidth), "borderRadius", "calc( ".concat(token.switchCircleSize, " / 2 + ").concat(token.switchPaddingY, " )")), "fontSize", token.switchFontSize), '$wrapperSmall&', {
|
|
49
|
+
height: "calc( ".concat(token.switchSmallCircleSize, " + ").concat(token.switchSmallPaddingY, " * 2 )"),
|
|
50
|
+
padding: "".concat(token.switchSmallPaddingY, " ").concat(token.switchSmallPaddingX),
|
|
51
|
+
minWidth: token.switchSmallWidth,
|
|
52
|
+
borderRadius: "calc( ".concat(token.switchSmallCircleSize, " / 2 + ").concat(token.switchSmallPaddingY, " )"),
|
|
53
|
+
fontSize: token.switchSmallFontSize,
|
|
54
|
+
'[data-soui-role="form-control"] > &': {
|
|
55
|
+
marginTop: 8
|
|
56
|
+
}
|
|
57
|
+
}), '$wrapperLarge&', {
|
|
58
|
+
height: "calc( ".concat(token.switchLargeCircleSize, " + ").concat(token.switchLargePaddingY, " * 2 )"),
|
|
59
|
+
padding: "".concat(token.switchLargePaddingY, " ").concat(token.switchLargePaddingX),
|
|
60
|
+
minWidth: token.switchLargeWidth,
|
|
61
|
+
borderRadius: "calc( ".concat(token.switchLargeCircleSize, " / 2 + ").concat(token.switchLargePaddingY, " )"),
|
|
62
|
+
fontSize: token.switchLargeFontSize
|
|
63
|
+
}),
|
|
71
64
|
wrapperChecked: {},
|
|
72
65
|
textPadding: {
|
|
73
66
|
paddingLeft: token.switchTextPaddingRight,
|
package/esm/table/table.d.ts.map
CHANGED
|
@@ -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,
|
|
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"}
|
package/esm/table/table.js
CHANGED
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
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
|
-
import token from '@sheinx/theme';
|
|
7
|
+
import token, { getTokenName } from '@sheinx/theme';
|
|
8
8
|
import { customScrollBar } from "../mixin";
|
|
9
9
|
var cellBaseIndex = 4;
|
|
10
10
|
var fixedIndex = 6;
|
|
@@ -396,11 +396,9 @@ var tableStyle = _objectSpread(_objectSpread({
|
|
|
396
396
|
marginInlineEnd: -5
|
|
397
397
|
}
|
|
398
398
|
},
|
|
399
|
-
filterIconContainer: {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
}
|
|
403
|
-
},
|
|
399
|
+
filterIconContainer: _defineProperty(_defineProperty({}, getTokenName('buttonSmallCircleSize'), "calc(".concat(token.tableFilterIconSize, " + 8px)")), '&:hover $filterIcon', {
|
|
400
|
+
color: token.tableFilterIconHoverColor
|
|
401
|
+
}),
|
|
404
402
|
filterIcon: {
|
|
405
403
|
width: token.tableFilterIconSize,
|
|
406
404
|
height: token.tableFilterIconSize,
|
package/esm/tabs/tabs.js
CHANGED
|
@@ -732,8 +732,8 @@ var tabsStyle = {
|
|
|
732
732
|
alignItems: 'center',
|
|
733
733
|
justifyContent: 'center',
|
|
734
734
|
borderRadius: '50%',
|
|
735
|
-
width:
|
|
736
|
-
height:
|
|
735
|
+
width: "calc(".concat(Token.tabsArrowFontSize, " + 8px)"),
|
|
736
|
+
height: "calc(".concat(Token.tabsArrowFontSize, " + 8px)")
|
|
737
737
|
},
|
|
738
738
|
bordered: {},
|
|
739
739
|
card: {},
|
package/esm/tag/tag.d.ts.map
CHANGED
|
@@ -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,
|
|
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"}
|
package/esm/tag/tag.js
CHANGED
|
@@ -164,8 +164,8 @@ var TagStyle = {
|
|
|
164
164
|
padding: "".concat(Token.tagLargePaddingY, " ").concat(Token.tagLargePaddingX),
|
|
165
165
|
'& $closeIconWrapper': {
|
|
166
166
|
'& svg': {
|
|
167
|
-
width:
|
|
168
|
-
height:
|
|
167
|
+
width: Token.tagLargeFontSize,
|
|
168
|
+
height: Token.tagLargeFontSize
|
|
169
169
|
}
|
|
170
170
|
},
|
|
171
171
|
'& $wrapper': {
|
|
@@ -185,15 +185,12 @@ var TagStyle = {
|
|
|
185
185
|
lineHeight: "var(".concat(Token.tagSmallLineHeight, ", calc(").concat(Token.tagSmallFontSize, " + 6px))")
|
|
186
186
|
},
|
|
187
187
|
'& $closeIcon': {
|
|
188
|
-
height: "var(".concat(Token.tagSmallLineHeight, ", calc(").concat(Token.tagSmallFontSize, " +
|
|
188
|
+
height: "var(".concat(Token.tagSmallLineHeight, ", calc(").concat(Token.tagSmallFontSize, " + 4px))")
|
|
189
189
|
},
|
|
190
190
|
'& $closeIconWrapper': {
|
|
191
|
-
width: "calc(".concat(Token.tagSmallFontSize, " + 6px)"),
|
|
192
|
-
height: "calc(".concat(Token.tagSmallFontSize, " + 6px)"),
|
|
193
|
-
lineHeight: "calc(".concat(Token.tagSmallFontSize, " + 6px)"),
|
|
194
191
|
'& svg': {
|
|
195
|
-
width:
|
|
196
|
-
height:
|
|
192
|
+
width: Token.tagSmallFontSize,
|
|
193
|
+
height: Token.tagSmallFontSize
|
|
197
194
|
}
|
|
198
195
|
}
|
|
199
196
|
},
|
|
@@ -204,7 +201,7 @@ var TagStyle = {
|
|
|
204
201
|
}
|
|
205
202
|
},
|
|
206
203
|
closeIcon: {
|
|
207
|
-
marginLeft:
|
|
204
|
+
marginLeft: 2,
|
|
208
205
|
alignItems: 'center',
|
|
209
206
|
display: 'inline-flex',
|
|
210
207
|
cursor: 'pointer',
|
|
@@ -219,8 +216,8 @@ var TagStyle = {
|
|
|
219
216
|
width: "calc(1em + 4px)",
|
|
220
217
|
height: "calc(1em + 4px)",
|
|
221
218
|
'& svg': {
|
|
222
|
-
width:
|
|
223
|
-
height:
|
|
219
|
+
width: Token.tagFontSize,
|
|
220
|
+
height: Token.tagFontSize
|
|
224
221
|
}
|
|
225
222
|
},
|
|
226
223
|
info: _objectSpread({}, brightTag('info', 'Info')),
|
package/esm/transfer/transfer.js
CHANGED
|
@@ -15,7 +15,7 @@ var TransferStyle = {
|
|
|
15
15
|
small: {
|
|
16
16
|
'& $operations': {
|
|
17
17
|
'& svg': {
|
|
18
|
-
width:
|
|
18
|
+
width: Token.transferSmallFontSize
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
'& $header': {
|
|
@@ -25,7 +25,7 @@ var TransferStyle = {
|
|
|
25
25
|
fontSize: Token.transferSmallFontSize
|
|
26
26
|
},
|
|
27
27
|
'& $close': {
|
|
28
|
-
width:
|
|
28
|
+
width: "calc(".concat(Token.transferSmallFontSize, " + 8px)")
|
|
29
29
|
},
|
|
30
30
|
'& $left, & $right': {
|
|
31
31
|
padding: 0
|
|
@@ -81,19 +81,19 @@ var TransferStyle = {
|
|
|
81
81
|
lineHeight: Token.lineHeightDynamic
|
|
82
82
|
},
|
|
83
83
|
removeAll: {
|
|
84
|
-
width:
|
|
85
|
-
height:
|
|
84
|
+
width: "calc(".concat(Token.transferFontSize, " + 8px)"),
|
|
85
|
+
height: "calc(".concat(Token.transferFontSize, " + 8px)"),
|
|
86
86
|
borderRadius: '50%',
|
|
87
|
-
minWidth:
|
|
87
|
+
minWidth: "calc(".concat(Token.transferFontSize, " + 8px)"),
|
|
88
88
|
fontSize: Token.transferFontSize,
|
|
89
|
-
lineHeight:
|
|
89
|
+
lineHeight: "calc(".concat(Token.transferFontSize, " + 8px)"),
|
|
90
90
|
cursor: 'pointer',
|
|
91
91
|
display: 'flex',
|
|
92
92
|
alignItems: 'center',
|
|
93
93
|
justifyContent: 'center',
|
|
94
94
|
marginLeft: 3,
|
|
95
95
|
'& svg': {
|
|
96
|
-
width:
|
|
96
|
+
width: Token.transferFontSize,
|
|
97
97
|
color: Token.transferRemoveIconColor
|
|
98
98
|
},
|
|
99
99
|
'&:hover': {
|
|
@@ -101,12 +101,12 @@ var TransferStyle = {
|
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
103
|
close: {
|
|
104
|
-
width:
|
|
105
|
-
height:
|
|
104
|
+
width: "calc(".concat(Token.transferFontSize, " + 8px)"),
|
|
105
|
+
height: "calc(".concat(Token.transferFontSize, " + 8px)"),
|
|
106
106
|
flexShrink: 0,
|
|
107
107
|
borderRadius: '50%',
|
|
108
|
-
minWidth:
|
|
109
|
-
fontSize:
|
|
108
|
+
minWidth: "calc(".concat(Token.transferFontSize, " + 8px)"),
|
|
109
|
+
fontSize: Token.transferFontSize,
|
|
110
110
|
cursor: 'pointer',
|
|
111
111
|
color: Token.transferIconColor,
|
|
112
112
|
lineHeight: "calc(".concat(Token.lineHeightDynamic, " + 2px)"),
|
|
@@ -115,7 +115,7 @@ var TransferStyle = {
|
|
|
115
115
|
alignItems: 'center',
|
|
116
116
|
justifyContent: 'center',
|
|
117
117
|
'& svg': {
|
|
118
|
-
width:
|
|
118
|
+
width: Token.transferFontSize
|
|
119
119
|
},
|
|
120
120
|
'&:hover': {
|
|
121
121
|
background: Token.transferIconBackgroundColor
|
|
@@ -128,7 +128,7 @@ var TransferStyle = {
|
|
|
128
128
|
justifyContent: 'center',
|
|
129
129
|
flexDirection: 'column',
|
|
130
130
|
'& svg': {
|
|
131
|
-
width:
|
|
131
|
+
width: Token.transferFontSize
|
|
132
132
|
}
|
|
133
133
|
},
|
|
134
134
|
inputWrapper: {
|
|
@@ -136,8 +136,8 @@ var TransferStyle = {
|
|
|
136
136
|
},
|
|
137
137
|
input: {
|
|
138
138
|
'& > div > svg': {
|
|
139
|
-
width:
|
|
140
|
-
minWidth:
|
|
139
|
+
width: Token.transferFontSize,
|
|
140
|
+
minWidth: Token.transferFontSize,
|
|
141
141
|
color: Token.transferIconColor
|
|
142
142
|
}
|
|
143
143
|
},
|
|
@@ -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,
|
|
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,CAogBlD,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -81,9 +81,9 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
81
81
|
},
|
|
82
82
|
'&$wrapperSmall': {
|
|
83
83
|
'& $tag': {
|
|
84
|
-
lineHeight: '16px',
|
|
85
84
|
marginTop: 1,
|
|
86
|
-
marginBottom: 1
|
|
85
|
+
marginBottom: 1,
|
|
86
|
+
border: 'none'
|
|
87
87
|
},
|
|
88
88
|
'& $placeholder,$ellipsis,$space,input': {
|
|
89
89
|
marginTop: 0,
|
|
@@ -291,12 +291,18 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
291
291
|
clearable: {},
|
|
292
292
|
clearIcon: {
|
|
293
293
|
cursor: 'pointer',
|
|
294
|
-
width: token.
|
|
294
|
+
width: token.treeSelectClearIconSize,
|
|
295
295
|
lineHeight: 0,
|
|
296
296
|
color: token.treeSelectClearColor,
|
|
297
297
|
verticalAlign: 'middle',
|
|
298
298
|
'&:hover svg': {
|
|
299
299
|
color: token.treeSelectClearHoverColor
|
|
300
|
+
},
|
|
301
|
+
'$wrapperSmall &': {
|
|
302
|
+
width: token.treeSelectSmallClearIconSize
|
|
303
|
+
},
|
|
304
|
+
'$wrapperLarge &': {
|
|
305
|
+
width: token.treeSelectLargeClearIconSize
|
|
300
306
|
}
|
|
301
307
|
},
|
|
302
308
|
arrowIcon: {
|
|
@@ -378,7 +384,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
378
384
|
}
|
|
379
385
|
}
|
|
380
386
|
},
|
|
381
|
-
tag: {
|
|
387
|
+
tag: _defineProperty(_defineProperty({
|
|
382
388
|
flexShrink: 0,
|
|
383
389
|
'&$tag + &$tag': {
|
|
384
390
|
marginLeft: 0
|
|
@@ -387,11 +393,10 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
387
393
|
marginRight: token.treeSelectTagMarginRight,
|
|
388
394
|
marginTop: token.treeSelectTagMarginY,
|
|
389
395
|
marginBottom: token.treeSelectTagMarginY,
|
|
390
|
-
textWrap: 'nowrap'
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
},
|
|
396
|
+
textWrap: 'nowrap'
|
|
397
|
+
}, getTokenName('tagDefaultLineBase'), token.inputFontSize), '&$hideTag', {
|
|
398
|
+
marginRight: 0
|
|
399
|
+
}),
|
|
395
400
|
tagOnly: {
|
|
396
401
|
flexShrink: 1,
|
|
397
402
|
minWidth: 42
|
package/esm/version.d.ts
CHANGED
package/esm/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAAuB"}
|
package/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '3.9.4
|
|
1
|
+
export default '3.9.4';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/shineout-style",
|
|
3
|
-
"version": "3.9.4
|
|
3
|
+
"version": "3.9.4",
|
|
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.4
|
|
21
|
-
"@sheinx/base": "3.9.4
|
|
20
|
+
"@sheinx/theme": "3.9.4",
|
|
21
|
+
"@sheinx/base": "3.9.4"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"core-js": ">=3"
|