@sheinx/shineout-style 3.9.4-beta.9 → 3.9.5-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.
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +10 -9
- 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 +10 -8
- 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 +7 -8
- package/cjs/version.d.ts +1 -1
- package/cjs/version.js +1 -1
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +8 -9
- 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 +8 -8
- 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 +7 -8
- package/esm/version.d.ts +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/cjs/cascader/cascader.js
CHANGED
|
@@ -5,9 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _theme =
|
|
8
|
+
var _theme = _interopRequireWildcard(require("@sheinx/theme"));
|
|
9
9
|
var _inputBorder = _interopRequireDefault(require("../input/input-border"));
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
15
|
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; }
|
|
@@ -89,9 +91,9 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
89
91
|
},
|
|
90
92
|
'&$wrapperSmall': {
|
|
91
93
|
'& $tag': {
|
|
92
|
-
lineHeight: '16px',
|
|
93
94
|
marginTop: 1,
|
|
94
|
-
marginBottom: 1
|
|
95
|
+
marginBottom: 1,
|
|
96
|
+
border: 'none'
|
|
95
97
|
},
|
|
96
98
|
'& $placeholder,$ellipsis,$space,input': {
|
|
97
99
|
marginTop: 0,
|
|
@@ -419,7 +421,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
419
421
|
paddingTop: _theme.default.cascaderListPaddingY,
|
|
420
422
|
paddingBottom: _theme.default.cascaderListPaddingY
|
|
421
423
|
},
|
|
422
|
-
tag: {
|
|
424
|
+
tag: _defineProperty(_defineProperty({
|
|
423
425
|
flexShrink: 0,
|
|
424
426
|
'&$tag + &$tag': {
|
|
425
427
|
marginLeft: 0
|
|
@@ -428,11 +430,10 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
428
430
|
marginRight: _theme.default.cascaderTagMarginRight,
|
|
429
431
|
marginTop: _theme.default.cascaderTagMarginY,
|
|
430
432
|
marginBottom: _theme.default.cascaderTagMarginY,
|
|
431
|
-
textWrap: 'nowrap'
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
},
|
|
433
|
+
textWrap: 'nowrap'
|
|
434
|
+
}, (0, _theme.getTokenName)('tagDefaultLineBase'), _theme.default.inputFontSize), '&$hideTag', {
|
|
435
|
+
marginRight: 0
|
|
436
|
+
}),
|
|
436
437
|
tagOnly: {
|
|
437
438
|
flexShrink: 1,
|
|
438
439
|
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"}
|
|
@@ -307,10 +307,15 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
307
307
|
alignItems: 'center',
|
|
308
308
|
justifyContent: 'center',
|
|
309
309
|
cursor: 'pointer',
|
|
310
|
-
width: _theme.default.
|
|
311
|
-
height: _theme.default.
|
|
310
|
+
width: "calc(".concat(_theme.default.datePickerPanelHeaderFontSize, " + 8px)"),
|
|
311
|
+
height: "calc(".concat(_theme.default.datePickerPanelHeaderFontSize, " + 8px)"),
|
|
312
312
|
color: _theme.default.datePickerPanelHeaderIconColor,
|
|
313
313
|
borderRadius: '50%',
|
|
314
|
+
'$pickerHeaderRight:has(&), $pickerHeaderLeft:has(&)': {
|
|
315
|
+
display: 'flex',
|
|
316
|
+
alignItems: 'center',
|
|
317
|
+
height: _theme.default.datePickerPanelHeaderIconHotWidth
|
|
318
|
+
},
|
|
314
319
|
'&[dir=rtl]': {
|
|
315
320
|
transform: 'rotate(180deg)'
|
|
316
321
|
},
|
|
@@ -363,6 +368,9 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
363
368
|
borderTop: "1px solid ".concat(_theme.default.datePickerPanelHeaderBorderColor),
|
|
364
369
|
display: 'flex',
|
|
365
370
|
justifyContent: 'space-between',
|
|
371
|
+
'&:empty': {
|
|
372
|
+
display: 'none'
|
|
373
|
+
},
|
|
366
374
|
'&[dir=rtl] $pickerFooterConfirm': {
|
|
367
375
|
'margin-right': 'auto'
|
|
368
376
|
},
|
package/cjs/modal/modal.js
CHANGED
|
@@ -352,8 +352,8 @@ var modalStyle = _objectSpread(_objectSpread({
|
|
|
352
352
|
headerClose: {
|
|
353
353
|
marginLeft: _theme.default.modalHeaderCloseMarginXStart,
|
|
354
354
|
marginTop: _theme.default.modalHeaderCloseTop,
|
|
355
|
-
width: _theme.default.
|
|
356
|
-
height: _theme.default.
|
|
355
|
+
width: _theme.default.modalHeaderFontSize,
|
|
356
|
+
height: _theme.default.modalHeaderFontSize,
|
|
357
357
|
cursor: 'pointer',
|
|
358
358
|
display: 'block',
|
|
359
359
|
color: _theme.default.modalHeaderCloseColor,
|
package/cjs/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/cjs/radio/radio.js
CHANGED
|
@@ -27,6 +27,9 @@ var radioStyle = _objectSpread(_objectSpread({}, _common.animations), {}, {
|
|
|
27
27
|
},
|
|
28
28
|
'button&': {
|
|
29
29
|
padding: "".concat(_theme.default.radioButtonPaddingY, " ").concat(_theme.default.radioButtonPaddingX)
|
|
30
|
+
},
|
|
31
|
+
'button[data-soui-outline]&:not($wrapperChecked):not($wrapperDisabled):not(:hover)': {
|
|
32
|
+
borderColor: _theme.default.radioButtonBorderColor
|
|
30
33
|
}
|
|
31
34
|
},
|
|
32
35
|
wrapperSmall: {
|
package/cjs/rate/rate.js
CHANGED
|
@@ -45,8 +45,8 @@ var rateStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
45
45
|
display: 'flex',
|
|
46
46
|
boxSizing: 'border-box',
|
|
47
47
|
alignItems: 'center',
|
|
48
|
-
width: _theme.default.
|
|
49
|
-
fontSize: _theme.default.
|
|
48
|
+
width: "calc(".concat(_theme.default.rateFontSize, " + 10px)"),
|
|
49
|
+
fontSize: "calc(".concat(_theme.default.rateFontSize, " + 10px)"),
|
|
50
50
|
lineHeight: 1,
|
|
51
51
|
'&:not($itemDisabled):hover': {
|
|
52
52
|
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/cjs/select/select.js
CHANGED
|
@@ -5,9 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _theme =
|
|
8
|
+
var _theme = _interopRequireWildcard(require("@sheinx/theme"));
|
|
9
9
|
var _inputBorder = _interopRequireDefault(require("../input/input-border"));
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
15
|
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; }
|
|
@@ -89,7 +91,8 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
89
91
|
'&$wrapperSmall': {
|
|
90
92
|
'& $tag': {
|
|
91
93
|
marginTop: 1,
|
|
92
|
-
marginBottom: 1
|
|
94
|
+
marginBottom: 1,
|
|
95
|
+
border: 'none'
|
|
93
96
|
},
|
|
94
97
|
'& $placeholder,$ellipsis,$space,input': {
|
|
95
98
|
marginTop: 0,
|
|
@@ -410,7 +413,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
410
413
|
}
|
|
411
414
|
}
|
|
412
415
|
},
|
|
413
|
-
tag: {
|
|
416
|
+
tag: _defineProperty(_defineProperty({
|
|
414
417
|
flexShrink: 0,
|
|
415
418
|
'&$tag + &$tag': {
|
|
416
419
|
marginLeft: 0
|
|
@@ -419,11 +422,10 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
419
422
|
marginRight: _theme.default.selectTagMarginRight,
|
|
420
423
|
marginTop: _theme.default.selectTagMarginY,
|
|
421
424
|
marginBottom: _theme.default.selectTagMarginY,
|
|
422
|
-
textWrap: 'nowrap'
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
},
|
|
425
|
+
textWrap: 'nowrap'
|
|
426
|
+
}, (0, _theme.getTokenName)('tagDefaultLineBase'), _theme.default.inputFontSize), '&$hideTag', {
|
|
427
|
+
marginRight: 0
|
|
428
|
+
}),
|
|
427
429
|
tagOnly: {
|
|
428
430
|
flexShrink: 1,
|
|
429
431
|
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/cjs/switch/switch.js
CHANGED
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _theme =
|
|
8
|
-
function
|
|
7
|
+
var _theme = _interopRequireWildcard(require("@sheinx/theme"));
|
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
9
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -26,7 +27,7 @@ var transition = '.2s cubic-bezier(.34,.69,.1,1)';
|
|
|
26
27
|
var switchStyle = _objectSpread(_objectSpread({
|
|
27
28
|
rootClass: {}
|
|
28
29
|
}, animation), {}, {
|
|
29
|
-
wrapper: {
|
|
30
|
+
wrapper: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
30
31
|
'[data-soui-role="form-control"] > &': {
|
|
31
32
|
margin: '5px 0'
|
|
32
33
|
},
|
|
@@ -51,30 +52,23 @@ var switchStyle = _objectSpread(_objectSpread({
|
|
|
51
52
|
'$wrapperChecked$wrapperDisabled&': {
|
|
52
53
|
backgroundColor: _theme.default.switchCheckedDisabledBackgroundColor,
|
|
53
54
|
color: _theme.default.switchCheckedDisabledFontColor
|
|
54
|
-
},
|
|
55
|
-
height: "calc( ".concat(_theme.default.switchCircleSize, " + ").concat(_theme.default.switchPaddingY, " * 2 )"),
|
|
56
|
-
padding: "".concat(_theme.default.switchPaddingY, " ").concat(_theme.default.switchPaddingX),
|
|
57
|
-
minWidth: _theme.default.switchWidth,
|
|
58
|
-
borderRadius: "calc( ".concat(_theme.default.switchCircleSize, " / 2 + ").concat(_theme.default.switchPaddingY, " )"),
|
|
59
|
-
fontSize: _theme.default.switchFontSize,
|
|
60
|
-
'$wrapperSmall&': {
|
|
61
|
-
height: "calc( ".concat(_theme.default.switchSmallCircleSize, " + ").concat(_theme.default.switchSmallPaddingY, " * 2 )"),
|
|
62
|
-
padding: "".concat(_theme.default.switchSmallPaddingY, " ").concat(_theme.default.switchSmallPaddingX),
|
|
63
|
-
minWidth: _theme.default.switchSmallWidth,
|
|
64
|
-
borderRadius: "calc( ".concat(_theme.default.switchSmallCircleSize, " / 2 + ").concat(_theme.default.switchSmallPaddingY, " )"),
|
|
65
|
-
fontSize: _theme.default.switchSmallFontSize,
|
|
66
|
-
'[data-soui-role="form-control"] > &': {
|
|
67
|
-
marginTop: 8
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
'$wrapperLarge&': {
|
|
71
|
-
height: "calc( ".concat(_theme.default.switchLargeCircleSize, " + ").concat(_theme.default.switchLargePaddingY, " * 2 )"),
|
|
72
|
-
padding: "".concat(_theme.default.switchLargePaddingY, " ").concat(_theme.default.switchLargePaddingX),
|
|
73
|
-
minWidth: _theme.default.switchLargeWidth,
|
|
74
|
-
borderRadius: "calc( ".concat(_theme.default.switchLargeCircleSize, " / 2 + ").concat(_theme.default.switchLargePaddingY, " )"),
|
|
75
|
-
fontSize: _theme.default.switchLargeFontSize
|
|
76
55
|
}
|
|
77
|
-
},
|
|
56
|
+
}, (0, _theme.getTokenName)('switchCircleSize'), "calc(".concat(_theme.default.switchFontSize, " + 4px)")), "height", "calc( ".concat(_theme.default.switchCircleSize, " + ").concat(_theme.default.switchPaddingY, " * 2 )")), "padding", "".concat(_theme.default.switchPaddingY, " ").concat(_theme.default.switchPaddingX)), "minWidth", _theme.default.switchWidth), "borderRadius", "calc( ".concat(_theme.default.switchCircleSize, " / 2 + ").concat(_theme.default.switchPaddingY, " )")), "fontSize", _theme.default.switchFontSize), '$wrapperSmall&', {
|
|
57
|
+
height: "calc( ".concat(_theme.default.switchSmallCircleSize, " + ").concat(_theme.default.switchSmallPaddingY, " * 2 )"),
|
|
58
|
+
padding: "".concat(_theme.default.switchSmallPaddingY, " ").concat(_theme.default.switchSmallPaddingX),
|
|
59
|
+
minWidth: _theme.default.switchSmallWidth,
|
|
60
|
+
borderRadius: "calc( ".concat(_theme.default.switchSmallCircleSize, " / 2 + ").concat(_theme.default.switchSmallPaddingY, " )"),
|
|
61
|
+
fontSize: _theme.default.switchSmallFontSize,
|
|
62
|
+
'[data-soui-role="form-control"] > &': {
|
|
63
|
+
marginTop: 8
|
|
64
|
+
}
|
|
65
|
+
}), '$wrapperLarge&', {
|
|
66
|
+
height: "calc( ".concat(_theme.default.switchLargeCircleSize, " + ").concat(_theme.default.switchLargePaddingY, " * 2 )"),
|
|
67
|
+
padding: "".concat(_theme.default.switchLargePaddingY, " ").concat(_theme.default.switchLargePaddingX),
|
|
68
|
+
minWidth: _theme.default.switchLargeWidth,
|
|
69
|
+
borderRadius: "calc( ".concat(_theme.default.switchLargeCircleSize, " / 2 + ").concat(_theme.default.switchLargePaddingY, " )"),
|
|
70
|
+
fontSize: _theme.default.switchLargeFontSize
|
|
71
|
+
}),
|
|
78
72
|
wrapperChecked: {},
|
|
79
73
|
textPadding: {
|
|
80
74
|
paddingLeft: _theme.default.switchTextPaddingRight,
|
package/cjs/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/cjs/table/table.js
CHANGED
|
@@ -4,9 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _theme =
|
|
7
|
+
var _theme = _interopRequireWildcard(require("@sheinx/theme"));
|
|
8
8
|
var _mixin = require("../mixin");
|
|
9
|
-
function
|
|
9
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
10
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
10
11
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
12
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
13
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -403,11 +404,9 @@ var tableStyle = _objectSpread(_objectSpread({
|
|
|
403
404
|
marginInlineEnd: -5
|
|
404
405
|
}
|
|
405
406
|
},
|
|
406
|
-
filterIconContainer: {
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
}
|
|
410
|
-
},
|
|
407
|
+
filterIconContainer: _defineProperty(_defineProperty({}, (0, _theme.getTokenName)('buttonSmallCircleSize'), "calc(".concat(_theme.default.tableFilterIconSize, " + 8px)")), '&:hover $filterIcon', {
|
|
408
|
+
color: _theme.default.tableFilterIconHoverColor
|
|
409
|
+
}),
|
|
411
410
|
filterIcon: {
|
|
412
411
|
width: _theme.default.tableFilterIconSize,
|
|
413
412
|
height: _theme.default.tableFilterIconSize,
|
package/cjs/tabs/tabs.js
CHANGED
|
@@ -739,8 +739,8 @@ var tabsStyle = {
|
|
|
739
739
|
alignItems: 'center',
|
|
740
740
|
justifyContent: 'center',
|
|
741
741
|
borderRadius: '50%',
|
|
742
|
-
width:
|
|
743
|
-
height:
|
|
742
|
+
width: "calc(".concat(_theme.default.tabsArrowFontSize, " + 8px)"),
|
|
743
|
+
height: "calc(".concat(_theme.default.tabsArrowFontSize, " + 8px)")
|
|
744
744
|
},
|
|
745
745
|
bordered: {},
|
|
746
746
|
card: {},
|
package/cjs/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/cjs/tag/tag.js
CHANGED
|
@@ -171,8 +171,8 @@ var TagStyle = {
|
|
|
171
171
|
padding: "".concat(_theme.default.tagLargePaddingY, " ").concat(_theme.default.tagLargePaddingX),
|
|
172
172
|
'& $closeIconWrapper': {
|
|
173
173
|
'& svg': {
|
|
174
|
-
width:
|
|
175
|
-
height:
|
|
174
|
+
width: _theme.default.tagLargeFontSize,
|
|
175
|
+
height: _theme.default.tagLargeFontSize
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
178
|
'& $wrapper': {
|
|
@@ -192,15 +192,12 @@ var TagStyle = {
|
|
|
192
192
|
lineHeight: "var(".concat(_theme.default.tagSmallLineHeight, ", calc(").concat(_theme.default.tagSmallFontSize, " + 6px))")
|
|
193
193
|
},
|
|
194
194
|
'& $closeIcon': {
|
|
195
|
-
height: "var(".concat(_theme.default.tagSmallLineHeight, ", calc(").concat(_theme.default.tagSmallFontSize, " +
|
|
195
|
+
height: "var(".concat(_theme.default.tagSmallLineHeight, ", calc(").concat(_theme.default.tagSmallFontSize, " + 4px))")
|
|
196
196
|
},
|
|
197
197
|
'& $closeIconWrapper': {
|
|
198
|
-
width: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)"),
|
|
199
|
-
height: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)"),
|
|
200
|
-
lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)"),
|
|
201
198
|
'& svg': {
|
|
202
|
-
width:
|
|
203
|
-
height:
|
|
199
|
+
width: _theme.default.tagSmallFontSize,
|
|
200
|
+
height: _theme.default.tagSmallFontSize
|
|
204
201
|
}
|
|
205
202
|
}
|
|
206
203
|
},
|
|
@@ -211,7 +208,7 @@ var TagStyle = {
|
|
|
211
208
|
}
|
|
212
209
|
},
|
|
213
210
|
closeIcon: {
|
|
214
|
-
marginLeft:
|
|
211
|
+
marginLeft: 2,
|
|
215
212
|
alignItems: 'center',
|
|
216
213
|
display: 'inline-flex',
|
|
217
214
|
cursor: 'pointer',
|
|
@@ -226,8 +223,8 @@ var TagStyle = {
|
|
|
226
223
|
width: "calc(1em + 4px)",
|
|
227
224
|
height: "calc(1em + 4px)",
|
|
228
225
|
'& svg': {
|
|
229
|
-
width:
|
|
230
|
-
height:
|
|
226
|
+
width: _theme.default.tagFontSize,
|
|
227
|
+
height: _theme.default.tagFontSize
|
|
231
228
|
}
|
|
232
229
|
},
|
|
233
230
|
info: _objectSpread({}, brightTag('info', 'Info')),
|
package/cjs/transfer/transfer.js
CHANGED
|
@@ -22,7 +22,7 @@ var TransferStyle = {
|
|
|
22
22
|
small: {
|
|
23
23
|
'& $operations': {
|
|
24
24
|
'& svg': {
|
|
25
|
-
width:
|
|
25
|
+
width: _theme.default.transferSmallFontSize
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
'& $header': {
|
|
@@ -32,7 +32,7 @@ var TransferStyle = {
|
|
|
32
32
|
fontSize: _theme.default.transferSmallFontSize
|
|
33
33
|
},
|
|
34
34
|
'& $close': {
|
|
35
|
-
width:
|
|
35
|
+
width: "calc(".concat(_theme.default.transferSmallFontSize, " + 8px)")
|
|
36
36
|
},
|
|
37
37
|
'& $left, & $right': {
|
|
38
38
|
padding: 0
|
|
@@ -88,19 +88,19 @@ var TransferStyle = {
|
|
|
88
88
|
lineHeight: _theme.default.lineHeightDynamic
|
|
89
89
|
},
|
|
90
90
|
removeAll: {
|
|
91
|
-
width:
|
|
92
|
-
height:
|
|
91
|
+
width: "calc(".concat(_theme.default.transferFontSize, " + 8px)"),
|
|
92
|
+
height: "calc(".concat(_theme.default.transferFontSize, " + 8px)"),
|
|
93
93
|
borderRadius: '50%',
|
|
94
|
-
minWidth:
|
|
94
|
+
minWidth: "calc(".concat(_theme.default.transferFontSize, " + 8px)"),
|
|
95
95
|
fontSize: _theme.default.transferFontSize,
|
|
96
|
-
lineHeight:
|
|
96
|
+
lineHeight: "calc(".concat(_theme.default.transferFontSize, " + 8px)"),
|
|
97
97
|
cursor: 'pointer',
|
|
98
98
|
display: 'flex',
|
|
99
99
|
alignItems: 'center',
|
|
100
100
|
justifyContent: 'center',
|
|
101
101
|
marginLeft: 3,
|
|
102
102
|
'& svg': {
|
|
103
|
-
width:
|
|
103
|
+
width: _theme.default.transferFontSize,
|
|
104
104
|
color: _theme.default.transferRemoveIconColor
|
|
105
105
|
},
|
|
106
106
|
'&:hover': {
|
|
@@ -108,12 +108,12 @@ var TransferStyle = {
|
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
close: {
|
|
111
|
-
width:
|
|
112
|
-
height:
|
|
111
|
+
width: "calc(".concat(_theme.default.transferFontSize, " + 8px)"),
|
|
112
|
+
height: "calc(".concat(_theme.default.transferFontSize, " + 8px)"),
|
|
113
113
|
flexShrink: 0,
|
|
114
114
|
borderRadius: '50%',
|
|
115
|
-
minWidth:
|
|
116
|
-
fontSize:
|
|
115
|
+
minWidth: "calc(".concat(_theme.default.transferFontSize, " + 8px)"),
|
|
116
|
+
fontSize: _theme.default.transferFontSize,
|
|
117
117
|
cursor: 'pointer',
|
|
118
118
|
color: _theme.default.transferIconColor,
|
|
119
119
|
lineHeight: "calc(".concat(_theme.default.lineHeightDynamic, " + 2px)"),
|
|
@@ -122,7 +122,7 @@ var TransferStyle = {
|
|
|
122
122
|
alignItems: 'center',
|
|
123
123
|
justifyContent: 'center',
|
|
124
124
|
'& svg': {
|
|
125
|
-
width:
|
|
125
|
+
width: _theme.default.transferFontSize
|
|
126
126
|
},
|
|
127
127
|
'&:hover': {
|
|
128
128
|
background: _theme.default.transferIconBackgroundColor
|
|
@@ -135,7 +135,7 @@ var TransferStyle = {
|
|
|
135
135
|
justifyContent: 'center',
|
|
136
136
|
flexDirection: 'column',
|
|
137
137
|
'& svg': {
|
|
138
|
-
width:
|
|
138
|
+
width: _theme.default.transferFontSize
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
inputWrapper: {
|
|
@@ -143,8 +143,8 @@ var TransferStyle = {
|
|
|
143
143
|
},
|
|
144
144
|
input: {
|
|
145
145
|
'& > div > svg': {
|
|
146
|
-
width:
|
|
147
|
-
minWidth:
|
|
146
|
+
width: _theme.default.transferFontSize,
|
|
147
|
+
minWidth: _theme.default.transferFontSize,
|
|
148
148
|
color: _theme.default.transferIconColor
|
|
149
149
|
}
|
|
150
150
|
},
|
|
@@ -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"}
|
|
@@ -90,9 +90,9 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
90
90
|
},
|
|
91
91
|
'&$wrapperSmall': {
|
|
92
92
|
'& $tag': {
|
|
93
|
-
lineHeight: '16px',
|
|
94
93
|
marginTop: 1,
|
|
95
|
-
marginBottom: 1
|
|
94
|
+
marginBottom: 1,
|
|
95
|
+
border: 'none'
|
|
96
96
|
},
|
|
97
97
|
'& $placeholder,$ellipsis,$space,input': {
|
|
98
98
|
marginTop: 0,
|
|
@@ -393,7 +393,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
},
|
|
396
|
-
tag: {
|
|
396
|
+
tag: _defineProperty(_defineProperty({
|
|
397
397
|
flexShrink: 0,
|
|
398
398
|
'&$tag + &$tag': {
|
|
399
399
|
marginLeft: 0
|
|
@@ -402,11 +402,10 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
402
402
|
marginRight: _theme.default.treeSelectTagMarginRight,
|
|
403
403
|
marginTop: _theme.default.treeSelectTagMarginY,
|
|
404
404
|
marginBottom: _theme.default.treeSelectTagMarginY,
|
|
405
|
-
textWrap: 'nowrap'
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
},
|
|
405
|
+
textWrap: 'nowrap'
|
|
406
|
+
}, (0, _theme.getTokenName)('tagDefaultLineBase'), _theme.default.inputFontSize), '&$hideTag', {
|
|
407
|
+
marginRight: 0
|
|
408
|
+
}),
|
|
410
409
|
tagOnly: {
|
|
411
410
|
flexShrink: 1,
|
|
412
411
|
minWidth: 42
|
package/cjs/version.d.ts
CHANGED
package/cjs/version.js
CHANGED
|
@@ -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,
|
|
@@ -412,7 +412,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
412
412
|
paddingTop: token.cascaderListPaddingY,
|
|
413
413
|
paddingBottom: token.cascaderListPaddingY
|
|
414
414
|
},
|
|
415
|
-
tag: {
|
|
415
|
+
tag: _defineProperty(_defineProperty({
|
|
416
416
|
flexShrink: 0,
|
|
417
417
|
'&$tag + &$tag': {
|
|
418
418
|
marginLeft: 0
|
|
@@ -421,11 +421,10 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
421
421
|
marginRight: token.cascaderTagMarginRight,
|
|
422
422
|
marginTop: token.cascaderTagMarginY,
|
|
423
423
|
marginBottom: token.cascaderTagMarginY,
|
|
424
|
-
textWrap: 'nowrap'
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
},
|
|
424
|
+
textWrap: 'nowrap'
|
|
425
|
+
}, getTokenName('tagDefaultLineBase'), token.inputFontSize), '&$hideTag', {
|
|
426
|
+
marginRight: 0
|
|
427
|
+
}),
|
|
429
428
|
tagOnly: {
|
|
430
429
|
flexShrink: 1,
|
|
431
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,
|
|
@@ -403,7 +404,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
403
404
|
}
|
|
404
405
|
}
|
|
405
406
|
},
|
|
406
|
-
tag: {
|
|
407
|
+
tag: _defineProperty(_defineProperty({
|
|
407
408
|
flexShrink: 0,
|
|
408
409
|
'&$tag + &$tag': {
|
|
409
410
|
marginLeft: 0
|
|
@@ -412,11 +413,10 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
412
413
|
marginRight: token.selectTagMarginRight,
|
|
413
414
|
marginTop: token.selectTagMarginY,
|
|
414
415
|
marginBottom: token.selectTagMarginY,
|
|
415
|
-
textWrap: 'nowrap'
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
},
|
|
416
|
+
textWrap: 'nowrap'
|
|
417
|
+
}, getTokenName('tagDefaultLineBase'), token.inputFontSize), '&$hideTag', {
|
|
418
|
+
marginRight: 0
|
|
419
|
+
}),
|
|
420
420
|
tagOnly: {
|
|
421
421
|
flexShrink: 1,
|
|
422
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,
|
|
@@ -384,7 +384,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
},
|
|
387
|
-
tag: {
|
|
387
|
+
tag: _defineProperty(_defineProperty({
|
|
388
388
|
flexShrink: 0,
|
|
389
389
|
'&$tag + &$tag': {
|
|
390
390
|
marginLeft: 0
|
|
@@ -393,11 +393,10 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
393
393
|
marginRight: token.treeSelectTagMarginRight,
|
|
394
394
|
marginTop: token.treeSelectTagMarginY,
|
|
395
395
|
marginBottom: token.treeSelectTagMarginY,
|
|
396
|
-
textWrap: 'nowrap'
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
},
|
|
396
|
+
textWrap: 'nowrap'
|
|
397
|
+
}, getTokenName('tagDefaultLineBase'), token.inputFontSize), '&$hideTag', {
|
|
398
|
+
marginRight: 0
|
|
399
|
+
}),
|
|
401
400
|
tagOnly: {
|
|
402
401
|
flexShrink: 1,
|
|
403
402
|
minWidth: 42
|
package/esm/version.d.ts
CHANGED
package/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '3.9.
|
|
1
|
+
export default '3.9.5-beta.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/shineout-style",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.5-beta.1",
|
|
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.
|
|
21
|
-
"@sheinx/base": "3.9.
|
|
20
|
+
"@sheinx/theme": "3.9.5-beta.1",
|
|
21
|
+
"@sheinx/base": "3.9.5-beta.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"core-js": ">=3"
|