@fuf-stack/pixels 1.7.4 → 1.9.0

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 (75) hide show
  1. package/dist/Alert/index.cjs +2 -2
  2. package/dist/Alert/index.d.cts +2 -2
  3. package/dist/Alert/index.d.ts +2 -2
  4. package/dist/Alert/index.js +1 -1
  5. package/dist/{Alert-Dc0RSQaB.d.cts → Alert-CWjAMyih.d.cts} +45 -69
  6. package/dist/{Alert-Dc0RSQaB.d.ts → Alert-CWjAMyih.d.ts} +45 -69
  7. package/dist/Avatar/index.d.cts +3 -2
  8. package/dist/Avatar/index.d.ts +3 -2
  9. package/dist/{Avatar-DjZ3H25h.d.cts → Avatar-DTg6mH8E.d.cts} +19 -18
  10. package/dist/{Avatar-DjZ3H25h.d.ts → Avatar-DTg6mH8E.d.ts} +19 -18
  11. package/dist/AvatarGroup/index.d.cts +4 -3
  12. package/dist/AvatarGroup/index.d.ts +4 -3
  13. package/dist/{AvatarGroup-B1Tdw57Q.d.ts → AvatarGroup-9wz1iZH4.d.ts} +1 -1
  14. package/dist/{AvatarGroup-BujXZ7Vy.d.cts → AvatarGroup-BYAaERBV.d.cts} +1 -1
  15. package/dist/Badge/index.d.cts +3 -2
  16. package/dist/Badge/index.d.ts +3 -2
  17. package/dist/{Badge-L8r9mgSs.d.cts → Badge-DkO-EJif.d.cts} +10 -9
  18. package/dist/{Badge-L8r9mgSs.d.ts → Badge-DkO-EJif.d.ts} +10 -9
  19. package/dist/Breadcrumb/index.d.cts +3 -2
  20. package/dist/Breadcrumb/index.d.ts +3 -2
  21. package/dist/{Breadcrumb-Cvt5Xa5D.d.cts → Breadcrumb-CW1qsIoL.d.cts} +22 -21
  22. package/dist/{Breadcrumb-Cvt5Xa5D.d.ts → Breadcrumb-CW1qsIoL.d.ts} +22 -21
  23. package/dist/Card/index.d.cts +3 -2
  24. package/dist/Card/index.d.ts +3 -2
  25. package/dist/{Card-OBRZ-ssX.d.cts → Card-2AwIQqnR.d.cts} +19 -18
  26. package/dist/{Card-OBRZ-ssX.d.ts → Card-2AwIQqnR.d.ts} +19 -18
  27. package/dist/Drawer/index.d.cts +3 -2
  28. package/dist/Drawer/index.d.ts +3 -2
  29. package/dist/{Drawer-JpihbwKl.d.cts → Drawer-Bd7lsUl9.d.cts} +25 -24
  30. package/dist/{Drawer-JpihbwKl.d.ts → Drawer-Bd7lsUl9.d.ts} +25 -24
  31. package/dist/Menu/index.d.cts +3 -2
  32. package/dist/Menu/index.d.ts +3 -2
  33. package/dist/{Menu-CS28E7nM.d.cts → Menu-C9M_q1Z6.d.cts} +10 -9
  34. package/dist/{Menu-CS28E7nM.d.ts → Menu-C9M_q1Z6.d.ts} +10 -9
  35. package/dist/Popover/index.d.cts +3 -2
  36. package/dist/Popover/index.d.ts +3 -2
  37. package/dist/{Popover-Bf192yqn.d.cts → Popover-DKzS6RUP.d.cts} +28 -27
  38. package/dist/{Popover-Bf192yqn.d.ts → Popover-DKzS6RUP.d.ts} +28 -27
  39. package/dist/SearchInput/index.d.cts +16 -15
  40. package/dist/SearchInput/index.d.ts +16 -15
  41. package/dist/Tabs/index.d.cts +3 -2
  42. package/dist/Tabs/index.d.ts +3 -2
  43. package/dist/{Tabs-BjMJs02F.d.cts → Tabs-BM4tl_1j.d.cts} +25 -24
  44. package/dist/{Tabs-BjMJs02F.d.ts → Tabs-BM4tl_1j.d.ts} +25 -24
  45. package/dist/Toast/index.cjs +3 -6
  46. package/dist/Toast/index.cjs.map +1 -1
  47. package/dist/Toast/index.d.cts +6 -5
  48. package/dist/Toast/index.d.ts +6 -5
  49. package/dist/Toast/index.js +7 -10
  50. package/dist/Toaster-BtcILj3f.d.ts +79 -0
  51. package/dist/Toaster-D28PKRWz.d.cts +79 -0
  52. package/dist/chunk-I5QMH3J5.cjs +96 -0
  53. package/dist/chunk-I5QMH3J5.cjs.map +1 -0
  54. package/dist/chunk-SDZX5VJZ.js +96 -0
  55. package/dist/chunk-SDZX5VJZ.js.map +1 -0
  56. package/dist/chunk-VD7VRLYO.js +112 -0
  57. package/dist/chunk-VD7VRLYO.js.map +1 -0
  58. package/dist/chunk-YWEUUA52.cjs +112 -0
  59. package/dist/chunk-YWEUUA52.cjs.map +1 -0
  60. package/dist/index.cjs +3 -7
  61. package/dist/index.cjs.map +1 -1
  62. package/dist/index.d.cts +13 -12
  63. package/dist/index.d.ts +13 -12
  64. package/dist/index.js +6 -10
  65. package/package.json +9 -8
  66. package/dist/ToastProvider-BaynjNgq.d.cts +0 -182
  67. package/dist/ToastProvider-BaynjNgq.d.ts +0 -182
  68. package/dist/chunk-565TFIAK.js +0 -135
  69. package/dist/chunk-565TFIAK.js.map +0 -1
  70. package/dist/chunk-56CIU4EG.cjs +0 -174
  71. package/dist/chunk-56CIU4EG.cjs.map +0 -1
  72. package/dist/chunk-7IFOMPCK.js +0 -174
  73. package/dist/chunk-7IFOMPCK.js.map +0 -1
  74. package/dist/chunk-K25U4BJO.cjs +0 -135
  75. package/dist/chunk-K25U4BJO.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -29,9 +29,7 @@ var _chunkG3YTOGEGcjs = require('./chunk-G3YTOGEG.cjs');
29
29
 
30
30
 
31
31
 
32
-
33
-
34
- var _chunk56CIU4EGcjs = require('./chunk-56CIU4EG.cjs');
32
+ var _chunkYWEUUA52cjs = require('./chunk-YWEUUA52.cjs');
35
33
 
36
34
 
37
35
  var _chunkZIAB3EXUcjs = require('./chunk-ZIAB3EXU.cjs');
@@ -75,7 +73,7 @@ var _chunkNSYHAJM2cjs = require('./chunk-NSYHAJM2.cjs');
75
73
 
76
74
 
77
75
 
78
- var _chunkK25U4BJOcjs = require('./chunk-K25U4BJO.cjs');
76
+ var _chunkI5QMH3J5cjs = require('./chunk-I5QMH3J5.cjs');
79
77
 
80
78
 
81
79
  var _chunkVHESFBAQcjs = require('./chunk-VHESFBAQ.cjs');
@@ -137,7 +135,5 @@ require('./chunk-AHEA4IJV.cjs');
137
135
 
138
136
 
139
137
 
140
-
141
-
142
- exports.Accordion = _chunkNSYHAJM2cjs.Accordion_default; exports.Alert = _chunkK25U4BJOcjs.Alert_default; exports.Avatar = _chunk77J7NZYBcjs.Avatar_default; exports.AvatarGroup = _chunkVHESFBAQcjs.AvatarGroup_default; exports.Badge = _chunkHG7AE6Q2cjs.Badge_default; exports.Breadcrumb = _chunkIBX6A72Pcjs.Breadcrumb_default; exports.Button = _chunkFVQDVD3Ecjs.Button_default; exports.ButtonGroup = _chunkY3RSI2KVcjs.ButtonGroup_default; exports.Card = _chunk6PCFYEJHcjs.Card_default; exports.Drawer = _chunkOLU26V56cjs.Drawer_default; exports.Json = _chunkP7QMPWKScjs.Json_default; exports.Label = _chunkBPBEZCSPcjs.Label_default; exports.Menu = _chunk5ZT7C5IPcjs.Menu_default; exports.Modal = _chunkB2PDISUUcjs.Modal_default; exports.Popover = _chunkRPULU7LCcjs.Popover_default; exports.Progress = _chunkK5VPNWIJcjs.Progress_default; exports.ProgressCircular = _chunkFQJ32476cjs.ProgressCircular_default; exports.Table = _chunkYUR6N2RBcjs.Table_default; exports.Tabs = _chunkG3YTOGEGcjs.Tabs_default; exports.Toast = _chunk56CIU4EGcjs.Toast; exports.ToastProvider = _chunk56CIU4EGcjs.ToastProvider_default; exports.Tooltip = _chunkZIAB3EXUcjs.Tooltip_default; exports.accordionVariants = _chunkNSYHAJM2cjs.accordionVariants; exports.addToast = _chunk56CIU4EGcjs.addToast; exports.alertVariants = _chunkK25U4BJOcjs.alertVariants; exports.breadcrumbVariants = _chunkIBX6A72Pcjs.breadcrumbVariants; exports.buttonVariants = _chunkFVQDVD3Ecjs.buttonVariants; exports.cardVariants = _chunk6PCFYEJHcjs.cardVariants; exports.createWithSuspense = _chunkWCE3O6UAcjs.createWithSuspense; exports.drawerBackdrops = _chunkOLU26V56cjs.drawerBackdrops; exports.drawerPlacements = _chunkOLU26V56cjs.drawerPlacements; exports.drawerRadii = _chunkOLU26V56cjs.drawerRadii; exports.drawerSizes = _chunkOLU26V56cjs.drawerSizes; exports.drawerVariants = _chunkOLU26V56cjs.drawerVariants; exports.labelVariants = _chunkBPBEZCSPcjs.labelVariants; exports.modalVariants = _chunkB2PDISUUcjs.modalVariants; exports.progressCircularVariants = _chunkFQJ32476cjs.progressCircularVariants; exports.progressVariants = _chunkK5VPNWIJcjs.progressVariants; exports.tableVariants = _chunkYUR6N2RBcjs.tableVariants; exports.tabsVariants = _chunkG3YTOGEGcjs.tabsVariants; exports.toastVariants = _chunk56CIU4EGcjs.toastVariants; exports.useDebounce = _chunk3WD7CGWDcjs.useDebounce; exports.useIsInitialRenderCycle = _chunkON3PVFZYcjs.useIsInitialRenderCycle; exports.useLocalStorage = _chunkIXBNFKOScjs.useLocalStorage;
138
+ exports.Accordion = _chunkNSYHAJM2cjs.Accordion_default; exports.Alert = _chunkI5QMH3J5cjs.Alert_default; exports.Avatar = _chunk77J7NZYBcjs.Avatar_default; exports.AvatarGroup = _chunkVHESFBAQcjs.AvatarGroup_default; exports.Badge = _chunkHG7AE6Q2cjs.Badge_default; exports.Breadcrumb = _chunkIBX6A72Pcjs.Breadcrumb_default; exports.Button = _chunkFVQDVD3Ecjs.Button_default; exports.ButtonGroup = _chunkY3RSI2KVcjs.ButtonGroup_default; exports.Card = _chunk6PCFYEJHcjs.Card_default; exports.Drawer = _chunkOLU26V56cjs.Drawer_default; exports.Json = _chunkP7QMPWKScjs.Json_default; exports.Label = _chunkBPBEZCSPcjs.Label_default; exports.Menu = _chunk5ZT7C5IPcjs.Menu_default; exports.Modal = _chunkB2PDISUUcjs.Modal_default; exports.Popover = _chunkRPULU7LCcjs.Popover_default; exports.Progress = _chunkK5VPNWIJcjs.Progress_default; exports.ProgressCircular = _chunkFQJ32476cjs.ProgressCircular_default; exports.Table = _chunkYUR6N2RBcjs.Table_default; exports.Tabs = _chunkG3YTOGEGcjs.Tabs_default; exports.Toaster = _chunkYWEUUA52cjs.Toaster_default; exports.Tooltip = _chunkZIAB3EXUcjs.Tooltip_default; exports.accordionVariants = _chunkNSYHAJM2cjs.accordionVariants; exports.alertVariants = _chunkI5QMH3J5cjs.alertVariants; exports.breadcrumbVariants = _chunkIBX6A72Pcjs.breadcrumbVariants; exports.buttonVariants = _chunkFVQDVD3Ecjs.buttonVariants; exports.cardVariants = _chunk6PCFYEJHcjs.cardVariants; exports.createWithSuspense = _chunkWCE3O6UAcjs.createWithSuspense; exports.drawerBackdrops = _chunkOLU26V56cjs.drawerBackdrops; exports.drawerPlacements = _chunkOLU26V56cjs.drawerPlacements; exports.drawerRadii = _chunkOLU26V56cjs.drawerRadii; exports.drawerSizes = _chunkOLU26V56cjs.drawerSizes; exports.drawerVariants = _chunkOLU26V56cjs.drawerVariants; exports.labelVariants = _chunkBPBEZCSPcjs.labelVariants; exports.modalVariants = _chunkB2PDISUUcjs.modalVariants; exports.progressCircularVariants = _chunkFQJ32476cjs.progressCircularVariants; exports.progressVariants = _chunkK5VPNWIJcjs.progressVariants; exports.tableVariants = _chunkYUR6N2RBcjs.tableVariants; exports.tabsVariants = _chunkG3YTOGEGcjs.tabsVariants; exports.toast = _chunkYWEUUA52cjs.Toast_default; exports.useDebounce = _chunk3WD7CGWDcjs.useDebounce; exports.useIsInitialRenderCycle = _chunkON3PVFZYcjs.useIsInitialRenderCycle; exports.useLocalStorage = _chunkIXBNFKOScjs.useLocalStorage;
143
139
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/pixels/pixels/packages/pixels/dist/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m7EAAC","file":"/home/runner/work/pixels/pixels/packages/pixels/dist/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/pixels/pixels/packages/pixels/dist/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,u0EAAC","file":"/home/runner/work/pixels/pixels/packages/pixels/dist/index.cjs"}
package/dist/index.d.cts CHANGED
@@ -1,24 +1,23 @@
1
1
  export { A as Accordion, c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from './Accordion-BX1Npq3Q.cjs';
2
- export { A as Alert, b as AlertProps, a as alertVariants } from './Alert-Dc0RSQaB.cjs';
3
- export { A as Avatar, a as AvatarProps } from './Avatar-DjZ3H25h.cjs';
4
- export { A as AvatarGroup, a as AvatarGroupProps } from './AvatarGroup-BujXZ7Vy.cjs';
5
- export { A as Badge, B as BadgeProps } from './Badge-L8r9mgSs.cjs';
6
- export { B as Breadcrumb, c as BreadcrumbItemProps, a as BreadcrumbProps, b as breadcrumbVariants } from './Breadcrumb-Cvt5Xa5D.cjs';
2
+ export { A as Alert, b as AlertProps, a as alertVariants } from './Alert-CWjAMyih.cjs';
3
+ export { A as Avatar, a as AvatarProps } from './Avatar-DTg6mH8E.cjs';
4
+ export { A as AvatarGroup, a as AvatarGroupProps } from './AvatarGroup-BYAaERBV.cjs';
5
+ export { A as Badge, B as BadgeProps } from './Badge-DkO-EJif.cjs';
6
+ export { B as Breadcrumb, c as BreadcrumbItemProps, a as BreadcrumbProps, b as breadcrumbVariants } from './Breadcrumb-CW1qsIoL.cjs';
7
7
  export { B as Button, a as ButtonProps, b as buttonVariants } from './Button-nJ22qVMK.cjs';
8
8
  export { B as ButtonGroup } from './ButtonGroup-CUxpALRo.cjs';
9
- export { C as Card, a as CardProps, c as cardVariants } from './Card-OBRZ-ssX.cjs';
10
- export { D as Drawer, f as DrawerProps, d as drawerBackdrops, a as drawerPlacements, b as drawerRadii, c as drawerSizes, e as drawerVariants } from './Drawer-JpihbwKl.cjs';
9
+ export { C as Card, a as CardProps, c as cardVariants } from './Card-2AwIQqnR.cjs';
10
+ export { D as Drawer, f as DrawerProps, d as drawerBackdrops, a as drawerPlacements, b as drawerRadii, c as drawerSizes, e as drawerVariants } from './Drawer-Bd7lsUl9.cjs';
11
11
  export { J as Json, a as JsonProps } from './Json-Dny90Wml.cjs';
12
12
  export { L as Label, a as LabelProps, l as labelVariants } from './Label-B5fd7vp_.cjs';
13
- export { M as Menu, b as MenuItem, a as MenuProps, c as MenuSection } from './Menu-CS28E7nM.cjs';
13
+ export { M as Menu, b as MenuItem, a as MenuProps, c as MenuSection } from './Menu-C9M_q1Z6.cjs';
14
14
  export { M as Modal, a as ModalProps, m as modalVariants } from './Modal-BwFQz60I.cjs';
15
- export { P as Popover, a as PopoverProps } from './Popover-Bf192yqn.cjs';
15
+ export { P as Popover, a as PopoverProps } from './Popover-DKzS6RUP.cjs';
16
16
  export { P as ProgressCircular, a as ProgressCircularProps, p as progressCircularVariants } from './ProgressCircular-CkZsOW4R.cjs';
17
17
  export { P as Progress, a as ProgressProps, p as progressVariants } from './Progress-Deph-HCf.cjs';
18
18
  export { T as Table, c as TableColumnProps, a as TableProps, b as TableRowProps, V as VariantProps, t as tableVariants } from './Table-LKaPSY4D.cjs';
19
- export { b as TabProps, T as Tabs, a as TabsProps, t as tabsVariants } from './Tabs-BjMJs02F.cjs';
20
- export { Toast } from '@heroui/toast';
21
- export { A as AddToastVariantProps, b as ToastProps, T as ToastProvider, c as ToastProviderProps, a as addToast, t as toastVariants } from './ToastProvider-BaynjNgq.cjs';
19
+ export { b as TabProps, T as Tabs, a as TabsProps, t as tabsVariants } from './Tabs-BM4tl_1j.cjs';
20
+ export { a as ToastOptions, b as ToastRenderProps, T as Toaster, c as ToasterProps, t as toast } from './Toaster-D28PKRWz.cjs';
22
21
  export { T as Tooltip, b as TooltipPlacement, a as TooltipProps } from './Tooltip-DoIaNgTC.cjs';
23
22
  export { useDebounce } from './hooks/useDebounce/index.cjs';
24
23
  export { useIsInitialRenderCycle } from './hooks/useIsInitialRenderCycle/index.cjs';
@@ -30,6 +29,7 @@ import 'tailwind-variants';
30
29
  import '@fuf-stack/pixel-utils';
31
30
  import '@heroui/divider';
32
31
  import 'react';
32
+ import 'tailwind-merge';
33
33
  import '@heroui/badge';
34
34
  import '@heroui/system';
35
35
  import '@heroui/drawer';
@@ -37,4 +37,5 @@ import '@heroui/chip';
37
37
  import '@heroui/dropdown';
38
38
  import '@heroui/modal';
39
39
  import '@heroui/popover';
40
+ import 'sonner';
40
41
  import '@heroui/tooltip';
package/dist/index.d.ts CHANGED
@@ -1,24 +1,23 @@
1
1
  export { A as Accordion, c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from './Accordion-BX1Npq3Q.js';
2
- export { A as Alert, b as AlertProps, a as alertVariants } from './Alert-Dc0RSQaB.js';
3
- export { A as Avatar, a as AvatarProps } from './Avatar-DjZ3H25h.js';
4
- export { A as AvatarGroup, a as AvatarGroupProps } from './AvatarGroup-B1Tdw57Q.js';
5
- export { A as Badge, B as BadgeProps } from './Badge-L8r9mgSs.js';
6
- export { B as Breadcrumb, c as BreadcrumbItemProps, a as BreadcrumbProps, b as breadcrumbVariants } from './Breadcrumb-Cvt5Xa5D.js';
2
+ export { A as Alert, b as AlertProps, a as alertVariants } from './Alert-CWjAMyih.js';
3
+ export { A as Avatar, a as AvatarProps } from './Avatar-DTg6mH8E.js';
4
+ export { A as AvatarGroup, a as AvatarGroupProps } from './AvatarGroup-9wz1iZH4.js';
5
+ export { A as Badge, B as BadgeProps } from './Badge-DkO-EJif.js';
6
+ export { B as Breadcrumb, c as BreadcrumbItemProps, a as BreadcrumbProps, b as breadcrumbVariants } from './Breadcrumb-CW1qsIoL.js';
7
7
  export { B as Button, a as ButtonProps, b as buttonVariants } from './Button-nJ22qVMK.js';
8
8
  export { B as ButtonGroup } from './ButtonGroup-CUxpALRo.js';
9
- export { C as Card, a as CardProps, c as cardVariants } from './Card-OBRZ-ssX.js';
10
- export { D as Drawer, f as DrawerProps, d as drawerBackdrops, a as drawerPlacements, b as drawerRadii, c as drawerSizes, e as drawerVariants } from './Drawer-JpihbwKl.js';
9
+ export { C as Card, a as CardProps, c as cardVariants } from './Card-2AwIQqnR.js';
10
+ export { D as Drawer, f as DrawerProps, d as drawerBackdrops, a as drawerPlacements, b as drawerRadii, c as drawerSizes, e as drawerVariants } from './Drawer-Bd7lsUl9.js';
11
11
  export { J as Json, a as JsonProps } from './Json-Dny90Wml.js';
12
12
  export { L as Label, a as LabelProps, l as labelVariants } from './Label-B5fd7vp_.js';
13
- export { M as Menu, b as MenuItem, a as MenuProps, c as MenuSection } from './Menu-CS28E7nM.js';
13
+ export { M as Menu, b as MenuItem, a as MenuProps, c as MenuSection } from './Menu-C9M_q1Z6.js';
14
14
  export { M as Modal, a as ModalProps, m as modalVariants } from './Modal-BwFQz60I.js';
15
- export { P as Popover, a as PopoverProps } from './Popover-Bf192yqn.js';
15
+ export { P as Popover, a as PopoverProps } from './Popover-DKzS6RUP.js';
16
16
  export { P as ProgressCircular, a as ProgressCircularProps, p as progressCircularVariants } from './ProgressCircular-CkZsOW4R.js';
17
17
  export { P as Progress, a as ProgressProps, p as progressVariants } from './Progress-Deph-HCf.js';
18
18
  export { T as Table, c as TableColumnProps, a as TableProps, b as TableRowProps, V as VariantProps, t as tableVariants } from './Table-LKaPSY4D.js';
19
- export { b as TabProps, T as Tabs, a as TabsProps, t as tabsVariants } from './Tabs-BjMJs02F.js';
20
- export { Toast } from '@heroui/toast';
21
- export { A as AddToastVariantProps, b as ToastProps, T as ToastProvider, c as ToastProviderProps, a as addToast, t as toastVariants } from './ToastProvider-BaynjNgq.js';
19
+ export { b as TabProps, T as Tabs, a as TabsProps, t as tabsVariants } from './Tabs-BM4tl_1j.js';
20
+ export { a as ToastOptions, b as ToastRenderProps, T as Toaster, c as ToasterProps, t as toast } from './Toaster-BtcILj3f.js';
22
21
  export { T as Tooltip, b as TooltipPlacement, a as TooltipProps } from './Tooltip-DoIaNgTC.js';
23
22
  export { useDebounce } from './hooks/useDebounce/index.js';
24
23
  export { useIsInitialRenderCycle } from './hooks/useIsInitialRenderCycle/index.js';
@@ -30,6 +29,7 @@ import 'tailwind-variants';
30
29
  import '@fuf-stack/pixel-utils';
31
30
  import '@heroui/divider';
32
31
  import 'react';
32
+ import 'tailwind-merge';
33
33
  import '@heroui/badge';
34
34
  import '@heroui/system';
35
35
  import '@heroui/drawer';
@@ -37,4 +37,5 @@ import '@heroui/chip';
37
37
  import '@heroui/dropdown';
38
38
  import '@heroui/modal';
39
39
  import '@heroui/popover';
40
+ import 'sonner';
40
41
  import '@heroui/tooltip';
package/dist/index.js CHANGED
@@ -27,11 +27,9 @@ import {
27
27
  tabsVariants
28
28
  } from "./chunk-HMYQTHGT.js";
29
29
  import {
30
- Toast,
31
- ToastProvider_default,
32
- addToast,
33
- toastVariants
34
- } from "./chunk-7IFOMPCK.js";
30
+ Toast_default,
31
+ Toaster_default
32
+ } from "./chunk-VD7VRLYO.js";
35
33
  import {
36
34
  Tooltip_default
37
35
  } from "./chunk-MF5KUM5I.js";
@@ -75,7 +73,7 @@ import {
75
73
  import {
76
74
  Alert_default,
77
75
  alertVariants
78
- } from "./chunk-565TFIAK.js";
76
+ } from "./chunk-SDZX5VJZ.js";
79
77
  import {
80
78
  AvatarGroup_default
81
79
  } from "./chunk-HSREBNZV.js";
@@ -114,11 +112,9 @@ export {
114
112
  ProgressCircular_default as ProgressCircular,
115
113
  Table_default as Table,
116
114
  Tabs_default as Tabs,
117
- Toast,
118
- ToastProvider_default as ToastProvider,
115
+ Toaster_default as Toaster,
119
116
  Tooltip_default as Tooltip,
120
117
  accordionVariants,
121
- addToast,
122
118
  alertVariants,
123
119
  breadcrumbVariants,
124
120
  buttonVariants,
@@ -135,7 +131,7 @@ export {
135
131
  progressVariants,
136
132
  tableVariants,
137
133
  tabsVariants,
138
- toastVariants,
134
+ Toast_default as toast,
139
135
  useDebounce,
140
136
  useIsInitialRenderCycle,
141
137
  useLocalStorage
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fuf-stack/pixels",
3
3
  "description": "fuf core react component library",
4
4
  "author": "Fröhlich ∧ Frei",
5
- "version": "1.7.4",
5
+ "version": "1.9.0",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs",
8
8
  "module": "./dist/index.js",
@@ -184,8 +184,8 @@
184
184
  "react-dom": ">=18"
185
185
  },
186
186
  "dependencies": {
187
- "@fuf-stack/pixel-motion": "1.1.4",
188
- "@fuf-stack/pixel-utils": "1.1.1",
187
+ "@fuf-stack/pixel-motion": "1.2.0",
188
+ "@fuf-stack/pixel-utils": "1.2.0",
189
189
  "@heroui/accordion": "2.2.21",
190
190
  "@heroui/alert": "2.2.24",
191
191
  "@heroui/avatar": "2.2.20",
@@ -208,17 +208,18 @@
208
208
  "@heroui/theme": "2.4.20",
209
209
  "@heroui/toast": "2.0.14",
210
210
  "@heroui/tooltip": "2.2.21",
211
- "framer-motion": "12.29.0",
211
+ "framer-motion": "12.38.0",
212
212
  "next-themes": "0.4.6",
213
- "react-icons": "5.5.0"
213
+ "react-icons": "5.6.0",
214
+ "sonner": "2.0.7"
214
215
  },
215
216
  "devDependencies": {
216
- "@types/debug": "4.1.12",
217
- "@types/react": "19.2.10",
217
+ "@types/debug": "4.1.13",
218
+ "@types/react": "19.2.14",
218
219
  "@types/react-dom": "19.2.3",
219
220
  "@uiw/react-json-view": "2.0.0-alpha.41",
220
221
  "react": "19.2.4",
221
222
  "react-dom": "19.2.4"
222
223
  },
223
- "gitHead": "4801dde65d0a2dea77372b9f580ff38b90540f26"
224
+ "gitHead": "c5f4c34f2ade7b4858f759fcd65ab41661b6790c"
224
225
  }
@@ -1,182 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as tailwind_variants from 'tailwind-variants';
3
- import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
4
- import { ReactNode } from 'react';
5
-
6
- declare const toastVariants: tailwind_variants.TVReturnType<{
7
- color: {
8
- default: string;
9
- foreground: {
10
- progressIndicator: string;
11
- };
12
- primary: {
13
- progressIndicator: string;
14
- };
15
- secondary: {
16
- progressIndicator: string;
17
- };
18
- success: {
19
- progressIndicator: string;
20
- };
21
- warning: {
22
- progressIndicator: string;
23
- };
24
- danger: {
25
- progressIndicator: string;
26
- };
27
- info: {};
28
- };
29
- variant: {
30
- flat: string;
31
- solid: string;
32
- bordered: string;
33
- };
34
- }, {
35
- base: string;
36
- title: string;
37
- description: string;
38
- icon: string;
39
- loadingComponent: string;
40
- content: string;
41
- motionDiv: string;
42
- progressTrack: string;
43
- progressIndicator: string;
44
- closeButton: string;
45
- closeIcon: string;
46
- }, undefined, {
47
- color: {
48
- default: string;
49
- foreground: {
50
- progressIndicator: string;
51
- };
52
- primary: {
53
- progressIndicator: string;
54
- };
55
- secondary: {
56
- progressIndicator: string;
57
- };
58
- success: {
59
- progressIndicator: string;
60
- };
61
- warning: {
62
- progressIndicator: string;
63
- };
64
- danger: {
65
- progressIndicator: string;
66
- };
67
- info: {};
68
- };
69
- variant: {
70
- flat: string;
71
- solid: string;
72
- bordered: string;
73
- };
74
- }, {
75
- base: string;
76
- title: string;
77
- description: string;
78
- icon: string;
79
- loadingComponent: string;
80
- content: string;
81
- motionDiv: string;
82
- progressTrack: string;
83
- progressIndicator: string;
84
- closeButton: string;
85
- closeIcon: string;
86
- }, tailwind_variants.TVReturnType<{
87
- color: {
88
- default: string;
89
- foreground: {
90
- progressIndicator: string;
91
- };
92
- primary: {
93
- progressIndicator: string;
94
- };
95
- secondary: {
96
- progressIndicator: string;
97
- };
98
- success: {
99
- progressIndicator: string;
100
- };
101
- warning: {
102
- progressIndicator: string;
103
- };
104
- danger: {
105
- progressIndicator: string;
106
- };
107
- info: {};
108
- };
109
- variant: {
110
- flat: string;
111
- solid: string;
112
- bordered: string;
113
- };
114
- }, {
115
- base: string;
116
- title: string;
117
- description: string;
118
- icon: string;
119
- loadingComponent: string;
120
- content: string;
121
- motionDiv: string;
122
- progressTrack: string;
123
- progressIndicator: string;
124
- closeButton: string;
125
- closeIcon: string;
126
- }, undefined, unknown, unknown, undefined>>;
127
- type AddToastVariantProps = TVProps<typeof toastVariants>;
128
- type ClassName = TVClassName<typeof toastVariants>;
129
- interface ToastProps extends AddToastVariantProps {
130
- /** CSS class name */
131
- className?: ClassName;
132
- /** Icon displayed at the end of the Alert */
133
- closeIcon?: ReactNode;
134
- /** Color of the alert */
135
- color?: AddToastVariantProps['color'];
136
- /** Content displayed inside the Alert */
137
- description?: ReactNode;
138
- /** Content displayed at the end of the Alert */
139
- endContent?: ReactNode;
140
- /** Icon displayed at the start of the Alert */
141
- icon?: ReactNode;
142
- /** Component displayed until promise is resolved */
143
- loadingComponent?: ReactNode;
144
- /** Callback function called when the toast is closed */
145
- onClose?: () => void;
146
- /** Promise based on which the notification will be styled */
147
- promise?: Promise<void>;
148
- /** Whether the toast should show a progress bar */
149
- shouldShowTimeoutProgress?: boolean;
150
- /** Whether the toast should show a close button */
151
- showCloseButton?: boolean;
152
- /** Whether the toast should show an icon */
153
- showIcon?: boolean;
154
- /** Time the toast is displayed */
155
- timeout?: number;
156
- /** Content displayed at the top of the toast */
157
- title?: ReactNode;
158
- /** Variant of the toast */
159
- variant?: AddToastVariantProps['variant'];
160
- }
161
- /**
162
- * addToast function based on [HeroUI Toast](https://www.heroui.com//docs/components/toast)
163
- */
164
- declare const addToast: ({ className, closeIcon, color, description, endContent, icon, loadingComponent, onClose, promise, shouldShowTimeoutProgress, showCloseButton, showIcon, timeout, title, variant, }: ToastProps) => void;
165
-
166
- type ToastProviderToastProps = Omit<ToastProps, 'description' | 'endContent' | 'title'>;
167
- interface ToastProviderProps {
168
- disableAnimation?: boolean;
169
- maxVisibleToasts?: number;
170
- placement?: 'bottom-right' | 'bottom-left' | 'bottom-center' | 'top-right' | 'top-left' | 'top-center';
171
- toastProps?: ToastProviderToastProps;
172
- toastOffset?: number;
173
- regionProps?: {
174
- classNames?: Record<'base', string>;
175
- };
176
- }
177
- /**
178
- * ToastProvider component based on [HeroUI Toast](https://www.heroui.com//docs/components/toast)
179
- */
180
- declare const ToastProvider: ({ disableAnimation, maxVisibleToasts, placement, toastProps, toastOffset, regionProps, }: ToastProviderProps) => react_jsx_runtime.JSX.Element;
181
-
182
- export { type AddToastVariantProps as A, ToastProvider as T, addToast as a, type ToastProps as b, type ToastProviderProps as c, toastVariants as t };
@@ -1,182 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as tailwind_variants from 'tailwind-variants';
3
- import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
4
- import { ReactNode } from 'react';
5
-
6
- declare const toastVariants: tailwind_variants.TVReturnType<{
7
- color: {
8
- default: string;
9
- foreground: {
10
- progressIndicator: string;
11
- };
12
- primary: {
13
- progressIndicator: string;
14
- };
15
- secondary: {
16
- progressIndicator: string;
17
- };
18
- success: {
19
- progressIndicator: string;
20
- };
21
- warning: {
22
- progressIndicator: string;
23
- };
24
- danger: {
25
- progressIndicator: string;
26
- };
27
- info: {};
28
- };
29
- variant: {
30
- flat: string;
31
- solid: string;
32
- bordered: string;
33
- };
34
- }, {
35
- base: string;
36
- title: string;
37
- description: string;
38
- icon: string;
39
- loadingComponent: string;
40
- content: string;
41
- motionDiv: string;
42
- progressTrack: string;
43
- progressIndicator: string;
44
- closeButton: string;
45
- closeIcon: string;
46
- }, undefined, {
47
- color: {
48
- default: string;
49
- foreground: {
50
- progressIndicator: string;
51
- };
52
- primary: {
53
- progressIndicator: string;
54
- };
55
- secondary: {
56
- progressIndicator: string;
57
- };
58
- success: {
59
- progressIndicator: string;
60
- };
61
- warning: {
62
- progressIndicator: string;
63
- };
64
- danger: {
65
- progressIndicator: string;
66
- };
67
- info: {};
68
- };
69
- variant: {
70
- flat: string;
71
- solid: string;
72
- bordered: string;
73
- };
74
- }, {
75
- base: string;
76
- title: string;
77
- description: string;
78
- icon: string;
79
- loadingComponent: string;
80
- content: string;
81
- motionDiv: string;
82
- progressTrack: string;
83
- progressIndicator: string;
84
- closeButton: string;
85
- closeIcon: string;
86
- }, tailwind_variants.TVReturnType<{
87
- color: {
88
- default: string;
89
- foreground: {
90
- progressIndicator: string;
91
- };
92
- primary: {
93
- progressIndicator: string;
94
- };
95
- secondary: {
96
- progressIndicator: string;
97
- };
98
- success: {
99
- progressIndicator: string;
100
- };
101
- warning: {
102
- progressIndicator: string;
103
- };
104
- danger: {
105
- progressIndicator: string;
106
- };
107
- info: {};
108
- };
109
- variant: {
110
- flat: string;
111
- solid: string;
112
- bordered: string;
113
- };
114
- }, {
115
- base: string;
116
- title: string;
117
- description: string;
118
- icon: string;
119
- loadingComponent: string;
120
- content: string;
121
- motionDiv: string;
122
- progressTrack: string;
123
- progressIndicator: string;
124
- closeButton: string;
125
- closeIcon: string;
126
- }, undefined, unknown, unknown, undefined>>;
127
- type AddToastVariantProps = TVProps<typeof toastVariants>;
128
- type ClassName = TVClassName<typeof toastVariants>;
129
- interface ToastProps extends AddToastVariantProps {
130
- /** CSS class name */
131
- className?: ClassName;
132
- /** Icon displayed at the end of the Alert */
133
- closeIcon?: ReactNode;
134
- /** Color of the alert */
135
- color?: AddToastVariantProps['color'];
136
- /** Content displayed inside the Alert */
137
- description?: ReactNode;
138
- /** Content displayed at the end of the Alert */
139
- endContent?: ReactNode;
140
- /** Icon displayed at the start of the Alert */
141
- icon?: ReactNode;
142
- /** Component displayed until promise is resolved */
143
- loadingComponent?: ReactNode;
144
- /** Callback function called when the toast is closed */
145
- onClose?: () => void;
146
- /** Promise based on which the notification will be styled */
147
- promise?: Promise<void>;
148
- /** Whether the toast should show a progress bar */
149
- shouldShowTimeoutProgress?: boolean;
150
- /** Whether the toast should show a close button */
151
- showCloseButton?: boolean;
152
- /** Whether the toast should show an icon */
153
- showIcon?: boolean;
154
- /** Time the toast is displayed */
155
- timeout?: number;
156
- /** Content displayed at the top of the toast */
157
- title?: ReactNode;
158
- /** Variant of the toast */
159
- variant?: AddToastVariantProps['variant'];
160
- }
161
- /**
162
- * addToast function based on [HeroUI Toast](https://www.heroui.com//docs/components/toast)
163
- */
164
- declare const addToast: ({ className, closeIcon, color, description, endContent, icon, loadingComponent, onClose, promise, shouldShowTimeoutProgress, showCloseButton, showIcon, timeout, title, variant, }: ToastProps) => void;
165
-
166
- type ToastProviderToastProps = Omit<ToastProps, 'description' | 'endContent' | 'title'>;
167
- interface ToastProviderProps {
168
- disableAnimation?: boolean;
169
- maxVisibleToasts?: number;
170
- placement?: 'bottom-right' | 'bottom-left' | 'bottom-center' | 'top-right' | 'top-left' | 'top-center';
171
- toastProps?: ToastProviderToastProps;
172
- toastOffset?: number;
173
- regionProps?: {
174
- classNames?: Record<'base', string>;
175
- };
176
- }
177
- /**
178
- * ToastProvider component based on [HeroUI Toast](https://www.heroui.com//docs/components/toast)
179
- */
180
- declare const ToastProvider: ({ disableAnimation, maxVisibleToasts, placement, toastProps, toastOffset, regionProps, }: ToastProviderProps) => react_jsx_runtime.JSX.Element;
181
-
182
- export { type AddToastVariantProps as A, ToastProvider as T, addToast as a, type ToastProps as b, type ToastProviderProps as c, toastVariants as t };