dtable-ui-component 6.0.25 → 6.0.26
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/lib/Icon/index.js +1 -0
- package/lib/InputItem/index.js +1 -0
- package/lib/Modal/index.js +1 -0
- package/lib/Modal/style/index.css +580 -0
- package/lib/Popover/index.js +1 -0
- package/lib/Progress/index.js +1 -0
- package/lib/TabBar/index.js +1 -0
- package/lib/Tabs/index.js +1 -0
- package/package.json +1 -1
package/lib/Icon/index.js
CHANGED
|
@@ -9,6 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _loadSprite = _interopRequireDefault(require("./load-sprite"));
|
|
12
|
+
require("./index.css");
|
|
12
13
|
class Icon extends React.Component {
|
|
13
14
|
componentDidMount() {
|
|
14
15
|
(0, _loadSprite.default)();
|
package/lib/InputItem/index.js
CHANGED
|
@@ -13,6 +13,7 @@ var _rmcFeedback = _interopRequireDefault(require("rmc-feedback"));
|
|
|
13
13
|
var _getLocale = require("../_util/getLocale");
|
|
14
14
|
var _customInput = _interopRequireDefault(require("./custom-input"));
|
|
15
15
|
var _input = _interopRequireDefault(require("./input"));
|
|
16
|
+
require("./style/index.css");
|
|
16
17
|
/* tslint:disable:jsx-no-multiline-js */
|
|
17
18
|
|
|
18
19
|
function noop() {}
|
package/lib/Modal/index.js
CHANGED
|
@@ -9,6 +9,7 @@ var _alert = _interopRequireDefault(require("./alert"));
|
|
|
9
9
|
var _modal = _interopRequireDefault(require("./modal"));
|
|
10
10
|
var _operation = _interopRequireDefault(require("./operation"));
|
|
11
11
|
var _prompt = _interopRequireDefault(require("./prompt"));
|
|
12
|
+
require("./style/index.css");
|
|
12
13
|
_modal.default.alert = _alert.default;
|
|
13
14
|
_modal.default.prompt = _prompt.default;
|
|
14
15
|
_modal.default.operation = _operation.default;
|
|
@@ -0,0 +1,580 @@
|
|
|
1
|
+
.am-modal {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.am-modal:not(.am-modal-transparent):not(.am-modal-popup) {
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.am-modal-mask {
|
|
11
|
+
position: fixed;
|
|
12
|
+
top: 0;
|
|
13
|
+
right: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
bottom: 0;
|
|
16
|
+
height: 100%;
|
|
17
|
+
z-index: 999;
|
|
18
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.am-modal-mask-hidden {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.am-modal-wrap {
|
|
26
|
+
position: fixed;
|
|
27
|
+
overflow: auto;
|
|
28
|
+
top: 0;
|
|
29
|
+
right: 0;
|
|
30
|
+
bottom: 0;
|
|
31
|
+
left: 0;
|
|
32
|
+
height: 100%;
|
|
33
|
+
z-index: 999;
|
|
34
|
+
-webkit-overflow-scrolling: touch;
|
|
35
|
+
outline: 0;
|
|
36
|
+
display: -webkit-box;
|
|
37
|
+
display: -webkit-flex;
|
|
38
|
+
display: -ms-flexbox;
|
|
39
|
+
display: flex;
|
|
40
|
+
-webkit-box-align: center;
|
|
41
|
+
-webkit-align-items: center;
|
|
42
|
+
-ms-flex-align: center;
|
|
43
|
+
align-items: center;
|
|
44
|
+
-webkit-box-pack: center;
|
|
45
|
+
-webkit-justify-content: center;
|
|
46
|
+
-ms-flex-pack: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
-webkit-transform: translateZ(1px);
|
|
49
|
+
transform: translateZ(1px);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.am-modal-wrap-popup {
|
|
53
|
+
display: block;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.am-modal-transparent {
|
|
57
|
+
width: 270px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.am-modal-transparent .am-modal-content {
|
|
61
|
+
border-radius: 7px;
|
|
62
|
+
padding-top: 15px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.am-modal-transparent .am-modal-content .am-modal-body {
|
|
66
|
+
padding: 0 15px 15px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.am-modal-popup {
|
|
70
|
+
position: fixed;
|
|
71
|
+
left: 0;
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.am-modal-popup-slide-down {
|
|
76
|
+
top: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.am-modal-popup-slide-up {
|
|
80
|
+
bottom: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.am-modal-popup .am-modal-content {
|
|
84
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.am-modal-title {
|
|
88
|
+
margin: 0;
|
|
89
|
+
font-size: 18px;
|
|
90
|
+
line-height: 1;
|
|
91
|
+
color: #000;
|
|
92
|
+
text-align: center;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.am-modal-header {
|
|
96
|
+
padding: 6px 15px 15px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.am-modal-content {
|
|
100
|
+
position: relative;
|
|
101
|
+
background-color: #fff;
|
|
102
|
+
border: 0;
|
|
103
|
+
background-clip: padding-box;
|
|
104
|
+
text-align: center;
|
|
105
|
+
height: 100%;
|
|
106
|
+
overflow: hidden;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.am-modal-close {
|
|
110
|
+
border: 0;
|
|
111
|
+
padding: 0;
|
|
112
|
+
background-color: transparent;
|
|
113
|
+
outline: none;
|
|
114
|
+
position: absolute;
|
|
115
|
+
right: 15px;
|
|
116
|
+
z-index: 999;
|
|
117
|
+
height: 21px;
|
|
118
|
+
width: 21px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.am-modal-close-x {
|
|
122
|
+
display: inline-block;
|
|
123
|
+
width: 15px;
|
|
124
|
+
height: 15px;
|
|
125
|
+
background-repeat: no-repeat;
|
|
126
|
+
background-size: cover;
|
|
127
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D'30'%20height%3D'30'%20viewBox%3D'0%200%2030%2030'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%20%3Cdefs%3E%3C%2Fdefs%3E%20%3Cg%20id%3D'ALL-ICON'%20stroke%3D'none'%20stroke-width%3D'1'%20fill%3D'none'%20fill-rule%3D'evenodd'%3E%20%3Cg%20id%3D'Rectangle-283-%2B-Rectangle-283'%20fill%3D'%23888888'%3E%20%3Crect%20id%3D'Rectangle-283'%20transform%3D'translate(14.849242%2C%2014.849242)%20rotate(-315.000000)%20translate(-14.849242%2C%20-14.849242)%20'%20x%3D'-5.1507576'%20y%3D'13.8492424'%20width%3D'40'%20height%3D'2'%3E%3C%2Frect%3E%20%3Crect%20id%3D'Rectangle-283'%20transform%3D'translate(14.849242%2C%2014.849242)%20scale(-1%2C%201)%20rotate(-315.000000)%20translate(-14.849242%2C%20-14.849242)%20'%20x%3D'-5.1507576'%20y%3D'13.8492424'%20width%3D'40'%20height%3D'2'%3E%3C%2Frect%3E%20%3C%2Fg%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E");
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.am-modal-body {
|
|
131
|
+
font-size: 15px;
|
|
132
|
+
color: #888;
|
|
133
|
+
height: 100%;
|
|
134
|
+
line-height: 1.5;
|
|
135
|
+
overflow: auto;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.am-modal-button-group-h {
|
|
139
|
+
position: relative;
|
|
140
|
+
border-top: 1PX solid #ddd;
|
|
141
|
+
display: -webkit-box;
|
|
142
|
+
display: -webkit-flex;
|
|
143
|
+
display: -ms-flexbox;
|
|
144
|
+
display: flex;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
148
|
+
html:not([data-scale]) .am-modal-button-group-h {
|
|
149
|
+
border-top: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
html:not([data-scale]) .am-modal-button-group-h::before {
|
|
153
|
+
content: '';
|
|
154
|
+
position: absolute;
|
|
155
|
+
background-color: #ddd;
|
|
156
|
+
display: block;
|
|
157
|
+
z-index: 1;
|
|
158
|
+
top: 0;
|
|
159
|
+
right: auto;
|
|
160
|
+
bottom: auto;
|
|
161
|
+
left: 0;
|
|
162
|
+
width: 100%;
|
|
163
|
+
height: 1PX;
|
|
164
|
+
-webkit-transform-origin: 50% 50%;
|
|
165
|
+
-ms-transform-origin: 50% 50%;
|
|
166
|
+
transform-origin: 50% 50%;
|
|
167
|
+
-webkit-transform: scaleY(0.5);
|
|
168
|
+
-ms-transform: scaleY(0.5);
|
|
169
|
+
transform: scaleY(0.5);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
174
|
+
html:not([data-scale]) .am-modal-button-group-h::before {
|
|
175
|
+
-webkit-transform: scaleY(0.33);
|
|
176
|
+
-ms-transform: scaleY(0.33);
|
|
177
|
+
transform: scaleY(0.33);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.am-modal-button-group-h .am-modal-button {
|
|
182
|
+
-webkit-touch-callout: none;
|
|
183
|
+
-webkit-box-flex: 1;
|
|
184
|
+
-webkit-flex: 1;
|
|
185
|
+
-ms-flex: 1;
|
|
186
|
+
flex: 1;
|
|
187
|
+
-webkit-box-sizing: border-box;
|
|
188
|
+
box-sizing: border-box;
|
|
189
|
+
text-align: center;
|
|
190
|
+
text-decoration: none;
|
|
191
|
+
outline: none;
|
|
192
|
+
color: #108ee9;
|
|
193
|
+
font-size: 18px;
|
|
194
|
+
height: 50px;
|
|
195
|
+
line-height: 50px;
|
|
196
|
+
display: block;
|
|
197
|
+
width: auto;
|
|
198
|
+
overflow: hidden;
|
|
199
|
+
text-overflow: ellipsis;
|
|
200
|
+
white-space: nowrap;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.am-modal-button-group-h .am-modal-button:first-child {
|
|
204
|
+
color: #000;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.am-modal-button-group-h .am-modal-button:last-child {
|
|
208
|
+
position: relative;
|
|
209
|
+
border-left: 1PX solid #ddd;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
213
|
+
html:not([data-scale]) .am-modal-button-group-h .am-modal-button:last-child {
|
|
214
|
+
border-left: none;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
html:not([data-scale]) .am-modal-button-group-h .am-modal-button:last-child::before {
|
|
218
|
+
content: '';
|
|
219
|
+
position: absolute;
|
|
220
|
+
background-color: #ddd;
|
|
221
|
+
display: block;
|
|
222
|
+
z-index: 1;
|
|
223
|
+
top: 0;
|
|
224
|
+
right: auto;
|
|
225
|
+
bottom: auto;
|
|
226
|
+
left: 0;
|
|
227
|
+
width: 1PX;
|
|
228
|
+
height: 100%;
|
|
229
|
+
-webkit-transform-origin: 100% 50%;
|
|
230
|
+
-ms-transform-origin: 100% 50%;
|
|
231
|
+
transform-origin: 100% 50%;
|
|
232
|
+
-webkit-transform: scaleX(0.5);
|
|
233
|
+
-ms-transform: scaleX(0.5);
|
|
234
|
+
transform: scaleX(0.5);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
239
|
+
html:not([data-scale]) .am-modal-button-group-h .am-modal-button:last-child::before {
|
|
240
|
+
-webkit-transform: scaleX(0.33);
|
|
241
|
+
-ms-transform: scaleX(0.33);
|
|
242
|
+
transform: scaleX(0.33);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.am-modal-button-group-v .am-modal-button {
|
|
247
|
+
-webkit-touch-callout: none;
|
|
248
|
+
position: relative;
|
|
249
|
+
border-top: 1PX solid #ddd;
|
|
250
|
+
-webkit-box-sizing: border-box;
|
|
251
|
+
box-sizing: border-box;
|
|
252
|
+
text-align: center;
|
|
253
|
+
text-decoration: none;
|
|
254
|
+
outline: none;
|
|
255
|
+
color: #108ee9;
|
|
256
|
+
font-size: 18px;
|
|
257
|
+
height: 50px;
|
|
258
|
+
line-height: 50px;
|
|
259
|
+
display: block;
|
|
260
|
+
width: auto;
|
|
261
|
+
overflow: hidden;
|
|
262
|
+
text-overflow: ellipsis;
|
|
263
|
+
white-space: nowrap;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
267
|
+
html:not([data-scale]) .am-modal-button-group-v .am-modal-button {
|
|
268
|
+
border-top: none;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
html:not([data-scale]) .am-modal-button-group-v .am-modal-button::before {
|
|
272
|
+
content: '';
|
|
273
|
+
position: absolute;
|
|
274
|
+
background-color: #ddd;
|
|
275
|
+
display: block;
|
|
276
|
+
z-index: 1;
|
|
277
|
+
top: 0;
|
|
278
|
+
right: auto;
|
|
279
|
+
bottom: auto;
|
|
280
|
+
left: 0;
|
|
281
|
+
width: 100%;
|
|
282
|
+
height: 1PX;
|
|
283
|
+
-webkit-transform-origin: 50% 50%;
|
|
284
|
+
-ms-transform-origin: 50% 50%;
|
|
285
|
+
transform-origin: 50% 50%;
|
|
286
|
+
-webkit-transform: scaleY(0.5);
|
|
287
|
+
-ms-transform: scaleY(0.5);
|
|
288
|
+
transform: scaleY(0.5);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
293
|
+
html:not([data-scale]) .am-modal-button-group-v .am-modal-button::before {
|
|
294
|
+
-webkit-transform: scaleY(0.33);
|
|
295
|
+
-ms-transform: scaleY(0.33);
|
|
296
|
+
transform: scaleY(0.33);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.am-modal-button-active {
|
|
301
|
+
background-color: #ddd;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.am-modal-input-container {
|
|
305
|
+
margin-top: 9px;
|
|
306
|
+
border: 1PX solid #ddd;
|
|
307
|
+
border-radius: 3px;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
311
|
+
html:not([data-scale]) .am-modal-input-container {
|
|
312
|
+
position: relative;
|
|
313
|
+
border: none;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
html:not([data-scale]) .am-modal-input-container::before {
|
|
317
|
+
content: '';
|
|
318
|
+
position: absolute;
|
|
319
|
+
left: 0;
|
|
320
|
+
top: 0;
|
|
321
|
+
width: 200%;
|
|
322
|
+
height: 200%;
|
|
323
|
+
border: 1PX solid #ddd;
|
|
324
|
+
border-radius: 6px;
|
|
325
|
+
-webkit-transform-origin: 0 0;
|
|
326
|
+
-ms-transform-origin: 0 0;
|
|
327
|
+
transform-origin: 0 0;
|
|
328
|
+
-webkit-transform: scale(0.5);
|
|
329
|
+
-ms-transform: scale(0.5);
|
|
330
|
+
transform: scale(0.5);
|
|
331
|
+
-webkit-box-sizing: border-box;
|
|
332
|
+
box-sizing: border-box;
|
|
333
|
+
pointer-events: none;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.am-modal-input {
|
|
338
|
+
height: 36px;
|
|
339
|
+
line-height: 1;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.am-modal-input:nth-child(2) {
|
|
343
|
+
position: relative;
|
|
344
|
+
border-top: 1PX solid #ddd;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
348
|
+
html:not([data-scale]) .am-modal-input:nth-child(2) {
|
|
349
|
+
border-top: none;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
html:not([data-scale]) .am-modal-input:nth-child(2)::before {
|
|
353
|
+
content: '';
|
|
354
|
+
position: absolute;
|
|
355
|
+
background-color: #ddd;
|
|
356
|
+
display: block;
|
|
357
|
+
z-index: 1;
|
|
358
|
+
top: 0;
|
|
359
|
+
right: auto;
|
|
360
|
+
bottom: auto;
|
|
361
|
+
left: 0;
|
|
362
|
+
width: 100%;
|
|
363
|
+
height: 1PX;
|
|
364
|
+
-webkit-transform-origin: 50% 50%;
|
|
365
|
+
-ms-transform-origin: 50% 50%;
|
|
366
|
+
transform-origin: 50% 50%;
|
|
367
|
+
-webkit-transform: scaleY(0.5);
|
|
368
|
+
-ms-transform: scaleY(0.5);
|
|
369
|
+
transform: scaleY(0.5);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
374
|
+
html:not([data-scale]) .am-modal-input:nth-child(2)::before {
|
|
375
|
+
-webkit-transform: scaleY(0.33);
|
|
376
|
+
-ms-transform: scaleY(0.33);
|
|
377
|
+
transform: scaleY(0.33);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.am-modal-input input {
|
|
382
|
+
position: relative;
|
|
383
|
+
border: 0;
|
|
384
|
+
width: 98%;
|
|
385
|
+
height: 34px;
|
|
386
|
+
top: 1PX;
|
|
387
|
+
-webkit-box-sizing: border-box;
|
|
388
|
+
box-sizing: border-box;
|
|
389
|
+
margin: 0;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.am-modal-input input::-webkit-input-placeholder {
|
|
393
|
+
font-size: 14px;
|
|
394
|
+
color: #ccc;
|
|
395
|
+
padding-left: 8px;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.am-modal-input input::-moz-placeholder {
|
|
399
|
+
font-size: 14px;
|
|
400
|
+
color: #ccc;
|
|
401
|
+
padding-left: 8px;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.am-modal-input input::-ms-input-placeholder {
|
|
405
|
+
font-size: 14px;
|
|
406
|
+
color: #ccc;
|
|
407
|
+
padding-left: 8px;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.am-modal-input input::placeholder {
|
|
411
|
+
font-size: 14px;
|
|
412
|
+
color: #ccc;
|
|
413
|
+
padding-left: 8px;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content {
|
|
417
|
+
border-radius: 0;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-header {
|
|
421
|
+
padding: 9px 24px 12px;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-header .am-modal-title {
|
|
425
|
+
text-align: left;
|
|
426
|
+
font-size: 21px;
|
|
427
|
+
color: #000;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-body {
|
|
431
|
+
color: #000;
|
|
432
|
+
text-align: left;
|
|
433
|
+
padding: 0 24px 15px;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-body .am-modal-input-container {
|
|
437
|
+
border: 0;
|
|
438
|
+
border-bottom: 1PX solid #ddd;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-body .am-modal-input-container:before {
|
|
442
|
+
display: none !important;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
446
|
+
html:not([data-scale]) .am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-body .am-modal-input-container {
|
|
447
|
+
border-bottom: none;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
html:not([data-scale]) .am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-body .am-modal-input-container::after {
|
|
451
|
+
content: '';
|
|
452
|
+
position: absolute;
|
|
453
|
+
background-color: #ddd;
|
|
454
|
+
display: block;
|
|
455
|
+
z-index: 1;
|
|
456
|
+
top: auto;
|
|
457
|
+
right: auto;
|
|
458
|
+
bottom: 0;
|
|
459
|
+
left: 0;
|
|
460
|
+
width: 100%;
|
|
461
|
+
height: 1PX;
|
|
462
|
+
-webkit-transform-origin: 50% 100%;
|
|
463
|
+
-ms-transform-origin: 50% 100%;
|
|
464
|
+
transform-origin: 50% 100%;
|
|
465
|
+
-webkit-transform: scaleY(0.5);
|
|
466
|
+
-ms-transform: scaleY(0.5);
|
|
467
|
+
transform: scaleY(0.5);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
472
|
+
html:not([data-scale]) .am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-body .am-modal-input-container::after {
|
|
473
|
+
-webkit-transform: scaleY(0.33);
|
|
474
|
+
-ms-transform: scaleY(0.33);
|
|
475
|
+
transform: scaleY(0.33);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-body .am-modal-input-container .am-modal-input:first-child {
|
|
480
|
+
border-top: 0;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-body .am-modal-input-container .am-modal-input:first-child:before {
|
|
484
|
+
display: none !important;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-footer {
|
|
488
|
+
padding-bottom: 12px;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-footer .am-modal-button-group-h {
|
|
492
|
+
overflow: hidden;
|
|
493
|
+
border-top: 0;
|
|
494
|
+
-webkit-box-pack: end;
|
|
495
|
+
-webkit-justify-content: flex-end;
|
|
496
|
+
-ms-flex-pack: end;
|
|
497
|
+
justify-content: flex-end;
|
|
498
|
+
padding: 0 12px;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-footer .am-modal-button-group-h:before {
|
|
502
|
+
display: none !important;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-footer .am-modal-button-group-h .am-modal-button {
|
|
506
|
+
-webkit-box-flex: initial;
|
|
507
|
+
-webkit-flex: initial;
|
|
508
|
+
-ms-flex: initial;
|
|
509
|
+
flex: initial;
|
|
510
|
+
margin-left: 3px;
|
|
511
|
+
padding: 0 15px;
|
|
512
|
+
height: 48px;
|
|
513
|
+
-webkit-box-sizing: border-box;
|
|
514
|
+
box-sizing: border-box;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-footer .am-modal-button-group-h .am-modal-button:first-child {
|
|
518
|
+
color: #777;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-footer .am-modal-button-group-h .am-modal-button:last-child {
|
|
522
|
+
border-left: 0;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-footer .am-modal-button-group-h .am-modal-button:last-child:before {
|
|
526
|
+
display: none !important;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-footer .am-modal-button-group-v.am-modal-button-group-normal {
|
|
530
|
+
display: -webkit-box;
|
|
531
|
+
display: -webkit-flex;
|
|
532
|
+
display: -ms-flexbox;
|
|
533
|
+
display: flex;
|
|
534
|
+
-webkit-box-pack: end;
|
|
535
|
+
-webkit-justify-content: flex-end;
|
|
536
|
+
-ms-flex-pack: end;
|
|
537
|
+
justify-content: flex-end;
|
|
538
|
+
overflow: hidden;
|
|
539
|
+
padding: 0 12px;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-footer .am-modal-button-group-v.am-modal-button-group-normal .am-modal-button {
|
|
543
|
+
border-top: 0;
|
|
544
|
+
padding: 0 15px;
|
|
545
|
+
margin-left: 3px;
|
|
546
|
+
height: 48px;
|
|
547
|
+
-webkit-box-sizing: border-box;
|
|
548
|
+
box-sizing: border-box;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-footer .am-modal-button-group-v.am-modal-button-group-normal .am-modal-button:before {
|
|
552
|
+
display: none !important;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.am-modal.am-modal-transparent.am-modal-android .am-modal-content .am-modal-footer .am-modal-button-group-operation .am-modal-button {
|
|
556
|
+
text-align: start;
|
|
557
|
+
padding-left: 15px;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.am-modal.am-modal-operation .am-modal-content {
|
|
561
|
+
border-radius: 7px;
|
|
562
|
+
height: auto;
|
|
563
|
+
padding-top: 0;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.am-modal.am-modal-operation .am-modal-content .am-modal-body {
|
|
567
|
+
padding: 0 !important;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.am-modal.am-modal-operation .am-modal-content .am-modal-button {
|
|
571
|
+
color: #000;
|
|
572
|
+
text-align: left;
|
|
573
|
+
padding-left: 15px;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.am-modal-alert-content,
|
|
577
|
+
.am-modal-propmt-content {
|
|
578
|
+
zoom: 1;
|
|
579
|
+
overflow: hidden;
|
|
580
|
+
}
|
package/lib/Popover/index.js
CHANGED
|
@@ -9,6 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _rmcTooltip = _interopRequireDefault(require("rmc-tooltip"));
|
|
11
11
|
var _item = _interopRequireDefault(require("./item"));
|
|
12
|
+
require("./style/index.css");
|
|
12
13
|
function recursiveCloneChildren(children) {
|
|
13
14
|
let cb = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (ch, _) => ch;
|
|
14
15
|
return React.Children.map(children, (child, index) => {
|
package/lib/Progress/index.js
CHANGED
|
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
|
+
require("./index.css");
|
|
11
12
|
class Progress extends React.Component {
|
|
12
13
|
componentWillReceiveProps() {
|
|
13
14
|
this.noAppearTransition = true;
|
package/lib/TabBar/index.js
CHANGED
|
@@ -10,6 +10,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _getDataAttr = _interopRequireDefault(require("../_util/getDataAttr"));
|
|
11
11
|
var _Tabs = _interopRequireDefault(require("../Tabs"));
|
|
12
12
|
var _Tab = _interopRequireDefault(require("./Tab"));
|
|
13
|
+
require("./index.css");
|
|
13
14
|
class Item extends React.Component {
|
|
14
15
|
render() {
|
|
15
16
|
const {
|
package/lib/Tabs/index.js
CHANGED
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = exports.DefaultTabBar = void 0;
|
|
8
8
|
var React = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _rmcTabs = require("rmc-tabs");
|
|
10
|
+
require("./index.css");
|
|
10
11
|
class DefaultTabBar extends _rmcTabs.DefaultTabBar {}
|
|
11
12
|
exports.DefaultTabBar = DefaultTabBar;
|
|
12
13
|
DefaultTabBar.defaultProps = {
|