@sheinx/shineout-style 3.9.12-beta.9 → 3.9.13-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +4 -3
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +1 -0
- package/cjs/editable-area/editable-area.d.ts.map +1 -1
- package/cjs/editable-area/editable-area.js +1 -0
- package/cjs/input/input-border.d.ts +1 -0
- package/cjs/input/input-border.d.ts.map +1 -1
- package/cjs/input/input-border.js +7 -3
- package/cjs/input/input.d.ts.map +1 -1
- package/cjs/input/input.js +1 -0
- package/cjs/modal/modal.d.ts.map +1 -1
- package/cjs/modal/modal.js +10 -7
- package/cjs/progress/progress.d.ts.map +1 -1
- package/cjs/progress/progress.js +13 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +48 -19
- package/cjs/tabs/tabs.d.ts.map +1 -1
- package/cjs/tabs/tabs.js +7 -1
- package/cjs/tag/tag.js +12 -11
- package/cjs/textarea/textarea.d.ts.map +1 -1
- package/cjs/textarea/textarea.js +1 -0
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +4 -3
- package/cjs/version.d.ts +1 -1
- package/cjs/version.js +1 -1
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +4 -3
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +1 -0
- package/esm/editable-area/editable-area.d.ts.map +1 -1
- package/esm/editable-area/editable-area.js +1 -0
- package/esm/input/input-border.d.ts +1 -0
- package/esm/input/input-border.d.ts.map +1 -1
- package/esm/input/input-border.js +7 -3
- package/esm/input/input.d.ts.map +1 -1
- package/esm/input/input.js +1 -0
- package/esm/modal/modal.d.ts.map +1 -1
- package/esm/modal/modal.js +10 -7
- package/esm/progress/progress.d.ts.map +1 -1
- package/esm/progress/progress.js +13 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +48 -19
- package/esm/tabs/tabs.d.ts.map +1 -1
- package/esm/tabs/tabs.js +7 -1
- package/esm/tag/tag.js +10 -10
- package/esm/textarea/textarea.d.ts.map +1 -1
- package/esm/textarea/textarea.js +1 -0
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +4 -3
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAwDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAohB9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/cjs/cascader/cascader.js
CHANGED
|
@@ -40,6 +40,7 @@ var inputBorderToken = {
|
|
|
40
40
|
errorFocusBorderColor: _theme.default.inputErrorFocusBorderColor,
|
|
41
41
|
fontColor: _theme.default.inputFontColor,
|
|
42
42
|
disabledFontColor: _theme.default.inputDisabledFontColor,
|
|
43
|
+
disabledPlaceholderColor: _theme.default.inputDisabledPlaceholderColor,
|
|
43
44
|
backgroundColor: _theme.default.inputBackgroundColor,
|
|
44
45
|
hoverBackgroundColor: _theme.default.inputHoverBackgroundColor,
|
|
45
46
|
focusBackgroundColor: _theme.default.inputFocusBackgroundColor,
|
|
@@ -328,7 +329,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
328
329
|
clearable: {},
|
|
329
330
|
clearIcon: {
|
|
330
331
|
cursor: 'pointer',
|
|
331
|
-
width: _theme.default.
|
|
332
|
+
width: _theme.default.cascaderFontSize,
|
|
332
333
|
lineHeight: 0,
|
|
333
334
|
color: _theme.default.cascaderClearColor,
|
|
334
335
|
verticalAlign: 'middle',
|
|
@@ -336,10 +337,10 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
336
337
|
color: _theme.default.cascaderClearHoverColor
|
|
337
338
|
},
|
|
338
339
|
'$wrapperSmall &': {
|
|
339
|
-
width: _theme.default.
|
|
340
|
+
width: _theme.default.cascaderSmallFontSize
|
|
340
341
|
},
|
|
341
342
|
'$wrapperLarge &': {
|
|
342
|
-
width: _theme.default.
|
|
343
|
+
width: _theme.default.cascaderLargeFontSize
|
|
343
344
|
}
|
|
344
345
|
},
|
|
345
346
|
compressedIcon: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAgE1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CA+pBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -39,6 +39,7 @@ var inputBorderToken = {
|
|
|
39
39
|
errorFocusBorderColor: _theme.default.inputErrorFocusBorderColor,
|
|
40
40
|
fontColor: _theme.default.inputFontColor,
|
|
41
41
|
disabledFontColor: _theme.default.inputDisabledFontColor,
|
|
42
|
+
disabledPlaceholderColor: _theme.default.inputDisabledPlaceholderColor,
|
|
42
43
|
backgroundColor: _theme.default.inputBackgroundColor,
|
|
43
44
|
hoverBackgroundColor: _theme.default.inputHoverBackgroundColor,
|
|
44
45
|
focusBackgroundColor: _theme.default.inputFocusBackgroundColor,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editable-area.d.ts","sourceRoot":"","sources":["editable-area.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"editable-area.d.ts","sourceRoot":"","sources":["editable-area.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;AAwD9D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,qBAAqB,CAyDtD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -38,6 +38,7 @@ var inputBorderToken = {
|
|
|
38
38
|
errorFocusBorderColor: _theme.default.inputErrorFocusBorderColor,
|
|
39
39
|
fontColor: _theme.default.inputFontColor,
|
|
40
40
|
disabledFontColor: _theme.default.inputDisabledFontColor,
|
|
41
|
+
disabledPlaceholderColor: _theme.default.inputDisabledPlaceholderColor,
|
|
41
42
|
backgroundColor: _theme.default.inputBackgroundColor,
|
|
42
43
|
hoverBackgroundColor: _theme.default.inputHoverBackgroundColor,
|
|
43
44
|
focusBackgroundColor: _theme.default.inputFocusBackgroundColor,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-border.d.ts","sourceRoot":"","sources":["input-border.ts"],"names":[],"mappings":"AASA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,qBAAqB,EAAE,MAAM,CAAC;IAE9B,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"input-border.d.ts","sourceRoot":"","sources":["input-border.ts"],"names":[],"mappings":"AASA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,qBAAqB,EAAE,MAAM,CAAC;IAE9B,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,wBAAwB,EAAE,MAAM,CAAC;IAEjC,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,yBAAyB,EAAE,MAAM,CAAC;IAClC,yBAAyB,EAAE,MAAM,CAAC;IAElC,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;CACjC;4DACiD,KAAK;AAAvD,wBA8ME"}
|
|
@@ -137,10 +137,14 @@ var _default = exports.default = function _default(name) {
|
|
|
137
137
|
borderColor: token.errorHoverBorderColor,
|
|
138
138
|
backgroundColor: token.errorHoverBackgroundColor
|
|
139
139
|
}
|
|
140
|
-
}), "
|
|
140
|
+
}), "&:not($".concat(name, "Disabled)$").concat(name, "Focus"), {
|
|
141
141
|
boxShadow: "0 0 0 2px ".concat(token.errorFocusShadow),
|
|
142
142
|
borderColor: token.errorFocusBorderColor,
|
|
143
|
-
background: token.errorFocusBackgroundColor
|
|
143
|
+
background: token.errorFocusBackgroundColor,
|
|
144
|
+
'&:hover': {
|
|
145
|
+
borderColor: token.errorFocusBorderColor,
|
|
146
|
+
background: token.errorFocusBackgroundColor
|
|
147
|
+
}
|
|
144
148
|
// '[data-soui-role="input-group-separate"]&': {
|
|
145
149
|
// boxShadow: 'none',
|
|
146
150
|
// }
|
|
@@ -150,7 +154,7 @@ var _default = exports.default = function _default(name) {
|
|
|
150
154
|
borderColor: token.disabledBorderColor,
|
|
151
155
|
boxShadow: 'none',
|
|
152
156
|
cursor: 'not-allowed'
|
|
153
|
-
}, (0, _theme.getTokenName)('inputInnerPlaceFontColor'), token.
|
|
157
|
+
}, (0, _theme.getTokenName)('inputInnerPlaceFontColor'), token.disabledPlaceholderColor), (0, _theme.getTokenName)('inputInnerFontColor'), token.disabledPlaceholderColor), "&:not($".concat(name, "Error):hover"), {
|
|
154
158
|
borderColor: token.disabledBorderColor
|
|
155
159
|
}), '& *', {
|
|
156
160
|
cursor: 'not-allowed'
|
package/cjs/input/input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAiH5C,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,YAAY,CAqNvC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/cjs/input/input.js
CHANGED
|
@@ -38,6 +38,7 @@ var inputBorderToken = {
|
|
|
38
38
|
errorFocusBorderColor: _theme.default.inputErrorFocusBorderColor,
|
|
39
39
|
fontColor: _theme.default.inputFontColor,
|
|
40
40
|
disabledFontColor: _theme.default.inputDisabledFontColor,
|
|
41
|
+
disabledPlaceholderColor: _theme.default.inputDisabledPlaceholderColor,
|
|
41
42
|
backgroundColor: _theme.default.inputBackgroundColor,
|
|
42
43
|
hoverBackgroundColor: _theme.default.inputHoverBackgroundColor,
|
|
43
44
|
focusBackgroundColor: _theme.default.inputFocusBackgroundColor,
|
package/cjs/modal/modal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAKxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAqJhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAKxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAqJhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CA+TxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/modal/modal.js
CHANGED
|
@@ -249,30 +249,33 @@ var modalStyle = _objectSpread(_objectSpread({
|
|
|
249
249
|
},
|
|
250
250
|
wrapperHide: {
|
|
251
251
|
opacity: 0,
|
|
252
|
+
pointerEvents: 'none',
|
|
252
253
|
'&:not($wrapperAnimation)': {
|
|
253
254
|
display: 'none'
|
|
254
255
|
}
|
|
255
256
|
},
|
|
256
257
|
wrapperDrawer: {
|
|
257
|
-
'& $panel': {
|
|
258
|
+
'& > $mask > $panel': {
|
|
258
259
|
borderRadius: 0,
|
|
259
260
|
position: 'absolute',
|
|
260
261
|
padding: 0,
|
|
261
|
-
'& $header': {
|
|
262
|
+
'& > $header': {
|
|
262
263
|
padding: "".concat(_theme.default.modalDrawerTitlePaddingY, " ").concat(_theme.default.modalDrawerTitlePaddingX),
|
|
263
264
|
background: _theme.default.modalDrawerTitleBackgroundColor,
|
|
264
|
-
marginBottom: 0
|
|
265
|
+
marginBottom: 0,
|
|
266
|
+
borderBottom: "".concat(_theme.default.modalDrawerHeaderBorderWidth, " solid ").concat(_theme.default.modalDrawerHeaderBorderColor)
|
|
265
267
|
},
|
|
266
|
-
'& $body': {
|
|
268
|
+
'& > $body': {
|
|
267
269
|
padding: "".concat(_theme.default.modalDrawerBodyPaddingY, " ").concat(_theme.default.modalDrawerBodyPaddingX),
|
|
268
270
|
overflow: 'auto'
|
|
269
271
|
},
|
|
270
|
-
'& $bodyWithIcon': {
|
|
272
|
+
'& > $bodyWithIcon': {
|
|
271
273
|
paddingLeft: _theme.default.modalDrawerBodyPaddingX
|
|
272
274
|
},
|
|
273
|
-
'& $footer': {
|
|
275
|
+
'& > $footer': {
|
|
274
276
|
padding: "".concat(_theme.default.modalDrawerFooterPaddingY, " ").concat(_theme.default.modalDrawerFooterPaddingX),
|
|
275
|
-
marginTop: 0
|
|
277
|
+
marginTop: 0,
|
|
278
|
+
borderTop: "".concat(_theme.default.modalDrawerFooterBorderWidth, " solid ").concat(_theme.default.modalDrawerFooterBorderColor)
|
|
276
279
|
}
|
|
277
280
|
}
|
|
278
281
|
},
|
|
@@ -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,CAmM9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/cjs/progress/progress.js
CHANGED
|
@@ -50,7 +50,19 @@ var progressStyle = {
|
|
|
50
50
|
height: _theme.default.progressLineInnerHeight,
|
|
51
51
|
borderRadius: _theme.default.progressLineInnerHeight
|
|
52
52
|
},
|
|
53
|
-
background: _theme.default.progressBackground
|
|
53
|
+
background: _theme.default.progressBackground,
|
|
54
|
+
'$wrapperSuccess &': {
|
|
55
|
+
background: _theme.default.progressSuccessBackgroundColor
|
|
56
|
+
},
|
|
57
|
+
'$wrapperWarning &': {
|
|
58
|
+
background: _theme.default.progressWarningBackgroundColor
|
|
59
|
+
},
|
|
60
|
+
'$wrapperInfo &': {
|
|
61
|
+
background: _theme.default.progressInfoBackgroundColor
|
|
62
|
+
},
|
|
63
|
+
'$wrapperDanger &': {
|
|
64
|
+
background: _theme.default.progressDangerBackgroundColor
|
|
65
|
+
}
|
|
54
66
|
},
|
|
55
67
|
lineSuccess: {
|
|
56
68
|
position: 'absolute',
|
|
@@ -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;AAwDlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAwlB1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/select/select.js
CHANGED
|
@@ -40,6 +40,7 @@ var inputBorderToken = {
|
|
|
40
40
|
errorFocusBorderColor: _theme.default.inputErrorFocusBorderColor,
|
|
41
41
|
fontColor: _theme.default.inputFontColor,
|
|
42
42
|
disabledFontColor: _theme.default.inputDisabledFontColor,
|
|
43
|
+
disabledPlaceholderColor: _theme.default.inputDisabledPlaceholderColor,
|
|
43
44
|
backgroundColor: _theme.default.inputBackgroundColor,
|
|
44
45
|
hoverBackgroundColor: _theme.default.inputHoverBackgroundColor,
|
|
45
46
|
focusBackgroundColor: _theme.default.inputFocusBackgroundColor,
|
|
@@ -323,7 +324,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
323
324
|
clearable: {},
|
|
324
325
|
clearIcon: {
|
|
325
326
|
cursor: 'pointer',
|
|
326
|
-
width: _theme.default.
|
|
327
|
+
width: _theme.default.selectFontSize,
|
|
327
328
|
lineHeight: 0,
|
|
328
329
|
color: _theme.default.selectClearColor,
|
|
329
330
|
verticalAlign: 'middle',
|
|
@@ -331,10 +332,10 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
331
332
|
color: _theme.default.selectIconColor
|
|
332
333
|
},
|
|
333
334
|
'$wrapperSmall &': {
|
|
334
|
-
width: _theme.default.
|
|
335
|
+
width: _theme.default.selectSmallFontSize
|
|
335
336
|
},
|
|
336
337
|
'$wrapperLarge &': {
|
|
337
|
-
width: _theme.default.
|
|
338
|
+
width: _theme.default.selectLargeFontSize
|
|
338
339
|
}
|
|
339
340
|
},
|
|
340
341
|
arrowIcon: {
|
|
@@ -421,7 +422,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
421
422
|
}
|
|
422
423
|
}
|
|
423
424
|
},
|
|
424
|
-
tag: _defineProperty(_defineProperty({
|
|
425
|
+
tag: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
425
426
|
flexShrink: 0,
|
|
426
427
|
'&$tag + &$tag': {
|
|
427
428
|
marginLeft: 0
|
|
@@ -431,9 +432,9 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
431
432
|
marginTop: _theme.default.selectTagMarginY,
|
|
432
433
|
marginBottom: _theme.default.selectTagMarginY,
|
|
433
434
|
textWrap: 'nowrap'
|
|
434
|
-
}, (0, _theme.getTokenName)('tagDefaultLineBase'), _theme.default.inputFontSize), '&$hideTag', {
|
|
435
|
+
}, (0, _theme.getTokenName)('tagDefaultLineBase'), _theme.default.inputFontSize), (0, _theme.getTokenName)('tagDefaultLineHeight'), "calc(".concat(_theme.default.inputFontSize, " + 6px)")), '&$hideTag', {
|
|
435
436
|
marginRight: 0
|
|
436
|
-
}),
|
|
437
|
+
}), '$wrapperSmall &', _defineProperty({}, (0, _theme.getTokenName)('tagSmallLineHeight'), "calc(".concat(_theme.default.inputSmallFontSize, " + 6px)"))), '$wrapperLarge &', _defineProperty({}, (0, _theme.getTokenName)('tagLargeLineHeight'), "calc(".concat(_theme.default.inputLargeFontSize, " + 6px)"))),
|
|
437
438
|
tagOnly: {
|
|
438
439
|
flexShrink: 1,
|
|
439
440
|
minWidth: 42
|
|
@@ -547,18 +548,29 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
547
548
|
display: 'flex',
|
|
548
549
|
alignItems: 'center',
|
|
549
550
|
boxSizing: 'border-box',
|
|
550
|
-
|
|
551
|
-
padding: "".concat(_theme.default.selectHeaderPaddingY, " ").concat(_theme.default.selectHeaderPaddingX),
|
|
551
|
+
padding: "".concat(_theme.default.selectHeaderPaddingY, " ").concat(_theme.default.selectOptionPaddingX),
|
|
552
552
|
borderBottom: "1px solid ".concat(_theme.default.selectHeaderBorderColor),
|
|
553
|
-
'& $columnsCheckbox': {
|
|
553
|
+
'& > $columnsCheckbox': {
|
|
554
554
|
padding: 0,
|
|
555
555
|
marginRight: 0,
|
|
556
|
-
marginLeft:
|
|
556
|
+
marginLeft: _theme.default.selectColumnPadding,
|
|
557
557
|
width: 'auto'
|
|
558
558
|
},
|
|
559
|
+
'$pickerSmall &': {
|
|
560
|
+
paddingTop: _theme.default.selectSmallHeaderPaddingY,
|
|
561
|
+
paddingBottom: _theme.default.selectSmallHeaderPaddingY,
|
|
562
|
+
'& > $columnsCheckbox': {
|
|
563
|
+
padding: 0,
|
|
564
|
+
marginLeft: _theme.default.selectSmallColumnPadding
|
|
565
|
+
}
|
|
566
|
+
},
|
|
559
567
|
'$pickerLarge &': {
|
|
560
|
-
|
|
561
|
-
|
|
568
|
+
paddingTop: _theme.default.selectLargeHeaderPaddingY,
|
|
569
|
+
paddingBottom: _theme.default.selectLargeHeaderPaddingY,
|
|
570
|
+
'& > $columnsCheckbox': {
|
|
571
|
+
padding: 0,
|
|
572
|
+
marginLeft: _theme.default.selectLargeColumnPadding
|
|
573
|
+
}
|
|
562
574
|
}
|
|
563
575
|
},
|
|
564
576
|
footer: {},
|
|
@@ -569,8 +581,18 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
569
581
|
alignItems: 'center',
|
|
570
582
|
padding: "0 ".concat(_theme.default.selectOptionPaddingX),
|
|
571
583
|
'& $optionGroupTitle': {
|
|
572
|
-
padding:
|
|
573
|
-
marginLeft: _theme.default.
|
|
584
|
+
padding: 0,
|
|
585
|
+
marginLeft: _theme.default.selectColumnPadding
|
|
586
|
+
},
|
|
587
|
+
'$pickerSmall &': {
|
|
588
|
+
'& $optionGroupTitle': {
|
|
589
|
+
marginLeft: _theme.default.selectSmallColumnPadding
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
'$pickerLarge &': {
|
|
593
|
+
'& $optionGroupTitle': {
|
|
594
|
+
marginLeft: _theme.default.selectLargeColumnPadding
|
|
595
|
+
}
|
|
574
596
|
}
|
|
575
597
|
},
|
|
576
598
|
columnsOption: {
|
|
@@ -580,10 +602,10 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
580
602
|
height: '100%',
|
|
581
603
|
display: 'flex',
|
|
582
604
|
alignItems: 'center',
|
|
583
|
-
'$pickerLarge &': {
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
},
|
|
605
|
+
// '$pickerLarge &': {
|
|
606
|
+
// paddingLeft: token.selectLargeColumnPadding,
|
|
607
|
+
// paddingRight: token.selectLargeColumnPadding,
|
|
608
|
+
// },
|
|
587
609
|
'& $columnsCheckbox': {
|
|
588
610
|
marginRight: 0
|
|
589
611
|
},
|
|
@@ -610,8 +632,15 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
610
632
|
height: '100%',
|
|
611
633
|
paddingLeft: _theme.default.selectColumnPadding,
|
|
612
634
|
paddingRight: _theme.default.selectColumnPadding,
|
|
613
|
-
// marginLeft: token.selectColumnOptionMargin,
|
|
614
635
|
marginLeft: 0,
|
|
636
|
+
'$pickerSmall &': {
|
|
637
|
+
paddingLeft: _theme.default.selectSmallColumnPadding,
|
|
638
|
+
paddingRight: _theme.default.selectSmallColumnPadding
|
|
639
|
+
},
|
|
640
|
+
'$pickerLarge &': {
|
|
641
|
+
paddingLeft: _theme.default.selectLargeColumnPadding,
|
|
642
|
+
paddingRight: _theme.default.selectLargeColumnPadding
|
|
643
|
+
},
|
|
615
644
|
'& :last-child': {
|
|
616
645
|
flex: 1,
|
|
617
646
|
overflow: 'hidden',
|
package/cjs/tabs/tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAyOxC,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAyOxC,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,WAAW,CA+f1C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/cjs/tabs/tabs.js
CHANGED
|
@@ -571,7 +571,13 @@ var tabsStyle = {
|
|
|
571
571
|
headerScrollBar: {
|
|
572
572
|
position: 'absolute',
|
|
573
573
|
background: _theme.default.tabsActiveFontColor,
|
|
574
|
-
transition: "left .2s ease-in-out, top .2s ease-in-out, width .2s ease-in-out, height .2s ease-in-out"
|
|
574
|
+
transition: "left .2s ease-in-out, top .2s ease-in-out, width .2s ease-in-out, height .2s ease-in-out",
|
|
575
|
+
'[data-soui-position^="top-"] &,[data-soui-position^="bottom-"] &': {
|
|
576
|
+
height: _theme.default.tabsLineActiveHeight
|
|
577
|
+
},
|
|
578
|
+
'[data-soui-position^="left-"] &,[data-soui-position^="right-"] &': {
|
|
579
|
+
width: _theme.default.tabsLineActiveHeight
|
|
580
|
+
}
|
|
575
581
|
},
|
|
576
582
|
header: {
|
|
577
583
|
flex: 1,
|
package/cjs/tag/tag.js
CHANGED
|
@@ -4,15 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _theme =
|
|
8
|
-
function
|
|
7
|
+
var _theme = _interopRequireWildcard(require("@sheinx/theme"));
|
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
9
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
13
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
14
15
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15
|
-
var tagDefaultLineHeight = "calc(".concat(_theme.default.tagDefaultLineBase, " + 6px)");
|
|
16
|
+
var tagDefaultLineHeight = "var(".concat((0, _theme.getTokenName)('tagDefaultLineHeight'), ", calc(").concat(_theme.default.tagDefaultLineBase, " + 6px))");
|
|
16
17
|
var animations = {
|
|
17
18
|
'@keyframes spin': {
|
|
18
19
|
'0%': {
|
|
@@ -27,7 +28,7 @@ var brightTag = function brightTag(name, type) {
|
|
|
27
28
|
return {
|
|
28
29
|
color: _theme.default["tag".concat(type, "FontColor")],
|
|
29
30
|
backgroundColor: _theme.default["tag".concat(type, "BackgroundColor")],
|
|
30
|
-
border: "1px solid ".concat(_theme.default["tag".concat(type, "
|
|
31
|
+
border: "1px solid ".concat(_theme.default["tag".concat(type, "BackgroundColor")]),
|
|
31
32
|
'& $closeIconWrapper': {
|
|
32
33
|
'&:hover': {
|
|
33
34
|
backgroundColor: _theme.default["tag".concat(type, "IconHoverBackgroundColor")]
|
|
@@ -42,7 +43,7 @@ var brightTag = function brightTag(name, type) {
|
|
|
42
43
|
'&$disabled': {
|
|
43
44
|
color: _theme.default["tag".concat(type, "DisabledFontColor")],
|
|
44
45
|
backgroundColor: _theme.default["tag".concat(type, "DisabledBackgroundColor")],
|
|
45
|
-
border: "1px solid ".concat(_theme.default["tag".concat(type, "
|
|
46
|
+
border: "1px solid ".concat(_theme.default["tag".concat(type, "DisabledBackgroundColor")]),
|
|
46
47
|
'& $closeIconWrapper': {
|
|
47
48
|
fill: _theme.default["tag".concat(type, "IconDisabledFontColor")],
|
|
48
49
|
'&:hover': {
|
|
@@ -56,7 +57,7 @@ var fillTag = function fillTag(name, type) {
|
|
|
56
57
|
return _defineProperty({}, "&$".concat(name), {
|
|
57
58
|
color: _theme.default["tag".concat(type, "FillFontColor")],
|
|
58
59
|
backgroundColor: _theme.default["tag".concat(type, "FillBackgroundColor")],
|
|
59
|
-
border: "1px solid ".concat(_theme.default["tag".concat(type, "
|
|
60
|
+
border: "1px solid ".concat(_theme.default["tag".concat(type, "FillBackgroundColor")]),
|
|
60
61
|
'& $closeIconWrapper': {
|
|
61
62
|
color: _theme.default["tag".concat(type, "FillFontColor")],
|
|
62
63
|
'&:hover': {
|
|
@@ -66,7 +67,7 @@ var fillTag = function fillTag(name, type) {
|
|
|
66
67
|
'&$disabled': {
|
|
67
68
|
color: _theme.default["tag".concat(type, "FillDisabledFontColor")],
|
|
68
69
|
backgroundColor: _theme.default["tag".concat(type, "FillDisabledBackgroundColor")],
|
|
69
|
-
border: "1px solid ".concat(_theme.default["tag".concat(type, "
|
|
70
|
+
border: "1px solid ".concat(_theme.default["tag".concat(type, "FillDisabledBackgroundColor")]),
|
|
70
71
|
'& $closeIconWrapper': {
|
|
71
72
|
color: _theme.default["tag".concat(type, "FillDisabledFontColor")],
|
|
72
73
|
'&:hover': {
|
|
@@ -186,10 +187,10 @@ var TagStyle = _objectSpread(_objectSpread({
|
|
|
186
187
|
}
|
|
187
188
|
},
|
|
188
189
|
'& $wrapper': {
|
|
189
|
-
lineHeight: _theme.
|
|
190
|
+
lineHeight: "var(".concat((0, _theme.getTokenName)('tagLargeLineHeight'), ", calc(1em + 8px))")
|
|
190
191
|
},
|
|
191
192
|
'& $closeIcon': {
|
|
192
|
-
height: _theme.
|
|
193
|
+
height: "var(".concat((0, _theme.getTokenName)('tagLargeLineHeight'), ", calc(1em + 8px))")
|
|
193
194
|
}
|
|
194
195
|
},
|
|
195
196
|
small: {
|
|
@@ -199,10 +200,10 @@ var TagStyle = _objectSpread(_objectSpread({
|
|
|
199
200
|
fontWeight: _theme.default.tagSmallFontWeight,
|
|
200
201
|
borderRadius: _theme.default.tagSmallBorderRadius,
|
|
201
202
|
'& $wrapper': {
|
|
202
|
-
lineHeight: "var(".concat(_theme.
|
|
203
|
+
lineHeight: "var(".concat((0, _theme.getTokenName)('tagSmallLineHeight'), ", calc(1em + 6px))")
|
|
203
204
|
},
|
|
204
205
|
'& $closeIcon': {
|
|
205
|
-
height: "var(".concat(_theme.
|
|
206
|
+
height: "var(".concat((0, _theme.getTokenName)('tagSmallLineHeight'), ", calc(1em + 6px))")
|
|
206
207
|
},
|
|
207
208
|
'& $closeIconWrapper': {
|
|
208
209
|
'& svg': {
|
|
@@ -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;AA0DxC,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,eAAe,CAiJ1C,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/cjs/textarea/textarea.js
CHANGED
|
@@ -38,6 +38,7 @@ var inputBorderToken = {
|
|
|
38
38
|
errorFocusBorderColor: _theme.default.inputErrorFocusBorderColor,
|
|
39
39
|
fontColor: _theme.default.inputFontColor,
|
|
40
40
|
disabledFontColor: _theme.default.inputDisabledFontColor,
|
|
41
|
+
disabledPlaceholderColor: _theme.default.inputDisabledPlaceholderColor,
|
|
41
42
|
backgroundColor: _theme.default.inputBackgroundColor,
|
|
42
43
|
hoverBackgroundColor: _theme.default.inputHoverBackgroundColor,
|
|
43
44
|
focusBackgroundColor: _theme.default.inputFocusBackgroundColor,
|
|
@@ -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;
|
|
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;AAwD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAogBlD,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -40,6 +40,7 @@ var inputBorderToken = {
|
|
|
40
40
|
errorFocusBorderColor: _theme.default.inputErrorFocusBorderColor,
|
|
41
41
|
fontColor: _theme.default.inputFontColor,
|
|
42
42
|
disabledFontColor: _theme.default.inputDisabledFontColor,
|
|
43
|
+
disabledPlaceholderColor: _theme.default.inputDisabledPlaceholderColor,
|
|
43
44
|
backgroundColor: _theme.default.inputBackgroundColor,
|
|
44
45
|
hoverBackgroundColor: _theme.default.inputHoverBackgroundColor,
|
|
45
46
|
focusBackgroundColor: _theme.default.inputFocusBackgroundColor,
|
|
@@ -300,7 +301,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
300
301
|
clearable: {},
|
|
301
302
|
clearIcon: {
|
|
302
303
|
cursor: 'pointer',
|
|
303
|
-
width: _theme.default.
|
|
304
|
+
width: _theme.default.treeSelectFontSize,
|
|
304
305
|
lineHeight: 0,
|
|
305
306
|
color: _theme.default.treeSelectClearColor,
|
|
306
307
|
verticalAlign: 'middle',
|
|
@@ -308,10 +309,10 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
308
309
|
color: _theme.default.treeSelectClearHoverColor
|
|
309
310
|
},
|
|
310
311
|
'$wrapperSmall &': {
|
|
311
|
-
width: _theme.default.
|
|
312
|
+
width: _theme.default.treeSelectSmallFontSize
|
|
312
313
|
},
|
|
313
314
|
'$wrapperLarge &': {
|
|
314
|
-
width: _theme.default.
|
|
315
|
+
width: _theme.default.treeSelectLargeFontSize
|
|
315
316
|
}
|
|
316
317
|
},
|
|
317
318
|
arrowIcon: {
|
package/cjs/version.d.ts
CHANGED
package/cjs/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAwDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAohB9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/esm/cascader/cascader.js
CHANGED
|
@@ -31,6 +31,7 @@ var inputBorderToken = {
|
|
|
31
31
|
errorFocusBorderColor: token.inputErrorFocusBorderColor,
|
|
32
32
|
fontColor: token.inputFontColor,
|
|
33
33
|
disabledFontColor: token.inputDisabledFontColor,
|
|
34
|
+
disabledPlaceholderColor: token.inputDisabledPlaceholderColor,
|
|
34
35
|
backgroundColor: token.inputBackgroundColor,
|
|
35
36
|
hoverBackgroundColor: token.inputHoverBackgroundColor,
|
|
36
37
|
focusBackgroundColor: token.inputFocusBackgroundColor,
|
|
@@ -319,7 +320,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
319
320
|
clearable: {},
|
|
320
321
|
clearIcon: {
|
|
321
322
|
cursor: 'pointer',
|
|
322
|
-
width: token.
|
|
323
|
+
width: token.cascaderFontSize,
|
|
323
324
|
lineHeight: 0,
|
|
324
325
|
color: token.cascaderClearColor,
|
|
325
326
|
verticalAlign: 'middle',
|
|
@@ -327,10 +328,10 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
327
328
|
color: token.cascaderClearHoverColor
|
|
328
329
|
},
|
|
329
330
|
'$wrapperSmall &': {
|
|
330
|
-
width: token.
|
|
331
|
+
width: token.cascaderSmallFontSize
|
|
331
332
|
},
|
|
332
333
|
'$wrapperLarge &': {
|
|
333
|
-
width: token.
|
|
334
|
+
width: token.cascaderLargeFontSize
|
|
334
335
|
}
|
|
335
336
|
},
|
|
336
337
|
compressedIcon: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAgE1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CA+pBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -32,6 +32,7 @@ var inputBorderToken = {
|
|
|
32
32
|
errorFocusBorderColor: token.inputErrorFocusBorderColor,
|
|
33
33
|
fontColor: token.inputFontColor,
|
|
34
34
|
disabledFontColor: token.inputDisabledFontColor,
|
|
35
|
+
disabledPlaceholderColor: token.inputDisabledPlaceholderColor,
|
|
35
36
|
backgroundColor: token.inputBackgroundColor,
|
|
36
37
|
hoverBackgroundColor: token.inputHoverBackgroundColor,
|
|
37
38
|
focusBackgroundColor: token.inputFocusBackgroundColor,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editable-area.d.ts","sourceRoot":"","sources":["editable-area.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"editable-area.d.ts","sourceRoot":"","sources":["editable-area.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;AAwD9D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,qBAAqB,CAyDtD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -31,6 +31,7 @@ var inputBorderToken = {
|
|
|
31
31
|
errorFocusBorderColor: token.inputErrorFocusBorderColor,
|
|
32
32
|
fontColor: token.inputFontColor,
|
|
33
33
|
disabledFontColor: token.inputDisabledFontColor,
|
|
34
|
+
disabledPlaceholderColor: token.inputDisabledPlaceholderColor,
|
|
34
35
|
backgroundColor: token.inputBackgroundColor,
|
|
35
36
|
hoverBackgroundColor: token.inputHoverBackgroundColor,
|
|
36
37
|
focusBackgroundColor: token.inputFocusBackgroundColor,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-border.d.ts","sourceRoot":"","sources":["input-border.ts"],"names":[],"mappings":"AASA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,qBAAqB,EAAE,MAAM,CAAC;IAE9B,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"input-border.d.ts","sourceRoot":"","sources":["input-border.ts"],"names":[],"mappings":"AASA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,qBAAqB,EAAE,MAAM,CAAC;IAE9B,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,wBAAwB,EAAE,MAAM,CAAC;IAEjC,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,yBAAyB,EAAE,MAAM,CAAC;IAClC,yBAAyB,EAAE,MAAM,CAAC;IAElC,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;CACjC;4DACiD,KAAK;AAAvD,wBA8ME"}
|
|
@@ -131,10 +131,14 @@ export default (function (name) {
|
|
|
131
131
|
borderColor: token.errorHoverBorderColor,
|
|
132
132
|
backgroundColor: token.errorHoverBackgroundColor
|
|
133
133
|
}
|
|
134
|
-
}), "
|
|
134
|
+
}), "&:not($".concat(name, "Disabled)$").concat(name, "Focus"), {
|
|
135
135
|
boxShadow: "0 0 0 2px ".concat(token.errorFocusShadow),
|
|
136
136
|
borderColor: token.errorFocusBorderColor,
|
|
137
|
-
background: token.errorFocusBackgroundColor
|
|
137
|
+
background: token.errorFocusBackgroundColor,
|
|
138
|
+
'&:hover': {
|
|
139
|
+
borderColor: token.errorFocusBorderColor,
|
|
140
|
+
background: token.errorFocusBackgroundColor
|
|
141
|
+
}
|
|
138
142
|
// '[data-soui-role="input-group-separate"]&': {
|
|
139
143
|
// boxShadow: 'none',
|
|
140
144
|
// }
|
|
@@ -144,7 +148,7 @@ export default (function (name) {
|
|
|
144
148
|
borderColor: token.disabledBorderColor,
|
|
145
149
|
boxShadow: 'none',
|
|
146
150
|
cursor: 'not-allowed'
|
|
147
|
-
}, getTokenName('inputInnerPlaceFontColor'), token.
|
|
151
|
+
}, getTokenName('inputInnerPlaceFontColor'), token.disabledPlaceholderColor), getTokenName('inputInnerFontColor'), token.disabledPlaceholderColor), "&:not($".concat(name, "Error):hover"), {
|
|
148
152
|
borderColor: token.disabledBorderColor
|
|
149
153
|
}), '& *', {
|
|
150
154
|
cursor: 'not-allowed'
|
package/esm/input/input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAiH5C,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,YAAY,CAqNvC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/esm/input/input.js
CHANGED
|
@@ -31,6 +31,7 @@ var inputBorderToken = {
|
|
|
31
31
|
errorFocusBorderColor: token.inputErrorFocusBorderColor,
|
|
32
32
|
fontColor: token.inputFontColor,
|
|
33
33
|
disabledFontColor: token.inputDisabledFontColor,
|
|
34
|
+
disabledPlaceholderColor: token.inputDisabledPlaceholderColor,
|
|
34
35
|
backgroundColor: token.inputBackgroundColor,
|
|
35
36
|
hoverBackgroundColor: token.inputHoverBackgroundColor,
|
|
36
37
|
focusBackgroundColor: token.inputFocusBackgroundColor,
|
package/esm/modal/modal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAKxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAqJhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAKxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAqJhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CA+TxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/modal/modal.js
CHANGED
|
@@ -242,30 +242,33 @@ var modalStyle = _objectSpread(_objectSpread({
|
|
|
242
242
|
},
|
|
243
243
|
wrapperHide: {
|
|
244
244
|
opacity: 0,
|
|
245
|
+
pointerEvents: 'none',
|
|
245
246
|
'&:not($wrapperAnimation)': {
|
|
246
247
|
display: 'none'
|
|
247
248
|
}
|
|
248
249
|
},
|
|
249
250
|
wrapperDrawer: {
|
|
250
|
-
'& $panel': {
|
|
251
|
+
'& > $mask > $panel': {
|
|
251
252
|
borderRadius: 0,
|
|
252
253
|
position: 'absolute',
|
|
253
254
|
padding: 0,
|
|
254
|
-
'& $header': {
|
|
255
|
+
'& > $header': {
|
|
255
256
|
padding: "".concat(token.modalDrawerTitlePaddingY, " ").concat(token.modalDrawerTitlePaddingX),
|
|
256
257
|
background: token.modalDrawerTitleBackgroundColor,
|
|
257
|
-
marginBottom: 0
|
|
258
|
+
marginBottom: 0,
|
|
259
|
+
borderBottom: "".concat(token.modalDrawerHeaderBorderWidth, " solid ").concat(token.modalDrawerHeaderBorderColor)
|
|
258
260
|
},
|
|
259
|
-
'& $body': {
|
|
261
|
+
'& > $body': {
|
|
260
262
|
padding: "".concat(token.modalDrawerBodyPaddingY, " ").concat(token.modalDrawerBodyPaddingX),
|
|
261
263
|
overflow: 'auto'
|
|
262
264
|
},
|
|
263
|
-
'& $bodyWithIcon': {
|
|
265
|
+
'& > $bodyWithIcon': {
|
|
264
266
|
paddingLeft: token.modalDrawerBodyPaddingX
|
|
265
267
|
},
|
|
266
|
-
'& $footer': {
|
|
268
|
+
'& > $footer': {
|
|
267
269
|
padding: "".concat(token.modalDrawerFooterPaddingY, " ").concat(token.modalDrawerFooterPaddingX),
|
|
268
|
-
marginTop: 0
|
|
270
|
+
marginTop: 0,
|
|
271
|
+
borderTop: "".concat(token.modalDrawerFooterBorderWidth, " solid ").concat(token.modalDrawerFooterBorderColor)
|
|
269
272
|
}
|
|
270
273
|
}
|
|
271
274
|
},
|
|
@@ -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,CAmM9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/esm/progress/progress.js
CHANGED
|
@@ -43,7 +43,19 @@ var progressStyle = {
|
|
|
43
43
|
height: token.progressLineInnerHeight,
|
|
44
44
|
borderRadius: token.progressLineInnerHeight
|
|
45
45
|
},
|
|
46
|
-
background: token.progressBackground
|
|
46
|
+
background: token.progressBackground,
|
|
47
|
+
'$wrapperSuccess &': {
|
|
48
|
+
background: token.progressSuccessBackgroundColor
|
|
49
|
+
},
|
|
50
|
+
'$wrapperWarning &': {
|
|
51
|
+
background: token.progressWarningBackgroundColor
|
|
52
|
+
},
|
|
53
|
+
'$wrapperInfo &': {
|
|
54
|
+
background: token.progressInfoBackgroundColor
|
|
55
|
+
},
|
|
56
|
+
'$wrapperDanger &': {
|
|
57
|
+
background: token.progressDangerBackgroundColor
|
|
58
|
+
}
|
|
47
59
|
},
|
|
48
60
|
lineSuccess: {
|
|
49
61
|
position: 'absolute',
|
|
@@ -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;AAwDlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAwlB1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/esm/select/select.js
CHANGED
|
@@ -31,6 +31,7 @@ var inputBorderToken = {
|
|
|
31
31
|
errorFocusBorderColor: token.inputErrorFocusBorderColor,
|
|
32
32
|
fontColor: token.inputFontColor,
|
|
33
33
|
disabledFontColor: token.inputDisabledFontColor,
|
|
34
|
+
disabledPlaceholderColor: token.inputDisabledPlaceholderColor,
|
|
34
35
|
backgroundColor: token.inputBackgroundColor,
|
|
35
36
|
hoverBackgroundColor: token.inputHoverBackgroundColor,
|
|
36
37
|
focusBackgroundColor: token.inputFocusBackgroundColor,
|
|
@@ -314,7 +315,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
314
315
|
clearable: {},
|
|
315
316
|
clearIcon: {
|
|
316
317
|
cursor: 'pointer',
|
|
317
|
-
width: token.
|
|
318
|
+
width: token.selectFontSize,
|
|
318
319
|
lineHeight: 0,
|
|
319
320
|
color: token.selectClearColor,
|
|
320
321
|
verticalAlign: 'middle',
|
|
@@ -322,10 +323,10 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
322
323
|
color: token.selectIconColor
|
|
323
324
|
},
|
|
324
325
|
'$wrapperSmall &': {
|
|
325
|
-
width: token.
|
|
326
|
+
width: token.selectSmallFontSize
|
|
326
327
|
},
|
|
327
328
|
'$wrapperLarge &': {
|
|
328
|
-
width: token.
|
|
329
|
+
width: token.selectLargeFontSize
|
|
329
330
|
}
|
|
330
331
|
},
|
|
331
332
|
arrowIcon: {
|
|
@@ -412,7 +413,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
412
413
|
}
|
|
413
414
|
}
|
|
414
415
|
},
|
|
415
|
-
tag: _defineProperty(_defineProperty({
|
|
416
|
+
tag: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
416
417
|
flexShrink: 0,
|
|
417
418
|
'&$tag + &$tag': {
|
|
418
419
|
marginLeft: 0
|
|
@@ -422,9 +423,9 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
422
423
|
marginTop: token.selectTagMarginY,
|
|
423
424
|
marginBottom: token.selectTagMarginY,
|
|
424
425
|
textWrap: 'nowrap'
|
|
425
|
-
}, getTokenName('tagDefaultLineBase'), token.inputFontSize), '&$hideTag', {
|
|
426
|
+
}, getTokenName('tagDefaultLineBase'), token.inputFontSize), getTokenName('tagDefaultLineHeight'), "calc(".concat(token.inputFontSize, " + 6px)")), '&$hideTag', {
|
|
426
427
|
marginRight: 0
|
|
427
|
-
}),
|
|
428
|
+
}), '$wrapperSmall &', _defineProperty({}, getTokenName('tagSmallLineHeight'), "calc(".concat(token.inputSmallFontSize, " + 6px)"))), '$wrapperLarge &', _defineProperty({}, getTokenName('tagLargeLineHeight'), "calc(".concat(token.inputLargeFontSize, " + 6px)"))),
|
|
428
429
|
tagOnly: {
|
|
429
430
|
flexShrink: 1,
|
|
430
431
|
minWidth: 42
|
|
@@ -538,18 +539,29 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
538
539
|
display: 'flex',
|
|
539
540
|
alignItems: 'center',
|
|
540
541
|
boxSizing: 'border-box',
|
|
541
|
-
|
|
542
|
-
padding: "".concat(token.selectHeaderPaddingY, " ").concat(token.selectHeaderPaddingX),
|
|
542
|
+
padding: "".concat(token.selectHeaderPaddingY, " ").concat(token.selectOptionPaddingX),
|
|
543
543
|
borderBottom: "1px solid ".concat(token.selectHeaderBorderColor),
|
|
544
|
-
'& $columnsCheckbox': {
|
|
544
|
+
'& > $columnsCheckbox': {
|
|
545
545
|
padding: 0,
|
|
546
546
|
marginRight: 0,
|
|
547
|
-
marginLeft:
|
|
547
|
+
marginLeft: token.selectColumnPadding,
|
|
548
548
|
width: 'auto'
|
|
549
549
|
},
|
|
550
|
+
'$pickerSmall &': {
|
|
551
|
+
paddingTop: token.selectSmallHeaderPaddingY,
|
|
552
|
+
paddingBottom: token.selectSmallHeaderPaddingY,
|
|
553
|
+
'& > $columnsCheckbox': {
|
|
554
|
+
padding: 0,
|
|
555
|
+
marginLeft: token.selectSmallColumnPadding
|
|
556
|
+
}
|
|
557
|
+
},
|
|
550
558
|
'$pickerLarge &': {
|
|
551
|
-
|
|
552
|
-
|
|
559
|
+
paddingTop: token.selectLargeHeaderPaddingY,
|
|
560
|
+
paddingBottom: token.selectLargeHeaderPaddingY,
|
|
561
|
+
'& > $columnsCheckbox': {
|
|
562
|
+
padding: 0,
|
|
563
|
+
marginLeft: token.selectLargeColumnPadding
|
|
564
|
+
}
|
|
553
565
|
}
|
|
554
566
|
},
|
|
555
567
|
footer: {},
|
|
@@ -560,8 +572,18 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
560
572
|
alignItems: 'center',
|
|
561
573
|
padding: "0 ".concat(token.selectOptionPaddingX),
|
|
562
574
|
'& $optionGroupTitle': {
|
|
563
|
-
padding:
|
|
564
|
-
marginLeft: token.
|
|
575
|
+
padding: 0,
|
|
576
|
+
marginLeft: token.selectColumnPadding
|
|
577
|
+
},
|
|
578
|
+
'$pickerSmall &': {
|
|
579
|
+
'& $optionGroupTitle': {
|
|
580
|
+
marginLeft: token.selectSmallColumnPadding
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
'$pickerLarge &': {
|
|
584
|
+
'& $optionGroupTitle': {
|
|
585
|
+
marginLeft: token.selectLargeColumnPadding
|
|
586
|
+
}
|
|
565
587
|
}
|
|
566
588
|
},
|
|
567
589
|
columnsOption: {
|
|
@@ -571,10 +593,10 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
571
593
|
height: '100%',
|
|
572
594
|
display: 'flex',
|
|
573
595
|
alignItems: 'center',
|
|
574
|
-
'$pickerLarge &': {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
},
|
|
596
|
+
// '$pickerLarge &': {
|
|
597
|
+
// paddingLeft: token.selectLargeColumnPadding,
|
|
598
|
+
// paddingRight: token.selectLargeColumnPadding,
|
|
599
|
+
// },
|
|
578
600
|
'& $columnsCheckbox': {
|
|
579
601
|
marginRight: 0
|
|
580
602
|
},
|
|
@@ -601,8 +623,15 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
601
623
|
height: '100%',
|
|
602
624
|
paddingLeft: token.selectColumnPadding,
|
|
603
625
|
paddingRight: token.selectColumnPadding,
|
|
604
|
-
// marginLeft: token.selectColumnOptionMargin,
|
|
605
626
|
marginLeft: 0,
|
|
627
|
+
'$pickerSmall &': {
|
|
628
|
+
paddingLeft: token.selectSmallColumnPadding,
|
|
629
|
+
paddingRight: token.selectSmallColumnPadding
|
|
630
|
+
},
|
|
631
|
+
'$pickerLarge &': {
|
|
632
|
+
paddingLeft: token.selectLargeColumnPadding,
|
|
633
|
+
paddingRight: token.selectLargeColumnPadding
|
|
634
|
+
},
|
|
606
635
|
'& :last-child': {
|
|
607
636
|
flex: 1,
|
|
608
637
|
overflow: 'hidden',
|
package/esm/tabs/tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAyOxC,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["tabs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAyOxC,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,WAAW,CA+f1C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/esm/tabs/tabs.js
CHANGED
|
@@ -564,7 +564,13 @@ var tabsStyle = {
|
|
|
564
564
|
headerScrollBar: {
|
|
565
565
|
position: 'absolute',
|
|
566
566
|
background: Token.tabsActiveFontColor,
|
|
567
|
-
transition: "left .2s ease-in-out, top .2s ease-in-out, width .2s ease-in-out, height .2s ease-in-out"
|
|
567
|
+
transition: "left .2s ease-in-out, top .2s ease-in-out, width .2s ease-in-out, height .2s ease-in-out",
|
|
568
|
+
'[data-soui-position^="top-"] &,[data-soui-position^="bottom-"] &': {
|
|
569
|
+
height: Token.tabsLineActiveHeight
|
|
570
|
+
},
|
|
571
|
+
'[data-soui-position^="left-"] &,[data-soui-position^="right-"] &': {
|
|
572
|
+
width: Token.tabsLineActiveHeight
|
|
573
|
+
}
|
|
568
574
|
},
|
|
569
575
|
header: {
|
|
570
576
|
flex: 1,
|
package/esm/tag/tag.js
CHANGED
|
@@ -4,8 +4,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
import Token from '@sheinx/theme';
|
|
8
|
-
var tagDefaultLineHeight = "calc(".concat(Token.tagDefaultLineBase, " + 6px)");
|
|
7
|
+
import Token, { getTokenName } from '@sheinx/theme';
|
|
8
|
+
var tagDefaultLineHeight = "var(".concat(getTokenName('tagDefaultLineHeight'), ", calc(").concat(Token.tagDefaultLineBase, " + 6px))");
|
|
9
9
|
var animations = {
|
|
10
10
|
'@keyframes spin': {
|
|
11
11
|
'0%': {
|
|
@@ -20,7 +20,7 @@ var brightTag = function brightTag(name, type) {
|
|
|
20
20
|
return {
|
|
21
21
|
color: Token["tag".concat(type, "FontColor")],
|
|
22
22
|
backgroundColor: Token["tag".concat(type, "BackgroundColor")],
|
|
23
|
-
border: "1px solid ".concat(Token["tag".concat(type, "
|
|
23
|
+
border: "1px solid ".concat(Token["tag".concat(type, "BackgroundColor")]),
|
|
24
24
|
'& $closeIconWrapper': {
|
|
25
25
|
'&:hover': {
|
|
26
26
|
backgroundColor: Token["tag".concat(type, "IconHoverBackgroundColor")]
|
|
@@ -35,7 +35,7 @@ var brightTag = function brightTag(name, type) {
|
|
|
35
35
|
'&$disabled': {
|
|
36
36
|
color: Token["tag".concat(type, "DisabledFontColor")],
|
|
37
37
|
backgroundColor: Token["tag".concat(type, "DisabledBackgroundColor")],
|
|
38
|
-
border: "1px solid ".concat(Token["tag".concat(type, "
|
|
38
|
+
border: "1px solid ".concat(Token["tag".concat(type, "DisabledBackgroundColor")]),
|
|
39
39
|
'& $closeIconWrapper': {
|
|
40
40
|
fill: Token["tag".concat(type, "IconDisabledFontColor")],
|
|
41
41
|
'&:hover': {
|
|
@@ -49,7 +49,7 @@ var fillTag = function fillTag(name, type) {
|
|
|
49
49
|
return _defineProperty({}, "&$".concat(name), {
|
|
50
50
|
color: Token["tag".concat(type, "FillFontColor")],
|
|
51
51
|
backgroundColor: Token["tag".concat(type, "FillBackgroundColor")],
|
|
52
|
-
border: "1px solid ".concat(Token["tag".concat(type, "
|
|
52
|
+
border: "1px solid ".concat(Token["tag".concat(type, "FillBackgroundColor")]),
|
|
53
53
|
'& $closeIconWrapper': {
|
|
54
54
|
color: Token["tag".concat(type, "FillFontColor")],
|
|
55
55
|
'&:hover': {
|
|
@@ -59,7 +59,7 @@ var fillTag = function fillTag(name, type) {
|
|
|
59
59
|
'&$disabled': {
|
|
60
60
|
color: Token["tag".concat(type, "FillDisabledFontColor")],
|
|
61
61
|
backgroundColor: Token["tag".concat(type, "FillDisabledBackgroundColor")],
|
|
62
|
-
border: "1px solid ".concat(Token["tag".concat(type, "
|
|
62
|
+
border: "1px solid ".concat(Token["tag".concat(type, "FillDisabledBackgroundColor")]),
|
|
63
63
|
'& $closeIconWrapper': {
|
|
64
64
|
color: Token["tag".concat(type, "FillDisabledFontColor")],
|
|
65
65
|
'&:hover': {
|
|
@@ -179,10 +179,10 @@ var TagStyle = _objectSpread(_objectSpread({
|
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
'& $wrapper': {
|
|
182
|
-
lineHeight:
|
|
182
|
+
lineHeight: "var(".concat(getTokenName('tagLargeLineHeight'), ", calc(1em + 8px))")
|
|
183
183
|
},
|
|
184
184
|
'& $closeIcon': {
|
|
185
|
-
height:
|
|
185
|
+
height: "var(".concat(getTokenName('tagLargeLineHeight'), ", calc(1em + 8px))")
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
188
|
small: {
|
|
@@ -192,10 +192,10 @@ var TagStyle = _objectSpread(_objectSpread({
|
|
|
192
192
|
fontWeight: Token.tagSmallFontWeight,
|
|
193
193
|
borderRadius: Token.tagSmallBorderRadius,
|
|
194
194
|
'& $wrapper': {
|
|
195
|
-
lineHeight: "var(".concat(
|
|
195
|
+
lineHeight: "var(".concat(getTokenName('tagSmallLineHeight'), ", calc(1em + 6px))")
|
|
196
196
|
},
|
|
197
197
|
'& $closeIcon': {
|
|
198
|
-
height: "var(".concat(
|
|
198
|
+
height: "var(".concat(getTokenName('tagSmallLineHeight'), ", calc(1em + 6px))")
|
|
199
199
|
},
|
|
200
200
|
'& $closeIconWrapper': {
|
|
201
201
|
'& svg': {
|
|
@@ -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;AA0DxC,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,eAAe,CAiJ1C,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/esm/textarea/textarea.js
CHANGED
|
@@ -31,6 +31,7 @@ var inputBorderToken = {
|
|
|
31
31
|
errorFocusBorderColor: token.inputErrorFocusBorderColor,
|
|
32
32
|
fontColor: token.inputFontColor,
|
|
33
33
|
disabledFontColor: token.inputDisabledFontColor,
|
|
34
|
+
disabledPlaceholderColor: token.inputDisabledPlaceholderColor,
|
|
34
35
|
backgroundColor: token.inputBackgroundColor,
|
|
35
36
|
hoverBackgroundColor: token.inputHoverBackgroundColor,
|
|
36
37
|
focusBackgroundColor: token.inputFocusBackgroundColor,
|
|
@@ -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;
|
|
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;AAwD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAogBlD,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -31,6 +31,7 @@ var inputBorderToken = {
|
|
|
31
31
|
errorFocusBorderColor: token.inputErrorFocusBorderColor,
|
|
32
32
|
fontColor: token.inputFontColor,
|
|
33
33
|
disabledFontColor: token.inputDisabledFontColor,
|
|
34
|
+
disabledPlaceholderColor: token.inputDisabledPlaceholderColor,
|
|
34
35
|
backgroundColor: token.inputBackgroundColor,
|
|
35
36
|
hoverBackgroundColor: token.inputHoverBackgroundColor,
|
|
36
37
|
focusBackgroundColor: token.inputFocusBackgroundColor,
|
|
@@ -291,7 +292,7 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
291
292
|
clearable: {},
|
|
292
293
|
clearIcon: {
|
|
293
294
|
cursor: 'pointer',
|
|
294
|
-
width: token.
|
|
295
|
+
width: token.treeSelectFontSize,
|
|
295
296
|
lineHeight: 0,
|
|
296
297
|
color: token.treeSelectClearColor,
|
|
297
298
|
verticalAlign: 'middle',
|
|
@@ -299,10 +300,10 @@ var treeSelectStyle = _objectSpread(_objectSpread({
|
|
|
299
300
|
color: token.treeSelectClearHoverColor
|
|
300
301
|
},
|
|
301
302
|
'$wrapperSmall &': {
|
|
302
|
-
width: token.
|
|
303
|
+
width: token.treeSelectSmallFontSize
|
|
303
304
|
},
|
|
304
305
|
'$wrapperLarge &': {
|
|
305
|
-
width: token.
|
|
306
|
+
width: token.treeSelectLargeFontSize
|
|
306
307
|
}
|
|
307
308
|
},
|
|
308
309
|
arrowIcon: {
|
package/esm/version.d.ts
CHANGED
package/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '3.9.
|
|
1
|
+
export default '3.9.13-beta.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/shineout-style",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.13-beta.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"jss": "10.9.2",
|
|
19
19
|
"react-jss": "10.9.2",
|
|
20
|
-
"@sheinx/theme": "3.9.
|
|
21
|
-
"@sheinx/base": "3.9.
|
|
20
|
+
"@sheinx/theme": "3.9.13-beta.1",
|
|
21
|
+
"@sheinx/base": "3.9.13-beta.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"core-js": ">=3"
|