@mlw-packages/react-components 1.5.1 → 1.5.3

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 CHANGED
@@ -975,12 +975,18 @@ body {
975
975
  .w-\[400px\] {
976
976
  width: 400px;
977
977
  }
978
+ .w-\[450px\] {
979
+ width: 450px;
980
+ }
978
981
  .w-\[48px\] {
979
982
  width: 48px;
980
983
  }
981
984
  .w-\[50\%\] {
982
985
  width: 50%;
983
986
  }
987
+ .w-\[500px\] {
988
+ width: 500px;
989
+ }
984
990
  .w-\[70\%\] {
985
991
  width: 70%;
986
992
  }
@@ -1080,6 +1086,9 @@ body {
1080
1086
  .flex-\[1_1_23\%\] {
1081
1087
  flex: 1 1 23%;
1082
1088
  }
1089
+ .flex-shrink-0 {
1090
+ flex-shrink: 0;
1091
+ }
1083
1092
  .shrink-0 {
1084
1093
  flex-shrink: 0;
1085
1094
  }
@@ -1190,6 +1199,9 @@ body {
1190
1199
  .grid-cols-1 {
1191
1200
  grid-template-columns: repeat(1, minmax(0, 1fr));
1192
1201
  }
1202
+ .grid-cols-2 {
1203
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1204
+ }
1193
1205
  .grid-cols-3 {
1194
1206
  grid-template-columns: repeat(3, minmax(0, 1fr));
1195
1207
  }
@@ -1480,6 +1492,9 @@ body {
1480
1492
  .border-border {
1481
1493
  border-color: hsl(var(--border));
1482
1494
  }
1495
+ .border-destructive {
1496
+ border-color: hsl(var(--destructive));
1497
+ }
1483
1498
  .border-gray-200 {
1484
1499
  --tw-border-opacity: 1;
1485
1500
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
@@ -1598,6 +1613,9 @@ body {
1598
1613
  .bg-muted {
1599
1614
  background-color: hsl(var(--muted));
1600
1615
  }
1616
+ .bg-muted\/30 {
1617
+ background-color: hsl(var(--muted) / 0.3);
1618
+ }
1601
1619
  .bg-muted\/50 {
1602
1620
  background-color: hsl(var(--muted) / 0.5);
1603
1621
  }
@@ -1769,10 +1787,6 @@ body {
1769
1787
  padding-left: 1.5rem;
1770
1788
  padding-right: 1.5rem;
1771
1789
  }
1772
- .px-8 {
1773
- padding-left: 2rem;
1774
- padding-right: 2rem;
1775
- }
1776
1790
  .px-96 {
1777
1791
  padding-left: 24rem;
1778
1792
  padding-right: 24rem;
@@ -1827,9 +1841,15 @@ body {
1827
1841
  .pb-1 {
1828
1842
  padding-bottom: 0.25rem;
1829
1843
  }
1844
+ .pb-2 {
1845
+ padding-bottom: 0.5rem;
1846
+ }
1830
1847
  .pb-3 {
1831
1848
  padding-bottom: 0.75rem;
1832
1849
  }
1850
+ .pb-4 {
1851
+ padding-bottom: 1rem;
1852
+ }
1833
1853
  .pl-2 {
1834
1854
  padding-left: 0.5rem;
1835
1855
  }
@@ -1989,9 +2009,6 @@ body {
1989
2009
  .text-destructive {
1990
2010
  color: hsl(var(--destructive));
1991
2011
  }
1992
- .text-destructive-foreground {
1993
- color: hsl(var(--destructive-foreground));
1994
- }
1995
2012
  .text-emerald-600 {
1996
2013
  --tw-text-opacity: 1;
1997
2014
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
@@ -2232,6 +2249,14 @@ body {
2232
2249
  var(--tw-ring-shadow),
2233
2250
  var(--tw-shadow, 0 0 #0000);
2234
2251
  }
2252
+ .ring-1 {
2253
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2254
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2255
+ box-shadow:
2256
+ var(--tw-ring-offset-shadow),
2257
+ var(--tw-ring-shadow),
2258
+ var(--tw-shadow, 0 0 #0000);
2259
+ }
2235
2260
  .ring-2 {
2236
2261
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2237
2262
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -2243,6 +2268,9 @@ body {
2243
2268
  .ring-background {
2244
2269
  --tw-ring-color: hsl(var(--background));
2245
2270
  }
2271
+ .ring-destructive\/30 {
2272
+ --tw-ring-color: hsl(var(--destructive) / 0.3);
2273
+ }
2246
2274
  .ring-primary {
2247
2275
  --tw-ring-color: hsl(var(--primary));
2248
2276
  }
@@ -2431,7 +2459,7 @@ body {
2431
2459
  --secondary-foreground: 222.2 47.4% 11.2%;
2432
2460
  --accent: 210 40% 96.1%;
2433
2461
  --accent-foreground: 222.2 47.4% 11.2%;
2434
- --destructive: 0 100% 50%;
2462
+ --destructive: 0 100% 60%;
2435
2463
  --destructive-foreground: 210 40% 98%;
2436
2464
  --ring: 215 20.2% 65.1%;
2437
2465
  --tick-color: #000;
@@ -2450,7 +2478,7 @@ body {
2450
2478
  --input: 231 15% 31%;
2451
2479
  --card: 231 15% 25%;
2452
2480
  --card-foreground: 60 30% 96%;
2453
- --destructive: 0 100% 70%;
2481
+ --destructive: 0 100% 60%;
2454
2482
  --destructive-foreground: 231 15% 19%;
2455
2483
  --ring: 216 34% 17%;
2456
2484
  --tick-color: #fff;
@@ -2702,6 +2730,9 @@ body {
2702
2730
  --tw-bg-opacity: 1;
2703
2731
  background-color: rgb(4 120 87 / var(--tw-bg-opacity, 1));
2704
2732
  }
2733
+ .hover\:bg-foreground\/5:hover {
2734
+ background-color: hsl(var(--foreground) / 0.05);
2735
+ }
2705
2736
  .hover\:bg-gray-100:hover {
2706
2737
  --tw-bg-opacity: 1;
2707
2738
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
@@ -2753,6 +2784,9 @@ body {
2753
2784
  --tw-bg-opacity: 1;
2754
2785
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
2755
2786
  }
2787
+ .hover\:bg-secondary\/80:hover {
2788
+ background-color: hsl(var(--secondary) / 0.8);
2789
+ }
2756
2790
  .hover\:bg-yellow-600:hover {
2757
2791
  --tw-bg-opacity: 1;
2758
2792
  background-color: rgb(202 138 4 / var(--tw-bg-opacity, 1));
@@ -2788,9 +2822,6 @@ body {
2788
2822
  .hover\:opacity-100:hover {
2789
2823
  opacity: 1;
2790
2824
  }
2791
- .hover\:opacity-80:hover {
2792
- opacity: 0.8;
2793
- }
2794
2825
  .hover\:opacity-90:hover {
2795
2826
  opacity: 0.9;
2796
2827
  }
@@ -2810,6 +2841,14 @@ body {
2810
2841
  var(--tw-ring-shadow, 0 0 #0000),
2811
2842
  var(--tw-shadow);
2812
2843
  }
2844
+ .hover\:shadow-none:hover {
2845
+ --tw-shadow: 0 0 #0000;
2846
+ --tw-shadow-colored: 0 0 #0000;
2847
+ box-shadow:
2848
+ var(--tw-ring-offset-shadow, 0 0 #0000),
2849
+ var(--tw-ring-shadow, 0 0 #0000),
2850
+ var(--tw-shadow);
2851
+ }
2813
2852
  .hover\:shadow-xl:hover {
2814
2853
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
2815
2854
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
@@ -2937,11 +2976,6 @@ body {
2937
2976
  --tw-scale-y: 1.25;
2938
2977
  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));
2939
2978
  }
2940
- .active\:scale-\[0\.97\]:active {
2941
- --tw-scale-x: 0.97;
2942
- --tw-scale-y: 0.97;
2943
- 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));
2944
- }
2945
2979
  .active\:scale-\[0\.98\]:active {
2946
2980
  --tw-scale-x: 0.98;
2947
2981
  --tw-scale-y: 0.98;
@@ -3001,6 +3035,18 @@ body {
3001
3035
  .peer:disabled ~ .peer-disabled\:opacity-70 {
3002
3036
  opacity: 0.7;
3003
3037
  }
3038
+ .has-\[\>svg\]\:px-2\.5:has(> svg) {
3039
+ padding-left: 0.625rem;
3040
+ padding-right: 0.625rem;
3041
+ }
3042
+ .has-\[\>svg\]\:px-3:has(> svg) {
3043
+ padding-left: 0.75rem;
3044
+ padding-right: 0.75rem;
3045
+ }
3046
+ .has-\[\>svg\]\:px-4:has(> svg) {
3047
+ padding-left: 1rem;
3048
+ padding-right: 1rem;
3049
+ }
3004
3050
  .group\/menu-item:has([data-sidebar=menu-action]) .group-has-\[\[data-sidebar\=menu-action\]\]\/menu-item\:pr-8 {
3005
3051
  padding-right: 2rem;
3006
3052
  }
@@ -3107,6 +3153,32 @@ body {
3107
3153
  --tw-translate-x: 0px;
3108
3154
  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));
3109
3155
  }
3156
+ @keyframes collapsible-up {
3157
+ from {
3158
+ height: var(--radix-collapsible-content-height);
3159
+ opacity: 1;
3160
+ }
3161
+ to {
3162
+ height: 0;
3163
+ opacity: 0;
3164
+ }
3165
+ }
3166
+ .data-\[state\=closed\]\:animate-collapsible-up[data-state=closed] {
3167
+ animation: collapsible-up 600ms cubic-bezier(0.4, 0.0, 0.2, 1);
3168
+ }
3169
+ @keyframes collapsible-down {
3170
+ from {
3171
+ height: 0;
3172
+ opacity: 0;
3173
+ }
3174
+ to {
3175
+ height: var(--radix-collapsible-content-height);
3176
+ opacity: 1;
3177
+ }
3178
+ }
3179
+ .data-\[state\=open\]\:animate-collapsible-down[data-state=open] {
3180
+ animation: collapsible-down 600ms cubic-bezier(0.4, 0.0, 0.2, 1);
3181
+ }
3110
3182
  .data-\[vaul-drawer-direction\=bottom\]\:rounded-t-lg[data-vaul-drawer-direction=bottom] {
3111
3183
  border-top-left-radius: var(--radius);
3112
3184
  border-top-right-radius: var(--radius);
@@ -3631,6 +3703,9 @@ body {
3631
3703
  --tw-border-opacity: 1;
3632
3704
  border-color: rgb(17 24 39 / var(--tw-border-opacity, 1));
3633
3705
  }
3706
+ .dark\:border-input:is(.dark *) {
3707
+ border-color: hsl(var(--input));
3708
+ }
3634
3709
  .dark\:border-slate-600:is(.dark *) {
3635
3710
  --tw-border-opacity: 1;
3636
3711
  border-color: rgb(71 85 105 / var(--tw-border-opacity, 1));
@@ -3736,6 +3811,12 @@ body {
3736
3811
  --tw-text-opacity: 1;
3737
3812
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
3738
3813
  }
3814
+ .dark\:hover\:bg-accent\/50:hover:is(.dark *) {
3815
+ background-color: hsl(var(--accent) / 0.5);
3816
+ }
3817
+ .dark\:hover\:bg-input\/50:hover:is(.dark *) {
3818
+ background-color: hsl(var(--input) / 0.5);
3819
+ }
3739
3820
  .dark\:hover\:bg-slate-50:hover:is(.dark *) {
3740
3821
  --tw-bg-opacity: 1;
3741
3822
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
@@ -3824,6 +3905,10 @@ body {
3824
3905
  .sm\:text-left {
3825
3906
  text-align: left;
3826
3907
  }
3908
+ .sm\:text-xl {
3909
+ font-size: 1.25rem;
3910
+ line-height: 1.75rem;
3911
+ }
3827
3912
  .data-\[vaul-drawer-direction\=left\]\:sm\:max-w-sm[data-vaul-drawer-direction=left] {
3828
3913
  max-width: 24rem;
3829
3914
  }
@@ -4036,6 +4121,10 @@ body {
4036
4121
  .\[\&\>tr\]\:last\:border-b-0:last-child > tr {
4037
4122
  border-bottom-width: 0px;
4038
4123
  }
4124
+ .\[\&\[data-state\=open\]_\.caret-icon\]\:rotate-180[data-state=open] .caret-icon {
4125
+ --tw-rotate: 180deg;
4126
+ 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));
4127
+ }
4039
4128
  .\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading] {
4040
4129
  padding-left: 0.5rem;
4041
4130
  padding-right: 0.5rem;
package/dist/index.d.mts CHANGED
@@ -8,6 +8,7 @@ import { VariantProps } from 'class-variance-authority';
8
8
  import { DayPicker } from 'react-day-picker';
9
9
  import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
10
10
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
11
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
11
12
  import * as DialogPrimitive from '@radix-ui/react-dialog';
12
13
  import { DialogProps } from '@radix-ui/react-dialog';
13
14
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
@@ -143,6 +144,13 @@ declare const CheckboxBase: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimi
143
144
  testid?: string;
144
145
  } & React$1.RefAttributes<HTMLButtonElement>>;
145
146
 
147
+ declare const CollapsibleBase: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
148
+ declare const CollapsibleTriggerBase: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
149
+ leftIcon?: React$1.ReactNode;
150
+ showCaret?: boolean;
151
+ } & React$1.RefAttributes<HTMLButtonElement>>;
152
+ declare const CollapsibleContentBase: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
153
+
146
154
  declare const CommandBase: React$1.ForwardRefExoticComponent<Omit<{
147
155
  children?: React$1.ReactNode;
148
156
  } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
@@ -344,7 +352,6 @@ declare function NavigationMenuBase({ className, children, viewport, ...props }:
344
352
  }): react_jsx_runtime.JSX.Element;
345
353
  declare function NavigationMenuListBase({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime.JSX.Element;
346
354
  declare function NavigationMenuItemBase({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime.JSX.Element;
347
- declare const navigationMenuTriggerStyle: (props?: class_variance_authority_dist_types.ClassProp | undefined) => string;
348
355
  declare function NavigationMenuTriggerBase({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
349
356
  declare function NavigationMenuContentBase({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
350
357
  declare function NavigationMenuViewportBase({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime.JSX.Element;
@@ -668,6 +675,16 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
668
675
  type SelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
669
676
  declare function Select<T extends string>({ items, groupItems, placeholder, onChange, errorMessage, testIds, }: SelectProps<T>): react_jsx_runtime.JSX.Element;
670
677
 
678
+ interface DestructiveDialogProps {
679
+ title: string;
680
+ description: string;
681
+ onConfirm: () => void;
682
+ onCancel?: () => void;
683
+ children?: React$1.ReactNode;
684
+ triggerContent?: React$1.ReactNode;
685
+ }
686
+ declare const DestructiveDialog: React$1.FC<DestructiveDialogProps>;
687
+
671
688
  declare function useIsMobile(): boolean;
672
689
 
673
- export { AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BadgeBase, 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, CheckboxBase, 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, DateTimePicker, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, 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, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, ModeToggleBase, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, ScrollAreaBase, ScrollBarBase, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, 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 Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipTriggerBase, UseSideBarBase, badgeVariants, buttonVariantsBase, navigationMenuTriggerStyle, toast, useIsMobile, useTheme };
690
+ export { AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BadgeBase, 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, CheckboxBase, 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, DateTimePicker, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, 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, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, ModeToggleBase, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, ScrollAreaBase, ScrollBarBase, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, 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 Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipTriggerBase, UseSideBarBase, badgeVariants, buttonVariantsBase, toast, useIsMobile, useTheme };
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ import { VariantProps } from 'class-variance-authority';
8
8
  import { DayPicker } from 'react-day-picker';
9
9
  import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
10
10
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
11
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
11
12
  import * as DialogPrimitive from '@radix-ui/react-dialog';
12
13
  import { DialogProps } from '@radix-ui/react-dialog';
13
14
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
@@ -143,6 +144,13 @@ declare const CheckboxBase: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimi
143
144
  testid?: string;
144
145
  } & React$1.RefAttributes<HTMLButtonElement>>;
145
146
 
147
+ declare const CollapsibleBase: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
148
+ declare const CollapsibleTriggerBase: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
149
+ leftIcon?: React$1.ReactNode;
150
+ showCaret?: boolean;
151
+ } & React$1.RefAttributes<HTMLButtonElement>>;
152
+ declare const CollapsibleContentBase: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
153
+
146
154
  declare const CommandBase: React$1.ForwardRefExoticComponent<Omit<{
147
155
  children?: React$1.ReactNode;
148
156
  } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
@@ -344,7 +352,6 @@ declare function NavigationMenuBase({ className, children, viewport, ...props }:
344
352
  }): react_jsx_runtime.JSX.Element;
345
353
  declare function NavigationMenuListBase({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime.JSX.Element;
346
354
  declare function NavigationMenuItemBase({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime.JSX.Element;
347
- declare const navigationMenuTriggerStyle: (props?: class_variance_authority_dist_types.ClassProp | undefined) => string;
348
355
  declare function NavigationMenuTriggerBase({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
349
356
  declare function NavigationMenuContentBase({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
350
357
  declare function NavigationMenuViewportBase({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime.JSX.Element;
@@ -668,6 +675,16 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
668
675
  type SelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
669
676
  declare function Select<T extends string>({ items, groupItems, placeholder, onChange, errorMessage, testIds, }: SelectProps<T>): react_jsx_runtime.JSX.Element;
670
677
 
678
+ interface DestructiveDialogProps {
679
+ title: string;
680
+ description: string;
681
+ onConfirm: () => void;
682
+ onCancel?: () => void;
683
+ children?: React$1.ReactNode;
684
+ triggerContent?: React$1.ReactNode;
685
+ }
686
+ declare const DestructiveDialog: React$1.FC<DestructiveDialogProps>;
687
+
671
688
  declare function useIsMobile(): boolean;
672
689
 
673
- export { AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BadgeBase, 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, CheckboxBase, 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, DateTimePicker, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, 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, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, ModeToggleBase, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, ScrollAreaBase, ScrollBarBase, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, 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 Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipTriggerBase, UseSideBarBase, badgeVariants, buttonVariantsBase, navigationMenuTriggerStyle, toast, useIsMobile, useTheme };
690
+ export { AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BadgeBase, 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, CheckboxBase, 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, DateTimePicker, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, 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, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, ModeToggleBase, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, ScrollAreaBase, ScrollBarBase, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, 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 Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipTriggerBase, UseSideBarBase, badgeVariants, buttonVariantsBase, toast, useIsMobile, useTheme };