@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/esm/alert/alert.js
CHANGED
|
@@ -57,7 +57,7 @@ var alertStyle = {
|
|
|
57
57
|
withTitle: {
|
|
58
58
|
'& $icon': {
|
|
59
59
|
fontSize: Token.alertTitleFontSize,
|
|
60
|
-
width: "calc(".concat(Token.
|
|
60
|
+
width: "calc(".concat(Token.alertTitleFontSize, " + 2px)"),
|
|
61
61
|
height: Token.lineHeightDynamic
|
|
62
62
|
},
|
|
63
63
|
'& $title': {
|
|
@@ -167,7 +167,7 @@ var alertStyle = {
|
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
icon: {
|
|
170
|
-
width: Token.
|
|
170
|
+
width: "calc(".concat(Token.alertFontSize, " + 2px)"),
|
|
171
171
|
display: 'inline-flex',
|
|
172
172
|
fontSize: Token.alertFontSize,
|
|
173
173
|
height: Token.lineHeightDynamic,
|
package/esm/badge/badge.d.ts
CHANGED
package/esm/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/esm/badge/badge.js
CHANGED
|
@@ -19,6 +19,14 @@ var badgeStyle = {
|
|
|
19
19
|
boxShadow: "0 0 0 1px #fff"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
+
standalone: {
|
|
23
|
+
fontSize: 0,
|
|
24
|
+
'& $count,$custom,$dot': {
|
|
25
|
+
position: 'static',
|
|
26
|
+
transform: 'none',
|
|
27
|
+
boxShadow: 'none'
|
|
28
|
+
}
|
|
29
|
+
},
|
|
22
30
|
textBadge: {
|
|
23
31
|
display: 'block',
|
|
24
32
|
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/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,
|
|
@@ -97,6 +98,9 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
97
98
|
// padding: `${token.cascaderSmallOptionInnerPaddingY} ${token.cascaderSmallOptionInnerPaddingX}`,
|
|
98
99
|
fontSize: token.cascaderSmallFontSize
|
|
99
100
|
},
|
|
101
|
+
'& $arrowIcon': {
|
|
102
|
+
width: token.inputSmallFontSize
|
|
103
|
+
},
|
|
100
104
|
'& $clearIcon': {
|
|
101
105
|
right: token.cascaderSmallPaddingX
|
|
102
106
|
}
|
|
@@ -107,7 +111,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
107
111
|
marginBottom: token.cascaderLargePlaceholderMarginY
|
|
108
112
|
},
|
|
109
113
|
'& $arrowIcon': {
|
|
110
|
-
width: token.
|
|
114
|
+
width: token.inputLargeFontSize
|
|
111
115
|
},
|
|
112
116
|
'& $optionInner': {
|
|
113
117
|
// padding: `${token.cascaderLargeOptionInnerPaddingY} ${token.cascaderLargeOptionInnerPaddingX}`,
|
|
@@ -211,7 +215,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
211
215
|
whiteSpace: 'nowrap',
|
|
212
216
|
textOverflow: 'ellipsis',
|
|
213
217
|
'&::placeholder': {
|
|
214
|
-
color: token.
|
|
218
|
+
color: token.inputPlaceholderColor
|
|
215
219
|
}
|
|
216
220
|
}
|
|
217
221
|
},
|
|
@@ -261,7 +265,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
261
265
|
backgroundColor: 'transparent',
|
|
262
266
|
width: '100%',
|
|
263
267
|
'&::placeholder': {
|
|
264
|
-
color: token.
|
|
268
|
+
color: token.inputPlaceholderColor
|
|
265
269
|
}
|
|
266
270
|
}
|
|
267
271
|
},
|
|
@@ -271,8 +275,11 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
271
275
|
}
|
|
272
276
|
},
|
|
273
277
|
resultTextDisabled: {
|
|
274
|
-
color: token.
|
|
275
|
-
cursor: 'not-allowed'
|
|
278
|
+
color: token.inputDisabledFontColor,
|
|
279
|
+
cursor: 'not-allowed',
|
|
280
|
+
'& input::placeholder': {
|
|
281
|
+
color: token.inputDisabledPlaceholderColor
|
|
282
|
+
}
|
|
276
283
|
},
|
|
277
284
|
compressedWrapper: {
|
|
278
285
|
width: 0,
|
|
@@ -294,10 +301,13 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
294
301
|
}
|
|
295
302
|
},
|
|
296
303
|
placeholder: {
|
|
297
|
-
color: token.
|
|
304
|
+
color: token.inputPlaceholderColor,
|
|
298
305
|
lineHeight: token.lineHeightDynamic,
|
|
299
306
|
marginTop: token.cascaderPlaceholderMarginY,
|
|
300
|
-
marginBottom: token.cascaderPlaceholderMarginY
|
|
307
|
+
marginBottom: token.cascaderPlaceholderMarginY,
|
|
308
|
+
'$wrapperDisabled &': {
|
|
309
|
+
color: token.inputDisabledPlaceholderColor
|
|
310
|
+
}
|
|
301
311
|
},
|
|
302
312
|
pickerWrapper: {
|
|
303
313
|
position: 'absolute',
|
|
@@ -319,25 +329,25 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
319
329
|
clearable: {},
|
|
320
330
|
clearIcon: {
|
|
321
331
|
cursor: 'pointer',
|
|
322
|
-
width: token.
|
|
332
|
+
width: token.inputFontSize,
|
|
323
333
|
lineHeight: 0,
|
|
324
|
-
color: token.
|
|
334
|
+
color: token.inputClearColor,
|
|
325
335
|
verticalAlign: 'middle',
|
|
326
336
|
'&:hover': {
|
|
327
|
-
color: token.
|
|
337
|
+
color: token.inputHoverClearColor
|
|
328
338
|
},
|
|
329
339
|
'$wrapperSmall &': {
|
|
330
|
-
width: token.
|
|
340
|
+
width: token.inputSmallFontSize
|
|
331
341
|
},
|
|
332
342
|
'$wrapperLarge &': {
|
|
333
|
-
width: token.
|
|
343
|
+
width: token.inputLargeFontSize
|
|
334
344
|
}
|
|
335
345
|
},
|
|
336
346
|
compressedIcon: {},
|
|
337
347
|
arrowIcon: {
|
|
338
348
|
display: 'inline-block',
|
|
339
349
|
verticalAlign: 'middle',
|
|
340
|
-
width: token.
|
|
350
|
+
width: token.inputFontSize,
|
|
341
351
|
lineHeight: 0,
|
|
342
352
|
color: token.cascaderIconColor,
|
|
343
353
|
transition: 'transform 0.3s'
|
|
@@ -373,13 +383,13 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
373
383
|
},
|
|
374
384
|
loading: {
|
|
375
385
|
padding: 10,
|
|
376
|
-
color: token.
|
|
386
|
+
color: token.inputPlaceholderColor,
|
|
377
387
|
display: 'flex',
|
|
378
388
|
justifyContent: 'center'
|
|
379
389
|
},
|
|
380
390
|
empty: {
|
|
381
391
|
padding: "calc(".concat(token.cascaderOptionPaddingY, " + ").concat(token.cascaderOptionInnerPaddingY, ") calc(").concat(token.cascaderOptionPaddingX, " + ").concat(token.cascaderOptionInnerPaddingX, ")"),
|
|
382
|
-
color: token.
|
|
392
|
+
color: token.inputPlaceholderColor
|
|
383
393
|
},
|
|
384
394
|
checkedIcon: {
|
|
385
395
|
right: 8,
|
|
@@ -541,12 +551,12 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
541
551
|
justifyContent: 'center',
|
|
542
552
|
'& svg': {
|
|
543
553
|
verticalAlign: 'middle',
|
|
544
|
-
width: token.
|
|
554
|
+
width: token.cascaderFontSize,
|
|
545
555
|
'$wrapperLarge &': {
|
|
546
|
-
width: token.
|
|
556
|
+
width: token.cascaderLargeFontSize
|
|
547
557
|
},
|
|
548
558
|
'$wrapperSmall &': {
|
|
549
|
-
width: token.
|
|
559
|
+
width: token.cascaderSmallFontSize
|
|
550
560
|
}
|
|
551
561
|
}
|
|
552
562
|
},
|
package/esm/checkbox/checkbox.js
CHANGED
|
@@ -38,17 +38,17 @@ var checkboxStyle = _objectSpread(_objectSpread({}, animations), {}, {
|
|
|
38
38
|
display: 'block',
|
|
39
39
|
position: 'relative',
|
|
40
40
|
boxSizing: 'border-box',
|
|
41
|
-
width: token.
|
|
42
|
-
height: token.
|
|
41
|
+
width: token.checkboxLabelFontSize,
|
|
42
|
+
height: token.checkboxLabelFontSize,
|
|
43
43
|
// marginTop: token.checkboxIndicatorMarginTop,
|
|
44
44
|
flexShrink: 0,
|
|
45
45
|
'$wrapperSmall &': {
|
|
46
|
-
width: token.
|
|
47
|
-
height: token.
|
|
46
|
+
width: token.checkboxSmallLabelFontSize,
|
|
47
|
+
height: token.checkboxSmallLabelFontSize
|
|
48
48
|
},
|
|
49
49
|
'$wrapperLarge &': {
|
|
50
|
-
width: token.
|
|
51
|
-
height: token.
|
|
50
|
+
width: token.checkboxLargeLabelFontSize,
|
|
51
|
+
height: token.checkboxLargeLabelFontSize
|
|
52
52
|
},
|
|
53
53
|
verticalAlign: 'middle',
|
|
54
54
|
'&::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"}
|
|
@@ -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,
|
|
@@ -149,7 +150,13 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
149
150
|
backgroundColor: 'transparent',
|
|
150
151
|
width: '100%',
|
|
151
152
|
'&::placeholder': {
|
|
152
|
-
color: token.
|
|
153
|
+
color: token.inputPlaceholderColor
|
|
154
|
+
},
|
|
155
|
+
'$wrapperDisabled &': {
|
|
156
|
+
color: token.inputDisabledFontColor,
|
|
157
|
+
'&::placeholder': {
|
|
158
|
+
color: token.inputDisabledPlaceholderColor
|
|
159
|
+
}
|
|
153
160
|
}
|
|
154
161
|
}
|
|
155
162
|
},
|
|
@@ -172,7 +179,7 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
172
179
|
backgroundColor: 'transparent',
|
|
173
180
|
width: '100%',
|
|
174
181
|
'&::placeholder': {
|
|
175
|
-
color: token.
|
|
182
|
+
color: token.inputPlaceholderColor
|
|
176
183
|
}
|
|
177
184
|
}
|
|
178
185
|
},
|
|
@@ -182,8 +189,11 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
182
189
|
}
|
|
183
190
|
},
|
|
184
191
|
resultTextDisabled: {
|
|
185
|
-
color: token.
|
|
186
|
-
cursor: 'not-allowed'
|
|
192
|
+
color: token.inputDisabledFontColor,
|
|
193
|
+
cursor: 'not-allowed',
|
|
194
|
+
'& input::placeholder': {
|
|
195
|
+
color: token.inputDisabledPlaceholderColor
|
|
196
|
+
}
|
|
187
197
|
},
|
|
188
198
|
placeholder: {
|
|
189
199
|
color: token.datePickerPlaceholderColor
|
|
@@ -197,15 +207,15 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
197
207
|
alignItems: 'center',
|
|
198
208
|
color: token.datePickerIconColor,
|
|
199
209
|
'& svg': {
|
|
200
|
-
width: token.
|
|
201
|
-
height: token.
|
|
210
|
+
width: token.inputFontSize,
|
|
211
|
+
height: token.inputFontSize,
|
|
202
212
|
'$wrapperSmall &': {
|
|
203
|
-
width: token.
|
|
204
|
-
height: token.
|
|
213
|
+
width: token.inputSmallFontSize,
|
|
214
|
+
height: token.inputSmallFontSize
|
|
205
215
|
},
|
|
206
216
|
'$wrapperLarge &': {
|
|
207
|
-
width: token.
|
|
208
|
-
height: token.
|
|
217
|
+
width: token.inputLargeFontSize,
|
|
218
|
+
height: token.inputLargeFontSize
|
|
209
219
|
}
|
|
210
220
|
},
|
|
211
221
|
// todo 暂时写死
|
|
@@ -313,8 +323,8 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
313
323
|
transform: 'rotate(180deg)'
|
|
314
324
|
},
|
|
315
325
|
'& svg': {
|
|
316
|
-
width: token.
|
|
317
|
-
height: token.
|
|
326
|
+
width: token.datePickerPanelHeaderFontSize,
|
|
327
|
+
height: token.datePickerPanelHeaderFontSize
|
|
318
328
|
},
|
|
319
329
|
'&:hover': {
|
|
320
330
|
backgroundColor: token.datePickerPanelHeaderIconHoverBackgroundColor
|
|
@@ -323,9 +333,11 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
323
333
|
pickerHeaderMid: {
|
|
324
334
|
display: 'flex',
|
|
325
335
|
alignItems: 'center',
|
|
336
|
+
fontSize: token.datePickerPanelHeaderFontSize,
|
|
337
|
+
color: token.datePickerPanelHeaderFontColor,
|
|
338
|
+
fontWeight: token.datePickerPanelHeaderFontWeight,
|
|
326
339
|
'& > span': {
|
|
327
|
-
padding: "0 ".concat(token.datePickerPanelHeaderTitlePaddingX)
|
|
328
|
-
fontSize: token.datePickerPanelHeaderFontSize
|
|
340
|
+
padding: "0 ".concat(token.datePickerPanelHeaderTitlePaddingX)
|
|
329
341
|
}
|
|
330
342
|
},
|
|
331
343
|
pickerHeaderInfo: {
|
|
@@ -676,8 +688,8 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
676
688
|
lineHeight: '0',
|
|
677
689
|
marginRight: '8px',
|
|
678
690
|
'& > svg': {
|
|
679
|
-
width: token.
|
|
680
|
-
height: token.
|
|
691
|
+
width: token.datePickerPanelBodyFontSize,
|
|
692
|
+
height: token.datePickerPanelBodyFontSize,
|
|
681
693
|
color: token.datePickerIconColor
|
|
682
694
|
}
|
|
683
695
|
},
|
|
@@ -713,7 +725,8 @@ var datePickerStyle = _objectSpread(_objectSpread(_objectSpread({
|
|
|
713
725
|
},
|
|
714
726
|
whiteSpace: 'nowrap',
|
|
715
727
|
textAlign: 'left',
|
|
716
|
-
|
|
728
|
+
color: token.buttonSecondaryTextFontColor,
|
|
729
|
+
fontSize: token.buttonSmallFontSize,
|
|
717
730
|
padding: "".concat(token.datePickerQuickPanelItemPaddingY, " ").concat(token.datePickerQuickPanelItemPaddingX),
|
|
718
731
|
lineHeight: token.lineHeightDynamic,
|
|
719
732
|
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/esm/dropdown/dropdown.js
CHANGED
|
@@ -77,7 +77,7 @@ var dropdown = {
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
boxList: {
|
|
80
|
-
padding: "".concat(token.
|
|
80
|
+
padding: "".concat(token.dropdownListPaddingY, " ").concat(token.dropdownListPaddingX),
|
|
81
81
|
'& $item': {
|
|
82
82
|
textAlign: 'center'
|
|
83
83
|
}
|
|
@@ -185,7 +185,15 @@ var dropdown = {
|
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
optionDivider: {
|
|
188
|
-
padding: "".concat(token.dropdownOptionDividerPaddingY, " ").concat(token.
|
|
188
|
+
padding: "".concat(token.dropdownOptionDividerPaddingY, " ").concat(token.dropdownOptionPaddingX),
|
|
189
|
+
'$listSmall &': {
|
|
190
|
+
paddingLeft: token.dropdownOptionSmallPaddingX,
|
|
191
|
+
paddingRight: token.dropdownOptionSmallPaddingX
|
|
192
|
+
},
|
|
193
|
+
'$listLarge &': {
|
|
194
|
+
paddingLeft: token.dropdownOptionLargePaddingX,
|
|
195
|
+
paddingRight: token.dropdownOptionLargePaddingX
|
|
196
|
+
},
|
|
189
197
|
'&::before': {
|
|
190
198
|
content: '" "',
|
|
191
199
|
height: token.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"}
|
|
@@ -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,
|
|
@@ -73,8 +74,8 @@ var editableAreaStyle = _objectSpread(_objectSpread({
|
|
|
73
74
|
clear: {
|
|
74
75
|
position: 'absolute',
|
|
75
76
|
display: 'flex',
|
|
76
|
-
width: token.
|
|
77
|
-
height: token.
|
|
77
|
+
width: token.inputFontSize,
|
|
78
|
+
height: token.inputFontSize,
|
|
78
79
|
top: 0,
|
|
79
80
|
bottom: 0,
|
|
80
81
|
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/esm/form/form-item.js
CHANGED
|
@@ -163,9 +163,8 @@ var formItemStyle = _objectSpread(_objectSpread({
|
|
|
163
163
|
minHeight: token.formItemTipMinHeight,
|
|
164
164
|
fontSize: token.formItemDangerFontSize,
|
|
165
165
|
fontWeight: token.formItemDangerFontWeight,
|
|
166
|
-
animation: '$appear 1s ease-in-out forwards'
|
|
167
|
-
|
|
168
|
-
// width: 0,
|
|
166
|
+
animation: '$appear 1s ease-in-out forwards',
|
|
167
|
+
marginTop: token.formItemTipMarginTop
|
|
169
168
|
},
|
|
170
169
|
tip: {
|
|
171
170
|
color: token.formItemTipFontColor,
|
package/esm/image/image.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,KAAK,UAAU,GAAG,MAAM,YAAY,CAAC;AA2DrC,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,KAAK,UAAU,GAAG,MAAM,YAAY,CAAC;AA2DrC,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,UAAU,CAobpC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/image/image.js
CHANGED
|
@@ -4,7 +4,7 @@ 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';
|
|
7
|
+
import Token, { getTokenName } from '@sheinx/theme';
|
|
8
8
|
var animation = {
|
|
9
9
|
'@keyframes keyframe-f2c': {
|
|
10
10
|
'0%': {
|
|
@@ -186,15 +186,14 @@ var ImageStyle = _objectSpread(_objectSpread({
|
|
|
186
186
|
margin: 'auto',
|
|
187
187
|
backgroundColor: Token.imagePlaceholderBackgroundColor
|
|
188
188
|
},
|
|
189
|
-
defaultPlaceholder: {
|
|
189
|
+
defaultPlaceholder: _defineProperty(_defineProperty({
|
|
190
190
|
width: '100%',
|
|
191
191
|
height: '100%',
|
|
192
192
|
margin: 'auto',
|
|
193
193
|
display: 'flex',
|
|
194
194
|
alignItems: 'center',
|
|
195
|
-
justifyContent: 'center'
|
|
196
|
-
|
|
197
|
-
},
|
|
195
|
+
justifyContent: 'center'
|
|
196
|
+
}, getTokenName('spinColor'), Token.imageSpinColor), "backgroundColor", Token.imagePlaceholderBackgroundColor),
|
|
198
197
|
defaultError: {
|
|
199
198
|
width: '100%',
|
|
200
199
|
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"}
|
|
@@ -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,
|
|
@@ -171,7 +172,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
171
172
|
},
|
|
172
173
|
clearWrapper: {
|
|
173
174
|
position: 'relative',
|
|
174
|
-
flexBasis: "calc(".concat(token.
|
|
175
|
+
flexBasis: "calc(".concat(token.inputFontSize, " + 8px)"),
|
|
175
176
|
flexShrink: 0,
|
|
176
177
|
display: 'none',
|
|
177
178
|
'$wrapper:hover &, $wrapperFocus &': {
|
|
@@ -180,7 +181,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
180
181
|
},
|
|
181
182
|
password: {
|
|
182
183
|
'& $clearWrapper': {
|
|
183
|
-
flexBasis: "calc(".concat(token.
|
|
184
|
+
flexBasis: "calc(".concat(token.inputFontSize, " + 12px)")
|
|
184
185
|
},
|
|
185
186
|
'& $clear': {
|
|
186
187
|
marginRight: 8,
|
|
@@ -195,8 +196,8 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
195
196
|
top: '0',
|
|
196
197
|
bottom: '0',
|
|
197
198
|
margin: 'auto',
|
|
198
|
-
width: token.
|
|
199
|
-
height: token.
|
|
199
|
+
width: token.inputFontSize,
|
|
200
|
+
height: token.inputFontSize,
|
|
200
201
|
boxSizing: 'border-box',
|
|
201
202
|
display: 'flex',
|
|
202
203
|
cursor: 'pointer',
|
|
@@ -211,12 +212,12 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
211
212
|
left: '0'
|
|
212
213
|
},
|
|
213
214
|
'$wrapperSmall &': {
|
|
214
|
-
width: token.
|
|
215
|
-
height: token.
|
|
215
|
+
width: token.inputSmallFontSize,
|
|
216
|
+
height: token.inputSmallFontSize
|
|
216
217
|
},
|
|
217
218
|
'$wrapperLarge &': {
|
|
218
|
-
width: token.
|
|
219
|
-
height: token.
|
|
219
|
+
width: token.inputLargeFontSize,
|
|
220
|
+
height: token.inputLargeFontSize
|
|
220
221
|
}
|
|
221
222
|
},
|
|
222
223
|
group: _objectSpread(_objectSpread({}, group), {}, {
|
|
@@ -266,7 +267,7 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
266
267
|
borderBottom: "1px solid ".concat(token.inputBorderColor)
|
|
267
268
|
},
|
|
268
269
|
'& svg': {
|
|
269
|
-
width: token.
|
|
270
|
+
width: token.inputFontSize,
|
|
270
271
|
transform: 'rotate(-90deg)'
|
|
271
272
|
}
|
|
272
273
|
},
|
|
@@ -282,20 +283,20 @@ var input = _objectSpread(_objectSpread(_objectSpread({
|
|
|
282
283
|
display: 'flex',
|
|
283
284
|
alignItems: 'center',
|
|
284
285
|
flexShrink: 0,
|
|
285
|
-
width: token.
|
|
286
|
-
height: token.
|
|
286
|
+
width: token.inputFontSize,
|
|
287
|
+
height: token.inputFontSize,
|
|
287
288
|
color: token.inputToggleColor,
|
|
288
289
|
cursor: 'pointer',
|
|
289
290
|
'$wrapperDisabled &': {
|
|
290
291
|
color: token.inputDisabledFontColor
|
|
291
292
|
},
|
|
292
293
|
'$wrapperSmall &': {
|
|
293
|
-
width: token.
|
|
294
|
-
height: token.
|
|
294
|
+
width: token.inputSmallFontSize,
|
|
295
|
+
height: token.inputSmallFontSize
|
|
295
296
|
},
|
|
296
297
|
'$wrapperLarge &': {
|
|
297
|
-
width: token.
|
|
298
|
-
height: token.
|
|
298
|
+
width: token.inputLargeFontSize,
|
|
299
|
+
height: token.inputLargeFontSize
|
|
299
300
|
},
|
|
300
301
|
'& > svg': {
|
|
301
302
|
cursor: 'pointer',
|
package/esm/menu/menu.js
CHANGED
|
@@ -406,13 +406,13 @@ var menuStyle = {
|
|
|
406
406
|
minWidth: 0,
|
|
407
407
|
padding: "".concat(token.menuTitlePaddingY, " ").concat(token.menuTitlePaddingX),
|
|
408
408
|
'$wrapperInline $childrenHasExpand $item:not($itemHasChildren) $itemContentBack > &': {
|
|
409
|
-
paddingRight: "calc(".concat(token.menuIconMarginX, " + ").concat(token.menuTitlePaddingX, " + ").concat(token.
|
|
409
|
+
paddingRight: "calc(".concat(token.menuIconMarginX, " + ").concat(token.menuTitlePaddingX, " + ").concat(token.menuFontSize, ")")
|
|
410
410
|
},
|
|
411
411
|
'$wrapperInline $itemHasChildren > $itemContentBack > &': {
|
|
412
412
|
paddingRight: 0
|
|
413
413
|
},
|
|
414
414
|
'$childrenHasExpand > $item:not($itemHasChildren) > $itemContentBack > &': {
|
|
415
|
-
paddingRight: "calc(".concat(token.menuIconMarginX, " + ").concat(token.menuTitlePaddingX, " + ").concat(token.
|
|
415
|
+
paddingRight: "calc(".concat(token.menuIconMarginX, " + ").concat(token.menuTitlePaddingX, " + ").concat(token.menuFontSize, ")")
|
|
416
416
|
},
|
|
417
417
|
'$wrapperHorizontal $childrenHasExpand > $item:not($itemHasChildren) > $itemContentBack > &': {
|
|
418
418
|
paddingRight: token.menuTitlePaddingX
|
|
@@ -454,8 +454,8 @@ var menuStyle = {
|
|
|
454
454
|
},
|
|
455
455
|
'& > $icon': {
|
|
456
456
|
lineHeight: 1,
|
|
457
|
-
width: token.
|
|
458
|
-
height: token.
|
|
457
|
+
width: token.menuFontSize,
|
|
458
|
+
height: token.menuFontSize,
|
|
459
459
|
alignSelf: 'flex-start',
|
|
460
460
|
alignItems: 'center',
|
|
461
461
|
display: 'flex',
|
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
|
@@ -252,21 +252,23 @@ var modalStyle = _objectSpread(_objectSpread({
|
|
|
252
252
|
borderRadius: 0,
|
|
253
253
|
position: 'absolute',
|
|
254
254
|
padding: 0,
|
|
255
|
-
'& $header': {
|
|
255
|
+
'& > $header': {
|
|
256
256
|
padding: "".concat(token.modalDrawerTitlePaddingY, " ").concat(token.modalDrawerTitlePaddingX),
|
|
257
257
|
background: token.modalDrawerTitleBackgroundColor,
|
|
258
|
-
marginBottom: 0
|
|
258
|
+
marginBottom: 0,
|
|
259
|
+
borderBottom: "".concat(token.modalDrawerHeaderBorderWidth, " solid ").concat(token.modalDrawerHeaderBorderColor)
|
|
259
260
|
},
|
|
260
|
-
'& $body': {
|
|
261
|
+
'& > $body': {
|
|
261
262
|
padding: "".concat(token.modalDrawerBodyPaddingY, " ").concat(token.modalDrawerBodyPaddingX),
|
|
262
263
|
overflow: 'auto'
|
|
263
264
|
},
|
|
264
|
-
'& $bodyWithIcon': {
|
|
265
|
+
'& > $bodyWithIcon': {
|
|
265
266
|
paddingLeft: token.modalDrawerBodyPaddingX
|
|
266
267
|
},
|
|
267
|
-
'& $footer': {
|
|
268
|
+
'& > $footer': {
|
|
268
269
|
padding: "".concat(token.modalDrawerFooterPaddingY, " ").concat(token.modalDrawerFooterPaddingX),
|
|
269
|
-
marginTop: 0
|
|
270
|
+
marginTop: 0,
|
|
271
|
+
borderTop: "".concat(token.modalDrawerFooterBorderWidth, " solid ").concat(token.modalDrawerFooterBorderColor)
|
|
270
272
|
}
|
|
271
273
|
}
|
|
272
274
|
},
|