@sheinx/shineout-style 3.1.27 → 3.2.0-beta.2
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/form/form-item.d.ts.map +1 -1
- package/cjs/form/form-item.js +9 -3
- package/cjs/image/image.js +5 -5
- 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/index.d.ts +3 -0
- package/cjs/menu/index.d.ts.map +1 -1
- package/cjs/menu/index.js +10 -2
- package/cjs/menu/menu.d.ts.map +1 -1
- package/cjs/menu/menu.js +183 -132
- package/cjs/menu/search.d.ts +6 -0
- package/cjs/menu/search.d.ts.map +1 -0
- package/cjs/menu/search.js +81 -0
- package/cjs/popover/popover.d.ts.map +1 -1
- package/cjs/popover/popover.js +34 -16
- package/cjs/progress/progress.d.ts.map +1 -1
- package/cjs/progress/progress.js +43 -6
- 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/tag/tag.d.ts.map +1 -1
- package/cjs/tag/tag.js +5 -2
- 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/form/form-item.d.ts.map +1 -1
- package/esm/form/form-item.js +9 -3
- package/esm/image/image.js +5 -5
- 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/index.d.ts +3 -0
- package/esm/menu/index.d.ts.map +1 -1
- package/esm/menu/index.js +4 -1
- package/esm/menu/menu.d.ts.map +1 -1
- package/esm/menu/menu.js +183 -132
- package/esm/menu/search.d.ts +6 -0
- package/esm/menu/search.d.ts.map +1 -0
- package/esm/menu/search.js +73 -0
- package/esm/popover/popover.d.ts.map +1 -1
- package/esm/popover/popover.js +34 -16
- package/esm/progress/progress.d.ts.map +1 -1
- package/esm/progress/progress.js +43 -6
- 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/tag/tag.d.ts.map +1 -1
- package/esm/tag/tag.js +5 -2
- 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/esm/popover/popover.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function _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; }
|
|
3
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
4
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1
5
|
import token from '@sheinx/theme';
|
|
2
|
-
var
|
|
6
|
+
var cssvar = '--popover-arrow-gap';
|
|
7
|
+
var hideArrowGap = "var(".concat(cssvar, ", 10px)");
|
|
3
8
|
var arrowMargin = '8px';
|
|
4
9
|
var popoverStyle = {
|
|
5
10
|
wrapper: {
|
|
@@ -29,8 +34,9 @@ var popoverStyle = {
|
|
|
29
34
|
borderRight: 'transparent'
|
|
30
35
|
}
|
|
31
36
|
},
|
|
37
|
+
'&$hideArrow': _defineProperty({}, cssvar, '4px'),
|
|
32
38
|
'&[data-soui-position^="bottom"]': {
|
|
33
|
-
marginTop:
|
|
39
|
+
marginTop: "calc(".concat(hideArrowGap, " - 2px)"),
|
|
34
40
|
'& $arrow': {
|
|
35
41
|
top: '0',
|
|
36
42
|
transform: 'translate(0, -50%) rotate(-45deg)',
|
|
@@ -39,17 +45,18 @@ var popoverStyle = {
|
|
|
39
45
|
margin: 'auto'
|
|
40
46
|
},
|
|
41
47
|
'&::after': {
|
|
42
|
-
top:
|
|
48
|
+
top: "calc(".concat(hideArrowGap, " * -1)"),
|
|
43
49
|
left: '0',
|
|
44
50
|
right: '0',
|
|
45
51
|
content: '" "',
|
|
46
52
|
display: 'block',
|
|
47
|
-
height:
|
|
53
|
+
height: hideArrowGap,
|
|
48
54
|
position: 'absolute'
|
|
49
55
|
}
|
|
50
56
|
},
|
|
51
57
|
'&[data-soui-position^="top"]': {
|
|
52
|
-
marginTop: (arrowGap - 2) * -1,
|
|
58
|
+
// marginTop: (arrowGap - 2) * -1,
|
|
59
|
+
marginTop: "calc((".concat(hideArrowGap, " - 2px) * -1)"),
|
|
53
60
|
'& $arrow': {
|
|
54
61
|
bottom: '0',
|
|
55
62
|
transform: 'translate(0, 50%) rotate(135deg)',
|
|
@@ -58,21 +65,25 @@ var popoverStyle = {
|
|
|
58
65
|
margin: 'auto'
|
|
59
66
|
},
|
|
60
67
|
'&::after': {
|
|
61
|
-
bottom: arrowGap * -1,
|
|
68
|
+
// bottom: arrowGap * -1,
|
|
69
|
+
bottom: "calc(".concat(hideArrowGap, " * -1)"),
|
|
62
70
|
left: '0',
|
|
63
71
|
right: '0',
|
|
64
72
|
content: '" "',
|
|
65
73
|
display: 'block',
|
|
66
|
-
height: arrowGap,
|
|
74
|
+
// height: arrowGap,
|
|
75
|
+
height: hideArrowGap,
|
|
67
76
|
position: 'absolute'
|
|
68
77
|
}
|
|
69
78
|
},
|
|
70
79
|
'&[data-soui-position^="left"]': {
|
|
80
|
+
// '&[dir=ltr]': { marginLeft: (arrowGap - 2) * -1 },
|
|
71
81
|
'&[dir=ltr]': {
|
|
72
|
-
marginLeft: (
|
|
82
|
+
marginLeft: "calc((".concat(hideArrowGap, " - 2px) * -1)")
|
|
73
83
|
},
|
|
84
|
+
// '&[dir=rtl]': { marginRight: (arrowGap - 2) * -1 },
|
|
74
85
|
'&[dir=rtl]': {
|
|
75
|
-
marginRight: (
|
|
86
|
+
marginRight: "calc((".concat(hideArrowGap, " - 2px) * -1)")
|
|
76
87
|
},
|
|
77
88
|
'& $arrow': {
|
|
78
89
|
right: token.popoverBorderWidth,
|
|
@@ -82,21 +93,24 @@ var popoverStyle = {
|
|
|
82
93
|
margin: 'auto'
|
|
83
94
|
},
|
|
84
95
|
'&::after': {
|
|
85
|
-
left: arrowGap * -1,
|
|
96
|
+
// left: arrowGap * -1,
|
|
97
|
+
left: "calc(".concat(hideArrowGap, " * -1)"),
|
|
86
98
|
top: '0',
|
|
87
99
|
bottom: '0',
|
|
88
100
|
content: '" "',
|
|
89
101
|
display: 'block',
|
|
90
|
-
width:
|
|
102
|
+
width: hideArrowGap,
|
|
91
103
|
position: 'absolute'
|
|
92
104
|
}
|
|
93
105
|
},
|
|
94
106
|
'&[data-soui-position^="right"]': {
|
|
107
|
+
// '&[dir=ltr]': { marginLeft: arrowGap - 2 },
|
|
95
108
|
'&[dir=ltr]': {
|
|
96
|
-
marginLeft:
|
|
109
|
+
marginLeft: "calc(".concat(hideArrowGap, " - 2px)")
|
|
97
110
|
},
|
|
111
|
+
// '&[dir=rtl]': { marginRight: arrowGap - 2 },
|
|
98
112
|
'&[dir=rtl]': {
|
|
99
|
-
marginRight:
|
|
113
|
+
marginRight: "calc(".concat(hideArrowGap, " - 2px)")
|
|
100
114
|
},
|
|
101
115
|
'& $arrow': {
|
|
102
116
|
left: '0',
|
|
@@ -106,12 +120,14 @@ var popoverStyle = {
|
|
|
106
120
|
margin: 'auto'
|
|
107
121
|
},
|
|
108
122
|
'&::after': {
|
|
109
|
-
left: arrowGap * -1,
|
|
123
|
+
// left: arrowGap * -1,
|
|
124
|
+
left: "calc(".concat(hideArrowGap, " * -1)"),
|
|
110
125
|
top: '0',
|
|
111
126
|
bottom: '0',
|
|
112
127
|
content: '" "',
|
|
113
128
|
display: 'block',
|
|
114
|
-
width: arrowGap,
|
|
129
|
+
// width: arrowGap,
|
|
130
|
+
width: hideArrowGap,
|
|
115
131
|
position: 'absolute'
|
|
116
132
|
}
|
|
117
133
|
},
|
|
@@ -159,10 +175,12 @@ var popoverStyle = {
|
|
|
159
175
|
display: 'block'
|
|
160
176
|
},
|
|
161
177
|
arrow: {},
|
|
178
|
+
hideArrow: {},
|
|
162
179
|
content: {
|
|
163
180
|
position: 'relative',
|
|
164
181
|
zIndex: 2,
|
|
165
182
|
fontSize: token.popoverFontSize,
|
|
183
|
+
fontWeight: token.popoverFontWeight,
|
|
166
184
|
color: token.popoverFontColor,
|
|
167
185
|
background: 'inherit',
|
|
168
186
|
borderRadius: 'inherit'
|
|
@@ -180,7 +198,7 @@ var popoverStyle = {
|
|
|
180
198
|
backgroundColor: 'transparent',
|
|
181
199
|
border: 0,
|
|
182
200
|
padding: 0,
|
|
183
|
-
marginBottom: token.
|
|
201
|
+
marginBottom: token.popoverConfirmMarginY
|
|
184
202
|
}
|
|
185
203
|
},
|
|
186
204
|
footer: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAEtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAEtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CAiJ9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/esm/progress/progress.js
CHANGED
|
@@ -49,10 +49,6 @@ var progressStyle = {
|
|
|
49
49
|
height: '100%',
|
|
50
50
|
boxSizing: 'border-box',
|
|
51
51
|
borderRadius: 'inherit',
|
|
52
|
-
'$lineInner &': {
|
|
53
|
-
display: 'flex',
|
|
54
|
-
alignItems: 'center'
|
|
55
|
-
},
|
|
56
52
|
'$wrapperSuccess &': {
|
|
57
53
|
backgroundColor: token.progressSuccessFrontBackgroundColor
|
|
58
54
|
},
|
|
@@ -64,6 +60,22 @@ var progressStyle = {
|
|
|
64
60
|
},
|
|
65
61
|
'$wrapperDanger &': {
|
|
66
62
|
backgroundColor: token.progressDangerFrontBackgroundColor
|
|
63
|
+
},
|
|
64
|
+
'$lineInner &': {
|
|
65
|
+
display: 'flex',
|
|
66
|
+
alignItems: 'center',
|
|
67
|
+
'$wrapperSuccess&': {
|
|
68
|
+
backgroundColor: token.progressLineInnerSuccessFrontBackgroundColor
|
|
69
|
+
},
|
|
70
|
+
'$wrapperWarning&': {
|
|
71
|
+
backgroundColor: token.progressLineInnerWarningFrontBackgroundColor
|
|
72
|
+
},
|
|
73
|
+
'$wrapperInfo&': {
|
|
74
|
+
backgroundColor: token.progressLineInnerInfoFrontBackgroundColor
|
|
75
|
+
},
|
|
76
|
+
'$wrapperDanger&': {
|
|
77
|
+
backgroundColor: token.progressLineInnerDangerFrontBackgroundColor
|
|
78
|
+
}
|
|
67
79
|
}
|
|
68
80
|
},
|
|
69
81
|
content: {
|
|
@@ -73,7 +85,19 @@ var progressStyle = {
|
|
|
73
85
|
'$lineInner &': {
|
|
74
86
|
marginLeft: 'auto',
|
|
75
87
|
padding: "0 ".concat(token.progressLineInnerPaddingX),
|
|
76
|
-
|
|
88
|
+
fontWeight: token.progressLineFontWeight
|
|
89
|
+
},
|
|
90
|
+
'$wrapperSuccess &': {
|
|
91
|
+
color: token.progressSuccessInnerFontColor
|
|
92
|
+
},
|
|
93
|
+
'$wrapperWarning &': {
|
|
94
|
+
color: token.progressWarningInnerFontColor
|
|
95
|
+
},
|
|
96
|
+
'$wrapperInfo &': {
|
|
97
|
+
color: token.progressInfoInnerFontColor
|
|
98
|
+
},
|
|
99
|
+
'$wrapperDanger &': {
|
|
100
|
+
color: token.progressDangerInnerFontColor
|
|
77
101
|
},
|
|
78
102
|
'$lineInnerRight &&': {
|
|
79
103
|
// marginLeft: token.progressLineInnerPaddingX,
|
|
@@ -90,7 +114,7 @@ var progressStyle = {
|
|
|
90
114
|
background: token.progressLineBackgroundColor,
|
|
91
115
|
padding: '3px 8px',
|
|
92
116
|
borderRadius: '2px',
|
|
93
|
-
color: token.
|
|
117
|
+
color: token.progressLinePopFontColor,
|
|
94
118
|
boxShadow: '0 3px 6px -4px rgba(0,0,0,.12), 0 6px 16px rgba(0,0,0,.08), 0 9px 28px 8px rgba(0,0,0,.05)'
|
|
95
119
|
},
|
|
96
120
|
linePopValue: {},
|
|
@@ -131,6 +155,19 @@ var progressStyle = {
|
|
|
131
155
|
'& $icon': {
|
|
132
156
|
width: '31.25%',
|
|
133
157
|
height: '31.25%'
|
|
158
|
+
},
|
|
159
|
+
fontWeight: token.progressCircleFontWeight,
|
|
160
|
+
'&$wrapperSuccess $content': {
|
|
161
|
+
color: token.progressCircleSuccessFontColor
|
|
162
|
+
},
|
|
163
|
+
'&$wrapperWarning $content': {
|
|
164
|
+
color: token.progressCircleWarningFontColor
|
|
165
|
+
},
|
|
166
|
+
'&$wrapperInfo $content': {
|
|
167
|
+
color: token.progressCircleInfoFontColor
|
|
168
|
+
},
|
|
169
|
+
'&$wrapperDanger $content': {
|
|
170
|
+
color: token.progressCircleDangerFontColor
|
|
134
171
|
}
|
|
135
172
|
},
|
|
136
173
|
circleBg: {
|
package/esm/rate/rate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["rate.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;AAoB9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["rate.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;AAoB9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAoFtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/esm/rate/rate.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,MAAM,MAAM,eAAe,GAAG,MAAM,aAAa,CAAC;AAuDlD,QAAA,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,CAif1C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/esm/select/select.js
CHANGED
|
@@ -10,27 +10,36 @@ import token from '@sheinx/theme';
|
|
|
10
10
|
import border from "../input/input-border";
|
|
11
11
|
var inputBorderToken = {
|
|
12
12
|
lineHeight: token.lineHeightDynamic,
|
|
13
|
-
borderRadius: token.
|
|
14
|
-
fontSize: token.
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
borderRadius: token.inputBorderRadius,
|
|
14
|
+
fontSize: token.inputFontSize,
|
|
15
|
+
fontWeight: token.inputFontWeight,
|
|
16
|
+
smallFontSize: token.inputSmallFontSize,
|
|
17
|
+
largeFontSize: token.inputLargeFontSize,
|
|
17
18
|
paddingY: token.selectPaddingY,
|
|
18
19
|
smallPaddingY: token.selectSmallPaddingY,
|
|
19
20
|
largePaddingY: token.selectLargePaddingY,
|
|
20
21
|
paddingX: token.selectPaddingX,
|
|
21
22
|
smallPaddingX: token.selectSmallPaddingX,
|
|
22
23
|
largePaddingX: token.selectLargePaddingX,
|
|
23
|
-
borderColor: token.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
borderColor: token.inputBorderColor,
|
|
25
|
+
borderWidth: token.inputBorderWidth,
|
|
26
|
+
focusBorderColor: token.inputFocusBorderColor,
|
|
27
|
+
hoverBorderColor: token.inputHoverBorderColor,
|
|
28
|
+
disabledBorderColor: token.inputDisabledBorderColor,
|
|
29
|
+
errorBorderColor: token.inputErrorBorderColor,
|
|
30
|
+
errorHoverBorderColor: token.inputErrorHoverBorderColor,
|
|
31
|
+
errorFocusBorderColor: token.inputErrorFocusBorderColor,
|
|
32
|
+
fontColor: token.inputFontColor,
|
|
33
|
+
disabledFontColor: token.inputDisabledFontColor,
|
|
34
|
+
backgroundColor: token.inputBackgroundColor,
|
|
35
|
+
hoverBackgroundColor: token.inputHoverBackgroundColor,
|
|
36
|
+
focusBackgroundColor: token.inputFocusBackgroundColor,
|
|
37
|
+
disabledBackgroundColor: token.inputDisabledBackgroundColor,
|
|
38
|
+
errorBackgroundColor: token.inputErrorBackgroundColor,
|
|
39
|
+
errorFocusBackgroundColor: token.inputErrorFocusBackgroundColor,
|
|
40
|
+
errorHoverBackgroundColor: token.inputErrorHoverBackgroundColor,
|
|
41
|
+
focusShadow: token.inputFocusShadow,
|
|
42
|
+
errorFocusShadow: token.inputErrorFocusShadow,
|
|
34
43
|
innerTitlePaddingY: token.inputInnerPaddingY,
|
|
35
44
|
innerTitlePaddingX: token.inputInnerPaddingX,
|
|
36
45
|
smallInnerTitlePaddingY: token.inputInnerSmallPaddingY,
|
|
@@ -91,7 +100,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
91
100
|
marginBottom: token.selectLargePlaceholderMarginY
|
|
92
101
|
}
|
|
93
102
|
},
|
|
94
|
-
'&:hover': {
|
|
103
|
+
'&:hover': _objectSpread(_objectSpread({}, wrapper['&:hover']), {}, {
|
|
95
104
|
cursor: 'pointer',
|
|
96
105
|
'&$clearable:not($wrapperEmpty)': {
|
|
97
106
|
'& $clearIcon': {
|
|
@@ -101,7 +110,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
101
110
|
display: 'none'
|
|
102
111
|
}
|
|
103
112
|
}
|
|
104
|
-
},
|
|
113
|
+
}),
|
|
105
114
|
'&:not($wrapperEmpty):not($wrapperOpen)': {
|
|
106
115
|
'& $clearIcon': {
|
|
107
116
|
display: 'none'
|
|
@@ -113,6 +122,9 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
113
122
|
wrapperDisabled: _objectSpread(_objectSpread({}, wrapperDisabled), {}, {
|
|
114
123
|
'& $arrowIcon': {
|
|
115
124
|
color: token.selectDisabledIconColor
|
|
125
|
+
},
|
|
126
|
+
'& $placeholder': {
|
|
127
|
+
color: token.selectDisabledPlaceholderColor
|
|
116
128
|
}
|
|
117
129
|
}),
|
|
118
130
|
popover: {}
|
|
@@ -326,8 +338,13 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
326
338
|
loading: {
|
|
327
339
|
padding: 10,
|
|
328
340
|
display: 'flex',
|
|
329
|
-
justifyContent: 'center'
|
|
341
|
+
justifyContent: 'center',
|
|
342
|
+
'& > $loadingSpin': {
|
|
343
|
+
borderColor: token.selectLoadingSpinColor,
|
|
344
|
+
borderTopColor: 'transparent'
|
|
345
|
+
}
|
|
330
346
|
},
|
|
347
|
+
loadingSpin: {},
|
|
331
348
|
checkedIcon: {
|
|
332
349
|
'&[dir=ltr]': {
|
|
333
350
|
right: 8
|
|
@@ -423,10 +440,16 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
423
440
|
overflow: 'hidden',
|
|
424
441
|
textOverflow: 'ellipsis',
|
|
425
442
|
whiteSpace: 'nowrap',
|
|
443
|
+
color: token.selectOptionFontColor,
|
|
426
444
|
fontSize: token.selectFontSize,
|
|
427
445
|
lineHeight: token.lineHeightDynamic,
|
|
446
|
+
background: token.selectOptionBackgroundColor,
|
|
428
447
|
padding: "".concat(token.selectOptionInnerPaddingY, " ").concat(token.selectOptionInnerPaddingX),
|
|
429
|
-
borderRadius: token.selectOptionInnerBorderRadius
|
|
448
|
+
borderRadius: token.selectOptionInnerBorderRadius,
|
|
449
|
+
// hover
|
|
450
|
+
'&:not($optionDisabled):not($optionActive):hover': {
|
|
451
|
+
color: token.selectOptionHoverFontColor
|
|
452
|
+
}
|
|
430
453
|
},
|
|
431
454
|
optionHover: {
|
|
432
455
|
// backgroundColor: token.selectOptionHoverBackgroundColor,
|
|
@@ -456,14 +479,15 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
456
479
|
fontSize: token.selectGroupTitleFontSize,
|
|
457
480
|
lineHeight: token.lineHeightDynamic,
|
|
458
481
|
padding: "".concat(token.selectGroupTitlePaddingTop, " ").concat(token.selectGroupTitlePaddingX, " ").concat(token.selectGroupTitlePaddingBottom, " ").concat(token.selectGroupTitlePaddingX),
|
|
459
|
-
color: token.selectGroupTitleFontColor
|
|
482
|
+
color: token.selectGroupTitleFontColor,
|
|
483
|
+
fontWeight: token.selectGroupTitleFontWeight
|
|
460
484
|
},
|
|
461
485
|
header: {
|
|
462
486
|
display: 'flex',
|
|
463
487
|
alignItems: 'center',
|
|
464
488
|
boxSizing: 'border-box',
|
|
465
489
|
height: 32,
|
|
466
|
-
padding: token.
|
|
490
|
+
padding: "".concat(token.selectHeaderPaddingY, " ").concat(token.selectHeaderPaddingX),
|
|
467
491
|
borderBottom: "1px solid ".concat(token.selectHeaderBorderColor),
|
|
468
492
|
marginBottom: 4,
|
|
469
493
|
'& $columnsCheckbox': {
|
|
@@ -480,7 +504,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
480
504
|
alignItems: 'center',
|
|
481
505
|
padding: "0 ".concat(token.selectOptionPaddingX),
|
|
482
506
|
'& $optionGroupTitle': {
|
|
483
|
-
padding: "0 ".concat(token.
|
|
507
|
+
padding: "0 ".concat(token.selectHeaderPaddingX),
|
|
484
508
|
marginLeft: token.selectColumnOptionMargin
|
|
485
509
|
}
|
|
486
510
|
},
|
|
@@ -497,8 +521,8 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
497
521
|
marginRight: 0
|
|
498
522
|
},
|
|
499
523
|
'&:not($optionDisabled):hover': {
|
|
500
|
-
background: token.
|
|
501
|
-
borderRadius: token.
|
|
524
|
+
background: token.selectOptionHoverBackgroundColor,
|
|
525
|
+
borderRadius: token.selectPanelRadius
|
|
502
526
|
}
|
|
503
527
|
},
|
|
504
528
|
columnsRadio: {
|
|
@@ -523,7 +547,7 @@ var selectStyle = _objectSpread(_objectSpread({
|
|
|
523
547
|
}
|
|
524
548
|
},
|
|
525
549
|
empty: {
|
|
526
|
-
color: token.
|
|
550
|
+
color: token.selectEmptyFontColor
|
|
527
551
|
}
|
|
528
552
|
});
|
|
529
553
|
export default selectStyle;
|
package/esm/table/table.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAUxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAUxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAqbxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/table/table.js
CHANGED
|
@@ -65,6 +65,8 @@ var tableStyle = _objectSpread(_objectSpread({}, globalStyle), {}, {
|
|
|
65
65
|
'& td': {
|
|
66
66
|
background: token.tableTbodyBackgroundColor,
|
|
67
67
|
color: token.tableTbodyFontColor,
|
|
68
|
+
fontSize: token.tableCellFontSize,
|
|
69
|
+
fontWeight: token.tableCellFontWeight,
|
|
68
70
|
'&[data-soui-table-selection]::before': {
|
|
69
71
|
content: '""',
|
|
70
72
|
position: 'absolute',
|
|
@@ -80,12 +82,14 @@ var tableStyle = _objectSpread(_objectSpread({}, globalStyle), {}, {
|
|
|
80
82
|
verticalAlign: 'middle',
|
|
81
83
|
background: token.tableTheadBackgroundColor,
|
|
82
84
|
color: token.tableTheadFontColor,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
+
boxSizing: 'border-box',
|
|
86
|
+
fontWeight: token.tableTheadFontWeight,
|
|
87
|
+
fontSize: token.tableTheadFontSize
|
|
85
88
|
},
|
|
86
89
|
'& tfoot td': {
|
|
87
90
|
background: token.tableTfootBackgroundColor,
|
|
88
|
-
color: token.tableTfootFontColor
|
|
91
|
+
color: token.tableTfootFontColor,
|
|
92
|
+
fontWeight: token.tableTfootFontWeight
|
|
89
93
|
},
|
|
90
94
|
'&bordered tr:last-child td': {
|
|
91
95
|
borderBottom: 'none'
|
|
@@ -113,11 +117,27 @@ var tableStyle = _objectSpread(_objectSpread({}, globalStyle), {}, {
|
|
|
113
117
|
small: {
|
|
114
118
|
'& th, & td': {
|
|
115
119
|
padding: "".concat(token.tableSmallCellPaddingY, " ").concat(token.tableSmallCellPaddingX)
|
|
120
|
+
},
|
|
121
|
+
'& table th': {
|
|
122
|
+
fontSize: token.tableSmallTheadFontSize,
|
|
123
|
+
fontWeight: token.tableSmallTheadFontWeight
|
|
124
|
+
},
|
|
125
|
+
'& table td': {
|
|
126
|
+
fontSize: token.tableSmallCellFontSize,
|
|
127
|
+
fontWeight: token.tableSmallCellFontWeight
|
|
116
128
|
}
|
|
117
129
|
},
|
|
118
130
|
large: {
|
|
119
131
|
'& th, & td': {
|
|
120
132
|
padding: "".concat(token.tableLargeCellPaddingY, " ").concat(token.tableLargeCellPaddingX)
|
|
133
|
+
},
|
|
134
|
+
'& table th': {
|
|
135
|
+
fontSize: token.tableLargeTheadFontSize,
|
|
136
|
+
fontWeight: token.tableLargeTheadFontWeight
|
|
137
|
+
},
|
|
138
|
+
'& table td': {
|
|
139
|
+
fontSize: token.tableLargeCellFontSize,
|
|
140
|
+
fontWeight: token.tableLargeCellFontWeight
|
|
121
141
|
}
|
|
122
142
|
},
|
|
123
143
|
bordered: {
|
package/esm/tag/tag.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+I1C,QAAA,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,UAAU,CA+IxC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/esm/tag/tag.js
CHANGED
|
@@ -56,7 +56,7 @@ var tag = function tag(type) {
|
|
|
56
56
|
backgroundColor: Token["tag".concat(type, "FillDisabledBackgroundColor")],
|
|
57
57
|
border: "1px solid ".concat(Token["tag".concat(type, "FillDisabledBorderColor")]),
|
|
58
58
|
'& $closeIconWrapper': {
|
|
59
|
-
fill: Token["tag".concat(type, "
|
|
59
|
+
fill: Token["tag".concat(type, "FillDisabledFontColor")],
|
|
60
60
|
'&:hover': {
|
|
61
61
|
fill: Token["tag".concat(type, "FillFontColor")],
|
|
62
62
|
backgroundColor: 'transparent'
|
|
@@ -67,7 +67,7 @@ var tag = function tag(type) {
|
|
|
67
67
|
// outline 边框风格
|
|
68
68
|
'&$outline': {
|
|
69
69
|
background: '#fff',
|
|
70
|
-
color: Token["tag".concat(type, "
|
|
70
|
+
color: Token["tag".concat(type, "OutlineFontColor")],
|
|
71
71
|
border: "1px solid ".concat(Token["tag".concat(type, "OutlineBorderColor")]),
|
|
72
72
|
'& $closeIconWrapper': {
|
|
73
73
|
// hover
|
|
@@ -119,6 +119,7 @@ var TagStyle = {
|
|
|
119
119
|
display: 'inline-flex',
|
|
120
120
|
padding: "0 ".concat(Token.tagPaddingX),
|
|
121
121
|
fontSize: Token.tagFontSize,
|
|
122
|
+
fontWeight: Token.tagFontWeight,
|
|
122
123
|
borderRadius: Token.tagBorderRadius,
|
|
123
124
|
boxSizing: 'border-box',
|
|
124
125
|
lineHeight: "calc(".concat(Token.tagFontSize, " + 4px)"),
|
|
@@ -148,6 +149,7 @@ var TagStyle = {
|
|
|
148
149
|
large: {
|
|
149
150
|
fontSize: Token.tagLargeFontSize,
|
|
150
151
|
lineHeight: "calc(".concat(Token.tagLargeFontSize, " + 8px)"),
|
|
152
|
+
fontWeight: Token.tagLargeFontWeight,
|
|
151
153
|
padding: "".concat(Token.tagLargePaddingY, " ").concat(Token.tagLargePaddingX),
|
|
152
154
|
'& $closeIconWrapper': {
|
|
153
155
|
'& svg': {
|
|
@@ -159,6 +161,7 @@ var TagStyle = {
|
|
|
159
161
|
small: {
|
|
160
162
|
lineHeight: "calc(".concat(Token.tagSmallFontSize, " + 6px)"),
|
|
161
163
|
padding: "0 ".concat(Token.tagSmallPaddingX),
|
|
164
|
+
fontWeight: Token.tagSmallFontWeight,
|
|
162
165
|
'& $container': {
|
|
163
166
|
lineHeight: "calc(".concat(Token.tagSmallFontSize, " + 6px)")
|
|
164
167
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["textarea.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAyDxC,QAAA,MAAM,KAAK,EAAE,QAAQ,CAAC,MAAM,eAAe,CA6F1C,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/esm/textarea/textarea.js
CHANGED
|
@@ -8,36 +8,46 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
8
8
|
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; }
|
|
9
9
|
import border from "../input/input-border";
|
|
10
10
|
import token from '@sheinx/theme';
|
|
11
|
-
var
|
|
11
|
+
var inputBorderToken = {
|
|
12
12
|
lineHeight: token.lineHeightDynamic,
|
|
13
|
-
borderRadius: token.
|
|
14
|
-
fontSize: token.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
13
|
+
borderRadius: token.inputBorderRadius,
|
|
14
|
+
fontSize: token.inputFontSize,
|
|
15
|
+
fontWeight: token.inputFontWeight,
|
|
16
|
+
smallFontSize: token.inputSmallFontSize,
|
|
17
|
+
largeFontSize: token.inputLargeFontSize,
|
|
18
|
+
paddingY: token.inputPaddingY,
|
|
19
|
+
smallPaddingY: token.inputSmallPaddingY,
|
|
20
|
+
largePaddingY: token.inputLargePaddingY,
|
|
21
|
+
paddingX: token.inputPaddingX,
|
|
22
|
+
smallPaddingX: token.inputSmallPaddingX,
|
|
23
|
+
largePaddingX: token.inputLargePaddingX,
|
|
24
|
+
borderColor: token.inputBorderColor,
|
|
25
|
+
borderWidth: token.inputBorderWidth,
|
|
26
|
+
focusBorderColor: token.inputFocusBorderColor,
|
|
27
|
+
hoverBorderColor: token.inputHoverBorderColor,
|
|
28
|
+
disabledBorderColor: token.inputDisabledBorderColor,
|
|
29
|
+
errorBorderColor: token.inputErrorBorderColor,
|
|
30
|
+
errorHoverBorderColor: token.inputErrorHoverBorderColor,
|
|
31
|
+
errorFocusBorderColor: token.inputErrorFocusBorderColor,
|
|
32
|
+
fontColor: token.inputFontColor,
|
|
33
|
+
disabledFontColor: token.inputDisabledFontColor,
|
|
34
|
+
backgroundColor: token.inputBackgroundColor,
|
|
35
|
+
hoverBackgroundColor: token.inputHoverBackgroundColor,
|
|
36
|
+
focusBackgroundColor: token.inputFocusBackgroundColor,
|
|
37
|
+
disabledBackgroundColor: token.inputDisabledBackgroundColor,
|
|
38
|
+
errorBackgroundColor: token.inputErrorBackgroundColor,
|
|
39
|
+
errorFocusBackgroundColor: token.inputErrorFocusBackgroundColor,
|
|
40
|
+
errorHoverBackgroundColor: token.inputErrorHoverBackgroundColor,
|
|
41
|
+
focusShadow: token.inputFocusShadow,
|
|
42
|
+
errorFocusShadow: token.inputErrorFocusShadow,
|
|
34
43
|
innerTitlePaddingY: token.inputInnerPaddingY,
|
|
35
44
|
innerTitlePaddingX: token.inputInnerPaddingX,
|
|
36
45
|
smallInnerTitlePaddingY: token.inputInnerSmallPaddingY,
|
|
37
46
|
smallInnerTitlePaddingX: token.inputInnerSmallPaddingX,
|
|
38
47
|
largeInnerTitlePaddingY: token.inputInnerLargePaddingY,
|
|
39
48
|
largeInnerTitlePaddingX: token.inputInnerLargePaddingX
|
|
40
|
-
}
|
|
49
|
+
};
|
|
50
|
+
var inputBorder = border('wrapper', inputBorderToken);
|
|
41
51
|
var wrapper = inputBorder.wrapper,
|
|
42
52
|
resetWrapper = _objectWithoutProperties(inputBorder, ["wrapper"]);
|
|
43
53
|
var input = _objectSpread(_objectSpread(_objectSpread({}, inputBorder), {}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer.d.ts","sourceRoot":"","sources":["transfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,aAAa,GAAG,MAAM,eAAe,CAAC;AAElD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"transfer.d.ts","sourceRoot":"","sources":["transfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,aAAa,GAAG,MAAM,eAAe,CAAC;AAElD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,aAAa,CA4L1C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/esm/transfer/transfer.js
CHANGED
|
@@ -88,7 +88,7 @@ var TransferStyle = {
|
|
|
88
88
|
marginLeft: 3,
|
|
89
89
|
'& svg': {
|
|
90
90
|
width: 14,
|
|
91
|
-
color: Token.
|
|
91
|
+
color: Token.transferRemoveIconColor
|
|
92
92
|
},
|
|
93
93
|
'&:hover': {
|
|
94
94
|
background: Token.transferIconBackgroundColor
|
|
@@ -146,7 +146,9 @@ var TransferStyle = {
|
|
|
146
146
|
alignItems: 'center',
|
|
147
147
|
boxSizing: 'border-box',
|
|
148
148
|
justifyContent: 'space-between',
|
|
149
|
-
background: Token.transferHeaderBackgroundColor
|
|
149
|
+
background: Token.transferHeaderBackgroundColor,
|
|
150
|
+
borderRadius: "".concat(Token.transferBorderRadius, " ").concat(Token.transferBorderRadius, " 0 0"),
|
|
151
|
+
borderBottom: "1px solid ".concat(Token.transferHeaderBorderColor)
|
|
150
152
|
},
|
|
151
153
|
spinContainer: {},
|
|
152
154
|
title: {
|
|
@@ -156,11 +158,14 @@ var TransferStyle = {
|
|
|
156
158
|
count: {
|
|
157
159
|
fontSize: Token.transferFontSize
|
|
158
160
|
},
|
|
159
|
-
list: {
|
|
161
|
+
list: {
|
|
162
|
+
background: Token.transferBackgroundColor
|
|
163
|
+
},
|
|
160
164
|
footer: {
|
|
161
165
|
height: 48,
|
|
162
166
|
boxSizing: 'border-box',
|
|
163
|
-
borderTop: "1px solid ".concat(Token.
|
|
167
|
+
borderTop: "1px solid ".concat(Token.transferFooterBorderColor),
|
|
168
|
+
background: Token.transferFooterBackgroundColor
|
|
164
169
|
},
|
|
165
170
|
item: {
|
|
166
171
|
padding: '1px 4px',
|
|
@@ -182,7 +187,7 @@ var TransferStyle = {
|
|
|
182
187
|
}
|
|
183
188
|
},
|
|
184
189
|
itemWrapper: {
|
|
185
|
-
borderRadius: Token.
|
|
190
|
+
borderRadius: Token.transferItemBorderRadius,
|
|
186
191
|
cursor: 'pointer',
|
|
187
192
|
'& $checkbox': {
|
|
188
193
|
width: '100%',
|
package/esm/tree/tree.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAE9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,WAAW,CAAC;AAE9C,QAAA,MAAM,SAAS,EAAE,QAAQ,CAAC,aAAa,CAuNtC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|