dolphin-weex-ui 2.2.0 → 2.2.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/CHANGELOG.md +6 -1
- package/dist/index.native.js +207 -168
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +184 -174
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-actionsheet/index.vue +1 -1
- package/packages/dof-bottom-bar/index.vue +1 -1
- package/packages/dof-button/index.vue +90 -12
- package/packages/dof-button/type.js +30 -30
- package/packages/dof-slider-bar/index.vue +483 -460
- package/packages/dof-step-flow-h/index.vue +173 -165
package/package.json
CHANGED
|
@@ -175,106 +175,184 @@ export default {
|
|
|
175
175
|
background-color: rgba(255, 255, 255, 0.1);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
+
.dof-btn-highlight-primary-default {
|
|
179
|
+
background-color: #267aff;
|
|
180
|
+
}
|
|
178
181
|
.dof-btn-highlight-primary-default:active {
|
|
179
182
|
background-color: #226de5;
|
|
180
183
|
}
|
|
181
|
-
|
|
184
|
+
.dof-btn-highlight-primary-base {
|
|
185
|
+
background-color: #e9f1ff;
|
|
186
|
+
}
|
|
182
187
|
.dof-btn-highlight-primary-base:active {
|
|
183
188
|
background-color: #d1d8e5;
|
|
184
189
|
}
|
|
190
|
+
.dof-btn-highlight-primary-plain {
|
|
191
|
+
background-color: #ffffff;
|
|
192
|
+
}
|
|
185
193
|
.dof-btn-highlight-primary-plain:active {
|
|
186
194
|
background-color: rgba(38, 122, 255, 0.1);
|
|
187
195
|
}
|
|
196
|
+
.dof-btn-highlight-purple-default {
|
|
197
|
+
background-color: #995efc;
|
|
198
|
+
}
|
|
188
199
|
.dof-btn-highlight-purple-default:active {
|
|
189
200
|
background-color: #8a54e3;
|
|
190
201
|
}
|
|
202
|
+
.dof-btn-highlight-purple-base {
|
|
203
|
+
background-color: #eee6ff;
|
|
204
|
+
}
|
|
191
205
|
.dof-btn-highlight-purple-base:active {
|
|
192
206
|
background-color: #d5cee5;
|
|
193
207
|
}
|
|
208
|
+
.dof-btn-highlight-purple-plain {
|
|
209
|
+
background-color: #ffffff;
|
|
210
|
+
}
|
|
194
211
|
.dof-btn-highlight-purple-plain:active {
|
|
195
212
|
background-color: rgba(153, 94, 252, 0.1);
|
|
196
213
|
}
|
|
197
214
|
|
|
215
|
+
.dof-btn-highlight-slate-default {
|
|
216
|
+
background-color: #6575ff;
|
|
217
|
+
}
|
|
198
218
|
.dof-btn-highlight-slate-default:active {
|
|
199
219
|
background-color: #5b69e6;
|
|
200
220
|
}
|
|
201
|
-
|
|
221
|
+
.dof-btn-highlight-slate-base {
|
|
222
|
+
background-color: #e6e8ff;
|
|
223
|
+
}
|
|
202
224
|
.dof-btn-highlight-slate-base:active {
|
|
203
225
|
background-color: #ced0e5;
|
|
204
226
|
}
|
|
227
|
+
.dof-btn-highlight-slate-plain {
|
|
228
|
+
background-color: #ffffff;
|
|
229
|
+
}
|
|
205
230
|
.dof-btn-highlight-slate-plain:active {
|
|
206
231
|
background-color: rgba(101, 117, 255, 0.1);
|
|
207
232
|
}
|
|
208
|
-
|
|
233
|
+
.dof-btn-highlight-aqua-default {
|
|
234
|
+
background-color: #29c3ff;
|
|
235
|
+
}
|
|
209
236
|
.dof-btn-highlight-aqua-default:active {
|
|
210
237
|
background-color: #24afe6;
|
|
211
238
|
}
|
|
212
|
-
|
|
239
|
+
.dof-btn-highlight-aqua-base {
|
|
240
|
+
background-color: #e6f8ff;
|
|
241
|
+
}
|
|
213
242
|
.dof-btn-highlight-aqua-base:active {
|
|
214
243
|
background-color: #cedee5;
|
|
215
244
|
}
|
|
245
|
+
.dof-btn-highlight-aqua-plain {
|
|
246
|
+
background-color: #ffffff;
|
|
247
|
+
}
|
|
216
248
|
.dof-btn-highlight-aqua-plain:active {
|
|
217
249
|
background-color: rgba(41, 195, 255, 0.1);
|
|
218
250
|
}
|
|
219
|
-
|
|
251
|
+
.dof-btn-highlight-turquoise-default {
|
|
252
|
+
background-color: #00cbb8;
|
|
253
|
+
}
|
|
220
254
|
.dof-btn-highlight-turquoise-default:active {
|
|
221
255
|
background-color: #00b7a5;
|
|
222
256
|
}
|
|
223
|
-
|
|
257
|
+
.dof-btn-highlight-turquoise-base {
|
|
258
|
+
background-color: #e6fffd;
|
|
259
|
+
}
|
|
224
260
|
.dof-btn-highlight-turquoise-base:active {
|
|
225
261
|
background-color: #cee5e3;
|
|
226
262
|
}
|
|
263
|
+
.dof-btn-highlight-turquoise-plain {
|
|
264
|
+
background-color: #ffffff;
|
|
265
|
+
}
|
|
227
266
|
.dof-btn-highlight-turquoise-plain:active {
|
|
228
267
|
background-color: rgba(0, 203, 184, 0.1);
|
|
229
268
|
}
|
|
230
|
-
|
|
269
|
+
.dof-btn-highlight-yellow-default {
|
|
270
|
+
background-color: #ffaa10;
|
|
271
|
+
}
|
|
231
272
|
.dof-btn-highlight-yellow-default:active {
|
|
232
273
|
background-color: #e5980e;
|
|
233
274
|
}
|
|
234
|
-
|
|
275
|
+
.dof-btn-highlight-yellow-base {
|
|
276
|
+
background-color: #fff4e0;
|
|
277
|
+
}
|
|
235
278
|
.dof-btn-highlight-yellow-base:active {
|
|
236
279
|
background-color: #e5dbc9;
|
|
237
280
|
}
|
|
281
|
+
.dof-btn-highlight-yellow-plain {
|
|
282
|
+
background-color: #ffffff;
|
|
283
|
+
}
|
|
238
284
|
.dof-btn-highlight-yellow-plain:active {
|
|
239
285
|
background-color: rgba(255, 170, 16, 0.1);
|
|
240
286
|
}
|
|
241
|
-
|
|
287
|
+
.dof-btn-highlight-orange-default {
|
|
288
|
+
background-color: #ff8225;
|
|
289
|
+
}
|
|
242
290
|
.dof-btn-highlight-orange-default:active {
|
|
243
291
|
background-color: #e67521;
|
|
244
292
|
}
|
|
245
|
-
|
|
293
|
+
.dof-btn-highlight-orange-base {
|
|
294
|
+
background-color: #fff0e6;
|
|
295
|
+
}
|
|
246
296
|
.dof-btn-highlight-orange-base:active {
|
|
247
297
|
background-color: #e5d7ce;
|
|
248
298
|
}
|
|
299
|
+
.dof-btn-highlight-orange-plain {
|
|
300
|
+
background-color: #ffffff;
|
|
301
|
+
}
|
|
249
302
|
.dof-btn-highlight-orange-plain:active {
|
|
250
303
|
background-color: rgba(255, 130, 37, 0.1);
|
|
251
304
|
}
|
|
252
|
-
|
|
305
|
+
.dof-btn-highlight-tomato-default {
|
|
306
|
+
background-color: #ff6a4c;
|
|
307
|
+
}
|
|
253
308
|
.dof-btn-highlight-tomato-default:active {
|
|
254
309
|
background-color: #e65f44;
|
|
255
310
|
}
|
|
311
|
+
.dof-btn-highlight-tomato-base {
|
|
312
|
+
background-color: #ffeae6;
|
|
313
|
+
}
|
|
256
314
|
.dof-btn-highlight-tomato-base:active {
|
|
257
315
|
background-color: #e6d3cf;
|
|
258
316
|
}
|
|
317
|
+
.dof-btn-highlight-tomato-plain {
|
|
318
|
+
background-color: #ffffff;
|
|
319
|
+
}
|
|
259
320
|
.dof-btn-highlight-tomato-plain:active {
|
|
260
321
|
background-color: rgba(255, 106, 76, 0.1);
|
|
261
322
|
}
|
|
262
|
-
|
|
323
|
+
.dof-btn-highlight-gray-default {
|
|
324
|
+
background-color: #7c879b;
|
|
325
|
+
}
|
|
263
326
|
.dof-btn-highlight-gray-default:active {
|
|
264
327
|
background-color: #6f798b;
|
|
265
328
|
}
|
|
329
|
+
.dof-btn-highlight-gray-base {
|
|
330
|
+
background-color: #cfd7e6;
|
|
331
|
+
}
|
|
266
332
|
.dof-btn-highlight-gray-base:active {
|
|
267
333
|
background-color: #b9c1ce;
|
|
268
334
|
}
|
|
335
|
+
.dof-btn-highlight-gray-plain {
|
|
336
|
+
background-color: #ffffff;
|
|
337
|
+
}
|
|
269
338
|
.dof-btn-highlight-gray-plain:active {
|
|
270
339
|
background-color: rgba(124, 135, 155, 0.1);
|
|
271
340
|
}
|
|
341
|
+
.dof-btn-highlight-colmo-default {
|
|
342
|
+
background-color: #b35336;
|
|
343
|
+
}
|
|
272
344
|
.dof-btn-highlight-colmo-default:active {
|
|
273
345
|
background-color: #743d2a;
|
|
274
346
|
}
|
|
347
|
+
.dof-btn-highlight-colmo-base {
|
|
348
|
+
background-color: #292c30;
|
|
349
|
+
}
|
|
275
350
|
.dof-btn-highlight-colmo-base:active {
|
|
276
351
|
background-color: rgba(0, 0, 0, 0.3);
|
|
277
352
|
}
|
|
353
|
+
.dof-btn-highlight-colmo-plain {
|
|
354
|
+
background-color: transparent;
|
|
355
|
+
}
|
|
278
356
|
.dof-btn-highlight-colmo-plain:active {
|
|
279
357
|
background-color: #636569;
|
|
280
358
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export const STYLE_MAP = {
|
|
2
2
|
primary: {
|
|
3
3
|
default: {
|
|
4
|
-
backgroundColor: '#267AFF'
|
|
4
|
+
// backgroundColor: '#267AFF'
|
|
5
5
|
},
|
|
6
6
|
base: {
|
|
7
|
-
backgroundColor: '#E9F1FF'
|
|
7
|
+
// backgroundColor: '#E9F1FF'
|
|
8
8
|
},
|
|
9
9
|
plain: {
|
|
10
|
-
backgroundColor: '#FFFFFF',
|
|
10
|
+
// backgroundColor: '#FFFFFF',
|
|
11
11
|
borderWidth: '2px',
|
|
12
12
|
borderColor: '#267AFF'
|
|
13
13
|
},
|
|
@@ -18,13 +18,13 @@ export const STYLE_MAP = {
|
|
|
18
18
|
},
|
|
19
19
|
purple: {
|
|
20
20
|
default: {
|
|
21
|
-
backgroundColor: '#995EFC'
|
|
21
|
+
// backgroundColor: '#995EFC'
|
|
22
22
|
},
|
|
23
23
|
base: {
|
|
24
|
-
backgroundColor: '#EEE6FF'
|
|
24
|
+
// backgroundColor: '#EEE6FF'
|
|
25
25
|
},
|
|
26
26
|
plain: {
|
|
27
|
-
backgroundColor: '#FFFFFF',
|
|
27
|
+
// backgroundColor: '#FFFFFF',
|
|
28
28
|
borderWidth: '2px',
|
|
29
29
|
borderColor: '#995EFC'
|
|
30
30
|
},
|
|
@@ -35,13 +35,13 @@ export const STYLE_MAP = {
|
|
|
35
35
|
},
|
|
36
36
|
slate: {
|
|
37
37
|
default: {
|
|
38
|
-
backgroundColor: '#6575FF'
|
|
38
|
+
// backgroundColor: '#6575FF'
|
|
39
39
|
},
|
|
40
40
|
base: {
|
|
41
|
-
backgroundColor: '#E6E8FF'
|
|
41
|
+
// backgroundColor: '#E6E8FF'
|
|
42
42
|
},
|
|
43
43
|
plain: {
|
|
44
|
-
backgroundColor: '#FFFFFF',
|
|
44
|
+
// backgroundColor: '#FFFFFF',
|
|
45
45
|
borderWidth: '2px',
|
|
46
46
|
borderColor: '#6575FF'
|
|
47
47
|
},
|
|
@@ -52,13 +52,13 @@ export const STYLE_MAP = {
|
|
|
52
52
|
},
|
|
53
53
|
aqua: {
|
|
54
54
|
default: {
|
|
55
|
-
backgroundColor: '#29C3FF'
|
|
55
|
+
// backgroundColor: '#29C3FF'
|
|
56
56
|
},
|
|
57
57
|
base: {
|
|
58
|
-
backgroundColor: '#E6F8FF'
|
|
58
|
+
// backgroundColor: '#E6F8FF'
|
|
59
59
|
},
|
|
60
60
|
plain: {
|
|
61
|
-
backgroundColor: '#FFFFFF',
|
|
61
|
+
// backgroundColor: '#FFFFFF',
|
|
62
62
|
borderWidth: '2px',
|
|
63
63
|
borderColor: '#29C3FF'
|
|
64
64
|
},
|
|
@@ -69,13 +69,13 @@ export const STYLE_MAP = {
|
|
|
69
69
|
},
|
|
70
70
|
turquoise: {
|
|
71
71
|
default: {
|
|
72
|
-
backgroundColor: '#00CBB8'
|
|
72
|
+
// backgroundColor: '#00CBB8'
|
|
73
73
|
},
|
|
74
74
|
base: {
|
|
75
|
-
backgroundColor: '#E6FFFD'
|
|
75
|
+
// backgroundColor: '#E6FFFD'
|
|
76
76
|
},
|
|
77
77
|
plain: {
|
|
78
|
-
backgroundColor: '#FFFFFF',
|
|
78
|
+
// backgroundColor: '#FFFFFF',
|
|
79
79
|
borderWidth: '2px',
|
|
80
80
|
borderColor: '#00CBB8'
|
|
81
81
|
},
|
|
@@ -86,13 +86,13 @@ export const STYLE_MAP = {
|
|
|
86
86
|
},
|
|
87
87
|
yellow: {
|
|
88
88
|
default: {
|
|
89
|
-
backgroundColor: '#FFAA10'
|
|
89
|
+
// backgroundColor: '#FFAA10'
|
|
90
90
|
},
|
|
91
91
|
base: {
|
|
92
|
-
backgroundColor: '#FFF4E0'
|
|
92
|
+
// backgroundColor: '#FFF4E0'
|
|
93
93
|
},
|
|
94
94
|
plain: {
|
|
95
|
-
backgroundColor: '#FFFFFF',
|
|
95
|
+
// backgroundColor: '#FFFFFF',
|
|
96
96
|
borderWidth: '2px',
|
|
97
97
|
borderColor: '#FFAA10'
|
|
98
98
|
},
|
|
@@ -103,13 +103,13 @@ export const STYLE_MAP = {
|
|
|
103
103
|
},
|
|
104
104
|
orange: {
|
|
105
105
|
default: {
|
|
106
|
-
backgroundColor: '#FF8225'
|
|
106
|
+
// backgroundColor: '#FF8225'
|
|
107
107
|
},
|
|
108
108
|
base: {
|
|
109
|
-
backgroundColor: '#FFF0E6'
|
|
109
|
+
// backgroundColor: '#FFF0E6'
|
|
110
110
|
},
|
|
111
111
|
plain: {
|
|
112
|
-
backgroundColor: '#FFFFFF',
|
|
112
|
+
// backgroundColor: '#FFFFFF',
|
|
113
113
|
borderWidth: '2px',
|
|
114
114
|
borderColor: '#FF8225'
|
|
115
115
|
},
|
|
@@ -120,13 +120,13 @@ export const STYLE_MAP = {
|
|
|
120
120
|
},
|
|
121
121
|
tomato: {
|
|
122
122
|
default: {
|
|
123
|
-
backgroundColor: '#FF6A4C'
|
|
123
|
+
// backgroundColor: '#FF6A4C'
|
|
124
124
|
},
|
|
125
125
|
base: {
|
|
126
|
-
backgroundColor: '#FFEaE6'
|
|
126
|
+
// backgroundColor: '#FFEaE6'
|
|
127
127
|
},
|
|
128
128
|
plain: {
|
|
129
|
-
backgroundColor: '#FFFFFF',
|
|
129
|
+
// backgroundColor: '#FFFFFF',
|
|
130
130
|
borderWidth: '2px',
|
|
131
131
|
borderColor: '#FF6A4C'
|
|
132
132
|
},
|
|
@@ -137,13 +137,13 @@ export const STYLE_MAP = {
|
|
|
137
137
|
},
|
|
138
138
|
gray: {
|
|
139
139
|
default: {
|
|
140
|
-
backgroundColor: '#7C879B'
|
|
140
|
+
// backgroundColor: '#7C879B'
|
|
141
141
|
},
|
|
142
142
|
base: {
|
|
143
|
-
backgroundColor: '#CFD7E6'
|
|
143
|
+
// backgroundColor: '#CFD7E6'
|
|
144
144
|
},
|
|
145
145
|
plain: {
|
|
146
|
-
backgroundColor: '#FFFFFF',
|
|
146
|
+
// backgroundColor: '#FFFFFF',
|
|
147
147
|
borderWidth: '2px',
|
|
148
148
|
borderColor: '#7C879B'
|
|
149
149
|
},
|
|
@@ -188,13 +188,13 @@ export const STYLE_MAP = {
|
|
|
188
188
|
},
|
|
189
189
|
colmo: {
|
|
190
190
|
default: {
|
|
191
|
-
backgroundColor: '#B35336'
|
|
191
|
+
// backgroundColor: '#B35336'
|
|
192
192
|
},
|
|
193
193
|
base: {
|
|
194
|
-
backgroundColor: '#292c30'
|
|
194
|
+
// backgroundColor: '#292c30'
|
|
195
195
|
},
|
|
196
196
|
plain: {
|
|
197
|
-
backgroundColor: 'transparent',
|
|
197
|
+
// backgroundColor: 'transparent',
|
|
198
198
|
borderWidth: '2px',
|
|
199
199
|
borderColor: '#B35336'
|
|
200
200
|
},
|