@pixpilot/shadcn-ui 1.30.1 → 1.32.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 (34) hide show
  1. package/dist/Card.d.cts +3 -3
  2. package/dist/ColorSelect.d.cts +2 -2
  3. package/dist/ContentCard.d.cts +2 -2
  4. package/dist/DatePicker.d.cts +2 -2
  5. package/dist/dialog/Dialog.cjs +12 -5
  6. package/dist/dialog/Dialog.d.cts +10 -9
  7. package/dist/dialog/Dialog.d.ts +10 -9
  8. package/dist/dialog/Dialog.js +13 -7
  9. package/dist/dialog/index.d.cts +3 -3
  10. package/dist/dialog/index.d.ts +3 -3
  11. package/dist/dialog/index.js +3 -3
  12. package/dist/file-upload/FileUpload.d.cts +2 -2
  13. package/dist/file-upload-inline/FileUploadInline.d.cts +2 -2
  14. package/dist/file-upload-inline/FileUploadInline.d.ts +2 -2
  15. package/dist/file-upload-root/FileUploadRoot.d.cts +2 -2
  16. package/dist/file-upload-root/FileUploadRoot.d.ts +2 -2
  17. package/dist/index.cjs +1 -1
  18. package/dist/index.d.cts +2 -2
  19. package/dist/index.d.ts +2 -2
  20. package/dist/index.js +2 -2
  21. package/dist/input/Input.d.cts +2 -2
  22. package/dist/input/Input.d.ts +2 -2
  23. package/dist/tags-input/TagsInput.d.cts +2 -2
  24. package/dist/tags-input/TagsInput.d.ts +2 -2
  25. package/dist/tags-input/TagsInputInline.d.cts +2 -2
  26. package/dist/tags-input/TagsInputInline.d.ts +2 -2
  27. package/dist/theme-toggle/ThemeModeDropdown.d.cts +2 -2
  28. package/dist/theme-toggle/ThemeModeDropdown.d.ts +2 -2
  29. package/dist/theme-toggle/ThemeModeSwitchInside.d.cts +2 -2
  30. package/dist/theme-toggle/ThemeModeSwitchInside.d.ts +2 -2
  31. package/dist/theme-toggle/ThemeModeSwitchOutside.d.cts +2 -2
  32. package/dist/theme-toggle/ThemeModeSwitchOutside.d.ts +2 -2
  33. package/dist/theme-toggle/ThemeModeToggleButton.d.ts +2 -2
  34. package/package.json +3 -3
package/dist/Card.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime2 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_runtime2.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_runtime2.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_runtime4 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
2
2
  import { Select, SelectContent } from "@pixpilot/shadcn";
3
3
  import React, { ComponentProps } from "react";
4
4
 
@@ -16,6 +16,6 @@ type BaseColorSelectProps = {
16
16
  placeholder?: string;
17
17
  keyboardMode?: 'cycle' | 'dropdown';
18
18
  } & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
19
- declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime4.JSX.Element;
19
+ declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime5.JSX.Element;
20
20
  //#endregion
21
21
  export { BaseColorSelectProps, ColorSelect, ColorSelectOption };
@@ -1,5 +1,5 @@
1
1
  import { Card } from "./Card.cjs";
2
- import * as react_jsx_runtime5 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
3
3
  import React, { ReactNode } from "react";
4
4
 
5
5
  //#region src/ContentCard.d.ts
@@ -8,7 +8,7 @@ interface SectionCardProps extends React.ComponentProps<typeof Card> {
8
8
  children: ReactNode;
9
9
  marginBottom?: boolean;
10
10
  }
11
- declare function ContentCard(props: SectionCardProps): react_jsx_runtime5.JSX.Element;
11
+ declare function ContentCard(props: SectionCardProps): react_jsx_runtime6.JSX.Element;
12
12
  declare namespace ContentCard {
13
13
  var displayName: string;
14
14
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime6 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
2
2
  import { Calendar } from "@pixpilot/shadcn";
3
3
  import { ComponentProps } from "react";
4
4
 
@@ -9,7 +9,7 @@ type DatePickerProps = {
9
9
  onChange?: (date: Date | undefined) => void;
10
10
  placeholder?: string;
11
11
  } & Omit<ComponentProps<typeof Calendar>, 'selected' | 'onSelect' | 'mode'>;
12
- declare function DatePicker(props: DatePickerProps): react_jsx_runtime6.JSX.Element;
12
+ declare function DatePicker(props: DatePickerProps): react_jsx_runtime2.JSX.Element;
13
13
  declare namespace DatePicker {
14
14
  var displayName: string;
15
15
  }
@@ -7,36 +7,43 @@ let react_jsx_runtime = require("react/jsx-runtime");
7
7
  react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
8
8
 
9
9
  //#region src/dialog/Dialog.tsx
10
- const DialogContent = react.forwardRef(({ className,...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.DialogContent, {
10
+ const DialogContent = react.forwardRef(({ className, fullscreen = false,...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.DialogContent, {
11
11
  ref,
12
- className: (0, __pixpilot_shadcn.cn)("max-h-[85vh] sm:max-h-[90vh] flex flex-col p-0 gap-0", className),
12
+ className: (0, __pixpilot_shadcn.cn)("gap-4 py-5 px-0", "max-h-[calc(100%-2rem)] sm:max-h-[calc(100%-2rem)] w-fit max-w-[calc(100%-2rem)] sm:max-w-[calc(100%-2rem)] flex min-h-0 flex-col", fullscreen && "h-[calc(100%-2rem)] w-[calc(100%-2rem)] max-w-none sm:max-w-none", className),
13
13
  ...props
14
14
  }));
15
15
  DialogContent.displayName = "DialogContent";
16
16
  function DialogHeader({ className,...props }) {
17
17
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
18
18
  "data-slot": "header",
19
- className: (0, __pixpilot_shadcn.cn)("flex flex-col space-y-1.5 px-6 py-4", className),
19
+ className: (0, __pixpilot_shadcn.cn)("flex shrink-0 flex-col gap-2.5 px-6", className),
20
20
  ...props
21
21
  });
22
22
  }
23
23
  function DialogBody({ className,...props }) {
24
24
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
25
25
  "data-slot": "body",
26
- className: (0, __pixpilot_shadcn.cn)("flex-1 overflow-y-auto px-6 py-2", className),
26
+ className: (0, __pixpilot_shadcn.cn)("min-h-0 flex-1 overflow-auto px-6", className),
27
27
  ...props
28
28
  });
29
29
  }
30
30
  function DialogFooter({ className,...props }) {
31
31
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
32
32
  "data-slot": "footer",
33
- className: (0, __pixpilot_shadcn.cn)("flex justify-end space-x-2 px-6 py-4", className),
33
+ className: (0, __pixpilot_shadcn.cn)("flex shrink-0 justify-end space-x-2 px-6", className),
34
+ ...props
35
+ });
36
+ }
37
+ function DialogClose({ className,...props }) {
38
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.DialogClose, {
39
+ className: (0, __pixpilot_shadcn.cn)(className),
34
40
  ...props
35
41
  });
36
42
  }
37
43
 
38
44
  //#endregion
39
45
  exports.DialogBody = DialogBody;
46
+ exports.DialogClose = DialogClose;
40
47
  exports.DialogContent = DialogContent;
41
48
  exports.DialogFooter = DialogFooter;
42
49
  exports.DialogHeader = DialogHeader;
@@ -1,15 +1,12 @@
1
1
  import * as react_jsx_runtime10 from "react/jsx-runtime";
2
- import { DialogContent } from "@pixpilot/shadcn";
2
+ import { DialogClose, DialogContent } from "@pixpilot/shadcn";
3
3
  import * as React$1 from "react";
4
- import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
5
4
 
6
5
  //#region src/dialog/Dialog.d.ts
7
- type DialogContentProps = React$1.ComponentPropsWithoutRef<typeof DialogContent>;
8
- declare const DialogContent$1: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog0.DialogContentProps & React$1.RefAttributes<HTMLDivElement> & {
9
- showCloseButton?: boolean;
10
- disableOutsideClick?: boolean;
11
- container?: HTMLElement | null;
12
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
6
+ interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogContent> {
7
+ fullscreen?: boolean;
8
+ }
9
+ declare const DialogContent$1: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
13
10
  declare function DialogHeader({
14
11
  className,
15
12
  ...props
@@ -22,5 +19,9 @@ declare function DialogFooter({
22
19
  className,
23
20
  ...props
24
21
  }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime10.JSX.Element;
22
+ declare function DialogClose$1({
23
+ className,
24
+ ...props
25
+ }: React$1.ComponentPropsWithoutRef<typeof DialogClose>): react_jsx_runtime10.JSX.Element;
25
26
  //#endregion
26
- export { DialogBody, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter, DialogHeader };
27
+ export { DialogBody, DialogClose$1 as DialogClose, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter, DialogHeader };
@@ -1,15 +1,12 @@
1
- import { DialogContent } from "@pixpilot/shadcn";
1
+ import { DialogClose, DialogContent } from "@pixpilot/shadcn";
2
2
  import * as React$1 from "react";
3
3
  import * as react_jsx_runtime11 from "react/jsx-runtime";
4
- import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
5
4
 
6
5
  //#region src/dialog/Dialog.d.ts
7
- type DialogContentProps = React$1.ComponentPropsWithoutRef<typeof DialogContent>;
8
- declare const DialogContent$1: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog0.DialogContentProps & React$1.RefAttributes<HTMLDivElement> & {
9
- showCloseButton?: boolean;
10
- disableOutsideClick?: boolean;
11
- container?: HTMLElement | null;
12
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
6
+ interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogContent> {
7
+ fullscreen?: boolean;
8
+ }
9
+ declare const DialogContent$1: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
13
10
  declare function DialogHeader$1({
14
11
  className,
15
12
  ...props
@@ -22,5 +19,9 @@ declare function DialogFooter$1({
22
19
  className,
23
20
  ...props
24
21
  }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime11.JSX.Element;
22
+ declare function DialogClose$1({
23
+ className,
24
+ ...props
25
+ }: React$1.ComponentPropsWithoutRef<typeof DialogClose>): react_jsx_runtime11.JSX.Element;
25
26
  //#endregion
26
- export { DialogBody, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter$1 as DialogFooter, DialogHeader$1 as DialogHeader };
27
+ export { DialogBody, DialogClose$1 as DialogClose, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter$1 as DialogFooter, DialogHeader$1 as DialogHeader };
@@ -1,35 +1,41 @@
1
- import { DialogContent, cn } from "@pixpilot/shadcn";
1
+ import { DialogClose, DialogContent, cn } from "@pixpilot/shadcn";
2
2
  import * as React$1 from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
 
5
5
  //#region src/dialog/Dialog.tsx
6
- const DialogContent$1 = React$1.forwardRef(({ className,...props }, ref) => /* @__PURE__ */ jsx(DialogContent, {
6
+ const DialogContent$1 = React$1.forwardRef(({ className, fullscreen = false,...props }, ref) => /* @__PURE__ */ jsx(DialogContent, {
7
7
  ref,
8
- className: cn("max-h-[85vh] sm:max-h-[90vh] flex flex-col p-0 gap-0", className),
8
+ className: cn("gap-4 py-5 px-0", "max-h-[calc(100%-2rem)] sm:max-h-[calc(100%-2rem)] w-fit max-w-[calc(100%-2rem)] sm:max-w-[calc(100%-2rem)] flex min-h-0 flex-col", fullscreen && "h-[calc(100%-2rem)] w-[calc(100%-2rem)] max-w-none sm:max-w-none", className),
9
9
  ...props
10
10
  }));
11
11
  DialogContent$1.displayName = "DialogContent";
12
12
  function DialogHeader$1({ className,...props }) {
13
13
  return /* @__PURE__ */ jsx("div", {
14
14
  "data-slot": "header",
15
- className: cn("flex flex-col space-y-1.5 px-6 py-4", className),
15
+ className: cn("flex shrink-0 flex-col gap-2.5 px-6", className),
16
16
  ...props
17
17
  });
18
18
  }
19
19
  function DialogBody({ className,...props }) {
20
20
  return /* @__PURE__ */ jsx("div", {
21
21
  "data-slot": "body",
22
- className: cn("flex-1 overflow-y-auto px-6 py-2", className),
22
+ className: cn("min-h-0 flex-1 overflow-auto px-6", className),
23
23
  ...props
24
24
  });
25
25
  }
26
26
  function DialogFooter$1({ className,...props }) {
27
27
  return /* @__PURE__ */ jsx("div", {
28
28
  "data-slot": "footer",
29
- className: cn("flex justify-end space-x-2 px-6 py-4", className),
29
+ className: cn("flex shrink-0 justify-end space-x-2 px-6", className),
30
+ ...props
31
+ });
32
+ }
33
+ function DialogClose$1({ className,...props }) {
34
+ return /* @__PURE__ */ jsx(DialogClose, {
35
+ className: cn(className),
30
36
  ...props
31
37
  });
32
38
  }
33
39
 
34
40
  //#endregion
35
- export { DialogBody, DialogContent$1 as DialogContent, DialogFooter$1 as DialogFooter, DialogHeader$1 as DialogHeader };
41
+ export { DialogBody, DialogClose$1 as DialogClose, DialogContent$1 as DialogContent, DialogFooter$1 as DialogFooter, DialogHeader$1 as DialogHeader };
@@ -1,3 +1,3 @@
1
- import { DialogBody, DialogContent as DialogContent$1, DialogContentProps, DialogFooter, DialogHeader } from "./Dialog.cjs";
2
- import { Dialog, DialogClose, DialogDescription, DialogTitle, DialogTrigger } from "@pixpilot/shadcn";
3
- export { Dialog, DialogClose, DialogDescription, DialogTitle, DialogTrigger };
1
+ import { DialogBody, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogContentProps, DialogFooter, DialogHeader } from "./Dialog.cjs";
2
+ import { Dialog, DialogDescription, DialogTitle, DialogTrigger } from "@pixpilot/shadcn";
3
+ export { Dialog, DialogDescription, DialogTitle, DialogTrigger };
@@ -1,3 +1,3 @@
1
- import { DialogBody, DialogContent as DialogContent$1, DialogContentProps, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1 } from "./Dialog.js";
2
- import { Dialog as Dialog$1, DialogClose, DialogDescription as DialogDescription$1, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1 } from "@pixpilot/shadcn";
3
- export { Dialog$1 as Dialog, DialogClose, DialogDescription$1 as DialogDescription, DialogTitle$1 as DialogTitle, DialogTrigger$1 as DialogTrigger };
1
+ import { DialogBody, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogContentProps, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1 } from "./Dialog.js";
2
+ import { Dialog as Dialog$1, DialogDescription as DialogDescription$1, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1 } from "@pixpilot/shadcn";
3
+ export { Dialog$1 as Dialog, DialogDescription$1 as DialogDescription, DialogTitle$1 as DialogTitle, DialogTrigger$1 as DialogTrigger };
@@ -1,4 +1,4 @@
1
- import { DialogBody, DialogContent as DialogContent$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1 } from "./Dialog.js";
2
- import { Dialog as Dialog$1, DialogClose, DialogDescription as DialogDescription$1, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1 } from "@pixpilot/shadcn";
1
+ import { DialogBody, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1 } from "./Dialog.js";
2
+ import { Dialog as Dialog$1, DialogDescription as DialogDescription$1, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1 } from "@pixpilot/shadcn";
3
3
 
4
- export { Dialog$1 as Dialog, DialogClose, DialogDescription$1 as DialogDescription, DialogTitle$1 as DialogTitle, DialogTrigger$1 as DialogTrigger };
4
+ export { Dialog$1 as Dialog, DialogDescription$1 as DialogDescription, DialogTitle$1 as DialogTitle, DialogTrigger$1 as DialogTrigger };
@@ -1,7 +1,7 @@
1
1
  import { FileUploadProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime22 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload/FileUpload.d.ts
5
- declare function FileUpload(props: FileUploadProps): react_jsx_runtime22.JSX.Element;
5
+ declare function FileUpload(props: FileUploadProps): react_jsx_runtime23.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_runtime13 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime15 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_runtime13.JSX.Element;
8
+ declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime15.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_runtime14 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime15 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_runtime14.JSX.Element;
8
+ declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime15.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_runtime14 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime16 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_runtime14.JSX.Element;
8
+ declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime16.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_runtime15 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime16 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_runtime15.JSX.Element;
8
+ declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime16.JSX.Element;
9
9
  declare namespace FileUploadRoot {
10
10
  var displayName: string;
11
11
  }
package/dist/index.cjs CHANGED
@@ -147,7 +147,7 @@ exports.DEFAULT_ALERT_DURATION = require_toast.DEFAULT_ALERT_DURATION;
147
147
  exports.DatePicker = require_DatePicker.DatePicker;
148
148
  exports.Dialog = __pixpilot_shadcn.Dialog;
149
149
  exports.DialogBody = require_Dialog.DialogBody;
150
- exports.DialogClose = __pixpilot_shadcn.DialogClose;
150
+ exports.DialogClose = require_Dialog.DialogClose;
151
151
  exports.DialogContent = require_Dialog.DialogContent;
152
152
  exports.DialogDescription = __pixpilot_shadcn.DialogDescription;
153
153
  exports.DialogFooter = require_Dialog.DialogFooter;
package/dist/index.d.cts CHANGED
@@ -40,8 +40,8 @@ import { DialogProvider, DialogProviderProps } from "./confirmation-dialog/Dialo
40
40
  import "./confirmation-dialog/index.cjs";
41
41
  import { ContentCard } from "./ContentCard.cjs";
42
42
  import { DatePicker, DatePickerProps } from "./DatePicker.cjs";
43
- import { DialogBody, DialogContent, DialogContentProps, DialogFooter, DialogHeader } from "./dialog/Dialog.cjs";
44
- import { Dialog, DialogClose, DialogDescription, DialogTitle, DialogTrigger } from "./dialog/index.cjs";
43
+ import { DialogBody, DialogClose, DialogContent, DialogContentProps, DialogFooter, DialogHeader } from "./dialog/Dialog.cjs";
44
+ import { Dialog, DialogDescription, DialogTitle, DialogTrigger } from "./dialog/index.cjs";
45
45
  import { FileUploadRootItem, FileUploadRootItemProps } from "./file-upload-root/FileUploadRootItem.cjs";
46
46
  import { FileUploadRootProps, FileUploadRootPropsBaseProps } from "./file-upload-root/types.cjs";
47
47
  import { FileUploadRoot } from "./file-upload-root/FileUploadRoot.cjs";
package/dist/index.d.ts CHANGED
@@ -40,8 +40,8 @@ import { DialogProvider, DialogProviderProps } from "./confirmation-dialog/Dialo
40
40
  import "./confirmation-dialog/index.js";
41
41
  import { ContentCard } from "./ContentCard.js";
42
42
  import { DatePicker, DatePickerProps } from "./DatePicker.js";
43
- import { DialogBody, DialogContent, DialogContentProps, DialogFooter, DialogHeader } from "./dialog/Dialog.js";
44
- import { Dialog, DialogClose, DialogDescription, DialogTitle, DialogTrigger } from "./dialog/index.js";
43
+ import { DialogBody, DialogClose, DialogContent, DialogContentProps, DialogFooter, DialogHeader } from "./dialog/Dialog.js";
44
+ import { Dialog, DialogDescription, DialogTitle, DialogTrigger } from "./dialog/index.js";
45
45
  import { FileUploadRootItem, FileUploadRootItemProps } from "./file-upload-root/FileUploadRootItem.js";
46
46
  import { FileUploadRootProps, FileUploadRootPropsBaseProps } from "./file-upload-root/types.js";
47
47
  import { FileUploadRoot } from "./file-upload-root/FileUploadRoot.js";
package/dist/index.js CHANGED
@@ -39,8 +39,8 @@ import { DialogProvider } from "./confirmation-dialog/DialogProvider.js";
39
39
  import "./confirmation-dialog/index.js";
40
40
  import { ContentCard } from "./ContentCard.js";
41
41
  import { DatePicker } from "./DatePicker.js";
42
- import { DialogBody, DialogContent, DialogFooter, DialogHeader } from "./dialog/Dialog.js";
43
- import { Dialog, DialogClose, DialogDescription, DialogTitle, DialogTrigger } from "./dialog/index.js";
42
+ import { DialogBody, DialogClose, DialogContent, DialogFooter, DialogHeader } from "./dialog/Dialog.js";
43
+ import { Dialog, DialogDescription, DialogTitle, DialogTrigger } from "./dialog/index.js";
44
44
  import { FileUploadRootItem } from "./file-upload-root/FileUploadRootItem.js";
45
45
  import { FileUploadRoot } from "./file-upload-root/FileUploadRoot.js";
46
46
  import "./file-upload-root/index.js";
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime15 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime14 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_runtime15.JSX.Element;
13
+ declare function Input(props: InputProps$1): react_jsx_runtime14.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_runtime16 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime17 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_runtime16.JSX.Element;
13
+ declare function Input$1(props: InputProps$1): react_jsx_runtime17.JSX.Element;
14
14
  //#endregion
15
15
  export { Input$1 as Input, InputProps$1 as InputProps };
@@ -1,5 +1,5 @@
1
1
  import { CommandOptionListItem } from "../CommandOptionList.cjs";
2
- import * as react_jsx_runtime17 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/tags-input/TagsInput.d.ts
5
5
  interface TagsInputProps {
@@ -59,6 +59,6 @@ declare function TagsInput({
59
59
  addOnTab,
60
60
  onValidate,
61
61
  addButtonVisibility
62
- }: TagsInputProps): react_jsx_runtime17.JSX.Element;
62
+ }: TagsInputProps): react_jsx_runtime19.JSX.Element;
63
63
  //#endregion
64
64
  export { TagsInput, TagsInputProps };
@@ -1,5 +1,5 @@
1
1
  import { CommandOptionListItem } from "../CommandOptionList.js";
2
- import * as react_jsx_runtime18 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/tags-input/TagsInput.d.ts
5
5
  interface TagsInputProps {
@@ -59,6 +59,6 @@ declare function TagsInput({
59
59
  addOnTab,
60
60
  onValidate,
61
61
  addButtonVisibility
62
- }: TagsInputProps): react_jsx_runtime18.JSX.Element;
62
+ }: TagsInputProps): react_jsx_runtime19.JSX.Element;
63
63
  //#endregion
64
64
  export { TagsInput, TagsInputProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime16 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime17 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_runtime16.JSX.Element;
80
+ }: TagsInputInlineProps): react_jsx_runtime17.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_runtime17 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime18 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_runtime17.JSX.Element;
80
+ }: TagsInputInlineProps): react_jsx_runtime18.JSX.Element;
81
81
  //#endregion
82
82
  export { TagsInputInline, TagsInputInlineItem, TagsInputInlineProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime19 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime20 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_runtime19.JSX.Element;
21
+ declare function ThemeModeDropdown(props: ThemeModeDropdownProps): react_jsx_runtime20.JSX.Element;
22
22
  declare namespace ThemeModeDropdown {
23
23
  var displayName: string;
24
24
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime20 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime21 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_runtime20.JSX.Element;
21
+ declare function ThemeModeDropdown(props: ThemeModeDropdownProps): react_jsx_runtime21.JSX.Element;
22
22
  declare namespace ThemeModeDropdown {
23
23
  var displayName: string;
24
24
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime20 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime21 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_runtime20.JSX.Element;
29
+ declare function ThemeModeSwitchInside(props: ThemeModeSwitchInsideProps): react_jsx_runtime21.JSX.Element;
30
30
  declare namespace ThemeModeSwitchInside {
31
31
  var displayName: string;
32
32
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime21 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime22 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_runtime21.JSX.Element;
29
+ declare function ThemeModeSwitchInside(props: ThemeModeSwitchInsideProps): react_jsx_runtime22.JSX.Element;
30
30
  declare namespace ThemeModeSwitchInside {
31
31
  var displayName: string;
32
32
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime21 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime22 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_runtime21.JSX.Element;
26
+ declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps): react_jsx_runtime22.JSX.Element;
27
27
  declare namespace ThemeModeSwitchOutside {
28
28
  var displayName: string;
29
29
  }
@@ -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
 
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_runtime22.JSX.Element;
26
+ declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps): react_jsx_runtime23.JSX.Element;
27
27
  declare namespace ThemeModeSwitchOutside {
28
28
  var displayName: string;
29
29
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime19 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime20 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_runtime19.JSX.Element;
17
+ declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps): react_jsx_runtime20.JSX.Element;
18
18
  declare namespace ThemeModeToggleButton {
19
19
  var displayName: string;
20
20
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/shadcn-ui",
3
3
  "type": "module",
4
- "version": "1.30.1",
4
+ "version": "1.32.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",
@@ -64,10 +64,10 @@
64
64
  "tailwindcss": "^4.2.2",
65
65
  "tsdown": "^0.15.12",
66
66
  "typescript": "^5.9.3",
67
- "@internal/hooks": "0.0.0",
68
67
  "@internal/eslint-config": "0.3.0",
69
- "@internal/prettier-config": "0.0.1",
68
+ "@internal/hooks": "0.0.0",
70
69
  "@internal/tsconfig": "0.1.0",
70
+ "@internal/prettier-config": "0.0.1",
71
71
  "@internal/tsdown-config": "0.1.0",
72
72
  "@internal/vitest-config": "0.1.0"
73
73
  },