@sikka/hawa 0.26.31 → 0.26.33

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.
Files changed (218) hide show
  1. package/dist/{Toast-pOd4uGZz.d.ts → Toast-YaClwi7z.d.ts} +9 -1
  2. package/dist/{Toast-VBd4UvlM.d.mts → Toast-ySvjL_-K.d.mts} +9 -1
  3. package/dist/accordion/index.mjs +7 -4
  4. package/dist/accordion/index.mjs.map +1 -1
  5. package/dist/alert/index.js +4 -4
  6. package/dist/alert/index.js.map +1 -1
  7. package/dist/alert/index.mjs +11 -8
  8. package/dist/alert/index.mjs.map +1 -1
  9. package/dist/appLayout/index.js +2 -1
  10. package/dist/appLayout/index.js.map +1 -1
  11. package/dist/appLayout/index.mjs +9 -5
  12. package/dist/appLayout/index.mjs.map +1 -1
  13. package/dist/appMenubar/index.mjs +9 -4
  14. package/dist/appMenubar/index.mjs.map +1 -1
  15. package/dist/appTabs/index.mjs +9 -4
  16. package/dist/appTabs/index.mjs.map +1 -1
  17. package/dist/appTopbar/index.mjs +9 -4
  18. package/dist/appTopbar/index.mjs.map +1 -1
  19. package/dist/avatar/index.js +2 -1
  20. package/dist/avatar/index.js.map +1 -1
  21. package/dist/avatar/index.mjs +9 -5
  22. package/dist/avatar/index.mjs.map +1 -1
  23. package/dist/backToTop/index.js +6 -3
  24. package/dist/backToTop/index.js.map +1 -1
  25. package/dist/backToTop/index.mjs +13 -7
  26. package/dist/backToTop/index.mjs.map +1 -1
  27. package/dist/badge/index.js +4 -3
  28. package/dist/badge/index.js.map +1 -1
  29. package/dist/badge/index.mjs +13 -7
  30. package/dist/badge/index.mjs.map +1 -1
  31. package/dist/button/index.mjs +7 -4
  32. package/dist/button/index.mjs.map +1 -1
  33. package/dist/card/index.mjs +9 -4
  34. package/dist/card/index.mjs.map +1 -1
  35. package/dist/carousel/index.js +10 -10
  36. package/dist/carousel/index.js.map +1 -1
  37. package/dist/carousel/index.mjs +19 -14
  38. package/dist/carousel/index.mjs.map +1 -1
  39. package/dist/checkbox/index.mjs +9 -4
  40. package/dist/checkbox/index.mjs.map +1 -1
  41. package/dist/chip/index.mjs +9 -4
  42. package/dist/chip/index.mjs.map +1 -1
  43. package/dist/chunk-A3ERTYS4.mjs +29 -0
  44. package/dist/codeBlock/index.js +1 -1
  45. package/dist/codeBlock/index.js.map +1 -1
  46. package/dist/codeBlock/index.mjs +84 -24
  47. package/dist/codeBlock/index.mjs.map +1 -1
  48. package/dist/collapsible/index.mjs +0 -2
  49. package/dist/collapsible/index.mjs.map +1 -1
  50. package/dist/colorPicker/index.js +2 -1
  51. package/dist/colorPicker/index.js.map +1 -1
  52. package/dist/colorPicker/index.mjs +92 -20
  53. package/dist/colorPicker/index.mjs.map +1 -1
  54. package/dist/combobox/index.js +4 -3
  55. package/dist/combobox/index.js.map +1 -1
  56. package/dist/combobox/index.mjs +445 -27
  57. package/dist/combobox/index.mjs.map +1 -1
  58. package/dist/command/index.mjs +429 -11
  59. package/dist/command/index.mjs.map +1 -1
  60. package/dist/dataTable/index.js +36 -27
  61. package/dist/dataTable/index.js.map +1 -1
  62. package/dist/dataTable/index.mjs +43 -31
  63. package/dist/dataTable/index.mjs.map +1 -1
  64. package/dist/destroyableCard/index.js +2 -2
  65. package/dist/destroyableCard/index.js.map +1 -1
  66. package/dist/destroyableCard/index.mjs +9 -6
  67. package/dist/destroyableCard/index.mjs.map +1 -1
  68. package/dist/dialog/index.mjs +9 -4
  69. package/dist/dialog/index.mjs.map +1 -1
  70. package/dist/docsLayout/index.js +2 -2
  71. package/dist/docsLayout/index.js.map +1 -1
  72. package/dist/docsLayout/index.mjs +9 -6
  73. package/dist/docsLayout/index.mjs.map +1 -1
  74. package/dist/docsSidebar/index.js +2 -2
  75. package/dist/docsSidebar/index.js.map +1 -1
  76. package/dist/docsSidebar/index.mjs +11 -6
  77. package/dist/docsSidebar/index.mjs.map +1 -1
  78. package/dist/dropdownMenu/index.mjs +9 -4
  79. package/dist/dropdownMenu/index.mjs.map +1 -1
  80. package/dist/elements/index.d.mts +4 -2
  81. package/dist/elements/index.d.ts +4 -2
  82. package/dist/elements/index.js +8 -135
  83. package/dist/elements/index.mjs +10 -14
  84. package/dist/fileDropzone/index.js +12 -11
  85. package/dist/fileDropzone/index.js.map +1 -1
  86. package/dist/fileDropzone/index.mjs +21 -17
  87. package/dist/fileDropzone/index.mjs.map +1 -1
  88. package/dist/fileUploader/index.js +2 -1
  89. package/dist/fileUploader/index.js.map +1 -1
  90. package/dist/fileUploader/index.mjs +2 -1
  91. package/dist/fileUploader/index.mjs.map +1 -1
  92. package/dist/glow/index.js +24 -17
  93. package/dist/glow/index.js.map +1 -1
  94. package/dist/glow/index.mjs +24 -17
  95. package/dist/glow/index.mjs.map +1 -1
  96. package/dist/hooks/index.d.mts +9 -18
  97. package/dist/hooks/index.d.ts +9 -18
  98. package/dist/hooks/index.mjs +146 -27
  99. package/dist/index.d.mts +18 -17
  100. package/dist/index.d.ts +18 -17
  101. package/dist/index.js +167 -172
  102. package/dist/index.mjs +589 -594
  103. package/dist/input/index.js +3 -2
  104. package/dist/input/index.js.map +1 -1
  105. package/dist/input/index.mjs +118 -19
  106. package/dist/input/index.mjs.map +1 -1
  107. package/dist/interfaceSettings/index.js +6 -4
  108. package/dist/interfaceSettings/index.js.map +1 -1
  109. package/dist/interfaceSettings/index.mjs +130 -28
  110. package/dist/interfaceSettings/index.mjs.map +1 -1
  111. package/dist/label/index.mjs +7 -4
  112. package/dist/label/index.mjs.map +1 -1
  113. package/dist/loading/index.mjs +9 -4
  114. package/dist/loading/index.mjs.map +1 -1
  115. package/dist/navbar/index.js +3 -2
  116. package/dist/navbar/index.js.map +1 -1
  117. package/dist/navbar/index.mjs +10 -6
  118. package/dist/navbar/index.mjs.map +1 -1
  119. package/dist/navigationMenu/index.mjs +9 -4
  120. package/dist/navigationMenu/index.mjs.map +1 -1
  121. package/dist/pagination/index.mjs +9 -4
  122. package/dist/pagination/index.mjs.map +1 -1
  123. package/dist/passwordInput/index.js +3 -2
  124. package/dist/passwordInput/index.js.map +1 -1
  125. package/dist/passwordInput/index.mjs +12 -6
  126. package/dist/passwordInput/index.mjs.map +1 -1
  127. package/dist/phoneInput/index.js +10 -5
  128. package/dist/phoneInput/index.js.map +1 -1
  129. package/dist/phoneInput/index.mjs +19 -11
  130. package/dist/phoneInput/index.mjs.map +1 -1
  131. package/dist/pinInput/index.js +3 -3
  132. package/dist/pinInput/index.js.map +1 -1
  133. package/dist/pinInput/index.mjs +12 -7
  134. package/dist/pinInput/index.mjs.map +1 -1
  135. package/dist/popover/index.mjs +9 -4
  136. package/dist/popover/index.mjs.map +1 -1
  137. package/dist/progress/index.mjs +9 -4
  138. package/dist/progress/index.mjs.map +1 -1
  139. package/dist/progressCircle/index.js +2 -2
  140. package/dist/progressCircle/index.js.map +1 -1
  141. package/dist/progressCircle/index.mjs +11 -6
  142. package/dist/progressCircle/index.mjs.map +1 -1
  143. package/dist/radio/index.js +6 -4
  144. package/dist/radio/index.js.map +1 -1
  145. package/dist/radio/index.mjs +13 -8
  146. package/dist/radio/index.mjs.map +1 -1
  147. package/dist/scrollArea/index.mjs +9 -4
  148. package/dist/scrollArea/index.mjs.map +1 -1
  149. package/dist/scrollIndicator/index.js +2 -1
  150. package/dist/scrollIndicator/index.js.map +1 -1
  151. package/dist/scrollIndicator/index.mjs +2 -1
  152. package/dist/scrollIndicator/index.mjs.map +1 -1
  153. package/dist/select/index.js +6 -2
  154. package/dist/select/index.js.map +1 -1
  155. package/dist/select/index.mjs +15 -8
  156. package/dist/select/index.mjs.map +1 -1
  157. package/dist/separator/index.mjs +9 -4
  158. package/dist/separator/index.mjs.map +1 -1
  159. package/dist/sheet/index.mjs +9 -4
  160. package/dist/sheet/index.mjs.map +1 -1
  161. package/dist/sidebar/index.mjs +9 -4
  162. package/dist/sidebar/index.mjs.map +1 -1
  163. package/dist/signature/index.js +31 -11
  164. package/dist/signature/index.js.map +1 -1
  165. package/dist/signature/index.mjs +40 -15
  166. package/dist/signature/index.mjs.map +1 -1
  167. package/dist/simpleTable/index.js +18 -14
  168. package/dist/simpleTable/index.js.map +1 -1
  169. package/dist/simpleTable/index.mjs +25 -18
  170. package/dist/simpleTable/index.mjs.map +1 -1
  171. package/dist/skeleton/index.mjs +9 -4
  172. package/dist/skeleton/index.mjs.map +1 -1
  173. package/dist/slider/index.mjs +9 -4
  174. package/dist/slider/index.mjs.map +1 -1
  175. package/dist/sortButton/index.mjs +268 -11
  176. package/dist/sortButton/index.mjs.map +1 -1
  177. package/dist/splitButton/index.mjs +267 -12
  178. package/dist/splitButton/index.mjs.map +1 -1
  179. package/dist/switch/index.js +2 -1
  180. package/dist/switch/index.js.map +1 -1
  181. package/dist/switch/index.mjs +11 -5
  182. package/dist/switch/index.mjs.map +1 -1
  183. package/dist/table/index.mjs +9 -4
  184. package/dist/table/index.mjs.map +1 -1
  185. package/dist/tabs/index.mjs +7 -4
  186. package/dist/tabs/index.mjs.map +1 -1
  187. package/dist/textarea/index.js +4 -4
  188. package/dist/textarea/index.js.map +1 -1
  189. package/dist/textarea/index.mjs +11 -8
  190. package/dist/textarea/index.mjs.map +1 -1
  191. package/dist/toast/index.d.mts +9 -1
  192. package/dist/toast/index.d.ts +9 -1
  193. package/dist/toast/index.js +3 -3
  194. package/dist/toast/index.js.map +1 -1
  195. package/dist/toast/index.mjs +145 -10
  196. package/dist/toast/index.mjs.map +1 -1
  197. package/dist/toaster/index.d.mts +5 -0
  198. package/dist/toaster/index.d.ts +5 -0
  199. package/dist/toaster/index.js +17 -142
  200. package/dist/toaster/index.js.map +1 -1
  201. package/dist/toaster/index.mjs +142 -135
  202. package/dist/toaster/index.mjs.map +1 -1
  203. package/package.json +1 -1
  204. package/dist/chunk-3ODWQVIA.mjs +0 -12
  205. package/dist/chunk-3ODWQVIA.mjs.map +0 -1
  206. package/dist/chunk-53OZVR57.mjs +0 -108
  207. package/dist/chunk-53OZVR57.mjs.map +0 -1
  208. package/dist/chunk-CBRGWUZG.mjs +0 -11
  209. package/dist/chunk-CBRGWUZG.mjs.map +0 -1
  210. package/dist/chunk-HYXZRCZW.mjs +0 -265
  211. package/dist/chunk-HYXZRCZW.mjs.map +0 -1
  212. package/dist/chunk-JNUGOUYJ.mjs +0 -154
  213. package/dist/chunk-JX5YLRCU.mjs +0 -443
  214. package/dist/chunk-JX5YLRCU.mjs.map +0 -1
  215. package/dist/chunk-NV3KR5Y7.mjs +0 -82
  216. package/dist/chunk-NV3KR5Y7.mjs.map +0 -1
  217. package/dist/chunk-OQ7MNEYW.mjs +0 -151
  218. package/dist/chunk-OQ7MNEYW.mjs.map +0 -1
package/dist/index.d.mts CHANGED
@@ -970,9 +970,18 @@ declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrim
970
970
  } & React$1.RefAttributes<HTMLDivElement>>;
971
971
  type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
972
972
  type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
973
+ type ToasterToastProps = ToastProps & {
974
+ id: string;
975
+ title?: React$1.ReactNode;
976
+ description?: React$1.ReactNode;
977
+ severity?: "info" | "warning" | "error" | "success" | "none";
978
+ action?: ToastActionElement;
979
+ size?: "default" | "sm";
980
+ };
973
981
 
974
982
  type ToasterProps = {
975
983
  direction?: DirectionType;
984
+ toasts?: ToasterToastProps[];
976
985
  };
977
986
  declare function Toaster(props: ToasterProps): React__default.JSX.Element;
978
987
 
@@ -1832,14 +1841,6 @@ declare const Usage: FC<UsageCardTypes>;
1832
1841
 
1833
1842
  declare const useIsomorphicEffect: typeof useEffect;
1834
1843
 
1835
- type ToasterToast = ToastProps & {
1836
- id: string;
1837
- title?: React$1.ReactNode;
1838
- description?: React$1.ReactNode;
1839
- severity?: "info" | "warning" | "error" | "success" | "none";
1840
- action?: ToastActionElement;
1841
- size?: "default" | "sm";
1842
- };
1843
1844
  declare const actionTypes: {
1844
1845
  readonly ADD_TOAST: "ADD_TOAST";
1845
1846
  readonly UPDATE_TOAST: "UPDATE_TOAST";
@@ -1849,31 +1850,31 @@ declare const actionTypes: {
1849
1850
  type ActionType = typeof actionTypes;
1850
1851
  type Action = {
1851
1852
  type: ActionType["ADD_TOAST"];
1852
- toast: ToasterToast;
1853
+ toast: ToasterToastProps;
1853
1854
  } | {
1854
1855
  type: ActionType["UPDATE_TOAST"];
1855
- toast: Partial<ToasterToast>;
1856
+ toast: Partial<ToasterToastProps>;
1856
1857
  } | {
1857
1858
  type: ActionType["DISMISS_TOAST"];
1858
- toastId?: ToasterToast["id"];
1859
+ toastId?: ToasterToastProps["id"];
1859
1860
  } | {
1860
1861
  type: ActionType["REMOVE_TOAST"];
1861
- toastId?: ToasterToast["id"];
1862
+ toastId?: ToasterToastProps["id"];
1862
1863
  };
1863
1864
  interface State {
1864
- toasts: ToasterToast[];
1865
+ toasts: ToasterToastProps[];
1865
1866
  }
1866
1867
  declare const reducer: (state: State, action: Action) => State;
1867
- type Toast = Omit<ToasterToast, "id">;
1868
+ type Toast = Omit<ToasterToastProps, "id">;
1868
1869
  declare function toast({ ...props }: Toast): {
1869
1870
  id: string;
1870
1871
  dismiss: () => void;
1871
- update: (props: ToasterToast) => void;
1872
+ update: (props: ToasterToastProps) => void;
1872
1873
  };
1873
1874
  declare function useToast(): {
1874
1875
  toast: typeof toast;
1875
1876
  dismiss: (toastId?: string) => void;
1876
- toasts: ToasterToast[];
1877
+ toasts: ToasterToastProps[];
1877
1878
  };
1878
1879
 
1879
1880
  type DialogCarouselType = {
@@ -1929,4 +1930,4 @@ declare function useTabs(initialTab?: string): {
1929
1930
  handleTabChange: (index: any) => void;
1930
1931
  };
1931
1932
 
1932
- export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, type ChipColors, type ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, ContactForm, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadio, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, type LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, type MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Navbar, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem$1 as NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger, NavigationMenuViewport, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, type RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, type SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, StandardNavigationMenuItem, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, type UseFocusWithinOptions, type UseMediaQueryOptions, UserReferralSource, buttonVariants, navigationMenuTriggerStyle, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
1933
+ export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, type ChipColors, type ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, ContactForm, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadio, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, type LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, type MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Navbar, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem$1 as NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger, NavigationMenuViewport, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, type RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, type SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, StandardNavigationMenuItem, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, type ToasterToastProps, Tooltip, Usage, type UseFocusWithinOptions, type UseMediaQueryOptions, UserReferralSource, buttonVariants, navigationMenuTriggerStyle, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -970,9 +970,18 @@ declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrim
970
970
  } & React$1.RefAttributes<HTMLDivElement>>;
971
971
  type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
972
972
  type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
973
+ type ToasterToastProps = ToastProps & {
974
+ id: string;
975
+ title?: React$1.ReactNode;
976
+ description?: React$1.ReactNode;
977
+ severity?: "info" | "warning" | "error" | "success" | "none";
978
+ action?: ToastActionElement;
979
+ size?: "default" | "sm";
980
+ };
973
981
 
974
982
  type ToasterProps = {
975
983
  direction?: DirectionType;
984
+ toasts?: ToasterToastProps[];
976
985
  };
977
986
  declare function Toaster(props: ToasterProps): React__default.JSX.Element;
978
987
 
@@ -1832,14 +1841,6 @@ declare const Usage: FC<UsageCardTypes>;
1832
1841
 
1833
1842
  declare const useIsomorphicEffect: typeof useEffect;
1834
1843
 
1835
- type ToasterToast = ToastProps & {
1836
- id: string;
1837
- title?: React$1.ReactNode;
1838
- description?: React$1.ReactNode;
1839
- severity?: "info" | "warning" | "error" | "success" | "none";
1840
- action?: ToastActionElement;
1841
- size?: "default" | "sm";
1842
- };
1843
1844
  declare const actionTypes: {
1844
1845
  readonly ADD_TOAST: "ADD_TOAST";
1845
1846
  readonly UPDATE_TOAST: "UPDATE_TOAST";
@@ -1849,31 +1850,31 @@ declare const actionTypes: {
1849
1850
  type ActionType = typeof actionTypes;
1850
1851
  type Action = {
1851
1852
  type: ActionType["ADD_TOAST"];
1852
- toast: ToasterToast;
1853
+ toast: ToasterToastProps;
1853
1854
  } | {
1854
1855
  type: ActionType["UPDATE_TOAST"];
1855
- toast: Partial<ToasterToast>;
1856
+ toast: Partial<ToasterToastProps>;
1856
1857
  } | {
1857
1858
  type: ActionType["DISMISS_TOAST"];
1858
- toastId?: ToasterToast["id"];
1859
+ toastId?: ToasterToastProps["id"];
1859
1860
  } | {
1860
1861
  type: ActionType["REMOVE_TOAST"];
1861
- toastId?: ToasterToast["id"];
1862
+ toastId?: ToasterToastProps["id"];
1862
1863
  };
1863
1864
  interface State {
1864
- toasts: ToasterToast[];
1865
+ toasts: ToasterToastProps[];
1865
1866
  }
1866
1867
  declare const reducer: (state: State, action: Action) => State;
1867
- type Toast = Omit<ToasterToast, "id">;
1868
+ type Toast = Omit<ToasterToastProps, "id">;
1868
1869
  declare function toast({ ...props }: Toast): {
1869
1870
  id: string;
1870
1871
  dismiss: () => void;
1871
- update: (props: ToasterToast) => void;
1872
+ update: (props: ToasterToastProps) => void;
1872
1873
  };
1873
1874
  declare function useToast(): {
1874
1875
  toast: typeof toast;
1875
1876
  dismiss: (toastId?: string) => void;
1876
- toasts: ToasterToast[];
1877
+ toasts: ToasterToastProps[];
1877
1878
  };
1878
1879
 
1879
1880
  type DialogCarouselType = {
@@ -1929,4 +1930,4 @@ declare function useTabs(initialTab?: string): {
1929
1930
  handleTabChange: (index: any) => void;
1930
1931
  };
1931
1932
 
1932
- export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, type ChipColors, type ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, ContactForm, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadio, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, type LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, type MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Navbar, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem$1 as NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger, NavigationMenuViewport, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, type RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, type SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, StandardNavigationMenuItem, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, type UseFocusWithinOptions, type UseMediaQueryOptions, UserReferralSource, buttonVariants, navigationMenuTriggerStyle, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
1933
+ export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, type ChipColors, type ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, ContactForm, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadio, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, type LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, type MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Navbar, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem$1 as NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger, NavigationMenuViewport, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, type RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, type SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, StandardNavigationMenuItem, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, type ToasterToastProps, Tooltip, Usage, type UseFocusWithinOptions, type UseMediaQueryOptions, UserReferralSource, buttonVariants, navigationMenuTriggerStyle, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };