@sheinx/shineout-style 3.9.8 → 3.9.9-beta.10
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/button/button.d.ts.map +1 -1
- package/cjs/button/button.js +34 -3
- package/cjs/checkbox/checkbox.d.ts.map +1 -1
- package/cjs/checkbox/checkbox.js +3 -2
- package/cjs/collapse/collapse-item.d.ts.map +1 -1
- package/cjs/collapse/collapse-item.js +10 -7
- package/cjs/inner-title/inner-title.d.ts.map +1 -1
- package/cjs/input/input-border.d.ts.map +1 -1
- package/cjs/input/input-border.js +3 -2
- package/cjs/input/input.d.ts.map +1 -1
- package/cjs/input/input.js +3 -0
- package/cjs/modal/modal.d.ts.map +1 -1
- package/cjs/modal/modal.js +9 -1
- package/cjs/popover/popover.d.ts.map +1 -1
- package/cjs/popover/popover.js +106 -61
- package/cjs/radio/radio.d.ts.map +1 -1
- package/cjs/radio/radio.js +2 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +15 -2
- package/cjs/slider/slider.d.ts.map +1 -1
- package/cjs/slider/slider.js +12 -4
- package/cjs/spin/spin.d.ts.map +1 -1
- package/cjs/spin/spin.js +2 -1
- package/cjs/steps/steps.d.ts.map +1 -1
- package/cjs/steps/steps.js +7 -1
- package/cjs/textarea/textarea.d.ts.map +1 -1
- package/cjs/textarea/textarea.js +35 -4
- package/cjs/tooltip/tooltip.d.ts +1 -0
- package/cjs/tooltip/tooltip.d.ts.map +1 -1
- package/cjs/tooltip/tooltip.js +3 -2
- package/cjs/transfer/transfer.js +3 -3
- package/cjs/tree/tree.d.ts.map +1 -1
- package/cjs/tree/tree.js +2 -6
- package/cjs/upload/upload.d.ts.map +1 -1
- package/cjs/upload/upload.js +2 -5
- package/cjs/version.d.ts +1 -1
- package/cjs/version.d.ts.map +1 -1
- package/cjs/version.js +1 -1
- package/esm/button/button.d.ts.map +1 -1
- package/esm/button/button.js +34 -3
- package/esm/checkbox/checkbox.d.ts.map +1 -1
- package/esm/checkbox/checkbox.js +3 -2
- package/esm/collapse/collapse-item.d.ts.map +1 -1
- package/esm/collapse/collapse-item.js +10 -7
- package/esm/inner-title/inner-title.d.ts.map +1 -1
- package/esm/input/input-border.d.ts.map +1 -1
- package/esm/input/input-border.js +3 -2
- package/esm/input/input.d.ts.map +1 -1
- package/esm/input/input.js +3 -0
- package/esm/modal/modal.d.ts.map +1 -1
- package/esm/modal/modal.js +9 -1
- package/esm/popover/popover.d.ts.map +1 -1
- package/esm/popover/popover.js +107 -62
- package/esm/radio/radio.d.ts.map +1 -1
- package/esm/radio/radio.js +2 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +15 -2
- package/esm/slider/slider.d.ts.map +1 -1
- package/esm/slider/slider.js +12 -4
- package/esm/spin/spin.d.ts.map +1 -1
- package/esm/spin/spin.js +2 -1
- package/esm/steps/steps.d.ts.map +1 -1
- package/esm/steps/steps.js +7 -1
- package/esm/textarea/textarea.d.ts.map +1 -1
- package/esm/textarea/textarea.js +35 -4
- package/esm/tooltip/tooltip.d.ts +1 -0
- package/esm/tooltip/tooltip.d.ts.map +1 -1
- package/esm/tooltip/tooltip.js +2 -1
- package/esm/transfer/transfer.js +3 -3
- package/esm/tree/tree.d.ts.map +1 -1
- package/esm/tree/tree.js +2 -6
- package/esm/upload/upload.d.ts.map +1 -1
- package/esm/upload/upload.js +2 -5
- 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":"button.d.ts","sourceRoot":"","sources":["button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAiN7C,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,aAAa,CAqZ9C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/button/button.js
CHANGED
|
@@ -58,7 +58,37 @@ var beforeLine = function beforeLine() {
|
|
|
58
58
|
'&[dir=rtl]::before': {
|
|
59
59
|
right: -1
|
|
60
60
|
},
|
|
61
|
-
'
|
|
61
|
+
'&$dashed:hover': {
|
|
62
|
+
'&::before': {
|
|
63
|
+
height: '100%',
|
|
64
|
+
top: 0,
|
|
65
|
+
bottom: 0,
|
|
66
|
+
borderLeft: '1px dashed currentColor',
|
|
67
|
+
background: 'none'
|
|
68
|
+
},
|
|
69
|
+
// 使用 ::after 在右侧创建分割线,颜色使用当前按钮的 currentColor
|
|
70
|
+
'&:not(:last-child)::after': {
|
|
71
|
+
content: '" "',
|
|
72
|
+
position: 'absolute',
|
|
73
|
+
height: '100%',
|
|
74
|
+
top: 0,
|
|
75
|
+
width: 1,
|
|
76
|
+
borderLeft: '1px dashed currentColor',
|
|
77
|
+
background: 'none',
|
|
78
|
+
zIndex: 1
|
|
79
|
+
},
|
|
80
|
+
'&:not(:last-child)[dir=ltr]::after': {
|
|
81
|
+
right: -1
|
|
82
|
+
},
|
|
83
|
+
'&:not(:last-child)[dir=rtl]::after': {
|
|
84
|
+
left: -1
|
|
85
|
+
},
|
|
86
|
+
// 隐藏相邻按钮的左侧分割线,因为已经被 ::after 覆盖了
|
|
87
|
+
'& + $button::before': {
|
|
88
|
+
opacity: 0
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
'&:not($disabled):not($dashed):hover': {
|
|
62
92
|
'&::before': {
|
|
63
93
|
background: 'transparent'
|
|
64
94
|
},
|
|
@@ -411,7 +441,7 @@ var ButtonStyle = {
|
|
|
411
441
|
borderRight: 'none'
|
|
412
442
|
},
|
|
413
443
|
// 填充型 button
|
|
414
|
-
'& $button:not($outline):not($
|
|
444
|
+
'& $button:not($outline):not($text)': {
|
|
415
445
|
position: 'relative',
|
|
416
446
|
'&::before': {
|
|
417
447
|
transition: 'all 0.3s'
|
|
@@ -424,7 +454,8 @@ var ButtonStyle = {
|
|
|
424
454
|
height: 'calc(50% - 2px)',
|
|
425
455
|
top: 'calc(25% + 1px)',
|
|
426
456
|
width: 1,
|
|
427
|
-
background: _theme.default.buttonSplitlineOutlineBackgroundColor
|
|
457
|
+
background: _theme.default.buttonSplitlineOutlineBackgroundColor,
|
|
458
|
+
transition: 'none'
|
|
428
459
|
},
|
|
429
460
|
'&[dir=ltr]::before': {
|
|
430
461
|
left: -1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["checkbox.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG/C,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["checkbox.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG/C,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,CAgJlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/cjs/checkbox/checkbox.js
CHANGED
|
@@ -18,7 +18,7 @@ var checkboxStyle = _objectSpread(_objectSpread({}, _common.animations), {}, {
|
|
|
18
18
|
wrapper: {
|
|
19
19
|
display: 'inline-flex',
|
|
20
20
|
position: 'relative',
|
|
21
|
-
alignItems: '
|
|
21
|
+
alignItems: 'flex-start',
|
|
22
22
|
cursor: 'pointer',
|
|
23
23
|
boxSizing: 'border-box',
|
|
24
24
|
marginRight: _theme.default.checkboxGap,
|
|
@@ -41,6 +41,7 @@ var checkboxStyle = _objectSpread(_objectSpread({}, _common.animations), {}, {
|
|
|
41
41
|
boxSizing: 'border-box',
|
|
42
42
|
width: _theme.default.checkboxIconSize,
|
|
43
43
|
height: _theme.default.checkboxIconSize,
|
|
44
|
+
marginTop: 'var(--soui-checkbox-indicator-margin-top, 4px)',
|
|
44
45
|
flexShrink: 0,
|
|
45
46
|
'$wrapperSmall &': {
|
|
46
47
|
width: _theme.default.checkboxSmallIconSize,
|
|
@@ -76,7 +77,7 @@ var checkboxStyle = _objectSpread(_objectSpread({}, _common.animations), {}, {
|
|
|
76
77
|
}
|
|
77
78
|
},
|
|
78
79
|
darkIndicatorWrapper: {
|
|
79
|
-
'$wrapper:not($wrapperChecked):not($wrapperIndeterminate):not($wrapperDisabled)
|
|
80
|
+
'$wrapper:not($wrapperChecked):not($wrapperIndeterminate):not($wrapperDisabled):hover &&': {
|
|
80
81
|
'&::before': {
|
|
81
82
|
background: _theme.default.checkboxIconCircleDark
|
|
82
83
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collapse-item.d.ts","sourceRoot":"","sources":["collapse-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;AAE9D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"collapse-item.d.ts","sourceRoot":"","sources":["collapse-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;AAE9D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,qBAAqB,CA4ItD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -77,14 +77,13 @@ var collapseItemStyle = {
|
|
|
77
77
|
'&:after': {
|
|
78
78
|
content: '""',
|
|
79
79
|
position: 'absolute',
|
|
80
|
-
top:
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
width: 22,
|
|
85
|
-
height: 22,
|
|
80
|
+
top: '50%',
|
|
81
|
+
left: '50%',
|
|
82
|
+
width: _theme.default.lineHeightDynamic,
|
|
83
|
+
height: _theme.default.lineHeightDynamic,
|
|
86
84
|
borderRadius: '50%',
|
|
87
|
-
background: _theme.default.collapseIconHoverBackgroundColor
|
|
85
|
+
background: _theme.default.collapseIconHoverBackgroundColor,
|
|
86
|
+
transform: 'translate(-50%, -50%)'
|
|
88
87
|
}
|
|
89
88
|
},
|
|
90
89
|
'&:active:hover': {
|
|
@@ -93,6 +92,10 @@ var collapseItemStyle = {
|
|
|
93
92
|
}
|
|
94
93
|
}
|
|
95
94
|
},
|
|
95
|
+
iconRight: {
|
|
96
|
+
marginRight: 0,
|
|
97
|
+
marginLeft: _theme.default.collapseHeaderGap
|
|
98
|
+
},
|
|
96
99
|
title: {
|
|
97
100
|
flex: 1,
|
|
98
101
|
lineHeight: _theme.default.lineHeightDynamic
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inner-title.d.ts","sourceRoot":"","sources":["inner-title.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"inner-title.d.ts","sourceRoot":"","sources":["inner-title.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAuEjD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,iBAAiB,CA6FjD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-border.d.ts","sourceRoot":"","sources":["input-border.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input-border.d.ts","sourceRoot":"","sources":["input-border.ts"],"names":[],"mappings":"AASA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,qBAAqB,EAAE,MAAM,CAAC;IAE9B,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAE1B,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,yBAAyB,EAAE,MAAM,CAAC;IAClC,yBAAyB,EAAE,MAAM,CAAC;IAElC,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;CACjC;4DACiD,KAAK;AAAvD,wBA0ME"}
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
var _theme = require("@sheinx/theme");
|
|
7
8
|
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); }
|
|
8
9
|
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; }
|
|
9
10
|
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; }
|
|
@@ -143,13 +144,13 @@ var _default = exports.default = function _default(name) {
|
|
|
143
144
|
// '[data-soui-role="input-group-separate"]&': {
|
|
144
145
|
// boxShadow: 'none',
|
|
145
146
|
// }
|
|
146
|
-
})), "".concat(name, "Disabled"), _defineProperty(_defineProperty({
|
|
147
|
+
})), "".concat(name, "Disabled"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
147
148
|
color: token.disabledFontColor,
|
|
148
149
|
backgroundColor: token.disabledBackgroundColor,
|
|
149
150
|
borderColor: token.disabledBorderColor,
|
|
150
151
|
boxShadow: 'none',
|
|
151
152
|
cursor: 'not-allowed'
|
|
152
|
-
}, "&:not($".concat(name, "Error):hover"), {
|
|
153
|
+
}, (0, _theme.getTokenName)('inputInnerPlaceFontColor'), token.disabledFontColor), (0, _theme.getTokenName)('inputInnerFontColor'), token.disabledFontColor), "&:not($".concat(name, "Error):hover"), {
|
|
153
154
|
borderColor: token.disabledBorderColor
|
|
154
155
|
}), '& *', {
|
|
155
156
|
cursor: 'not-allowed'
|
package/cjs/input/input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAgH5C,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAgH5C,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,YAAY,CAqNvC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/cjs/input/input.js
CHANGED
|
@@ -293,6 +293,9 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
293
293
|
height: _theme.default.inputIconSize,
|
|
294
294
|
color: _theme.default.inputToggleColor,
|
|
295
295
|
cursor: 'pointer',
|
|
296
|
+
'$wrapperDisabled &': {
|
|
297
|
+
color: _theme.default.inputDisabledFontColor
|
|
298
|
+
},
|
|
296
299
|
'$wrapperSmall &': {
|
|
297
300
|
width: _theme.default.inputSmallIconSize,
|
|
298
301
|
height: _theme.default.inputSmallIconSize
|
package/cjs/modal/modal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAKxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAqJhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAKxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAqJhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAwTxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/modal/modal.js
CHANGED
|
@@ -380,9 +380,17 @@ var modalStyle = _objectSpread(_objectSpread({
|
|
|
380
380
|
top: 12,
|
|
381
381
|
right: 12,
|
|
382
382
|
marginTop: 0,
|
|
383
|
+
'[dir="rtl"] &': {
|
|
384
|
+
right: 'auto',
|
|
385
|
+
left: 12
|
|
386
|
+
},
|
|
383
387
|
'$wrapperDrawer &': {
|
|
384
388
|
top: 4,
|
|
385
|
-
right: 4
|
|
389
|
+
right: 4,
|
|
390
|
+
'[dir="rtl"] &': {
|
|
391
|
+
right: 'auto',
|
|
392
|
+
left: 4
|
|
393
|
+
}
|
|
386
394
|
}
|
|
387
395
|
},
|
|
388
396
|
body: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,cAAc,CAAC;AAapD,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,gBAAgB,CAoR5C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/cjs/popover/popover.js
CHANGED
|
@@ -13,6 +13,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
13
13
|
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; }
|
|
14
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
15
15
|
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); }
|
|
16
|
+
var arrowGap = 12;
|
|
17
|
+
var arrowHeight = 8;
|
|
16
18
|
var cssvar = '--popover-arrow-gap';
|
|
17
19
|
var hideArrowGap = "var(".concat(cssvar, ", 10px)");
|
|
18
20
|
var extraArrowGap = 'var(--popover-arrow-gap-extra, 0px)';
|
|
@@ -30,32 +32,30 @@ var popoverStyle = _objectSpread(_objectSpread({}, _tooltip.tooltipAnimation), {
|
|
|
30
32
|
border: "1px solid ".concat(_theme.default.popoverBorderColor),
|
|
31
33
|
wordWrap: 'break-word',
|
|
32
34
|
'& > $arrow': {
|
|
33
|
-
|
|
35
|
+
zIndex: 1,
|
|
34
36
|
position: 'absolute',
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
37
|
+
overflow: 'visible',
|
|
38
|
+
width: arrowHeight * 2,
|
|
39
|
+
height: arrowHeight,
|
|
40
|
+
pointerEvents: 'none',
|
|
41
|
+
transformOrigin: 'center center',
|
|
42
|
+
filter: "drop-shadow(0 1px 0 ".concat(_theme.default.popoverBorderColor, ") drop-shadow(0 -1px 0 ").concat(_theme.default.popoverBorderColor, ") drop-shadow(1px 0 0 ").concat(_theme.default.popoverBorderColor, ") drop-shadow(-1px 0 0 ").concat(_theme.default.popoverBorderColor, ")"),
|
|
43
|
+
'&::before': {
|
|
44
|
+
display: 'block',
|
|
45
|
+
content: '""',
|
|
46
|
+
bottom: 0,
|
|
47
|
+
width: '100%',
|
|
48
|
+
height: '100%',
|
|
49
|
+
backgroundColor: _theme.default.popoverBackgroundColor,
|
|
50
|
+
clipPath: "path('".concat(_tooltip.arrowClipPath, "')")
|
|
48
51
|
}
|
|
49
52
|
},
|
|
50
53
|
'&$hideArrow': _defineProperty({}, cssvar, '4px'),
|
|
51
54
|
'&[data-soui-position^="bottom"]': {
|
|
52
|
-
marginTop:
|
|
55
|
+
marginTop: arrowGap - 2,
|
|
53
56
|
'& > $arrow': {
|
|
54
|
-
|
|
55
|
-
transform: 'translate(
|
|
56
|
-
left: '0',
|
|
57
|
-
right: '0',
|
|
58
|
-
margin: 'auto'
|
|
57
|
+
left: '50%',
|
|
58
|
+
transform: 'translate(-50%, calc(-100% + 1px)) rotate(0deg)'
|
|
59
59
|
},
|
|
60
60
|
'&::after': {
|
|
61
61
|
top: poyfillPos,
|
|
@@ -68,40 +68,34 @@ var popoverStyle = _objectSpread(_objectSpread({}, _tooltip.tooltipAnimation), {
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
'&[data-soui-position^="top"]': {
|
|
71
|
-
|
|
72
|
-
marginTop: "calc((".concat(hideArrowGap, " - 2px) * -1)"),
|
|
71
|
+
marginTop: (arrowGap - 2) * -1,
|
|
73
72
|
'& > $arrow': {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
right: '0',
|
|
78
|
-
margin: 'auto'
|
|
73
|
+
top: '100%',
|
|
74
|
+
left: '50%',
|
|
75
|
+
transform: 'translate(-50%, -1px) rotate(-180deg)'
|
|
79
76
|
},
|
|
80
77
|
'&::after': {
|
|
81
|
-
// bottom: arrowGap * -1,
|
|
82
78
|
bottom: poyfillPos,
|
|
83
79
|
left: '0',
|
|
84
80
|
right: '0',
|
|
85
81
|
content: '" "',
|
|
86
82
|
display: 'block',
|
|
87
|
-
// height: arrowGap,
|
|
88
83
|
height: poyfillHeight,
|
|
89
84
|
position: 'absolute'
|
|
90
85
|
}
|
|
91
86
|
},
|
|
92
87
|
'&[data-soui-position^="left"]': {
|
|
93
88
|
'&[dir=ltr]': {
|
|
94
|
-
marginRight:
|
|
89
|
+
marginRight: arrowGap - 2
|
|
95
90
|
},
|
|
96
91
|
'&[dir=rtl]': {
|
|
97
|
-
marginLeft:
|
|
92
|
+
marginLeft: arrowGap - 2
|
|
98
93
|
},
|
|
99
94
|
'& > $arrow': {
|
|
100
|
-
right:
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
margin: 'auto'
|
|
95
|
+
right: 0,
|
|
96
|
+
top: '50%',
|
|
97
|
+
transform: 'translate(11px, -50%) rotate(90deg)',
|
|
98
|
+
transformOrigin: 'center center'
|
|
105
99
|
},
|
|
106
100
|
'&::after': {
|
|
107
101
|
right: poyfillPos,
|
|
@@ -115,67 +109,113 @@ var popoverStyle = _objectSpread(_objectSpread({}, _tooltip.tooltipAnimation), {
|
|
|
115
109
|
},
|
|
116
110
|
'&[data-soui-position^="right"]': {
|
|
117
111
|
'&[dir=ltr]': {
|
|
118
|
-
marginLeft:
|
|
112
|
+
marginLeft: arrowGap - 2
|
|
119
113
|
},
|
|
120
114
|
'&[dir=rtl]': {
|
|
121
|
-
marginRight:
|
|
115
|
+
marginRight: arrowGap - 2
|
|
122
116
|
},
|
|
123
117
|
'& > $arrow': {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
bottom: '0',
|
|
128
|
-
margin: 'auto'
|
|
118
|
+
top: '50%',
|
|
119
|
+
left: 0,
|
|
120
|
+
transform: 'translate(-11px, -50%) rotate(-90deg)'
|
|
129
121
|
},
|
|
130
122
|
'&::after': {
|
|
131
|
-
// left: arrowGap * -1,
|
|
132
123
|
left: poyfillPos,
|
|
133
124
|
top: '0',
|
|
134
125
|
bottom: '0',
|
|
135
126
|
content: '" "',
|
|
136
127
|
display: 'block',
|
|
137
|
-
// width: arrowGap,
|
|
138
128
|
width: poyfillHeight,
|
|
139
129
|
position: 'absolute'
|
|
140
130
|
}
|
|
141
131
|
},
|
|
142
|
-
'&&[data-soui-position
|
|
143
|
-
left:
|
|
144
|
-
|
|
132
|
+
'&&[data-soui-position="bottom-left"] > $arrow': {
|
|
133
|
+
left: 8,
|
|
134
|
+
transform: 'translate(0, calc(-100% + 1px)) rotate(0deg)'
|
|
135
|
+
},
|
|
136
|
+
'&&[data-soui-position="bottom-right"] > $arrow': {
|
|
137
|
+
right: 8,
|
|
138
|
+
left: 'auto',
|
|
139
|
+
transform: 'translate(0, calc(-100% + 1px)) rotate(0deg)'
|
|
140
|
+
},
|
|
141
|
+
'&&[data-soui-position="top-left"] > $arrow': {
|
|
142
|
+
left: 8,
|
|
143
|
+
transform: 'translate(0, -1px) rotate(-180deg)'
|
|
144
|
+
},
|
|
145
|
+
'&&[data-soui-position="top-right"] > $arrow': {
|
|
146
|
+
right: 8,
|
|
147
|
+
left: 'auto',
|
|
148
|
+
transform: 'translate(0, -1px) rotate(-180deg)'
|
|
145
149
|
},
|
|
146
|
-
'&&[data-soui-position
|
|
147
|
-
|
|
148
|
-
|
|
150
|
+
'&&[data-soui-position="left-top"] > $arrow': {
|
|
151
|
+
top: 8,
|
|
152
|
+
transform: 'translate(11px, 0) rotate(90deg)'
|
|
149
153
|
},
|
|
150
|
-
'&&[data-soui-position
|
|
151
|
-
|
|
152
|
-
|
|
154
|
+
'&&[data-soui-position="left-bottom"] > $arrow': {
|
|
155
|
+
bottom: 8,
|
|
156
|
+
top: 'auto',
|
|
157
|
+
transform: 'translate(11px, 0) rotate(90deg)'
|
|
153
158
|
},
|
|
154
|
-
'&&[data-soui-position
|
|
155
|
-
|
|
156
|
-
|
|
159
|
+
'&&[data-soui-position="right-top"] > $arrow': {
|
|
160
|
+
top: 8,
|
|
161
|
+
transform: 'translate(-11px, 0) rotate(-90deg)'
|
|
162
|
+
},
|
|
163
|
+
'&&[data-soui-position="right-bottom"] > $arrow': {
|
|
164
|
+
bottom: 8,
|
|
165
|
+
top: 'auto',
|
|
166
|
+
transform: 'translate(-11px, 0) rotate(-90deg)'
|
|
157
167
|
},
|
|
158
168
|
'&[data-soui-type="danger"]': {
|
|
159
169
|
borderColor: _theme.default.popoverDangerBorderColor,
|
|
160
|
-
backgroundColor: _theme.default.popoverDangerBackgroundColor
|
|
170
|
+
backgroundColor: _theme.default.popoverDangerBackgroundColor,
|
|
171
|
+
'& > $arrow': {
|
|
172
|
+
filter: "drop-shadow(0 1px 0 ".concat(_theme.default.popoverDangerBorderColor, ") drop-shadow(0 -1px 0 ").concat(_theme.default.popoverDangerBorderColor, ") drop-shadow(1px 0 0 ").concat(_theme.default.popoverDangerBorderColor, ") drop-shadow(-1px 0 0 ").concat(_theme.default.popoverDangerBorderColor, ")")
|
|
173
|
+
},
|
|
174
|
+
'& > $arrow::before': {
|
|
175
|
+
backgroundColor: _theme.default.popoverDangerBackgroundColor
|
|
176
|
+
}
|
|
161
177
|
},
|
|
162
178
|
'&[data-soui-type="info"]': {
|
|
163
179
|
borderColor: _theme.default.popoverInfoBorderColor,
|
|
164
|
-
backgroundColor: _theme.default.popoverInfoBackgroundColor
|
|
180
|
+
backgroundColor: _theme.default.popoverInfoBackgroundColor,
|
|
181
|
+
'& > $arrow': {
|
|
182
|
+
filter: "drop-shadow(0 1px 0 ".concat(_theme.default.popoverInfoBorderColor, ") drop-shadow(0 -1px 0 ").concat(_theme.default.popoverInfoBorderColor, ") drop-shadow(1px 0 0 ").concat(_theme.default.popoverInfoBorderColor, ") drop-shadow(-1px 0 0 ").concat(_theme.default.popoverInfoBorderColor, ")")
|
|
183
|
+
},
|
|
184
|
+
'& > $arrow::before': {
|
|
185
|
+
backgroundColor: _theme.default.popoverInfoBackgroundColor
|
|
186
|
+
}
|
|
165
187
|
},
|
|
166
188
|
'&[data-soui-type="warning"]': {
|
|
167
189
|
borderColor: _theme.default.popoverWarningBorderColor,
|
|
168
|
-
backgroundColor: _theme.default.popoverWarningBackgroundColor
|
|
190
|
+
backgroundColor: _theme.default.popoverWarningBackgroundColor,
|
|
191
|
+
'& > $arrow': {
|
|
192
|
+
filter: "drop-shadow(0 1px 0 ".concat(_theme.default.popoverWarningBorderColor, ") drop-shadow(0 -1px 0 ").concat(_theme.default.popoverWarningBorderColor, ") drop-shadow(1px 0 0 ").concat(_theme.default.popoverWarningBorderColor, ") drop-shadow(-1px 0 0 ").concat(_theme.default.popoverWarningBorderColor, ")")
|
|
193
|
+
},
|
|
194
|
+
'& > $arrow::before': {
|
|
195
|
+
backgroundColor: _theme.default.popoverWarningBackgroundColor
|
|
196
|
+
}
|
|
169
197
|
},
|
|
170
198
|
'&[data-soui-type="success"]': {
|
|
171
199
|
borderColor: _theme.default.popoverSuccessBorderColor,
|
|
172
|
-
backgroundColor: _theme.default.popoverSuccessBackgroundColor
|
|
200
|
+
backgroundColor: _theme.default.popoverSuccessBackgroundColor,
|
|
201
|
+
'& > $arrow': {
|
|
202
|
+
filter: "drop-shadow(0 1px 0 ".concat(_theme.default.popoverSuccessBorderColor, ") drop-shadow(0 -1px 0 ").concat(_theme.default.popoverSuccessBorderColor, ") drop-shadow(1px 0 0 ").concat(_theme.default.popoverSuccessBorderColor, ") drop-shadow(-1px 0 0 ").concat(_theme.default.popoverSuccessBorderColor, ")")
|
|
203
|
+
},
|
|
204
|
+
'& > $arrow::before': {
|
|
205
|
+
backgroundColor: _theme.default.popoverSuccessBackgroundColor
|
|
206
|
+
}
|
|
173
207
|
},
|
|
174
208
|
'&[data-soui-type="error"]': {
|
|
175
209
|
borderColor: _theme.default.popoverErrorBorderColor,
|
|
176
210
|
backgroundColor: _theme.default.popoverErrorBackgroundColor,
|
|
177
211
|
'& $content': {
|
|
178
212
|
color: _theme.default.popoverErrorFontColor
|
|
213
|
+
},
|
|
214
|
+
'& > $arrow': {
|
|
215
|
+
filter: "drop-shadow(0 1px 0 ".concat(_theme.default.popoverErrorBorderColor, ") drop-shadow(0 -1px 0 ").concat(_theme.default.popoverErrorBorderColor, ") drop-shadow(1px 0 0 ").concat(_theme.default.popoverErrorBorderColor, ") drop-shadow(-1px 0 0 ").concat(_theme.default.popoverErrorBorderColor, ")")
|
|
216
|
+
},
|
|
217
|
+
'& > $arrow::before': {
|
|
218
|
+
backgroundColor: _theme.default.popoverErrorBackgroundColor
|
|
179
219
|
}
|
|
180
220
|
}
|
|
181
221
|
},
|
|
@@ -218,6 +258,11 @@ var popoverStyle = _objectSpread(_objectSpread({}, _tooltip.tooltipAnimation), {
|
|
|
218
258
|
animation: '$fadeIn 200ms ease, $moveRightBottom 200ms cubic-bezier(0.22, 0.61, 0.36, 1);'
|
|
219
259
|
}
|
|
220
260
|
},
|
|
261
|
+
wrapperNoAnimation: {
|
|
262
|
+
'&[data-soui-position]': {
|
|
263
|
+
animation: 'none'
|
|
264
|
+
}
|
|
265
|
+
},
|
|
221
266
|
arrow: {},
|
|
222
267
|
hideArrow: {},
|
|
223
268
|
content: {
|
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,CA6K5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/radio/radio.js
CHANGED
|
@@ -18,7 +18,7 @@ var radioStyle = _objectSpread(_objectSpread({}, _common.animations), {}, {
|
|
|
18
18
|
wrapper: {
|
|
19
19
|
display: 'inline-flex',
|
|
20
20
|
position: 'relative',
|
|
21
|
-
alignItems: '
|
|
21
|
+
alignItems: 'flex-start',
|
|
22
22
|
cursor: 'pointer',
|
|
23
23
|
boxSizing: 'border-box',
|
|
24
24
|
marginRight: _theme.default.radioGap,
|
|
@@ -56,6 +56,7 @@ var radioStyle = _objectSpread(_objectSpread({}, _common.animations), {}, {
|
|
|
56
56
|
width: _theme.default.radioIconWidth,
|
|
57
57
|
minWidth: _theme.default.radioIconWidth,
|
|
58
58
|
height: _theme.default.radioIconWidth,
|
|
59
|
+
marginTop: 4,
|
|
59
60
|
'$wrapperSmall &': {
|
|
60
61
|
width: _theme.default.radioSmallIconWidth,
|
|
61
62
|
minWidth: _theme.default.radioSmallIconWidth,
|
|
@@ -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,CAqjB1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/select/select.js
CHANGED
|
@@ -551,9 +551,14 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
551
551
|
padding: "".concat(_theme.default.selectHeaderPaddingY, " ").concat(_theme.default.selectHeaderPaddingX),
|
|
552
552
|
borderBottom: "1px solid ".concat(_theme.default.selectHeaderBorderColor),
|
|
553
553
|
'& $columnsCheckbox': {
|
|
554
|
+
padding: 0,
|
|
554
555
|
marginRight: 0,
|
|
555
556
|
marginLeft: 4,
|
|
556
557
|
width: 'auto'
|
|
558
|
+
},
|
|
559
|
+
'$pickerLarge &': {
|
|
560
|
+
paddingLeft: _theme.default.selectLargeHeaderPaddingX,
|
|
561
|
+
paddingRight: _theme.default.selectLargeHeaderPaddingX
|
|
557
562
|
}
|
|
558
563
|
},
|
|
559
564
|
footer: {},
|
|
@@ -569,14 +574,16 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
569
574
|
}
|
|
570
575
|
},
|
|
571
576
|
columnsOption: {
|
|
572
|
-
paddingLeft: _theme.default.selectColumnPadding,
|
|
573
|
-
paddingRight: _theme.default.selectColumnPadding,
|
|
574
577
|
lineHeight: 1,
|
|
575
578
|
boxSizing: 'border-box',
|
|
576
579
|
overflow: 'hidden',
|
|
577
580
|
height: '100%',
|
|
578
581
|
display: 'flex',
|
|
579
582
|
alignItems: 'center',
|
|
583
|
+
'$pickerLarge &': {
|
|
584
|
+
paddingLeft: _theme.default.selectLargeColumnPadding,
|
|
585
|
+
paddingRight: _theme.default.selectLargeColumnPadding
|
|
586
|
+
},
|
|
580
587
|
'& $columnsCheckbox': {
|
|
581
588
|
marginRight: 0
|
|
582
589
|
},
|
|
@@ -587,6 +594,9 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
587
594
|
},
|
|
588
595
|
columnsRadio: {
|
|
589
596
|
width: '100%',
|
|
597
|
+
height: '100%',
|
|
598
|
+
paddingLeft: _theme.default.selectColumnPadding,
|
|
599
|
+
paddingRight: _theme.default.selectColumnPadding,
|
|
590
600
|
marginLeft: _theme.default.selectColumnOptionMargin,
|
|
591
601
|
'& :last-child': {
|
|
592
602
|
flex: 1,
|
|
@@ -597,6 +607,9 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
597
607
|
},
|
|
598
608
|
columnsCheckbox: {
|
|
599
609
|
width: '100%',
|
|
610
|
+
height: '100%',
|
|
611
|
+
paddingLeft: _theme.default.selectColumnPadding,
|
|
612
|
+
paddingRight: _theme.default.selectColumnPadding,
|
|
600
613
|
// marginLeft: token.selectColumnOptionMargin,
|
|
601
614
|
marginLeft: 0,
|
|
602
615
|
'& :last-child': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["slider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAIlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["slider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAIlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAmT1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/slider/slider.js
CHANGED
|
@@ -30,14 +30,11 @@ var sliderStyle = {
|
|
|
30
30
|
},
|
|
31
31
|
track: {
|
|
32
32
|
cursor: 'pointer',
|
|
33
|
-
borderRadius: '100px',
|
|
34
33
|
height: _theme.default.sliderTrackSize,
|
|
35
34
|
borderTop: "".concat(_theme.default.sliderScaleMarginY, " solid transparent"),
|
|
36
35
|
borderBottom: "".concat(_theme.default.sliderScaleMarginY, " solid transparent"),
|
|
37
36
|
boxSizing: 'content-box',
|
|
38
|
-
backgroundColor: _theme.default.sliderTrackBackgroundColor,
|
|
39
37
|
position: 'relative',
|
|
40
|
-
backgroundClip: 'content-box',
|
|
41
38
|
'$vertical &': {
|
|
42
39
|
width: _theme.default.sliderTrackSize,
|
|
43
40
|
height: '100%',
|
|
@@ -48,9 +45,14 @@ var sliderStyle = {
|
|
|
48
45
|
cursor: 'not-allowed'
|
|
49
46
|
}
|
|
50
47
|
},
|
|
48
|
+
trackBackground: {
|
|
49
|
+
borderRadius: "calc(".concat(_theme.default.sliderTrackSize, " / 2)"),
|
|
50
|
+
height: '100%',
|
|
51
|
+
backgroundColor: _theme.default.sliderTrackBackgroundColor
|
|
52
|
+
},
|
|
51
53
|
trackInner: {
|
|
52
54
|
position: 'absolute',
|
|
53
|
-
borderRadius:
|
|
55
|
+
borderRadius: "calc(".concat(_theme.default.sliderTrackSize, " / 2)"),
|
|
54
56
|
top: '0',
|
|
55
57
|
left: '0',
|
|
56
58
|
right: '100%',
|
|
@@ -74,6 +76,12 @@ var sliderStyle = {
|
|
|
74
76
|
indicator: {
|
|
75
77
|
position: 'absolute',
|
|
76
78
|
zIndex: 100,
|
|
79
|
+
'&:hover::after': {
|
|
80
|
+
borderColor: _theme.default.sliderIndicatorHoverBoderColor
|
|
81
|
+
},
|
|
82
|
+
'&:active::after': {
|
|
83
|
+
borderColor: _theme.default.sliderIndicatorBorderColor
|
|
84
|
+
},
|
|
77
85
|
'&::after': {
|
|
78
86
|
content: '""',
|
|
79
87
|
display: 'block',
|
package/cjs/spin/spin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spin.d.ts","sourceRoot":"","sources":["spin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAkB3C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"spin.d.ts","sourceRoot":"","sources":["spin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAkB3C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,WAAW,CAiF1C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/cjs/spin/spin.js
CHANGED
package/cjs/steps/steps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["steps.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAEhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["steps.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAEhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAq0BxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|