biggerui 1.0.5 → 1.0.6
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/dist/biggerui.cjs.js +39 -33
- package/dist/biggerui.cjs.js.map +1 -1
- package/dist/biggerui.css +145 -76
- package/dist/biggerui.es.js +39 -33
- package/dist/biggerui.es.js.map +1 -1
- package/package.json +1 -1
package/dist/biggerui.css
CHANGED
|
@@ -1,34 +1,37 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
/* Colors */
|
|
3
|
-
--primary-color: #4338ca
|
|
4
|
-
--
|
|
5
|
-
--
|
|
6
|
-
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
|
|
23
|
-
--
|
|
24
|
-
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
2
|
+
/* Absolute Colors */
|
|
3
|
+
--primary-color: oklch(0.4568 0.2146 277); /* #4338ca */
|
|
4
|
+
--destructive-color: oklch(0.444 0.1610 27); /*#991b1b */
|
|
5
|
+
--text-color: oklch(0.985 0 0); /* #fafafa; */
|
|
6
|
+
--background-color-white: oklch(1 0 0); /* #fff; */
|
|
7
|
+
--background-color-black: oklch(0.2046 0 0); /* #171717;*/
|
|
8
|
+
--border-color-white: oklch(1 0 0);
|
|
9
|
+
--border-color-black: oklch(0.2046 0 0); /* #171717;*/
|
|
10
|
+
--shadow-color: oklch(0.1448 0 0 / 5%); /* rgba(10, 10, 10, 0.05); */
|
|
11
|
+
|
|
12
|
+
/* Relative colors */
|
|
13
|
+
--primary-color-hover: oklch(from var(--primary-color) calc(l - 0.03) calc(c - 0.02) h ); /*#3d33b8 */
|
|
14
|
+
--primary-color-alpha: oklch(from var(--primary-color) l c h / 40%); /* rgba(67, 56, 202, 0.4); */
|
|
15
|
+
|
|
16
|
+
--destructive-color-hover: oklch(from var(--destructive-color) calc(l - 0.03) calc(c - 0.02) h ); /* #8a1919 */
|
|
17
|
+
--destructive-color-alpha: oklch(from var(--destructive-color) l c h / 40%); /* rgba(153, 27, 27, 0.4); */
|
|
18
|
+
|
|
19
|
+
--text-color-secondary: oklch(from var(--text-color) calc(l - 0.115) c h ); /* #d4d4d4 */
|
|
20
|
+
--text-color-placeholder: oklch(from var(--text-color) calc(l - 0.430) c h ); /* #737373 */
|
|
21
|
+
--text-color-error: oklch(from var(--destructive-color) calc(l + 0.44) calc(c - 0.1) h ); /* #fecaca */
|
|
22
|
+
|
|
23
|
+
--background-color-silver: oklch(from var(--background-color-white) calc(l - 0.03) c h ); /*#f5f5f5 */
|
|
24
|
+
|
|
25
|
+
--background-color-light: oklch(from var(--background-color-white) calc(l - 0.015) c h / 5%); /* rgba(250, 250, 250, 0.05); */
|
|
26
|
+
--background-color-light-hover: oklch(from var(--background-color-white) l c h / 8%); /* rgba(250, 250, 250, 0.08); */
|
|
27
|
+
--background-color-overlay: oklch(from var(--background-color-black) l c h / 5%); /* rgba(0, 0, 0, 0.5); */
|
|
28
|
+
|
|
29
|
+
--border-color: oklch(from var(--border-color-white) l c h / 15%); /* rgba(250, 250, 250, 0.15); */
|
|
30
|
+
--border-color-silver: oklch(from var(--border-color-white) calc(l - 0.03) c h ); /* #f5f5f5 */
|
|
31
|
+
--border-color-dark: oklch(from var(--border-color-black) calc(l + 0.17) c h ); /* #404040; */
|
|
32
|
+
|
|
33
|
+
--shadow-color-light: oklch(from var(--shadow-color) calc(l + 0.1448) c h / 45%); /*rgba(115, 115, 115, 0.45);*/
|
|
34
|
+
--shadow-color-dark: oklch(from var(--shadow-color) l c h / 10%); /* rgba(10, 10, 10, 0.1);
|
|
32
35
|
|
|
33
36
|
/* Spacing */
|
|
34
37
|
--spacing-xs: 4px;
|
|
@@ -63,8 +66,10 @@
|
|
|
63
66
|
--transition-fast: 150ms;
|
|
64
67
|
--transition-normal: 250ms;
|
|
65
68
|
--transition-slow: 350ms;
|
|
69
|
+
|
|
70
|
+
--progress: 0;
|
|
66
71
|
}
|
|
67
|
-
.
|
|
72
|
+
._button_12key_1 {
|
|
68
73
|
display: inline-flex;
|
|
69
74
|
align-items: center;
|
|
70
75
|
justify-content: center;
|
|
@@ -73,7 +78,8 @@
|
|
|
73
78
|
height: 36px;
|
|
74
79
|
padding: 8px 16px;
|
|
75
80
|
box-sizing: border-box;
|
|
76
|
-
border-radius:
|
|
81
|
+
border-radius: 12px;
|
|
82
|
+
corner-shape: squircle;
|
|
77
83
|
border: 1px solid transparent;
|
|
78
84
|
font-family: "JetBrains Sans", sans-serif;
|
|
79
85
|
font-size: 14px;
|
|
@@ -81,70 +87,133 @@
|
|
|
81
87
|
line-height: 20px;
|
|
82
88
|
cursor: pointer;
|
|
83
89
|
user-select: none;
|
|
84
|
-
transition: background 0.15s ease-out, opacity 0.15s ease-out;
|
|
90
|
+
transition: transform 0.15s ease-out, background 0.15s ease-out, opacity 0.15s ease-out, border-radius 0.15s ease-out, padding 0.15s ease-out;
|
|
85
91
|
}
|
|
86
92
|
|
|
87
|
-
.
|
|
93
|
+
._button_12key_1:hover {
|
|
94
|
+
transform: translateY(-1px);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
._loader_12key_26 {
|
|
98
|
+
position: relative;
|
|
99
|
+
width: 24px;
|
|
100
|
+
height: 24px;
|
|
101
|
+
border-radius: 50%;
|
|
102
|
+
display: inline-flex;
|
|
103
|
+
align-items: center;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
font-size: 10px;
|
|
107
|
+
font-weight: 600;
|
|
108
|
+
color: var(--text-color);
|
|
109
|
+
flex-shrink: 0;
|
|
110
|
+
counter-reset: progress var(--progress);
|
|
111
|
+
transition: transform 0.05s linear;
|
|
112
|
+
transform: rotate(calc(var(--progress) * 10.8deg));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
._loader_12key_26::after {
|
|
116
|
+
content: counter(progress);
|
|
117
|
+
position: relative;
|
|
118
|
+
z-index: 1;
|
|
119
|
+
display: inline-flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
justify-content: center;
|
|
122
|
+
min-width: 1.8em;
|
|
123
|
+
font-variant-numeric: tabular-nums;
|
|
124
|
+
text-align: left;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
._loader_12key_26::before {
|
|
128
|
+
content: '';
|
|
129
|
+
position: absolute;
|
|
130
|
+
width: 200%;
|
|
131
|
+
height: 200%;
|
|
132
|
+
top: 0;
|
|
133
|
+
left: 0;
|
|
134
|
+
transform: translate(-50%, -50%);
|
|
135
|
+
border-radius: 50%;
|
|
136
|
+
background: conic-gradient(
|
|
137
|
+
var(--text-color) calc(var(--progress) * 3.6deg),
|
|
138
|
+
transparent calc(var(--progress) * 3.6deg)
|
|
139
|
+
);
|
|
140
|
+
|
|
141
|
+
-webkit-mask: radial-gradient(
|
|
142
|
+
farthest-side,
|
|
143
|
+
transparent calc(50% - 4px),
|
|
144
|
+
#000 calc(50% - 3px)
|
|
145
|
+
);
|
|
146
|
+
mask: radial-gradient(
|
|
147
|
+
farthest-side,
|
|
148
|
+
transparent calc(100% - 4px),
|
|
149
|
+
#000 calc(100% - 3px)
|
|
150
|
+
);
|
|
151
|
+
transition: background 0.3s ease-out;
|
|
152
|
+
transform-origin: center;
|
|
153
|
+
scale: 0.5;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
._fullWidth_12key_85 {
|
|
88
157
|
width: 100%;
|
|
89
158
|
}
|
|
90
159
|
|
|
91
|
-
.
|
|
160
|
+
._default_12key_89 {
|
|
92
161
|
background: var(--primary-color);
|
|
93
162
|
color: var(--text-color);
|
|
94
163
|
box-shadow: 0px 1px 2px var(--shadow-color);
|
|
95
164
|
}
|
|
96
|
-
.
|
|
165
|
+
._default_12key_89:hover {
|
|
97
166
|
background: var(--primary-color-hover);
|
|
98
167
|
}
|
|
99
168
|
|
|
100
|
-
.
|
|
169
|
+
._destructive_12key_98 {
|
|
101
170
|
background: var(--destructive-color);
|
|
102
171
|
color: var(--text-color-error);
|
|
103
172
|
box-shadow: 0px 1px 2px var(--shadow-color);
|
|
104
173
|
}
|
|
105
|
-
.
|
|
174
|
+
._destructive_12key_98:hover {
|
|
106
175
|
background: var(--destructive-color-hover);
|
|
107
176
|
}
|
|
108
177
|
|
|
109
|
-
.
|
|
178
|
+
._secondary_12key_107 {
|
|
110
179
|
background: var(--background-color-light);
|
|
111
180
|
border-color: var(--border-color);
|
|
112
181
|
color: var(--text-color);
|
|
113
182
|
box-shadow: 0px 1px 2px var(--shadow-color);
|
|
114
183
|
}
|
|
115
|
-
.
|
|
184
|
+
._secondary_12key_107:hover {
|
|
116
185
|
background: var(--background-color-light-hover);
|
|
117
186
|
}
|
|
118
187
|
|
|
119
|
-
.
|
|
188
|
+
._default_12key_89 {
|
|
120
189
|
height: 36px;
|
|
121
190
|
padding: 8px 16px;
|
|
122
191
|
}
|
|
123
192
|
|
|
124
|
-
.
|
|
193
|
+
._sm_12key_122 {
|
|
125
194
|
height: 32px;
|
|
126
195
|
padding: 6px 12px;
|
|
127
196
|
}
|
|
128
197
|
|
|
129
|
-
.
|
|
198
|
+
._lg_12key_127 {
|
|
130
199
|
height: 40px;
|
|
131
200
|
padding: 10px 20px;
|
|
132
201
|
}
|
|
133
202
|
|
|
134
|
-
.
|
|
135
|
-
.
|
|
203
|
+
._iconLeft_12key_132,
|
|
204
|
+
._iconRight_12key_133 {
|
|
136
205
|
display: flex;
|
|
137
206
|
align-items: center;
|
|
138
207
|
justify-content: center;
|
|
139
208
|
pointer-events: none;
|
|
140
209
|
}
|
|
141
210
|
|
|
142
|
-
.
|
|
211
|
+
._disabled_12key_140 {
|
|
143
212
|
opacity: 0.5;
|
|
144
213
|
cursor: not-allowed;
|
|
145
214
|
}
|
|
146
215
|
|
|
147
|
-
.
|
|
216
|
+
._label_12key_145 {
|
|
148
217
|
display: flex;
|
|
149
218
|
align-items: center;
|
|
150
219
|
justify-content: center;
|
|
@@ -249,7 +318,7 @@
|
|
|
249
318
|
transform: scale(1.25);
|
|
250
319
|
}
|
|
251
320
|
}
|
|
252
|
-
.
|
|
321
|
+
._overlay_1narp_1 {
|
|
253
322
|
position: fixed;
|
|
254
323
|
inset: 0;
|
|
255
324
|
background: var(--background-color-overlay);
|
|
@@ -259,14 +328,14 @@
|
|
|
259
328
|
justify-content: center;
|
|
260
329
|
}
|
|
261
330
|
|
|
262
|
-
.
|
|
331
|
+
._content_1narp_11 {
|
|
263
332
|
position: relative;
|
|
264
333
|
width: min(720px, 100% - 32px);
|
|
265
334
|
max-height: calc(100vh - 64px);
|
|
266
335
|
padding: 24px;
|
|
267
336
|
box-sizing: border-box;
|
|
268
337
|
|
|
269
|
-
background: var(--background-color);
|
|
338
|
+
background: var(--background-color-black);
|
|
270
339
|
border-radius: 16px;
|
|
271
340
|
border: 1px solid var(--border-color-dark);
|
|
272
341
|
box-shadow: 0px 4px 6px -4px var(--shadow-color-dark);
|
|
@@ -277,7 +346,7 @@
|
|
|
277
346
|
gap: 24px;
|
|
278
347
|
}
|
|
279
348
|
|
|
280
|
-
.
|
|
349
|
+
._header_1narp_29 {
|
|
281
350
|
align-self: stretch;
|
|
282
351
|
border-bottom: 0.5px solid var(--border-color-dark);
|
|
283
352
|
display: flex;
|
|
@@ -286,7 +355,7 @@
|
|
|
286
355
|
padding-bottom: 12px;
|
|
287
356
|
}
|
|
288
357
|
|
|
289
|
-
.
|
|
358
|
+
._title_1narp_38 {
|
|
290
359
|
flex: 1;
|
|
291
360
|
max-width: 1280px;
|
|
292
361
|
font-family: "JetBrains Sans", sans-serif;
|
|
@@ -296,7 +365,7 @@
|
|
|
296
365
|
color: var(--text-color);
|
|
297
366
|
}
|
|
298
367
|
|
|
299
|
-
.
|
|
368
|
+
._body_1narp_48 {
|
|
300
369
|
align-self: stretch;
|
|
301
370
|
display: flex;
|
|
302
371
|
flex-direction: column;
|
|
@@ -306,7 +375,7 @@
|
|
|
306
375
|
color: var(--text-color);
|
|
307
376
|
}
|
|
308
377
|
|
|
309
|
-
.
|
|
378
|
+
._footer_1narp_58 {
|
|
310
379
|
align-self: stretch;
|
|
311
380
|
padding-top: 32px;
|
|
312
381
|
display: flex;
|
|
@@ -314,7 +383,7 @@
|
|
|
314
383
|
align-items: flex-start;
|
|
315
384
|
}
|
|
316
385
|
|
|
317
|
-
.
|
|
386
|
+
._closeButton_1narp_66 {
|
|
318
387
|
position: absolute;
|
|
319
388
|
top: 12px;
|
|
320
389
|
right: 12px;
|
|
@@ -329,14 +398,14 @@
|
|
|
329
398
|
cursor: pointer;
|
|
330
399
|
}
|
|
331
400
|
|
|
332
|
-
.
|
|
401
|
+
._closeIcon_1narp_81 {
|
|
333
402
|
position: relative;
|
|
334
403
|
width: 16px;
|
|
335
404
|
height: 16px;
|
|
336
405
|
}
|
|
337
406
|
|
|
338
|
-
.
|
|
339
|
-
.
|
|
407
|
+
._closeIcon_1narp_81::before,
|
|
408
|
+
._closeIcon_1narp_81::after {
|
|
340
409
|
content: "";
|
|
341
410
|
position: absolute;
|
|
342
411
|
left: 7px;
|
|
@@ -347,11 +416,11 @@
|
|
|
347
416
|
border-radius: 2px;
|
|
348
417
|
}
|
|
349
418
|
|
|
350
|
-
.
|
|
419
|
+
._closeIcon_1narp_81::before {
|
|
351
420
|
transform: rotate(45deg);
|
|
352
421
|
}
|
|
353
422
|
|
|
354
|
-
.
|
|
423
|
+
._closeIcon_1narp_81::after {
|
|
355
424
|
transform: rotate(-45deg);
|
|
356
425
|
}
|
|
357
426
|
._wrapper_x822s_1 {
|
|
@@ -438,7 +507,7 @@
|
|
|
438
507
|
line-height: 16px;
|
|
439
508
|
color: var(--text-color-error);
|
|
440
509
|
}
|
|
441
|
-
.
|
|
510
|
+
._wrapper_12upp_1 {
|
|
442
511
|
width: 100%;
|
|
443
512
|
display: flex;
|
|
444
513
|
flex-direction: column;
|
|
@@ -446,7 +515,7 @@
|
|
|
446
515
|
position: relative;
|
|
447
516
|
}
|
|
448
517
|
|
|
449
|
-
.
|
|
518
|
+
._label_12upp_9 {
|
|
450
519
|
width: 100%;
|
|
451
520
|
color: var(--text-color);
|
|
452
521
|
font-size: 14px;
|
|
@@ -456,7 +525,7 @@
|
|
|
456
525
|
margin-bottom: 8px;
|
|
457
526
|
}
|
|
458
527
|
|
|
459
|
-
.
|
|
528
|
+
._trigger_12upp_19 {
|
|
460
529
|
width: 100%;
|
|
461
530
|
height: 36px;
|
|
462
531
|
padding: 4px 12px;
|
|
@@ -473,11 +542,11 @@
|
|
|
473
542
|
outline: none;
|
|
474
543
|
}
|
|
475
544
|
|
|
476
|
-
.
|
|
545
|
+
._triggerOpen_12upp_36 {
|
|
477
546
|
border-color: var(--primary-color);
|
|
478
547
|
}
|
|
479
548
|
|
|
480
|
-
.
|
|
549
|
+
._value_12upp_40 {
|
|
481
550
|
flex: 1 1 0;
|
|
482
551
|
display: inline-flex;
|
|
483
552
|
align-items: center;
|
|
@@ -489,7 +558,7 @@
|
|
|
489
558
|
text-align: left;
|
|
490
559
|
}
|
|
491
560
|
|
|
492
|
-
.
|
|
561
|
+
._placeholder_12upp_52 {
|
|
493
562
|
flex: 1 1 0;
|
|
494
563
|
font-family: "JetBrains Sans", sans-serif;
|
|
495
564
|
font-size: 14px;
|
|
@@ -498,19 +567,19 @@
|
|
|
498
567
|
text-align: left;
|
|
499
568
|
}
|
|
500
569
|
|
|
501
|
-
.
|
|
570
|
+
._hint_12upp_61 {
|
|
502
571
|
opacity: 0.6;
|
|
503
572
|
font-size: 12px;
|
|
504
573
|
line-height: 16px;
|
|
505
574
|
}
|
|
506
575
|
|
|
507
|
-
.
|
|
576
|
+
._icon_12upp_67 {
|
|
508
577
|
display: inline-flex;
|
|
509
578
|
align-items: center;
|
|
510
579
|
justify-content: center;
|
|
511
580
|
}
|
|
512
581
|
|
|
513
|
-
.
|
|
582
|
+
._dropdown_12upp_73 {
|
|
514
583
|
position: absolute;
|
|
515
584
|
top: calc(100% + 4px);
|
|
516
585
|
left: 0;
|
|
@@ -518,8 +587,8 @@
|
|
|
518
587
|
z-index: 50;
|
|
519
588
|
}
|
|
520
589
|
|
|
521
|
-
.
|
|
522
|
-
background: var(--background-color);
|
|
590
|
+
._dropdownInner_12upp_81 {
|
|
591
|
+
background: var(--background-color-black);
|
|
523
592
|
border-radius: 8px;
|
|
524
593
|
border: 1px solid var(--border-color-dark);
|
|
525
594
|
box-shadow: 0px 2px 4px -2px var(--shadow-color-dark);
|
|
@@ -528,7 +597,7 @@
|
|
|
528
597
|
overflow-y: auto;
|
|
529
598
|
}
|
|
530
599
|
|
|
531
|
-
.
|
|
600
|
+
._option_12upp_91 {
|
|
532
601
|
width: 100%;
|
|
533
602
|
padding: 6px 8px;
|
|
534
603
|
border-radius: 6px;
|
|
@@ -542,22 +611,22 @@
|
|
|
542
611
|
cursor: pointer;
|
|
543
612
|
}
|
|
544
613
|
|
|
545
|
-
.
|
|
614
|
+
._option_12upp_91:hover {
|
|
546
615
|
background: var(--background-color-light);
|
|
547
616
|
}
|
|
548
617
|
|
|
549
|
-
.
|
|
618
|
+
._optionActive_12upp_109 {
|
|
550
619
|
background: var(--primary-color);
|
|
551
620
|
}
|
|
552
621
|
|
|
553
|
-
.
|
|
622
|
+
._optionLabel_12upp_113 {
|
|
554
623
|
font-family: "JetBrains Sans", sans-serif;
|
|
555
624
|
font-size: 14px;
|
|
556
625
|
line-height: 20px;
|
|
557
626
|
color: var(--text-color);
|
|
558
627
|
}
|
|
559
628
|
|
|
560
|
-
.
|
|
629
|
+
._optionHint_12upp_120 {
|
|
561
630
|
opacity: 0.6;
|
|
562
631
|
font-family: "JetBrains Sans", sans-serif;
|
|
563
632
|
font-size: 12px;
|
package/dist/biggerui.es.js
CHANGED
|
@@ -3,20 +3,22 @@ import * as React from 'react';
|
|
|
3
3
|
import { createContext, useRef, useLayoutEffect, useEffect, useId, useContext, useInsertionEffect, useMemo, useCallback, Children, isValidElement, useState, Fragment as Fragment$1, createElement, forwardRef, Component } from 'react';
|
|
4
4
|
import { createPortal } from 'react-dom';
|
|
5
5
|
|
|
6
|
-
const button = "
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
6
|
+
const button = "_button_12key_1";
|
|
7
|
+
const loader = "_loader_12key_26";
|
|
8
|
+
const fullWidth = "_fullWidth_12key_85";
|
|
9
|
+
const destructive = "_destructive_12key_98";
|
|
10
|
+
const secondary = "_secondary_12key_107";
|
|
11
|
+
const sm = "_sm_12key_122";
|
|
12
|
+
const lg = "_lg_12key_127";
|
|
13
|
+
const iconLeft = "_iconLeft_12key_132";
|
|
14
|
+
const iconRight = "_iconRight_12key_133";
|
|
15
|
+
const disabled = "_disabled_12key_140";
|
|
16
|
+
const label$3 = "_label_12key_145";
|
|
16
17
|
const styles$5 = {
|
|
17
18
|
button: button,
|
|
19
|
+
loader: loader,
|
|
18
20
|
fullWidth: fullWidth,
|
|
19
|
-
"default": "
|
|
21
|
+
"default": "_default_12key_89",
|
|
20
22
|
destructive: destructive,
|
|
21
23
|
secondary: secondary,
|
|
22
24
|
sm: sm,
|
|
@@ -35,19 +37,23 @@ function Button({
|
|
|
35
37
|
className = "",
|
|
36
38
|
disabled = false,
|
|
37
39
|
children,
|
|
40
|
+
loading = false,
|
|
41
|
+
progress = 0,
|
|
38
42
|
...props
|
|
39
43
|
}) {
|
|
40
44
|
const classes = [
|
|
41
45
|
styles$5.button,
|
|
42
46
|
styles$5[color],
|
|
43
47
|
styles$5[size],
|
|
48
|
+
loading ? styles$5.loading : "",
|
|
44
49
|
disabled ? styles$5.disabled : "",
|
|
45
50
|
className
|
|
46
51
|
].filter(Boolean).join(" ");
|
|
47
52
|
return /* @__PURE__ */ jsxs("button", { className: classes, disabled, ...props, children: [
|
|
48
53
|
leftIcon && /* @__PURE__ */ jsx("span", { className: styles$5.iconLeft, children: leftIcon }),
|
|
49
54
|
/* @__PURE__ */ jsx("span", { className: styles$5.label, children }),
|
|
50
|
-
rightIcon && /* @__PURE__ */ jsx("span", { className: styles$5.iconRight, children: rightIcon })
|
|
55
|
+
rightIcon && /* @__PURE__ */ jsx("span", { className: styles$5.iconRight, children: rightIcon }),
|
|
56
|
+
loading && /* @__PURE__ */ jsx("span", { style: { "--progress": progress }, className: styles$5.loader })
|
|
51
57
|
] });
|
|
52
58
|
}
|
|
53
59
|
|
|
@@ -10406,13 +10412,13 @@ const featureBundle = {
|
|
|
10406
10412
|
|
|
10407
10413
|
const motion = /*@__PURE__*/ createMotionProxy(featureBundle, createDomVisualElement);
|
|
10408
10414
|
|
|
10409
|
-
const overlay = "
|
|
10410
|
-
const content = "
|
|
10411
|
-
const header = "
|
|
10412
|
-
const title = "
|
|
10413
|
-
const body = "
|
|
10414
|
-
const footer = "
|
|
10415
|
-
const closeButton = "
|
|
10415
|
+
const overlay = "_overlay_1narp_1";
|
|
10416
|
+
const content = "_content_1narp_11";
|
|
10417
|
+
const header = "_header_1narp_29";
|
|
10418
|
+
const title = "_title_1narp_38";
|
|
10419
|
+
const body = "_body_1narp_48";
|
|
10420
|
+
const footer = "_footer_1narp_58";
|
|
10421
|
+
const closeButton = "_closeButton_1narp_66";
|
|
10416
10422
|
const styles$3 = {
|
|
10417
10423
|
overlay: overlay,
|
|
10418
10424
|
content: content,
|
|
@@ -10562,20 +10568,20 @@ const Input = ({
|
|
|
10562
10568
|
] });
|
|
10563
10569
|
};
|
|
10564
10570
|
|
|
10565
|
-
const wrapper$1 = "
|
|
10566
|
-
const label$1 = "
|
|
10567
|
-
const trigger = "
|
|
10568
|
-
const triggerOpen = "
|
|
10569
|
-
const value = "
|
|
10570
|
-
const placeholder = "
|
|
10571
|
-
const hint = "
|
|
10572
|
-
const icon = "
|
|
10573
|
-
const dropdown = "
|
|
10574
|
-
const dropdownInner = "
|
|
10575
|
-
const option = "
|
|
10576
|
-
const optionActive = "
|
|
10577
|
-
const optionLabel = "
|
|
10578
|
-
const optionHint = "
|
|
10571
|
+
const wrapper$1 = "_wrapper_12upp_1";
|
|
10572
|
+
const label$1 = "_label_12upp_9";
|
|
10573
|
+
const trigger = "_trigger_12upp_19";
|
|
10574
|
+
const triggerOpen = "_triggerOpen_12upp_36";
|
|
10575
|
+
const value = "_value_12upp_40";
|
|
10576
|
+
const placeholder = "_placeholder_12upp_52";
|
|
10577
|
+
const hint = "_hint_12upp_61";
|
|
10578
|
+
const icon = "_icon_12upp_67";
|
|
10579
|
+
const dropdown = "_dropdown_12upp_73";
|
|
10580
|
+
const dropdownInner = "_dropdownInner_12upp_81";
|
|
10581
|
+
const option = "_option_12upp_91";
|
|
10582
|
+
const optionActive = "_optionActive_12upp_109";
|
|
10583
|
+
const optionLabel = "_optionLabel_12upp_113";
|
|
10584
|
+
const optionHint = "_optionHint_12upp_120";
|
|
10579
10585
|
const styles$1 = {
|
|
10580
10586
|
wrapper: wrapper$1,
|
|
10581
10587
|
label: label$1,
|