@mlw-packages/react-components 1.6.0 → 1.6.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/dist/index.css +75 -17
- package/dist/index.d.mts +49 -23
- package/dist/index.d.ts +49 -23
- package/dist/index.js +535 -213
- package/dist/index.mjs +523 -200
- package/package.json +3 -2
package/dist/index.css
CHANGED
|
@@ -487,6 +487,9 @@ body {
|
|
|
487
487
|
.left-\[50\%\] {
|
|
488
488
|
left: 50%;
|
|
489
489
|
}
|
|
490
|
+
.left-full {
|
|
491
|
+
left: 100%;
|
|
492
|
+
}
|
|
490
493
|
.right-0 {
|
|
491
494
|
right: 0px;
|
|
492
495
|
}
|
|
@@ -517,6 +520,9 @@ body {
|
|
|
517
520
|
.top-2 {
|
|
518
521
|
top: 0.5rem;
|
|
519
522
|
}
|
|
523
|
+
.top-20 {
|
|
524
|
+
top: 5rem;
|
|
525
|
+
}
|
|
520
526
|
.top-3 {
|
|
521
527
|
top: 0.75rem;
|
|
522
528
|
}
|
|
@@ -693,9 +699,6 @@ body {
|
|
|
693
699
|
.mr-5 {
|
|
694
700
|
margin-right: 1.25rem;
|
|
695
701
|
}
|
|
696
|
-
.mt-0\.5 {
|
|
697
|
-
margin-top: 0.125rem;
|
|
698
|
-
}
|
|
699
702
|
.mt-1 {
|
|
700
703
|
margin-top: 0.25rem;
|
|
701
704
|
}
|
|
@@ -928,6 +931,9 @@ body {
|
|
|
928
931
|
.max-h-\[300px\] {
|
|
929
932
|
max-height: 300px;
|
|
930
933
|
}
|
|
934
|
+
.max-h-\[90dvh\] {
|
|
935
|
+
max-height: 90dvh;
|
|
936
|
+
}
|
|
931
937
|
.max-h-\[calc\(100vh-4rem\)\] {
|
|
932
938
|
max-height: calc(100vh - 4rem);
|
|
933
939
|
}
|
|
@@ -961,6 +967,9 @@ body {
|
|
|
961
967
|
.min-h-svh {
|
|
962
968
|
min-height: 100svh;
|
|
963
969
|
}
|
|
970
|
+
.w-0\.5 {
|
|
971
|
+
width: 0.125rem;
|
|
972
|
+
}
|
|
964
973
|
.w-1\.5 {
|
|
965
974
|
width: 0.375rem;
|
|
966
975
|
}
|
|
@@ -1192,6 +1201,9 @@ body {
|
|
|
1192
1201
|
.max-w-\[80px\] {
|
|
1193
1202
|
max-width: 80px;
|
|
1194
1203
|
}
|
|
1204
|
+
.max-w-\[calc\(100\%-2rem\)\] {
|
|
1205
|
+
max-width: calc(100% - 2rem);
|
|
1206
|
+
}
|
|
1195
1207
|
.max-w-full {
|
|
1196
1208
|
max-width: 100%;
|
|
1197
1209
|
}
|
|
@@ -1202,6 +1214,9 @@ body {
|
|
|
1202
1214
|
max-width: -moz-max-content;
|
|
1203
1215
|
max-width: max-content;
|
|
1204
1216
|
}
|
|
1217
|
+
.max-w-md {
|
|
1218
|
+
max-width: 28rem;
|
|
1219
|
+
}
|
|
1205
1220
|
.max-w-sm {
|
|
1206
1221
|
max-width: 24rem;
|
|
1207
1222
|
}
|
|
@@ -1255,6 +1270,10 @@ body {
|
|
|
1255
1270
|
--tw-translate-x: 1px;
|
|
1256
1271
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1257
1272
|
}
|
|
1273
|
+
.translate-y-0 {
|
|
1274
|
+
--tw-translate-y: 0px;
|
|
1275
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1276
|
+
}
|
|
1258
1277
|
.translate-y-\[-50\%\] {
|
|
1259
1278
|
--tw-translate-y: -50%;
|
|
1260
1279
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -1365,6 +1384,9 @@ body {
|
|
|
1365
1384
|
.grid-cols-4 {
|
|
1366
1385
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1367
1386
|
}
|
|
1387
|
+
.grid-cols-6 {
|
|
1388
|
+
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
1389
|
+
}
|
|
1368
1390
|
.flex-row {
|
|
1369
1391
|
flex-direction: row;
|
|
1370
1392
|
}
|
|
@@ -1525,6 +1547,9 @@ body {
|
|
|
1525
1547
|
.overflow-hidden {
|
|
1526
1548
|
overflow: hidden;
|
|
1527
1549
|
}
|
|
1550
|
+
.overflow-visible {
|
|
1551
|
+
overflow: visible;
|
|
1552
|
+
}
|
|
1528
1553
|
.overflow-x-auto {
|
|
1529
1554
|
overflow-x: auto;
|
|
1530
1555
|
}
|
|
@@ -1628,6 +1653,9 @@ body {
|
|
|
1628
1653
|
.border {
|
|
1629
1654
|
border-width: 1px;
|
|
1630
1655
|
}
|
|
1656
|
+
.border-0 {
|
|
1657
|
+
border-width: 0px;
|
|
1658
|
+
}
|
|
1631
1659
|
.border-2 {
|
|
1632
1660
|
border-width: 2px;
|
|
1633
1661
|
}
|
|
@@ -1766,9 +1794,18 @@ body {
|
|
|
1766
1794
|
.bg-background\/80 {
|
|
1767
1795
|
background-color: hsl(var(--background) / 0.8);
|
|
1768
1796
|
}
|
|
1797
|
+
.bg-black\/40 {
|
|
1798
|
+
background-color: rgb(0 0 0 / 0.4);
|
|
1799
|
+
}
|
|
1769
1800
|
.bg-black\/50 {
|
|
1770
1801
|
background-color: rgb(0 0 0 / 0.5);
|
|
1771
1802
|
}
|
|
1803
|
+
.bg-black\/60 {
|
|
1804
|
+
background-color: rgb(0 0 0 / 0.6);
|
|
1805
|
+
}
|
|
1806
|
+
.bg-black\/70 {
|
|
1807
|
+
background-color: rgb(0 0 0 / 0.7);
|
|
1808
|
+
}
|
|
1772
1809
|
.bg-black\/80 {
|
|
1773
1810
|
background-color: rgb(0 0 0 / 0.8);
|
|
1774
1811
|
}
|
|
@@ -1805,6 +1842,10 @@ body {
|
|
|
1805
1842
|
.bg-destructive\/5 {
|
|
1806
1843
|
background-color: hsl(var(--destructive) / 0.05);
|
|
1807
1844
|
}
|
|
1845
|
+
.bg-emerald-500 {
|
|
1846
|
+
--tw-bg-opacity: 1;
|
|
1847
|
+
background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
|
|
1848
|
+
}
|
|
1808
1849
|
.bg-emerald-600 {
|
|
1809
1850
|
--tw-bg-opacity: 1;
|
|
1810
1851
|
background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
|
|
@@ -1859,6 +1900,9 @@ body {
|
|
|
1859
1900
|
.bg-muted\/50 {
|
|
1860
1901
|
background-color: hsl(var(--muted) / 0.5);
|
|
1861
1902
|
}
|
|
1903
|
+
.bg-muted\/80 {
|
|
1904
|
+
background-color: hsl(var(--muted) / 0.8);
|
|
1905
|
+
}
|
|
1862
1906
|
.bg-neutral-100 {
|
|
1863
1907
|
--tw-bg-opacity: 1;
|
|
1864
1908
|
background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));
|
|
@@ -2228,9 +2272,6 @@ body {
|
|
|
2228
2272
|
.text-\[clamp\(0\.625rem\,1\.5vw\,0\.75rem\)\] {
|
|
2229
2273
|
font-size: clamp(0.625rem, 1.5vw, 0.75rem);
|
|
2230
2274
|
}
|
|
2231
|
-
.text-\[clamp\(0\.75rem\,2vw\,1rem\)\] {
|
|
2232
|
-
font-size: clamp(0.75rem, 2vw, 1rem);
|
|
2233
|
-
}
|
|
2234
2275
|
.text-\[clamp\(0\.875rem\,2\.5vw\,1\.25rem\)\] {
|
|
2235
2276
|
font-size: clamp(0.875rem, 2.5vw, 1.25rem);
|
|
2236
2277
|
}
|
|
@@ -2339,6 +2380,9 @@ body {
|
|
|
2339
2380
|
.text-foreground {
|
|
2340
2381
|
color: hsl(var(--foreground));
|
|
2341
2382
|
}
|
|
2383
|
+
.text-foreground\/70 {
|
|
2384
|
+
color: hsl(var(--foreground) / 0.7);
|
|
2385
|
+
}
|
|
2342
2386
|
.text-gray-400 {
|
|
2343
2387
|
--tw-text-opacity: 1;
|
|
2344
2388
|
color: rgb(156 163 175 / var(--tw-text-opacity, 1));
|
|
@@ -2390,9 +2434,6 @@ body {
|
|
|
2390
2434
|
.text-muted-foreground\/70 {
|
|
2391
2435
|
color: hsl(var(--muted-foreground) / 0.7);
|
|
2392
2436
|
}
|
|
2393
|
-
.text-muted-foreground\/90 {
|
|
2394
|
-
color: hsl(var(--muted-foreground) / 0.9);
|
|
2395
|
-
}
|
|
2396
2437
|
.text-neutral-500 {
|
|
2397
2438
|
--tw-text-opacity: 1;
|
|
2398
2439
|
color: rgb(115 115 115 / var(--tw-text-opacity, 1));
|
|
@@ -2446,6 +2487,9 @@ body {
|
|
|
2446
2487
|
--tw-text-opacity: 1;
|
|
2447
2488
|
color: rgb(244 63 94 / var(--tw-text-opacity, 1));
|
|
2448
2489
|
}
|
|
2490
|
+
.text-secondary {
|
|
2491
|
+
color: hsl(var(--secondary));
|
|
2492
|
+
}
|
|
2449
2493
|
.text-secondary-foreground {
|
|
2450
2494
|
color: hsl(var(--secondary-foreground));
|
|
2451
2495
|
}
|
|
@@ -2528,6 +2572,9 @@ body {
|
|
|
2528
2572
|
.opacity-70 {
|
|
2529
2573
|
opacity: 0.7;
|
|
2530
2574
|
}
|
|
2575
|
+
.opacity-80 {
|
|
2576
|
+
opacity: 0.8;
|
|
2577
|
+
}
|
|
2531
2578
|
.shadow {
|
|
2532
2579
|
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
2533
2580
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
@@ -3258,6 +3305,9 @@ body {
|
|
|
3258
3305
|
.hover\:bg-muted\/10:hover {
|
|
3259
3306
|
background-color: hsl(var(--muted) / 0.1);
|
|
3260
3307
|
}
|
|
3308
|
+
.hover\:bg-muted\/20:hover {
|
|
3309
|
+
background-color: hsl(var(--muted) / 0.2);
|
|
3310
|
+
}
|
|
3261
3311
|
.hover\:bg-muted\/5:hover {
|
|
3262
3312
|
background-color: hsl(var(--muted) / 0.05);
|
|
3263
3313
|
}
|
|
@@ -3351,6 +3401,10 @@ body {
|
|
|
3351
3401
|
--tw-text-opacity: 1;
|
|
3352
3402
|
color: rgb(248 250 252 / var(--tw-text-opacity, 1));
|
|
3353
3403
|
}
|
|
3404
|
+
.hover\:text-white:hover {
|
|
3405
|
+
--tw-text-opacity: 1;
|
|
3406
|
+
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
3407
|
+
}
|
|
3354
3408
|
.hover\:text-yellow-500:hover {
|
|
3355
3409
|
--tw-text-opacity: 1;
|
|
3356
3410
|
color: rgb(234 179 8 / var(--tw-text-opacity, 1));
|
|
@@ -3624,6 +3678,10 @@ body {
|
|
|
3624
3678
|
--tw-rotate: -12deg;
|
|
3625
3679
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
3626
3680
|
}
|
|
3681
|
+
.group:hover .group-hover\:-rotate-180 {
|
|
3682
|
+
--tw-rotate: -180deg;
|
|
3683
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
3684
|
+
}
|
|
3627
3685
|
.group:hover .group-hover\:rotate-12 {
|
|
3628
3686
|
--tw-rotate: 12deg;
|
|
3629
3687
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -3871,8 +3929,8 @@ body {
|
|
|
3871
3929
|
.data-\[active\=true\]\:bg-accent\/50[data-active=true] {
|
|
3872
3930
|
background-color: hsl(var(--accent) / 0.5);
|
|
3873
3931
|
}
|
|
3874
|
-
.data-\[selected\=true\]\:bg-
|
|
3875
|
-
background-color: hsl(var(--
|
|
3932
|
+
.data-\[selected\=true\]\:bg-muted[data-selected=true] {
|
|
3933
|
+
background-color: hsl(var(--muted));
|
|
3876
3934
|
}
|
|
3877
3935
|
.data-\[state\=checked\]\:bg-green-500[data-state=checked] {
|
|
3878
3936
|
--tw-bg-opacity: 1;
|
|
@@ -3921,8 +3979,8 @@ body {
|
|
|
3921
3979
|
.data-\[active\=true\]\:text-accent-foreground[data-active=true] {
|
|
3922
3980
|
color: hsl(var(--accent-foreground));
|
|
3923
3981
|
}
|
|
3924
|
-
.data-\[selected\=true\]\:text-
|
|
3925
|
-
color: hsl(var(--
|
|
3982
|
+
.data-\[selected\=true\]\:text-primary[data-selected=true] {
|
|
3983
|
+
color: hsl(var(--primary));
|
|
3926
3984
|
}
|
|
3927
3985
|
.data-\[state\=active\]\:text-primary[data-state=active] {
|
|
3928
3986
|
color: hsl(var(--primary));
|
|
@@ -4400,10 +4458,6 @@ body {
|
|
|
4400
4458
|
--tw-bg-opacity: 1;
|
|
4401
4459
|
background-color: rgb(63 63 70 / var(--tw-bg-opacity, 1));
|
|
4402
4460
|
}
|
|
4403
|
-
.dark\:bg-zinc-800:is(.dark *) {
|
|
4404
|
-
--tw-bg-opacity: 1;
|
|
4405
|
-
background-color: rgb(39 39 42 / var(--tw-bg-opacity, 1));
|
|
4406
|
-
}
|
|
4407
4461
|
.dark\:text-black:is(.dark *) {
|
|
4408
4462
|
--tw-text-opacity: 1;
|
|
4409
4463
|
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
|
|
@@ -4581,6 +4635,10 @@ body {
|
|
|
4581
4635
|
.sm\:max-w-sm {
|
|
4582
4636
|
max-width: 24rem;
|
|
4583
4637
|
}
|
|
4638
|
+
.sm\:translate-y-0 {
|
|
4639
|
+
--tw-translate-y: 0px;
|
|
4640
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
4641
|
+
}
|
|
4584
4642
|
.sm\:grid-cols-2 {
|
|
4585
4643
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4586
4644
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -266,19 +266,19 @@ declare function ContextMenuLabelBase({ className, inset, ...props }: React$1.Co
|
|
|
266
266
|
declare function ContextMenuSeparatorBase({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
267
267
|
declare function ContextMenuShortcutBase({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
268
268
|
|
|
269
|
-
type TestIdProps$
|
|
269
|
+
type TestIdProps$2 = {
|
|
270
270
|
testid?: string;
|
|
271
271
|
};
|
|
272
272
|
declare const DialogBase: React$1.FC<DialogPrimitive.DialogProps>;
|
|
273
273
|
declare const DialogTriggerBase: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
274
274
|
declare const DialogPortalBase: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
275
275
|
declare const DialogCloseBase: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
276
|
-
declare const DialogOverlayBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps$
|
|
277
|
-
declare const DialogContentBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps$
|
|
278
|
-
declare const DialogHeaderBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps$
|
|
279
|
-
declare const DialogFooterBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps$
|
|
280
|
-
declare const DialogTitleBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & TestIdProps$
|
|
281
|
-
declare const DialogDescriptionBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & TestIdProps$
|
|
276
|
+
declare const DialogOverlayBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps$2 & React$1.RefAttributes<HTMLDivElement>>;
|
|
277
|
+
declare const DialogContentBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps$2 & React$1.RefAttributes<HTMLDivElement>>;
|
|
278
|
+
declare const DialogHeaderBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps$2 & React$1.RefAttributes<HTMLDivElement>>;
|
|
279
|
+
declare const DialogFooterBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps$2 & React$1.RefAttributes<HTMLDivElement>>;
|
|
280
|
+
declare const DialogTitleBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & TestIdProps$2 & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
281
|
+
declare const DialogDescriptionBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & TestIdProps$2 & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
282
282
|
|
|
283
283
|
declare function DrawerBase({ ...props }: React$1.ComponentProps<typeof Drawer.Root>): react_jsx_runtime.JSX.Element;
|
|
284
284
|
declare function DrawerTriggerBase({ ...props }: React$1.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -371,27 +371,24 @@ declare function NavigationMenuIndicatorBase({ className, ...props }: React$1.Co
|
|
|
371
371
|
declare const PopoverBase: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
372
372
|
declare const PopoverTriggerBase: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
373
373
|
declare const PopoverAnchorBase: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
374
|
-
type TestIdProps = {
|
|
374
|
+
type TestIdProps$1 = {
|
|
375
375
|
testid?: string;
|
|
376
376
|
};
|
|
377
|
-
declare const PopoverContentBase: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
377
|
+
declare const PopoverContentBase: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps$1 & React$1.RefAttributes<HTMLDivElement>>;
|
|
378
378
|
|
|
379
|
-
/**
|
|
380
|
-
* Tipos disponíveis de progresso
|
|
381
|
-
*/
|
|
382
379
|
type ProgressType = "bar" | "segments" | "panels" | "circles";
|
|
383
380
|
interface ProgressBaseProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
|
|
384
|
-
/** Tipo de visualização do progresso */
|
|
385
381
|
variant?: ProgressType;
|
|
386
382
|
label?: string;
|
|
387
383
|
leftIcon?: React$1.ReactNode;
|
|
388
384
|
rightIcon?: React$1.ReactNode;
|
|
389
|
-
|
|
385
|
+
showValue?: boolean;
|
|
386
|
+
valuePosition?: "left" | "right" | "inside";
|
|
390
387
|
segments?: number;
|
|
391
|
-
/** Array de etapas (usado quando variant="panels" ou "circles") */
|
|
392
388
|
steps?: string[];
|
|
393
|
-
/** Índice da etapa atual (usado quando variant="panels" ou "circles") */
|
|
394
389
|
currentStep?: number;
|
|
390
|
+
autocolor?: number[];
|
|
391
|
+
plusIndicator?: boolean;
|
|
395
392
|
}
|
|
396
393
|
declare const ProgressBase: React$1.ForwardRefExoticComponent<ProgressBaseProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
397
394
|
interface ProgressSegmentsBaseProps {
|
|
@@ -675,6 +672,7 @@ interface MultiComboboxTestIds {
|
|
|
675
672
|
selectedWrapper?: string;
|
|
676
673
|
emptyPlaceholder?: string;
|
|
677
674
|
selectedItem?: (value: string) => string;
|
|
675
|
+
clearAll?: string;
|
|
678
676
|
}
|
|
679
677
|
interface MultiComboboxProps<T extends string> extends Omit<ComboboxProps<T>, "selected" | "onChange"> {
|
|
680
678
|
selected: T[];
|
|
@@ -682,8 +680,9 @@ interface MultiComboboxProps<T extends string> extends Omit<ComboboxProps<T>, "s
|
|
|
682
680
|
label?: string;
|
|
683
681
|
labelClassname?: string;
|
|
684
682
|
testIds?: MultiComboboxTestIds;
|
|
683
|
+
keepOpen?: boolean;
|
|
685
684
|
}
|
|
686
|
-
declare function MultiCombobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, label, labelClassname, testIds, }: MultiComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
685
|
+
declare function MultiCombobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, label, labelClassname, testIds, keepOpen, }: MultiComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
687
686
|
|
|
688
687
|
interface SelectItem<T extends string> {
|
|
689
688
|
label: string;
|
|
@@ -1037,11 +1036,19 @@ interface QuickButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
1037
1036
|
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
|
|
1038
1037
|
size?: "default" | "sm" | "lg" | "icon";
|
|
1039
1038
|
}
|
|
1040
|
-
declare const EditButton: React$1.
|
|
1041
|
-
declare const
|
|
1042
|
-
declare const
|
|
1043
|
-
declare const
|
|
1044
|
-
declare const
|
|
1039
|
+
declare const EditButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1040
|
+
declare const ChangeButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1041
|
+
declare const SaveButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1042
|
+
declare const AddButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1043
|
+
declare const CloseButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1044
|
+
interface DeleteButtonProps extends QuickButtonProps {
|
|
1045
|
+
destructiveTitle?: string;
|
|
1046
|
+
destructiveDescription?: string;
|
|
1047
|
+
destructiveOnConfirm?: () => void;
|
|
1048
|
+
destructiveOnCancel?: () => void;
|
|
1049
|
+
destructiveTriggerContent?: React$1.ReactNode;
|
|
1050
|
+
}
|
|
1051
|
+
declare const DeleteButton: React$1.ForwardRefExoticComponent<DeleteButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1045
1052
|
declare const DownloadButton: React$1.FC<QuickButtonProps>;
|
|
1046
1053
|
declare const UploadButton: React$1.FC<QuickButtonProps>;
|
|
1047
1054
|
declare const CopyButton: React$1.FC<QuickButtonProps>;
|
|
@@ -1107,6 +1114,25 @@ interface FileUploaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
1107
1114
|
}
|
|
1108
1115
|
declare const FileUploader: React$1.ForwardRefExoticComponent<FileUploaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1109
1116
|
|
|
1117
|
+
type TestIdProps = {
|
|
1118
|
+
testid?: string;
|
|
1119
|
+
};
|
|
1120
|
+
declare const ModalBase: React$1.FC<DialogPrimitive.DialogProps>;
|
|
1121
|
+
declare const ModalTriggerBase: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1122
|
+
declare const ModalPortalBase: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
1123
|
+
declare const ModalCloseBase: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1124
|
+
declare const ModalOverlayBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1125
|
+
type ModalSize = "sm" | "md" | "lg" | "full";
|
|
1126
|
+
declare const ModalContentBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps & {
|
|
1127
|
+
size?: ModalSize;
|
|
1128
|
+
centered?: boolean;
|
|
1129
|
+
backdropBlur?: boolean;
|
|
1130
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1131
|
+
declare const ModalHeaderBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1132
|
+
declare const ModalFooterBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1133
|
+
declare const ModalTitleBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & TestIdProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1134
|
+
declare const ModalDescriptionBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & TestIdProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1135
|
+
|
|
1110
1136
|
declare function useIsMobile(): boolean;
|
|
1111
1137
|
|
|
1112
1138
|
interface Position {
|
|
@@ -1126,4 +1152,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
1126
1152
|
isDragging: boolean;
|
|
1127
1153
|
};
|
|
1128
1154
|
|
|
1129
|
-
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DeleteButton, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, detectDataFields, detectXAxis, formatFieldName, generateAdditionalColors, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, toast, useChartHighlights, useDrag, useIsMobile, useTheme };
|
|
1155
|
+
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DeleteButton, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, detectDataFields, detectXAxis, formatFieldName, generateAdditionalColors, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, toast, useChartHighlights, useDrag, useIsMobile, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -266,19 +266,19 @@ declare function ContextMenuLabelBase({ className, inset, ...props }: React$1.Co
|
|
|
266
266
|
declare function ContextMenuSeparatorBase({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
267
267
|
declare function ContextMenuShortcutBase({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
268
268
|
|
|
269
|
-
type TestIdProps$
|
|
269
|
+
type TestIdProps$2 = {
|
|
270
270
|
testid?: string;
|
|
271
271
|
};
|
|
272
272
|
declare const DialogBase: React$1.FC<DialogPrimitive.DialogProps>;
|
|
273
273
|
declare const DialogTriggerBase: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
274
274
|
declare const DialogPortalBase: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
275
275
|
declare const DialogCloseBase: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
276
|
-
declare const DialogOverlayBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps$
|
|
277
|
-
declare const DialogContentBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps$
|
|
278
|
-
declare const DialogHeaderBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps$
|
|
279
|
-
declare const DialogFooterBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps$
|
|
280
|
-
declare const DialogTitleBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & TestIdProps$
|
|
281
|
-
declare const DialogDescriptionBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & TestIdProps$
|
|
276
|
+
declare const DialogOverlayBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps$2 & React$1.RefAttributes<HTMLDivElement>>;
|
|
277
|
+
declare const DialogContentBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps$2 & React$1.RefAttributes<HTMLDivElement>>;
|
|
278
|
+
declare const DialogHeaderBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps$2 & React$1.RefAttributes<HTMLDivElement>>;
|
|
279
|
+
declare const DialogFooterBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps$2 & React$1.RefAttributes<HTMLDivElement>>;
|
|
280
|
+
declare const DialogTitleBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & TestIdProps$2 & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
281
|
+
declare const DialogDescriptionBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & TestIdProps$2 & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
282
282
|
|
|
283
283
|
declare function DrawerBase({ ...props }: React$1.ComponentProps<typeof Drawer.Root>): react_jsx_runtime.JSX.Element;
|
|
284
284
|
declare function DrawerTriggerBase({ ...props }: React$1.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -371,27 +371,24 @@ declare function NavigationMenuIndicatorBase({ className, ...props }: React$1.Co
|
|
|
371
371
|
declare const PopoverBase: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
372
372
|
declare const PopoverTriggerBase: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
373
373
|
declare const PopoverAnchorBase: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
374
|
-
type TestIdProps = {
|
|
374
|
+
type TestIdProps$1 = {
|
|
375
375
|
testid?: string;
|
|
376
376
|
};
|
|
377
|
-
declare const PopoverContentBase: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
377
|
+
declare const PopoverContentBase: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps$1 & React$1.RefAttributes<HTMLDivElement>>;
|
|
378
378
|
|
|
379
|
-
/**
|
|
380
|
-
* Tipos disponíveis de progresso
|
|
381
|
-
*/
|
|
382
379
|
type ProgressType = "bar" | "segments" | "panels" | "circles";
|
|
383
380
|
interface ProgressBaseProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
|
|
384
|
-
/** Tipo de visualização do progresso */
|
|
385
381
|
variant?: ProgressType;
|
|
386
382
|
label?: string;
|
|
387
383
|
leftIcon?: React$1.ReactNode;
|
|
388
384
|
rightIcon?: React$1.ReactNode;
|
|
389
|
-
|
|
385
|
+
showValue?: boolean;
|
|
386
|
+
valuePosition?: "left" | "right" | "inside";
|
|
390
387
|
segments?: number;
|
|
391
|
-
/** Array de etapas (usado quando variant="panels" ou "circles") */
|
|
392
388
|
steps?: string[];
|
|
393
|
-
/** Índice da etapa atual (usado quando variant="panels" ou "circles") */
|
|
394
389
|
currentStep?: number;
|
|
390
|
+
autocolor?: number[];
|
|
391
|
+
plusIndicator?: boolean;
|
|
395
392
|
}
|
|
396
393
|
declare const ProgressBase: React$1.ForwardRefExoticComponent<ProgressBaseProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
397
394
|
interface ProgressSegmentsBaseProps {
|
|
@@ -675,6 +672,7 @@ interface MultiComboboxTestIds {
|
|
|
675
672
|
selectedWrapper?: string;
|
|
676
673
|
emptyPlaceholder?: string;
|
|
677
674
|
selectedItem?: (value: string) => string;
|
|
675
|
+
clearAll?: string;
|
|
678
676
|
}
|
|
679
677
|
interface MultiComboboxProps<T extends string> extends Omit<ComboboxProps<T>, "selected" | "onChange"> {
|
|
680
678
|
selected: T[];
|
|
@@ -682,8 +680,9 @@ interface MultiComboboxProps<T extends string> extends Omit<ComboboxProps<T>, "s
|
|
|
682
680
|
label?: string;
|
|
683
681
|
labelClassname?: string;
|
|
684
682
|
testIds?: MultiComboboxTestIds;
|
|
683
|
+
keepOpen?: boolean;
|
|
685
684
|
}
|
|
686
|
-
declare function MultiCombobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, label, labelClassname, testIds, }: MultiComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
685
|
+
declare function MultiCombobox<T extends string>({ items, selected, onChange, className, placeholder, searchPlaceholder, label, labelClassname, testIds, keepOpen, }: MultiComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
687
686
|
|
|
688
687
|
interface SelectItem<T extends string> {
|
|
689
688
|
label: string;
|
|
@@ -1037,11 +1036,19 @@ interface QuickButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
1037
1036
|
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
|
|
1038
1037
|
size?: "default" | "sm" | "lg" | "icon";
|
|
1039
1038
|
}
|
|
1040
|
-
declare const EditButton: React$1.
|
|
1041
|
-
declare const
|
|
1042
|
-
declare const
|
|
1043
|
-
declare const
|
|
1044
|
-
declare const
|
|
1039
|
+
declare const EditButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1040
|
+
declare const ChangeButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1041
|
+
declare const SaveButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1042
|
+
declare const AddButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1043
|
+
declare const CloseButton: React$1.ForwardRefExoticComponent<QuickButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1044
|
+
interface DeleteButtonProps extends QuickButtonProps {
|
|
1045
|
+
destructiveTitle?: string;
|
|
1046
|
+
destructiveDescription?: string;
|
|
1047
|
+
destructiveOnConfirm?: () => void;
|
|
1048
|
+
destructiveOnCancel?: () => void;
|
|
1049
|
+
destructiveTriggerContent?: React$1.ReactNode;
|
|
1050
|
+
}
|
|
1051
|
+
declare const DeleteButton: React$1.ForwardRefExoticComponent<DeleteButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1045
1052
|
declare const DownloadButton: React$1.FC<QuickButtonProps>;
|
|
1046
1053
|
declare const UploadButton: React$1.FC<QuickButtonProps>;
|
|
1047
1054
|
declare const CopyButton: React$1.FC<QuickButtonProps>;
|
|
@@ -1107,6 +1114,25 @@ interface FileUploaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
1107
1114
|
}
|
|
1108
1115
|
declare const FileUploader: React$1.ForwardRefExoticComponent<FileUploaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1109
1116
|
|
|
1117
|
+
type TestIdProps = {
|
|
1118
|
+
testid?: string;
|
|
1119
|
+
};
|
|
1120
|
+
declare const ModalBase: React$1.FC<DialogPrimitive.DialogProps>;
|
|
1121
|
+
declare const ModalTriggerBase: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1122
|
+
declare const ModalPortalBase: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
1123
|
+
declare const ModalCloseBase: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1124
|
+
declare const ModalOverlayBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1125
|
+
type ModalSize = "sm" | "md" | "lg" | "full";
|
|
1126
|
+
declare const ModalContentBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps & {
|
|
1127
|
+
size?: ModalSize;
|
|
1128
|
+
centered?: boolean;
|
|
1129
|
+
backdropBlur?: boolean;
|
|
1130
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1131
|
+
declare const ModalHeaderBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1132
|
+
declare const ModalFooterBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & TestIdProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1133
|
+
declare const ModalTitleBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & TestIdProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1134
|
+
declare const ModalDescriptionBase: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & TestIdProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1135
|
+
|
|
1110
1136
|
declare function useIsMobile(): boolean;
|
|
1111
1137
|
|
|
1112
1138
|
interface Position {
|
|
@@ -1126,4 +1152,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
1126
1152
|
isDragging: boolean;
|
|
1127
1153
|
};
|
|
1128
1154
|
|
|
1129
|
-
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DeleteButton, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, detectDataFields, detectXAxis, formatFieldName, generateAdditionalColors, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, toast, useChartHighlights, useDrag, useIsMobile, useTheme };
|
|
1155
|
+
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DeleteButton, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, detectDataFields, detectXAxis, formatFieldName, generateAdditionalColors, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, toast, useChartHighlights, useDrag, useIsMobile, useTheme };
|