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