@sheinx/shineout-style 3.1.24 → 3.2.0-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/alert/alert.js +3 -2
- package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/cjs/breadcrumb/breadcrumb.js +14 -10
- package/cjs/card/card.d.ts.map +1 -1
- package/cjs/card/card.js +8 -4
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +33 -21
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +30 -21
- package/cjs/descriptions/descriptions.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +26 -8
- package/cjs/divider/divider.d.ts.map +1 -1
- package/cjs/divider/divider.js +1 -0
- package/cjs/dropdown/dropdown.js +1 -1
- package/cjs/editable-area/editable-area.d.ts.map +1 -1
- package/cjs/editable-area/editable-area.js +33 -23
- package/cjs/empty/empty.d.ts.map +1 -1
- package/cjs/empty/empty.js +1 -0
- package/cjs/inner-title/inner-title.d.ts.map +1 -1
- package/cjs/inner-title/inner-title.js +7 -0
- package/cjs/input/input-border.d.ts +9 -0
- package/cjs/input/input-border.d.ts.map +1 -1
- package/cjs/input/input-border.js +14 -5
- package/cjs/input/input.d.ts.map +1 -1
- package/cjs/input/input.js +14 -2
- package/cjs/list/list.d.ts.map +1 -1
- package/cjs/list/list.js +6 -3
- package/cjs/menu/menu.d.ts.map +1 -1
- package/cjs/menu/menu.js +105 -1
- package/cjs/popover/popover.d.ts.map +1 -1
- package/cjs/popover/popover.js +2 -1
- package/cjs/rate/rate.d.ts.map +1 -1
- package/cjs/rate/rate.js +2 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +49 -25
- package/cjs/table/table.d.ts.map +1 -1
- package/cjs/table/table.js +23 -3
- package/cjs/textarea/textarea.d.ts.map +1 -1
- package/cjs/textarea/textarea.js +33 -23
- package/cjs/transfer/transfer.d.ts.map +1 -1
- package/cjs/transfer/transfer.js +10 -5
- package/cjs/tree/tree.d.ts.map +1 -1
- package/cjs/tree/tree.js +3 -2
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +30 -21
- package/cjs/version.d.ts +1 -1
- package/cjs/version.d.ts.map +1 -1
- package/cjs/version.js +1 -1
- package/esm/alert/alert.js +3 -2
- package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/esm/breadcrumb/breadcrumb.js +14 -10
- package/esm/card/card.d.ts.map +1 -1
- package/esm/card/card.js +8 -4
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +33 -21
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +30 -21
- package/esm/descriptions/descriptions.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +26 -8
- package/esm/divider/divider.d.ts.map +1 -1
- package/esm/divider/divider.js +1 -0
- package/esm/dropdown/dropdown.js +1 -1
- package/esm/editable-area/editable-area.d.ts.map +1 -1
- package/esm/editable-area/editable-area.js +33 -23
- package/esm/empty/empty.d.ts.map +1 -1
- package/esm/empty/empty.js +1 -0
- package/esm/inner-title/inner-title.d.ts.map +1 -1
- package/esm/inner-title/inner-title.js +7 -0
- package/esm/input/input-border.d.ts +9 -0
- package/esm/input/input-border.d.ts.map +1 -1
- package/esm/input/input-border.js +14 -5
- package/esm/input/input.d.ts.map +1 -1
- package/esm/input/input.js +14 -2
- package/esm/list/list.d.ts.map +1 -1
- package/esm/list/list.js +6 -3
- package/esm/menu/menu.d.ts.map +1 -1
- package/esm/menu/menu.js +105 -1
- package/esm/popover/popover.d.ts.map +1 -1
- package/esm/popover/popover.js +2 -1
- package/esm/rate/rate.d.ts.map +1 -1
- package/esm/rate/rate.js +2 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +49 -25
- package/esm/table/table.d.ts.map +1 -1
- package/esm/table/table.js +23 -3
- package/esm/textarea/textarea.d.ts.map +1 -1
- package/esm/textarea/textarea.js +33 -23
- package/esm/transfer/transfer.d.ts.map +1 -1
- package/esm/transfer/transfer.js +10 -5
- package/esm/tree/tree.d.ts.map +1 -1
- package/esm/tree/tree.js +3 -2
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +30 -21
- package/esm/version.d.ts +1 -1
- package/esm/version.d.ts.map +1 -1
- package/esm/version.js +1 -1
- package/package.json +3 -3
package/cjs/alert/alert.js
CHANGED
|
@@ -19,6 +19,7 @@ var alertStyle = {
|
|
|
19
19
|
borderRadius: _theme.default.alertBorderRadius,
|
|
20
20
|
borderWidth: 1,
|
|
21
21
|
borderStyle: 'solid',
|
|
22
|
+
fontWeight: _theme.default.alertFontWeight,
|
|
22
23
|
opacity: 1,
|
|
23
24
|
transformOrigin: '0 0',
|
|
24
25
|
transform: 'scaleY(1) translateZ(0)',
|
|
@@ -75,8 +76,8 @@ var alertStyle = {
|
|
|
75
76
|
},
|
|
76
77
|
title: {
|
|
77
78
|
fontSize: _theme.default.alertTitleFontSize,
|
|
78
|
-
fontWeight:
|
|
79
|
-
marginBottom:
|
|
79
|
+
fontWeight: _theme.default.alertTitleFontWeight,
|
|
80
|
+
marginBottom: _theme.default.alertTitleMarginY,
|
|
80
81
|
overflowWrap: 'anywhere',
|
|
81
82
|
lineHeight: _theme.default.alertTitleFontSize
|
|
82
83
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["breadcrumb.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAE1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["breadcrumb.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAE1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CA4FlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -34,7 +34,7 @@ var breadcrumbStyle = {
|
|
|
34
34
|
top: '-3px'
|
|
35
35
|
},
|
|
36
36
|
itemWrapper: {
|
|
37
|
-
padding:
|
|
37
|
+
// padding: `0 ${token.breadcrumbListItemWrapperPaddingX}`,
|
|
38
38
|
},
|
|
39
39
|
item: {
|
|
40
40
|
display: 'flex',
|
|
@@ -67,23 +67,27 @@ var breadcrumbStyle = {
|
|
|
67
67
|
transform: 'rotate(180deg)'
|
|
68
68
|
},
|
|
69
69
|
dropdown: {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
borderRadius: _theme.default.dropdownListBorderRadius,
|
|
71
|
+
backgroundColor: _theme.default.dropdownListBackgroundColor,
|
|
72
|
+
boxShadow: _theme.default.dropdownListBoxShadow,
|
|
73
|
+
border: "1px solid ".concat(_theme.default.dropdownListBorderColor),
|
|
74
|
+
// padding: `${token.breadcrumbListPaddingY} 0`,
|
|
75
|
+
padding: "".concat(_theme.default.dropdownListPaddingY, " ").concat(_theme.default.dropdownListPaddingX),
|
|
74
76
|
color: _theme.default.breadcrumbLinkColor
|
|
75
77
|
},
|
|
76
78
|
dropdownItem: {
|
|
77
79
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
78
|
-
fontSize: _theme.default.
|
|
80
|
+
fontSize: _theme.default.dropdownListFontSize,
|
|
81
|
+
fontWeight: _theme.default.breadcrumbFontWieght,
|
|
79
82
|
cursor: 'pointer',
|
|
80
|
-
color: _theme.default.
|
|
81
|
-
borderRadius: _theme.default.
|
|
83
|
+
color: _theme.default.dropdownOptionFontColor,
|
|
84
|
+
borderRadius: _theme.default.dropdownOptionBorderRadius,
|
|
82
85
|
'&:hover': {
|
|
83
|
-
|
|
86
|
+
color: _theme.default.dropdownOptionHoverFontColor,
|
|
87
|
+
backgroundColor: _theme.default.dropdownOptionHoverBackgroundColor
|
|
84
88
|
},
|
|
85
89
|
'& $content, & a': {
|
|
86
|
-
padding: "".concat(_theme.default.
|
|
90
|
+
padding: "".concat(_theme.default.dropdownOptionPaddingY, " ").concat(_theme.default.dropdownOptionPaddingX),
|
|
87
91
|
display: 'inline-block',
|
|
88
92
|
textDecoration: 'none',
|
|
89
93
|
color: 'inherit',
|
package/cjs/card/card.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["card.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["card.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAU9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAgJtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/cjs/card/card.js
CHANGED
|
@@ -15,7 +15,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
15
15
|
var headerCommon = {
|
|
16
16
|
fontSize: _theme.default.cardTitleFontSize,
|
|
17
17
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
18
|
-
|
|
18
|
+
color: _theme.default.cardTitleFontColor,
|
|
19
|
+
fontWeight: _theme.default.cardTitleFontWeight,
|
|
19
20
|
minWidth: 0
|
|
20
21
|
};
|
|
21
22
|
var cardStyle = {
|
|
@@ -59,7 +60,7 @@ var cardStyle = {
|
|
|
59
60
|
borderRadius: _theme.default.cardBorderRadius
|
|
60
61
|
},
|
|
61
62
|
header: {
|
|
62
|
-
padding: "".concat(_theme.default.
|
|
63
|
+
padding: "".concat(_theme.default.cardHeaderPaddingY, " ").concat(_theme.default.cardHeaderPaddingX),
|
|
63
64
|
'$wrapperMoveable &': {
|
|
64
65
|
cursor: 'move'
|
|
65
66
|
},
|
|
@@ -110,10 +111,13 @@ var cardStyle = {
|
|
|
110
111
|
'$wrapperSplit>$header+&, $wrapperSplit>$header+$bodyCollapse>&': {
|
|
111
112
|
borderTop: "1px solid ".concat(_theme.default.cardBorderColor)
|
|
112
113
|
},
|
|
113
|
-
padding: "".concat(_theme.default.
|
|
114
|
+
padding: "".concat(_theme.default.cardBodyPaddingY, " ").concat(_theme.default.cardBodyPaddingX),
|
|
114
115
|
flex: 1,
|
|
115
116
|
minHeight: 0,
|
|
116
117
|
minWidth: 0,
|
|
118
|
+
color: _theme.default.cardBodyFontColor,
|
|
119
|
+
fontWeight: _theme.default.cardBodyFontWeight,
|
|
120
|
+
fontSize: _theme.default.cardBodyFontSize,
|
|
117
121
|
boxSizing: 'border-box'
|
|
118
122
|
},
|
|
119
123
|
bodyCollapse: {},
|
|
@@ -121,7 +125,7 @@ var cardStyle = {
|
|
|
121
125
|
'$wrapperSplit>$body+&, $wrapperSplit>$bodyCollapse+&': {
|
|
122
126
|
borderTop: "1px solid ".concat(_theme.default.cardBorderColor)
|
|
123
127
|
},
|
|
124
|
-
padding: "".concat(_theme.default.
|
|
128
|
+
padding: "".concat(_theme.default.cardFooterPaddingY, " ").concat(_theme.default.cardFooterPaddingX),
|
|
125
129
|
boxSizing: 'border-box'
|
|
126
130
|
},
|
|
127
131
|
resizeX: {
|
|
@@ -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;AAuDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAyc9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/cjs/cascader/cascader.js
CHANGED
|
@@ -17,27 +17,36 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
17
17
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
18
18
|
var inputBorderToken = {
|
|
19
19
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
20
|
-
borderRadius: _theme.default.
|
|
21
|
-
fontSize: _theme.default.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
20
|
+
borderRadius: _theme.default.inputBorderRadius,
|
|
21
|
+
fontSize: _theme.default.inputFontSize,
|
|
22
|
+
fontWeight: _theme.default.inputFontWeight,
|
|
23
|
+
smallFontSize: _theme.default.inputSmallFontSize,
|
|
24
|
+
largeFontSize: _theme.default.inputLargeFontSize,
|
|
25
|
+
paddingY: _theme.default.selectPaddingY,
|
|
26
|
+
smallPaddingY: _theme.default.selectSmallPaddingY,
|
|
27
|
+
largePaddingY: _theme.default.selectLargePaddingY,
|
|
28
|
+
paddingX: _theme.default.selectPaddingX,
|
|
29
|
+
smallPaddingX: _theme.default.selectSmallPaddingX,
|
|
30
|
+
largePaddingX: _theme.default.selectLargePaddingX,
|
|
31
|
+
borderColor: _theme.default.inputBorderColor,
|
|
32
|
+
borderWidth: _theme.default.inputBorderWidth,
|
|
33
|
+
focusBorderColor: _theme.default.inputFocusBorderColor,
|
|
34
|
+
hoverBorderColor: _theme.default.inputHoverBorderColor,
|
|
35
|
+
disabledBorderColor: _theme.default.inputDisabledBorderColor,
|
|
36
|
+
errorBorderColor: _theme.default.inputErrorBorderColor,
|
|
37
|
+
errorHoverBorderColor: _theme.default.inputErrorHoverBorderColor,
|
|
38
|
+
errorFocusBorderColor: _theme.default.inputErrorFocusBorderColor,
|
|
39
|
+
fontColor: _theme.default.inputFontColor,
|
|
40
|
+
disabledFontColor: _theme.default.inputDisabledFontColor,
|
|
41
|
+
backgroundColor: _theme.default.inputBackgroundColor,
|
|
42
|
+
hoverBackgroundColor: _theme.default.inputHoverBackgroundColor,
|
|
43
|
+
focusBackgroundColor: _theme.default.inputFocusBackgroundColor,
|
|
44
|
+
disabledBackgroundColor: _theme.default.inputDisabledBackgroundColor,
|
|
45
|
+
errorBackgroundColor: _theme.default.inputErrorBackgroundColor,
|
|
46
|
+
errorFocusBackgroundColor: _theme.default.inputErrorFocusBackgroundColor,
|
|
47
|
+
errorHoverBackgroundColor: _theme.default.inputErrorHoverBackgroundColor,
|
|
48
|
+
focusShadow: _theme.default.inputFocusShadow,
|
|
49
|
+
errorFocusShadow: _theme.default.inputErrorFocusShadow,
|
|
41
50
|
innerTitlePaddingY: _theme.default.inputInnerPaddingY,
|
|
42
51
|
innerTitlePaddingX: _theme.default.inputInnerPaddingX,
|
|
43
52
|
smallInnerTitlePaddingY: _theme.default.inputInnerSmallPaddingY,
|
|
@@ -436,6 +445,7 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
436
445
|
// hover
|
|
437
446
|
'&:not($optionDisabled):hover': {
|
|
438
447
|
'& $optionInner': {
|
|
448
|
+
color: _theme.default.cascaderOptionHoverFontColor,
|
|
439
449
|
backgroundColor: _theme.default.cascaderOptionHoverBackgroundColor
|
|
440
450
|
}
|
|
441
451
|
}
|
|
@@ -460,7 +470,9 @@ var cascaderStyle = _objectSpread(_objectSpread({
|
|
|
460
470
|
whiteSpace: 'nowrap',
|
|
461
471
|
minWidth: 44,
|
|
462
472
|
display: 'flex',
|
|
473
|
+
color: _theme.default.cascaderOptionFontColor,
|
|
463
474
|
fontSize: _theme.default.cascaderFontSize,
|
|
475
|
+
background: _theme.default.cascaderOptionBackgroundColor,
|
|
464
476
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
465
477
|
padding: "".concat(_theme.default.cascaderOptionInnerPaddingY, " ").concat(_theme.default.cascaderOptionInnerPaddingX),
|
|
466
478
|
paddingRight: 30,
|
|
@@ -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;AAEjD,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;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAwmBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -17,27 +17,36 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
17
17
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
18
18
|
var inputBorderToken = {
|
|
19
19
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
20
|
-
borderRadius: _theme.default.
|
|
21
|
-
fontSize: _theme.default.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
20
|
+
borderRadius: _theme.default.inputBorderRadius,
|
|
21
|
+
fontSize: _theme.default.inputFontSize,
|
|
22
|
+
fontWeight: _theme.default.inputFontWeight,
|
|
23
|
+
smallFontSize: _theme.default.inputSmallFontSize,
|
|
24
|
+
largeFontSize: _theme.default.inputLargeFontSize,
|
|
25
|
+
paddingY: _theme.default.inputPaddingY,
|
|
26
|
+
smallPaddingY: _theme.default.inputSmallPaddingY,
|
|
27
|
+
largePaddingY: _theme.default.inputLargePaddingY,
|
|
28
|
+
paddingX: _theme.default.inputPaddingX,
|
|
29
|
+
smallPaddingX: _theme.default.inputSmallPaddingX,
|
|
30
|
+
largePaddingX: _theme.default.inputLargePaddingX,
|
|
31
|
+
borderColor: _theme.default.inputBorderColor,
|
|
32
|
+
borderWidth: _theme.default.inputBorderWidth,
|
|
33
|
+
focusBorderColor: _theme.default.inputFocusBorderColor,
|
|
34
|
+
hoverBorderColor: _theme.default.inputHoverBorderColor,
|
|
35
|
+
disabledBorderColor: _theme.default.inputDisabledBorderColor,
|
|
36
|
+
errorBorderColor: _theme.default.inputErrorBorderColor,
|
|
37
|
+
errorHoverBorderColor: _theme.default.inputErrorHoverBorderColor,
|
|
38
|
+
errorFocusBorderColor: _theme.default.inputErrorFocusBorderColor,
|
|
39
|
+
fontColor: _theme.default.inputFontColor,
|
|
40
|
+
disabledFontColor: _theme.default.inputDisabledFontColor,
|
|
41
|
+
backgroundColor: _theme.default.inputBackgroundColor,
|
|
42
|
+
hoverBackgroundColor: _theme.default.inputHoverBackgroundColor,
|
|
43
|
+
focusBackgroundColor: _theme.default.inputFocusBackgroundColor,
|
|
44
|
+
disabledBackgroundColor: _theme.default.inputDisabledBackgroundColor,
|
|
45
|
+
errorBackgroundColor: _theme.default.inputErrorBackgroundColor,
|
|
46
|
+
errorFocusBackgroundColor: _theme.default.inputErrorFocusBackgroundColor,
|
|
47
|
+
errorHoverBackgroundColor: _theme.default.inputErrorHoverBackgroundColor,
|
|
48
|
+
focusShadow: _theme.default.inputFocusShadow,
|
|
49
|
+
errorFocusShadow: _theme.default.inputErrorFocusShadow,
|
|
41
50
|
innerTitlePaddingY: _theme.default.inputInnerPaddingY,
|
|
42
51
|
innerTitlePaddingX: _theme.default.inputInnerPaddingX,
|
|
43
52
|
smallInnerTitlePaddingY: _theme.default.inputInnerSmallPaddingY,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptions.d.ts","sourceRoot":"","sources":["descriptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;AAE9D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"descriptions.d.ts","sourceRoot":"","sources":["descriptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG,MAAM,mBAAmB,CAAC;AAE9D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,qBAAqB,CAoKtD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -52,7 +52,13 @@ var descriptionsStyle = {
|
|
|
52
52
|
borderCollapse: 'collapse',
|
|
53
53
|
lineHeight: _theme.default.lineHeightDynamic
|
|
54
54
|
},
|
|
55
|
-
row: {
|
|
55
|
+
row: {
|
|
56
|
+
// '&>td': {
|
|
57
|
+
// '&:not(:last-child)': {
|
|
58
|
+
// paddingRight: token.descriptionsCellGap,
|
|
59
|
+
// },
|
|
60
|
+
// },
|
|
61
|
+
},
|
|
56
62
|
label: {
|
|
57
63
|
paddingRight: _theme.default.descriptionsLabelPaddingRight,
|
|
58
64
|
paddingBottom: _theme.default.descriptionsLabelPaddingBottom,
|
|
@@ -71,7 +77,7 @@ var descriptionsStyle = {
|
|
|
71
77
|
paddingRight: 0
|
|
72
78
|
}
|
|
73
79
|
},
|
|
74
|
-
|
|
80
|
+
cell: {
|
|
75
81
|
textAlign: 'left',
|
|
76
82
|
boxSizing: 'border-box',
|
|
77
83
|
verticalAlign: 'top'
|
|
@@ -97,13 +103,25 @@ var descriptionsStyle = {
|
|
|
97
103
|
width: '1px'
|
|
98
104
|
}
|
|
99
105
|
},
|
|
106
|
+
vertical: {
|
|
107
|
+
'& $label': {
|
|
108
|
+
paddingBottom: _theme.default.descriptionsVerticalPaddingBottom
|
|
109
|
+
}
|
|
110
|
+
},
|
|
100
111
|
inlineHorizontal: {
|
|
101
112
|
'& $item': {
|
|
102
113
|
display: 'flex',
|
|
103
114
|
alignItems: 'center'
|
|
104
115
|
},
|
|
105
|
-
'& $
|
|
116
|
+
'& $cell': {
|
|
106
117
|
verticalAlign: 'middle'
|
|
118
|
+
},
|
|
119
|
+
'& $row': {
|
|
120
|
+
'&>td': {
|
|
121
|
+
'&:not(:last-child)': {
|
|
122
|
+
paddingRight: _theme.default.descriptionsCellGap
|
|
123
|
+
}
|
|
124
|
+
}
|
|
107
125
|
}
|
|
108
126
|
},
|
|
109
127
|
tableLayoutFixed: {
|
|
@@ -118,20 +136,20 @@ var descriptionsStyle = {
|
|
|
118
136
|
border: "".concat(_theme.default.descriptionsBorderDefaultSize, " solid ").concat(_theme.default.descriptionsBorderColor),
|
|
119
137
|
borderRadius: _theme.default.descriptionsBorderRadius,
|
|
120
138
|
'& $row:not(:last-child)': {
|
|
121
|
-
borderBottom: "".concat(_theme.default.
|
|
139
|
+
borderBottom: "".concat(_theme.default.descriptionsBorderDefaultSize, " solid ").concat(_theme.default.descriptionsBorderColor)
|
|
122
140
|
},
|
|
123
141
|
'& $label': {
|
|
124
142
|
padding: "".concat(_theme.default.descriptionsBorderPaddingX, " ").concat(_theme.default.descriptionsBorderPaddingY),
|
|
125
143
|
backgroundColor: _theme.default.descriptionsBackgroundColor,
|
|
126
|
-
borderRight: "".concat(_theme.default.
|
|
144
|
+
borderRight: "".concat(_theme.default.descriptionsBorderDefaultSize, " solid ").concat(_theme.default.descriptionsBorderColor)
|
|
127
145
|
},
|
|
128
146
|
'& $value': {
|
|
129
147
|
padding: "".concat(_theme.default.descriptionsBorderPaddingX, " ").concat(_theme.default.descriptionsBorderPaddingY),
|
|
130
|
-
borderRight: "".concat(_theme.default.
|
|
148
|
+
borderRight: "".concat(_theme.default.descriptionsBorderDefaultSize, " solid ").concat(_theme.default.descriptionsBorderColor)
|
|
131
149
|
},
|
|
132
|
-
'& $
|
|
150
|
+
'& $cell': {
|
|
133
151
|
padding: "".concat(_theme.default.descriptionsInlineBorderPaddingX, " ").concat(_theme.default.descriptionsInlineBorderPaddingY),
|
|
134
|
-
borderRight: "".concat(_theme.default.
|
|
152
|
+
borderRight: "".concat(_theme.default.descriptionsBorderDefaultSize, " solid ").concat(_theme.default.descriptionsBorderColor)
|
|
135
153
|
},
|
|
136
154
|
'& $labelInline': {
|
|
137
155
|
paddingRight: _theme.default.descriptionsLabelPaddingRight
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["divider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,kBAAkB,GAAG,MAAM,cAAc,CAAC;AAEtD,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["divider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,kBAAkB,GAAG,MAAM,cAAc,CAAC;AAEtD,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,kBAAkB,CAiF9C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/cjs/divider/divider.js
CHANGED
package/cjs/dropdown/dropdown.js
CHANGED
|
@@ -133,7 +133,7 @@ var dropdown = {
|
|
|
133
133
|
itemWrapper: {},
|
|
134
134
|
item: {
|
|
135
135
|
display: 'block',
|
|
136
|
-
borderRadius:
|
|
136
|
+
borderRadius: _theme.default.dropdownOptionBorderRadius,
|
|
137
137
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
138
138
|
color: _theme.default.dropdownOptionFontColor,
|
|
139
139
|
backgroundColor: _theme.default.dropdownOptionBackgroundColor,
|
|
@@ -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;AAuD9D,QAAA,MAAM,iBAAiB,EAAE,QAAQ,CAAC,qBAAqB,CAwDtD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -15,36 +15,46 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
15
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); }
|
|
16
16
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
17
17
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
18
|
-
var
|
|
18
|
+
var inputBorderToken = {
|
|
19
19
|
lineHeight: _theme.default.lineHeightDynamic,
|
|
20
|
-
borderRadius: _theme.default.
|
|
21
|
-
fontSize: _theme.default.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
20
|
+
borderRadius: _theme.default.inputBorderRadius,
|
|
21
|
+
fontSize: _theme.default.inputFontSize,
|
|
22
|
+
fontWeight: _theme.default.inputFontWeight,
|
|
23
|
+
smallFontSize: _theme.default.inputSmallFontSize,
|
|
24
|
+
largeFontSize: _theme.default.inputLargeFontSize,
|
|
25
|
+
paddingY: _theme.default.inputPaddingY,
|
|
26
|
+
smallPaddingY: _theme.default.inputSmallPaddingY,
|
|
27
|
+
largePaddingY: _theme.default.inputLargePaddingY,
|
|
28
|
+
paddingX: _theme.default.inputPaddingX,
|
|
29
|
+
smallPaddingX: _theme.default.inputSmallPaddingX,
|
|
30
|
+
largePaddingX: _theme.default.inputLargePaddingX,
|
|
31
|
+
borderColor: _theme.default.inputBorderColor,
|
|
32
|
+
borderWidth: _theme.default.inputBorderWidth,
|
|
33
|
+
focusBorderColor: _theme.default.inputFocusBorderColor,
|
|
34
|
+
hoverBorderColor: _theme.default.inputHoverBorderColor,
|
|
35
|
+
disabledBorderColor: _theme.default.inputDisabledBorderColor,
|
|
36
|
+
errorBorderColor: _theme.default.inputErrorBorderColor,
|
|
37
|
+
errorHoverBorderColor: _theme.default.inputErrorHoverBorderColor,
|
|
38
|
+
errorFocusBorderColor: _theme.default.inputErrorFocusBorderColor,
|
|
39
|
+
fontColor: _theme.default.inputFontColor,
|
|
40
|
+
disabledFontColor: _theme.default.inputDisabledFontColor,
|
|
41
|
+
backgroundColor: _theme.default.inputBackgroundColor,
|
|
42
|
+
hoverBackgroundColor: _theme.default.inputHoverBackgroundColor,
|
|
43
|
+
focusBackgroundColor: _theme.default.inputFocusBackgroundColor,
|
|
44
|
+
disabledBackgroundColor: _theme.default.inputDisabledBackgroundColor,
|
|
45
|
+
errorBackgroundColor: _theme.default.inputErrorBackgroundColor,
|
|
46
|
+
errorFocusBackgroundColor: _theme.default.inputErrorFocusBackgroundColor,
|
|
47
|
+
errorHoverBackgroundColor: _theme.default.inputErrorHoverBackgroundColor,
|
|
48
|
+
focusShadow: _theme.default.inputFocusShadow,
|
|
49
|
+
errorFocusShadow: _theme.default.inputErrorFocusShadow,
|
|
41
50
|
innerTitlePaddingY: _theme.default.inputInnerPaddingY,
|
|
42
51
|
innerTitlePaddingX: _theme.default.inputInnerPaddingX,
|
|
43
52
|
smallInnerTitlePaddingY: _theme.default.inputInnerSmallPaddingY,
|
|
44
53
|
smallInnerTitlePaddingX: _theme.default.inputInnerSmallPaddingX,
|
|
45
54
|
largeInnerTitlePaddingY: _theme.default.inputInnerLargePaddingY,
|
|
46
55
|
largeInnerTitlePaddingX: _theme.default.inputInnerLargePaddingX
|
|
47
|
-
}
|
|
56
|
+
};
|
|
57
|
+
var inputBorder = (0, _inputBorder.default)('wrapper', inputBorderToken);
|
|
48
58
|
var wrapper = inputBorder.wrapper,
|
|
49
59
|
wrapperNoBorder = inputBorder.wrapperNoBorder,
|
|
50
60
|
_noFocus = inputBorder.wrapperFocus,
|
package/cjs/empty/empty.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["empty.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["empty.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,YAAY,CAyB5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/empty/empty.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inner-title.d.ts","sourceRoot":"","sources":["inner-title.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAwBjD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"inner-title.d.ts","sourceRoot":"","sources":["inner-title.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAwBjD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,iBAAiB,CA4EjD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -63,6 +63,13 @@ var innerTitle = _objectSpread(_objectSpread({}, animation), {}, {
|
|
|
63
63
|
},
|
|
64
64
|
top: {
|
|
65
65
|
opacity: '0',
|
|
66
|
+
fontSize: _theme.default.inputInnerTopFontSize,
|
|
67
|
+
'$wrapperSmall &': {
|
|
68
|
+
fontSize: _theme.default.inputInnerTopSmallFontSize
|
|
69
|
+
},
|
|
70
|
+
'$wrapperLarge &': {
|
|
71
|
+
fontSize: _theme.default.inputInnerTopLargeFontSize
|
|
72
|
+
},
|
|
66
73
|
'$wrapperOpen &': {
|
|
67
74
|
opacity: '1',
|
|
68
75
|
transition: "opacity 0s ease-in ".concat(moveTime)
|
|
@@ -2,6 +2,7 @@ interface Token {
|
|
|
2
2
|
lineHeight: string;
|
|
3
3
|
borderRadius: string;
|
|
4
4
|
fontSize: string;
|
|
5
|
+
fontWeight: string;
|
|
5
6
|
smallFontSize: string;
|
|
6
7
|
largeFontSize: string;
|
|
7
8
|
paddingY: string;
|
|
@@ -11,14 +12,22 @@ interface Token {
|
|
|
11
12
|
smallPaddingX: string;
|
|
12
13
|
largePaddingX: string;
|
|
13
14
|
borderColor: string;
|
|
15
|
+
borderWidth: string;
|
|
14
16
|
focusBorderColor: string;
|
|
15
17
|
hoverBorderColor: string;
|
|
16
18
|
disabledBorderColor: string;
|
|
17
19
|
errorBorderColor: string;
|
|
20
|
+
errorHoverBorderColor: string;
|
|
21
|
+
errorFocusBorderColor: string;
|
|
18
22
|
fontColor: string;
|
|
19
23
|
disabledFontColor: string;
|
|
20
24
|
backgroundColor: string;
|
|
25
|
+
hoverBackgroundColor: string;
|
|
26
|
+
focusBackgroundColor: string;
|
|
21
27
|
disabledBackgroundColor: string;
|
|
28
|
+
errorBackgroundColor: string;
|
|
29
|
+
errorFocusBackgroundColor: string;
|
|
30
|
+
errorHoverBackgroundColor: string;
|
|
22
31
|
focusShadow: string;
|
|
23
32
|
errorFocusShadow: string;
|
|
24
33
|
innerTitlePaddingY: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-border.d.ts","sourceRoot":"","sources":["input-border.ts"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,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,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"input-border.d.ts","sourceRoot":"","sources":["input-border.ts"],"names":[],"mappings":"AAEA,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;IAE1B,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,wBAsJE"}
|
|
@@ -15,15 +15,19 @@ var _default = exports.default = function _default(name) {
|
|
|
15
15
|
boxSizing: 'border-box',
|
|
16
16
|
borderRadius: token.borderRadius,
|
|
17
17
|
background: token.backgroundColor,
|
|
18
|
-
border: "
|
|
18
|
+
border: "".concat(token.borderWidth, " solid ").concat(token.borderColor),
|
|
19
19
|
color: token.fontColor,
|
|
20
20
|
lineHeight: token.lineHeight,
|
|
21
21
|
fontSize: token.fontSize,
|
|
22
22
|
// verticalAlign: 'top',
|
|
23
|
+
fontWeight: token.fontWeight,
|
|
24
|
+
verticalAlign: 'top',
|
|
23
25
|
transition: "border-color .15s ease-in-out,box-shadow .15s ease-in-out;",
|
|
24
|
-
'&:hover': {
|
|
26
|
+
'&:hover': _defineProperty({
|
|
25
27
|
borderColor: token.hoverBorderColor
|
|
26
|
-
},
|
|
28
|
+
}, "&:not($".concat(name, "Disabled):not($").concat(name, "Error)"), {
|
|
29
|
+
backgroundColor: token.hoverBackgroundColor
|
|
30
|
+
}),
|
|
27
31
|
'[data-soui-role="input-group"] &': {
|
|
28
32
|
borderWidth: 0,
|
|
29
33
|
borderRadius: 0,
|
|
@@ -74,16 +78,21 @@ var _default = exports.default = function _default(name) {
|
|
|
74
78
|
}), "".concat(name, "Focus"), {
|
|
75
79
|
borderColor: token.focusBorderColor,
|
|
76
80
|
boxShadow: "0 0 0 2px ".concat(token.focusShadow),
|
|
81
|
+
background: token.focusBackgroundColor,
|
|
77
82
|
'&:hover': {
|
|
78
83
|
borderColor: token.focusBorderColor
|
|
79
84
|
}
|
|
80
85
|
}), "".concat(name, "Error"), _defineProperty({
|
|
81
86
|
borderColor: token.errorBorderColor,
|
|
87
|
+
background: token.errorBackgroundColor,
|
|
82
88
|
'&:hover': {
|
|
83
|
-
|
|
89
|
+
backgroundColor: token.errorHoverBackgroundColor,
|
|
90
|
+
borderColor: token.errorHoverBorderColor
|
|
84
91
|
}
|
|
85
92
|
}, "&$".concat(name, "Focus"), {
|
|
86
|
-
boxShadow: "0 0 0 2px ".concat(token.errorFocusShadow)
|
|
93
|
+
boxShadow: "0 0 0 2px ".concat(token.errorFocusShadow),
|
|
94
|
+
borderColor: token.errorFocusBorderColor,
|
|
95
|
+
background: token.errorFocusBackgroundColor
|
|
87
96
|
})), "".concat(name, "Disabled"), {
|
|
88
97
|
color: token.disabledFontColor,
|
|
89
98
|
backgroundColor: token.disabledBackgroundColor,
|
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;AAwG5C,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,YAAY,CAyMvC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|