@pixpilot/shadcn-ui 3.12.0 → 3.13.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 (48) hide show
  1. package/dist/absolute-fill/AbsoluteFill.d.ts +2 -2
  2. package/dist/button/Button.d.cts +2 -2
  3. package/dist/button/Button.d.ts +2 -2
  4. package/dist/button-extended/ButtonExtended.d.cts +2 -2
  5. package/dist/button-extended/ButtonExtended.d.ts +2 -2
  6. package/dist/card/Card.d.cts +3 -3
  7. package/dist/card/Card.d.ts +3 -3
  8. package/dist/color-select/ColorSelect.d.cts +2 -2
  9. package/dist/color-select/ColorSelect.d.ts +2 -2
  10. package/dist/content-card/ContentCard.d.cts +2 -2
  11. package/dist/content-card/ContentCard.d.ts +2 -2
  12. package/dist/date-picker/DatePicker.d.cts +2 -2
  13. package/dist/date-picker/DatePicker.d.ts +2 -2
  14. package/dist/dialog/Dialog.d.ts +5 -5
  15. package/dist/drawer/Drawer.d.cts +6 -6
  16. package/dist/drawer/Drawer.d.ts +6 -6
  17. package/dist/file-upload/FileUpload.d.cts +2 -2
  18. package/dist/file-upload/FileUpload.d.ts +2 -2
  19. package/dist/file-upload-inline/FileUploadInline.d.cts +2 -2
  20. package/dist/file-upload-inline/FileUploadInline.d.ts +2 -2
  21. package/dist/file-upload-root/FileUploadRoot.d.cts +2 -2
  22. package/dist/file-upload-root/FileUploadRoot.d.ts +2 -2
  23. package/dist/index.cjs +2 -0
  24. package/dist/index.d.cts +2 -1
  25. package/dist/index.d.ts +2 -1
  26. package/dist/index.js +2 -1
  27. package/dist/input/Input.d.cts +2 -2
  28. package/dist/input/Input.d.ts +2 -2
  29. package/dist/loading-overlay/LoadingOverlay.cjs +16 -26
  30. package/dist/loading-overlay/LoadingOverlay.js +17 -27
  31. package/dist/rating/Rating.d.cts +3 -3
  32. package/dist/select/Select.d.cts +2 -2
  33. package/dist/tags-input/TagsInput.d.cts +2 -2
  34. package/dist/tags-input/TagsInput.d.ts +2 -2
  35. package/dist/tags-input/TagsInputInline.d.cts +2 -2
  36. package/dist/tags-input/TagsInputInline.d.ts +2 -2
  37. package/dist/theme-toggle/ThemeModeDropdown.d.cts +2 -2
  38. package/dist/theme-toggle/ThemeModeDropdown.d.ts +2 -2
  39. package/dist/theme-toggle/ThemeModeSwitchInside.d.cts +2 -2
  40. package/dist/theme-toggle/ThemeModeSwitchInside.d.ts +2 -2
  41. package/dist/theme-toggle/ThemeModeSwitchOutside.d.cts +2 -2
  42. package/dist/theme-toggle/ThemeModeSwitchOutside.d.ts +2 -2
  43. package/dist/theme-toggle/ThemeModeToggleButton.d.ts +2 -2
  44. package/dist/toast/AlertToast.d.cts +7 -0
  45. package/dist/toast/AlertToast.d.ts +7 -0
  46. package/dist/toast/index.d.cts +1 -0
  47. package/dist/toast/index.d.ts +1 -0
  48. package/package.json +5 -4
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime7 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/absolute-fill/AbsoluteFill.d.ts
5
5
 
@@ -10,7 +10,7 @@ import * as react_jsx_runtime7 from "react/jsx-runtime";
10
10
  */
11
11
  declare function AbsoluteFill(props: React.HTMLAttributes<HTMLDivElement> & {
12
12
  ref?: React.Ref<HTMLDivElement>;
13
- }): react_jsx_runtime7.JSX.Element;
13
+ }): react_jsx_runtime2.JSX.Element;
14
14
  declare namespace AbsoluteFill {
15
15
  var displayName: string;
16
16
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
2
2
  import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from "@pixpilot/shadcn";
3
3
  import React from "react";
4
4
  import { VariantProps } from "class-variance-authority";
@@ -27,7 +27,7 @@ interface ButtonProps extends React.ComponentProps<typeof Button>, VariantProps<
27
27
  }
28
28
  declare function Button$1(props: ButtonProps & {
29
29
  ref?: React.Ref<HTMLButtonElement>;
30
- }): react_jsx_runtime0.JSX.Element;
30
+ }): react_jsx_runtime1.JSX.Element;
31
31
  declare namespace Button$1 {
32
32
  var displayName: string;
33
33
  }
@@ -1,6 +1,6 @@
1
1
  import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from "@pixpilot/shadcn";
2
2
  import React from "react";
3
- import * as react_jsx_runtime9 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
 
6
6
  //#region src/button/Button.d.ts
@@ -27,7 +27,7 @@ interface ButtonProps extends React.ComponentProps<typeof Button>, VariantProps<
27
27
  }
28
28
  declare function Button$1(props: ButtonProps & {
29
29
  ref?: React.Ref<HTMLButtonElement>;
30
- }): react_jsx_runtime9.JSX.Element;
30
+ }): react_jsx_runtime0.JSX.Element;
31
31
  declare namespace Button$1 {
32
32
  var displayName: string;
33
33
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime28 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
2
2
  import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from "@pixpilot/shadcn";
3
3
  import React from "react";
4
4
  import { VariantProps } from "class-variance-authority";
@@ -50,7 +50,7 @@ interface ButtonExtendedProps extends React.ComponentProps<typeof Button>, Varia
50
50
  }
51
51
  declare function ButtonExtended(props: ButtonExtendedProps & {
52
52
  ref?: React.Ref<HTMLButtonElement>;
53
- }): react_jsx_runtime28.JSX.Element;
53
+ }): react_jsx_runtime2.JSX.Element;
54
54
  declare namespace ButtonExtended {
55
55
  var displayName: string;
56
56
  }
@@ -1,6 +1,6 @@
1
1
  import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from "@pixpilot/shadcn";
2
2
  import React from "react";
3
- import * as react_jsx_runtime8 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
 
6
6
  //#region src/button-extended/ButtonExtended.d.ts
@@ -50,7 +50,7 @@ interface ButtonExtendedProps extends React.ComponentProps<typeof Button>, Varia
50
50
  }
51
51
  declare function ButtonExtended(props: ButtonExtendedProps & {
52
52
  ref?: React.Ref<HTMLButtonElement>;
53
- }): react_jsx_runtime8.JSX.Element;
53
+ }): react_jsx_runtime0.JSX.Element;
54
54
  declare namespace ButtonExtended {
55
55
  var displayName: string;
56
56
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime17 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime3 from "react/jsx-runtime";
2
2
  import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@pixpilot/shadcn";
3
3
  import React from "react";
4
4
 
@@ -6,10 +6,10 @@ import React from "react";
6
6
  declare function CardTitle$1({
7
7
  className,
8
8
  ...props
9
- }: React.ComponentProps<typeof CardTitle>): react_jsx_runtime17.JSX.Element;
9
+ }: React.ComponentProps<typeof CardTitle>): react_jsx_runtime3.JSX.Element;
10
10
  declare function CardHeader$1({
11
11
  className,
12
12
  ...props
13
- }: React.ComponentProps<typeof CardHeader>): react_jsx_runtime17.JSX.Element;
13
+ }: React.ComponentProps<typeof CardHeader>): react_jsx_runtime3.JSX.Element;
14
14
  //#endregion
15
15
  export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader$1 as CardHeader, CardTitle$1 as CardTitle };
@@ -1,15 +1,15 @@
1
1
  import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@pixpilot/shadcn";
2
2
  import React from "react";
3
- import * as react_jsx_runtime11 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime3 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/card/Card.d.ts
6
6
  declare function CardTitle$1({
7
7
  className,
8
8
  ...props
9
- }: React.ComponentProps<typeof CardTitle>): react_jsx_runtime11.JSX.Element;
9
+ }: React.ComponentProps<typeof CardTitle>): react_jsx_runtime3.JSX.Element;
10
10
  declare function CardHeader$1({
11
11
  className,
12
12
  ...props
13
- }: React.ComponentProps<typeof CardHeader>): react_jsx_runtime11.JSX.Element;
13
+ }: React.ComponentProps<typeof CardHeader>): react_jsx_runtime3.JSX.Element;
14
14
  //#endregion
15
15
  export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader$1 as CardHeader, CardTitle$1 as CardTitle };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime1 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
2
2
  import { Select, SelectContent } from "@pixpilot/shadcn";
3
3
  import React, { ComponentProps } from "react";
4
4
 
@@ -17,6 +17,6 @@ type BaseColorSelectProps = {
17
17
  keyboardMode?: 'cycle' | 'dropdown';
18
18
  className?: string;
19
19
  } & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
20
- declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime1.JSX.Element;
20
+ declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime6.JSX.Element;
21
21
  //#endregion
22
22
  export { BaseColorSelectProps, ColorSelect, ColorSelectOption };
@@ -1,6 +1,6 @@
1
1
  import { Select, SelectContent } from "@pixpilot/shadcn";
2
2
  import React, { ComponentProps } from "react";
3
- import * as react_jsx_runtime13 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/color-select/ColorSelect.d.ts
6
6
  interface ColorSelectOption {
@@ -17,6 +17,6 @@ type BaseColorSelectProps = {
17
17
  keyboardMode?: 'cycle' | 'dropdown';
18
18
  className?: string;
19
19
  } & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
20
- declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime13.JSX.Element;
20
+ declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime5.JSX.Element;
21
21
  //#endregion
22
22
  export { BaseColorSelectProps, ColorSelect, ColorSelectOption };
@@ -1,6 +1,6 @@
1
1
  import { Card } from "../card/Card.cjs";
2
2
  import "../card/index.cjs";
3
- import * as react_jsx_runtime12 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
4
4
  import React, { ReactNode } from "react";
5
5
 
6
6
  //#region src/content-card/ContentCard.d.ts
@@ -9,7 +9,7 @@ interface SectionCardProps extends React.ComponentProps<typeof Card> {
9
9
  children: ReactNode;
10
10
  marginBottom?: boolean;
11
11
  }
12
- declare function ContentCard(props: SectionCardProps): react_jsx_runtime12.JSX.Element;
12
+ declare function ContentCard(props: SectionCardProps): react_jsx_runtime5.JSX.Element;
13
13
  declare namespace ContentCard {
14
14
  var displayName: string;
15
15
  }
@@ -1,7 +1,7 @@
1
1
  import { Card } from "../card/Card.js";
2
2
  import "../card/index.js";
3
3
  import React, { ReactNode } from "react";
4
- import * as react_jsx_runtime14 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/content-card/ContentCard.d.ts
7
7
  interface SectionCardProps extends React.ComponentProps<typeof Card> {
@@ -9,7 +9,7 @@ interface SectionCardProps extends React.ComponentProps<typeof Card> {
9
9
  children: ReactNode;
10
10
  marginBottom?: boolean;
11
11
  }
12
- declare function ContentCard(props: SectionCardProps): react_jsx_runtime14.JSX.Element;
12
+ declare function ContentCard(props: SectionCardProps): react_jsx_runtime6.JSX.Element;
13
13
  declare namespace ContentCard {
14
14
  var displayName: string;
15
15
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime2 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
2
2
  import { Calendar } from "@pixpilot/shadcn";
3
3
  import { ComponentProps } from "react";
4
4
 
@@ -10,7 +10,7 @@ type DatePickerProps = {
10
10
  placeholder?: string;
11
11
  showClearButton?: boolean;
12
12
  } & Omit<ComponentProps<typeof Calendar>, 'selected' | 'onSelect' | 'mode'>;
13
- declare function DatePicker(props: DatePickerProps): react_jsx_runtime2.JSX.Element;
13
+ declare function DatePicker(props: DatePickerProps): react_jsx_runtime7.JSX.Element;
14
14
  declare namespace DatePicker {
15
15
  var displayName: string;
16
16
  }
@@ -1,6 +1,6 @@
1
1
  import { Calendar } from "@pixpilot/shadcn";
2
2
  import { ComponentProps } from "react";
3
- import * as react_jsx_runtime15 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/date-picker/DatePicker.d.ts
6
6
  type DatePickerProps = {
@@ -10,7 +10,7 @@ type DatePickerProps = {
10
10
  placeholder?: string;
11
11
  showClearButton?: boolean;
12
12
  } & Omit<ComponentProps<typeof Calendar>, 'selected' | 'onSelect' | 'mode'>;
13
- declare function DatePicker(props: DatePickerProps): react_jsx_runtime15.JSX.Element;
13
+ declare function DatePicker(props: DatePickerProps): react_jsx_runtime7.JSX.Element;
14
14
  declare namespace DatePicker {
15
15
  var displayName: string;
16
16
  }
@@ -1,18 +1,18 @@
1
1
  import { DialogClose, DialogContent } from "@pixpilot/shadcn";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime16 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/dialog/Dialog.d.ts
6
6
  interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogContent> {
7
7
  fullscreen?: boolean;
8
8
  }
9
9
  declare const DialogContent$1: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
10
- declare function DialogHeader$1(props: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime16.JSX.Element;
11
- declare function DialogBody(props: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime16.JSX.Element;
12
- declare function DialogFooter$1(props: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime16.JSX.Element;
10
+ declare function DialogHeader$1(props: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime8.JSX.Element;
11
+ declare function DialogBody(props: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime8.JSX.Element;
12
+ declare function DialogFooter$1(props: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime8.JSX.Element;
13
13
  declare function DialogClose$1({
14
14
  className,
15
15
  ...props
16
- }: React$1.ComponentPropsWithoutRef<typeof DialogClose>): react_jsx_runtime16.JSX.Element;
16
+ }: React$1.ComponentPropsWithoutRef<typeof DialogClose>): react_jsx_runtime8.JSX.Element;
17
17
  //#endregion
18
18
  export { DialogBody, DialogClose$1 as DialogClose, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter$1 as DialogFooter, DialogHeader$1 as DialogHeader };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime3 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime12 from "react/jsx-runtime";
2
2
  import { Drawer, DrawerClose, DrawerContent } from "@pixpilot/shadcn";
3
3
  import * as React$1 from "react";
4
4
  import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
@@ -22,7 +22,7 @@ type DrawerProps = React$1.ComponentProps<typeof Drawer> & NoDragProps;
22
22
  declare function Drawer$1({
23
23
  noDrag,
24
24
  ...props
25
- }: DrawerProps): react_jsx_runtime3.JSX.Element;
25
+ }: DrawerProps): react_jsx_runtime12.JSX.Element;
26
26
  type DrawerContentProps = React$1.ComponentPropsWithoutRef<typeof DrawerContent> & NoDragProps & {
27
27
  /**
28
28
  * Detach the drawer from the viewport edges: adds a gap on every side and
@@ -44,19 +44,19 @@ declare const DrawerContent$1: React$1.ForwardRefExoticComponent<Omit<Omit<_radi
44
44
  declare function DrawerHeader({
45
45
  noDrag,
46
46
  ...props
47
- }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime3.JSX.Element;
47
+ }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime12.JSX.Element;
48
48
  declare function DrawerBody({
49
49
  noDrag,
50
50
  ...props
51
- }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime3.JSX.Element;
51
+ }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime12.JSX.Element;
52
52
  declare function DrawerFooter({
53
53
  noDrag,
54
54
  ...props
55
- }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime3.JSX.Element;
55
+ }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime12.JSX.Element;
56
56
  declare function DrawerClose$1({
57
57
  className,
58
58
  noDrag,
59
59
  ...props
60
- }: React$1.ComponentPropsWithoutRef<typeof DrawerClose> & NoDragProps): react_jsx_runtime3.JSX.Element;
60
+ }: React$1.ComponentPropsWithoutRef<typeof DrawerClose> & NoDragProps): react_jsx_runtime12.JSX.Element;
61
61
  //#endregion
62
62
  export { Drawer$1 as Drawer, DrawerBody, DrawerClose$1 as DrawerClose, DrawerContent$1 as DrawerContent, DrawerContentProps, DrawerFooter, DrawerHeader, DrawerProps };
@@ -1,6 +1,6 @@
1
1
  import { Drawer, DrawerClose, DrawerContent } from "@pixpilot/shadcn";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime12 from "react/jsx-runtime";
4
4
  import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
5
5
 
6
6
  //#region src/drawer/Drawer.d.ts
@@ -22,7 +22,7 @@ type DrawerProps = React$1.ComponentProps<typeof Drawer> & NoDragProps;
22
22
  declare function Drawer$1({
23
23
  noDrag,
24
24
  ...props
25
- }: DrawerProps): react_jsx_runtime0.JSX.Element;
25
+ }: DrawerProps): react_jsx_runtime12.JSX.Element;
26
26
  type DrawerContentProps = React$1.ComponentPropsWithoutRef<typeof DrawerContent> & NoDragProps & {
27
27
  /**
28
28
  * Detach the drawer from the viewport edges: adds a gap on every side and
@@ -44,19 +44,19 @@ declare const DrawerContent$1: React$1.ForwardRefExoticComponent<Omit<Omit<_radi
44
44
  declare function DrawerHeader({
45
45
  noDrag,
46
46
  ...props
47
- }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime0.JSX.Element;
47
+ }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime12.JSX.Element;
48
48
  declare function DrawerBody({
49
49
  noDrag,
50
50
  ...props
51
- }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime0.JSX.Element;
51
+ }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime12.JSX.Element;
52
52
  declare function DrawerFooter({
53
53
  noDrag,
54
54
  ...props
55
- }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime0.JSX.Element;
55
+ }: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime12.JSX.Element;
56
56
  declare function DrawerClose$1({
57
57
  className,
58
58
  noDrag,
59
59
  ...props
60
- }: React$1.ComponentPropsWithoutRef<typeof DrawerClose> & NoDragProps): react_jsx_runtime0.JSX.Element;
60
+ }: React$1.ComponentPropsWithoutRef<typeof DrawerClose> & NoDragProps): react_jsx_runtime12.JSX.Element;
61
61
  //#endregion
62
62
  export { Drawer$1 as Drawer, DrawerBody, DrawerClose$1 as DrawerClose, DrawerContent$1 as DrawerContent, DrawerContentProps, DrawerFooter, DrawerHeader, DrawerProps };
@@ -1,7 +1,7 @@
1
1
  import { FileUploadProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime27 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload/FileUpload.d.ts
5
- declare function FileUpload(props: FileUploadProps): react_jsx_runtime27.JSX.Element;
5
+ declare function FileUpload(props: FileUploadProps): react_jsx_runtime0.JSX.Element;
6
6
  //#endregion
7
7
  export { FileUpload };
@@ -1,7 +1,7 @@
1
1
  import { FileUploadProps } from "./types/index.js";
2
- import * as react_jsx_runtime10 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload/FileUpload.d.ts
5
- declare function FileUpload(props: FileUploadProps): react_jsx_runtime10.JSX.Element;
5
+ declare function FileUpload(props: FileUploadProps): react_jsx_runtime1.JSX.Element;
6
6
  //#endregion
7
7
  export { FileUpload };
@@ -1,10 +1,10 @@
1
1
  import { FileUploadInlineProps } from "./types.cjs";
2
- import * as react_jsx_runtime19 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload-inline/FileUploadInline.d.ts
5
5
  /**
6
6
  * FileUploadInline - An inline file upload component using FileUpload primitives
7
7
  */
8
- declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime19.JSX.Element;
8
+ declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime17.JSX.Element;
9
9
  //#endregion
10
10
  export { FileUploadInline };
@@ -1,10 +1,10 @@
1
1
  import { FileUploadInlineProps } from "./types.js";
2
- import * as react_jsx_runtime4 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload-inline/FileUploadInline.d.ts
5
5
  /**
6
6
  * FileUploadInline - An inline file upload component using FileUpload primitives
7
7
  */
8
- declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime4.JSX.Element;
8
+ declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime17.JSX.Element;
9
9
  //#endregion
10
10
  export { FileUploadInline };
@@ -1,11 +1,11 @@
1
1
  import { FileUploadRootProps } from "./types.cjs";
2
- import * as react_jsx_runtime20 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime18 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload-root/FileUploadRoot.d.ts
5
5
  /**
6
6
  * FileUploadInline - An inline file upload component using FileUpload primitives
7
7
  */
8
- declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime20.JSX.Element;
8
+ declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime18.JSX.Element;
9
9
  declare namespace FileUploadRoot {
10
10
  var displayName: string;
11
11
  }
@@ -1,11 +1,11 @@
1
1
  import { FileUploadRootProps } from "./types.js";
2
- import * as react_jsx_runtime5 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime18 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload-root/FileUploadRoot.d.ts
5
5
  /**
6
6
  * FileUploadInline - An inline file upload component using FileUpload primitives
7
7
  */
8
- declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime5.JSX.Element;
8
+ declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime18.JSX.Element;
9
9
  declare namespace FileUploadRoot {
10
10
  var displayName: string;
11
11
  }
package/dist/index.cjs CHANGED
@@ -77,6 +77,7 @@ const require_ThemeModeDropdown = require('./theme-toggle/ThemeModeDropdown.cjs'
77
77
  const require_ThemeModeSwitchInside = require('./theme-toggle/ThemeModeSwitchInside.cjs');
78
78
  const require_ThemeModeSwitchOutside = require('./theme-toggle/ThemeModeSwitchOutside.cjs');
79
79
  const require_ThemeModeToggleButton = require('./theme-toggle/ThemeModeToggleButton.cjs');
80
+ const require_AlertToast = require('./toast/AlertToast.cjs');
80
81
  const require_toast = require('./toast/toast.cjs');
81
82
  const require_ToastProvider = require('./toast/ToastProvider.cjs');
82
83
  let __pixpilot_shadcn = require("@pixpilot/shadcn");
@@ -86,6 +87,7 @@ next_themes = require_rolldown_runtime.__toESM(next_themes);
86
87
 
87
88
  exports.AbsoluteFill = require_AbsoluteFill.AbsoluteFill;
88
89
  exports.Alert = require_Alert.Alert;
90
+ exports.AlertToast = require_AlertToast.AlertToast;
89
91
  exports.AvatarUpload = require_AvatarUpload.AvatarUpload;
90
92
  exports.Button = require_Button.Button;
91
93
  exports.ButtonExtended = require_ButtonExtended.ButtonExtended;
package/dist/index.d.cts CHANGED
@@ -129,6 +129,7 @@ import { ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps } from "./theme-tog
129
129
  import { ThemeModeToggleButton, ThemeModeToggleButtonProps } from "./theme-toggle/ThemeModeToggleButton.cjs";
130
130
  import "./theme-toggle/index.cjs";
131
131
  import { AlertToastProps } from "./toast/types.cjs";
132
+ import { AlertToast } from "./toast/AlertToast.cjs";
132
133
  import { DEFAULT_ALERT_DURATION, ToastApi, ToastCustomContent, ToastFunction, ToastMessage, toast } from "./toast/toast.cjs";
133
134
  import { Toaster } from "./toast/ToastProvider.cjs";
134
135
  import "./toast/index.cjs";
@@ -137,4 +138,4 @@ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tool
137
138
  import { getId } from "./utils/get-id.cjs";
138
139
  import { isSvgMarkupString, svgMarkupToMaskUrl } from "./utils/svg.cjs";
139
140
  import { cn } from "@pixpilot/shadcn";
140
- export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertToastProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonExtended, ButtonExtendedLoaderProps, ButtonExtendedProps, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, ButtonProps, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerButton, ColorPickerButtonProps, ColorPickerColorPalette, ColorPickerColorPaletteProps, ColorPickerCompactControls, ColorPickerCompactControlsProps, ColorPickerContent, ColorPickerContentProps, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerContextStates, ColorPickerControls, ColorPickerControlsProps, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatControlsProps, ColorPickerFormatInput, ColorPickerFormatInputProps, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerFullControlsProps, ColorPickerHueSlider, ColorPickerInput, ColorPickerInputProps, ColorPickerPaletteButton, ColorPickerPaletteButtonProps, ColorPickerPaletteSwatch, ColorPickerProps, ColorPickerResetOptions, ColorPickerRoot, ColorPickerRootProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ComboboxProps, ConfirmationDialogProps, ConfirmationDialogVariant, ContentCard, CreatedOverlay, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHeader, DrawerProps, DrawerTitle, DrawerTrigger, EmptyOverlayDefaultProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadCallbacks, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, FileUploadRoot, FileUploadRootItem, FileUploadRootItemProps, FileUploadRootProps, FileUploadRootPropsBaseProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoadingOverlay, LoadingOverlayProps, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, OptionalRegisteredOverlayProps, OverlayProvider, OverlayProviderProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverContentUnstyled, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RegisteredOverlay, RegisteredOverlayInjectedProps, RegisteredOverlayShowProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, BaseSelectProps as SelectProps, ShakeStyles, ShowDialogProps, ShowDrawerProps, ShowOverlayProps, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputInline, TagsInputInlineItem, TagsInputInlineProps, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastApi, ToastCustomContent, ToastFunction, ToastMessage, Toaster, ToggleButton, ToggleButtonProps, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue, ToolbarItems, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UseDelayedVisibilityOptions, UseDelayedVisibilityResult, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
141
+ export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertToast, AlertToastProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonExtended, ButtonExtendedLoaderProps, ButtonExtendedProps, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, ButtonProps, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerButton, ColorPickerButtonProps, ColorPickerColorPalette, ColorPickerColorPaletteProps, ColorPickerCompactControls, ColorPickerCompactControlsProps, ColorPickerContent, ColorPickerContentProps, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerContextStates, ColorPickerControls, ColorPickerControlsProps, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatControlsProps, ColorPickerFormatInput, ColorPickerFormatInputProps, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerFullControlsProps, ColorPickerHueSlider, ColorPickerInput, ColorPickerInputProps, ColorPickerPaletteButton, ColorPickerPaletteButtonProps, ColorPickerPaletteSwatch, ColorPickerProps, ColorPickerResetOptions, ColorPickerRoot, ColorPickerRootProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ComboboxProps, ConfirmationDialogProps, ConfirmationDialogVariant, ContentCard, CreatedOverlay, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHeader, DrawerProps, DrawerTitle, DrawerTrigger, EmptyOverlayDefaultProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadCallbacks, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, FileUploadRoot, FileUploadRootItem, FileUploadRootItemProps, FileUploadRootProps, FileUploadRootPropsBaseProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoadingOverlay, LoadingOverlayProps, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, OptionalRegisteredOverlayProps, OverlayProvider, OverlayProviderProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverContentUnstyled, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RegisteredOverlay, RegisteredOverlayInjectedProps, RegisteredOverlayShowProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, BaseSelectProps as SelectProps, ShakeStyles, ShowDialogProps, ShowDrawerProps, ShowOverlayProps, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputInline, TagsInputInlineItem, TagsInputInlineProps, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastApi, ToastCustomContent, ToastFunction, ToastMessage, Toaster, ToggleButton, ToggleButtonProps, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue, ToolbarItems, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UseDelayedVisibilityOptions, UseDelayedVisibilityResult, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
package/dist/index.d.ts CHANGED
@@ -129,6 +129,7 @@ import { ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps } from "./theme-tog
129
129
  import { ThemeModeToggleButton, ThemeModeToggleButtonProps } from "./theme-toggle/ThemeModeToggleButton.js";
130
130
  import "./theme-toggle/index.js";
131
131
  import { AlertToastProps } from "./toast/types.js";
132
+ import { AlertToast } from "./toast/AlertToast.js";
132
133
  import { DEFAULT_ALERT_DURATION, ToastApi, ToastCustomContent, ToastFunction, ToastMessage, toast } from "./toast/toast.js";
133
134
  import { Toaster } from "./toast/ToastProvider.js";
134
135
  import "./toast/index.js";
@@ -139,4 +140,4 @@ import "./tooltip/index.js";
139
140
  import { getId } from "./utils/get-id.js";
140
141
  import { isSvgMarkupString, svgMarkupToMaskUrl } from "./utils/svg.js";
141
142
  import { cn } from "@pixpilot/shadcn";
142
- export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertToastProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonExtended, ButtonExtendedLoaderProps, ButtonExtendedProps, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, ButtonProps, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerButton, ColorPickerButtonProps, ColorPickerColorPalette, ColorPickerColorPaletteProps, ColorPickerCompactControls, ColorPickerCompactControlsProps, ColorPickerContent, ColorPickerContentProps, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerContextStates, ColorPickerControls, ColorPickerControlsProps, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatControlsProps, ColorPickerFormatInput, ColorPickerFormatInputProps, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerFullControlsProps, ColorPickerHueSlider, ColorPickerInput, ColorPickerInputProps, ColorPickerPaletteButton, ColorPickerPaletteButtonProps, ColorPickerPaletteSwatch, ColorPickerProps, ColorPickerResetOptions, ColorPickerRoot, ColorPickerRootProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ComboboxProps, ConfirmationDialogProps, ConfirmationDialogVariant, ContentCard, CreatedOverlay, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHeader, DrawerProps, DrawerTitle, DrawerTrigger, EmptyOverlayDefaultProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadCallbacks, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, FileUploadRoot, FileUploadRootItem, FileUploadRootItemProps, FileUploadRootProps, FileUploadRootPropsBaseProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoadingOverlay, LoadingOverlayProps, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, OptionalRegisteredOverlayProps, OverlayProvider, OverlayProviderProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverContentUnstyled, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RegisteredOverlay, RegisteredOverlayInjectedProps, RegisteredOverlayShowProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, BaseSelectProps as SelectProps, ShakeStyles, ShowDialogProps, ShowDrawerProps, ShowOverlayProps, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputInline, TagsInputInlineItem, TagsInputInlineProps, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastApi, ToastCustomContent, ToastFunction, ToastMessage, Toaster, ToggleButton, ToggleButtonProps, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue, ToolbarItems, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UseDelayedVisibilityOptions, UseDelayedVisibilityResult, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
143
+ export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertToast, AlertToastProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonExtended, ButtonExtendedLoaderProps, ButtonExtendedProps, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, ButtonProps, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerButton, ColorPickerButtonProps, ColorPickerColorPalette, ColorPickerColorPaletteProps, ColorPickerCompactControls, ColorPickerCompactControlsProps, ColorPickerContent, ColorPickerContentProps, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerContextStates, ColorPickerControls, ColorPickerControlsProps, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatControlsProps, ColorPickerFormatInput, ColorPickerFormatInputProps, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerFullControlsProps, ColorPickerHueSlider, ColorPickerInput, ColorPickerInputProps, ColorPickerPaletteButton, ColorPickerPaletteButtonProps, ColorPickerPaletteSwatch, ColorPickerProps, ColorPickerResetOptions, ColorPickerRoot, ColorPickerRootProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ComboboxProps, ConfirmationDialogProps, ConfirmationDialogVariant, ContentCard, CreatedOverlay, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHeader, DrawerProps, DrawerTitle, DrawerTrigger, EmptyOverlayDefaultProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadCallbacks, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, FileUploadRoot, FileUploadRootItem, FileUploadRootItemProps, FileUploadRootProps, FileUploadRootPropsBaseProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoadingOverlay, LoadingOverlayProps, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, OptionalRegisteredOverlayProps, OverlayProvider, OverlayProviderProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverContentUnstyled, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RegisteredOverlay, RegisteredOverlayInjectedProps, RegisteredOverlayShowProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, BaseSelectProps as SelectProps, ShakeStyles, ShowDialogProps, ShowDrawerProps, ShowOverlayProps, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputInline, TagsInputInlineItem, TagsInputInlineProps, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastApi, ToastCustomContent, ToastFunction, ToastMessage, Toaster, ToggleButton, ToggleButtonProps, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue, ToolbarItems, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UseDelayedVisibilityOptions, UseDelayedVisibilityResult, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
package/dist/index.js CHANGED
@@ -81,10 +81,11 @@ import { ThemeModeDropdown } from "./theme-toggle/ThemeModeDropdown.js";
81
81
  import { ThemeModeSwitchInside } from "./theme-toggle/ThemeModeSwitchInside.js";
82
82
  import { ThemeModeSwitchOutside } from "./theme-toggle/ThemeModeSwitchOutside.js";
83
83
  import { ThemeModeToggleButton } from "./theme-toggle/ThemeModeToggleButton.js";
84
+ import { AlertToast } from "./toast/AlertToast.js";
84
85
  import { DEFAULT_ALERT_DURATION, toast } from "./toast/toast.js";
85
86
  import { Toaster } from "./toast/ToastProvider.js";
86
87
  import { ToggleGroup, ToggleGroupItem } from "./toggle-group/ToggleGroup.js";
87
88
  import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip/Tooltip.js";
88
89
  import { cn } from "@pixpilot/shadcn";
89
90
 
90
- export { AbsoluteFill, Alert, AvatarUpload, Button, ButtonExtended, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CloseButtonAbsolute, CloseButtonRounded, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerButton, ColorPickerColorPalette, ColorPickerCompactControls, ColorPickerContent, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerControls, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatInput, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerHueSlider, ColorPickerInput, ColorPickerPaletteButton, ColorPickerPaletteSwatch, ColorPickerRoot, ColorSelect, Combobox, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, FileUpload, FileUploadInline, FileUploadRoot, FileUploadRootItem, IconPicker, IconToggle, Input, Layout, LayoutFooter, LayoutHeader, LayoutMain, LoadingOverlay, OverlayProvider, Pagination, Popover, PopoverAnchor, PopoverContent, PopoverContentUnstyled, PopoverTrigger, Rating, RatingButton, RichTextEditor, ScaledPreview, Select, ShakeStyles, Slider, SliderInput, SliderSelect, Tabs, TabsContent, TabsContext, TabsList, TabsTrigger, TagsInput, TagsInputInline, ThemeModeDropdown, ThemeModeSwitchInside, ThemeModeSwitchOutside, ThemeModeToggleButton, ThemeProvider, Toaster, ToggleButton, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
91
+ export { AbsoluteFill, Alert, AlertToast, AvatarUpload, Button, ButtonExtended, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CloseButtonAbsolute, CloseButtonRounded, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerButton, ColorPickerColorPalette, ColorPickerCompactControls, ColorPickerContent, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerControls, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatInput, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerHueSlider, ColorPickerInput, ColorPickerPaletteButton, ColorPickerPaletteSwatch, ColorPickerRoot, ColorSelect, Combobox, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, FileUpload, FileUploadInline, FileUploadRoot, FileUploadRootItem, IconPicker, IconToggle, Input, Layout, LayoutFooter, LayoutHeader, LayoutMain, LoadingOverlay, OverlayProvider, Pagination, Popover, PopoverAnchor, PopoverContent, PopoverContentUnstyled, PopoverTrigger, Rating, RatingButton, RichTextEditor, ScaledPreview, Select, ShakeStyles, Slider, SliderInput, SliderSelect, Tabs, TabsContent, TabsContext, TabsList, TabsTrigger, TagsInput, TagsInputInline, ThemeModeDropdown, ThemeModeSwitchInside, ThemeModeSwitchOutside, ThemeModeToggleButton, ThemeProvider, Toaster, ToggleButton, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime13 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
2
2
  import { InputProps } from "@pixpilot/shadcn";
3
3
  import * as React$1 from "react";
4
4
 
@@ -10,6 +10,6 @@ type InputProps$1 = InputProps & {
10
10
  prefixClassName?: string;
11
11
  suffixClassName?: string;
12
12
  };
13
- declare function Input(props: InputProps$1): react_jsx_runtime13.JSX.Element;
13
+ declare function Input(props: InputProps$1): react_jsx_runtime19.JSX.Element;
14
14
  //#endregion
15
15
  export { Input, InputProps$1 as InputProps };
@@ -1,6 +1,6 @@
1
1
  import { InputProps } from "@pixpilot/shadcn";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime6 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/input/Input.d.ts
6
6
  type InputProps$1 = InputProps & {
@@ -10,6 +10,6 @@ type InputProps$1 = InputProps & {
10
10
  prefixClassName?: string;
11
11
  suffixClassName?: string;
12
12
  };
13
- declare function Input$1(props: InputProps$1): react_jsx_runtime6.JSX.Element;
13
+ declare function Input$1(props: InputProps$1): react_jsx_runtime19.JSX.Element;
14
14
  //#endregion
15
15
  export { Input$1 as Input, InputProps$1 as InputProps };
@@ -19,7 +19,6 @@ const LoadingOverlay = (props) => {
19
19
  const { backdrop = true, placement = "center", show, inDelay = DEFAULT_DELAY, outDelay = DEFAULT_DELAY, message, scope = "container", size = "default", className, slots } = props;
20
20
  const contentProps = slots?.content || {};
21
21
  const overlayRef = (0, react.useRef)(null);
22
- const [containerBounds, setContainerBounds] = (0, react.useState)();
23
22
  const { mounted, visible } = require_use_delayed_visibility.useDelayedVisibility({
24
23
  show,
25
24
  inDelay,
@@ -42,39 +41,30 @@ const LoadingOverlay = (props) => {
42
41
  lg: "text-base"
43
42
  }[size];
44
43
  (0, react.useLayoutEffect)(() => {
45
- const container = mounted && scope === "container" ? overlayRef.current?.parentElement : void 0;
46
- if (!container) return () => {};
47
- const updateBounds = () => {
48
- const { top, left, width, height } = container.getBoundingClientRect();
49
- setContainerBounds({
50
- top,
51
- left,
52
- width,
53
- height
54
- });
44
+ const overlay = overlayRef.current;
45
+ const container = mounted && scope === "container" ? overlay?.parentElement : void 0;
46
+ if (!overlay || !container) return () => {};
47
+ let rafId;
48
+ const updateTransform = () => {
49
+ overlay.style.transform = `translate(${container.scrollLeft}px, ${container.scrollTop}px)`;
55
50
  };
56
- updateBounds();
57
- container.addEventListener("scroll", updateBounds, { passive: true });
58
- window.addEventListener("resize", updateBounds);
51
+ const onScroll = () => {
52
+ cancelAnimationFrame(rafId);
53
+ rafId = requestAnimationFrame(updateTransform);
54
+ };
55
+ updateTransform();
56
+ container.addEventListener("scroll", onScroll, { passive: true });
59
57
  return () => {
60
- container.removeEventListener("scroll", updateBounds);
61
- window.removeEventListener("resize", updateBounds);
58
+ cancelAnimationFrame(rafId);
59
+ container.removeEventListener("scroll", onScroll);
62
60
  };
63
61
  }, [mounted, scope]);
64
62
  if (!mounted) return null;
65
63
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
66
64
  ref: overlayRef,
67
65
  "data-slot": "loading-overlay",
68
- className: (0, __pixpilot_shadcn.cn)("inset-0 z-[9999] flex justify-center transition-opacity", "fixed", positionClass, backdrop ? "bg-black/50" : "pointer-events-none", visible ? "opacity-100" : "opacity-0", className),
69
- style: {
70
- transitionDuration: `${FADE_DURATION}ms`,
71
- ...scope === "container" && containerBounds ? {
72
- top: containerBounds.top,
73
- left: containerBounds.left,
74
- width: containerBounds.width,
75
- height: containerBounds.height
76
- } : {}
77
- },
66
+ className: (0, __pixpilot_shadcn.cn)("inset-0 z-[9999] flex justify-center transition-opacity", scope === "container" ? "absolute" : "fixed", positionClass, backdrop ? "bg-black/50" : "pointer-events-none", visible ? "opacity-100" : "opacity-0", className),
67
+ style: { transitionDuration: `${FADE_DURATION}ms` },
78
68
  role: "status",
79
69
  "aria-live": "polite",
80
70
  "aria-busy": show,
@@ -4,7 +4,7 @@
4
4
  import { useDelayedVisibility } from "../hooks/use-delayed-visibility.js";
5
5
  import { cn } from "@pixpilot/shadcn";
6
6
  import { Loader2 } from "lucide-react";
7
- import React, { useLayoutEffect, useRef, useState } from "react";
7
+ import React, { useLayoutEffect, useRef } from "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
 
10
10
  //#region src/loading-overlay/LoadingOverlay.tsx
@@ -14,7 +14,6 @@ const LoadingOverlay = (props) => {
14
14
  const { backdrop = true, placement = "center", show, inDelay = DEFAULT_DELAY, outDelay = DEFAULT_DELAY, message, scope = "container", size = "default", className, slots } = props;
15
15
  const contentProps = slots?.content || {};
16
16
  const overlayRef = useRef(null);
17
- const [containerBounds, setContainerBounds] = useState();
18
17
  const { mounted, visible } = useDelayedVisibility({
19
18
  show,
20
19
  inDelay,
@@ -37,39 +36,30 @@ const LoadingOverlay = (props) => {
37
36
  lg: "text-base"
38
37
  }[size];
39
38
  useLayoutEffect(() => {
40
- const container = mounted && scope === "container" ? overlayRef.current?.parentElement : void 0;
41
- if (!container) return () => {};
42
- const updateBounds = () => {
43
- const { top, left, width, height } = container.getBoundingClientRect();
44
- setContainerBounds({
45
- top,
46
- left,
47
- width,
48
- height
49
- });
39
+ const overlay = overlayRef.current;
40
+ const container = mounted && scope === "container" ? overlay?.parentElement : void 0;
41
+ if (!overlay || !container) return () => {};
42
+ let rafId;
43
+ const updateTransform = () => {
44
+ overlay.style.transform = `translate(${container.scrollLeft}px, ${container.scrollTop}px)`;
50
45
  };
51
- updateBounds();
52
- container.addEventListener("scroll", updateBounds, { passive: true });
53
- window.addEventListener("resize", updateBounds);
46
+ const onScroll = () => {
47
+ cancelAnimationFrame(rafId);
48
+ rafId = requestAnimationFrame(updateTransform);
49
+ };
50
+ updateTransform();
51
+ container.addEventListener("scroll", onScroll, { passive: true });
54
52
  return () => {
55
- container.removeEventListener("scroll", updateBounds);
56
- window.removeEventListener("resize", updateBounds);
53
+ cancelAnimationFrame(rafId);
54
+ container.removeEventListener("scroll", onScroll);
57
55
  };
58
56
  }, [mounted, scope]);
59
57
  if (!mounted) return null;
60
58
  return /* @__PURE__ */ jsx("div", {
61
59
  ref: overlayRef,
62
60
  "data-slot": "loading-overlay",
63
- className: cn("inset-0 z-[9999] flex justify-center transition-opacity", "fixed", positionClass, backdrop ? "bg-black/50" : "pointer-events-none", visible ? "opacity-100" : "opacity-0", className),
64
- style: {
65
- transitionDuration: `${FADE_DURATION}ms`,
66
- ...scope === "container" && containerBounds ? {
67
- top: containerBounds.top,
68
- left: containerBounds.left,
69
- width: containerBounds.width,
70
- height: containerBounds.height
71
- } : {}
72
- },
61
+ className: cn("inset-0 z-[9999] flex justify-center transition-opacity", scope === "container" ? "absolute" : "fixed", positionClass, backdrop ? "bg-black/50" : "pointer-events-none", visible ? "opacity-100" : "opacity-0", className),
62
+ style: { transitionDuration: `${FADE_DURATION}ms` },
73
63
  role: "status",
74
64
  "aria-live": "polite",
75
65
  "aria-busy": show,
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime15 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime20 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types0 from "class-variance-authority/types";
@@ -35,7 +35,7 @@ declare function RatingButton({
35
35
  index,
36
36
  className,
37
37
  ...props
38
- }: RatingButtonProps): react_jsx_runtime15.JSX.Element;
38
+ }: RatingButtonProps): react_jsx_runtime20.JSX.Element;
39
39
  declare function Rating({
40
40
  value: valueProp,
41
41
  defaultValue,
@@ -53,6 +53,6 @@ declare function Rating({
53
53
  children,
54
54
  id,
55
55
  ...props
56
- }: React$1.PropsWithChildren<RatingProps>): react_jsx_runtime15.JSX.Element;
56
+ }: React$1.PropsWithChildren<RatingProps>): react_jsx_runtime20.JSX.Element;
57
57
  //#endregion
58
58
  export { Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime14 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime22 from "react/jsx-runtime";
2
2
  import { Select, SelectContent, SelectTrigger } from "@pixpilot/shadcn";
3
3
  import React, { ComponentProps } from "react";
4
4
 
@@ -60,6 +60,6 @@ type BaseSelectProps = {
60
60
  /** Styles the visible trigger. */
61
61
  className?: string;
62
62
  } & Omit<ComponentProps<typeof SelectTrigger>, 'onChange' | 'value'>;
63
- declare function Select$1(props: BaseSelectProps): react_jsx_runtime14.JSX.Element;
63
+ declare function Select$1(props: BaseSelectProps): react_jsx_runtime22.JSX.Element;
64
64
  //#endregion
65
65
  export { BaseSelectProps, Select$1 as Select, SelectContentProps, SelectOption };
@@ -1,6 +1,6 @@
1
1
  import { CommandOptionListItem } from "../command-option-list/CommandOptionList.cjs";
2
2
  import { TagsInputInline } from "./TagsInputInline.cjs";
3
- import * as react_jsx_runtime21 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime24 from "react/jsx-runtime";
4
4
  import { ComponentProps } from "react";
5
5
 
6
6
  //#region src/tags-input/TagsInput.d.ts
@@ -32,6 +32,6 @@ interface TagsInputProps extends Omit<ComponentProps<typeof TagsInputInline>, 'o
32
32
  * - Options support with dropdown (like Select)
33
33
  * - freeSolo mode for custom tags (like MUI Autocomplete)
34
34
  */
35
- declare function TagsInput(props: TagsInputProps): react_jsx_runtime21.JSX.Element;
35
+ declare function TagsInput(props: TagsInputProps): react_jsx_runtime24.JSX.Element;
36
36
  //#endregion
37
37
  export { TagsInput, TagsInputProps };
@@ -1,7 +1,7 @@
1
1
  import { CommandOptionListItem } from "../command-option-list/CommandOptionList.js";
2
2
  import { TagsInputInline } from "./TagsInputInline.js";
3
3
  import { ComponentProps } from "react";
4
- import * as react_jsx_runtime24 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/tags-input/TagsInput.d.ts
7
7
  interface TagsInputProps extends Omit<ComponentProps<typeof TagsInputInline>, 'onChange' | 'value' | 'onValueChange' | 'onValidate' | 'items' | 'max' | 'inputRef' | 'inputPlaceholder' | 'inputValue' | 'onInputFocus' | 'onInputChange' | 'onInputKeyDown' | 'onInputMouseDown' | 'onListClick' | 'canAddCurrentValue' | 'onAddCurrentInput' | 'showClear'> {
@@ -32,6 +32,6 @@ interface TagsInputProps extends Omit<ComponentProps<typeof TagsInputInline>, 'o
32
32
  * - Options support with dropdown (like Select)
33
33
  * - freeSolo mode for custom tags (like MUI Autocomplete)
34
34
  */
35
- declare function TagsInput(props: TagsInputProps): react_jsx_runtime24.JSX.Element;
35
+ declare function TagsInput(props: TagsInputProps): react_jsx_runtime23.JSX.Element;
36
36
  //#endregion
37
37
  export { TagsInput, TagsInputProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime22 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
2
2
  import { ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, MouseEventHandler, Ref } from "react";
3
3
 
4
4
  //#region src/tags-input/TagsInputInline.d.ts
@@ -77,6 +77,6 @@ declare function TagsInputInline({
77
77
  canAddCurrentValue,
78
78
  onAddCurrentInput,
79
79
  showClear
80
- }: TagsInputInlineProps): react_jsx_runtime22.JSX.Element;
80
+ }: TagsInputInlineProps): react_jsx_runtime23.JSX.Element;
81
81
  //#endregion
82
82
  export { TagsInputInline, TagsInputInlineItem, TagsInputInlineProps };
@@ -1,5 +1,5 @@
1
1
  import { ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, MouseEventHandler, Ref } from "react";
2
- import * as react_jsx_runtime23 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime24 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/tags-input/TagsInputInline.d.ts
5
5
  interface TagsInputInlineItem {
@@ -77,6 +77,6 @@ declare function TagsInputInline({
77
77
  canAddCurrentValue,
78
78
  onAddCurrentInput,
79
79
  showClear
80
- }: TagsInputInlineProps): react_jsx_runtime23.JSX.Element;
80
+ }: TagsInputInlineProps): react_jsx_runtime24.JSX.Element;
81
81
  //#endregion
82
82
  export { TagsInputInline, TagsInputInlineItem, TagsInputInlineProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime24 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/theme-toggle/ThemeModeDropdown.d.ts
4
4
  interface ThemeModeDropdownProps {
@@ -18,7 +18,7 @@ interface ThemeModeDropdownProps {
18
18
  * Provides Light / Dark / System options.
19
19
  * Pure component - requires themeValue and onChange props.
20
20
  */
21
- declare function ThemeModeDropdown(props: ThemeModeDropdownProps): react_jsx_runtime24.JSX.Element;
21
+ declare function ThemeModeDropdown(props: ThemeModeDropdownProps): react_jsx_runtime26.JSX.Element;
22
22
  declare namespace ThemeModeDropdown {
23
23
  var displayName: string;
24
24
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime26 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime25 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/theme-toggle/ThemeModeDropdown.d.ts
4
4
  interface ThemeModeDropdownProps {
@@ -18,7 +18,7 @@ interface ThemeModeDropdownProps {
18
18
  * Provides Light / Dark / System options.
19
19
  * Pure component - requires themeValue and onChange props.
20
20
  */
21
- declare function ThemeModeDropdown(props: ThemeModeDropdownProps): react_jsx_runtime26.JSX.Element;
21
+ declare function ThemeModeDropdown(props: ThemeModeDropdownProps): react_jsx_runtime25.JSX.Element;
22
22
  declare namespace ThemeModeDropdown {
23
23
  var displayName: string;
24
24
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime23 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/theme-toggle/ThemeModeSwitchInside.d.ts
4
4
  type ThemeModeSwitchInsideSize = 'sm' | 'md' | 'lg';
@@ -26,7 +26,7 @@ interface ThemeModeSwitchInsideProps {
26
26
  * Icons are embedded within the switch control.
27
27
  * Pure component - requires value and onChange props.
28
28
  */
29
- declare function ThemeModeSwitchInside(props: ThemeModeSwitchInsideProps): react_jsx_runtime23.JSX.Element;
29
+ declare function ThemeModeSwitchInside(props: ThemeModeSwitchInsideProps): react_jsx_runtime27.JSX.Element;
30
30
  declare namespace ThemeModeSwitchInside {
31
31
  var displayName: string;
32
32
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime27 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/theme-toggle/ThemeModeSwitchInside.d.ts
4
4
  type ThemeModeSwitchInsideSize = 'sm' | 'md' | 'lg';
@@ -26,7 +26,7 @@ interface ThemeModeSwitchInsideProps {
26
26
  * Icons are embedded within the switch control.
27
27
  * Pure component - requires value and onChange props.
28
28
  */
29
- declare function ThemeModeSwitchInside(props: ThemeModeSwitchInsideProps): react_jsx_runtime27.JSX.Element;
29
+ declare function ThemeModeSwitchInside(props: ThemeModeSwitchInsideProps): react_jsx_runtime26.JSX.Element;
30
30
  declare namespace ThemeModeSwitchInside {
31
31
  var displayName: string;
32
32
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime26 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime28 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/theme-toggle/ThemeModeSwitchOutside.d.ts
4
4
  interface ThemeModeSwitchOutsideProps {
@@ -23,7 +23,7 @@ interface ThemeModeSwitchOutsideProps {
23
23
  * Icons flank the switch control on either side.
24
24
  * Pure component - requires value and onChange props.
25
25
  */
26
- declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps): react_jsx_runtime26.JSX.Element;
26
+ declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps): react_jsx_runtime28.JSX.Element;
27
27
  declare namespace ThemeModeSwitchOutside {
28
28
  var displayName: string;
29
29
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime28 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/theme-toggle/ThemeModeSwitchOutside.d.ts
4
4
  interface ThemeModeSwitchOutsideProps {
@@ -23,7 +23,7 @@ interface ThemeModeSwitchOutsideProps {
23
23
  * Icons flank the switch control on either side.
24
24
  * Pure component - requires value and onChange props.
25
25
  */
26
- declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps): react_jsx_runtime28.JSX.Element;
26
+ declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps): react_jsx_runtime27.JSX.Element;
27
27
  declare namespace ThemeModeSwitchOutside {
28
28
  var displayName: string;
29
29
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime25 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime28 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/theme-toggle/ThemeModeToggleButton.d.ts
4
4
  interface ThemeModeToggleButtonProps {
@@ -14,7 +14,7 @@ interface ThemeModeToggleButtonProps {
14
14
  * Light/Dark toggle button.
15
15
  * Pure component - toggles between light and dark.
16
16
  */
17
- declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps): react_jsx_runtime25.JSX.Element;
17
+ declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps): react_jsx_runtime28.JSX.Element;
18
18
  declare namespace ThemeModeToggleButton {
19
19
  var displayName: string;
20
20
  }
@@ -0,0 +1,7 @@
1
+ import { AlertToastProps } from "./types.cjs";
2
+ import React from "react";
3
+
4
+ //#region src/toast/AlertToast.d.ts
5
+ declare const AlertToast: React.FC<AlertToastProps>;
6
+ //#endregion
7
+ export { AlertToast };
@@ -0,0 +1,7 @@
1
+ import { AlertToastProps } from "./types.js";
2
+ import React from "react";
3
+
4
+ //#region src/toast/AlertToast.d.ts
5
+ declare const AlertToast: React.FC<AlertToastProps>;
6
+ //#endregion
7
+ export { AlertToast };
@@ -1,3 +1,4 @@
1
1
  import { AlertToastProps } from "./types.cjs";
2
+ import { AlertToast } from "./AlertToast.cjs";
2
3
  import { DEFAULT_ALERT_DURATION, ToastApi, ToastCustomContent, ToastFunction, ToastMessage, toast } from "./toast.cjs";
3
4
  import { Toaster } from "./ToastProvider.cjs";
@@ -1,3 +1,4 @@
1
1
  import { AlertToastProps } from "./types.js";
2
+ import { AlertToast } from "./AlertToast.js";
2
3
  import { DEFAULT_ALERT_DURATION, ToastApi, ToastCustomContent, ToastFunction, ToastMessage, toast } from "./toast.js";
3
4
  import { Toaster } from "./ToastProvider.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/shadcn-ui",
3
3
  "type": "module",
4
- "version": "3.12.0",
4
+ "version": "3.13.0",
5
5
  "description": "Custom UI components and utilities built with shadcn/ui.",
6
6
  "author": "m.doaie <m.doaie@hotmail.com>",
7
7
  "license": "MIT",
@@ -63,6 +63,7 @@
63
63
  "@testing-library/react": "^16.3.2",
64
64
  "@types/node": "^22.19.17",
65
65
  "@types/react": "^19.2.14",
66
+ "@types/react-dom": "^19.2.3",
66
67
  "eslint": "^9.39.4",
67
68
  "jsdom": "^27.4.0",
68
69
  "postcss": "^8.5.14",
@@ -72,13 +73,13 @@
72
73
  "tsdown": "^0.15.12",
73
74
  "tsx": "^4.21.0",
74
75
  "typescript": "^5.9.3",
76
+ "@internal/hooks": "0.0.0",
75
77
  "@internal/eslint-config": "0.3.0",
76
78
  "@internal/mcp": "0.0.0",
77
79
  "@internal/prettier-config": "0.0.1",
78
- "@internal/hooks": "0.0.0",
79
- "@internal/tsconfig": "0.1.0",
80
80
  "@internal/tsdown-config": "0.1.0",
81
- "@internal/vitest-config": "0.1.0"
81
+ "@internal/vitest-config": "0.1.0",
82
+ "@internal/tsconfig": "0.1.0"
82
83
  },
83
84
  "prettier": "@internal/prettier-config",
84
85
  "scripts": {