react-toolkits 2.15.3 → 2.15.5
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 +12 -0
- package/lib/index.css +476 -1
- package/lib/index.css.map +1 -0
- package/lib/index.d.ts +4 -5
- package/lib/index.js +3959 -2
- package/lib/index.js.map +1 -0
- package/locale/context.js +9 -1
- package/locale/context.js.map +1 -0
- package/locale/en_GB.js +96 -1
- package/locale/en_GB.js.map +1 -0
- package/locale/hooks.js +30 -1
- package/locale/hooks.js.map +1 -0
- package/locale/index.js +30 -1
- package/locale/index.js.map +1 -0
- package/locale/ja_JP.js +96 -1
- package/locale/ja_JP.js.map +1 -0
- package/locale/ko_KR.js +96 -1
- package/locale/ko_KR.js.map +1 -0
- package/locale/zh_CN.js +96 -1
- package/locale/zh_CN.js.map +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# react-toolkits
|
|
2
2
|
|
|
3
|
+
## 2.15.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e102f67: 更新Drawer组件,调整类型导入方式,优化confirmButtonProps和cancelButtonProps的类型定义。
|
|
8
|
+
|
|
9
|
+
## 2.15.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 2ae7b54: 更新Drawer组件,重构footer逻辑以支持自定义footer,移除showFooter属性,优化FormDrawer以适应新footer实现。
|
|
14
|
+
|
|
3
15
|
## 2.15.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/lib/index.css
CHANGED
|
@@ -1,2 +1,477 @@
|
|
|
1
|
-
|
|
1
|
+
/* src/styles/index.css */
|
|
2
|
+
@layer properties;
|
|
3
|
+
@layer theme, base, components, utilities;
|
|
4
|
+
@layer theme {
|
|
5
|
+
:root,
|
|
6
|
+
:host {
|
|
7
|
+
--font-sans:
|
|
8
|
+
ui-sans-serif,
|
|
9
|
+
system-ui,
|
|
10
|
+
sans-serif,
|
|
11
|
+
"Apple Color Emoji",
|
|
12
|
+
"Segoe UI Emoji",
|
|
13
|
+
"Segoe UI Symbol",
|
|
14
|
+
"Noto Color Emoji";
|
|
15
|
+
--font-mono:
|
|
16
|
+
ui-monospace,
|
|
17
|
+
SFMono-Regular,
|
|
18
|
+
Menlo,
|
|
19
|
+
Monaco,
|
|
20
|
+
Consolas,
|
|
21
|
+
"Liberation Mono",
|
|
22
|
+
"Courier New",
|
|
23
|
+
monospace;
|
|
24
|
+
--color-slate-50: oklch(98.4% 0.003 247.858);
|
|
25
|
+
--spacing: 0.25rem;
|
|
26
|
+
--text-2xl: 1.5rem;
|
|
27
|
+
--text-2xl--line-height: calc(2 / 1.5);
|
|
28
|
+
--font-weight-bold: 700;
|
|
29
|
+
--default-font-family: var(--font-sans);
|
|
30
|
+
--default-mono-font-family: var(--font-mono);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
@layer base {
|
|
34
|
+
*,
|
|
35
|
+
::after,
|
|
36
|
+
::before,
|
|
37
|
+
::backdrop,
|
|
38
|
+
::file-selector-button {
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
margin: 0;
|
|
41
|
+
padding: 0;
|
|
42
|
+
border: 0 solid;
|
|
43
|
+
}
|
|
44
|
+
html,
|
|
45
|
+
:host {
|
|
46
|
+
line-height: 1.5;
|
|
47
|
+
-webkit-text-size-adjust: 100%;
|
|
48
|
+
-moz-tab-size: 4;
|
|
49
|
+
-o-tab-size: 4;
|
|
50
|
+
tab-size: 4;
|
|
51
|
+
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
52
|
+
font-feature-settings: var(--default-font-feature-settings, normal);
|
|
53
|
+
font-variation-settings: var(--default-font-variation-settings, normal);
|
|
54
|
+
-webkit-tap-highlight-color: transparent;
|
|
55
|
+
}
|
|
56
|
+
hr {
|
|
57
|
+
height: 0;
|
|
58
|
+
color: inherit;
|
|
59
|
+
border-top-width: 1px;
|
|
60
|
+
}
|
|
61
|
+
abbr:where([title]) {
|
|
62
|
+
-webkit-text-decoration: underline dotted;
|
|
63
|
+
text-decoration: underline dotted;
|
|
64
|
+
}
|
|
65
|
+
h1,
|
|
66
|
+
h2,
|
|
67
|
+
h3,
|
|
68
|
+
h4,
|
|
69
|
+
h5,
|
|
70
|
+
h6 {
|
|
71
|
+
font-size: inherit;
|
|
72
|
+
font-weight: inherit;
|
|
73
|
+
}
|
|
74
|
+
a {
|
|
75
|
+
color: inherit;
|
|
76
|
+
-webkit-text-decoration: inherit;
|
|
77
|
+
text-decoration: inherit;
|
|
78
|
+
}
|
|
79
|
+
b,
|
|
80
|
+
strong {
|
|
81
|
+
font-weight: bolder;
|
|
82
|
+
}
|
|
83
|
+
code,
|
|
84
|
+
kbd,
|
|
85
|
+
samp,
|
|
86
|
+
pre {
|
|
87
|
+
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
88
|
+
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
|
89
|
+
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
|
90
|
+
font-size: 1em;
|
|
91
|
+
}
|
|
92
|
+
small {
|
|
93
|
+
font-size: 80%;
|
|
94
|
+
}
|
|
95
|
+
sub,
|
|
96
|
+
sup {
|
|
97
|
+
font-size: 75%;
|
|
98
|
+
line-height: 0;
|
|
99
|
+
position: relative;
|
|
100
|
+
vertical-align: baseline;
|
|
101
|
+
}
|
|
102
|
+
sub {
|
|
103
|
+
bottom: -0.25em;
|
|
104
|
+
}
|
|
105
|
+
sup {
|
|
106
|
+
top: -0.5em;
|
|
107
|
+
}
|
|
108
|
+
table {
|
|
109
|
+
text-indent: 0;
|
|
110
|
+
border-color: inherit;
|
|
111
|
+
border-collapse: collapse;
|
|
112
|
+
}
|
|
113
|
+
:-moz-focusring {
|
|
114
|
+
outline: auto;
|
|
115
|
+
}
|
|
116
|
+
progress {
|
|
117
|
+
vertical-align: baseline;
|
|
118
|
+
}
|
|
119
|
+
summary {
|
|
120
|
+
display: list-item;
|
|
121
|
+
}
|
|
122
|
+
ol,
|
|
123
|
+
ul,
|
|
124
|
+
menu {
|
|
125
|
+
list-style: none;
|
|
126
|
+
}
|
|
127
|
+
img,
|
|
128
|
+
svg,
|
|
129
|
+
video,
|
|
130
|
+
canvas,
|
|
131
|
+
audio,
|
|
132
|
+
iframe,
|
|
133
|
+
embed,
|
|
134
|
+
object {
|
|
135
|
+
display: block;
|
|
136
|
+
vertical-align: middle;
|
|
137
|
+
}
|
|
138
|
+
img,
|
|
139
|
+
video {
|
|
140
|
+
max-width: 100%;
|
|
141
|
+
height: auto;
|
|
142
|
+
}
|
|
143
|
+
button,
|
|
144
|
+
input,
|
|
145
|
+
select,
|
|
146
|
+
optgroup,
|
|
147
|
+
textarea,
|
|
148
|
+
::file-selector-button {
|
|
149
|
+
font: inherit;
|
|
150
|
+
font-feature-settings: inherit;
|
|
151
|
+
font-variation-settings: inherit;
|
|
152
|
+
letter-spacing: inherit;
|
|
153
|
+
color: inherit;
|
|
154
|
+
border-radius: 0;
|
|
155
|
+
background-color: transparent;
|
|
156
|
+
opacity: 1;
|
|
157
|
+
}
|
|
158
|
+
:where(select:is([multiple], [size])) optgroup {
|
|
159
|
+
font-weight: bolder;
|
|
160
|
+
}
|
|
161
|
+
:where(select:is([multiple], [size])) optgroup option {
|
|
162
|
+
padding-inline-start: 20px;
|
|
163
|
+
}
|
|
164
|
+
::file-selector-button {
|
|
165
|
+
margin-inline-end: 4px;
|
|
166
|
+
}
|
|
167
|
+
::-moz-placeholder {
|
|
168
|
+
opacity: 1;
|
|
169
|
+
}
|
|
170
|
+
::placeholder {
|
|
171
|
+
opacity: 1;
|
|
172
|
+
}
|
|
173
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
174
|
+
::-moz-placeholder {
|
|
175
|
+
color: currentcolor;
|
|
176
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
177
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
::placeholder {
|
|
181
|
+
color: currentcolor;
|
|
182
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
183
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
textarea {
|
|
188
|
+
resize: vertical;
|
|
189
|
+
}
|
|
190
|
+
::-webkit-search-decoration {
|
|
191
|
+
-webkit-appearance: none;
|
|
192
|
+
}
|
|
193
|
+
::-webkit-date-and-time-value {
|
|
194
|
+
min-height: 1lh;
|
|
195
|
+
text-align: inherit;
|
|
196
|
+
}
|
|
197
|
+
::-webkit-datetime-edit {
|
|
198
|
+
display: inline-flex;
|
|
199
|
+
}
|
|
200
|
+
::-webkit-datetime-edit-fields-wrapper {
|
|
201
|
+
padding: 0;
|
|
202
|
+
}
|
|
203
|
+
::-webkit-datetime-edit,
|
|
204
|
+
::-webkit-datetime-edit-year-field,
|
|
205
|
+
::-webkit-datetime-edit-month-field,
|
|
206
|
+
::-webkit-datetime-edit-day-field,
|
|
207
|
+
::-webkit-datetime-edit-hour-field,
|
|
208
|
+
::-webkit-datetime-edit-minute-field,
|
|
209
|
+
::-webkit-datetime-edit-second-field,
|
|
210
|
+
::-webkit-datetime-edit-millisecond-field,
|
|
211
|
+
::-webkit-datetime-edit-meridiem-field {
|
|
212
|
+
padding-block: 0;
|
|
213
|
+
}
|
|
214
|
+
:-moz-ui-invalid {
|
|
215
|
+
box-shadow: none;
|
|
216
|
+
}
|
|
217
|
+
button,
|
|
218
|
+
input:where([type=button], [type=reset], [type=submit]),
|
|
219
|
+
::file-selector-button {
|
|
220
|
+
-webkit-appearance: button;
|
|
221
|
+
-moz-appearance: button;
|
|
222
|
+
appearance: button;
|
|
223
|
+
}
|
|
224
|
+
::-webkit-inner-spin-button,
|
|
225
|
+
::-webkit-outer-spin-button {
|
|
226
|
+
height: auto;
|
|
227
|
+
}
|
|
228
|
+
[hidden]:where(:not([hidden=until-found])) {
|
|
229
|
+
display: none !important;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
@layer utilities {
|
|
233
|
+
.collapse {
|
|
234
|
+
visibility: collapse;
|
|
235
|
+
}
|
|
236
|
+
.absolute {
|
|
237
|
+
position: absolute;
|
|
238
|
+
}
|
|
239
|
+
.fixed {
|
|
240
|
+
position: fixed;
|
|
241
|
+
}
|
|
242
|
+
.relative {
|
|
243
|
+
position: relative;
|
|
244
|
+
}
|
|
245
|
+
.top-0 {
|
|
246
|
+
top: calc(var(--spacing) * 0);
|
|
247
|
+
}
|
|
248
|
+
.top-1\/2 {
|
|
249
|
+
top: calc(1/2 * 100%);
|
|
250
|
+
}
|
|
251
|
+
.top-6 {
|
|
252
|
+
top: calc(var(--spacing) * 6);
|
|
253
|
+
}
|
|
254
|
+
.top-16 {
|
|
255
|
+
top: calc(var(--spacing) * 16);
|
|
256
|
+
}
|
|
257
|
+
.right-0 {
|
|
258
|
+
right: calc(var(--spacing) * 0);
|
|
259
|
+
}
|
|
260
|
+
.right-16 {
|
|
261
|
+
right: calc(var(--spacing) * 16);
|
|
262
|
+
}
|
|
263
|
+
.bottom-0 {
|
|
264
|
+
bottom: calc(var(--spacing) * 0);
|
|
265
|
+
}
|
|
266
|
+
.left-0 {
|
|
267
|
+
left: calc(var(--spacing) * 0);
|
|
268
|
+
}
|
|
269
|
+
.left-14 {
|
|
270
|
+
left: calc(var(--spacing) * 14);
|
|
271
|
+
}
|
|
272
|
+
.z-10 {
|
|
273
|
+
z-index: 10;
|
|
274
|
+
}
|
|
275
|
+
.container {
|
|
276
|
+
width: 100%;
|
|
277
|
+
@media (width >= 40rem) {
|
|
278
|
+
max-width: 40rem;
|
|
279
|
+
}
|
|
280
|
+
@media (width >= 48rem) {
|
|
281
|
+
max-width: 48rem;
|
|
282
|
+
}
|
|
283
|
+
@media (width >= 64rem) {
|
|
284
|
+
max-width: 64rem;
|
|
285
|
+
}
|
|
286
|
+
@media (width >= 80rem) {
|
|
287
|
+
max-width: 80rem;
|
|
288
|
+
}
|
|
289
|
+
@media (width >= 96rem) {
|
|
290
|
+
max-width: 96rem;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
.my-12 {
|
|
294
|
+
margin-block: calc(var(--spacing) * 12);
|
|
295
|
+
}
|
|
296
|
+
.mt-4 {
|
|
297
|
+
margin-top: calc(var(--spacing) * 4);
|
|
298
|
+
}
|
|
299
|
+
.mr-6 {
|
|
300
|
+
margin-right: calc(var(--spacing) * 6);
|
|
301
|
+
}
|
|
302
|
+
.mb-0 {
|
|
303
|
+
margin-bottom: calc(var(--spacing) * 0);
|
|
304
|
+
}
|
|
305
|
+
.mb-4 {
|
|
306
|
+
margin-bottom: calc(var(--spacing) * 4);
|
|
307
|
+
}
|
|
308
|
+
.mb-6 {
|
|
309
|
+
margin-bottom: calc(var(--spacing) * 6);
|
|
310
|
+
}
|
|
311
|
+
.mb-12 {
|
|
312
|
+
margin-bottom: calc(var(--spacing) * 12);
|
|
313
|
+
}
|
|
314
|
+
.ml-2 {
|
|
315
|
+
margin-left: calc(var(--spacing) * 2);
|
|
316
|
+
}
|
|
317
|
+
.ml-4 {
|
|
318
|
+
margin-left: calc(var(--spacing) * 4);
|
|
319
|
+
}
|
|
320
|
+
.block {
|
|
321
|
+
display: block;
|
|
322
|
+
}
|
|
323
|
+
.flex {
|
|
324
|
+
display: flex;
|
|
325
|
+
}
|
|
326
|
+
.hidden {
|
|
327
|
+
display: none;
|
|
328
|
+
}
|
|
329
|
+
.inline {
|
|
330
|
+
display: inline;
|
|
331
|
+
}
|
|
332
|
+
.h-8 {
|
|
333
|
+
height: calc(var(--spacing) * 8);
|
|
334
|
+
}
|
|
335
|
+
.h-10 {
|
|
336
|
+
height: calc(var(--spacing) * 10);
|
|
337
|
+
}
|
|
338
|
+
.h-full {
|
|
339
|
+
height: 100%;
|
|
340
|
+
}
|
|
341
|
+
.h-screen {
|
|
342
|
+
height: 100vh;
|
|
343
|
+
}
|
|
344
|
+
.w-8 {
|
|
345
|
+
width: calc(var(--spacing) * 8);
|
|
346
|
+
}
|
|
347
|
+
.w-10\/12 {
|
|
348
|
+
width: calc(10/12 * 100%);
|
|
349
|
+
}
|
|
350
|
+
.w-\[650px\] {
|
|
351
|
+
width: 650px;
|
|
352
|
+
}
|
|
353
|
+
.w-full {
|
|
354
|
+
width: 100%;
|
|
355
|
+
}
|
|
356
|
+
.w-screen {
|
|
357
|
+
width: 100vw;
|
|
358
|
+
}
|
|
359
|
+
.flex-1 {
|
|
360
|
+
flex: 1;
|
|
361
|
+
}
|
|
362
|
+
.flex-grow-0 {
|
|
363
|
+
flex-grow: 0;
|
|
364
|
+
}
|
|
365
|
+
.-translate-y-1\/2 {
|
|
366
|
+
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
367
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
368
|
+
}
|
|
369
|
+
.-translate-y-10 {
|
|
370
|
+
--tw-translate-y: calc(var(--spacing) * -10);
|
|
371
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
372
|
+
}
|
|
373
|
+
.flex-col {
|
|
374
|
+
flex-direction: column;
|
|
375
|
+
}
|
|
376
|
+
.flex-row {
|
|
377
|
+
flex-direction: row;
|
|
378
|
+
}
|
|
379
|
+
.items-center {
|
|
380
|
+
align-items: center;
|
|
381
|
+
}
|
|
382
|
+
.justify-between {
|
|
383
|
+
justify-content: space-between;
|
|
384
|
+
}
|
|
385
|
+
.justify-center {
|
|
386
|
+
justify-content: center;
|
|
387
|
+
}
|
|
388
|
+
.gap-8 {
|
|
389
|
+
gap: calc(var(--spacing) * 8);
|
|
390
|
+
}
|
|
391
|
+
.overflow-hidden {
|
|
392
|
+
overflow: hidden;
|
|
393
|
+
}
|
|
394
|
+
.bg-slate-50 {
|
|
395
|
+
background-color: var(--color-slate-50);
|
|
396
|
+
}
|
|
397
|
+
.px-6 {
|
|
398
|
+
padding-inline: calc(var(--spacing) * 6);
|
|
399
|
+
}
|
|
400
|
+
.px-36 {
|
|
401
|
+
padding-inline: calc(var(--spacing) * 36);
|
|
402
|
+
}
|
|
403
|
+
.py-4 {
|
|
404
|
+
padding-block: calc(var(--spacing) * 4);
|
|
405
|
+
}
|
|
406
|
+
.text-center {
|
|
407
|
+
text-align: center;
|
|
408
|
+
}
|
|
409
|
+
.text-end {
|
|
410
|
+
text-align: end;
|
|
411
|
+
}
|
|
412
|
+
.text-start {
|
|
413
|
+
text-align: start;
|
|
414
|
+
}
|
|
415
|
+
.text-2xl {
|
|
416
|
+
font-size: var(--text-2xl);
|
|
417
|
+
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
418
|
+
}
|
|
419
|
+
.font-bold {
|
|
420
|
+
--tw-font-weight: var(--font-weight-bold);
|
|
421
|
+
font-weight: var(--font-weight-bold);
|
|
422
|
+
}
|
|
423
|
+
.opacity-0 {
|
|
424
|
+
opacity: 0%;
|
|
425
|
+
}
|
|
426
|
+
.filter {
|
|
427
|
+
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
428
|
+
}
|
|
429
|
+
.delay-200 {
|
|
430
|
+
transition-delay: 200ms;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
434
|
+
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
435
|
+
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
436
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
437
|
+
@property --tw-blur { syntax: "*"; inherits: false; }
|
|
438
|
+
@property --tw-brightness { syntax: "*"; inherits: false; }
|
|
439
|
+
@property --tw-contrast { syntax: "*"; inherits: false; }
|
|
440
|
+
@property --tw-grayscale { syntax: "*"; inherits: false; }
|
|
441
|
+
@property --tw-hue-rotate { syntax: "*"; inherits: false; }
|
|
442
|
+
@property --tw-invert { syntax: "*"; inherits: false; }
|
|
443
|
+
@property --tw-opacity { syntax: "*"; inherits: false; }
|
|
444
|
+
@property --tw-saturate { syntax: "*"; inherits: false; }
|
|
445
|
+
@property --tw-sepia { syntax: "*"; inherits: false; }
|
|
446
|
+
@property --tw-drop-shadow { syntax: "*"; inherits: false; }
|
|
447
|
+
@property --tw-drop-shadow-color { syntax: "*"; inherits: false; }
|
|
448
|
+
@property --tw-drop-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
449
|
+
@property --tw-drop-shadow-size { syntax: "*"; inherits: false; }
|
|
450
|
+
@layer properties {
|
|
451
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
452
|
+
*,
|
|
453
|
+
::before,
|
|
454
|
+
::after,
|
|
455
|
+
::backdrop {
|
|
456
|
+
--tw-translate-x: 0;
|
|
457
|
+
--tw-translate-y: 0;
|
|
458
|
+
--tw-translate-z: 0;
|
|
459
|
+
--tw-font-weight: initial;
|
|
460
|
+
--tw-blur: initial;
|
|
461
|
+
--tw-brightness: initial;
|
|
462
|
+
--tw-contrast: initial;
|
|
463
|
+
--tw-grayscale: initial;
|
|
464
|
+
--tw-hue-rotate: initial;
|
|
465
|
+
--tw-invert: initial;
|
|
466
|
+
--tw-opacity: initial;
|
|
467
|
+
--tw-saturate: initial;
|
|
468
|
+
--tw-sepia: initial;
|
|
469
|
+
--tw-drop-shadow: initial;
|
|
470
|
+
--tw-drop-shadow-color: initial;
|
|
471
|
+
--tw-drop-shadow-alpha: 100%;
|
|
472
|
+
--tw-drop-shadow-size: initial;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
2
476
|
/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
|
|
477
|
+
/*# sourceMappingURL=index.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/styles/index.css"],"sourcesContent":["/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\",\n \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --color-slate-50: oklch(98.4% 0.003 247.858);\n --spacing: 0.25rem;\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --font-weight-bold: 700;\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n -moz-tab-size: 4;\n -o-tab-size: 4;\n tab-size: 4;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::-moz-placeholder {\n opacity: 1;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::-moz-placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n -webkit-appearance: button;\n -moz-appearance: button;\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .collapse {\n visibility: collapse;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .top-6 {\n top: calc(var(--spacing) * 6);\n }\n .top-16 {\n top: calc(var(--spacing) * 16);\n }\n .right-0 {\n right: calc(var(--spacing) * 0);\n }\n .right-16 {\n right: calc(var(--spacing) * 16);\n }\n .bottom-0 {\n bottom: calc(var(--spacing) * 0);\n }\n .left-0 {\n left: calc(var(--spacing) * 0);\n }\n .left-14 {\n left: calc(var(--spacing) * 14);\n }\n .z-10 {\n z-index: 10;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .my-12 {\n margin-block: calc(var(--spacing) * 12);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mr-6 {\n margin-right: calc(var(--spacing) * 6);\n }\n .mb-0 {\n margin-bottom: calc(var(--spacing) * 0);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .mb-12 {\n margin-bottom: calc(var(--spacing) * 12);\n }\n .ml-2 {\n margin-left: calc(var(--spacing) * 2);\n }\n .ml-4 {\n margin-left: calc(var(--spacing) * 4);\n }\n .block {\n display: block;\n }\n .flex {\n display: flex;\n }\n .hidden {\n display: none;\n }\n .inline {\n display: inline;\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-full {\n height: 100%;\n }\n .h-screen {\n height: 100vh;\n }\n .w-8 {\n width: calc(var(--spacing) * 8);\n }\n .w-10\\/12 {\n width: calc(10/12 * 100%);\n }\n .w-\\[650px\\] {\n width: 650px;\n }\n .w-full {\n width: 100%;\n }\n .w-screen {\n width: 100vw;\n }\n .flex-1 {\n flex: 1;\n }\n .flex-grow-0 {\n flex-grow: 0;\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-10 {\n --tw-translate-y: calc(var(--spacing) * -10);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .items-center {\n align-items: center;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .gap-8 {\n gap: calc(var(--spacing) * 8);\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .bg-slate-50 {\n background-color: var(--color-slate-50);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .px-36 {\n padding-inline: calc(var(--spacing) * 36);\n }\n .py-4 {\n padding-block: calc(var(--spacing) * 4);\n }\n .text-center {\n text-align: center;\n }\n .text-end {\n text-align: end;\n }\n .text-start {\n text-align: start;\n }\n .text-2xl {\n font-size: var(--text-2xl);\n line-height: var(--tw-leading, var(--text-2xl--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .opacity-0 {\n opacity: 0%;\n }\n .filter {\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .delay-200 {\n transition-delay: 200ms;\n }\n}\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-drop-shadow-size {\n syntax: \"*\";\n inherits: false;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-font-weight: initial;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n }\n }\n}\n"],"mappings":";AACA;AACA;AACA;AACE;AAAA,EAAO;AACL;AAAA,MAAa,aAAa;AAAA,MAAE,SAAS;AAAA,MAAE,UAAU;AAAA,MAAE,mBAAmB;AAAA,MACpE,gBAAgB;AAAA,MAAE,iBAAiB;AAAA,MAAE;AACvC;AAAA,MAAa,YAAY;AAAA,MAAE,cAAc;AAAA,MAAE,KAAK;AAAA,MAAE,MAAM;AAAA,MAAE,QAAQ;AAAA,MAAE,iBAAiB;AAAA,MACnF,aAAa;AAAA,MAAE;AACjB,sBAAkB,MAAM,MAAM,MAAM;AACpC,eAAW;AACX,gBAAY;AACZ,6BAAyB,KAAK,EAAE,EAAE;AAClC,wBAAoB;AACpB,2BAAuB,IAAI;AAC3B,gCAA4B,IAAI;AAClC;AACF;AACA;AACE;AAAA,EAAG;AAAA,EAAS;AAAA,EAAU;AAAA,EAAY;AAChC,gBAAY;AACZ,YAAQ;AACR,aAAS;AACT,YAAQ,EAAE;AACZ;AACA;AAAA,EAAM;AACJ,iBAAa;AACb,8BAA0B;AAC1B,mBAAe;AACb,iBAAa;AACV,cAAU;AACf,iBAAa,IAAI,qBAAqB,EAAE,aAAa,EAAE,SAAS,EAAE,UAAU,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE;AACxI,2BAAuB,IAAI,+BAA+B,EAAE;AAC5D,6BAAyB,IAAI,iCAAiC,EAAE;AAChE,iCAA6B;AAC/B;AACA;AACE,YAAQ;A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,KAAK;AAEjB,UAAU,iBAAiB,EACzB,MAAM,EAAE,GAAG,EACX,QAAQ,EAAE,KAAK;AAEjB,UAAU,uBAAuB,EAC/B,MAAM,EAAE,GAAG,EACX,QAAQ,EAAE,KAAK;AAEjB,UAAU,uBAAuB,EAC/B,MAAM,EAAE,cAAc,EACtB,QAAQ,EAAE,KAAK,EACf,aAAa,EAAE,IAAI;AAErB,UAAU,sBAAsB,EAC9B,MAAM,EAAE,GAAG,EACX,QAAQ,EAAE,KAAK;AAEjB;AACE,YAAU,CAAC,CAAC,eAAe,EAAE,MAAM,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,CAAC,CAAC,WAAW,EAAE,QAAQ,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE,EAAE;AAC7H;AAAA,IAAG;AAAA,IAAU;AAAA,IAAS;AACpB,wBAAkB;AAClB,wBAAkB;AAClB,wBAAkB;AAClB,wBAAkB;AAClB,iBAAW;AACX,uBAAiB;AACjB,qBAAe;AACf,sBAAgB;AAChB,uBAAiB;AACjB,mBAAa;AACb,oBAAc;AACd,qBAAe;AACf,kBAAY;AACZ,wBAAkB;AAClB,8BAAwB;AACxB,8BAAwB;AACxB,6BAAuB;AACzB;AACF;AACF;","names":[]}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { DrawerProps, Button, FormProps, FormInstance, MenuProps, SelectProps, ModalProps, ButtonProps } from 'antd';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import { ReactNode, FC, PropsWithChildren, Key, ReactElement, Ref, ComponentType } from 'react';
|
|
4
|
+
import { ReactNode, ComponentProps, FC, PropsWithChildren, Key, ReactElement, Ref, ComponentType } from 'react';
|
|
5
5
|
import { AnyObject } from 'antd/es/_util/type';
|
|
6
6
|
import * as zustand from 'zustand';
|
|
7
7
|
import { ParagraphProps } from 'antd/es/typography/Paragraph';
|
|
@@ -21,11 +21,11 @@ interface UseDrawerProps extends Omit<DrawerProps, 'open' | 'confirmLoading' | '
|
|
|
21
21
|
onConfirm?: () => void | Promise<void>;
|
|
22
22
|
afterOpen?: () => void | Promise<void>;
|
|
23
23
|
afterClose?: () => void | Promise<void>;
|
|
24
|
-
|
|
24
|
+
footer?: ReactNode | null;
|
|
25
25
|
confirmText?: string;
|
|
26
26
|
cancelText?: string;
|
|
27
|
-
confirmButtonProps?:
|
|
28
|
-
cancelButtonProps?:
|
|
27
|
+
confirmButtonProps?: ComponentProps<typeof Button>;
|
|
28
|
+
cancelButtonProps?: ComponentProps<typeof Button>;
|
|
29
29
|
}
|
|
30
30
|
declare function useDraw(props: UseDrawerProps): {
|
|
31
31
|
id: number;
|
|
@@ -63,7 +63,6 @@ interface UseFormDrawerProps<Values extends AnyObject = AnyObject, ExtraValues =
|
|
|
63
63
|
content?: ReactNode | ((extraValues: ExtraValues, operation: UseDrawerOperation) => ReactNode);
|
|
64
64
|
onConfirm?: (values: Values, extraValues: ExtraValues) => void | Promise<void>;
|
|
65
65
|
onSuccess?: () => void;
|
|
66
|
-
showFooter?: boolean;
|
|
67
66
|
}
|
|
68
67
|
declare function useFormDraw<Values extends AnyObject = AnyObject, ExtraValues = any>(props: UseFormDrawerProps<Values, ExtraValues>): {
|
|
69
68
|
id: number;
|