@sheinx/shineout-style 3.2.0-rc.4 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/alert/alert.d.ts.map +1 -1
- package/cjs/alert/alert.js +8 -1
- package/cjs/button/button.js +31 -13
- package/cjs/card/card.d.ts.map +1 -1
- package/cjs/card/card.js +20 -9
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +6 -1
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +1 -0
- package/cjs/form/form-item.d.ts.map +1 -1
- package/cjs/form/form-item.js +1 -0
- package/cjs/input/input-border.d.ts.map +1 -1
- package/cjs/input/input-border.js +1 -0
- package/cjs/input/input.d.ts.map +1 -1
- package/cjs/input/input.js +1 -0
- package/cjs/menu/index.d.ts +3 -0
- package/cjs/menu/index.d.ts.map +1 -1
- package/cjs/menu/index.js +10 -2
- package/cjs/menu/menu.d.ts.map +1 -1
- package/cjs/menu/menu.js +260 -235
- package/cjs/menu/search.d.ts +6 -0
- package/cjs/menu/search.d.ts.map +1 -0
- package/cjs/menu/search.js +57 -0
- package/cjs/modal/modal.d.ts.map +1 -1
- package/cjs/modal/modal.js +5 -1
- package/cjs/popover/popover.d.ts.map +1 -1
- package/cjs/popover/popover.js +39 -16
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +8 -2
- package/cjs/slider/slider.js +1 -1
- package/cjs/switch/switch.d.ts.map +1 -1
- package/cjs/switch/switch.js +21 -3
- package/cjs/table/table.js +3 -3
- package/cjs/tabs/tabs.d.ts.map +1 -1
- package/cjs/tabs/tabs.js +6 -0
- package/cjs/tag/tag.d.ts.map +1 -1
- package/cjs/tag/tag.js +0 -4
- package/cjs/textarea/textarea.d.ts.map +1 -1
- package/cjs/textarea/textarea.js +1 -0
- package/cjs/tooltip/tooltip.d.ts.map +1 -1
- package/cjs/tooltip/tooltip.js +29 -5
- package/cjs/tree/tree.d.ts.map +1 -1
- package/cjs/tree/tree.js +26 -7
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +6 -1
- package/cjs/version.d.ts +1 -1
- package/cjs/version.d.ts.map +1 -1
- package/cjs/version.js +1 -1
- package/esm/alert/alert.d.ts.map +1 -1
- package/esm/alert/alert.js +8 -1
- package/esm/button/button.js +31 -13
- package/esm/card/card.d.ts.map +1 -1
- package/esm/card/card.js +20 -9
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +6 -1
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +1 -0
- package/esm/form/form-item.d.ts.map +1 -1
- package/esm/form/form-item.js +1 -0
- package/esm/input/input-border.d.ts.map +1 -1
- package/esm/input/input-border.js +1 -0
- package/esm/input/input.d.ts.map +1 -1
- package/esm/input/input.js +1 -0
- package/esm/menu/index.d.ts +3 -0
- package/esm/menu/index.d.ts.map +1 -1
- package/esm/menu/index.js +4 -1
- package/esm/menu/menu.d.ts.map +1 -1
- package/esm/menu/menu.js +260 -235
- package/esm/menu/search.d.ts +6 -0
- package/esm/menu/search.d.ts.map +1 -0
- package/esm/menu/search.js +49 -0
- package/esm/modal/modal.d.ts.map +1 -1
- package/esm/modal/modal.js +5 -1
- package/esm/popover/popover.d.ts.map +1 -1
- package/esm/popover/popover.js +39 -16
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +8 -2
- package/esm/slider/slider.js +1 -1
- package/esm/switch/switch.d.ts.map +1 -1
- package/esm/switch/switch.js +21 -3
- package/esm/table/table.js +3 -3
- package/esm/tabs/tabs.d.ts.map +1 -1
- package/esm/tabs/tabs.js +6 -0
- package/esm/tag/tag.d.ts.map +1 -1
- package/esm/tag/tag.js +0 -4
- package/esm/textarea/textarea.d.ts.map +1 -1
- package/esm/textarea/textarea.js +1 -0
- package/esm/tooltip/tooltip.d.ts.map +1 -1
- package/esm/tooltip/tooltip.js +29 -5
- package/esm/tree/tree.d.ts.map +1 -1
- package/esm/tree/tree.js +26 -7
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +6 -1
- 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
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _theme = _interopRequireWildcard(require("@sheinx/theme"));
|
|
8
|
+
var _wrapperDark;
|
|
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; }
|
|
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); }
|
|
12
|
+
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; }
|
|
13
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
14
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15
|
+
var menuSearchStyle = {
|
|
16
|
+
wrapper: _defineProperty({}, (0, _theme.getTokenName)('inputBorderRadius'), _theme.default.menuSearchBorderRadius),
|
|
17
|
+
wrapperDark: (_wrapperDark = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_wrapperDark, (0, _theme.getTokenName)('inputClearColor'), _theme.default.menuSearchDarkClearColor), (0, _theme.getTokenName)('inputHoverClearColor'), _theme.default.menuSearchDarkHoverClearColor), (0, _theme.getTokenName)('inputBorderColor'), _theme.default.menuSearchDarkBackgroundColor), (0, _theme.getTokenName)('inputBackgroundColor'), _theme.default.menuSearchDarkBackgroundColor), (0, _theme.getTokenName)('inputFontColor'), _theme.default.menuSearchDarkFontColor), (0, _theme.getTokenName)('inputPlaceholderFontColor'), _theme.default.menuSearchDarkPlaceholderFontColor), (0, _theme.getTokenName)('inputHoverBorderColor'), _theme.default.menuSearchDarkHoverBorderColor), (0, _theme.getTokenName)('inputHoverBackgroundColor'), _theme.default.menuSearchDarkHoverBackgroundColor), (0, _theme.getTokenName)('inputFocusBorderColor'), _theme.default.menuSearchDarkFocusBorderColor), (0, _theme.getTokenName)('inputFocusBackgroundColor'), _theme.default.menuSearchDarkFocusBackgroundColor), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_wrapperDark, (0, _theme.getTokenName)('inputFocusShadow'), _theme.default.menuSearchDarkFocusShadow), (0, _theme.getTokenName)('inputDisabledBorderColor'), _theme.default.menuSearchDarkBackgroundColor), (0, _theme.getTokenName)('inputDisabledBackgroundColor'), _theme.default.menuSearchDarkBackgroundColor), (0, _theme.getTokenName)('inputDisabledFontColor'), _theme.default.menuSearchDarkFontColor), (0, _theme.getTokenName)('inputDisabledPlaceholderFontColor'), _theme.default.menuSearchDarkPlaceholderFontColor)),
|
|
18
|
+
wrapperLight: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, (0, _theme.getTokenName)('inputBorderColor'), _theme.default.menuSearchBackgroundColor), (0, _theme.getTokenName)('inputBackgroundColor'), _theme.default.menuSearchBackgroundColor), (0, _theme.getTokenName)('inputHoverBorderColor'), _theme.default.menuSearchHoverBorderColor), (0, _theme.getTokenName)('inputHoverBackgroundColor'), _theme.default.menuSearchHoverBackgroundColor), (0, _theme.getTokenName)('inputDisabledBorderColor'), _theme.default.menuSearchDisabledBackgroundColor), (0, _theme.getTokenName)('inputDisabledBackgroundColor'), _theme.default.menuSearchDisabledBackgroundColor), (0, _theme.getTokenName)('inputClearColor'), _theme.default.menuSearchClearColor), (0, _theme.getTokenName)('inputHoverClearColor'), _theme.default.menuSearchHoverClearColor),
|
|
19
|
+
wrapperCollapsed: {
|
|
20
|
+
cursor: 'pointer',
|
|
21
|
+
width: _theme.default.menuSearchCollpaseSize,
|
|
22
|
+
height: _theme.default.menuSearchCollpaseSize,
|
|
23
|
+
lineHeight: 1,
|
|
24
|
+
'& input': {
|
|
25
|
+
opacity: 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
wrapperDisabled: {
|
|
29
|
+
cursor: 'not-allowed',
|
|
30
|
+
'&$wrapperDark': {
|
|
31
|
+
opacity: 0.3
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
input: {
|
|
35
|
+
width: '100%'
|
|
36
|
+
},
|
|
37
|
+
search: {
|
|
38
|
+
width: _theme.default.menuSearchIconSize,
|
|
39
|
+
height: _theme.default.menuSearchIconSize,
|
|
40
|
+
cursor: 'pointer',
|
|
41
|
+
display: 'flex',
|
|
42
|
+
justifyContent: 'center',
|
|
43
|
+
marginRight: _theme.default.menuSearchIconMarginX,
|
|
44
|
+
color: _theme.default.menuSearchIconColor,
|
|
45
|
+
'$wrapperDisabled &': {
|
|
46
|
+
color: _theme.default.inputDisabledFontColor,
|
|
47
|
+
cursor: 'not-allowed'
|
|
48
|
+
},
|
|
49
|
+
'$wrapperDark &': {
|
|
50
|
+
color: _theme.default.menuSearchDarkIconColor
|
|
51
|
+
},
|
|
52
|
+
'$wrapperCollapsed &': {
|
|
53
|
+
marginRight: 0
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
var _default = exports.default = menuSearchStyle;
|
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,CAsRxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/modal/modal.js
CHANGED
|
@@ -158,7 +158,7 @@ var modalStyle = _objectSpread(_objectSpread({}, animationStyle), {}, {
|
|
|
158
158
|
zIndex: modalIndex,
|
|
159
159
|
top: 0,
|
|
160
160
|
left: 0,
|
|
161
|
-
|
|
161
|
+
overflow: 'auto',
|
|
162
162
|
wordWrap: 'break-word',
|
|
163
163
|
width: '100%',
|
|
164
164
|
boxSizing: 'border-box',
|
|
@@ -322,6 +322,10 @@ var modalStyle = _objectSpread(_objectSpread({}, animationStyle), {}, {
|
|
|
322
322
|
display: 'flex',
|
|
323
323
|
marginBottom: _theme.default.modalPanelGap
|
|
324
324
|
},
|
|
325
|
+
headerEmptyTitle: {
|
|
326
|
+
marginBottom: 0,
|
|
327
|
+
height: 0
|
|
328
|
+
},
|
|
325
329
|
headerIcon: {
|
|
326
330
|
'$wrapper &': {
|
|
327
331
|
marginRight: _theme.default.modalHeaderIconMarginEnd,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,cAAc,CAAC;AAMpD,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,gBAAgB,CAiL5C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/cjs/popover/popover.js
CHANGED
|
@@ -6,7 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _theme = _interopRequireDefault(require("@sheinx/theme"));
|
|
8
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
-
|
|
9
|
+
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
|
+
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; }
|
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
12
|
+
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); }
|
|
13
|
+
var cssvar = '--popover-arrow-gap';
|
|
14
|
+
var hideArrowGap = "var(".concat(cssvar, ", 10px)");
|
|
10
15
|
var arrowMargin = '8px';
|
|
11
16
|
var popoverStyle = {
|
|
12
17
|
wrapper: {
|
|
@@ -28,10 +33,17 @@ var popoverStyle = {
|
|
|
28
33
|
height: '8.4px',
|
|
29
34
|
boxSizing: 'content-box',
|
|
30
35
|
background: 'inherit',
|
|
31
|
-
borderBottom: 'none'
|
|
36
|
+
borderBottom: 'none',
|
|
37
|
+
'&[dir=ltr]': {
|
|
38
|
+
borderLeftColor: 'transparent'
|
|
39
|
+
},
|
|
40
|
+
'&[dir=rtl]': {
|
|
41
|
+
borderRight: 'transparent'
|
|
42
|
+
}
|
|
32
43
|
},
|
|
44
|
+
'&$hideArrow': _defineProperty({}, cssvar, '4px'),
|
|
33
45
|
'&[data-soui-position^="bottom"]': {
|
|
34
|
-
marginTop:
|
|
46
|
+
marginTop: "calc(".concat(hideArrowGap, " - 2px)"),
|
|
35
47
|
'& $arrow': {
|
|
36
48
|
top: '0',
|
|
37
49
|
transform: 'translate(0, -50%) rotate(-45deg)',
|
|
@@ -40,17 +52,18 @@ var popoverStyle = {
|
|
|
40
52
|
margin: 'auto'
|
|
41
53
|
},
|
|
42
54
|
'&::after': {
|
|
43
|
-
top:
|
|
55
|
+
top: "calc(".concat(hideArrowGap, " * -1)"),
|
|
44
56
|
left: '0',
|
|
45
57
|
right: '0',
|
|
46
58
|
content: '" "',
|
|
47
59
|
display: 'block',
|
|
48
|
-
height:
|
|
60
|
+
height: hideArrowGap,
|
|
49
61
|
position: 'absolute'
|
|
50
62
|
}
|
|
51
63
|
},
|
|
52
64
|
'&[data-soui-position^="top"]': {
|
|
53
|
-
marginTop: (arrowGap - 2) * -1,
|
|
65
|
+
// marginTop: (arrowGap - 2) * -1,
|
|
66
|
+
marginTop: "calc((".concat(hideArrowGap, " - 2px) * -1)"),
|
|
54
67
|
'& $arrow': {
|
|
55
68
|
bottom: '0',
|
|
56
69
|
transform: 'translate(0, 50%) rotate(135deg)',
|
|
@@ -59,21 +72,25 @@ var popoverStyle = {
|
|
|
59
72
|
margin: 'auto'
|
|
60
73
|
},
|
|
61
74
|
'&::after': {
|
|
62
|
-
bottom: arrowGap * -1,
|
|
75
|
+
// bottom: arrowGap * -1,
|
|
76
|
+
bottom: "calc(".concat(hideArrowGap, " * -1)"),
|
|
63
77
|
left: '0',
|
|
64
78
|
right: '0',
|
|
65
79
|
content: '" "',
|
|
66
80
|
display: 'block',
|
|
67
|
-
height: arrowGap,
|
|
81
|
+
// height: arrowGap,
|
|
82
|
+
height: hideArrowGap,
|
|
68
83
|
position: 'absolute'
|
|
69
84
|
}
|
|
70
85
|
},
|
|
71
86
|
'&[data-soui-position^="left"]': {
|
|
87
|
+
// '&[dir=ltr]': { marginLeft: (arrowGap - 2) * -1 },
|
|
72
88
|
'&[dir=ltr]': {
|
|
73
|
-
marginLeft: (
|
|
89
|
+
marginLeft: "calc((".concat(hideArrowGap, " - 2px) * -1)")
|
|
74
90
|
},
|
|
91
|
+
// '&[dir=rtl]': { marginRight: (arrowGap - 2) * -1 },
|
|
75
92
|
'&[dir=rtl]': {
|
|
76
|
-
marginRight: (
|
|
93
|
+
marginRight: "calc((".concat(hideArrowGap, " - 2px) * -1)")
|
|
77
94
|
},
|
|
78
95
|
'& $arrow': {
|
|
79
96
|
right: _theme.default.popoverBorderWidth,
|
|
@@ -83,21 +100,24 @@ var popoverStyle = {
|
|
|
83
100
|
margin: 'auto'
|
|
84
101
|
},
|
|
85
102
|
'&::after': {
|
|
86
|
-
left: arrowGap * -1,
|
|
103
|
+
// left: arrowGap * -1,
|
|
104
|
+
left: "calc(".concat(hideArrowGap, " * -1)"),
|
|
87
105
|
top: '0',
|
|
88
106
|
bottom: '0',
|
|
89
107
|
content: '" "',
|
|
90
108
|
display: 'block',
|
|
91
|
-
width:
|
|
109
|
+
width: hideArrowGap,
|
|
92
110
|
position: 'absolute'
|
|
93
111
|
}
|
|
94
112
|
},
|
|
95
113
|
'&[data-soui-position^="right"]': {
|
|
114
|
+
// '&[dir=ltr]': { marginLeft: arrowGap - 2 },
|
|
96
115
|
'&[dir=ltr]': {
|
|
97
|
-
marginLeft:
|
|
116
|
+
marginLeft: "calc(".concat(hideArrowGap, " - 2px)")
|
|
98
117
|
},
|
|
118
|
+
// '&[dir=rtl]': { marginRight: arrowGap - 2 },
|
|
99
119
|
'&[dir=rtl]': {
|
|
100
|
-
marginRight:
|
|
120
|
+
marginRight: "calc(".concat(hideArrowGap, " - 2px)")
|
|
101
121
|
},
|
|
102
122
|
'& $arrow': {
|
|
103
123
|
left: '0',
|
|
@@ -107,12 +127,14 @@ var popoverStyle = {
|
|
|
107
127
|
margin: 'auto'
|
|
108
128
|
},
|
|
109
129
|
'&::after': {
|
|
110
|
-
left: arrowGap * -1,
|
|
130
|
+
// left: arrowGap * -1,
|
|
131
|
+
left: "calc(".concat(hideArrowGap, " * -1)"),
|
|
111
132
|
top: '0',
|
|
112
133
|
bottom: '0',
|
|
113
134
|
content: '" "',
|
|
114
135
|
display: 'block',
|
|
115
|
-
width: arrowGap,
|
|
136
|
+
// width: arrowGap,
|
|
137
|
+
width: hideArrowGap,
|
|
116
138
|
position: 'absolute'
|
|
117
139
|
}
|
|
118
140
|
},
|
|
@@ -160,6 +182,7 @@ var popoverStyle = {
|
|
|
160
182
|
display: 'block'
|
|
161
183
|
},
|
|
162
184
|
arrow: {},
|
|
185
|
+
hideArrow: {},
|
|
163
186
|
content: {
|
|
164
187
|
position: 'relative',
|
|
165
188
|
zIndex: 2,
|
|
@@ -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,CAif1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/select/select.js
CHANGED
|
@@ -239,7 +239,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
239
239
|
},
|
|
240
240
|
compressedWrapper: {
|
|
241
241
|
width: 0,
|
|
242
|
-
overflow: '
|
|
242
|
+
overflow: 'auto'
|
|
243
243
|
},
|
|
244
244
|
controlMouse: {
|
|
245
245
|
'& $optionInner:not($optionDisabled):not($optionActive):hover': {
|
|
@@ -384,6 +384,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
384
384
|
}
|
|
385
385
|
},
|
|
386
386
|
tag: {
|
|
387
|
+
flexShrink: 0,
|
|
387
388
|
'&$tag + &$tag': {
|
|
388
389
|
marginLeft: 0
|
|
389
390
|
},
|
|
@@ -396,6 +397,10 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
396
397
|
marginRight: 0
|
|
397
398
|
}
|
|
398
399
|
},
|
|
400
|
+
tagOnly: {
|
|
401
|
+
flexShrink: 1,
|
|
402
|
+
minWidth: 42
|
|
403
|
+
},
|
|
399
404
|
space: {
|
|
400
405
|
marginTop: _theme.default.selectPlaceholderMarginY,
|
|
401
406
|
marginBottom: _theme.default.selectPlaceholderMarginY
|
|
@@ -419,7 +424,8 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
419
424
|
},
|
|
420
425
|
virtualList: {
|
|
421
426
|
margin: 0,
|
|
422
|
-
padding: 0
|
|
427
|
+
padding: 0,
|
|
428
|
+
width: '100%'
|
|
423
429
|
},
|
|
424
430
|
option: {
|
|
425
431
|
listStyle: 'none',
|
package/cjs/slider/slider.js
CHANGED
|
@@ -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,CAsK9C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/switch/switch.js
CHANGED
|
@@ -79,8 +79,12 @@ var switchStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
79
79
|
display: 'inline-block',
|
|
80
80
|
padding: "0 ".concat(_theme.default.switchTextPaddingX)
|
|
81
81
|
},
|
|
82
|
-
wrapperSmall: {
|
|
83
|
-
|
|
82
|
+
wrapperSmall: {
|
|
83
|
+
fontSize: _theme.default.switchSmallFontSize
|
|
84
|
+
},
|
|
85
|
+
wrapperLarge: {
|
|
86
|
+
fontSize: _theme.default.switchLargeFontSize
|
|
87
|
+
},
|
|
84
88
|
indicator: {
|
|
85
89
|
width: _theme.default.switchCircleSize,
|
|
86
90
|
height: _theme.default.switchCircleSize,
|
|
@@ -148,9 +152,23 @@ var switchStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
148
152
|
lineHeight: 1,
|
|
149
153
|
paddingLeft: _theme.default.switchCircleSize,
|
|
150
154
|
transition: "padding ".concat(transition),
|
|
155
|
+
'$wrapperSmall &': {
|
|
156
|
+
paddingLeft: _theme.default.switchSmallCircleSize
|
|
157
|
+
},
|
|
158
|
+
'$wrapperLarge &': {
|
|
159
|
+
paddingLeft: _theme.default.switchLargeCircleSize
|
|
160
|
+
},
|
|
151
161
|
'$wrapperChecked &': {
|
|
152
162
|
paddingLeft: 0,
|
|
153
|
-
paddingRight: _theme.default.switchCircleSize
|
|
163
|
+
paddingRight: _theme.default.switchCircleSize,
|
|
164
|
+
'$wrapperSmall&': {
|
|
165
|
+
paddingLeft: 0,
|
|
166
|
+
paddingRight: _theme.default.switchSmallCircleSize
|
|
167
|
+
},
|
|
168
|
+
'$wrapperLarge&': {
|
|
169
|
+
paddingLeft: 0,
|
|
170
|
+
paddingRight: _theme.default.switchLargeCircleSize
|
|
171
|
+
}
|
|
154
172
|
}
|
|
155
173
|
},
|
|
156
174
|
wrapperDisabled: {
|
package/cjs/table/table.js
CHANGED
|
@@ -61,10 +61,10 @@ var tableStyle = _objectSpread(_objectSpread({}, globalStyle), {}, {
|
|
|
61
61
|
background: _theme.default.tableCellBorderColor,
|
|
62
62
|
borderLeft: "1px solid ".concat(_theme.default.tableCellBorderColor)
|
|
63
63
|
},
|
|
64
|
-
'
|
|
64
|
+
'[dir=ltr]&::after': {
|
|
65
65
|
right: 0
|
|
66
66
|
},
|
|
67
|
-
'
|
|
67
|
+
'[dir=rtl]&::after': {
|
|
68
68
|
left: 0
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -436,7 +436,7 @@ var tableStyle = _objectSpread(_objectSpread({}, globalStyle), {}, {
|
|
|
436
436
|
iconWrapper: {
|
|
437
437
|
display: 'inline-block',
|
|
438
438
|
verticalAlign: 'top',
|
|
439
|
-
lineHeight: '1.
|
|
439
|
+
lineHeight: '1.9',
|
|
440
440
|
height: '14px'
|
|
441
441
|
},
|
|
442
442
|
rowStriped: {
|
package/cjs/tabs/tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAsSxC,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAsSxC,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,WAAW,CAmc1C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/cjs/tabs/tabs.js
CHANGED
|
@@ -488,6 +488,12 @@ var tabsStyle = {
|
|
|
488
488
|
width: '100%',
|
|
489
489
|
alignItems: 'center'
|
|
490
490
|
},
|
|
491
|
+
'& $next': {
|
|
492
|
+
marginLeft: _theme.default.tabsNearlyMargin
|
|
493
|
+
},
|
|
494
|
+
'& $prev': {
|
|
495
|
+
marginRight: _theme.default.tabsNearlyMargin
|
|
496
|
+
},
|
|
491
497
|
'& $next,& $prev': {
|
|
492
498
|
lineHeight: 0,
|
|
493
499
|
padding: "".concat(_theme.default.tabsActionHorizontalPaddingY, " ").concat(_theme.default.tabsActionHorizontalPaddingX)
|
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;AA+I1C,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;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CAwIxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/cjs/tag/tag.js
CHANGED
|
@@ -144,7 +144,6 @@ var TagStyle = {
|
|
|
144
144
|
wrapper: {
|
|
145
145
|
lineHeight: _theme.default.lineHeightDynamic
|
|
146
146
|
},
|
|
147
|
-
container: {},
|
|
148
147
|
inline: {
|
|
149
148
|
display: 'inline-block',
|
|
150
149
|
flex: 1,
|
|
@@ -166,9 +165,6 @@ var TagStyle = {
|
|
|
166
165
|
small: {
|
|
167
166
|
lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)"),
|
|
168
167
|
padding: "0 ".concat(_theme.default.tagSmallPaddingX),
|
|
169
|
-
'& $container': {
|
|
170
|
-
lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)")
|
|
171
|
-
},
|
|
172
168
|
'& $wrapper': {
|
|
173
169
|
lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)")
|
|
174
170
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAyDxC,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAyDxC,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,eAAe,CA6F1C,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/cjs/textarea/textarea.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AA+C9C,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AA+C9C,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,MAAM,cAAc,CAgLhD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/cjs/tooltip/tooltip.js
CHANGED
|
@@ -66,10 +66,12 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
66
66
|
boxShadow: _theme.default.tooltipShadow,
|
|
67
67
|
color: _theme.default.tooltipColor,
|
|
68
68
|
wordWrap: 'break-word',
|
|
69
|
+
pointerEvents: 'none',
|
|
69
70
|
'&[data-soui-type^="light"]': {
|
|
70
71
|
backgroundColor: _theme.default.tooltipLightBackgroundColor,
|
|
71
72
|
color: _theme.default.tooltipLightColor,
|
|
72
|
-
border: "1px solid ".concat(_theme.default.tooltipLightBorderColor)
|
|
73
|
+
border: "1px solid ".concat(_theme.default.tooltipLightBorderColor),
|
|
74
|
+
boxSizing: 'border-box'
|
|
73
75
|
},
|
|
74
76
|
'&[data-soui-type^="primary"]': {
|
|
75
77
|
backgroundColor: _theme.default.tooltipPrimaryBackgroundColor,
|
|
@@ -93,21 +95,27 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
93
95
|
content: '" "',
|
|
94
96
|
display: 'block',
|
|
95
97
|
border: "inherit",
|
|
98
|
+
borderLeftColor: 'transparent',
|
|
96
99
|
width: '8.4px',
|
|
97
100
|
height: '8.4px',
|
|
98
101
|
boxSizing: 'content-box',
|
|
99
102
|
background: 'inherit',
|
|
100
|
-
|
|
103
|
+
borderBottomColor: 'transparent'
|
|
101
104
|
},
|
|
102
105
|
'&[data-soui-position^="bottom"]': {
|
|
103
106
|
marginTop: arrowGap - 2,
|
|
104
107
|
'&::before': {
|
|
105
108
|
top: '0',
|
|
106
|
-
transform: 'translate(0, -50%) rotate(-45deg)',
|
|
107
109
|
left: '0',
|
|
108
110
|
right: '0',
|
|
109
111
|
margin: 'auto'
|
|
110
112
|
},
|
|
113
|
+
'&[dir=ltr]::before': {
|
|
114
|
+
transform: 'translate(0, -50%) rotate(-45deg)'
|
|
115
|
+
},
|
|
116
|
+
'&[dir=rtl]::before': {
|
|
117
|
+
transform: 'translate(0, -50%) rotate(45deg)'
|
|
118
|
+
},
|
|
111
119
|
'&::after': {
|
|
112
120
|
top: arrowGap * -1,
|
|
113
121
|
left: '0',
|
|
@@ -127,6 +135,12 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
127
135
|
right: '0',
|
|
128
136
|
margin: 'auto'
|
|
129
137
|
},
|
|
138
|
+
'&[dir=ltr]::before': {
|
|
139
|
+
transform: 'translate(0, 50%) rotate(135deg)'
|
|
140
|
+
},
|
|
141
|
+
'&[dir=rtl]::before': {
|
|
142
|
+
transform: 'translate(0, 50%) rotate(-135deg)'
|
|
143
|
+
},
|
|
130
144
|
'&::after': {
|
|
131
145
|
bottom: arrowGap * -1,
|
|
132
146
|
left: '0',
|
|
@@ -147,11 +161,16 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
147
161
|
},
|
|
148
162
|
'&::before': {
|
|
149
163
|
right: 0,
|
|
150
|
-
transform: 'translate(50%, 0) rotate(45deg)',
|
|
151
164
|
top: '0',
|
|
152
165
|
bottom: '0',
|
|
153
166
|
margin: 'auto'
|
|
154
167
|
},
|
|
168
|
+
'&[dir=ltr]::before': {
|
|
169
|
+
transform: 'translate(50%, 0) rotate(45deg)'
|
|
170
|
+
},
|
|
171
|
+
'&[dir=rtl]::before': {
|
|
172
|
+
transform: 'translate(50%, 0) rotate(135deg)'
|
|
173
|
+
},
|
|
155
174
|
'&::after': {
|
|
156
175
|
left: arrowGap * -1,
|
|
157
176
|
top: '0',
|
|
@@ -172,11 +191,16 @@ var tooltipStyle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
172
191
|
},
|
|
173
192
|
'&::before': {
|
|
174
193
|
left: '0',
|
|
175
|
-
transform: 'translate(-50%, 0) rotate(-135deg)',
|
|
176
194
|
top: '0',
|
|
177
195
|
bottom: '0',
|
|
178
196
|
margin: 'auto'
|
|
179
197
|
},
|
|
198
|
+
'&[dir=ltr]::before': {
|
|
199
|
+
transform: 'translate(-50%, 0) rotate(-135deg)'
|
|
200
|
+
},
|
|
201
|
+
'&[dir=rtl]::before': {
|
|
202
|
+
transform: 'translate(-50%, 0) rotate(-45deg)'
|
|
203
|
+
},
|
|
180
204
|
'&::after': {
|
|
181
205
|
left: arrowGap * -1,
|
|
182
206
|
top: '0',
|
package/cjs/tree/tree.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAE9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAE9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAuNtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/cjs/tree/tree.js
CHANGED
|
@@ -121,16 +121,35 @@ var treeStyle = {
|
|
|
121
121
|
cursor: 'pointer',
|
|
122
122
|
padding: "0 ".concat(_theme.default.treePaddingX),
|
|
123
123
|
borderRadius: _theme.default.treeContentBorderRadius,
|
|
124
|
+
position: 'relative',
|
|
125
|
+
'&[data-expanded="true"]::before': {
|
|
126
|
+
content: '""',
|
|
127
|
+
position: 'absolute',
|
|
128
|
+
top: 24,
|
|
129
|
+
bottom: 0,
|
|
130
|
+
left: -12,
|
|
131
|
+
width: 1,
|
|
132
|
+
background: '#ebebeb'
|
|
133
|
+
},
|
|
134
|
+
'&[dir=ltr][data-expanded="true"]::before': {
|
|
135
|
+
left: -12
|
|
136
|
+
},
|
|
137
|
+
'&[dir=rtl][data-expanded="true"]::before': {
|
|
138
|
+
right: -12
|
|
139
|
+
},
|
|
124
140
|
'&[data-active="true"]': {
|
|
125
141
|
background: _theme.default.treeContentActiveBackgroundColor,
|
|
126
142
|
'& $text': {
|
|
127
143
|
color: _theme.default.treeContentActiveFontColor
|
|
128
144
|
}
|
|
129
145
|
},
|
|
130
|
-
'&[data-disabled="true"]': {
|
|
131
|
-
|
|
132
|
-
},
|
|
133
|
-
'&:hover:not([data-active="true"]):not([data-disabled="true"])': {
|
|
146
|
+
// '&[data-disabled="true"]': {
|
|
147
|
+
// cursor: 'not-allowed',
|
|
148
|
+
// },
|
|
149
|
+
// '&:hover:not([data-active="true"]):not([data-disabled="true"])': {
|
|
150
|
+
// background: Token.treeContentHoverBackgroundColor,
|
|
151
|
+
// },
|
|
152
|
+
'&:hover:not([data-active="true"])': {
|
|
134
153
|
background: _theme.default.treeContentHoverBackgroundColor
|
|
135
154
|
}
|
|
136
155
|
},
|
|
@@ -148,9 +167,9 @@ var treeStyle = {
|
|
|
148
167
|
paddingTop: _theme.default.treeTextPaddingY,
|
|
149
168
|
paddingBottom: _theme.default.treeTextPaddingY
|
|
150
169
|
},
|
|
151
|
-
textDisabled: {
|
|
152
|
-
|
|
153
|
-
},
|
|
170
|
+
// textDisabled: {
|
|
171
|
+
// color: Token.treeItemDisabledFontColor,
|
|
172
|
+
// },
|
|
154
173
|
list: {},
|
|
155
174
|
node: {
|
|
156
175
|
position: 'relative',
|
|
@@ -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,CA+clD,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -250,7 +250,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
250
250
|
},
|
|
251
251
|
compressedWrapper: {
|
|
252
252
|
width: 0,
|
|
253
|
-
overflow: '
|
|
253
|
+
overflow: 'auto'
|
|
254
254
|
},
|
|
255
255
|
controlMouse: {
|
|
256
256
|
'& $optionInner:hover': {
|
|
@@ -369,6 +369,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
369
369
|
}
|
|
370
370
|
},
|
|
371
371
|
tag: {
|
|
372
|
+
flexShrink: 0,
|
|
372
373
|
'&$tag + &$tag': {
|
|
373
374
|
marginLeft: 0
|
|
374
375
|
},
|
|
@@ -381,6 +382,10 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
381
382
|
marginRight: 0
|
|
382
383
|
}
|
|
383
384
|
},
|
|
385
|
+
tagOnly: {
|
|
386
|
+
flexShrink: 1,
|
|
387
|
+
minWidth: 42
|
|
388
|
+
},
|
|
384
389
|
space: {
|
|
385
390
|
marginTop: _theme.default.treeSelectPlaceholderMarginY,
|
|
386
391
|
marginBottom: _theme.default.treeSelectPlaceholderMarginY
|
package/cjs/version.d.ts
CHANGED
package/cjs/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAAuB"}
|
package/cjs/version.js
CHANGED
package/esm/alert/alert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["alert.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["alert.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,CAuJ5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/alert/alert.js
CHANGED
|
@@ -84,7 +84,7 @@ var alertStyle = {
|
|
|
84
84
|
width: Token.alertFontSize,
|
|
85
85
|
color: Token.alertCloseFontColor,
|
|
86
86
|
fontSize: Token.alertFontSize,
|
|
87
|
-
height: Token.
|
|
87
|
+
height: Token.alertFontSize,
|
|
88
88
|
flex: '0 0 auto',
|
|
89
89
|
display: 'flex',
|
|
90
90
|
alignItems: 'center',
|
|
@@ -94,8 +94,15 @@ var alertStyle = {
|
|
|
94
94
|
color: Token.alertCloseHoverColor
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
+
closeWrapper: {
|
|
98
|
+
width: Token.alertFontSize,
|
|
99
|
+
height: Token.lineHeightDynamic,
|
|
100
|
+
display: 'flex',
|
|
101
|
+
alignItems: 'center'
|
|
102
|
+
},
|
|
97
103
|
content: {
|
|
98
104
|
flex: '1 1 0',
|
|
105
|
+
minWidth: 0,
|
|
99
106
|
wordBreak: 'break-all'
|
|
100
107
|
},
|
|
101
108
|
pending: {
|