@pixpilot/shadcn-ui 1.10.1 → 1.10.2

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.
@@ -14,20 +14,14 @@ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
14
14
  //#region src/avatar-upload/AvatarUpload.tsx
15
15
  const sizeClasses = {
16
16
  sm: {
17
- avatar: "h-20 w-20",
18
- icon: "h-5 w-5",
19
17
  dropZone: "p-3",
20
18
  main: "space-y-2"
21
19
  },
22
20
  md: {
23
21
  main: "space-y-2.5",
24
- avatar: "h-28 w-28",
25
- icon: "h-6 w-6 bottom-1 right-1",
26
22
  dropZone: "p-4"
27
23
  },
28
24
  lg: {
29
- avatar: "h-40 w-40",
30
- icon: "h-7 w-7 bottom-1.5 right-1.5",
31
25
  dropZone: "p-5",
32
26
  main: "space-y-3"
33
27
  }
@@ -59,6 +53,7 @@ const AvatarUpload = (props) => {
59
53
  onAccept: handleAccept,
60
54
  className: require_utils.cn("w-fit ", className),
61
55
  accept: "image/*",
56
+ "data-slots": "avatar-upload",
62
57
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.FileUploadDropzone, {
63
58
  className: require_utils.cn(error != null && "border-red-500", currentSize.dropZone),
64
59
  children: selectedFile != null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.FileUploadList, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_AvatarUploadItem.AvatarUploadItem, {
@@ -68,14 +63,14 @@ const AvatarUpload = (props) => {
68
63
  onFileSuccess,
69
64
  onError: setError,
70
65
  onFileError,
71
- onClear: showClearButton ? handleClear : void 0
66
+ onClear: showClearButton ? handleClear : void 0,
67
+ size
72
68
  }, selectedFile.id) }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_AvatarUploadComponents.MainWrapper, {
73
69
  currentSize,
74
70
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_AvatarUploadComponents.AvatarWrap, {
75
- className: currentSize.avatar,
76
- iconClass: currentSize.icon,
77
71
  showChangeIcon: hasImageUrl,
78
72
  onClear: showClearButton ? handleClear : void 0,
73
+ size,
79
74
  children: hasImageUrl ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_AvatarUploadComponents.Image, { src: imageUrl }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.UserCircle2, {
80
75
  className: "text-muted-foreground w-full h-full",
81
76
  strokeWidth: 1
@@ -1,6 +1,6 @@
1
1
  import { SingleFileUploadProps } from "../file-upload/types/index.cjs";
2
2
  import "../file-upload/index.cjs";
3
- import { ComponentSizes } from "./types.cjs";
3
+ import { Size } from "./types.cjs";
4
4
  import React from "react";
5
5
 
6
6
  //#region src/avatar-upload/AvatarUpload.d.ts
@@ -9,7 +9,7 @@ interface AvatarUploadProps extends SingleFileUploadProps {
9
9
  upload?: string;
10
10
  change?: string;
11
11
  };
12
- size?: keyof ComponentSizes;
12
+ size?: Size;
13
13
  /**
14
14
  * When `true` (the default), a small × button is displayed on the avatar
15
15
  * whenever there is an image loaded. Clicking it clears the current value.
@@ -1,6 +1,6 @@
1
1
  import { SingleFileUploadProps } from "../file-upload/types/index.js";
2
2
  import "../file-upload/index.js";
3
- import { ComponentSizes } from "./types.js";
3
+ import { Size } from "./types.js";
4
4
  import React from "react";
5
5
 
6
6
  //#region src/avatar-upload/AvatarUpload.d.ts
@@ -9,7 +9,7 @@ interface AvatarUploadProps extends SingleFileUploadProps {
9
9
  upload?: string;
10
10
  change?: string;
11
11
  };
12
- size?: keyof ComponentSizes;
12
+ size?: Size;
13
13
  /**
14
14
  * When `true` (the default), a small × button is displayed on the avatar
15
15
  * whenever there is an image loaded. Clicking it clears the current value.
@@ -9,20 +9,14 @@ import { jsx, jsxs } from "react/jsx-runtime";
9
9
  //#region src/avatar-upload/AvatarUpload.tsx
10
10
  const sizeClasses = {
11
11
  sm: {
12
- avatar: "h-20 w-20",
13
- icon: "h-5 w-5",
14
12
  dropZone: "p-3",
15
13
  main: "space-y-2"
16
14
  },
17
15
  md: {
18
16
  main: "space-y-2.5",
19
- avatar: "h-28 w-28",
20
- icon: "h-6 w-6 bottom-1 right-1",
21
17
  dropZone: "p-4"
22
18
  },
23
19
  lg: {
24
- avatar: "h-40 w-40",
25
- icon: "h-7 w-7 bottom-1.5 right-1.5",
26
20
  dropZone: "p-5",
27
21
  main: "space-y-3"
28
22
  }
@@ -54,6 +48,7 @@ const AvatarUpload = (props) => {
54
48
  onAccept: handleAccept,
55
49
  className: cn$1("w-fit ", className),
56
50
  accept: "image/*",
51
+ "data-slots": "avatar-upload",
57
52
  children: /* @__PURE__ */ jsx(FileUploadDropzone, {
58
53
  className: cn$1(error != null && "border-red-500", currentSize.dropZone),
59
54
  children: selectedFile != null ? /* @__PURE__ */ jsx(FileUploadList, { children: /* @__PURE__ */ jsx(AvatarUploadItem, {
@@ -63,14 +58,14 @@ const AvatarUpload = (props) => {
63
58
  onFileSuccess,
64
59
  onError: setError,
65
60
  onFileError,
66
- onClear: showClearButton ? handleClear : void 0
61
+ onClear: showClearButton ? handleClear : void 0,
62
+ size
67
63
  }, selectedFile.id) }) : /* @__PURE__ */ jsxs(MainWrapper, {
68
64
  currentSize,
69
65
  children: [/* @__PURE__ */ jsx(AvatarWrap, {
70
- className: currentSize.avatar,
71
- iconClass: currentSize.icon,
72
66
  showChangeIcon: hasImageUrl,
73
67
  onClear: showClearButton ? handleClear : void 0,
68
+ size,
74
69
  children: hasImageUrl ? /* @__PURE__ */ jsx(Image, { src: imageUrl }) : /* @__PURE__ */ jsx(UserCircle2, {
75
70
  className: "text-muted-foreground w-full h-full",
76
71
  strokeWidth: 1
@@ -16,24 +16,38 @@ const MessageComponent = ({ message, className }) => {
16
16
  children: message
17
17
  });
18
18
  };
19
- const AvatarWrap = ({ children, className, iconClass, showChangeIcon, onClear }) => {
19
+ const AvatarWrap = ({ children, className, showChangeIcon, size, onClear }) => {
20
+ const editIcon = {
21
+ sm: "size-5.5 bottom-0 right-0",
22
+ md: "size-6.5 bottom-1 right-1",
23
+ lg: "size-7 bottom-1.5 right-1.5"
24
+ };
25
+ const clearButtonSize = {
26
+ sm: "size-5.5",
27
+ md: "size-6.5",
28
+ lg: "size-7.5"
29
+ };
20
30
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
21
- className: require_utils.cn("relative", className),
31
+ className: require_utils.cn("relative", {
32
+ sm: "h-20 w-20",
33
+ md: "h-28 w-28",
34
+ lg: "h-40 w-40"
35
+ }[size], className),
22
36
  children: [
23
37
  children,
24
- showChangeIcon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Pencil, { className: require_utils.cn(`absolute bottom-0 right-0 bg-secondary text-secondary-foreground rounded-full p-1.5 shadow-md`, iconClass) }),
38
+ showChangeIcon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Pencil, { className: require_utils.cn(editIcon[size], `absolute bg-secondary text-secondary-foreground rounded-full p-1.5 shadow-md`) }),
25
39
  onClear != null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.Button, {
26
40
  type: "button",
27
41
  variant: "secondary",
28
42
  size: "icon",
29
- className: "-top-2.5 -right-2.5 absolute size-5.5 rounded-full",
43
+ className: require_utils.cn("-top-2.5 -right-2.5 absolute rounded-full ", clearButtonSize[size]),
30
44
  "aria-label": "Clear avatar",
31
45
  onClick: (e) => {
32
46
  e.stopPropagation();
33
47
  e.preventDefault();
34
48
  onClear();
35
49
  },
36
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.X, { className: "size-3" })
50
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.X, { className: require_utils.cn("p-1.5", clearButtonSize[size]) })
37
51
  })
38
52
  ]
39
53
  });
@@ -11,24 +11,38 @@ const MessageComponent = ({ message, className }) => {
11
11
  children: message
12
12
  });
13
13
  };
14
- const AvatarWrap = ({ children, className, iconClass, showChangeIcon, onClear }) => {
14
+ const AvatarWrap = ({ children, className, showChangeIcon, size, onClear }) => {
15
+ const editIcon = {
16
+ sm: "size-5.5 bottom-0 right-0",
17
+ md: "size-6.5 bottom-1 right-1",
18
+ lg: "size-7 bottom-1.5 right-1.5"
19
+ };
20
+ const clearButtonSize = {
21
+ sm: "size-5.5",
22
+ md: "size-6.5",
23
+ lg: "size-7.5"
24
+ };
15
25
  return /* @__PURE__ */ jsxs("div", {
16
- className: cn$1("relative", className),
26
+ className: cn$1("relative", {
27
+ sm: "h-20 w-20",
28
+ md: "h-28 w-28",
29
+ lg: "h-40 w-40"
30
+ }[size], className),
17
31
  children: [
18
32
  children,
19
- showChangeIcon && /* @__PURE__ */ jsx(Pencil, { className: cn$1(`absolute bottom-0 right-0 bg-secondary text-secondary-foreground rounded-full p-1.5 shadow-md`, iconClass) }),
33
+ showChangeIcon && /* @__PURE__ */ jsx(Pencil, { className: cn$1(editIcon[size], `absolute bg-secondary text-secondary-foreground rounded-full p-1.5 shadow-md`) }),
20
34
  onClear != null && /* @__PURE__ */ jsx(Button, {
21
35
  type: "button",
22
36
  variant: "secondary",
23
37
  size: "icon",
24
- className: "-top-2.5 -right-2.5 absolute size-5.5 rounded-full",
38
+ className: cn$1("-top-2.5 -right-2.5 absolute rounded-full ", clearButtonSize[size]),
25
39
  "aria-label": "Clear avatar",
26
40
  onClick: (e) => {
27
41
  e.stopPropagation();
28
42
  e.preventDefault();
29
43
  onClear();
30
44
  },
31
- children: /* @__PURE__ */ jsx(X, { className: "size-3" })
45
+ children: /* @__PURE__ */ jsx(X, { className: cn$1("p-1.5", clearButtonSize[size]) })
32
46
  })
33
47
  ]
34
48
  });
@@ -14,7 +14,7 @@ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
14
14
 
15
15
  //#region src/avatar-upload/AvatarUploadItem.tsx
16
16
  const AvatarUploadItem = (props) => {
17
- const { file, currentSize, change = "Change", onFileSuccess, onFileError, onClear, onError } = props;
17
+ const { file, currentSize, change = "Change", onFileSuccess, onFileError, onClear, onError, size = "md" } = props;
18
18
  require_use_file_upload_progress_callbacks.useFileUploadProgressCallbacks(file, {
19
19
  onFileSuccess,
20
20
  onFileError
@@ -39,10 +39,9 @@ const AvatarUploadItem = (props) => {
39
39
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
40
40
  className: (0, __pixpilot_shadcn.cn)("relative"),
41
41
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_AvatarUploadComponents.AvatarWrap, {
42
- className: currentSize.avatar,
43
42
  showChangeIcon: true,
44
- iconClass: currentSize.icon,
45
43
  onClear,
44
+ size,
46
45
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_AvatarUploadComponents.Image, { src: URL.createObjectURL(file) })
47
46
  }), fileError != null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.TooltipProvider, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.Tooltip, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.TooltipTrigger, {
48
47
  asChild: true,
@@ -9,7 +9,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
9
9
 
10
10
  //#region src/avatar-upload/AvatarUploadItem.tsx
11
11
  const AvatarUploadItem = (props) => {
12
- const { file, currentSize, change = "Change", onFileSuccess, onFileError, onClear, onError } = props;
12
+ const { file, currentSize, change = "Change", onFileSuccess, onFileError, onClear, onError, size = "md" } = props;
13
13
  useFileUploadProgressCallbacks(file, {
14
14
  onFileSuccess,
15
15
  onFileError
@@ -34,10 +34,9 @@ const AvatarUploadItem = (props) => {
34
34
  children: [/* @__PURE__ */ jsxs("div", {
35
35
  className: cn("relative"),
36
36
  children: [/* @__PURE__ */ jsx(AvatarWrap, {
37
- className: currentSize.avatar,
38
37
  showChangeIcon: true,
39
- iconClass: currentSize.icon,
40
38
  onClear,
39
+ size,
41
40
  children: /* @__PURE__ */ jsx(Image, { src: URL.createObjectURL(file) })
42
41
  }), fileError != null && /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
43
42
  asChild: true,
@@ -1,14 +1,5 @@
1
1
  //#region src/avatar-upload/types.d.ts
2
- interface ComponentSize {
3
- avatar: string;
4
- icon: string;
5
- dropZone: string;
6
- main: string;
7
- }
8
- interface ComponentSizes {
9
- sm: ComponentSize;
10
- md: ComponentSize;
11
- lg: ComponentSize;
12
- }
2
+
3
+ type Size = 'md' | 'sm' | 'lg';
13
4
  //#endregion
14
- export { ComponentSizes };
5
+ export { Size };
@@ -1,14 +1,5 @@
1
1
  //#region src/avatar-upload/types.d.ts
2
- interface ComponentSize {
3
- avatar: string;
4
- icon: string;
5
- dropZone: string;
6
- main: string;
7
- }
8
- interface ComponentSizes {
9
- sm: ComponentSize;
10
- md: ComponentSize;
11
- lg: ComponentSize;
12
- }
2
+
3
+ type Size = 'md' | 'sm' | 'lg';
13
4
  //#endregion
14
- export { ComponentSizes };
5
+ export { Size };
@@ -1,7 +1,7 @@
1
1
  import { FileUploadProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime20 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime14 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload/FileUpload.d.ts
5
- declare function FileUpload(props: FileUploadProps): react_jsx_runtime20.JSX.Element;
5
+ declare function FileUpload(props: FileUploadProps): react_jsx_runtime14.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_runtime11 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime13 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_runtime11.JSX.Element;
8
+ declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime13.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_runtime12 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime11 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_runtime12.JSX.Element;
8
+ declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime11.JSX.Element;
9
9
  declare namespace FileUploadRoot {
10
10
  var displayName: string;
11
11
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime13 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime12 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_runtime12.JSX.Element;
14
14
  //#endregion
15
15
  export { Input, InputProps$1 as InputProps };
@@ -1,5 +1,5 @@
1
1
  import { CommandOptionListItem } from "../CommandOptionList.cjs";
2
- import * as react_jsx_runtime15 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime20 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/tags-input/TagsInput.d.ts
5
5
  interface TagsInputProps {
@@ -57,6 +57,6 @@ declare function TagsInput({
57
57
  addOnTab,
58
58
  onValidate,
59
59
  addButtonVisibility
60
- }: TagsInputProps): react_jsx_runtime15.JSX.Element;
60
+ }: TagsInputProps): react_jsx_runtime20.JSX.Element;
61
61
  //#endregion
62
62
  export { TagsInput, TagsInputProps };
@@ -1,5 +1,5 @@
1
1
  import { CommandOptionListItem } from "../CommandOptionList.js";
2
- import * as react_jsx_runtime15 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/tags-input/TagsInput.d.ts
5
5
  interface TagsInputProps {
@@ -57,6 +57,6 @@ declare function TagsInput({
57
57
  addOnTab,
58
58
  onValidate,
59
59
  addButtonVisibility
60
- }: TagsInputProps): react_jsx_runtime15.JSX.Element;
60
+ }: TagsInputProps): react_jsx_runtime17.JSX.Element;
61
61
  //#endregion
62
62
  export { TagsInput, TagsInputProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime14 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime19 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
@@ -75,6 +75,6 @@ declare function TagsInputInline({
75
75
  canAddCurrentValue,
76
76
  onAddCurrentInput,
77
77
  showClear
78
- }: TagsInputInlineProps): react_jsx_runtime14.JSX.Element;
78
+ }: TagsInputInlineProps): react_jsx_runtime19.JSX.Element;
79
79
  //#endregion
80
80
  export { TagsInputInline, TagsInputInlineItem, TagsInputInlineProps };
@@ -1,5 +1,5 @@
1
1
  import { ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, MouseEventHandler, Ref } from "react";
2
- import * as react_jsx_runtime16 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime15 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/tags-input/TagsInputInline.d.ts
5
5
  interface TagsInputInlineItem {
@@ -75,6 +75,6 @@ declare function TagsInputInline({
75
75
  canAddCurrentValue,
76
76
  onAddCurrentInput,
77
77
  showClear
78
- }: TagsInputInlineProps): react_jsx_runtime16.JSX.Element;
78
+ }: TagsInputInlineProps): react_jsx_runtime15.JSX.Element;
79
79
  //#endregion
80
80
  export { TagsInputInline, TagsInputInlineItem, TagsInputInlineProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime17 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime18 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/theme-toggle/ThemeModeDropdown.d.ts
4
4
  interface ThemeModeDropdownProps {
@@ -17,7 +17,7 @@ interface ThemeModeDropdownProps {
17
17
  * Provides Light / Dark / System options.
18
18
  * Pure component - requires themeValue and onChange props.
19
19
  */
20
- declare function ThemeModeDropdown(props: ThemeModeDropdownProps): react_jsx_runtime17.JSX.Element;
20
+ declare function ThemeModeDropdown(props: ThemeModeDropdownProps): react_jsx_runtime18.JSX.Element;
21
21
  declare namespace ThemeModeDropdown {
22
22
  var displayName: string;
23
23
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime18 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/theme-toggle/ThemeModeSwitchInside.d.ts
4
4
  type ThemeModeSwitchInsideSize = 'sm' | 'md' | 'lg';
@@ -25,7 +25,7 @@ interface ThemeModeSwitchInsideProps {
25
25
  * Icons are embedded within the switch control.
26
26
  * Pure component - requires value and onChange props.
27
27
  */
28
- declare function ThemeModeSwitchInside(props: ThemeModeSwitchInsideProps): react_jsx_runtime18.JSX.Element;
28
+ declare function ThemeModeSwitchInside(props: ThemeModeSwitchInsideProps): react_jsx_runtime19.JSX.Element;
29
29
  declare namespace ThemeModeSwitchInside {
30
30
  var displayName: string;
31
31
  }
@@ -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/ThemeModeSwitchOutside.d.ts
4
4
  interface ThemeModeSwitchOutsideProps {
@@ -22,7 +22,7 @@ interface ThemeModeSwitchOutsideProps {
22
22
  * Icons flank the switch control on either side.
23
23
  * Pure component - requires value and onChange props.
24
24
  */
25
- declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps): react_jsx_runtime19.JSX.Element;
25
+ declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps): react_jsx_runtime20.JSX.Element;
26
26
  declare namespace ThemeModeSwitchOutside {
27
27
  var displayName: string;
28
28
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime19 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime15 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/theme-toggle/ThemeModeToggleButton.d.ts
4
4
  interface ThemeModeToggleButtonProps {
@@ -13,7 +13,7 @@ interface ThemeModeToggleButtonProps {
13
13
  * Light/Dark toggle button.
14
14
  * Pure component - toggles between light and dark.
15
15
  */
16
- declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps): react_jsx_runtime19.JSX.Element;
16
+ declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps): react_jsx_runtime15.JSX.Element;
17
17
  declare namespace ThemeModeToggleButton {
18
18
  var displayName: string;
19
19
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime20 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime16 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/theme-toggle/ThemeModeToggleButton.d.ts
4
4
  interface ThemeModeToggleButtonProps {
@@ -13,7 +13,7 @@ interface ThemeModeToggleButtonProps {
13
13
  * Light/Dark toggle button.
14
14
  * Pure component - toggles between light and dark.
15
15
  */
16
- declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps): react_jsx_runtime20.JSX.Element;
16
+ declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps): react_jsx_runtime16.JSX.Element;
17
17
  declare namespace ThemeModeToggleButton {
18
18
  var displayName: string;
19
19
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/shadcn-ui",
3
3
  "type": "module",
4
- "version": "1.10.1",
4
+ "version": "1.10.2",
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",
@@ -47,7 +47,7 @@
47
47
  "pretty-bytes": "^7.1.0",
48
48
  "react-responsive": "^10.0.1",
49
49
  "sonner": "2.0.7",
50
- "@pixpilot/shadcn": "1.2.0"
50
+ "@pixpilot/shadcn": "1.2.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@storybook/react": "^8.6.14",