@sheinx/shineout-style 3.9.12 → 3.9.13-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 +2 -2
- package/cjs/badge/badge.d.ts +1 -0
- package/cjs/badge/badge.d.ts.map +1 -1
- package/cjs/badge/badge.js +8 -0
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +28 -18
- package/cjs/checkbox/checkbox.js +6 -6
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +30 -17
- package/cjs/dropdown/dropdown.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.js +10 -2
- package/cjs/editable-area/editable-area.d.ts.map +1 -1
- package/cjs/editable-area/editable-area.js +3 -2
- package/cjs/form/form-item.d.ts.map +1 -1
- package/cjs/form/form-item.js +2 -3
- package/cjs/image/image.d.ts.map +1 -1
- package/cjs/image/image.js +6 -6
- 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 +16 -15
- package/cjs/menu/menu.js +4 -4
- package/cjs/modal/modal.d.ts.map +1 -1
- package/cjs/modal/modal.js +8 -6
- package/cjs/progress/progress.d.ts.map +1 -1
- package/cjs/progress/progress.js +26 -2
- package/cjs/radio/radio.js +9 -9
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +25 -18
- package/cjs/tabs/tabs.d.ts.map +1 -1
- package/cjs/tabs/tabs.js +11 -27
- package/cjs/tag/tag.js +12 -11
- package/cjs/textarea/textarea.d.ts.map +1 -1
- package/cjs/textarea/textarea.js +18 -17
- package/cjs/tree/tree.js +2 -2
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +19 -12
- 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 +2 -2
- package/esm/badge/badge.d.ts +1 -0
- package/esm/badge/badge.d.ts.map +1 -1
- package/esm/badge/badge.js +8 -0
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +28 -18
- package/esm/checkbox/checkbox.js +6 -6
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +30 -17
- package/esm/dropdown/dropdown.d.ts.map +1 -1
- package/esm/dropdown/dropdown.js +10 -2
- package/esm/editable-area/editable-area.d.ts.map +1 -1
- package/esm/editable-area/editable-area.js +3 -2
- package/esm/form/form-item.d.ts.map +1 -1
- package/esm/form/form-item.js +2 -3
- package/esm/image/image.d.ts.map +1 -1
- package/esm/image/image.js +4 -5
- 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 +16 -15
- package/esm/menu/menu.js +4 -4
- package/esm/modal/modal.d.ts.map +1 -1
- package/esm/modal/modal.js +8 -6
- package/esm/progress/progress.d.ts.map +1 -1
- package/esm/progress/progress.js +26 -2
- package/esm/radio/radio.js +9 -9
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +25 -18
- package/esm/tabs/tabs.d.ts.map +1 -1
- package/esm/tabs/tabs.js +11 -27
- package/esm/tag/tag.js +10 -10
- package/esm/textarea/textarea.d.ts.map +1 -1
- package/esm/textarea/textarea.js +18 -17
- package/esm/tree/tree.js +2 -2
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +19 -12
- 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
|
@@ -64,7 +64,7 @@ var alertStyle = {
|
|
|
64
64
|
withTitle: {
|
|
65
65
|
'& $icon': {
|
|
66
66
|
fontSize: _theme.default.alertTitleFontSize,
|
|
67
|
-
width: "calc(".concat(_theme.default.
|
|
67
|
+
width: "calc(".concat(_theme.default.alertTitleFontSize, " + 2px)"),
|
|
68
68
|
height: _theme.default.lineHeightDynamic
|
|
69
69
|
},
|
|
70
70
|
'& $title': {
|
|
@@ -174,7 +174,7 @@ var alertStyle = {
|
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
176
|
icon: {
|
|
177
|
-
width: _theme.default.
|
|
177
|
+
width: "calc(".concat(_theme.default.alertFontSize, " + 2px)"),
|
|
178
178
|
display: 'inline-flex',
|
|
179
179
|
fontSize: _theme.default.alertFontSize,
|
|
180
180
|
height: _theme.default.lineHeightDynamic,
|
package/cjs/badge/badge.d.ts
CHANGED
package/cjs/badge/badge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["badge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IAEnB,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["badge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IAEnB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IAEnB,0BAA0B,EAAE,MAAM,CAAC;IACnC,iCAAiC,EAAE,MAAM,CAAC;CAC3C,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAEhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAqIxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/badge/badge.js
CHANGED
|
@@ -26,6 +26,14 @@ var badgeStyle = {
|
|
|
26
26
|
boxShadow: "0 0 0 1px #fff"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
+
standalone: {
|
|
30
|
+
fontSize: 0,
|
|
31
|
+
'& $count,$custom,$dot': {
|
|
32
|
+
position: 'static',
|
|
33
|
+
transform: 'none',
|
|
34
|
+
boxShadow: 'none'
|
|
35
|
+
}
|
|
36
|
+
},
|
|
29
37
|
textBadge: {
|
|
30
38
|
display: 'block',
|
|
31
39
|
lineHeight: 'inherit',
|
|
@@ -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,CA6hB9C,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,
|
|
@@ -106,6 +107,9 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
106
107
|
// padding: `${token.cascaderSmallOptionInnerPaddingY} ${token.cascaderSmallOptionInnerPaddingX}`,
|
|
107
108
|
fontSize: _theme.default.cascaderSmallFontSize
|
|
108
109
|
},
|
|
110
|
+
'& $arrowIcon': {
|
|
111
|
+
width: _theme.default.inputSmallFontSize
|
|
112
|
+
},
|
|
109
113
|
'& $clearIcon': {
|
|
110
114
|
right: _theme.default.cascaderSmallPaddingX
|
|
111
115
|
}
|
|
@@ -116,7 +120,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
116
120
|
marginBottom: _theme.default.cascaderLargePlaceholderMarginY
|
|
117
121
|
},
|
|
118
122
|
'& $arrowIcon': {
|
|
119
|
-
width: _theme.default.
|
|
123
|
+
width: _theme.default.inputLargeFontSize
|
|
120
124
|
},
|
|
121
125
|
'& $optionInner': {
|
|
122
126
|
// padding: `${token.cascaderLargeOptionInnerPaddingY} ${token.cascaderLargeOptionInnerPaddingX}`,
|
|
@@ -220,7 +224,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
220
224
|
whiteSpace: 'nowrap',
|
|
221
225
|
textOverflow: 'ellipsis',
|
|
222
226
|
'&::placeholder': {
|
|
223
|
-
color: _theme.default.
|
|
227
|
+
color: _theme.default.inputPlaceholderColor
|
|
224
228
|
}
|
|
225
229
|
}
|
|
226
230
|
},
|
|
@@ -270,7 +274,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
270
274
|
backgroundColor: 'transparent',
|
|
271
275
|
width: '100%',
|
|
272
276
|
'&::placeholder': {
|
|
273
|
-
color: _theme.default.
|
|
277
|
+
color: _theme.default.inputPlaceholderColor
|
|
274
278
|
}
|
|
275
279
|
}
|
|
276
280
|
},
|
|
@@ -280,8 +284,11 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
280
284
|
}
|
|
281
285
|
},
|
|
282
286
|
resultTextDisabled: {
|
|
283
|
-
color: _theme.default.
|
|
284
|
-
cursor: 'not-allowed'
|
|
287
|
+
color: _theme.default.inputDisabledFontColor,
|
|
288
|
+
cursor: 'not-allowed',
|
|
289
|
+
'& input::placeholder': {
|
|
290
|
+
color: _theme.default.inputDisabledPlaceholderColor
|
|
291
|
+
}
|
|
285
292
|
},
|
|
286
293
|
compressedWrapper: {
|
|
287
294
|
width: 0,
|
|
@@ -303,10 +310,13 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
303
310
|
}
|
|
304
311
|
},
|
|
305
312
|
placeholder: {
|
|
306
|
-
color: _theme.default.
|
|
313
|
+
color: _theme.default.inputPlaceholderColor,
|
|
307
314
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
308
315
|
marginTop: _theme.default.cascaderPlaceholderMarginY,
|
|
309
|
-
marginBottom: _theme.default.cascaderPlaceholderMarginY
|
|
316
|
+
marginBottom: _theme.default.cascaderPlaceholderMarginY,
|
|
317
|
+
'$wrapperDisabled &': {
|
|
318
|
+
color: _theme.default.inputDisabledPlaceholderColor
|
|
319
|
+
}
|
|
310
320
|
},
|
|
311
321
|
pickerWrapper: {
|
|
312
322
|
position: 'absolute',
|
|
@@ -328,25 +338,25 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
328
338
|
clearable: {},
|
|
329
339
|
clearIcon: {
|
|
330
340
|
cursor: 'pointer',
|
|
331
|
-
width: _theme.default.
|
|
341
|
+
width: _theme.default.inputFontSize,
|
|
332
342
|
lineHeight: 0,
|
|
333
|
-
color: _theme.default.
|
|
343
|
+
color: _theme.default.inputClearColor,
|
|
334
344
|
verticalAlign: 'middle',
|
|
335
345
|
'&:hover': {
|
|
336
|
-
color: _theme.default.
|
|
346
|
+
color: _theme.default.inputHoverClearColor
|
|
337
347
|
},
|
|
338
348
|
'$wrapperSmall &': {
|
|
339
|
-
width: _theme.default.
|
|
349
|
+
width: _theme.default.inputSmallFontSize
|
|
340
350
|
},
|
|
341
351
|
'$wrapperLarge &': {
|
|
342
|
-
width: _theme.default.
|
|
352
|
+
width: _theme.default.inputLargeFontSize
|
|
343
353
|
}
|
|
344
354
|
},
|
|
345
355
|
compressedIcon: {},
|
|
346
356
|
arrowIcon: {
|
|
347
357
|
display: 'inline-block',
|
|
348
358
|
verticalAlign: 'middle',
|
|
349
|
-
width: _theme.default.
|
|
359
|
+
width: _theme.default.inputFontSize,
|
|
350
360
|
lineHeight: 0,
|
|
351
361
|
color: _theme.default.cascaderIconColor,
|
|
352
362
|
transition: 'transform 0.3s'
|
|
@@ -382,13 +392,13 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
382
392
|
},
|
|
383
393
|
loading: {
|
|
384
394
|
padding: 10,
|
|
385
|
-
color: _theme.default.
|
|
395
|
+
color: _theme.default.inputPlaceholderColor,
|
|
386
396
|
display: 'flex',
|
|
387
397
|
justifyContent: 'center'
|
|
388
398
|
},
|
|
389
399
|
empty: {
|
|
390
400
|
padding: "calc(".concat(_theme.default.cascaderOptionPaddingY, " + ").concat(_theme.default.cascaderOptionInnerPaddingY, ") calc(").concat(_theme.default.cascaderOptionPaddingX, " + ").concat(_theme.default.cascaderOptionInnerPaddingX, ")"),
|
|
391
|
-
color: _theme.default.
|
|
401
|
+
color: _theme.default.inputPlaceholderColor
|
|
392
402
|
},
|
|
393
403
|
checkedIcon: {
|
|
394
404
|
right: 8,
|
|
@@ -550,12 +560,12 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
550
560
|
justifyContent: 'center',
|
|
551
561
|
'& svg': {
|
|
552
562
|
verticalAlign: 'middle',
|
|
553
|
-
width: _theme.default.
|
|
563
|
+
width: _theme.default.cascaderFontSize,
|
|
554
564
|
'$wrapperLarge &': {
|
|
555
|
-
width: _theme.default.
|
|
565
|
+
width: _theme.default.cascaderLargeFontSize
|
|
556
566
|
},
|
|
557
567
|
'$wrapperSmall &': {
|
|
558
|
-
width: _theme.default.
|
|
568
|
+
width: _theme.default.cascaderSmallFontSize
|
|
559
569
|
}
|
|
560
570
|
}
|
|
561
571
|
},
|
package/cjs/checkbox/checkbox.js
CHANGED
|
@@ -45,17 +45,17 @@ var checkboxStyle = _objectSpread(_objectSpread({}, _common.animations), {}, {
|
|
|
45
45
|
display: 'block',
|
|
46
46
|
position: 'relative',
|
|
47
47
|
boxSizing: 'border-box',
|
|
48
|
-
width: _theme.default.
|
|
49
|
-
height: _theme.default.
|
|
48
|
+
width: _theme.default.checkboxLabelFontSize,
|
|
49
|
+
height: _theme.default.checkboxLabelFontSize,
|
|
50
50
|
// marginTop: token.checkboxIndicatorMarginTop,
|
|
51
51
|
flexShrink: 0,
|
|
52
52
|
'$wrapperSmall &': {
|
|
53
|
-
width: _theme.default.
|
|
54
|
-
height: _theme.default.
|
|
53
|
+
width: _theme.default.checkboxSmallLabelFontSize,
|
|
54
|
+
height: _theme.default.checkboxSmallLabelFontSize
|
|
55
55
|
},
|
|
56
56
|
'$wrapperLarge &': {
|
|
57
|
-
width: _theme.default.
|
|
58
|
-
height: _theme.default.
|
|
57
|
+
width: _theme.default.checkboxLargeLabelFontSize,
|
|
58
|
+
height: _theme.default.checkboxLargeLabelFontSize
|
|
59
59
|
},
|
|
60
60
|
verticalAlign: 'middle',
|
|
61
61
|
'&::before': {
|
|
@@ -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,CA2qBlD,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,
|
|
@@ -156,7 +157,13 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
156
157
|
backgroundColor: 'transparent',
|
|
157
158
|
width: '100%',
|
|
158
159
|
'&::placeholder': {
|
|
159
|
-
color: _theme.default.
|
|
160
|
+
color: _theme.default.inputPlaceholderColor
|
|
161
|
+
},
|
|
162
|
+
'$wrapperDisabled &': {
|
|
163
|
+
color: _theme.default.inputDisabledFontColor,
|
|
164
|
+
'&::placeholder': {
|
|
165
|
+
color: _theme.default.inputDisabledPlaceholderColor
|
|
166
|
+
}
|
|
160
167
|
}
|
|
161
168
|
}
|
|
162
169
|
},
|
|
@@ -179,7 +186,7 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
179
186
|
backgroundColor: 'transparent',
|
|
180
187
|
width: '100%',
|
|
181
188
|
'&::placeholder': {
|
|
182
|
-
color: _theme.default.
|
|
189
|
+
color: _theme.default.inputPlaceholderColor
|
|
183
190
|
}
|
|
184
191
|
}
|
|
185
192
|
},
|
|
@@ -189,8 +196,11 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
189
196
|
}
|
|
190
197
|
},
|
|
191
198
|
resultTextDisabled: {
|
|
192
|
-
color: _theme.default.
|
|
193
|
-
cursor: 'not-allowed'
|
|
199
|
+
color: _theme.default.inputDisabledFontColor,
|
|
200
|
+
cursor: 'not-allowed',
|
|
201
|
+
'& input::placeholder': {
|
|
202
|
+
color: _theme.default.inputDisabledPlaceholderColor
|
|
203
|
+
}
|
|
194
204
|
},
|
|
195
205
|
placeholder: {
|
|
196
206
|
color: _theme.default.datePickerPlaceholderColor
|
|
@@ -204,15 +214,15 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
204
214
|
alignItems: 'center',
|
|
205
215
|
color: _theme.default.datePickerIconColor,
|
|
206
216
|
'& svg': {
|
|
207
|
-
width: _theme.default.
|
|
208
|
-
height: _theme.default.
|
|
217
|
+
width: _theme.default.inputFontSize,
|
|
218
|
+
height: _theme.default.inputFontSize,
|
|
209
219
|
'$wrapperSmall &': {
|
|
210
|
-
width: _theme.default.
|
|
211
|
-
height: _theme.default.
|
|
220
|
+
width: _theme.default.inputSmallFontSize,
|
|
221
|
+
height: _theme.default.inputSmallFontSize
|
|
212
222
|
},
|
|
213
223
|
'$wrapperLarge &': {
|
|
214
|
-
width: _theme.default.
|
|
215
|
-
height: _theme.default.
|
|
224
|
+
width: _theme.default.inputLargeFontSize,
|
|
225
|
+
height: _theme.default.inputLargeFontSize
|
|
216
226
|
}
|
|
217
227
|
},
|
|
218
228
|
// todo 暂时写死
|
|
@@ -320,8 +330,8 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
320
330
|
transform: 'rotate(180deg)'
|
|
321
331
|
},
|
|
322
332
|
'& svg': {
|
|
323
|
-
width: _theme.default.
|
|
324
|
-
height: _theme.default.
|
|
333
|
+
width: _theme.default.datePickerPanelHeaderFontSize,
|
|
334
|
+
height: _theme.default.datePickerPanelHeaderFontSize
|
|
325
335
|
},
|
|
326
336
|
'&:hover': {
|
|
327
337
|
backgroundColor: _theme.default.datePickerPanelHeaderIconHoverBackgroundColor
|
|
@@ -330,9 +340,11 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
330
340
|
pickerHeaderMid: {
|
|
331
341
|
display: 'flex',
|
|
332
342
|
alignItems: 'center',
|
|
343
|
+
fontSize: _theme.default.datePickerPanelHeaderFontSize,
|
|
344
|
+
color: _theme.default.datePickerPanelHeaderFontColor,
|
|
345
|
+
fontWeight: _theme.default.datePickerPanelHeaderFontWeight,
|
|
333
346
|
'& > span': {
|
|
334
|
-
padding: "0 ".concat(_theme.default.datePickerPanelHeaderTitlePaddingX)
|
|
335
|
-
fontSize: _theme.default.datePickerPanelHeaderFontSize
|
|
347
|
+
padding: "0 ".concat(_theme.default.datePickerPanelHeaderTitlePaddingX)
|
|
336
348
|
}
|
|
337
349
|
},
|
|
338
350
|
pickerHeaderInfo: {
|
|
@@ -683,8 +695,8 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
683
695
|
lineHeight: '0',
|
|
684
696
|
marginRight: '8px',
|
|
685
697
|
'& > svg': {
|
|
686
|
-
width: _theme.default.
|
|
687
|
-
height: _theme.default.
|
|
698
|
+
width: _theme.default.datePickerPanelBodyFontSize,
|
|
699
|
+
height: _theme.default.datePickerPanelBodyFontSize,
|
|
688
700
|
color: _theme.default.datePickerIconColor
|
|
689
701
|
}
|
|
690
702
|
},
|
|
@@ -720,7 +732,8 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
720
732
|
},
|
|
721
733
|
whiteSpace: 'nowrap',
|
|
722
734
|
textAlign: 'left',
|
|
723
|
-
|
|
735
|
+
color: _theme.default.buttonSecondaryTextFontColor,
|
|
736
|
+
fontSize: _theme.default.buttonSmallFontSize,
|
|
724
737
|
padding: "".concat(_theme.default.datePickerQuickPanelItemPaddingY, " ").concat(_theme.default.datePickerQuickPanelItemPaddingX),
|
|
725
738
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
726
739
|
borderRadius: '4px',
|
|
@@ -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,CA6M7C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/cjs/dropdown/dropdown.js
CHANGED
|
@@ -84,7 +84,7 @@ var dropdown = {
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
boxList: {
|
|
87
|
-
padding: "".concat(_theme.default.
|
|
87
|
+
padding: "".concat(_theme.default.dropdownListPaddingY, " ").concat(_theme.default.dropdownListPaddingX),
|
|
88
88
|
'& $item': {
|
|
89
89
|
textAlign: 'center'
|
|
90
90
|
}
|
|
@@ -192,7 +192,15 @@ var dropdown = {
|
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
194
|
optionDivider: {
|
|
195
|
-
padding: "".concat(_theme.default.dropdownOptionDividerPaddingY, " ").concat(_theme.default.
|
|
195
|
+
padding: "".concat(_theme.default.dropdownOptionDividerPaddingY, " ").concat(_theme.default.dropdownOptionPaddingX),
|
|
196
|
+
'$listSmall &': {
|
|
197
|
+
paddingLeft: _theme.default.dropdownOptionSmallPaddingX,
|
|
198
|
+
paddingRight: _theme.default.dropdownOptionSmallPaddingX
|
|
199
|
+
},
|
|
200
|
+
'$listLarge &': {
|
|
201
|
+
paddingLeft: _theme.default.dropdownOptionLargePaddingX,
|
|
202
|
+
paddingRight: _theme.default.dropdownOptionLargePaddingX
|
|
203
|
+
},
|
|
196
204
|
'&::before': {
|
|
197
205
|
content: '" "',
|
|
198
206
|
height: _theme.default.dropdownOptionDividerHeight,
|
|
@@ -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,
|
|
@@ -80,8 +81,8 @@ var editableAreaStyle = _objectSpread(_objectSpread({
|
|
|
80
81
|
clear: {
|
|
81
82
|
position: 'absolute',
|
|
82
83
|
display: 'flex',
|
|
83
|
-
width: _theme.default.
|
|
84
|
-
height: _theme.default.
|
|
84
|
+
width: _theme.default.inputFontSize,
|
|
85
|
+
height: _theme.default.inputFontSize,
|
|
85
86
|
top: 0,
|
|
86
87
|
bottom: 0,
|
|
87
88
|
margin: 'auto',
|
|
@@ -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;AAYxC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,eAAe,
|
|
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,CAuJlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/cjs/form/form-item.js
CHANGED
|
@@ -170,9 +170,8 @@ var formItemStyle = _objectSpread(_objectSpread({
|
|
|
170
170
|
minHeight: _theme.default.formItemTipMinHeight,
|
|
171
171
|
fontSize: _theme.default.formItemDangerFontSize,
|
|
172
172
|
fontWeight: _theme.default.formItemDangerFontWeight,
|
|
173
|
-
animation: '$appear 1s ease-in-out forwards'
|
|
174
|
-
|
|
175
|
-
// width: 0,
|
|
173
|
+
animation: '$appear 1s ease-in-out forwards',
|
|
174
|
+
marginTop: _theme.default.formItemTipMarginTop
|
|
176
175
|
},
|
|
177
176
|
tip: {
|
|
178
177
|
color: _theme.default.formItemTipFontColor,
|
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,CAobpC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/image/image.js
CHANGED
|
@@ -4,8 +4,9 @@ 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; }
|
|
@@ -193,15 +194,14 @@ var ImageStyle = _objectSpread(_objectSpread({
|
|
|
193
194
|
margin: 'auto',
|
|
194
195
|
backgroundColor: _theme.default.imagePlaceholderBackgroundColor
|
|
195
196
|
},
|
|
196
|
-
defaultPlaceholder: {
|
|
197
|
+
defaultPlaceholder: _defineProperty(_defineProperty({
|
|
197
198
|
width: '100%',
|
|
198
199
|
height: '100%',
|
|
199
200
|
margin: 'auto',
|
|
200
201
|
display: 'flex',
|
|
201
202
|
alignItems: 'center',
|
|
202
|
-
justifyContent: 'center'
|
|
203
|
-
|
|
204
|
-
},
|
|
203
|
+
justifyContent: 'center'
|
|
204
|
+
}, (0, _theme.getTokenName)('spinColor'), _theme.default.imageSpinColor), "backgroundColor", _theme.default.imagePlaceholderBackgroundColor),
|
|
205
205
|
defaultError: {
|
|
206
206
|
width: '100%',
|
|
207
207
|
height: '100%',
|
|
@@ -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,
|
|
@@ -178,7 +179,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
178
179
|
},
|
|
179
180
|
clearWrapper: {
|
|
180
181
|
position: 'relative',
|
|
181
|
-
flexBasis: "calc(".concat(_theme.default.
|
|
182
|
+
flexBasis: "calc(".concat(_theme.default.inputFontSize, " + 8px)"),
|
|
182
183
|
flexShrink: 0,
|
|
183
184
|
display: 'none',
|
|
184
185
|
'$wrapper:hover &, $wrapperFocus &': {
|
|
@@ -187,7 +188,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
187
188
|
},
|
|
188
189
|
password: {
|
|
189
190
|
'& $clearWrapper': {
|
|
190
|
-
flexBasis: "calc(".concat(_theme.default.
|
|
191
|
+
flexBasis: "calc(".concat(_theme.default.inputFontSize, " + 12px)")
|
|
191
192
|
},
|
|
192
193
|
'& $clear': {
|
|
193
194
|
marginRight: 8,
|
|
@@ -202,8 +203,8 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
202
203
|
top: '0',
|
|
203
204
|
bottom: '0',
|
|
204
205
|
margin: 'auto',
|
|
205
|
-
width: _theme.default.
|
|
206
|
-
height: _theme.default.
|
|
206
|
+
width: _theme.default.inputFontSize,
|
|
207
|
+
height: _theme.default.inputFontSize,
|
|
207
208
|
boxSizing: 'border-box',
|
|
208
209
|
display: 'flex',
|
|
209
210
|
cursor: 'pointer',
|
|
@@ -218,12 +219,12 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
218
219
|
left: '0'
|
|
219
220
|
},
|
|
220
221
|
'$wrapperSmall &': {
|
|
221
|
-
width: _theme.default.
|
|
222
|
-
height: _theme.default.
|
|
222
|
+
width: _theme.default.inputSmallFontSize,
|
|
223
|
+
height: _theme.default.inputSmallFontSize
|
|
223
224
|
},
|
|
224
225
|
'$wrapperLarge &': {
|
|
225
|
-
width: _theme.default.
|
|
226
|
-
height: _theme.default.
|
|
226
|
+
width: _theme.default.inputLargeFontSize,
|
|
227
|
+
height: _theme.default.inputLargeFontSize
|
|
227
228
|
}
|
|
228
229
|
},
|
|
229
230
|
group: _objectSpread(_objectSpread({}, group), {}, {
|
|
@@ -273,7 +274,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
273
274
|
borderBottom: "1px solid ".concat(_theme.default.inputBorderColor)
|
|
274
275
|
},
|
|
275
276
|
'& svg': {
|
|
276
|
-
width: _theme.default.
|
|
277
|
+
width: _theme.default.inputFontSize,
|
|
277
278
|
transform: 'rotate(-90deg)'
|
|
278
279
|
}
|
|
279
280
|
},
|
|
@@ -289,20 +290,20 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
289
290
|
display: 'flex',
|
|
290
291
|
alignItems: 'center',
|
|
291
292
|
flexShrink: 0,
|
|
292
|
-
width: _theme.default.
|
|
293
|
-
height: _theme.default.
|
|
293
|
+
width: _theme.default.inputFontSize,
|
|
294
|
+
height: _theme.default.inputFontSize,
|
|
294
295
|
color: _theme.default.inputToggleColor,
|
|
295
296
|
cursor: 'pointer',
|
|
296
297
|
'$wrapperDisabled &': {
|
|
297
298
|
color: _theme.default.inputDisabledFontColor
|
|
298
299
|
},
|
|
299
300
|
'$wrapperSmall &': {
|
|
300
|
-
width: _theme.default.
|
|
301
|
-
height: _theme.default.
|
|
301
|
+
width: _theme.default.inputSmallFontSize,
|
|
302
|
+
height: _theme.default.inputSmallFontSize
|
|
302
303
|
},
|
|
303
304
|
'$wrapperLarge &': {
|
|
304
|
-
width: _theme.default.
|
|
305
|
-
height: _theme.default.
|
|
305
|
+
width: _theme.default.inputLargeFontSize,
|
|
306
|
+
height: _theme.default.inputLargeFontSize
|
|
306
307
|
},
|
|
307
308
|
'& > svg': {
|
|
308
309
|
cursor: 'pointer',
|
package/cjs/menu/menu.js
CHANGED
|
@@ -413,13 +413,13 @@ var menuStyle = {
|
|
|
413
413
|
minWidth: 0,
|
|
414
414
|
padding: "".concat(_theme.default.menuTitlePaddingY, " ").concat(_theme.default.menuTitlePaddingX),
|
|
415
415
|
'$wrapperInline $childrenHasExpand $item:not($itemHasChildren) $itemContentBack > &': {
|
|
416
|
-
paddingRight: "calc(".concat(_theme.default.menuIconMarginX, " + ").concat(_theme.default.menuTitlePaddingX, " + ").concat(_theme.default.
|
|
416
|
+
paddingRight: "calc(".concat(_theme.default.menuIconMarginX, " + ").concat(_theme.default.menuTitlePaddingX, " + ").concat(_theme.default.menuFontSize, ")")
|
|
417
417
|
},
|
|
418
418
|
'$wrapperInline $itemHasChildren > $itemContentBack > &': {
|
|
419
419
|
paddingRight: 0
|
|
420
420
|
},
|
|
421
421
|
'$childrenHasExpand > $item:not($itemHasChildren) > $itemContentBack > &': {
|
|
422
|
-
paddingRight: "calc(".concat(_theme.default.menuIconMarginX, " + ").concat(_theme.default.menuTitlePaddingX, " + ").concat(_theme.default.
|
|
422
|
+
paddingRight: "calc(".concat(_theme.default.menuIconMarginX, " + ").concat(_theme.default.menuTitlePaddingX, " + ").concat(_theme.default.menuFontSize, ")")
|
|
423
423
|
},
|
|
424
424
|
'$wrapperHorizontal $childrenHasExpand > $item:not($itemHasChildren) > $itemContentBack > &': {
|
|
425
425
|
paddingRight: _theme.default.menuTitlePaddingX
|
|
@@ -461,8 +461,8 @@ var menuStyle = {
|
|
|
461
461
|
},
|
|
462
462
|
'& > $icon': {
|
|
463
463
|
lineHeight: 1,
|
|
464
|
-
width: _theme.default.
|
|
465
|
-
height: _theme.default.
|
|
464
|
+
width: _theme.default.menuFontSize,
|
|
465
|
+
height: _theme.default.menuFontSize,
|
|
466
466
|
alignSelf: 'flex-start',
|
|
467
467
|
alignItems: 'center',
|
|
468
468
|
display: 'flex',
|
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"}
|