antd-mobile 5.25.0 → 5.25.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.
@@ -0,0 +1,399 @@
1
+ @supports not (color: var(--adm-color-text)) {
2
+ .adm-button {
3
+ color: #333333;
4
+ background-color: #ffffff;
5
+ font-size: 34px;
6
+ border-width: 2px;
7
+ border-style: solid;
8
+ border-color: #eeeeee;
9
+ border-radius: 8px;
10
+ }
11
+
12
+ .adm-button::before {
13
+ transform: translate(-2px, -2px);
14
+ border: 2px solid #000;
15
+ border-radius: 8px;
16
+ }
17
+
18
+ .adm-button-default.adm-button-fill-outline {
19
+ background-color: transparent;
20
+ border-color: #333333;
21
+ }
22
+
23
+ .adm-button-default.adm-button-fill-none {
24
+ background-color: transparent;
25
+ border-width: 0;
26
+ }
27
+
28
+ .adm-button:not(.adm-button-default) {
29
+ color: #ffffff;
30
+ }
31
+
32
+ .adm-button:not(.adm-button-default).adm-button-fill-outline {
33
+ background-color: transparent;
34
+ }
35
+
36
+ .adm-button:not(.adm-button-default).adm-button-fill-none {
37
+ background-color: transparent;
38
+ border-width: 0;
39
+ }
40
+
41
+ .adm-button-primary {
42
+ background-color: #1677ff;
43
+ border-color: #1677ff;
44
+ }
45
+
46
+ .adm-button-primary.adm-button-fill-outline,
47
+ .adm-button-primary.adm-button-fill-none {
48
+ color: #1677ff;
49
+ }
50
+
51
+ .adm-button-success {
52
+ background-color: #00b578;
53
+ border-color: #00b578;
54
+ }
55
+
56
+ .adm-button-success.adm-button-fill-outline,
57
+ .adm-button-success.adm-button-fill-none {
58
+ color: #00b578;
59
+ }
60
+
61
+ .adm-button-danger {
62
+ background-color: #00b578;
63
+ border-color: #00b578;
64
+ }
65
+
66
+ .adm-button-danger.adm-button-fill-outline,
67
+ .adm-button-danger.adm-button-fill-none {
68
+ color: #00b578;
69
+ }
70
+
71
+ .adm-button-warning {
72
+ background-color: #ff8f1f;
73
+ border-color: #ff8f1f;
74
+ }
75
+
76
+ .adm-button-warning.adm-button-fill-outline,
77
+ .adm-button-warning.adm-button-fill-none {
78
+ color: #ff8f1f;
79
+ }
80
+
81
+ .adm-button.adm-button-mini {
82
+ font-size: 26px;
83
+ }
84
+
85
+ .adm-button.adm-button-small {
86
+ padding-top: 6px;
87
+ padding-bottom: 6px;
88
+ font-size: 30px;
89
+ }
90
+
91
+ .adm-button.adm-button-large {
92
+ padding-top: 22px;
93
+ padding-bottom: 22px;
94
+ font-size: 36px;
95
+ }
96
+
97
+ .adm-button.adm-button-shape-rounded {
98
+ border-radius: 2000px;
99
+ }
100
+
101
+ .adm-button.adm-button-shape-rounded::before {
102
+ border-radius: 2000px;
103
+ }
104
+
105
+ .adm-button.adm-button-shape-rectangular {
106
+ border-radius: 0;
107
+ }
108
+
109
+ .adm-center-popup {
110
+ z-index: 1000;
111
+ }
112
+
113
+ .adm-center-popup-wrap {
114
+ min-width: 560px;
115
+ max-width: 75vw;
116
+ }
117
+
118
+ .adm-center-popup-body {
119
+ background-color: #ffffff;
120
+ border-radius: 16px;
121
+ }
122
+
123
+ .adm-error-block-image {
124
+ height: 200px;
125
+ width: auto;
126
+ }
127
+
128
+ .adm-error-block-description {
129
+ font-size: var(--adm-font-size-4);
130
+ }
131
+
132
+ .adm-error-block-description-title {
133
+ font-size: var(--adm-font-size-7);
134
+ }
135
+
136
+ .adm-error-block-full-page {
137
+ padding-top: calc(50vh - 400px);
138
+ }
139
+
140
+ .adm-error-block-full-page .adm-error-block-image {
141
+ height: 400px;
142
+ width: auto;
143
+ }
144
+
145
+ .adm-error-block-full-page .adm-error-block-description {
146
+ font-size: var(--adm-font-size-main);
147
+ }
148
+
149
+ .adm-error-block-full-page .adm-error-block-description-title {
150
+ color: #333333;
151
+ }
152
+
153
+ .adm-image {
154
+ width: auto;
155
+ height: auto;
156
+ }
157
+
158
+ .adm-image-tip {
159
+ background-color: #f5f5f5;
160
+ }
161
+
162
+ .adm-image-tip > svg {
163
+ color: #999999;
164
+ }
165
+
166
+ .adm-mask {
167
+ z-index: 1000;
168
+ }
169
+
170
+ .adm-modal-body {
171
+ font-size: 28px;
172
+ }
173
+
174
+ .adm-modal-title {
175
+ font-size: 36px;
176
+ }
177
+
178
+ .adm-modal-content {
179
+ font-size: 30px;
180
+ color: #333333;
181
+ }
182
+
183
+ .adm-modal-close {
184
+ color: #999999;
185
+ font-size: 36px;
186
+ }
187
+
188
+ .adm-modal-footer.adm-space.adm-space-vertical > .adm-space-item.adm-space-item {
189
+ margin-bottom: 40px;
190
+ }
191
+
192
+ .adm-modal-footer.adm-space.adm-space-vertical > .adm-space-item.adm-space-item:last-child {
193
+ margin-bottom: 0;
194
+ }
195
+
196
+ .adm-modal-footer .adm-modal-button {
197
+ font-size: 36px;
198
+ }
199
+
200
+ .adm-page-indicator-dot {
201
+ width: 6px;
202
+ height: 6px;
203
+ border-radius: 2px;
204
+ background: rgba(0, 0, 0, 0.2);
205
+ }
206
+
207
+ .adm-page-indicator-dot-active {
208
+ border-radius: 2px;
209
+ background: #1677ff;
210
+ }
211
+
212
+ .adm-page-indicator-color-white .adm-page-indicator-dot-active.adm-page-indicator-dot-active {
213
+ background: #ffffff;
214
+ }
215
+
216
+ .adm-page-indicator-horizontal .adm-page-indicator-dot {
217
+ margin-right: 6px;
218
+ }
219
+
220
+ .adm-page-indicator-horizontal .adm-page-indicator-dot-active {
221
+ width: 26px;
222
+ }
223
+
224
+ .adm-page-indicator-vertical .adm-page-indicator-dot {
225
+ margin-bottom: 6px;
226
+ }
227
+
228
+ .adm-page-indicator-vertical .adm-page-indicator-dot-active {
229
+ height: 26px;
230
+ }
231
+
232
+ .adm-popover-menu.adm-popover .adm-popover-inner-content {
233
+ padding: 0 !important;
234
+ }
235
+
236
+ .adm-popover-menu-item-text {
237
+ border-top: solid 2px #eeeeee;
238
+ }
239
+
240
+ .adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled) {
241
+ background-color: #eeeeee;
242
+ }
243
+
244
+ .adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled)::after {
245
+ border-bottom: solid 2px #eeeeee;
246
+ }
247
+
248
+ .adm-popover.adm-popover-dark.adm-popover-menu.adm-popover-menu .adm-popover-menu-item-text {
249
+ border-color: #333333;
250
+ }
251
+
252
+ .adm-popover.adm-popover-dark.adm-popover-menu.adm-popover-menu .adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled) {
253
+ background-color: #333333;
254
+ }
255
+
256
+ .adm-popover.adm-popover-dark.adm-popover-menu.adm-popover-menu .adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled)::after {
257
+ border-color: #333333;
258
+ }
259
+
260
+ .adm-popover.adm-popover-dark.adm-popover-menu.adm-popover-menu .adm-popover-inner.adm-popover-inner.adm-popover-inner {
261
+ background-color: rgba(0, 0, 0, 0.9);
262
+ }
263
+
264
+ .adm-popover {
265
+ z-index: 1030;
266
+ }
267
+
268
+ .adm-popover.adm-popover-dark {
269
+ color: #ffffff;
270
+ }
271
+
272
+ .adm-popover.adm-popover-dark .adm-popover-inner {
273
+ background-color: rgba(0, 0, 0, 0.75);
274
+ }
275
+
276
+ .adm-popover-inner {
277
+ background-color: #ffffff;
278
+ font-size: 30px;
279
+ }
280
+
281
+ .adm-popover-inner-content {
282
+ padding: 16px 24px;
283
+ }
284
+
285
+ .adm-popover-arrow {
286
+ display: none !important;
287
+ }
288
+
289
+ .adm-scroll-mask-left {
290
+ background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
291
+ }
292
+
293
+ .adm-scroll-mask-right {
294
+ background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
295
+ }
296
+
297
+ .adm-space-vertical > .adm-space-item {
298
+ margin-bottom: 16px;
299
+ }
300
+
301
+ .adm-space-horizontal > .adm-space-item {
302
+ margin-right: 16px;
303
+ }
304
+
305
+ .adm-space-horizontal.adm-space-wrap {
306
+ flex-wrap: wrap;
307
+ margin-bottom: -16px;
308
+ }
309
+
310
+ .adm-space-horizontal.adm-space-wrap > .adm-space-item {
311
+ padding-bottom: 16px;
312
+ }
313
+
314
+ .adm-spin-loading {
315
+ width: 64px;
316
+ height: 64px;
317
+ }
318
+
319
+ .adm-spin-loading-svg {
320
+ width: 100%;
321
+ height: 100%;
322
+ animation: adm-spin-loading-rotate 0.8s infinite linear;
323
+ }
324
+
325
+ .adm-spin-loading-svg > .adm-spin-loading-fill {
326
+ stroke: #999999;
327
+ }
328
+
329
+ .adm-swiper {
330
+ display: block;
331
+ width: 100%;
332
+ height: auto;
333
+ border-radius: 0;
334
+ }
335
+
336
+ .adm-swiper-track {
337
+ padding: 0;
338
+ }
339
+
340
+ .adm-swiper-horizontal .adm-swiper-track {
341
+ transform: translateX(0%);
342
+ }
343
+
344
+ .adm-swiper-horizontal .adm-swiper-track-inner {
345
+ width: 100%;
346
+ }
347
+
348
+ .adm-swiper-vertical .adm-swiper-track {
349
+ transform: translateY(0%);
350
+ }
351
+
352
+ .adm-swiper-vertical .adm-swiper-track-inner {
353
+ height: 100%;
354
+ }
355
+
356
+ .adm-tabs-header {
357
+ border-bottom: solid 2px #eeeeee;
358
+ }
359
+
360
+ .adm-tabs-tab {
361
+ font-size: 34px;
362
+ }
363
+
364
+ .adm-tabs-tab-active {
365
+ color: #1677ff;
366
+ }
367
+
368
+ .adm-tabs-tab-line {
369
+ height: 4px;
370
+ background: #1677ff;
371
+ border-radius: 4px;
372
+ }
373
+
374
+ .adm-tabs-content {
375
+ padding: 24px;
376
+ }
377
+
378
+ .adm-tabs-header-mask-left {
379
+ background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
380
+ }
381
+
382
+ .adm-tabs-header-mask-right {
383
+ background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
384
+ }
385
+
386
+ .adm-toast-mask .adm-toast-main {
387
+ font-size: 30px;
388
+ }
389
+
390
+ .adm-toast-loading.adm-toast-loading {
391
+ width: 96px;
392
+ height: 96px;
393
+ margin: 0 auto 16px;
394
+ }
395
+
396
+ .adm-toast-loading.adm-toast-loading .adm-spin-loading-fill {
397
+ stroke: #ffffff;
398
+ }
399
+ }
package/2x/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-mobile",
3
- "version": "5.25.0",
3
+ "version": "5.25.1",
4
4
  "dependencies": {
5
5
  "@floating-ui/dom": "^1.0.0",
6
6
  "@react-spring/web": "^9.4.5",