@pixpilot/shadcn-ui 0.53.0 → 0.56.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.
package/dist/Button.cjs CHANGED
@@ -30,7 +30,7 @@ async function renderTooltipContent(content) {
30
30
  return content;
31
31
  }
32
32
  function Button(props) {
33
- const { children, disabled, onClick, disabledTooltip, loading, loaderProps, onDisabledClick, tooltip, title, tooltipProps, className, variant, size, ref,...rest } = props;
33
+ const { children, disabled, onClick, disabledTooltip, loading, loaderProps, onDisabledClick, tooltip, title, slots, className, variant, size, ref,...rest } = props;
34
34
  const { placement: loaderPlacement = "end" } = loaderProps || {};
35
35
  const handleClick = (0, react.useCallback)((e) => {
36
36
  if (onClick && !disabled) onClick(e);
@@ -44,7 +44,8 @@ function Button(props) {
44
44
  const Loader = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
45
45
  "data-slot": "button-loader",
46
46
  className: (0, __pixpilot_shadcn.cn)("flex items-center justify-center", loaderPlacement === "center" && "rounded-0 absolute inset-0", hasArea && loaderPlacement === "start" && "mr-1", hasArea && loaderPlacement === "end" && "ml-1"),
47
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Loader2, {
47
+ ...slots?.loaderContainer,
48
+ children: slots?.loader ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Loader2, {
48
49
  className: "animate-spin",
49
50
  style: {
50
51
  height: getLoaderSize(size),
@@ -63,9 +64,10 @@ function Button(props) {
63
64
  title,
64
65
  children: [
65
66
  Boolean(disabledTooltip) && isDisabled && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.Tooltip, {
66
- ...tooltipProps,
67
+ ...slots?.tooltip,
67
68
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.TooltipTrigger, {
68
69
  asChild: true,
70
+ ...slots?.tooltipTrigger,
69
71
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_AbsoluteFill.AbsoluteFill, {
70
72
  onClick: onDisabledClick,
71
73
  style: {
@@ -73,7 +75,10 @@ function Button(props) {
73
75
  cursor: "not-allowed"
74
76
  }
75
77
  })
76
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.TooltipContent, { children: renderTooltipContent(disabledTooltip) })]
78
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.TooltipContent, {
79
+ ...slots?.tooltipContent,
80
+ children: renderTooltipContent(disabledTooltip)
81
+ })]
77
82
  }),
78
83
  loading && loaderPlacement === "start" && Loader,
79
84
  children,
@@ -81,11 +86,15 @@ function Button(props) {
81
86
  ]
82
87
  });
83
88
  if (showTooltip && !(Boolean(disabledTooltip) && isDisabled)) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.Tooltip, {
84
- ...tooltipProps,
89
+ ...slots?.tooltip,
85
90
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.TooltipTrigger, {
86
91
  asChild: true,
92
+ ...slots?.tooltipTrigger,
87
93
  children: buttonContent
88
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.TooltipContent, { children: renderTooltipContent(tooltipContent) })]
94
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.TooltipContent, {
95
+ ...slots?.tooltipContent,
96
+ children: renderTooltipContent(tooltipContent)
97
+ })]
89
98
  });
90
99
  return buttonContent;
91
100
  }
package/dist/Button.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime0 from "react/jsx-runtime";
2
- import { Button, Tooltip, buttonVariants } from "@pixpilot/shadcn";
2
+ import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from "@pixpilot/shadcn";
3
3
  import React from "react";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
 
@@ -35,7 +35,18 @@ interface ButtonProps extends React.ComponentProps<typeof Button>, VariantProps<
35
35
  /**
36
36
  * Props to pass to the tooltip component
37
37
  */
38
- tooltipProps?: Omit<React.ComponentProps<typeof Tooltip>, 'children' | 'delayDuration'>;
38
+ /**
39
+ * Slots to customize tooltip components and their props.
40
+ */
41
+ slots?: {
42
+ tooltip?: Omit<React.ComponentProps<typeof Tooltip>, 'children' | 'delayDuration'>;
43
+ tooltipTrigger?: Omit<React.ComponentProps<typeof TooltipTrigger>, 'children'>;
44
+ tooltipContent?: React.ComponentProps<typeof TooltipContent>;
45
+ /** Props applied to the loader container element */
46
+ loaderContainer?: React.HTMLAttributes<HTMLDivElement>;
47
+ /** Custom loader node to render instead of the default `Loader2` */
48
+ loader?: React.ReactNode;
49
+ };
39
50
  }
40
51
  declare function Button$1(props: ButtonProps & {
41
52
  ref?: React.Ref<HTMLButtonElement>;
package/dist/Button.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Button, Tooltip, buttonVariants } from "@pixpilot/shadcn";
1
+ import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from "@pixpilot/shadcn";
2
2
  import React from "react";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
@@ -35,7 +35,18 @@ interface ButtonProps extends React.ComponentProps<typeof Button>, VariantProps<
35
35
  /**
36
36
  * Props to pass to the tooltip component
37
37
  */
38
- tooltipProps?: Omit<React.ComponentProps<typeof Tooltip>, 'children' | 'delayDuration'>;
38
+ /**
39
+ * Slots to customize tooltip components and their props.
40
+ */
41
+ slots?: {
42
+ tooltip?: Omit<React.ComponentProps<typeof Tooltip>, 'children' | 'delayDuration'>;
43
+ tooltipTrigger?: Omit<React.ComponentProps<typeof TooltipTrigger>, 'children'>;
44
+ tooltipContent?: React.ComponentProps<typeof TooltipContent>;
45
+ /** Props applied to the loader container element */
46
+ loaderContainer?: React.HTMLAttributes<HTMLDivElement>;
47
+ /** Custom loader node to render instead of the default `Loader2` */
48
+ loader?: React.ReactNode;
49
+ };
39
50
  }
40
51
  declare function Button$1(props: ButtonProps & {
41
52
  ref?: React.Ref<HTMLButtonElement>;
package/dist/Button.js CHANGED
@@ -25,7 +25,7 @@ async function renderTooltipContent(content) {
25
25
  return content;
26
26
  }
27
27
  function Button$1(props) {
28
- const { children, disabled, onClick, disabledTooltip, loading, loaderProps, onDisabledClick, tooltip, title, tooltipProps, className, variant, size, ref,...rest } = props;
28
+ const { children, disabled, onClick, disabledTooltip, loading, loaderProps, onDisabledClick, tooltip, title, slots, className, variant, size, ref,...rest } = props;
29
29
  const { placement: loaderPlacement = "end" } = loaderProps || {};
30
30
  const handleClick = useCallback((e) => {
31
31
  if (onClick && !disabled) onClick(e);
@@ -39,7 +39,8 @@ function Button$1(props) {
39
39
  const Loader = /* @__PURE__ */ jsx("div", {
40
40
  "data-slot": "button-loader",
41
41
  className: cn("flex items-center justify-center", loaderPlacement === "center" && "rounded-0 absolute inset-0", hasArea && loaderPlacement === "start" && "mr-1", hasArea && loaderPlacement === "end" && "ml-1"),
42
- children: /* @__PURE__ */ jsx(Loader2, {
42
+ ...slots?.loaderContainer,
43
+ children: slots?.loader ?? /* @__PURE__ */ jsx(Loader2, {
43
44
  className: "animate-spin",
44
45
  style: {
45
46
  height: getLoaderSize(size),
@@ -58,9 +59,10 @@ function Button$1(props) {
58
59
  title,
59
60
  children: [
60
61
  Boolean(disabledTooltip) && isDisabled && /* @__PURE__ */ jsxs(Tooltip, {
61
- ...tooltipProps,
62
+ ...slots?.tooltip,
62
63
  children: [/* @__PURE__ */ jsx(TooltipTrigger, {
63
64
  asChild: true,
65
+ ...slots?.tooltipTrigger,
64
66
  children: /* @__PURE__ */ jsx(AbsoluteFill, {
65
67
  onClick: onDisabledClick,
66
68
  style: {
@@ -68,7 +70,10 @@ function Button$1(props) {
68
70
  cursor: "not-allowed"
69
71
  }
70
72
  })
71
- }), /* @__PURE__ */ jsx(TooltipContent, { children: renderTooltipContent(disabledTooltip) })]
73
+ }), /* @__PURE__ */ jsx(TooltipContent, {
74
+ ...slots?.tooltipContent,
75
+ children: renderTooltipContent(disabledTooltip)
76
+ })]
72
77
  }),
73
78
  loading && loaderPlacement === "start" && Loader,
74
79
  children,
@@ -76,11 +81,15 @@ function Button$1(props) {
76
81
  ]
77
82
  });
78
83
  if (showTooltip && !(Boolean(disabledTooltip) && isDisabled)) return /* @__PURE__ */ jsxs(Tooltip, {
79
- ...tooltipProps,
84
+ ...slots?.tooltip,
80
85
  children: [/* @__PURE__ */ jsx(TooltipTrigger, {
81
86
  asChild: true,
87
+ ...slots?.tooltipTrigger,
82
88
  children: buttonContent
83
- }), /* @__PURE__ */ jsx(TooltipContent, { children: renderTooltipContent(tooltipContent) })]
89
+ }), /* @__PURE__ */ jsx(TooltipContent, {
90
+ ...slots?.tooltipContent,
91
+ children: renderTooltipContent(tooltipContent)
92
+ })]
84
93
  });
85
94
  return buttonContent;
86
95
  }
@@ -15,7 +15,8 @@ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
15
15
  const DEFAULT_DELAY = 0;
16
16
  const FADE_DURATION = 300;
17
17
  const LoadingOverlay = (props) => {
18
- const { backdrop = true, placement = "center", loading, delay = DEFAULT_DELAY, message, scope = "container ", size = "default", className, spinnerClassName, messageClassName } = props;
18
+ const { backdrop = true, placement = "center", loading, delay = DEFAULT_DELAY, message, scope = "container ", size = "default", className, slots } = props;
19
+ const contentProps = slots?.content || {};
19
20
  const [mounted, setMounted] = (0, react.useState)(false);
20
21
  const [visible, setVisible] = (0, react.useState)(false);
21
22
  (0, react.useEffect)(() => {
@@ -59,20 +60,25 @@ const LoadingOverlay = (props) => {
59
60
  }[size];
60
61
  if (!mounted) return null;
61
62
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
63
+ "data-slot": "loading-overlay",
62
64
  className: (0, __pixpilot_shadcn.cn)("inset-0 z-[9999] flex justify-center transition-opacity", scope === "fullscreen" ? "fixed" : "absolute", positionClass, backdrop ? "bg-black/50" : "pointer-events-none", visible ? "opacity-100" : "opacity-0", className),
63
65
  style: { transitionDuration: `${FADE_DURATION}ms` },
64
66
  role: "status",
65
67
  "aria-live": "polite",
66
68
  "aria-busy": loading,
67
69
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
68
- className: "flex flex-col items-center gap-2",
70
+ "data-slot": "loading-overlay-content",
71
+ ...contentProps,
72
+ className: (0, __pixpilot_shadcn.cn)("flex flex-col items-center gap-2", contentProps.className),
69
73
  children: [
70
74
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Loader2, {
71
- className: (0, __pixpilot_shadcn.cn)("text-foreground animate-spin", sizeClass, spinnerClassName),
75
+ "data-slot": "loading-overlay-spinner",
76
+ className: (0, __pixpilot_shadcn.cn)("text-foreground animate-spin", sizeClass, slots?.spinner?.className),
72
77
  "aria-hidden": "true"
73
78
  }),
74
79
  message != null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
75
- className: (0, __pixpilot_shadcn.cn)("text-foreground font-medium", messageSizeClass, messageClassName),
80
+ "data-slot": "loading-overlay-message",
81
+ className: (0, __pixpilot_shadcn.cn)("text-foreground font-medium", messageSizeClass, slots?.message?.className),
76
82
  children: message
77
83
  }),
78
84
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { Loader2 } from "lucide-react";
2
3
 
3
4
  //#region src/LoadingOverlay.d.ts
4
5
  interface LoadingOverlayProps {
@@ -42,13 +43,16 @@ interface LoadingOverlayProps {
42
43
  */
43
44
  className?: string;
44
45
  /**
45
- * Custom class name for the spinner
46
+ * Slots for customizing inner elements' props (e.g. spinner/message)
46
47
  */
47
- spinnerClassName?: string;
48
- /**
49
- * Custom class name for the message
50
- */
51
- messageClassName?: string;
48
+ slots?: {
49
+ /** Props forwarded to the spinner (`Loader2`) component */
50
+ spinner?: React.ComponentProps<typeof Loader2>;
51
+ /** Props forwarded to the message `div` element */
52
+ message?: React.HTMLAttributes<HTMLDivElement>;
53
+ /** Props forwarded to the inner content `div` (flex column wrapper) */
54
+ content?: React.HTMLAttributes<HTMLDivElement>;
55
+ };
52
56
  }
53
57
  declare const LoadingOverlay: React.FC<LoadingOverlayProps>;
54
58
  //#endregion
@@ -1,3 +1,4 @@
1
+ import { Loader2 } from "lucide-react";
1
2
  import React from "react";
2
3
 
3
4
  //#region src/LoadingOverlay.d.ts
@@ -42,13 +43,16 @@ interface LoadingOverlayProps {
42
43
  */
43
44
  className?: string;
44
45
  /**
45
- * Custom class name for the spinner
46
+ * Slots for customizing inner elements' props (e.g. spinner/message)
46
47
  */
47
- spinnerClassName?: string;
48
- /**
49
- * Custom class name for the message
50
- */
51
- messageClassName?: string;
48
+ slots?: {
49
+ /** Props forwarded to the spinner (`Loader2`) component */
50
+ spinner?: React.ComponentProps<typeof Loader2>;
51
+ /** Props forwarded to the message `div` element */
52
+ message?: React.HTMLAttributes<HTMLDivElement>;
53
+ /** Props forwarded to the inner content `div` (flex column wrapper) */
54
+ content?: React.HTMLAttributes<HTMLDivElement>;
55
+ };
52
56
  }
53
57
  declare const LoadingOverlay: React.FC<LoadingOverlayProps>;
54
58
  //#endregion
@@ -10,7 +10,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
10
10
  const DEFAULT_DELAY = 0;
11
11
  const FADE_DURATION = 300;
12
12
  const LoadingOverlay = (props) => {
13
- const { backdrop = true, placement = "center", loading, delay = DEFAULT_DELAY, message, scope = "container ", size = "default", className, spinnerClassName, messageClassName } = props;
13
+ const { backdrop = true, placement = "center", loading, delay = DEFAULT_DELAY, message, scope = "container ", size = "default", className, slots } = props;
14
+ const contentProps = slots?.content || {};
14
15
  const [mounted, setMounted] = useState(false);
15
16
  const [visible, setVisible] = useState(false);
16
17
  useEffect(() => {
@@ -54,20 +55,25 @@ const LoadingOverlay = (props) => {
54
55
  }[size];
55
56
  if (!mounted) return null;
56
57
  return /* @__PURE__ */ jsx("div", {
58
+ "data-slot": "loading-overlay",
57
59
  className: cn("inset-0 z-[9999] flex justify-center transition-opacity", scope === "fullscreen" ? "fixed" : "absolute", positionClass, backdrop ? "bg-black/50" : "pointer-events-none", visible ? "opacity-100" : "opacity-0", className),
58
60
  style: { transitionDuration: `${FADE_DURATION}ms` },
59
61
  role: "status",
60
62
  "aria-live": "polite",
61
63
  "aria-busy": loading,
62
64
  children: /* @__PURE__ */ jsxs("div", {
63
- className: "flex flex-col items-center gap-2",
65
+ "data-slot": "loading-overlay-content",
66
+ ...contentProps,
67
+ className: cn("flex flex-col items-center gap-2", contentProps.className),
64
68
  children: [
65
69
  /* @__PURE__ */ jsx(Loader2, {
66
- className: cn("text-foreground animate-spin", sizeClass, spinnerClassName),
70
+ "data-slot": "loading-overlay-spinner",
71
+ className: cn("text-foreground animate-spin", sizeClass, slots?.spinner?.className),
67
72
  "aria-hidden": "true"
68
73
  }),
69
74
  message != null && /* @__PURE__ */ jsx("div", {
70
- className: cn("text-foreground font-medium", messageSizeClass, messageClassName),
75
+ "data-slot": "loading-overlay-message",
76
+ className: cn("text-foreground font-medium", messageSizeClass, slots?.message?.className),
71
77
  children: message
72
78
  }),
73
79
  /* @__PURE__ */ jsx("span", {
package/dist/Rating.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime4 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types0 from "class-variance-authority/types";
5
5
 
@@ -35,7 +35,7 @@ declare function RatingButton({
35
35
  index,
36
36
  className,
37
37
  ...props
38
- }: RatingButtonProps): react_jsx_runtime4.JSX.Element;
38
+ }: RatingButtonProps): react_jsx_runtime5.JSX.Element;
39
39
  declare function Rating({
40
40
  value: valueProp,
41
41
  defaultValue,
@@ -52,6 +52,6 @@ declare function Rating({
52
52
  className,
53
53
  children,
54
54
  ...props
55
- }: React$1.PropsWithChildren<RatingProps>): react_jsx_runtime4.JSX.Element;
55
+ }: React$1.PropsWithChildren<RatingProps>): react_jsx_runtime5.JSX.Element;
56
56
  //#endregion
57
57
  export { Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps };
package/dist/Select.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Select, SelectContent } from "@pixpilot/shadcn";
2
2
  import React, { ComponentProps } from "react";
3
- import * as react_jsx_runtime6 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/Select.d.ts
6
6
  interface SelectOption {
@@ -46,6 +46,6 @@ type BaseSelectProps = {
46
46
  */
47
47
  clearable?: boolean;
48
48
  } & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
49
- declare function Select$1(props: BaseSelectProps): react_jsx_runtime6.JSX.Element;
49
+ declare function Select$1(props: BaseSelectProps): react_jsx_runtime4.JSX.Element;
50
50
  //#endregion
51
51
  export { Select$1 as Select, SelectContentProps, SelectOption };
@@ -1,10 +1,10 @@
1
1
  import { FileUploadInlineProps } from "./types.js";
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-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_runtime12.JSX.Element;
8
+ declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime11.JSX.Element;
9
9
  //#endregion
10
10
  export { FileUploadInline };
@@ -1,6 +1,6 @@
1
1
  import { InputProps } from "@pixpilot/shadcn";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime11 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime12 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_runtime11.JSX.Element;
13
+ declare function Input$1(props: InputProps$1): react_jsx_runtime12.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.js";
2
- import * as react_jsx_runtime13 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime18 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_runtime13.JSX.Element;
60
+ }: TagsInputProps): react_jsx_runtime18.JSX.Element;
61
61
  //#endregion
62
62
  export { TagsInput, TagsInputProps };
@@ -1,5 +1,5 @@
1
1
  import { ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, MouseEventHandler, Ref } from "react";
2
- import * as react_jsx_runtime14 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime17 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_runtime14.JSX.Element;
78
+ }: TagsInputInlineProps): react_jsx_runtime17.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_runtime16 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_runtime16.JSX.Element;
21
21
  declare namespace ThemeModeDropdown {
22
22
  var displayName: string;
23
23
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime17 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime14 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_runtime14.JSX.Element;
21
21
  declare namespace ThemeModeDropdown {
22
22
  var displayName: string;
23
23
  }
@@ -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
 
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_runtime16.JSX.Element;
28
+ declare function ThemeModeSwitchInside(props: ThemeModeSwitchInsideProps): react_jsx_runtime17.JSX.Element;
29
29
  declare namespace ThemeModeSwitchInside {
30
30
  var displayName: string;
31
31
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime18 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime15 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_runtime15.JSX.Element;
29
29
  declare namespace ThemeModeSwitchInside {
30
30
  var displayName: string;
31
31
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime15 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime13 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_runtime15.JSX.Element;
16
+ declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps): react_jsx_runtime13.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": "0.53.0",
4
+ "version": "0.56.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",
@@ -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": "0.9.0"
50
+ "@pixpilot/shadcn": "0.10.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@storybook/react": "^8.6.14",
@@ -62,10 +62,10 @@
62
62
  "typescript": "^5.9.3",
63
63
  "@internal/hooks": "0.0.0",
64
64
  "@internal/prettier-config": "0.0.1",
65
- "@internal/eslint-config": "0.3.0",
66
- "@internal/tsconfig": "0.1.0",
65
+ "@internal/vitest-config": "0.1.0",
67
66
  "@internal/tsdown-config": "0.1.0",
68
- "@internal/vitest-config": "0.1.0"
67
+ "@internal/eslint-config": "0.3.0",
68
+ "@internal/tsconfig": "0.1.0"
69
69
  },
70
70
  "prettier": "@internal/prettier-config",
71
71
  "scripts": {