@sheinx/shineout-style 3.5.8 → 3.6.0-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/alert/alert.js +6 -6
- package/cjs/avatar/avatar.d.ts.map +1 -1
- package/cjs/avatar/avatar.js +6 -1
- package/cjs/collapse/collapse-item.d.ts.map +1 -1
- package/cjs/collapse/collapse-item.js +6 -1
- package/cjs/dropdown/dropdown.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.js +4 -0
- package/cjs/form/form-item.d.ts.map +1 -1
- package/cjs/form/form-item.js +64 -11
- package/cjs/image/image.d.ts.map +1 -1
- package/cjs/image/image.js +14 -0
- package/cjs/menu/menu.d.ts.map +1 -1
- package/cjs/menu/menu.js +5 -1
- package/cjs/spin/spin.js +1 -1
- package/cjs/steps/steps.d.ts.map +1 -1
- package/cjs/steps/steps.js +3 -1
- package/cjs/tag/tag.d.ts.map +1 -1
- package/cjs/tag/tag.js +21 -5
- package/cjs/tree/tree.d.ts.map +1 -1
- package/cjs/tree/tree.js +1 -0
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +6 -6
- package/cjs/upload/upload.d.ts.map +1 -1
- package/cjs/upload/upload.js +48 -29
- 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 +6 -6
- package/esm/avatar/avatar.d.ts.map +1 -1
- package/esm/avatar/avatar.js +6 -1
- package/esm/collapse/collapse-item.d.ts.map +1 -1
- package/esm/collapse/collapse-item.js +6 -1
- package/esm/dropdown/dropdown.d.ts.map +1 -1
- package/esm/dropdown/dropdown.js +4 -0
- package/esm/form/form-item.d.ts.map +1 -1
- package/esm/form/form-item.js +64 -11
- package/esm/image/image.d.ts.map +1 -1
- package/esm/image/image.js +14 -0
- package/esm/menu/menu.d.ts.map +1 -1
- package/esm/menu/menu.js +5 -1
- package/esm/spin/spin.js +1 -1
- package/esm/steps/steps.d.ts.map +1 -1
- package/esm/steps/steps.js +3 -1
- package/esm/tag/tag.d.ts.map +1 -1
- package/esm/tag/tag.js +21 -5
- package/esm/tree/tree.d.ts.map +1 -1
- package/esm/tree/tree.js +1 -0
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +6 -6
- package/esm/upload/upload.d.ts.map +1 -1
- package/esm/upload/upload.js +48 -29
- 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
package/cjs/alert/alert.js
CHANGED
|
@@ -58,14 +58,14 @@ var alertStyle = {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
-
'&$
|
|
61
|
+
'&$withTitle': {},
|
|
62
62
|
'& $icon': {}
|
|
63
63
|
},
|
|
64
|
-
|
|
64
|
+
withTitle: {
|
|
65
65
|
'& $icon': {
|
|
66
66
|
fontSize: _theme.default.alertTitleFontSize,
|
|
67
67
|
// marginBottom: Token.alertNearlyMargin,
|
|
68
|
-
width: _theme.default.alertTitleIconWidth,
|
|
68
|
+
width: "calc(".concat(_theme.default.alertTitleIconWidth, " + 2px)"),
|
|
69
69
|
height: _theme.default.lineHeightDynamic
|
|
70
70
|
},
|
|
71
71
|
'& $title': {
|
|
@@ -89,10 +89,10 @@ var alertStyle = {
|
|
|
89
89
|
},
|
|
90
90
|
close: {
|
|
91
91
|
cursor: 'pointer',
|
|
92
|
-
width: _theme.default.alertFontSize,
|
|
93
92
|
color: _theme.default.alertCloseFontColor,
|
|
94
93
|
fontSize: _theme.default.alertFontSize,
|
|
95
|
-
height: _theme.default.
|
|
94
|
+
height: _theme.default.alertCloseSize,
|
|
95
|
+
width: _theme.default.alertCloseSize,
|
|
96
96
|
flex: '0 0 auto',
|
|
97
97
|
display: 'flex',
|
|
98
98
|
alignItems: 'center',
|
|
@@ -107,7 +107,7 @@ var alertStyle = {
|
|
|
107
107
|
},
|
|
108
108
|
closeWrapper: {
|
|
109
109
|
fontSize: _theme.default.alertFontSize,
|
|
110
|
-
width: _theme.default.
|
|
110
|
+
width: _theme.default.alertCloseSize,
|
|
111
111
|
height: _theme.default.lineHeightDynamic,
|
|
112
112
|
display: 'flex',
|
|
113
113
|
alignItems: 'center',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["avatar.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["avatar.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CA4E1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/avatar/avatar.js
CHANGED
|
@@ -63,8 +63,13 @@ var avatarStyle = {
|
|
|
63
63
|
fontSize: _theme.default.avatarLargeFontSize
|
|
64
64
|
},
|
|
65
65
|
max: {
|
|
66
|
+
cursor: 'pointer',
|
|
66
67
|
color: _theme.default.avatarMaxFontColor,
|
|
67
|
-
fontWeight: _theme.default.avatarMaxFontWeight
|
|
68
|
+
fontWeight: _theme.default.avatarMaxFontWeight,
|
|
69
|
+
'& $wrapper:hover': {
|
|
70
|
+
color: _theme.default.avatarMaxHoverColor,
|
|
71
|
+
backgroundColor: _theme.default.avatarMaxHoverBackgroundColor
|
|
72
|
+
}
|
|
68
73
|
},
|
|
69
74
|
popover: {
|
|
70
75
|
padding: _theme.default.avatarPopoverPadding,
|
|
@@ -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,CAyItD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -29,7 +29,6 @@ var collapseItemStyle = {
|
|
|
29
29
|
justifyContent: 'space-between',
|
|
30
30
|
boxSizing: 'border-box',
|
|
31
31
|
overflow: 'hidden',
|
|
32
|
-
gap: _theme.default.collapseHeaderGap,
|
|
33
32
|
fontSize: _theme.default.collapseHeaderFontSize,
|
|
34
33
|
fontWeight: _theme.default.collapseHeaderFontWeight,
|
|
35
34
|
color: _theme.default.collapseHeaderColor,
|
|
@@ -69,6 +68,7 @@ var collapseItemStyle = {
|
|
|
69
68
|
color: _theme.default.collapseIconColor,
|
|
70
69
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
71
70
|
zIndex: 0,
|
|
71
|
+
marginRight: _theme.default.collapseHeaderGap,
|
|
72
72
|
'& svg': {
|
|
73
73
|
zIndex: 1,
|
|
74
74
|
width: _theme.default.collapseHeaderIconWidth
|
|
@@ -86,6 +86,11 @@ var collapseItemStyle = {
|
|
|
86
86
|
borderRadius: '50%',
|
|
87
87
|
background: _theme.default.collapseIconHoverBackgroundColor
|
|
88
88
|
}
|
|
89
|
+
},
|
|
90
|
+
'&:active:hover': {
|
|
91
|
+
'&:after': {
|
|
92
|
+
background: _theme.default.collapseIconActiveBackgroundColor
|
|
93
|
+
}
|
|
89
94
|
}
|
|
90
95
|
},
|
|
91
96
|
title: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,eAAe,CAoM7C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/cjs/dropdown/dropdown.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-item.d.ts","sourceRoot":"","sources":["form-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"form-item.d.ts","sourceRoot":"","sources":["form-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAYxC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,CAmJlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/cjs/form/form-item.js
CHANGED
|
@@ -6,8 +6,34 @@ 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
|
-
|
|
10
|
-
|
|
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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
|
+
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; }
|
|
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 animations = {
|
|
16
|
+
'@keyframes appear': {
|
|
17
|
+
'0%': {
|
|
18
|
+
transform: 1
|
|
19
|
+
},
|
|
20
|
+
'25%': {
|
|
21
|
+
opacity: 0.5
|
|
22
|
+
},
|
|
23
|
+
'50%': {
|
|
24
|
+
opacity: 1
|
|
25
|
+
},
|
|
26
|
+
'75%': {
|
|
27
|
+
opacity: 0.5
|
|
28
|
+
},
|
|
29
|
+
'100%': {
|
|
30
|
+
transform: 1
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
var formItemStyle = _objectSpread(_objectSpread({
|
|
35
|
+
rootClass: {}
|
|
36
|
+
}, animations), {}, {
|
|
11
37
|
wrapper: {
|
|
12
38
|
display: 'flex',
|
|
13
39
|
alignItems: 'flex-start',
|
|
@@ -39,12 +65,28 @@ var formItemStyle = {
|
|
|
39
65
|
display: 'inline-block'
|
|
40
66
|
}
|
|
41
67
|
},
|
|
68
|
+
labelWithColon: {
|
|
69
|
+
display: 'inline-flex',
|
|
70
|
+
alignItems: 'flex-start',
|
|
71
|
+
justifyContent: 'flex-end'
|
|
72
|
+
},
|
|
73
|
+
labelWithTooltip: {
|
|
74
|
+
display: 'inline-flex',
|
|
75
|
+
alignItems: 'flex-start',
|
|
76
|
+
justifyContent: 'flex-end'
|
|
77
|
+
},
|
|
78
|
+
labelColon: {
|
|
79
|
+
flexShrink: 0,
|
|
80
|
+
marginLeft: _theme.default.formItemTooltipIconMarginXStart
|
|
81
|
+
},
|
|
42
82
|
labelTooltip: {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
83
|
+
flexShrink: 0,
|
|
84
|
+
display: 'inline-flex',
|
|
85
|
+
alignItems: 'center',
|
|
86
|
+
cursor: 'pointer',
|
|
46
87
|
color: _theme.default.formItemTooltipIconColor,
|
|
47
88
|
width: _theme.default.formItemTooltipIconFontSize,
|
|
89
|
+
height: _theme.default.lineHeightDynamic,
|
|
48
90
|
fontSize: _theme.default.formItemTooltipIconFontSize,
|
|
49
91
|
marginLeft: _theme.default.formItemTooltipIconMarginXStart,
|
|
50
92
|
'& svg': {
|
|
@@ -52,15 +94,16 @@ var formItemStyle = {
|
|
|
52
94
|
}
|
|
53
95
|
},
|
|
54
96
|
labelLeft: {
|
|
55
|
-
textAlign: 'start'
|
|
97
|
+
textAlign: 'start',
|
|
98
|
+
'&$labelWithColon, &$labelWithTooltip': {
|
|
99
|
+
justifyContent: 'flex-start'
|
|
100
|
+
}
|
|
56
101
|
},
|
|
57
102
|
wrapperInline: {
|
|
58
103
|
display: 'inline-flex',
|
|
59
104
|
marginRight: _theme.default.formItemMarginXEnd
|
|
60
105
|
},
|
|
61
106
|
wrapperLabelTop: {
|
|
62
|
-
// flexFlow: 'column nowrap',
|
|
63
|
-
// alignItems: 'stretch',
|
|
64
107
|
display: 'block',
|
|
65
108
|
width: '100%',
|
|
66
109
|
'& $label': {
|
|
@@ -69,6 +112,9 @@ var formItemStyle = {
|
|
|
69
112
|
paddingTop: '0',
|
|
70
113
|
paddingBottom: _theme.default.formItemLabelTopPaddingY,
|
|
71
114
|
margin: '0'
|
|
115
|
+
},
|
|
116
|
+
'& $label$labelWithColon, & $label$labelWithTooltip': {
|
|
117
|
+
justifyContent: 'flex-start'
|
|
72
118
|
}
|
|
73
119
|
},
|
|
74
120
|
wrapperLabelVerticalMiddle: {
|
|
@@ -77,10 +123,16 @@ var formItemStyle = {
|
|
|
77
123
|
lineHeight: 1,
|
|
78
124
|
padding: 0,
|
|
79
125
|
marginTop: 0
|
|
126
|
+
},
|
|
127
|
+
'& $label$labelWithColon, & $label$labelWithTooltip': {
|
|
128
|
+
alignItems: 'center'
|
|
80
129
|
}
|
|
81
130
|
},
|
|
82
131
|
wrapperLabelVerticalBottom: {
|
|
83
|
-
alignItems: 'flex-end'
|
|
132
|
+
alignItems: 'flex-end',
|
|
133
|
+
'& $label$labelWithColon, & $label$labelWithTooltip': {
|
|
134
|
+
alignItems: 'flex-end'
|
|
135
|
+
}
|
|
84
136
|
},
|
|
85
137
|
wrapperRequired: {
|
|
86
138
|
'& $label::before': {
|
|
@@ -112,7 +164,8 @@ var formItemStyle = {
|
|
|
112
164
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
113
165
|
minHeight: _theme.default.formItemTipMinHeight,
|
|
114
166
|
fontSize: _theme.default.formItemDangerFontSize,
|
|
115
|
-
fontWeight: _theme.default.formItemDangerFontWeight
|
|
167
|
+
fontWeight: _theme.default.formItemDangerFontWeight,
|
|
168
|
+
animation: '$appear 1s ease-in-out forwards'
|
|
116
169
|
// flexBasis: '100%',
|
|
117
170
|
// width: 0,
|
|
118
171
|
},
|
|
@@ -125,5 +178,5 @@ var formItemStyle = {
|
|
|
125
178
|
marginTop: _theme.default.formItemTipMarginTop,
|
|
126
179
|
width: '100%'
|
|
127
180
|
}
|
|
128
|
-
};
|
|
181
|
+
});
|
|
129
182
|
var _default = exports.default = formItemStyle;
|
package/cjs/image/image.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,KAAK,UAAU,GAAG,MAAM,YAAY,CAAC;AA2DrC,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,KAAK,UAAU,GAAG,MAAM,YAAY,CAAC;AA2DrC,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,UAAU,CAsapC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/image/image.js
CHANGED
|
@@ -257,6 +257,20 @@ var ImageStyle = _objectSpread(_objectSpread({
|
|
|
257
257
|
},
|
|
258
258
|
'&[dir=rtl]': {
|
|
259
259
|
left: -15
|
|
260
|
+
},
|
|
261
|
+
'& > svg': {
|
|
262
|
+
position: 'relative'
|
|
263
|
+
},
|
|
264
|
+
'&:before': {
|
|
265
|
+
content: '""',
|
|
266
|
+
position: 'absolute',
|
|
267
|
+
top: '50%',
|
|
268
|
+
left: '50%',
|
|
269
|
+
width: '80%',
|
|
270
|
+
height: '80%',
|
|
271
|
+
transform: 'translate(-50%, -50%)',
|
|
272
|
+
backgroundColor: '#fff',
|
|
273
|
+
borderRadius: '50%'
|
|
260
274
|
}
|
|
261
275
|
},
|
|
262
276
|
// gallery
|
package/cjs/menu/menu.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["menu.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAM9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["menu.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAM9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CA4hBtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/cjs/menu/menu.js
CHANGED
|
@@ -194,9 +194,13 @@ var menuStyle = {
|
|
|
194
194
|
backgroundColor: _theme.default.menuItemHoverBackgroundColor
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
|
+
// 一级菜单展不展开都是fill-9,一级展开后的子级都是fill-10
|
|
198
|
+
'[data-soui-theme=dark] $root > $item > &': {
|
|
199
|
+
backgroundColor: _theme.default.menuDarkItemBackgroundColor
|
|
200
|
+
},
|
|
197
201
|
'[data-soui-theme=dark] &': {
|
|
198
202
|
color: _theme.default.menuDarkFontColor,
|
|
199
|
-
backgroundColor: _theme.default.
|
|
203
|
+
backgroundColor: _theme.default.menuDarkItemOpenBackgroundColor,
|
|
200
204
|
'&:hover': {
|
|
201
205
|
color: _theme.default.menuDarkItemHoverFontColor,
|
|
202
206
|
backgroundColor: _theme.default.menuDarkItemHoverBackgroundColor
|
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,CAqyBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/steps/steps.js
CHANGED
|
@@ -400,7 +400,7 @@ var stepsStyle = {
|
|
|
400
400
|
overflow: 'hidden'
|
|
401
401
|
},
|
|
402
402
|
'& $icon': {
|
|
403
|
-
marginRight:
|
|
403
|
+
marginRight: 16
|
|
404
404
|
},
|
|
405
405
|
'& $title, $description': {
|
|
406
406
|
textAlign: 'left'
|
|
@@ -530,11 +530,13 @@ var stepsStyle = {
|
|
|
530
530
|
},
|
|
531
531
|
'& $icon': {
|
|
532
532
|
lineHeight: 0,
|
|
533
|
+
marginRight: 6,
|
|
533
534
|
padding: '8px 10px'
|
|
534
535
|
},
|
|
535
536
|
'& $process': {
|
|
536
537
|
'& $icon': {
|
|
537
538
|
marginTop: 0,
|
|
539
|
+
marginRight: 8,
|
|
538
540
|
padding: '7px 8px'
|
|
539
541
|
},
|
|
540
542
|
'& $tail': {
|
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;AAgJ1C,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;AAgJ1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CAiKxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/cjs/tag/tag.js
CHANGED
|
@@ -126,6 +126,8 @@ var TagStyle = {
|
|
|
126
126
|
rootClass: {},
|
|
127
127
|
tag: {
|
|
128
128
|
display: 'inline-flex',
|
|
129
|
+
// 消除 inline-flex 看不见的空白高度
|
|
130
|
+
verticalAlign: 'top',
|
|
129
131
|
padding: "".concat(_theme.default.tagPaddingY, " ").concat(_theme.default.tagPaddingX),
|
|
130
132
|
fontSize: _theme.default.tagFontSize,
|
|
131
133
|
fontWeight: _theme.default.tagFontWeight,
|
|
@@ -137,11 +139,25 @@ var TagStyle = {
|
|
|
137
139
|
}
|
|
138
140
|
},
|
|
139
141
|
input: {
|
|
140
|
-
'
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
paddingLeft: '0 !important',
|
|
143
|
+
paddingRight: '0 !important',
|
|
144
|
+
width: 100,
|
|
145
|
+
'& > div': {
|
|
146
|
+
padding: '0 !important'
|
|
147
|
+
},
|
|
148
|
+
'& > div > input': {
|
|
149
|
+
fontSize: _theme.default.tagFontSize,
|
|
150
|
+
padding: "0 ".concat(_theme.default.tagPaddingX),
|
|
151
|
+
lineHeight: "calc(".concat(_theme.default.tagFontSize, " + 8px)")
|
|
152
|
+
},
|
|
153
|
+
'$small& > div > input': {
|
|
154
|
+
padding: "0 ".concat(_theme.default.tagSmallPaddingX),
|
|
155
|
+
lineHeight: "calc(".concat(_theme.default.tagSmallFontSize, " + 6px)")
|
|
156
|
+
},
|
|
157
|
+
'$large& > div > input': {
|
|
158
|
+
fontSize: _theme.default.tagLargeFontSize,
|
|
159
|
+
padding: "0 ".concat(_theme.default.tagLargePaddingX),
|
|
160
|
+
lineHeight: "calc(".concat(_theme.default.tagLargeFontSize, " + 8px)")
|
|
145
161
|
}
|
|
146
162
|
},
|
|
147
163
|
wrapper: {
|
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,CAgPtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/cjs/tree/tree.js
CHANGED
|
@@ -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,CA6elD,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -372,7 +372,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
372
372
|
paddingBottom: 3
|
|
373
373
|
},
|
|
374
374
|
tree: {
|
|
375
|
-
padding: 4,
|
|
375
|
+
// padding: 4,
|
|
376
376
|
overflow: 'auto'
|
|
377
377
|
},
|
|
378
378
|
treeOption: {
|
|
@@ -460,11 +460,11 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
460
460
|
// },
|
|
461
461
|
},
|
|
462
462
|
optionActive: {
|
|
463
|
-
color:
|
|
464
|
-
backgroundColor:
|
|
465
|
-
'&>div': {
|
|
466
|
-
|
|
467
|
-
}
|
|
463
|
+
// color: token.treeSelectOptionActiveColor,
|
|
464
|
+
// backgroundColor: token.treeSelectOptionActiveBackgroundColor,
|
|
465
|
+
// '&>div': {
|
|
466
|
+
// color: token.treeSelectOptionActiveColor,
|
|
467
|
+
// },
|
|
468
468
|
},
|
|
469
469
|
optionDisabled: {
|
|
470
470
|
cursor: 'not-allowed',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["upload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["upload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAwW1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/upload/upload.js
CHANGED
|
@@ -35,7 +35,7 @@ var uploadStyle = {
|
|
|
35
35
|
border: "1px dashed ".concat(_theme.default.uploadImageHandlerBorderColor),
|
|
36
36
|
backgroundColor: _theme.default.uploadImageHandlerBackgroundColor,
|
|
37
37
|
color: _theme.default.uploadImageHandlerFontColor,
|
|
38
|
-
'&:hover': {
|
|
38
|
+
'&:hover, &:hover *': {
|
|
39
39
|
borderColor: _theme.default.uploadImageHandlerHoverBorderColor,
|
|
40
40
|
color: _theme.default.uploadImageHandlerHoverFontColor
|
|
41
41
|
},
|
|
@@ -46,14 +46,28 @@ var uploadStyle = {
|
|
|
46
46
|
},
|
|
47
47
|
'& svg': {
|
|
48
48
|
color: _theme.default.uploadImageResultBtnRecoverColor
|
|
49
|
+
},
|
|
50
|
+
'&:active': {
|
|
51
|
+
color: _theme.default.uploadImageHandlerActiveFontColor,
|
|
52
|
+
borderColor: _theme.default.uploadImageHandlerActiveBorderColor
|
|
53
|
+
},
|
|
54
|
+
'&:active *': {
|
|
55
|
+
color: _theme.default.uploadImageHandlerActiveFontColor
|
|
49
56
|
}
|
|
50
57
|
}
|
|
51
58
|
},
|
|
52
59
|
result: {
|
|
53
60
|
display: 'flex',
|
|
54
61
|
alignItems: 'center',
|
|
55
|
-
|
|
56
|
-
|
|
62
|
+
gap: '8px',
|
|
63
|
+
borderRadius: _theme.default.uploadResultBorderRadius,
|
|
64
|
+
padding: "".concat(_theme.default.uploadResultPaddingY, " ").concat(_theme.default.uploadResultPaddingX),
|
|
65
|
+
'&:hover': {
|
|
66
|
+
backgroundColor: _theme.default.uploadResultBackgroundColor
|
|
67
|
+
},
|
|
68
|
+
'$handler+&, $dropItem+&': {
|
|
69
|
+
marginTop: _theme.default.uploadResultMarginY
|
|
70
|
+
}
|
|
57
71
|
},
|
|
58
72
|
icon: {
|
|
59
73
|
width: _theme.default.uploadResultIconSize,
|
|
@@ -69,25 +83,10 @@ var uploadStyle = {
|
|
|
69
83
|
}
|
|
70
84
|
},
|
|
71
85
|
iconHover: {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
content: '""',
|
|
75
|
-
position: 'absolute',
|
|
76
|
-
top: '-5px',
|
|
77
|
-
left: '-5px',
|
|
78
|
-
right: '-5px',
|
|
79
|
-
bottom: '-5px',
|
|
86
|
+
'&:hover': {
|
|
87
|
+
color: _theme.default.uploadResultIconHoverColor,
|
|
80
88
|
borderRadius: '50%',
|
|
81
|
-
display: 'none',
|
|
82
89
|
backgroundColor: _theme.default.uploadResultIconHoverBackgroundColor
|
|
83
|
-
},
|
|
84
|
-
'& svg': {
|
|
85
|
-
position: 'relative'
|
|
86
|
-
},
|
|
87
|
-
'&:hover': {
|
|
88
|
-
'&::before': {
|
|
89
|
-
display: 'block'
|
|
90
|
-
}
|
|
91
90
|
}
|
|
92
91
|
},
|
|
93
92
|
resultError: {},
|
|
@@ -115,17 +114,12 @@ var uploadStyle = {
|
|
|
115
114
|
fontSize: _theme.default.uploadResultFontSize,
|
|
116
115
|
color: _theme.default.uploadResultFontColor,
|
|
117
116
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
118
|
-
padding: "".concat(_theme.default.uploadResultPaddingY, " ").concat(_theme.default.uploadResultPaddingX),
|
|
119
|
-
borderRadius: _theme.default.uploadResultBorderRadius,
|
|
120
117
|
'$resultError &': {
|
|
121
118
|
color: _theme.default.uploadResultErrorFontColor
|
|
122
119
|
},
|
|
123
120
|
'$resultDeleted &': {
|
|
124
121
|
textDecoration: 'line-through',
|
|
125
122
|
color: _theme.default.uploadResultDeletedFontColor
|
|
126
|
-
},
|
|
127
|
-
'&:hover': {
|
|
128
|
-
backgroundColor: _theme.default.uploadResultBackgroundColor
|
|
129
123
|
}
|
|
130
124
|
},
|
|
131
125
|
resultTextBody: {
|
|
@@ -134,7 +128,11 @@ var uploadStyle = {
|
|
|
134
128
|
},
|
|
135
129
|
resultClose: {
|
|
136
130
|
cursor: 'pointer',
|
|
137
|
-
|
|
131
|
+
'&$icon': {
|
|
132
|
+
boxSizing: 'content-box',
|
|
133
|
+
padding: '0 4px',
|
|
134
|
+
height: _theme.default.lineHeightDynamic
|
|
135
|
+
}
|
|
138
136
|
},
|
|
139
137
|
imageHandler: {
|
|
140
138
|
boxSizing: 'border-box',
|
|
@@ -151,6 +149,13 @@ var uploadStyle = {
|
|
|
151
149
|
borderColor: _theme.default.uploadImageHandlerHoverBorderColor,
|
|
152
150
|
color: _theme.default.uploadImageHandlerHoverFontColor
|
|
153
151
|
},
|
|
152
|
+
'$wrapper:not($wrapperDisabled) &:hover *': {
|
|
153
|
+
color: "".concat(_theme.default.uploadImageHandlerHoverFontColor, " !important")
|
|
154
|
+
},
|
|
155
|
+
'$wrapper:not($wrapperDisabled) &:active, $wrapper:not($wrapperDisabled) &:active *': {
|
|
156
|
+
color: "".concat(_theme.default.uploadImageHandlerActiveFontColor, " !important"),
|
|
157
|
+
borderColor: _theme.default.uploadImageHandlerActiveBorderColor
|
|
158
|
+
},
|
|
154
159
|
'$wrapperDisabled &': {
|
|
155
160
|
borderColor: _theme.default.uploadImageHandlerDisabledBorderColor,
|
|
156
161
|
backgroundColor: _theme.default.uploadImageHandlerDisabledBackgroundColor,
|
|
@@ -160,9 +165,13 @@ var uploadStyle = {
|
|
|
160
165
|
imageHandlerIcon: {
|
|
161
166
|
display: 'flex',
|
|
162
167
|
alignItems: 'center',
|
|
168
|
+
color: _theme.default.uploadImageHandlerIconColor,
|
|
163
169
|
'& > svg': {
|
|
164
170
|
width: 20,
|
|
165
171
|
height: 20
|
|
172
|
+
},
|
|
173
|
+
'$wrapperDisabled &': {
|
|
174
|
+
color: _theme.default.uploadImageHandlerDisabledFontColor
|
|
166
175
|
}
|
|
167
176
|
},
|
|
168
177
|
imageResult: {
|
|
@@ -300,10 +309,20 @@ var uploadStyle = {
|
|
|
300
309
|
dropItem: {
|
|
301
310
|
':not(wrapperDisabled) &[data-soui-dragover="true"]': {
|
|
302
311
|
'& $handler, & $imageHandler, & $imageResult': {
|
|
303
|
-
borderColor:
|
|
304
|
-
|
|
305
|
-
|
|
312
|
+
borderColor: 'transparent !important',
|
|
313
|
+
color: _theme.default.uploadImageHandlerHoverFontColor,
|
|
314
|
+
position: 'relative'
|
|
315
|
+
},
|
|
316
|
+
'& $handler *, & $imageHandler *, & $imageResult *': {
|
|
306
317
|
color: _theme.default.uploadImageHandlerHoverFontColor
|
|
318
|
+
},
|
|
319
|
+
'& $handler:after, & $imageHandler:after, & $imageResult:after': {
|
|
320
|
+
content: '" "',
|
|
321
|
+
position: 'absolute',
|
|
322
|
+
inset: 0,
|
|
323
|
+
pointerEvents: 'none',
|
|
324
|
+
border: "2px dashed ".concat(_theme.default.uploadImageHandlerHoverBorderColor),
|
|
325
|
+
borderRadius: _theme.default.uploadImageBorderRadius
|
|
307
326
|
}
|
|
308
327
|
}
|
|
309
328
|
},
|
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,wBAA+B"}
|
package/cjs/version.js
CHANGED
package/esm/alert/alert.js
CHANGED
|
@@ -51,14 +51,14 @@ var alertStyle = {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
'&$
|
|
54
|
+
'&$withTitle': {},
|
|
55
55
|
'& $icon': {}
|
|
56
56
|
},
|
|
57
|
-
|
|
57
|
+
withTitle: {
|
|
58
58
|
'& $icon': {
|
|
59
59
|
fontSize: Token.alertTitleFontSize,
|
|
60
60
|
// marginBottom: Token.alertNearlyMargin,
|
|
61
|
-
width: Token.alertTitleIconWidth,
|
|
61
|
+
width: "calc(".concat(Token.alertTitleIconWidth, " + 2px)"),
|
|
62
62
|
height: Token.lineHeightDynamic
|
|
63
63
|
},
|
|
64
64
|
'& $title': {
|
|
@@ -82,10 +82,10 @@ var alertStyle = {
|
|
|
82
82
|
},
|
|
83
83
|
close: {
|
|
84
84
|
cursor: 'pointer',
|
|
85
|
-
width: Token.alertFontSize,
|
|
86
85
|
color: Token.alertCloseFontColor,
|
|
87
86
|
fontSize: Token.alertFontSize,
|
|
88
|
-
height: Token.
|
|
87
|
+
height: Token.alertCloseSize,
|
|
88
|
+
width: Token.alertCloseSize,
|
|
89
89
|
flex: '0 0 auto',
|
|
90
90
|
display: 'flex',
|
|
91
91
|
alignItems: 'center',
|
|
@@ -100,7 +100,7 @@ var alertStyle = {
|
|
|
100
100
|
},
|
|
101
101
|
closeWrapper: {
|
|
102
102
|
fontSize: Token.alertFontSize,
|
|
103
|
-
width: Token.
|
|
103
|
+
width: Token.alertCloseSize,
|
|
104
104
|
height: Token.lineHeightDynamic,
|
|
105
105
|
display: 'flex',
|
|
106
106
|
alignItems: 'center',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["avatar.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["avatar.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CA4E1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/esm/avatar/avatar.js
CHANGED
|
@@ -56,8 +56,13 @@ var avatarStyle = {
|
|
|
56
56
|
fontSize: token.avatarLargeFontSize
|
|
57
57
|
},
|
|
58
58
|
max: {
|
|
59
|
+
cursor: 'pointer',
|
|
59
60
|
color: token.avatarMaxFontColor,
|
|
60
|
-
fontWeight: token.avatarMaxFontWeight
|
|
61
|
+
fontWeight: token.avatarMaxFontWeight,
|
|
62
|
+
'& $wrapper:hover': {
|
|
63
|
+
color: token.avatarMaxHoverColor,
|
|
64
|
+
backgroundColor: token.avatarMaxHoverBackgroundColor
|
|
65
|
+
}
|
|
61
66
|
},
|
|
62
67
|
popover: {
|
|
63
68
|
padding: token.avatarPopoverPadding,
|
|
@@ -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,CAyItD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -22,7 +22,6 @@ var collapseItemStyle = {
|
|
|
22
22
|
justifyContent: 'space-between',
|
|
23
23
|
boxSizing: 'border-box',
|
|
24
24
|
overflow: 'hidden',
|
|
25
|
-
gap: Token.collapseHeaderGap,
|
|
26
25
|
fontSize: Token.collapseHeaderFontSize,
|
|
27
26
|
fontWeight: Token.collapseHeaderFontWeight,
|
|
28
27
|
color: Token.collapseHeaderColor,
|
|
@@ -62,6 +61,7 @@ var collapseItemStyle = {
|
|
|
62
61
|
color: Token.collapseIconColor,
|
|
63
62
|
lineHeight: Token.lineHeightDynamic,
|
|
64
63
|
zIndex: 0,
|
|
64
|
+
marginRight: Token.collapseHeaderGap,
|
|
65
65
|
'& svg': {
|
|
66
66
|
zIndex: 1,
|
|
67
67
|
width: Token.collapseHeaderIconWidth
|
|
@@ -79,6 +79,11 @@ var collapseItemStyle = {
|
|
|
79
79
|
borderRadius: '50%',
|
|
80
80
|
background: Token.collapseIconHoverBackgroundColor
|
|
81
81
|
}
|
|
82
|
+
},
|
|
83
|
+
'&:active:hover': {
|
|
84
|
+
'&:after': {
|
|
85
|
+
background: Token.collapseIconActiveBackgroundColor
|
|
86
|
+
}
|
|
82
87
|
}
|
|
83
88
|
},
|
|
84
89
|
title: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["dropdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,eAAe,CAoM7C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/esm/dropdown/dropdown.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-item.d.ts","sourceRoot":"","sources":["form-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"form-item.d.ts","sourceRoot":"","sources":["form-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAYxC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,CAmJlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/esm/form/form-item.js
CHANGED
|
@@ -1,6 +1,32 @@
|
|
|
1
|
+
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); }
|
|
2
|
+
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; }
|
|
3
|
+
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; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1
7
|
import token from '@sheinx/theme';
|
|
2
|
-
var
|
|
3
|
-
|
|
8
|
+
var animations = {
|
|
9
|
+
'@keyframes appear': {
|
|
10
|
+
'0%': {
|
|
11
|
+
transform: 1
|
|
12
|
+
},
|
|
13
|
+
'25%': {
|
|
14
|
+
opacity: 0.5
|
|
15
|
+
},
|
|
16
|
+
'50%': {
|
|
17
|
+
opacity: 1
|
|
18
|
+
},
|
|
19
|
+
'75%': {
|
|
20
|
+
opacity: 0.5
|
|
21
|
+
},
|
|
22
|
+
'100%': {
|
|
23
|
+
transform: 1
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
var formItemStyle = _objectSpread(_objectSpread({
|
|
28
|
+
rootClass: {}
|
|
29
|
+
}, animations), {}, {
|
|
4
30
|
wrapper: {
|
|
5
31
|
display: 'flex',
|
|
6
32
|
alignItems: 'flex-start',
|
|
@@ -32,12 +58,28 @@ var formItemStyle = {
|
|
|
32
58
|
display: 'inline-block'
|
|
33
59
|
}
|
|
34
60
|
},
|
|
61
|
+
labelWithColon: {
|
|
62
|
+
display: 'inline-flex',
|
|
63
|
+
alignItems: 'flex-start',
|
|
64
|
+
justifyContent: 'flex-end'
|
|
65
|
+
},
|
|
66
|
+
labelWithTooltip: {
|
|
67
|
+
display: 'inline-flex',
|
|
68
|
+
alignItems: 'flex-start',
|
|
69
|
+
justifyContent: 'flex-end'
|
|
70
|
+
},
|
|
71
|
+
labelColon: {
|
|
72
|
+
flexShrink: 0,
|
|
73
|
+
marginLeft: token.formItemTooltipIconMarginXStart
|
|
74
|
+
},
|
|
35
75
|
labelTooltip: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
76
|
+
flexShrink: 0,
|
|
77
|
+
display: 'inline-flex',
|
|
78
|
+
alignItems: 'center',
|
|
79
|
+
cursor: 'pointer',
|
|
39
80
|
color: token.formItemTooltipIconColor,
|
|
40
81
|
width: token.formItemTooltipIconFontSize,
|
|
82
|
+
height: token.lineHeightDynamic,
|
|
41
83
|
fontSize: token.formItemTooltipIconFontSize,
|
|
42
84
|
marginLeft: token.formItemTooltipIconMarginXStart,
|
|
43
85
|
'& svg': {
|
|
@@ -45,15 +87,16 @@ var formItemStyle = {
|
|
|
45
87
|
}
|
|
46
88
|
},
|
|
47
89
|
labelLeft: {
|
|
48
|
-
textAlign: 'start'
|
|
90
|
+
textAlign: 'start',
|
|
91
|
+
'&$labelWithColon, &$labelWithTooltip': {
|
|
92
|
+
justifyContent: 'flex-start'
|
|
93
|
+
}
|
|
49
94
|
},
|
|
50
95
|
wrapperInline: {
|
|
51
96
|
display: 'inline-flex',
|
|
52
97
|
marginRight: token.formItemMarginXEnd
|
|
53
98
|
},
|
|
54
99
|
wrapperLabelTop: {
|
|
55
|
-
// flexFlow: 'column nowrap',
|
|
56
|
-
// alignItems: 'stretch',
|
|
57
100
|
display: 'block',
|
|
58
101
|
width: '100%',
|
|
59
102
|
'& $label': {
|
|
@@ -62,6 +105,9 @@ var formItemStyle = {
|
|
|
62
105
|
paddingTop: '0',
|
|
63
106
|
paddingBottom: token.formItemLabelTopPaddingY,
|
|
64
107
|
margin: '0'
|
|
108
|
+
},
|
|
109
|
+
'& $label$labelWithColon, & $label$labelWithTooltip': {
|
|
110
|
+
justifyContent: 'flex-start'
|
|
65
111
|
}
|
|
66
112
|
},
|
|
67
113
|
wrapperLabelVerticalMiddle: {
|
|
@@ -70,10 +116,16 @@ var formItemStyle = {
|
|
|
70
116
|
lineHeight: 1,
|
|
71
117
|
padding: 0,
|
|
72
118
|
marginTop: 0
|
|
119
|
+
},
|
|
120
|
+
'& $label$labelWithColon, & $label$labelWithTooltip': {
|
|
121
|
+
alignItems: 'center'
|
|
73
122
|
}
|
|
74
123
|
},
|
|
75
124
|
wrapperLabelVerticalBottom: {
|
|
76
|
-
alignItems: 'flex-end'
|
|
125
|
+
alignItems: 'flex-end',
|
|
126
|
+
'& $label$labelWithColon, & $label$labelWithTooltip': {
|
|
127
|
+
alignItems: 'flex-end'
|
|
128
|
+
}
|
|
77
129
|
},
|
|
78
130
|
wrapperRequired: {
|
|
79
131
|
'& $label::before': {
|
|
@@ -105,7 +157,8 @@ var formItemStyle = {
|
|
|
105
157
|
lineHeight: token.lineHeightDynamic,
|
|
106
158
|
minHeight: token.formItemTipMinHeight,
|
|
107
159
|
fontSize: token.formItemDangerFontSize,
|
|
108
|
-
fontWeight: token.formItemDangerFontWeight
|
|
160
|
+
fontWeight: token.formItemDangerFontWeight,
|
|
161
|
+
animation: '$appear 1s ease-in-out forwards'
|
|
109
162
|
// flexBasis: '100%',
|
|
110
163
|
// width: 0,
|
|
111
164
|
},
|
|
@@ -118,5 +171,5 @@ var formItemStyle = {
|
|
|
118
171
|
marginTop: token.formItemTipMarginTop,
|
|
119
172
|
width: '100%'
|
|
120
173
|
}
|
|
121
|
-
};
|
|
174
|
+
});
|
|
122
175
|
export default formItemStyle;
|
package/esm/image/image.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,KAAK,UAAU,GAAG,MAAM,YAAY,CAAC;AA2DrC,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,KAAK,UAAU,GAAG,MAAM,YAAY,CAAC;AA2DrC,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,UAAU,CAsapC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/image/image.js
CHANGED
|
@@ -250,6 +250,20 @@ var ImageStyle = _objectSpread(_objectSpread({
|
|
|
250
250
|
},
|
|
251
251
|
'&[dir=rtl]': {
|
|
252
252
|
left: -15
|
|
253
|
+
},
|
|
254
|
+
'& > svg': {
|
|
255
|
+
position: 'relative'
|
|
256
|
+
},
|
|
257
|
+
'&:before': {
|
|
258
|
+
content: '""',
|
|
259
|
+
position: 'absolute',
|
|
260
|
+
top: '50%',
|
|
261
|
+
left: '50%',
|
|
262
|
+
width: '80%',
|
|
263
|
+
height: '80%',
|
|
264
|
+
transform: 'translate(-50%, -50%)',
|
|
265
|
+
backgroundColor: '#fff',
|
|
266
|
+
borderRadius: '50%'
|
|
253
267
|
}
|
|
254
268
|
},
|
|
255
269
|
// gallery
|
package/esm/menu/menu.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["menu.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAM9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["menu.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAM9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CA4hBtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/esm/menu/menu.js
CHANGED
|
@@ -187,9 +187,13 @@ var menuStyle = {
|
|
|
187
187
|
backgroundColor: token.menuItemHoverBackgroundColor
|
|
188
188
|
}
|
|
189
189
|
},
|
|
190
|
+
// 一级菜单展不展开都是fill-9,一级展开后的子级都是fill-10
|
|
191
|
+
'[data-soui-theme=dark] $root > $item > &': {
|
|
192
|
+
backgroundColor: token.menuDarkItemBackgroundColor
|
|
193
|
+
},
|
|
190
194
|
'[data-soui-theme=dark] &': {
|
|
191
195
|
color: token.menuDarkFontColor,
|
|
192
|
-
backgroundColor: token.
|
|
196
|
+
backgroundColor: token.menuDarkItemOpenBackgroundColor,
|
|
193
197
|
'&:hover': {
|
|
194
198
|
color: token.menuDarkItemHoverFontColor,
|
|
195
199
|
backgroundColor: token.menuDarkItemHoverBackgroundColor
|
package/esm/spin/spin.js
CHANGED
package/esm/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,CAqyBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/steps/steps.js
CHANGED
|
@@ -393,7 +393,7 @@ var stepsStyle = {
|
|
|
393
393
|
overflow: 'hidden'
|
|
394
394
|
},
|
|
395
395
|
'& $icon': {
|
|
396
|
-
marginRight:
|
|
396
|
+
marginRight: 16
|
|
397
397
|
},
|
|
398
398
|
'& $title, $description': {
|
|
399
399
|
textAlign: 'left'
|
|
@@ -523,11 +523,13 @@ var stepsStyle = {
|
|
|
523
523
|
},
|
|
524
524
|
'& $icon': {
|
|
525
525
|
lineHeight: 0,
|
|
526
|
+
marginRight: 6,
|
|
526
527
|
padding: '8px 10px'
|
|
527
528
|
},
|
|
528
529
|
'& $process': {
|
|
529
530
|
'& $icon': {
|
|
530
531
|
marginTop: 0,
|
|
532
|
+
marginRight: 8,
|
|
531
533
|
padding: '7px 8px'
|
|
532
534
|
},
|
|
533
535
|
'& $tail': {
|
package/esm/tag/tag.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAgJ1C,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;AAgJ1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CAiKxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/esm/tag/tag.js
CHANGED
|
@@ -119,6 +119,8 @@ var TagStyle = {
|
|
|
119
119
|
rootClass: {},
|
|
120
120
|
tag: {
|
|
121
121
|
display: 'inline-flex',
|
|
122
|
+
// 消除 inline-flex 看不见的空白高度
|
|
123
|
+
verticalAlign: 'top',
|
|
122
124
|
padding: "".concat(Token.tagPaddingY, " ").concat(Token.tagPaddingX),
|
|
123
125
|
fontSize: Token.tagFontSize,
|
|
124
126
|
fontWeight: Token.tagFontWeight,
|
|
@@ -130,11 +132,25 @@ var TagStyle = {
|
|
|
130
132
|
}
|
|
131
133
|
},
|
|
132
134
|
input: {
|
|
133
|
-
'
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
paddingLeft: '0 !important',
|
|
136
|
+
paddingRight: '0 !important',
|
|
137
|
+
width: 100,
|
|
138
|
+
'& > div': {
|
|
139
|
+
padding: '0 !important'
|
|
140
|
+
},
|
|
141
|
+
'& > div > input': {
|
|
142
|
+
fontSize: Token.tagFontSize,
|
|
143
|
+
padding: "0 ".concat(Token.tagPaddingX),
|
|
144
|
+
lineHeight: "calc(".concat(Token.tagFontSize, " + 8px)")
|
|
145
|
+
},
|
|
146
|
+
'$small& > div > input': {
|
|
147
|
+
padding: "0 ".concat(Token.tagSmallPaddingX),
|
|
148
|
+
lineHeight: "calc(".concat(Token.tagSmallFontSize, " + 6px)")
|
|
149
|
+
},
|
|
150
|
+
'$large& > div > input': {
|
|
151
|
+
fontSize: Token.tagLargeFontSize,
|
|
152
|
+
padding: "0 ".concat(Token.tagLargePaddingX),
|
|
153
|
+
lineHeight: "calc(".concat(Token.tagLargeFontSize, " + 8px)")
|
|
138
154
|
}
|
|
139
155
|
},
|
|
140
156
|
wrapper: {
|
package/esm/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,CAgPtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/esm/tree/tree.js
CHANGED
|
@@ -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,CA6elD,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -363,7 +363,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
363
363
|
paddingBottom: 3
|
|
364
364
|
},
|
|
365
365
|
tree: {
|
|
366
|
-
padding: 4,
|
|
366
|
+
// padding: 4,
|
|
367
367
|
overflow: 'auto'
|
|
368
368
|
},
|
|
369
369
|
treeOption: {
|
|
@@ -451,11 +451,11 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
451
451
|
// },
|
|
452
452
|
},
|
|
453
453
|
optionActive: {
|
|
454
|
-
color: token.treeSelectOptionActiveColor,
|
|
455
|
-
backgroundColor: token.treeSelectOptionActiveBackgroundColor,
|
|
456
|
-
'&>div': {
|
|
457
|
-
|
|
458
|
-
}
|
|
454
|
+
// color: token.treeSelectOptionActiveColor,
|
|
455
|
+
// backgroundColor: token.treeSelectOptionActiveBackgroundColor,
|
|
456
|
+
// '&>div': {
|
|
457
|
+
// color: token.treeSelectOptionActiveColor,
|
|
458
|
+
// },
|
|
459
459
|
},
|
|
460
460
|
optionDisabled: {
|
|
461
461
|
cursor: 'not-allowed',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["upload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["upload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAwW1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/esm/upload/upload.js
CHANGED
|
@@ -28,7 +28,7 @@ var uploadStyle = {
|
|
|
28
28
|
border: "1px dashed ".concat(token.uploadImageHandlerBorderColor),
|
|
29
29
|
backgroundColor: token.uploadImageHandlerBackgroundColor,
|
|
30
30
|
color: token.uploadImageHandlerFontColor,
|
|
31
|
-
'&:hover': {
|
|
31
|
+
'&:hover, &:hover *': {
|
|
32
32
|
borderColor: token.uploadImageHandlerHoverBorderColor,
|
|
33
33
|
color: token.uploadImageHandlerHoverFontColor
|
|
34
34
|
},
|
|
@@ -39,14 +39,28 @@ var uploadStyle = {
|
|
|
39
39
|
},
|
|
40
40
|
'& svg': {
|
|
41
41
|
color: token.uploadImageResultBtnRecoverColor
|
|
42
|
+
},
|
|
43
|
+
'&:active': {
|
|
44
|
+
color: token.uploadImageHandlerActiveFontColor,
|
|
45
|
+
borderColor: token.uploadImageHandlerActiveBorderColor
|
|
46
|
+
},
|
|
47
|
+
'&:active *': {
|
|
48
|
+
color: token.uploadImageHandlerActiveFontColor
|
|
42
49
|
}
|
|
43
50
|
}
|
|
44
51
|
},
|
|
45
52
|
result: {
|
|
46
53
|
display: 'flex',
|
|
47
54
|
alignItems: 'center',
|
|
48
|
-
|
|
49
|
-
|
|
55
|
+
gap: '8px',
|
|
56
|
+
borderRadius: token.uploadResultBorderRadius,
|
|
57
|
+
padding: "".concat(token.uploadResultPaddingY, " ").concat(token.uploadResultPaddingX),
|
|
58
|
+
'&:hover': {
|
|
59
|
+
backgroundColor: token.uploadResultBackgroundColor
|
|
60
|
+
},
|
|
61
|
+
'$handler+&, $dropItem+&': {
|
|
62
|
+
marginTop: token.uploadResultMarginY
|
|
63
|
+
}
|
|
50
64
|
},
|
|
51
65
|
icon: {
|
|
52
66
|
width: token.uploadResultIconSize,
|
|
@@ -62,25 +76,10 @@ var uploadStyle = {
|
|
|
62
76
|
}
|
|
63
77
|
},
|
|
64
78
|
iconHover: {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
content: '""',
|
|
68
|
-
position: 'absolute',
|
|
69
|
-
top: '-5px',
|
|
70
|
-
left: '-5px',
|
|
71
|
-
right: '-5px',
|
|
72
|
-
bottom: '-5px',
|
|
79
|
+
'&:hover': {
|
|
80
|
+
color: token.uploadResultIconHoverColor,
|
|
73
81
|
borderRadius: '50%',
|
|
74
|
-
display: 'none',
|
|
75
82
|
backgroundColor: token.uploadResultIconHoverBackgroundColor
|
|
76
|
-
},
|
|
77
|
-
'& svg': {
|
|
78
|
-
position: 'relative'
|
|
79
|
-
},
|
|
80
|
-
'&:hover': {
|
|
81
|
-
'&::before': {
|
|
82
|
-
display: 'block'
|
|
83
|
-
}
|
|
84
83
|
}
|
|
85
84
|
},
|
|
86
85
|
resultError: {},
|
|
@@ -108,17 +107,12 @@ var uploadStyle = {
|
|
|
108
107
|
fontSize: token.uploadResultFontSize,
|
|
109
108
|
color: token.uploadResultFontColor,
|
|
110
109
|
lineHeight: token.lineHeightDynamic,
|
|
111
|
-
padding: "".concat(token.uploadResultPaddingY, " ").concat(token.uploadResultPaddingX),
|
|
112
|
-
borderRadius: token.uploadResultBorderRadius,
|
|
113
110
|
'$resultError &': {
|
|
114
111
|
color: token.uploadResultErrorFontColor
|
|
115
112
|
},
|
|
116
113
|
'$resultDeleted &': {
|
|
117
114
|
textDecoration: 'line-through',
|
|
118
115
|
color: token.uploadResultDeletedFontColor
|
|
119
|
-
},
|
|
120
|
-
'&:hover': {
|
|
121
|
-
backgroundColor: token.uploadResultBackgroundColor
|
|
122
116
|
}
|
|
123
117
|
},
|
|
124
118
|
resultTextBody: {
|
|
@@ -127,7 +121,11 @@ var uploadStyle = {
|
|
|
127
121
|
},
|
|
128
122
|
resultClose: {
|
|
129
123
|
cursor: 'pointer',
|
|
130
|
-
|
|
124
|
+
'&$icon': {
|
|
125
|
+
boxSizing: 'content-box',
|
|
126
|
+
padding: '0 4px',
|
|
127
|
+
height: token.lineHeightDynamic
|
|
128
|
+
}
|
|
131
129
|
},
|
|
132
130
|
imageHandler: {
|
|
133
131
|
boxSizing: 'border-box',
|
|
@@ -144,6 +142,13 @@ var uploadStyle = {
|
|
|
144
142
|
borderColor: token.uploadImageHandlerHoverBorderColor,
|
|
145
143
|
color: token.uploadImageHandlerHoverFontColor
|
|
146
144
|
},
|
|
145
|
+
'$wrapper:not($wrapperDisabled) &:hover *': {
|
|
146
|
+
color: "".concat(token.uploadImageHandlerHoverFontColor, " !important")
|
|
147
|
+
},
|
|
148
|
+
'$wrapper:not($wrapperDisabled) &:active, $wrapper:not($wrapperDisabled) &:active *': {
|
|
149
|
+
color: "".concat(token.uploadImageHandlerActiveFontColor, " !important"),
|
|
150
|
+
borderColor: token.uploadImageHandlerActiveBorderColor
|
|
151
|
+
},
|
|
147
152
|
'$wrapperDisabled &': {
|
|
148
153
|
borderColor: token.uploadImageHandlerDisabledBorderColor,
|
|
149
154
|
backgroundColor: token.uploadImageHandlerDisabledBackgroundColor,
|
|
@@ -153,9 +158,13 @@ var uploadStyle = {
|
|
|
153
158
|
imageHandlerIcon: {
|
|
154
159
|
display: 'flex',
|
|
155
160
|
alignItems: 'center',
|
|
161
|
+
color: token.uploadImageHandlerIconColor,
|
|
156
162
|
'& > svg': {
|
|
157
163
|
width: 20,
|
|
158
164
|
height: 20
|
|
165
|
+
},
|
|
166
|
+
'$wrapperDisabled &': {
|
|
167
|
+
color: token.uploadImageHandlerDisabledFontColor
|
|
159
168
|
}
|
|
160
169
|
},
|
|
161
170
|
imageResult: {
|
|
@@ -293,10 +302,20 @@ var uploadStyle = {
|
|
|
293
302
|
dropItem: {
|
|
294
303
|
':not(wrapperDisabled) &[data-soui-dragover="true"]': {
|
|
295
304
|
'& $handler, & $imageHandler, & $imageResult': {
|
|
296
|
-
borderColor:
|
|
297
|
-
|
|
298
|
-
|
|
305
|
+
borderColor: 'transparent !important',
|
|
306
|
+
color: token.uploadImageHandlerHoverFontColor,
|
|
307
|
+
position: 'relative'
|
|
308
|
+
},
|
|
309
|
+
'& $handler *, & $imageHandler *, & $imageResult *': {
|
|
299
310
|
color: token.uploadImageHandlerHoverFontColor
|
|
311
|
+
},
|
|
312
|
+
'& $handler:after, & $imageHandler:after, & $imageResult:after': {
|
|
313
|
+
content: '" "',
|
|
314
|
+
position: 'absolute',
|
|
315
|
+
inset: 0,
|
|
316
|
+
pointerEvents: 'none',
|
|
317
|
+
border: "2px dashed ".concat(token.uploadImageHandlerHoverBorderColor),
|
|
318
|
+
borderRadius: token.uploadImageBorderRadius
|
|
300
319
|
}
|
|
301
320
|
}
|
|
302
321
|
},
|
package/esm/version.d.ts
CHANGED
package/esm/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAA+B"}
|
package/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '3.
|
|
1
|
+
export default '3.6.0-beta.10';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/shineout-style",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0-beta.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"jss": "10.9.2",
|
|
19
19
|
"react-jss": "10.9.2",
|
|
20
|
-
"@sheinx/theme": "3.
|
|
21
|
-
"@sheinx/base": "3.
|
|
20
|
+
"@sheinx/theme": "3.6.0-beta.10",
|
|
21
|
+
"@sheinx/base": "3.6.0-beta.10"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"core-js": ">=3"
|