@sikka/hawa 0.5.3-next → 0.5.6-next

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.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import * as React$1 from 'react';
2
2
  import React__default, { FC, ReactNode, ChangeEvent, RefObject, PropsWithRef } from 'react';
3
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
4
4
  import { VariantProps } from 'class-variance-authority';
@@ -68,40 +68,40 @@ declare const buttonVariants: (props?: ({
68
68
  variant?: "link" | "default" | "light" | "destructive" | "outline" | "secondary" | "ghost" | "neoBrutalism" | null | undefined;
69
69
  size?: "xs" | "sm" | "lg" | "xl" | "default" | "heightless" | "icon" | "smallIcon" | null | undefined;
70
70
  } & class_variance_authority_types.ClassProp) | undefined) => string;
71
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
71
+ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
72
72
  asChild?: boolean;
73
73
  centered?: boolean;
74
74
  isLoading?: boolean;
75
75
  }
76
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
76
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
77
77
 
78
- declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
79
- declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
80
- declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
78
+ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
79
+ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
80
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
81
81
  persist?: boolean | undefined;
82
- } & React.RefAttributes<HTMLDivElement>>;
82
+ } & React$1.RefAttributes<HTMLDivElement>>;
83
83
  declare const DialogHeader: {
84
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
84
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
85
85
  displayName: string;
86
86
  };
87
- declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
88
- declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
87
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
88
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
89
89
  declare const DialogFooter: {
90
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
90
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
91
91
  displayName: string;
92
92
  };
93
93
 
94
- interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
94
+ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
95
95
  clickable?: boolean;
96
96
  }
97
- declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
98
- declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
99
- declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
100
- declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
101
- declare const CardContent: React.ForwardRefExoticComponent<{
97
+ declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
98
+ declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
99
+ declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
100
+ declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
101
+ declare const CardContent: React$1.ForwardRefExoticComponent<{
102
102
  headless?: boolean | undefined;
103
- } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
104
- declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
103
+ } & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
104
+ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
105
105
 
106
106
  type LoadingTypes = {
107
107
  /** Specifies the size of the loading component.*/
@@ -167,36 +167,36 @@ type TCheckBoxTypes = {
167
167
  sublabel?: any;
168
168
  helperText?: any;
169
169
  };
170
- type HawaCheckboxProps = TCheckBoxTypes & React.ComponentProps<typeof CheckboxElement>;
171
- declare const Checkbox: React.FC<HawaCheckboxProps>;
172
- declare const CheckboxElement: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
170
+ type HawaCheckboxProps = TCheckBoxTypes & React$1.ComponentProps<typeof CheckboxElement>;
171
+ declare const Checkbox: React$1.FC<HawaCheckboxProps>;
172
+ declare const CheckboxElement: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
173
173
 
174
- declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
175
- declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
176
- declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
174
+ declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
175
+ declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
176
+ declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
177
177
  variant?: "default" | "destructive" | null | undefined;
178
178
  severity?: "none" | "error" | "info" | "warning" | "success" | null | undefined;
179
179
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
180
180
  severity?: "none" | "error" | "info" | "warning" | "success" | undefined;
181
181
  direction?: "rtl" | "ltr" | undefined;
182
- } & React.RefAttributes<HTMLLIElement>>;
183
- declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
184
- declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
185
- declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
186
- declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
187
- type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
188
- type ToastActionElement = React.ReactElement<typeof ToastAction>;
182
+ } & React$1.RefAttributes<HTMLLIElement>>;
183
+ declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
184
+ declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
185
+ declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
186
+ declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
187
+ type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
188
+ type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
189
189
 
190
190
  type ToasterProps = {
191
191
  direction?: "ltr" | "rtl";
192
192
  };
193
193
  declare function Toaster(props: ToasterProps): React__default.JSX.Element;
194
194
 
195
- interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> {
195
+ interface SwitchProps extends React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> {
196
196
  size?: "default" | "sm" | "lg";
197
197
  label?: string;
198
198
  }
199
- declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
199
+ declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
200
200
 
201
201
  type RadioOptionsTypes = {
202
202
  value: any;
@@ -239,7 +239,7 @@ type TChipTypes = {
239
239
  };
240
240
  declare const Chip: FC<TChipTypes>;
241
241
 
242
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
242
+ declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
243
243
 
244
244
  type AlertTypes = {
245
245
  severity?: "info" | "warning" | "error" | "success";
@@ -264,30 +264,30 @@ type AlertTypes = {
264
264
  };
265
265
  declare const Alert: React__default.FunctionComponent<AlertTypes>;
266
266
 
267
- declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
267
+ declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
268
268
  interface PopoverProps {
269
269
  side?: "top" | "right" | "bottom" | "left";
270
270
  align?: "start" | "center" | "end";
271
- trigger: React.ReactNode;
272
- children: React.ReactNode;
271
+ trigger: React$1.ReactNode;
272
+ children: React$1.ReactNode;
273
273
  className?: string;
274
274
  sideOffset?: number;
275
275
  disableTrigger?: any;
276
276
  open?: boolean;
277
277
  }
278
- type HawaPopoverTypes = PopoverProps & React.ComponentProps<typeof PopoverPrimitive.Root>;
279
- declare const Popover: React.FC<HawaPopoverTypes>;
280
- declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
278
+ type HawaPopoverTypes = PopoverProps & React$1.ComponentProps<typeof PopoverPrimitive.Root>;
279
+ declare const Popover: React$1.FC<HawaPopoverTypes>;
280
+ declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
281
281
 
282
- interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
282
+ interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
283
283
  helperText?: string;
284
284
  }
285
- declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
285
+ declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
286
286
 
287
- declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
287
+ declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
288
288
 
289
- type ExtendedDropdownMenuContentProps = Partial<React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
290
- type ExtendedDropdownMenuTriggerProps = Partial<React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
289
+ type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
290
+ type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
291
291
  type SubItem$2 = {
292
292
  label?: string;
293
293
  value?: any;
@@ -322,7 +322,7 @@ interface DropdownMenuProps {
322
322
  size?: "default" | "sm";
323
323
  onItemSelect?: any;
324
324
  }
325
- declare const DropdownMenu: React.FC<DropdownMenuProps>;
325
+ declare const DropdownMenu: React$1.FC<DropdownMenuProps>;
326
326
 
327
327
  type ColorPickerTypes = {
328
328
  /** The hex code for the color */
@@ -424,7 +424,7 @@ declare module "@tanstack/table-core" {
424
424
  sortable: any;
425
425
  }
426
426
  }
427
- declare const DataTable: <DataProps extends {}>({ columns, data, ...props }: DataTableProps<DataProps>) => React.JSX.Element;
427
+ declare const DataTable: <DataProps extends {}>({ columns, data, ...props }: DataTableProps<DataProps>) => React$1.JSX.Element;
428
428
 
429
429
  type DataProps = {};
430
430
  type SimpleTableProps = {
@@ -448,39 +448,39 @@ declare module "@tanstack/table-core" {
448
448
  sortable: any;
449
449
  }
450
450
  }
451
- declare const SimpleTable: React.FC<SimpleTableProps>;
451
+ declare const SimpleTable: React$1.FC<SimpleTableProps>;
452
452
 
453
- declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
454
- declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
455
- interface TableHeadProps extends React.ThHTMLAttributes<HTMLTableCellElement> {
453
+ declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
454
+ declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
455
+ interface TableHeadProps extends React$1.ThHTMLAttributes<HTMLTableCellElement> {
456
456
  clickable?: boolean;
457
457
  condensed?: boolean;
458
458
  }
459
- declare const TableHead: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableCellElement>>;
460
- declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
461
- declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
462
- declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
463
- interface TableCellProps extends React.TdHTMLAttributes<HTMLTableCellElement> {
459
+ declare const TableHead: React$1.ForwardRefExoticComponent<TableHeadProps & React$1.RefAttributes<HTMLTableCellElement>>;
460
+ declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
461
+ declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
462
+ declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
463
+ interface TableCellProps extends React$1.TdHTMLAttributes<HTMLTableCellElement> {
464
464
  condensed?: boolean;
465
465
  }
466
- declare const TableCell: React.ForwardRefExoticComponent<TableCellProps & React.RefAttributes<HTMLTableCellElement>>;
467
- declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
466
+ declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
467
+ declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
468
468
 
469
469
  type AccordionProps = {
470
470
  items: AccordionItem[];
471
- } & React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;
472
- declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
471
+ } & React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;
472
+ declare const Accordion: React$1.ForwardRefExoticComponent<AccordionProps & React$1.RefAttributes<HTMLDivElement>>;
473
473
  type AccordionItem = {
474
474
  trigger: string;
475
475
  content: string;
476
476
  };
477
- declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
478
- declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
479
- declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
477
+ declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
478
+ declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
479
+ declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
480
480
 
481
- declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
481
+ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
482
482
 
483
- declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
483
+ declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
484
484
 
485
485
  type BackToTopTypes = {
486
486
  paddingX?: number;
@@ -525,17 +525,17 @@ type TextFieldTypes = {
525
525
  };
526
526
  declare const Input: FC<TextFieldTypes>;
527
527
 
528
- declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
528
+ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
529
529
  orientation?: "vertical" | "horizontal" | undefined;
530
- } & React.RefAttributes<HTMLDivElement>>;
531
- declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
532
- declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
533
- declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
530
+ } & React$1.RefAttributes<HTMLDivElement>>;
531
+ declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
532
+ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
533
+ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
534
534
 
535
- declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
535
+ declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
536
536
  orientation?: "vertical" | "horizontal" | undefined;
537
- } & React.RefAttributes<HTMLDivElement>>;
538
- declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
537
+ } & React$1.RefAttributes<HTMLDivElement>>;
538
+ declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
539
539
 
540
540
  type IconProps = React__default.HTMLAttributes<SVGElement>;
541
541
  declare const Logos: {
@@ -558,51 +558,51 @@ declare const Logos: {
558
558
  spinner: (props: IconProps) => React__default.JSX.Element;
559
559
  };
560
560
 
561
- declare const Command: React.ForwardRefExoticComponent<Omit<{
562
- children?: React.ReactNode;
563
- } & React.HTMLAttributes<HTMLDivElement> & {
561
+ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
562
+ children?: React$1.ReactNode;
563
+ } & React$1.HTMLAttributes<HTMLDivElement> & {
564
564
  label?: string | undefined;
565
565
  shouldFilter?: boolean | undefined;
566
566
  filter?: ((value: string, search: string) => number) | undefined;
567
567
  value?: string | undefined;
568
568
  onValueChange?: ((value: string) => void) | undefined;
569
569
  loop?: boolean | undefined;
570
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
570
+ } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
571
571
  interface CommandDialogProps extends DialogProps {
572
572
  }
573
- declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React.JSX.Element;
574
- declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
573
+ declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React$1.JSX.Element;
574
+ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
575
575
  value?: string | undefined;
576
576
  onValueChange?: ((search: string) => void) | undefined;
577
- } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
578
- declare const CommandList: React.ForwardRefExoticComponent<Omit<{
579
- children?: React.ReactNode;
580
- } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
581
- declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
582
- children?: React.ReactNode;
583
- } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
584
- declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
585
- children?: React.ReactNode;
586
- } & Omit<React.HTMLAttributes<HTMLDivElement>, "heading" | "value"> & {
587
- heading?: React.ReactNode;
577
+ } & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
578
+ declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
579
+ children?: React$1.ReactNode;
580
+ } & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
581
+ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
582
+ children?: React$1.ReactNode;
583
+ } & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
584
+ declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
585
+ children?: React$1.ReactNode;
586
+ } & Omit<React$1.HTMLAttributes<HTMLDivElement>, "heading" | "value"> & {
587
+ heading?: React$1.ReactNode;
588
588
  value?: string | undefined;
589
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
590
- declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & {
589
+ } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
590
+ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement> & {
591
591
  alwaysRender?: boolean | undefined;
592
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
593
- declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
594
- children?: React.ReactNode;
595
- } & Omit<React.HTMLAttributes<HTMLDivElement>, "disabled" | "value" | "onSelect"> & {
592
+ } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
593
+ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
594
+ children?: React$1.ReactNode;
595
+ } & Omit<React$1.HTMLAttributes<HTMLDivElement>, "disabled" | "value" | "onSelect"> & {
596
596
  disabled?: boolean | undefined;
597
597
  onSelect?: ((value: string) => void) | undefined;
598
598
  value?: string | undefined;
599
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
599
+ } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
600
600
  declare const CommandShortcut: {
601
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
601
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
602
602
  displayName: string;
603
603
  };
604
604
 
605
- declare function Combobox(): React.JSX.Element;
605
+ declare function Combobox(): React$1.JSX.Element;
606
606
 
607
607
  type SelectTypes = {
608
608
  label?: string;
@@ -634,8 +634,8 @@ type SelectTypes = {
634
634
  };
635
635
  declare const Select: FC<SelectTypes>;
636
636
 
637
- declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
638
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React.JSX.Element;
637
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
638
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React$1.JSX.Element;
639
639
  declare const useFormField: () => {
640
640
  invalid: boolean;
641
641
  isDirty: boolean;
@@ -647,11 +647,11 @@ declare const useFormField: () => {
647
647
  formDescriptionId: string;
648
648
  formMessageId: string;
649
649
  };
650
- declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
651
- declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
652
- declare const FormControl: React.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
653
- declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
654
- declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
650
+ declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
651
+ declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
652
+ declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
653
+ declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
654
+ declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
655
655
 
656
656
  type TypographyTypes = {
657
657
  handleLanguage: (e: any) => void;
@@ -701,8 +701,8 @@ interface SidebarGroupProps {
701
701
  onSubItemClick?: (values: string[]) => void;
702
702
  direction?: "rtl" | "ltr";
703
703
  }
704
- declare const SidebarGroup: React.FC<SidebarGroupProps>;
705
- declare const SidebarItem: React.FC<{
704
+ declare const SidebarGroup: React$1.FC<SidebarGroupProps>;
705
+ declare const SidebarItem: React$1.FC<{
706
706
  item: Item$1;
707
707
  selectedItem?: any;
708
708
  direction?: "rtl" | "ltr";
@@ -1246,4 +1246,75 @@ type UsageCardTypes = {
1246
1246
  };
1247
1247
  declare const Usage: FC<UsageCardTypes>;
1248
1248
 
1249
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, Label, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UserReferralSource, buttonVariants, useFormField };
1249
+ type ToasterToast = ToastProps & {
1250
+ id: string;
1251
+ title?: React$1.ReactNode;
1252
+ description?: React$1.ReactNode;
1253
+ severity?: "info" | "warning" | "error" | "success" | "none";
1254
+ action?: ToastActionElement;
1255
+ };
1256
+ declare const actionTypes: {
1257
+ readonly ADD_TOAST: "ADD_TOAST";
1258
+ readonly UPDATE_TOAST: "UPDATE_TOAST";
1259
+ readonly DISMISS_TOAST: "DISMISS_TOAST";
1260
+ readonly REMOVE_TOAST: "REMOVE_TOAST";
1261
+ };
1262
+ type ActionType = typeof actionTypes;
1263
+ type Action = {
1264
+ type: ActionType["ADD_TOAST"];
1265
+ toast: ToasterToast;
1266
+ } | {
1267
+ type: ActionType["UPDATE_TOAST"];
1268
+ toast: Partial<ToasterToast>;
1269
+ } | {
1270
+ type: ActionType["DISMISS_TOAST"];
1271
+ toastId?: ToasterToast["id"];
1272
+ } | {
1273
+ type: ActionType["REMOVE_TOAST"];
1274
+ toastId?: ToasterToast["id"];
1275
+ };
1276
+ interface State {
1277
+ toasts: ToasterToast[];
1278
+ }
1279
+ declare const reducer: (state: State, action: Action) => State;
1280
+ type Toast = Omit<ToasterToast, "id">;
1281
+ declare function toast({ ...props }: Toast): {
1282
+ id: string;
1283
+ dismiss: () => void;
1284
+ update: (props: ToasterToast) => void;
1285
+ };
1286
+ declare function useToast(): {
1287
+ toast: typeof toast;
1288
+ dismiss: (toastId?: string) => void;
1289
+ toasts: ToasterToast[];
1290
+ };
1291
+
1292
+ declare function useClipboard({ timeout }?: {
1293
+ timeout?: number | undefined;
1294
+ }): {
1295
+ copy: (value: any) => void;
1296
+ reset: () => void;
1297
+ error: Error | null;
1298
+ copied: boolean;
1299
+ };
1300
+
1301
+ interface UseFocusWithinOptions {
1302
+ onFocus?(event: FocusEvent): void;
1303
+ onBlur?(event: FocusEvent): void;
1304
+ }
1305
+ declare function useFocusWithin<T extends HTMLElement = any>({ onBlur, onFocus, }?: UseFocusWithinOptions): {
1306
+ ref: React.MutableRefObject<T>;
1307
+ focused: boolean;
1308
+ };
1309
+
1310
+ interface UseMediaQueryOptions {
1311
+ getInitialValueInEffect: boolean;
1312
+ }
1313
+ declare function useMediaQuery(query: string, initialValue?: boolean, { getInitialValueInEffect }?: UseMediaQueryOptions): boolean | undefined;
1314
+
1315
+ declare function useTabs(initialTab?: string): {
1316
+ activeTab: string;
1317
+ handleTabChange: (index: any) => void;
1318
+ };
1319
+
1320
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, Label, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, SubItem$2 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useClipboard, useFocusWithin, useFormField, useMediaQuery, useTabs, useToast };