@sheinx/shineout-style 3.1.27 → 3.2.0-beta.2
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.js +3 -2
- package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/cjs/breadcrumb/breadcrumb.js +14 -10
- package/cjs/card/card.d.ts.map +1 -1
- package/cjs/card/card.js +8 -4
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +33 -21
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +30 -21
- package/cjs/descriptions/descriptions.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +26 -8
- package/cjs/divider/divider.d.ts.map +1 -1
- package/cjs/divider/divider.js +1 -0
- package/cjs/dropdown/dropdown.js +1 -1
- package/cjs/editable-area/editable-area.d.ts.map +1 -1
- package/cjs/editable-area/editable-area.js +33 -23
- package/cjs/empty/empty.d.ts.map +1 -1
- package/cjs/empty/empty.js +1 -0
- package/cjs/form/form-item.d.ts.map +1 -1
- package/cjs/form/form-item.js +9 -3
- package/cjs/image/image.js +5 -5
- package/cjs/inner-title/inner-title.d.ts.map +1 -1
- package/cjs/inner-title/inner-title.js +7 -0
- package/cjs/input/input-border.d.ts +9 -0
- package/cjs/input/input-border.d.ts.map +1 -1
- package/cjs/input/input-border.js +14 -5
- package/cjs/input/input.d.ts.map +1 -1
- package/cjs/input/input.js +14 -2
- package/cjs/list/list.d.ts.map +1 -1
- package/cjs/list/list.js +6 -3
- 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 +183 -132
- package/cjs/menu/search.d.ts +6 -0
- package/cjs/menu/search.d.ts.map +1 -0
- package/cjs/menu/search.js +81 -0
- package/cjs/popover/popover.d.ts.map +1 -1
- package/cjs/popover/popover.js +34 -16
- package/cjs/progress/progress.d.ts.map +1 -1
- package/cjs/progress/progress.js +43 -6
- package/cjs/rate/rate.d.ts.map +1 -1
- package/cjs/rate/rate.js +2 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +49 -25
- package/cjs/table/table.d.ts.map +1 -1
- package/cjs/table/table.js +23 -3
- package/cjs/tag/tag.d.ts.map +1 -1
- package/cjs/tag/tag.js +5 -2
- package/cjs/textarea/textarea.d.ts.map +1 -1
- package/cjs/textarea/textarea.js +33 -23
- package/cjs/transfer/transfer.d.ts.map +1 -1
- package/cjs/transfer/transfer.js +10 -5
- package/cjs/tree/tree.d.ts.map +1 -1
- package/cjs/tree/tree.js +3 -2
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +30 -21
- 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.js +3 -2
- package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/esm/breadcrumb/breadcrumb.js +14 -10
- package/esm/card/card.d.ts.map +1 -1
- package/esm/card/card.js +8 -4
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +33 -21
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +30 -21
- package/esm/descriptions/descriptions.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +26 -8
- package/esm/divider/divider.d.ts.map +1 -1
- package/esm/divider/divider.js +1 -0
- package/esm/dropdown/dropdown.js +1 -1
- package/esm/editable-area/editable-area.d.ts.map +1 -1
- package/esm/editable-area/editable-area.js +33 -23
- package/esm/empty/empty.d.ts.map +1 -1
- package/esm/empty/empty.js +1 -0
- package/esm/form/form-item.d.ts.map +1 -1
- package/esm/form/form-item.js +9 -3
- package/esm/image/image.js +5 -5
- package/esm/inner-title/inner-title.d.ts.map +1 -1
- package/esm/inner-title/inner-title.js +7 -0
- package/esm/input/input-border.d.ts +9 -0
- package/esm/input/input-border.d.ts.map +1 -1
- package/esm/input/input-border.js +14 -5
- package/esm/input/input.d.ts.map +1 -1
- package/esm/input/input.js +14 -2
- package/esm/list/list.d.ts.map +1 -1
- package/esm/list/list.js +6 -3
- 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 +183 -132
- package/esm/menu/search.d.ts +6 -0
- package/esm/menu/search.d.ts.map +1 -0
- package/esm/menu/search.js +73 -0
- package/esm/popover/popover.d.ts.map +1 -1
- package/esm/popover/popover.js +34 -16
- package/esm/progress/progress.d.ts.map +1 -1
- package/esm/progress/progress.js +43 -6
- package/esm/rate/rate.d.ts.map +1 -1
- package/esm/rate/rate.js +2 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +49 -25
- package/esm/table/table.d.ts.map +1 -1
- package/esm/table/table.js +23 -3
- package/esm/tag/tag.d.ts.map +1 -1
- package/esm/tag/tag.js +5 -2
- package/esm/textarea/textarea.d.ts.map +1 -1
- package/esm/textarea/textarea.js +33 -23
- package/esm/transfer/transfer.d.ts.map +1 -1
- package/esm/transfer/transfer.js +10 -5
- package/esm/tree/tree.d.ts.map +1 -1
- package/esm/tree/tree.js +3 -2
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +30 -21
- 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,6 @@
|
|
|
1
|
+
import { MenuSearchClasses } from '@sheinx/base';
|
|
2
|
+
import { JsStyles } from '../jss-style';
|
|
3
|
+
export type MenuSearchClassType = keyof MenuSearchClasses;
|
|
4
|
+
declare const menuSearchStyle: JsStyles<MenuSearchClassType>;
|
|
5
|
+
export default menuSearchStyle;
|
|
6
|
+
//# sourceMappingURL=search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["search.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAE1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CA6FlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
borderRadius: '50%',
|
|
21
|
+
padding: _theme.default.menuSearchPaddingX,
|
|
22
|
+
cursor: 'pointer',
|
|
23
|
+
lineHeight: 1,
|
|
24
|
+
'$wrapperLight&': {
|
|
25
|
+
background: _theme.default.menuSearchBackgroundColor,
|
|
26
|
+
border: "1px solid ".concat(_theme.default.menuSearchBackgroundColor),
|
|
27
|
+
'&:hover': {
|
|
28
|
+
background: _theme.default.menuSearchHoverBackgroundColor,
|
|
29
|
+
borderColor: _theme.default.menuSearchHoverBorderColor
|
|
30
|
+
},
|
|
31
|
+
'$wrapperDisabled&': {
|
|
32
|
+
background: _theme.default.menuSearchDisabledBackgroundColor,
|
|
33
|
+
borderColor: _theme.default.menuSearchDisabledBackgroundColor
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
'$wrapperDark&': {
|
|
37
|
+
background: _theme.default.menuSearchDarkBackgroundColor,
|
|
38
|
+
border: "1px solid ".concat(_theme.default.menuSearchDarkBackgroundColor),
|
|
39
|
+
'&:hover': {
|
|
40
|
+
background: _theme.default.menuSearchDarkHoverBackgroundColor,
|
|
41
|
+
borderColor: _theme.default.menuSearchDarkHoverBorderColor
|
|
42
|
+
},
|
|
43
|
+
'$wrapperDisabled&': {
|
|
44
|
+
background: _theme.default.menuSearchDarkBackgroundColor,
|
|
45
|
+
borderColor: _theme.default.menuSearchDarkBackgroundColor,
|
|
46
|
+
'&$search': {
|
|
47
|
+
color: _theme.default.menuSearchDarkIconColor
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
wrapperDisabled: {
|
|
53
|
+
cursor: 'not-allowed',
|
|
54
|
+
'&$wrapperDark': {
|
|
55
|
+
opacity: 0.3
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
input: {
|
|
59
|
+
width: '100%'
|
|
60
|
+
},
|
|
61
|
+
search: {
|
|
62
|
+
width: _theme.default.menuSearchIconSize,
|
|
63
|
+
height: _theme.default.menuSearchIconSize,
|
|
64
|
+
cursor: 'pointer',
|
|
65
|
+
display: 'flex',
|
|
66
|
+
justifyContent: 'center',
|
|
67
|
+
marginRight: _theme.default.menuSearchIconMarginX,
|
|
68
|
+
color: _theme.default.menuSearchIconColor,
|
|
69
|
+
'$wrapperDisabled &': {
|
|
70
|
+
color: _theme.default.inputDisabledFontColor,
|
|
71
|
+
cursor: 'not-allowed'
|
|
72
|
+
},
|
|
73
|
+
'$wrapperDark &': {
|
|
74
|
+
color: _theme.default.menuSearchDarkIconColor
|
|
75
|
+
},
|
|
76
|
+
'$wrapperCollapsed &': {
|
|
77
|
+
marginRight: 0
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
var _default = exports.default = menuSearchStyle;
|
|
@@ -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: {
|
|
@@ -36,8 +41,9 @@ var popoverStyle = {
|
|
|
36
41
|
borderRight: 'transparent'
|
|
37
42
|
}
|
|
38
43
|
},
|
|
44
|
+
'&$hideArrow': _defineProperty({}, cssvar, '4px'),
|
|
39
45
|
'&[data-soui-position^="bottom"]': {
|
|
40
|
-
marginTop:
|
|
46
|
+
marginTop: "calc(".concat(hideArrowGap, " - 2px)"),
|
|
41
47
|
'& $arrow': {
|
|
42
48
|
top: '0',
|
|
43
49
|
transform: 'translate(0, -50%) rotate(-45deg)',
|
|
@@ -46,17 +52,18 @@ var popoverStyle = {
|
|
|
46
52
|
margin: 'auto'
|
|
47
53
|
},
|
|
48
54
|
'&::after': {
|
|
49
|
-
top:
|
|
55
|
+
top: "calc(".concat(hideArrowGap, " * -1)"),
|
|
50
56
|
left: '0',
|
|
51
57
|
right: '0',
|
|
52
58
|
content: '" "',
|
|
53
59
|
display: 'block',
|
|
54
|
-
height:
|
|
60
|
+
height: hideArrowGap,
|
|
55
61
|
position: 'absolute'
|
|
56
62
|
}
|
|
57
63
|
},
|
|
58
64
|
'&[data-soui-position^="top"]': {
|
|
59
|
-
marginTop: (arrowGap - 2) * -1,
|
|
65
|
+
// marginTop: (arrowGap - 2) * -1,
|
|
66
|
+
marginTop: "calc((".concat(hideArrowGap, " - 2px) * -1)"),
|
|
60
67
|
'& $arrow': {
|
|
61
68
|
bottom: '0',
|
|
62
69
|
transform: 'translate(0, 50%) rotate(135deg)',
|
|
@@ -65,21 +72,25 @@ var popoverStyle = {
|
|
|
65
72
|
margin: 'auto'
|
|
66
73
|
},
|
|
67
74
|
'&::after': {
|
|
68
|
-
bottom: arrowGap * -1,
|
|
75
|
+
// bottom: arrowGap * -1,
|
|
76
|
+
bottom: "calc(".concat(hideArrowGap, " * -1)"),
|
|
69
77
|
left: '0',
|
|
70
78
|
right: '0',
|
|
71
79
|
content: '" "',
|
|
72
80
|
display: 'block',
|
|
73
|
-
height: arrowGap,
|
|
81
|
+
// height: arrowGap,
|
|
82
|
+
height: hideArrowGap,
|
|
74
83
|
position: 'absolute'
|
|
75
84
|
}
|
|
76
85
|
},
|
|
77
86
|
'&[data-soui-position^="left"]': {
|
|
87
|
+
// '&[dir=ltr]': { marginLeft: (arrowGap - 2) * -1 },
|
|
78
88
|
'&[dir=ltr]': {
|
|
79
|
-
marginLeft: (
|
|
89
|
+
marginLeft: "calc((".concat(hideArrowGap, " - 2px) * -1)")
|
|
80
90
|
},
|
|
91
|
+
// '&[dir=rtl]': { marginRight: (arrowGap - 2) * -1 },
|
|
81
92
|
'&[dir=rtl]': {
|
|
82
|
-
marginRight: (
|
|
93
|
+
marginRight: "calc((".concat(hideArrowGap, " - 2px) * -1)")
|
|
83
94
|
},
|
|
84
95
|
'& $arrow': {
|
|
85
96
|
right: _theme.default.popoverBorderWidth,
|
|
@@ -89,21 +100,24 @@ var popoverStyle = {
|
|
|
89
100
|
margin: 'auto'
|
|
90
101
|
},
|
|
91
102
|
'&::after': {
|
|
92
|
-
left: arrowGap * -1,
|
|
103
|
+
// left: arrowGap * -1,
|
|
104
|
+
left: "calc(".concat(hideArrowGap, " * -1)"),
|
|
93
105
|
top: '0',
|
|
94
106
|
bottom: '0',
|
|
95
107
|
content: '" "',
|
|
96
108
|
display: 'block',
|
|
97
|
-
width:
|
|
109
|
+
width: hideArrowGap,
|
|
98
110
|
position: 'absolute'
|
|
99
111
|
}
|
|
100
112
|
},
|
|
101
113
|
'&[data-soui-position^="right"]': {
|
|
114
|
+
// '&[dir=ltr]': { marginLeft: arrowGap - 2 },
|
|
102
115
|
'&[dir=ltr]': {
|
|
103
|
-
marginLeft:
|
|
116
|
+
marginLeft: "calc(".concat(hideArrowGap, " - 2px)")
|
|
104
117
|
},
|
|
118
|
+
// '&[dir=rtl]': { marginRight: arrowGap - 2 },
|
|
105
119
|
'&[dir=rtl]': {
|
|
106
|
-
marginRight:
|
|
120
|
+
marginRight: "calc(".concat(hideArrowGap, " - 2px)")
|
|
107
121
|
},
|
|
108
122
|
'& $arrow': {
|
|
109
123
|
left: '0',
|
|
@@ -113,12 +127,14 @@ var popoverStyle = {
|
|
|
113
127
|
margin: 'auto'
|
|
114
128
|
},
|
|
115
129
|
'&::after': {
|
|
116
|
-
left: arrowGap * -1,
|
|
130
|
+
// left: arrowGap * -1,
|
|
131
|
+
left: "calc(".concat(hideArrowGap, " * -1)"),
|
|
117
132
|
top: '0',
|
|
118
133
|
bottom: '0',
|
|
119
134
|
content: '" "',
|
|
120
135
|
display: 'block',
|
|
121
|
-
width: arrowGap,
|
|
136
|
+
// width: arrowGap,
|
|
137
|
+
width: hideArrowGap,
|
|
122
138
|
position: 'absolute'
|
|
123
139
|
}
|
|
124
140
|
},
|
|
@@ -166,10 +182,12 @@ var popoverStyle = {
|
|
|
166
182
|
display: 'block'
|
|
167
183
|
},
|
|
168
184
|
arrow: {},
|
|
185
|
+
hideArrow: {},
|
|
169
186
|
content: {
|
|
170
187
|
position: 'relative',
|
|
171
188
|
zIndex: 2,
|
|
172
189
|
fontSize: _theme.default.popoverFontSize,
|
|
190
|
+
fontWeight: _theme.default.popoverFontWeight,
|
|
173
191
|
color: _theme.default.popoverFontColor,
|
|
174
192
|
background: 'inherit',
|
|
175
193
|
borderRadius: 'inherit'
|
|
@@ -187,7 +205,7 @@ var popoverStyle = {
|
|
|
187
205
|
backgroundColor: 'transparent',
|
|
188
206
|
border: 0,
|
|
189
207
|
padding: 0,
|
|
190
|
-
marginBottom: _theme.default.
|
|
208
|
+
marginBottom: _theme.default.popoverConfirmMarginY
|
|
191
209
|
}
|
|
192
210
|
},
|
|
193
211
|
footer: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAEtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAEtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAiJ9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/cjs/progress/progress.js
CHANGED
|
@@ -56,10 +56,6 @@ var progressStyle = {
|
|
|
56
56
|
height: '100%',
|
|
57
57
|
boxSizing: 'border-box',
|
|
58
58
|
borderRadius: 'inherit',
|
|
59
|
-
'$lineInner &': {
|
|
60
|
-
display: 'flex',
|
|
61
|
-
alignItems: 'center'
|
|
62
|
-
},
|
|
63
59
|
'$wrapperSuccess &': {
|
|
64
60
|
backgroundColor: _theme.default.progressSuccessFrontBackgroundColor
|
|
65
61
|
},
|
|
@@ -71,6 +67,22 @@ var progressStyle = {
|
|
|
71
67
|
},
|
|
72
68
|
'$wrapperDanger &': {
|
|
73
69
|
backgroundColor: _theme.default.progressDangerFrontBackgroundColor
|
|
70
|
+
},
|
|
71
|
+
'$lineInner &': {
|
|
72
|
+
display: 'flex',
|
|
73
|
+
alignItems: 'center',
|
|
74
|
+
'$wrapperSuccess&': {
|
|
75
|
+
backgroundColor: _theme.default.progressLineInnerSuccessFrontBackgroundColor
|
|
76
|
+
},
|
|
77
|
+
'$wrapperWarning&': {
|
|
78
|
+
backgroundColor: _theme.default.progressLineInnerWarningFrontBackgroundColor
|
|
79
|
+
},
|
|
80
|
+
'$wrapperInfo&': {
|
|
81
|
+
backgroundColor: _theme.default.progressLineInnerInfoFrontBackgroundColor
|
|
82
|
+
},
|
|
83
|
+
'$wrapperDanger&': {
|
|
84
|
+
backgroundColor: _theme.default.progressLineInnerDangerFrontBackgroundColor
|
|
85
|
+
}
|
|
74
86
|
}
|
|
75
87
|
},
|
|
76
88
|
content: {
|
|
@@ -80,7 +92,19 @@ var progressStyle = {
|
|
|
80
92
|
'$lineInner &': {
|
|
81
93
|
marginLeft: 'auto',
|
|
82
94
|
padding: "0 ".concat(_theme.default.progressLineInnerPaddingX),
|
|
83
|
-
|
|
95
|
+
fontWeight: _theme.default.progressLineFontWeight
|
|
96
|
+
},
|
|
97
|
+
'$wrapperSuccess &': {
|
|
98
|
+
color: _theme.default.progressSuccessInnerFontColor
|
|
99
|
+
},
|
|
100
|
+
'$wrapperWarning &': {
|
|
101
|
+
color: _theme.default.progressWarningInnerFontColor
|
|
102
|
+
},
|
|
103
|
+
'$wrapperInfo &': {
|
|
104
|
+
color: _theme.default.progressInfoInnerFontColor
|
|
105
|
+
},
|
|
106
|
+
'$wrapperDanger &': {
|
|
107
|
+
color: _theme.default.progressDangerInnerFontColor
|
|
84
108
|
},
|
|
85
109
|
'$lineInnerRight &&': {
|
|
86
110
|
// marginLeft: token.progressLineInnerPaddingX,
|
|
@@ -97,7 +121,7 @@ var progressStyle = {
|
|
|
97
121
|
background: _theme.default.progressLineBackgroundColor,
|
|
98
122
|
padding: '3px 8px',
|
|
99
123
|
borderRadius: '2px',
|
|
100
|
-
color: _theme.default.
|
|
124
|
+
color: _theme.default.progressLinePopFontColor,
|
|
101
125
|
boxShadow: '0 3px 6px -4px rgba(0,0,0,.12), 0 6px 16px rgba(0,0,0,.08), 0 9px 28px 8px rgba(0,0,0,.05)'
|
|
102
126
|
},
|
|
103
127
|
linePopValue: {},
|
|
@@ -138,6 +162,19 @@ var progressStyle = {
|
|
|
138
162
|
'& $icon': {
|
|
139
163
|
width: '31.25%',
|
|
140
164
|
height: '31.25%'
|
|
165
|
+
},
|
|
166
|
+
fontWeight: _theme.default.progressCircleFontWeight,
|
|
167
|
+
'&$wrapperSuccess $content': {
|
|
168
|
+
color: _theme.default.progressCircleSuccessFontColor
|
|
169
|
+
},
|
|
170
|
+
'&$wrapperWarning $content': {
|
|
171
|
+
color: _theme.default.progressCircleWarningFontColor
|
|
172
|
+
},
|
|
173
|
+
'&$wrapperInfo $content': {
|
|
174
|
+
color: _theme.default.progressCircleInfoFontColor
|
|
175
|
+
},
|
|
176
|
+
'&$wrapperDanger $content': {
|
|
177
|
+
color: _theme.default.progressCircleDangerFontColor
|
|
141
178
|
}
|
|
142
179
|
},
|
|
143
180
|
circleBg: {
|
package/cjs/rate/rate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["rate.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;AAoB9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["rate.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;AAoB9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAoFtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/cjs/rate/rate.js
CHANGED
|
@@ -104,8 +104,9 @@ var rateStyle = {
|
|
|
104
104
|
},
|
|
105
105
|
text: {
|
|
106
106
|
fontSize: _theme.default.rateFontSize,
|
|
107
|
+
fontWeight: _theme.default.rateFontWeight,
|
|
107
108
|
color: _theme.default.rateFontColor,
|
|
108
|
-
paddingLeft:
|
|
109
|
+
paddingLeft: _theme.default.rateTextGap
|
|
109
110
|
},
|
|
110
111
|
itemDisabled: {},
|
|
111
112
|
itemAnimation: {
|
|
@@ -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;
|
|
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
|
@@ -17,27 +17,36 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
17
17
|
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; }
|
|
18
18
|
var inputBorderToken = {
|
|
19
19
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
20
|
-
borderRadius: _theme.default.
|
|
21
|
-
fontSize: _theme.default.
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
borderRadius: _theme.default.inputBorderRadius,
|
|
21
|
+
fontSize: _theme.default.inputFontSize,
|
|
22
|
+
fontWeight: _theme.default.inputFontWeight,
|
|
23
|
+
smallFontSize: _theme.default.inputSmallFontSize,
|
|
24
|
+
largeFontSize: _theme.default.inputLargeFontSize,
|
|
24
25
|
paddingY: _theme.default.selectPaddingY,
|
|
25
26
|
smallPaddingY: _theme.default.selectSmallPaddingY,
|
|
26
27
|
largePaddingY: _theme.default.selectLargePaddingY,
|
|
27
28
|
paddingX: _theme.default.selectPaddingX,
|
|
28
29
|
smallPaddingX: _theme.default.selectSmallPaddingX,
|
|
29
30
|
largePaddingX: _theme.default.selectLargePaddingX,
|
|
30
|
-
borderColor: _theme.default.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
31
|
+
borderColor: _theme.default.inputBorderColor,
|
|
32
|
+
borderWidth: _theme.default.inputBorderWidth,
|
|
33
|
+
focusBorderColor: _theme.default.inputFocusBorderColor,
|
|
34
|
+
hoverBorderColor: _theme.default.inputHoverBorderColor,
|
|
35
|
+
disabledBorderColor: _theme.default.inputDisabledBorderColor,
|
|
36
|
+
errorBorderColor: _theme.default.inputErrorBorderColor,
|
|
37
|
+
errorHoverBorderColor: _theme.default.inputErrorHoverBorderColor,
|
|
38
|
+
errorFocusBorderColor: _theme.default.inputErrorFocusBorderColor,
|
|
39
|
+
fontColor: _theme.default.inputFontColor,
|
|
40
|
+
disabledFontColor: _theme.default.inputDisabledFontColor,
|
|
41
|
+
backgroundColor: _theme.default.inputBackgroundColor,
|
|
42
|
+
hoverBackgroundColor: _theme.default.inputHoverBackgroundColor,
|
|
43
|
+
focusBackgroundColor: _theme.default.inputFocusBackgroundColor,
|
|
44
|
+
disabledBackgroundColor: _theme.default.inputDisabledBackgroundColor,
|
|
45
|
+
errorBackgroundColor: _theme.default.inputErrorBackgroundColor,
|
|
46
|
+
errorFocusBackgroundColor: _theme.default.inputErrorFocusBackgroundColor,
|
|
47
|
+
errorHoverBackgroundColor: _theme.default.inputErrorHoverBackgroundColor,
|
|
48
|
+
focusShadow: _theme.default.inputFocusShadow,
|
|
49
|
+
errorFocusShadow: _theme.default.inputErrorFocusShadow,
|
|
41
50
|
innerTitlePaddingY: _theme.default.inputInnerPaddingY,
|
|
42
51
|
innerTitlePaddingX: _theme.default.inputInnerPaddingX,
|
|
43
52
|
smallInnerTitlePaddingY: _theme.default.inputInnerSmallPaddingY,
|
|
@@ -98,7 +107,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
98
107
|
marginBottom: _theme.default.selectLargePlaceholderMarginY
|
|
99
108
|
}
|
|
100
109
|
},
|
|
101
|
-
'&:hover': {
|
|
110
|
+
'&:hover': _objectSpread(_objectSpread({}, wrapper['&:hover']), {}, {
|
|
102
111
|
cursor: 'pointer',
|
|
103
112
|
'&$clearable:not($wrapperEmpty)': {
|
|
104
113
|
'& $clearIcon': {
|
|
@@ -108,7 +117,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
108
117
|
display: 'none'
|
|
109
118
|
}
|
|
110
119
|
}
|
|
111
|
-
},
|
|
120
|
+
}),
|
|
112
121
|
'&:not($wrapperEmpty):not($wrapperOpen)': {
|
|
113
122
|
'& $clearIcon': {
|
|
114
123
|
display: 'none'
|
|
@@ -120,6 +129,9 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
120
129
|
wrapperDisabled: _objectSpread(_objectSpread({}, wrapperDisabled), {}, {
|
|
121
130
|
'& $arrowIcon': {
|
|
122
131
|
color: _theme.default.selectDisabledIconColor
|
|
132
|
+
},
|
|
133
|
+
'& $placeholder': {
|
|
134
|
+
color: _theme.default.selectDisabledPlaceholderColor
|
|
123
135
|
}
|
|
124
136
|
}),
|
|
125
137
|
popover: {}
|
|
@@ -333,8 +345,13 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
333
345
|
loading: {
|
|
334
346
|
padding: 10,
|
|
335
347
|
display: 'flex',
|
|
336
|
-
justifyContent: 'center'
|
|
348
|
+
justifyContent: 'center',
|
|
349
|
+
'& > $loadingSpin': {
|
|
350
|
+
borderColor: _theme.default.selectLoadingSpinColor,
|
|
351
|
+
borderTopColor: 'transparent'
|
|
352
|
+
}
|
|
337
353
|
},
|
|
354
|
+
loadingSpin: {},
|
|
338
355
|
checkedIcon: {
|
|
339
356
|
'&[dir=ltr]': {
|
|
340
357
|
right: 8
|
|
@@ -430,10 +447,16 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
430
447
|
overflow: 'hidden',
|
|
431
448
|
textOverflow: 'ellipsis',
|
|
432
449
|
whiteSpace: 'nowrap',
|
|
450
|
+
color: _theme.default.selectOptionFontColor,
|
|
433
451
|
fontSize: _theme.default.selectFontSize,
|
|
434
452
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
453
|
+
background: _theme.default.selectOptionBackgroundColor,
|
|
435
454
|
padding: "".concat(_theme.default.selectOptionInnerPaddingY, " ").concat(_theme.default.selectOptionInnerPaddingX),
|
|
436
|
-
borderRadius: _theme.default.selectOptionInnerBorderRadius
|
|
455
|
+
borderRadius: _theme.default.selectOptionInnerBorderRadius,
|
|
456
|
+
// hover
|
|
457
|
+
'&:not($optionDisabled):not($optionActive):hover': {
|
|
458
|
+
color: _theme.default.selectOptionHoverFontColor
|
|
459
|
+
}
|
|
437
460
|
},
|
|
438
461
|
optionHover: {
|
|
439
462
|
// backgroundColor: token.selectOptionHoverBackgroundColor,
|
|
@@ -463,14 +486,15 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
463
486
|
fontSize: _theme.default.selectGroupTitleFontSize,
|
|
464
487
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
465
488
|
padding: "".concat(_theme.default.selectGroupTitlePaddingTop, " ").concat(_theme.default.selectGroupTitlePaddingX, " ").concat(_theme.default.selectGroupTitlePaddingBottom, " ").concat(_theme.default.selectGroupTitlePaddingX),
|
|
466
|
-
color: _theme.default.selectGroupTitleFontColor
|
|
489
|
+
color: _theme.default.selectGroupTitleFontColor,
|
|
490
|
+
fontWeight: _theme.default.selectGroupTitleFontWeight
|
|
467
491
|
},
|
|
468
492
|
header: {
|
|
469
493
|
display: 'flex',
|
|
470
494
|
alignItems: 'center',
|
|
471
495
|
boxSizing: 'border-box',
|
|
472
496
|
height: 32,
|
|
473
|
-
padding: _theme.default.
|
|
497
|
+
padding: "".concat(_theme.default.selectHeaderPaddingY, " ").concat(_theme.default.selectHeaderPaddingX),
|
|
474
498
|
borderBottom: "1px solid ".concat(_theme.default.selectHeaderBorderColor),
|
|
475
499
|
marginBottom: 4,
|
|
476
500
|
'& $columnsCheckbox': {
|
|
@@ -487,7 +511,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
487
511
|
alignItems: 'center',
|
|
488
512
|
padding: "0 ".concat(_theme.default.selectOptionPaddingX),
|
|
489
513
|
'& $optionGroupTitle': {
|
|
490
|
-
padding: "0 ".concat(_theme.default.
|
|
514
|
+
padding: "0 ".concat(_theme.default.selectHeaderPaddingX),
|
|
491
515
|
marginLeft: _theme.default.selectColumnOptionMargin
|
|
492
516
|
}
|
|
493
517
|
},
|
|
@@ -504,8 +528,8 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
504
528
|
marginRight: 0
|
|
505
529
|
},
|
|
506
530
|
'&:not($optionDisabled):hover': {
|
|
507
|
-
background: _theme.default.
|
|
508
|
-
borderRadius: _theme.default.
|
|
531
|
+
background: _theme.default.selectOptionHoverBackgroundColor,
|
|
532
|
+
borderRadius: _theme.default.selectPanelRadius
|
|
509
533
|
}
|
|
510
534
|
},
|
|
511
535
|
columnsRadio: {
|
|
@@ -530,7 +554,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
530
554
|
}
|
|
531
555
|
},
|
|
532
556
|
empty: {
|
|
533
|
-
color: _theme.default.
|
|
557
|
+
color: _theme.default.selectEmptyFontColor
|
|
534
558
|
}
|
|
535
559
|
});
|
|
536
560
|
var _default = exports.default = selectStyle;
|
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;AAUxC,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;AAUxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAqbxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/table/table.js
CHANGED
|
@@ -72,6 +72,8 @@ var tableStyle = _objectSpread(_objectSpread({}, globalStyle), {}, {
|
|
|
72
72
|
'& td': {
|
|
73
73
|
background: _theme.default.tableTbodyBackgroundColor,
|
|
74
74
|
color: _theme.default.tableTbodyFontColor,
|
|
75
|
+
fontSize: _theme.default.tableCellFontSize,
|
|
76
|
+
fontWeight: _theme.default.tableCellFontWeight,
|
|
75
77
|
'&[data-soui-table-selection]::before': {
|
|
76
78
|
content: '""',
|
|
77
79
|
position: 'absolute',
|
|
@@ -87,12 +89,14 @@ var tableStyle = _objectSpread(_objectSpread({}, globalStyle), {}, {
|
|
|
87
89
|
verticalAlign: 'middle',
|
|
88
90
|
background: _theme.default.tableTheadBackgroundColor,
|
|
89
91
|
color: _theme.default.tableTheadFontColor,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
+
boxSizing: 'border-box',
|
|
93
|
+
fontWeight: _theme.default.tableTheadFontWeight,
|
|
94
|
+
fontSize: _theme.default.tableTheadFontSize
|
|
92
95
|
},
|
|
93
96
|
'& tfoot td': {
|
|
94
97
|
background: _theme.default.tableTfootBackgroundColor,
|
|
95
|
-
color: _theme.default.tableTfootFontColor
|
|
98
|
+
color: _theme.default.tableTfootFontColor,
|
|
99
|
+
fontWeight: _theme.default.tableTfootFontWeight
|
|
96
100
|
},
|
|
97
101
|
'&bordered tr:last-child td': {
|
|
98
102
|
borderBottom: 'none'
|
|
@@ -120,11 +124,27 @@ var tableStyle = _objectSpread(_objectSpread({}, globalStyle), {}, {
|
|
|
120
124
|
small: {
|
|
121
125
|
'& th, & td': {
|
|
122
126
|
padding: "".concat(_theme.default.tableSmallCellPaddingY, " ").concat(_theme.default.tableSmallCellPaddingX)
|
|
127
|
+
},
|
|
128
|
+
'& table th': {
|
|
129
|
+
fontSize: _theme.default.tableSmallTheadFontSize,
|
|
130
|
+
fontWeight: _theme.default.tableSmallTheadFontWeight
|
|
131
|
+
},
|
|
132
|
+
'& table td': {
|
|
133
|
+
fontSize: _theme.default.tableSmallCellFontSize,
|
|
134
|
+
fontWeight: _theme.default.tableSmallCellFontWeight
|
|
123
135
|
}
|
|
124
136
|
},
|
|
125
137
|
large: {
|
|
126
138
|
'& th, & td': {
|
|
127
139
|
padding: "".concat(_theme.default.tableLargeCellPaddingY, " ").concat(_theme.default.tableLargeCellPaddingX)
|
|
140
|
+
},
|
|
141
|
+
'& table th': {
|
|
142
|
+
fontSize: _theme.default.tableLargeTheadFontSize,
|
|
143
|
+
fontWeight: _theme.default.tableLargeTheadFontWeight
|
|
144
|
+
},
|
|
145
|
+
'& table td': {
|
|
146
|
+
fontSize: _theme.default.tableLargeCellFontSize,
|
|
147
|
+
fontWeight: _theme.default.tableLargeCellFontWeight
|
|
128
148
|
}
|
|
129
149
|
},
|
|
130
150
|
bordered: {
|
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,CA+IxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/cjs/tag/tag.js
CHANGED
|
@@ -63,7 +63,7 @@ var tag = function tag(type) {
|
|
|
63
63
|
backgroundColor: _theme.default["tag".concat(type, "FillDisabledBackgroundColor")],
|
|
64
64
|
border: "1px solid ".concat(_theme.default["tag".concat(type, "FillDisabledBorderColor")]),
|
|
65
65
|
'& $closeIconWrapper': {
|
|
66
|
-
fill: _theme.default["tag".concat(type, "
|
|
66
|
+
fill: _theme.default["tag".concat(type, "FillDisabledFontColor")],
|
|
67
67
|
'&:hover': {
|
|
68
68
|
fill: _theme.default["tag".concat(type, "FillFontColor")],
|
|
69
69
|
backgroundColor: 'transparent'
|
|
@@ -74,7 +74,7 @@ var tag = function tag(type) {
|
|
|
74
74
|
// outline 边框风格
|
|
75
75
|
'&$outline': {
|
|
76
76
|
background: '#fff',
|
|
77
|
-
color: _theme.default["tag".concat(type, "
|
|
77
|
+
color: _theme.default["tag".concat(type, "OutlineFontColor")],
|
|
78
78
|
border: "1px solid ".concat(_theme.default["tag".concat(type, "OutlineBorderColor")]),
|
|
79
79
|
'& $closeIconWrapper': {
|
|
80
80
|
// hover
|
|
@@ -126,6 +126,7 @@ var TagStyle = {
|
|
|
126
126
|
display: 'inline-flex',
|
|
127
127
|
padding: "0 ".concat(_theme.default.tagPaddingX),
|
|
128
128
|
fontSize: _theme.default.tagFontSize,
|
|
129
|
+
fontWeight: _theme.default.tagFontWeight,
|
|
129
130
|
borderRadius: _theme.default.tagBorderRadius,
|
|
130
131
|
boxSizing: 'border-box',
|
|
131
132
|
lineHeight: "calc(".concat(_theme.default.tagFontSize, " + 4px)"),
|
|
@@ -155,6 +156,7 @@ var TagStyle = {
|
|
|
155
156
|
large: {
|
|
156
157
|
fontSize: _theme.default.tagLargeFontSize,
|
|
157
158
|
lineHeight: "calc(".concat(_theme.default.tagLargeFontSize, " + 8px)"),
|
|
159
|
+
fontWeight: _theme.default.tagLargeFontWeight,
|
|
158
160
|
padding: "".concat(_theme.default.tagLargePaddingY, " ").concat(_theme.default.tagLargePaddingX),
|
|
159
161
|
'& $closeIconWrapper': {
|
|
160
162
|
'& svg': {
|
|
@@ -166,6 +168,7 @@ var TagStyle = {
|
|
|
166
168
|
small: {
|
|
167
169
|
lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)"),
|
|
168
170
|
padding: "0 ".concat(_theme.default.tagSmallPaddingX),
|
|
171
|
+
fontWeight: _theme.default.tagSmallFontWeight,
|
|
169
172
|
'& $container': {
|
|
170
173
|
lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)")
|
|
171
174
|
},
|
|
@@ -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;
|
|
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"}
|