@fuf-stack/pixels 1.11.2 → 1.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/Accordion/Accordion.d.cts +10 -10
  2. package/dist/Accordion/Accordion.d.cts.map +1 -1
  3. package/dist/Accordion/Accordion.d.ts +10 -10
  4. package/dist/Accordion/Accordion.d.ts.map +1 -1
  5. package/dist/Alert/Alert.cjs +19 -14
  6. package/dist/Alert/Alert.cjs.map +1 -1
  7. package/dist/Alert/Alert.d.cts +98 -62
  8. package/dist/Alert/Alert.d.cts.map +1 -1
  9. package/dist/Alert/Alert.d.ts +98 -62
  10. package/dist/Alert/Alert.d.ts.map +1 -1
  11. package/dist/Alert/Alert.js +19 -14
  12. package/dist/Alert/Alert.js.map +1 -1
  13. package/dist/Avatar/Avatar.d.cts +10 -10
  14. package/dist/Avatar/Avatar.d.ts +10 -10
  15. package/dist/Breadcrumb/Breadcrumb.d.cts +16 -16
  16. package/dist/Breadcrumb/Breadcrumb.d.ts +16 -16
  17. package/dist/Card/Card.d.cts +10 -10
  18. package/dist/Card/Card.d.ts +10 -10
  19. package/dist/Drawer/Drawer.d.cts +10 -10
  20. package/dist/Drawer/Drawer.d.ts +10 -10
  21. package/dist/Label/Label.d.cts +56 -56
  22. package/dist/Label/Label.d.cts.map +1 -1
  23. package/dist/Label/Label.d.ts +56 -56
  24. package/dist/Label/Label.d.ts.map +1 -1
  25. package/dist/Modal/Modal.d.cts +35 -35
  26. package/dist/Modal/Modal.d.cts.map +1 -1
  27. package/dist/Modal/Modal.d.ts +35 -35
  28. package/dist/Modal/Modal.d.ts.map +1 -1
  29. package/dist/Popover/Popover.d.cts +22 -22
  30. package/dist/Popover/Popover.d.ts +22 -22
  31. package/dist/Progress/Progress.d.cts +32 -32
  32. package/dist/Progress/Progress.d.cts.map +1 -1
  33. package/dist/Progress/Progress.d.ts +32 -32
  34. package/dist/Progress/Progress.d.ts.map +1 -1
  35. package/dist/ProgressCircular/ProgressCircular.d.cts +72 -72
  36. package/dist/ProgressCircular/ProgressCircular.d.cts.map +1 -1
  37. package/dist/ProgressCircular/ProgressCircular.d.ts +72 -72
  38. package/dist/ProgressCircular/ProgressCircular.d.ts.map +1 -1
  39. package/dist/SearchInput/SearchInput.d.cts +10 -10
  40. package/dist/SearchInput/SearchInput.d.ts +10 -10
  41. package/dist/Table/Table.d.cts +62 -62
  42. package/dist/Table/Table.d.cts.map +1 -1
  43. package/dist/Table/Table.d.ts +62 -62
  44. package/dist/Table/Table.d.ts.map +1 -1
  45. package/dist/Toast/toast.cjs +2 -2
  46. package/dist/Toast/toast.cjs.map +1 -1
  47. package/dist/Toast/toast.d.cts +17 -17
  48. package/dist/Toast/toast.d.cts.map +1 -1
  49. package/dist/Toast/toast.d.ts +17 -17
  50. package/dist/Toast/toast.d.ts.map +1 -1
  51. package/dist/Toast/toast.js +2 -2
  52. package/dist/Toast/toast.js.map +1 -1
  53. package/dist/Tooltip/Tooltip.d.cts +49 -49
  54. package/dist/Tooltip/Tooltip.d.cts.map +1 -1
  55. package/dist/Tooltip/Tooltip.d.ts +49 -49
  56. package/dist/Tooltip/Tooltip.d.ts.map +1 -1
  57. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","names":[],"sources":["../../src/Table/Table.tsx"],"mappings":";;;;cAgBa,aAAA,IAAa,KAAA;;;gbAsCxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAA;EACf,GAAA;EAAA,CACC,GAAA,oBAAuB,SAAS;AAAA;AAAA,UAGlB,UAAA,SAAmB,YAAA;EA6DvB;EA3DX,SAAA;EAuGD;EArGC,aAAA,GAAgB,SAAA;;EAEhB,SAAA,GAAY,SAAA;;EAEZ,OAAA,EAAS,gBAAA;;EAET,YAAA,GAAe,SAAA;;EAEf,UAAA;;EAEA,UAAA;;EAEA,OAAA;;EAEA,cAAA,GAAiB,SAAA;;EAEjB,cAAA;;EAEA,SAAA;;EAEA,IAAA,GAAO,aAAA;;EAEP,UAAA;;EAQA,YAAA;;EAEA,MAAA;;EAEA,WAAA;AAAA;;;;cAMI,KAAA;EAAS,SAAA;EAAA,aAAA;EAAA,SAAA;EAAA,OAAA;EAAA,YAAA;EAAA,UAAA;EAAA,UAAA;EAAA,OAAA;EAAA,cAAA;EAAA,cAAA;EAAA,SAAA;EAAA,IAAA;EAAA,UAAA;EAAA,YAAA;EAAA,MAAA;EAAA;AAAA,GAiBZ,UAAA,iCAAU,GAAA,CAAA,OAAA"}
@@ -1,4 +1,4 @@
1
- const require_Alert_index = require("../Alert/index.cjs");
1
+ const require_Alert = require("../Alert/Alert.cjs");
2
2
  let react_jsx_runtime = require("react/jsx-runtime");
3
3
  let sonner = require("sonner");
4
4
  //#region src/Toast/toast.tsx
@@ -22,7 +22,7 @@ const showToast = (message, variant, options) => {
22
22
  endContent,
23
23
  icon
24
24
  });
25
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Alert_index.default, {
25
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Alert.default, {
26
26
  closable,
27
27
  endContent,
28
28
  icon,
@@ -1 +1 @@
1
- {"version":3,"file":"toast.cjs","names":["sonnerToast","AlertComponent"],"sources":["../../src/Toast/toast.tsx"],"sourcesContent":["import type { ReactElement, ReactNode } from 'react';\nimport type { ExternalToast } from 'sonner';\nimport type { AlertProps } from '../Alert';\n\nimport { toast as sonnerToast } from 'sonner';\n\nimport AlertComponent from '../Alert';\n\ntype AlertVariant = NonNullable<AlertProps['variant']>;\n\n/** Props passed to a custom render function */\nexport interface ToastRenderProps {\n /** The toast message */\n message: ReactNode;\n /** The color/severity of the toast */\n variant: AlertVariant;\n /** Function to close the toast */\n close: () => void;\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Title displayed above the toast message */\n title?: ReactNode;\n /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n}\n\n/** Options passed to each toast method */\nexport interface ToastOptions {\n /** Title displayed above the toast message */\n title?: ReactNode;\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Duration in milliseconds before the toast auto-closes */\n duration?: number;\n /** Position of the toast on the screen */\n position?: ExternalToast['position'];\n /** Callback fired when the toast auto-closes */\n onAutoClose?: ExternalToast['onAutoClose'];\n /** Callback fired when the toast is closed */\n onClose?: ExternalToast['onDismiss'];\n /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n /** Custom render function to override the default AlertComponent */\n render?: (props: ToastRenderProps) => ReactElement;\n}\n\nconst showToast = (\n message: ReactNode,\n variant: AlertVariant,\n options?: ToastOptions,\n) => {\n // Map custom ToastOptions to Sonner's ExternalToast format:\n // - onClose is mapped to Sonner's onDismiss\n // - closable is handled separately (not a Sonner option)\n // - position defaults to 'top-center'\n const { onClose, closable, title, endContent, icon, render, ...rest } =\n options ?? {};\n const sonnerOptions: ExternalToast = {\n position: 'top-center' as const,\n onDismiss: onClose,\n ...rest,\n };\n return sonnerToast.custom((id) => {\n // Close function passed to custom render or AlertComponent\n const close = () => {\n return sonnerToast.dismiss(id);\n };\n\n // Allow custom rendering via render prop\n if (render) {\n return render({\n message,\n variant,\n close,\n closable,\n title,\n endContent,\n icon,\n });\n }\n\n // Default: render AlertComponent\n return (\n <AlertComponent\n closable={closable}\n endContent={endContent}\n icon={icon}\n onClose={closable ? close : undefined}\n title={title}\n variant={variant}\n >\n {message}\n </AlertComponent>\n );\n }, sonnerOptions);\n};\n\n/** Toast object with convenience methods for different severity levels */\nconst toast = {\n /**\n * Show a default toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n default: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'default', options);\n },\n /**\n * Show an info toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n info: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'info', options);\n },\n /**\n * Show a warning toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n warn: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'warning', {\n duration: 60000,\n closable: true,\n ...options,\n });\n },\n /**\n * Show a success toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n success: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'success', options);\n },\n /**\n * Show an error toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n error: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'danger', {\n duration: 60000,\n closable: true,\n ...options,\n });\n },\n /** Close a toast by its id */\n close: (toastId: string | number) => {\n sonnerToast.dismiss(toastId);\n },\n};\n\nexport default toast;\n"],"mappings":";;;;AAkDA,MAAM,aACJ,SACA,SACA,YACG;CAKH,MAAM,EAAE,SAAS,UAAU,OAAO,YAAY,MAAM,QAAQ,GAAG,SAC7D,WAAW,CAAC;CACd,MAAM,gBAA+B;EACnC,UAAU;EACV,WAAW;EACX,GAAG;CACL;CACA,OAAOA,OAAAA,MAAY,QAAQ,OAAO;EAEhC,MAAM,cAAc;GAClB,OAAOA,OAAAA,MAAY,QAAQ,EAAE;EAC/B;EAGA,IAAI,QACF,OAAO,OAAO;GACZ;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAAC;EAIH,OACE,iBAAA,GAAA,kBAAA,KAACC,oBAAAA,SAAD;GACY;GACE;GACN;GACN,SAAS,WAAW,QAAQ,KAAA;GACrB;GACE;aAER;EACa,CAAA;CAEpB,GAAG,aAAa;AAClB;;AAGA,MAAM,QAAQ;;;;;CAKZ,UAAU,SAAoB,YAA2B;EACvD,OAAO,UAAU,SAAS,WAAW,OAAO;CAC9C;;;;;CAKA,OAAO,SAAoB,YAA2B;EACpD,OAAO,UAAU,SAAS,QAAQ,OAAO;CAC3C;;;;;CAKA,OAAO,SAAoB,YAA2B;EACpD,OAAO,UAAU,SAAS,WAAW;GACnC,UAAU;GACV,UAAU;GACV,GAAG;EACL,CAAC;CACH;;;;;CAKA,UAAU,SAAoB,YAA2B;EACvD,OAAO,UAAU,SAAS,WAAW,OAAO;CAC9C;;;;;CAKA,QAAQ,SAAoB,YAA2B;EACrD,OAAO,UAAU,SAAS,UAAU;GAClC,UAAU;GACV,UAAU;GACV,GAAG;EACL,CAAC;CACH;;CAEA,QAAQ,YAA6B;EACnC,OAAA,MAAY,QAAQ,OAAO;CAC7B;AACF"}
1
+ {"version":3,"file":"toast.cjs","names":["sonnerToast","Alert"],"sources":["../../src/Toast/toast.tsx"],"sourcesContent":["import type { ReactElement, ReactNode } from 'react';\nimport type { ExternalToast } from 'sonner';\nimport type { AlertProps } from '../Alert';\n\nimport { toast as sonnerToast } from 'sonner';\n\nimport { Alert } from '../Alert';\n\ntype AlertVariant = NonNullable<AlertProps['variant']>;\n\n/** Props passed to a custom render function */\nexport interface ToastRenderProps {\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Function to close the toast */\n close: () => void;\n /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n /** The toast message */\n message: ReactNode;\n /** The color/severity of the toast */\n variant: AlertVariant;\n /** Title displayed above the toast message */\n title?: ReactNode;\n}\n\n/** Options passed to each toast method */\nexport interface ToastOptions {\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Duration in milliseconds before the toast auto-closes */\n duration?: number;\n /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n /** Callback fired when the toast auto-closes */\n onAutoClose?: ExternalToast['onAutoClose'];\n /** Callback fired when the toast is closed */\n onClose?: ExternalToast['onDismiss'];\n /** Position of the toast on the screen */\n position?: ExternalToast['position'];\n /** Custom render function to override the default Alert */\n render?: (props: ToastRenderProps) => ReactElement;\n /** Title displayed above the toast message */\n title?: ReactNode;\n}\n\nconst showToast = (\n message: ReactNode,\n variant: AlertVariant,\n options?: ToastOptions,\n) => {\n // Map custom ToastOptions to Sonner's ExternalToast format:\n // - onClose is mapped to Sonner's onDismiss\n // - closable is handled separately (not a Sonner option)\n // - position defaults to 'top-center'\n const { onClose, closable, title, endContent, icon, render, ...rest } =\n options ?? {};\n const sonnerOptions: ExternalToast = {\n position: 'top-center' as const,\n onDismiss: onClose,\n ...rest,\n };\n return sonnerToast.custom((id) => {\n // Close function passed to custom render or Alert\n const close = () => {\n return sonnerToast.dismiss(id);\n };\n\n // Allow custom rendering via render prop\n if (render) {\n return render({\n message,\n variant,\n close,\n closable,\n title,\n endContent,\n icon,\n });\n }\n\n // Default: render Alert\n return (\n <Alert\n closable={closable}\n endContent={endContent}\n icon={icon}\n onClose={closable ? close : undefined}\n title={title}\n variant={variant}\n >\n {message}\n </Alert>\n );\n }, sonnerOptions);\n};\n\n/** Toast object with convenience methods for different severity levels */\nconst toast = {\n /**\n * Show a default toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n default: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'default', options);\n },\n /**\n * Show an info toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n info: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'info', options);\n },\n /**\n * Show a warning toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n warn: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'warning', {\n duration: 60000,\n closable: true,\n ...options,\n });\n },\n /**\n * Show a success toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n success: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'success', options);\n },\n /**\n * Show an error toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n error: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'danger', {\n duration: 60000,\n closable: true,\n ...options,\n });\n },\n /** Close a toast by its id */\n close: (toastId: string | number) => {\n sonnerToast.dismiss(toastId);\n },\n};\n\nexport default toast;\n"],"mappings":";;;;AAkDA,MAAM,aACJ,SACA,SACA,YACG;CAKH,MAAM,EAAE,SAAS,UAAU,OAAO,YAAY,MAAM,QAAQ,GAAG,SAC7D,WAAW,CAAC;CACd,MAAM,gBAA+B;EACnC,UAAU;EACV,WAAW;EACX,GAAG;CACL;CACA,OAAOA,OAAAA,MAAY,QAAQ,OAAO;EAEhC,MAAM,cAAc;GAClB,OAAOA,OAAAA,MAAY,QAAQ,EAAE;EAC/B;EAGA,IAAI,QACF,OAAO,OAAO;GACZ;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAAC;EAIH,OACE,iBAAA,GAAA,kBAAA,KAACC,cAAAA,SAAD;GACY;GACE;GACN;GACN,SAAS,WAAW,QAAQ,KAAA;GACrB;GACE;aAER;EACI,CAAA;CAEX,GAAG,aAAa;AAClB;;AAGA,MAAM,QAAQ;;;;;CAKZ,UAAU,SAAoB,YAA2B;EACvD,OAAO,UAAU,SAAS,WAAW,OAAO;CAC9C;;;;;CAKA,OAAO,SAAoB,YAA2B;EACpD,OAAO,UAAU,SAAS,QAAQ,OAAO;CAC3C;;;;;CAKA,OAAO,SAAoB,YAA2B;EACpD,OAAO,UAAU,SAAS,WAAW;GACnC,UAAU;GACV,UAAU;GACV,GAAG;EACL,CAAC;CACH;;;;;CAKA,UAAU,SAAoB,YAA2B;EACvD,OAAO,UAAU,SAAS,WAAW,OAAO;CAC9C;;;;;CAKA,QAAQ,SAAoB,YAA2B;EACrD,OAAO,UAAU,SAAS,UAAU;GAClC,UAAU;GACV,UAAU;GACV,GAAG;EACL,CAAC;CACH;;CAEA,QAAQ,YAA6B;EACnC,OAAA,MAAY,QAAQ,OAAO;CAC7B;AACF"}
@@ -6,41 +6,41 @@ import { ExternalToast } from "sonner";
6
6
  type AlertVariant = NonNullable<AlertProps['variant']>;
7
7
  /** Props passed to a custom render function */
8
8
  interface ToastRenderProps {
9
- /** The toast message */
10
- message: ReactNode;
11
- /** The color/severity of the toast */
12
- variant: AlertVariant;
13
- /** Function to close the toast */
14
- close: () => void;
15
9
  /** Whether the toast can be closed by the user */
16
10
  closable?: boolean;
17
- /** Title displayed above the toast message */
18
- title?: ReactNode;
11
+ /** Function to close the toast */
12
+ close: () => void;
19
13
  /** Content displayed at the end of the toast */
20
14
  endContent?: ReactNode;
21
15
  /** Icon displayed at the start of the toast */
22
16
  icon?: ReactNode;
17
+ /** The toast message */
18
+ message: ReactNode;
19
+ /** The color/severity of the toast */
20
+ variant: AlertVariant;
21
+ /** Title displayed above the toast message */
22
+ title?: ReactNode;
23
23
  }
24
24
  /** Options passed to each toast method */
25
25
  interface ToastOptions {
26
- /** Title displayed above the toast message */
27
- title?: ReactNode;
28
26
  /** Whether the toast can be closed by the user */
29
27
  closable?: boolean;
30
28
  /** Duration in milliseconds before the toast auto-closes */
31
29
  duration?: number;
32
- /** Position of the toast on the screen */
33
- position?: ExternalToast['position'];
34
- /** Callback fired when the toast auto-closes */
35
- onAutoClose?: ExternalToast['onAutoClose'];
36
- /** Callback fired when the toast is closed */
37
- onClose?: ExternalToast['onDismiss'];
38
30
  /** Content displayed at the end of the toast */
39
31
  endContent?: ReactNode;
40
32
  /** Icon displayed at the start of the toast */
41
33
  icon?: ReactNode;
42
- /** Custom render function to override the default AlertComponent */
34
+ /** Callback fired when the toast auto-closes */
35
+ onAutoClose?: ExternalToast['onAutoClose'];
36
+ /** Callback fired when the toast is closed */
37
+ onClose?: ExternalToast['onDismiss'];
38
+ /** Position of the toast on the screen */
39
+ position?: ExternalToast['position'];
40
+ /** Custom render function to override the default Alert */
43
41
  render?: (props: ToastRenderProps) => ReactElement;
42
+ /** Title displayed above the toast message */
43
+ title?: ReactNode;
44
44
  }
45
45
  /** Toast object with convenience methods for different severity levels */
46
46
  declare const toast: {
@@ -1 +1 @@
1
- {"version":3,"file":"toast.d.cts","names":[],"sources":["../../src/Toast/toast.tsx"],"mappings":";;;;;KAQK,YAAA,GAAe,WAAW,CAAC,UAAA;;UAGf,gBAAA;EAHZ;EAKH,OAAA,EAAS,SAAA;;EAET,OAAA,EAAS,YAAA;EAP+B;EASxC,KAAA;EAN+B;EAQ/B,QAAA;EANS;EAQT,KAAA,GAAQ,SAAA;EAAA;EAER,UAAA,GAAa,SAAA;EAEN;EAAP,IAAA,GAAO,SAAA;AAAA;;UAIQ,YAAA;EAdf;EAgBA,KAAA,GAAQ,SAAA;EAdR;EAgBA,QAAA;EAZA;EAcA,QAAA;EAZA;EAcA,QAAA,GAAW,aAAA;EAZX;EAcA,WAAA,GAAc,aAAA;EAdE;EAgBhB,OAAA,GAAU,aAAA;EAZK;EAcf,UAAA,GAAa,SAAA;;EAEb,IAAA,GAAO,SAAA;EARI;EAUX,MAAA,IAAU,KAAA,EAAO,gBAAA,KAAqB,YAAA;AAAA;;cAuDlC,KAAA;EAvDa;;;;qBA4DE,SAAA,EAAS,OAAA,GAAY,YAAA;EA5EhC;;;;kBAmFQ,SAAA,EAAS,OAAA,GAAY,YAAA;EA3ErC;;;;kBAkFgB,SAAA,EAAS,OAAA,GAAY,YAAA;EA9ExB;;;;qBAyFM,SAAA,EAAS,OAAA,GAAY,YAAA;EArF9B;;;AAAwC;mBA4FjC,SAAA,EAAS,OAAA,GAAY,YAAA,sBAWvC"}
1
+ {"version":3,"file":"toast.d.cts","names":[],"sources":["../../src/Toast/toast.tsx"],"mappings":";;;;;KAQK,YAAA,GAAe,WAAW,CAAC,UAAA;;UAGf,gBAAA;EAHZ;EAKH,QAAA;;EAEA,KAAA;EAPwC;EASxC,UAAA,GAAa,SAAA;EANkB;EAQ/B,IAAA,GAAO,SAAA;EAFM;EAIb,OAAA,EAAS,SAAA;EAAA;EAET,OAAA,EAAS,YAAA;EAED;EAAR,KAAA,GAAQ,SAAA;AAAA;;UAIO,YAAA;EAZf;EAcA,QAAA;EAZA;EAcA,QAAA;EAZA;EAcA,UAAA,GAAa,SAAA;EAZb;EAcA,IAAA,GAAO,SAAA;EAZP;EAcA,WAAA,GAAc,aAAA;EAdG;EAgBjB,OAAA,GAAU,aAAA;EAZK;EAcf,QAAA,GAAW,aAAA;;EAEX,MAAA,IAAU,KAAA,EAAO,gBAAA,KAAqB,YAAA;EAR/B;EAUP,KAAA,GAAQ,SAAA;AAAA;;cAuDJ,KAAA;EAzDkC;;;;qBA8DnB,SAAA,EAAS,OAAA,GAAY,YAAA;EA1ExC;;;;kBAiFgB,SAAA,EAAS,OAAA,GAAY,YAAA;EA3ErC;;;;kBAkFgB,SAAA,EAAS,OAAA,GAAY,YAAA;EA9E1B;;;;qBAyFQ,SAAA,EAAS,OAAA,GAAY,YAAA;EArFxC;;;AAAiB;mBA4FA,SAAA,EAAS,OAAA,GAAY,YAAA,sBAWvC"}
@@ -6,41 +6,41 @@ import { ExternalToast } from "sonner";
6
6
  type AlertVariant = NonNullable<AlertProps['variant']>;
7
7
  /** Props passed to a custom render function */
8
8
  interface ToastRenderProps {
9
- /** The toast message */
10
- message: ReactNode;
11
- /** The color/severity of the toast */
12
- variant: AlertVariant;
13
- /** Function to close the toast */
14
- close: () => void;
15
9
  /** Whether the toast can be closed by the user */
16
10
  closable?: boolean;
17
- /** Title displayed above the toast message */
18
- title?: ReactNode;
11
+ /** Function to close the toast */
12
+ close: () => void;
19
13
  /** Content displayed at the end of the toast */
20
14
  endContent?: ReactNode;
21
15
  /** Icon displayed at the start of the toast */
22
16
  icon?: ReactNode;
17
+ /** The toast message */
18
+ message: ReactNode;
19
+ /** The color/severity of the toast */
20
+ variant: AlertVariant;
21
+ /** Title displayed above the toast message */
22
+ title?: ReactNode;
23
23
  }
24
24
  /** Options passed to each toast method */
25
25
  interface ToastOptions {
26
- /** Title displayed above the toast message */
27
- title?: ReactNode;
28
26
  /** Whether the toast can be closed by the user */
29
27
  closable?: boolean;
30
28
  /** Duration in milliseconds before the toast auto-closes */
31
29
  duration?: number;
32
- /** Position of the toast on the screen */
33
- position?: ExternalToast['position'];
34
- /** Callback fired when the toast auto-closes */
35
- onAutoClose?: ExternalToast['onAutoClose'];
36
- /** Callback fired when the toast is closed */
37
- onClose?: ExternalToast['onDismiss'];
38
30
  /** Content displayed at the end of the toast */
39
31
  endContent?: ReactNode;
40
32
  /** Icon displayed at the start of the toast */
41
33
  icon?: ReactNode;
42
- /** Custom render function to override the default AlertComponent */
34
+ /** Callback fired when the toast auto-closes */
35
+ onAutoClose?: ExternalToast['onAutoClose'];
36
+ /** Callback fired when the toast is closed */
37
+ onClose?: ExternalToast['onDismiss'];
38
+ /** Position of the toast on the screen */
39
+ position?: ExternalToast['position'];
40
+ /** Custom render function to override the default Alert */
43
41
  render?: (props: ToastRenderProps) => ReactElement;
42
+ /** Title displayed above the toast message */
43
+ title?: ReactNode;
44
44
  }
45
45
  /** Toast object with convenience methods for different severity levels */
46
46
  declare const toast$1: {
@@ -1 +1 @@
1
- {"version":3,"file":"toast.d.ts","names":[],"sources":["../../src/Toast/toast.tsx"],"mappings":";;;;;KAQK,YAAA,GAAe,WAAW,CAAC,UAAA;;UAGf,gBAAA;EAHZ;EAKH,OAAA,EAAS,SAAA;;EAET,OAAA,EAAS,YAAA;EAP+B;EASxC,KAAA;EAN+B;EAQ/B,QAAA;EANS;EAQT,KAAA,GAAQ,SAAA;EAAA;EAER,UAAA,GAAa,SAAA;EAEN;EAAP,IAAA,GAAO,SAAA;AAAA;;UAIQ,YAAA;EAdf;EAgBA,KAAA,GAAQ,SAAA;EAdR;EAgBA,QAAA;EAZA;EAcA,QAAA;EAZA;EAcA,QAAA,GAAW,aAAA;EAZX;EAcA,WAAA,GAAc,aAAA;EAdE;EAgBhB,OAAA,GAAU,aAAA;EAZK;EAcf,UAAA,GAAa,SAAA;;EAEb,IAAA,GAAO,SAAA;EARI;EAUX,MAAA,IAAU,KA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
1
- import Alert_default from "../Alert/index.js";
1
+ import Alert from "../Alert/Alert.js";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { toast } from "sonner";
4
4
  //#region src/Toast/toast.tsx
@@ -22,7 +22,7 @@ const showToast = (message, variant, options) => {
22
22
  endContent,
23
23
  icon
24
24
  });
25
- return /* @__PURE__ */ jsx(Alert_default, {
25
+ return /* @__PURE__ */ jsx(Alert, {
26
26
  closable,
27
27
  endContent,
28
28
  icon,
@@ -1 +1 @@
1
- {"version":3,"file":"toast.js","names":["sonnerToast","AlertComponent","toast"],"sources":["../../src/Toast/toast.tsx"],"sourcesContent":["import type { ReactElement, ReactNode } from 'react';\nimport type { ExternalToast } from 'sonner';\nimport type { AlertProps } from '../Alert';\n\nimport { toast as sonnerToast } from 'sonner';\n\nimport AlertComponent from '../Alert';\n\ntype AlertVariant = NonNullable<AlertProps['variant']>;\n\n/** Props passed to a custom render function */\nexport interface ToastRenderProps {\n /** The toast message */\n message: ReactNode;\n /** The color/severity of the toast */\n variant: AlertVariant;\n /** Function to close the toast */\n close: () => void;\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Title displayed above the toast message */\n title?: ReactNode;\n /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n}\n\n/** Options passed to each toast method */\nexport interface ToastOptions {\n /** Title displayed above the toast message */\n title?: ReactNode;\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Duration in milliseconds before the toast auto-closes */\n duration?: number;\n /** Position of the toast on the screen */\n position?: ExternalToast['position'];\n /** Callback fired when the toast auto-closes */\n onAutoClose?: ExternalToast['onAutoClose'];\n /** Callback fired when the toast is closed */\n onClose?: ExternalToast['onDismiss'];\n /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n /** Custom render function to override the default AlertComponent */\n render?: (props: ToastRenderProps) => ReactElement;\n}\n\nconst showToast = (\n message: ReactNode,\n variant: AlertVariant,\n options?: ToastOptions,\n) => {\n // Map custom ToastOptions to Sonner's ExternalToast format:\n // - onClose is mapped to Sonner's onDismiss\n // - closable is handled separately (not a Sonner option)\n // - position defaults to 'top-center'\n const { onClose, closable, title, endContent, icon, render, ...rest } =\n options ?? {};\n const sonnerOptions: ExternalToast = {\n position: 'top-center' as const,\n onDismiss: onClose,\n ...rest,\n };\n return sonnerToast.custom((id) => {\n // Close function passed to custom render or AlertComponent\n const close = () => {\n return sonnerToast.dismiss(id);\n };\n\n // Allow custom rendering via render prop\n if (render) {\n return render({\n message,\n variant,\n close,\n closable,\n title,\n endContent,\n icon,\n });\n }\n\n // Default: render AlertComponent\n return (\n <AlertComponent\n closable={closable}\n endContent={endContent}\n icon={icon}\n onClose={closable ? close : undefined}\n title={title}\n variant={variant}\n >\n {message}\n </AlertComponent>\n );\n }, sonnerOptions);\n};\n\n/** Toast object with convenience methods for different severity levels */\nconst toast = {\n /**\n * Show a default toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n default: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'default', options);\n },\n /**\n * Show an info toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n info: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'info', options);\n },\n /**\n * Show a warning toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n warn: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'warning', {\n duration: 60000,\n closable: true,\n ...options,\n });\n },\n /**\n * Show a success toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n success: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'success', options);\n },\n /**\n * Show an error toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n error: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'danger', {\n duration: 60000,\n closable: true,\n ...options,\n });\n },\n /** Close a toast by its id */\n close: (toastId: string | number) => {\n sonnerToast.dismiss(toastId);\n },\n};\n\nexport default toast;\n"],"mappings":";;;;AAkDA,MAAM,aACJ,SACA,SACA,YACG;CAKH,MAAM,EAAE,SAAS,UAAU,OAAO,YAAY,MAAM,QAAQ,GAAG,SAC7D,WAAW,CAAC;CACd,MAAM,gBAA+B;EACnC,UAAU;EACV,WAAW;EACX,GAAG;CACL;CACA,OAAOA,MAAY,QAAQ,OAAO;EAEhC,MAAM,cAAc;GAClB,OAAOA,MAAY,QAAQ,EAAE;EAC/B;EAGA,IAAI,QACF,OAAO,OAAO;GACZ;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAAC;EAIH,OACE,oBAACC,eAAD;GACY;GACE;GACN;GACN,SAAS,WAAW,QAAQ,KAAA;GACrB;GACE;aAER;EACa,CAAA;CAEpB,GAAG,aAAa;AAClB;;AAGA,MAAMC,UAAQ;;;;;CAKZ,UAAU,SAAoB,YAA2B;EACvD,OAAO,UAAU,SAAS,WAAW,OAAO;CAC9C;;;;;CAKA,OAAO,SAAoB,YAA2B;EACpD,OAAO,UAAU,SAAS,QAAQ,OAAO;CAC3C;;;;;CAKA,OAAO,SAAoB,YAA2B;EACpD,OAAO,UAAU,SAAS,WAAW;GACnC,UAAU;GACV,UAAU;GACV,GAAG;EACL,CAAC;CACH;;;;;CAKA,UAAU,SAAoB,YAA2B;EACvD,OAAO,UAAU,SAAS,WAAW,OAAO;CAC9C;;;;;CAKA,QAAQ,SAAoB,YAA2B;EACrD,OAAO,UAAU,SAAS,UAAU;GAClC,UAAU;GACV,UAAU;GACV,GAAG;EACL,CAAC;CACH;;CAEA,QAAQ,YAA6B;EACnC,MAAY,QAAQ,OAAO;CAC7B;AACF"}
1
+ {"version":3,"file":"toast.js","names":["sonnerToast","toast"],"sources":["../../src/Toast/toast.tsx"],"sourcesContent":["import type { ReactElement, ReactNode } from 'react';\nimport type { ExternalToast } from 'sonner';\nimport type { AlertProps } from '../Alert';\n\nimport { toast as sonnerToast } from 'sonner';\n\nimport { Alert } from '../Alert';\n\ntype AlertVariant = NonNullable<AlertProps['variant']>;\n\n/** Props passed to a custom render function */\nexport interface ToastRenderProps {\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Function to close the toast */\n close: () => void;\n /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n /** The toast message */\n message: ReactNode;\n /** The color/severity of the toast */\n variant: AlertVariant;\n /** Title displayed above the toast message */\n title?: ReactNode;\n}\n\n/** Options passed to each toast method */\nexport interface ToastOptions {\n /** Whether the toast can be closed by the user */\n closable?: boolean;\n /** Duration in milliseconds before the toast auto-closes */\n duration?: number;\n /** Content displayed at the end of the toast */\n endContent?: ReactNode;\n /** Icon displayed at the start of the toast */\n icon?: ReactNode;\n /** Callback fired when the toast auto-closes */\n onAutoClose?: ExternalToast['onAutoClose'];\n /** Callback fired when the toast is closed */\n onClose?: ExternalToast['onDismiss'];\n /** Position of the toast on the screen */\n position?: ExternalToast['position'];\n /** Custom render function to override the default Alert */\n render?: (props: ToastRenderProps) => ReactElement;\n /** Title displayed above the toast message */\n title?: ReactNode;\n}\n\nconst showToast = (\n message: ReactNode,\n variant: AlertVariant,\n options?: ToastOptions,\n) => {\n // Map custom ToastOptions to Sonner's ExternalToast format:\n // - onClose is mapped to Sonner's onDismiss\n // - closable is handled separately (not a Sonner option)\n // - position defaults to 'top-center'\n const { onClose, closable, title, endContent, icon, render, ...rest } =\n options ?? {};\n const sonnerOptions: ExternalToast = {\n position: 'top-center' as const,\n onDismiss: onClose,\n ...rest,\n };\n return sonnerToast.custom((id) => {\n // Close function passed to custom render or Alert\n const close = () => {\n return sonnerToast.dismiss(id);\n };\n\n // Allow custom rendering via render prop\n if (render) {\n return render({\n message,\n variant,\n close,\n closable,\n title,\n endContent,\n icon,\n });\n }\n\n // Default: render Alert\n return (\n <Alert\n closable={closable}\n endContent={endContent}\n icon={icon}\n onClose={closable ? close : undefined}\n title={title}\n variant={variant}\n >\n {message}\n </Alert>\n );\n }, sonnerOptions);\n};\n\n/** Toast object with convenience methods for different severity levels */\nconst toast = {\n /**\n * Show a default toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n default: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'default', options);\n },\n /**\n * Show an info toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n info: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'info', options);\n },\n /**\n * Show a warning toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n warn: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'warning', {\n duration: 60000,\n closable: true,\n ...options,\n });\n },\n /**\n * Show a success toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n success: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'success', options);\n },\n /**\n * Show an error toast.\n * @returns The toast id which can be passed to `toast.close()`\n */\n error: (message: ReactNode, options?: ToastOptions) => {\n return showToast(message, 'danger', {\n duration: 60000,\n closable: true,\n ...options,\n });\n },\n /** Close a toast by its id */\n close: (toastId: string | number) => {\n sonnerToast.dismiss(toastId);\n },\n};\n\nexport default toast;\n"],"mappings":";;;;AAkDA,MAAM,aACJ,SACA,SACA,YACG;CAKH,MAAM,EAAE,SAAS,UAAU,OAAO,YAAY,MAAM,QAAQ,GAAG,SAC7D,WAAW,CAAC;CACd,MAAM,gBAA+B;EACnC,UAAU;EACV,WAAW;EACX,GAAG;CACL;CACA,OAAOA,MAAY,QAAQ,OAAO;EAEhC,MAAM,cAAc;GAClB,OAAOA,MAAY,QAAQ,EAAE;EAC/B;EAGA,IAAI,QACF,OAAO,OAAO;GACZ;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAAC;EAIH,OACE,oBAAC,OAAD;GACY;GACE;GACN;GACN,SAAS,WAAW,QAAQ,KAAA;GACrB;GACE;aAER;EACI,CAAA;CAEX,GAAG,aAAa;AAClB;;AAGA,MAAMC,UAAQ;;;;;CAKZ,UAAU,SAAoB,YAA2B;EACvD,OAAO,UAAU,SAAS,WAAW,OAAO;CAC9C;;;;;CAKA,OAAO,SAAoB,YAA2B;EACpD,OAAO,UAAU,SAAS,QAAQ,OAAO;CAC3C;;;;;CAKA,OAAO,SAAoB,YAA2B;EACpD,OAAO,UAAU,SAAS,WAAW;GACnC,UAAU;GACV,UAAU;GACV,GAAG;EACL,CAAC;CACH;;;;;CAKA,UAAU,SAAoB,YAA2B;EACvD,OAAO,UAAU,SAAS,WAAW,OAAO;CAC9C;;;;;CAKA,QAAQ,SAAoB,YAA2B;EACrD,OAAO,UAAU,SAAS,UAAU;GAClC,UAAU;GACV,UAAU;GACV,GAAG;EACL,CAAC;CACH;;CAEA,QAAQ,YAA6B;EACnC,MAAY,QAAQ,OAAO;CAC7B;AACF"}