@pixpilot/shadcn-ui 1.19.2 → 1.19.4

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.
@@ -15,7 +15,7 @@ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
15
15
  const ColorPickerButton = (props) => {
16
16
  const { slots, formatDisplayValue, placeholder = "Pick a color", onClear, resetOptions, title,...rest } = props;
17
17
  const { isPickerOpen, onValueChange } = require_color_picker_context.useColorPickerContext();
18
- const { value, isResetValue, resetLabel, resetTooltip, resetIcon, handleClear, showClearButton } = require_use_color_picker_reset_options.useColorPickerResetOptions({
18
+ const { value, isResetValue, resetLabel, resetTooltip, resetIcon, handleClear, showClearButton, swatchColor } = require_use_color_picker_reset_options.useColorPickerResetOptions({
19
19
  resetOptions,
20
20
  onClear
21
21
  });
@@ -27,8 +27,7 @@ const ColorPickerButton = (props) => {
27
27
  if (value == null || value === "") return placeholder;
28
28
  return formatDisplayValue != null ? formatDisplayValue(value) : value;
29
29
  };
30
- const currentcolor = !isResetValue && value != null && value !== "" ? value : void 0;
31
- const swatchChildren = isResetValue ? resetIcon ?? slots?.swatch?.children : slots?.swatch?.children;
30
+ const swatchChildren = slots?.swatch?.children ?? (isResetValue ? resetIcon : void 0);
32
31
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.ColorPickerTrigger, {
33
32
  asChild: true,
34
33
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.InputGroup, {
@@ -39,7 +38,7 @@ const ColorPickerButton = (props) => {
39
38
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.InputGroupAddon, {
40
39
  align: "inline-start",
41
40
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ColorPickerSwatch.ColorPickerSwatch, {
42
- color: currentcolor,
41
+ color: swatchColor,
43
42
  ...slots?.swatch,
44
43
  children: swatchChildren
45
44
  })
@@ -10,7 +10,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
10
10
  const ColorPickerButton = (props) => {
11
11
  const { slots, formatDisplayValue, placeholder = "Pick a color", onClear, resetOptions, title,...rest } = props;
12
12
  const { isPickerOpen, onValueChange } = useColorPickerContext();
13
- const { value, isResetValue, resetLabel, resetTooltip, resetIcon, handleClear, showClearButton } = useColorPickerResetOptions({
13
+ const { value, isResetValue, resetLabel, resetTooltip, resetIcon, handleClear, showClearButton, swatchColor } = useColorPickerResetOptions({
14
14
  resetOptions,
15
15
  onClear
16
16
  });
@@ -20,8 +20,7 @@ const ColorPickerButton = (props) => {
20
20
  if (value == null || value === "") return placeholder;
21
21
  return formatDisplayValue != null ? formatDisplayValue(value) : value;
22
22
  };
23
- const currentcolor = !isResetValue && value != null && value !== "" ? value : void 0;
24
- const swatchChildren = isResetValue ? resetIcon ?? slots?.swatch?.children : slots?.swatch?.children;
23
+ const swatchChildren = slots?.swatch?.children ?? (isResetValue ? resetIcon : void 0);
25
24
  return /* @__PURE__ */ jsx(ColorPickerTrigger, {
26
25
  asChild: true,
27
26
  children: /* @__PURE__ */ jsxs(InputGroup, {
@@ -32,7 +31,7 @@ const ColorPickerButton = (props) => {
32
31
  /* @__PURE__ */ jsx(InputGroupAddon, {
33
32
  align: "inline-start",
34
33
  children: /* @__PURE__ */ jsx(ColorPickerSwatch$1, {
35
- color: currentcolor,
34
+ color: swatchColor,
36
35
  ...slots?.swatch,
37
36
  children: swatchChildren
38
37
  })
@@ -15,17 +15,16 @@ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
15
15
  const ColorPickerInput = (props) => {
16
16
  const { slots, onChange, onClear, resetOptions, placeholder, title,...rest } = props;
17
17
  const { isPickerOpen, onValueChange } = require_color_picker_context.useColorPickerContext();
18
- const { value, isResetValue, resetLabel, resetTooltip, resetIcon, handleClear, showClearButton } = require_use_color_picker_reset_options.useColorPickerResetOptions({
18
+ const { value, isResetValue, resetLabel, resetTooltip, resetIcon, handleClear, showClearButton, swatchColor } = require_use_color_picker_reset_options.useColorPickerResetOptions({
19
19
  resetOptions,
20
20
  onClear
21
21
  });
22
22
  if (process.env.NODE_ENV !== "production") {
23
23
  if (onValueChange === void 0) throw new Error("ColorPickerInput must be used within a ColorPickerRoot component");
24
24
  }
25
- const currentcolor = !isResetValue && value != null && value !== "" ? value : void 0;
26
25
  const inputValue = isResetValue ? "" : value ?? "";
27
26
  const inputPlaceholder = isResetValue ? resetLabel : placeholder;
28
- const swatchChildren = isResetValue ? resetIcon ?? slots?.swatch?.children : void 0;
27
+ const swatchChildren = slots?.swatch?.children ?? (isResetValue ? resetIcon : void 0);
29
28
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.ColorPickerTrigger, {
30
29
  asChild: true,
31
30
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.InputGroup, {
@@ -34,7 +33,7 @@ const ColorPickerInput = (props) => {
34
33
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.InputGroupAddon, {
35
34
  align: "inline-start",
36
35
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ColorPickerSwatch.ColorPickerSwatch, {
37
- color: currentcolor,
36
+ color: swatchColor,
38
37
  ...slots?.swatch,
39
38
  children: swatchChildren
40
39
  })
@@ -10,15 +10,14 @@ import { jsx, jsxs } from "react/jsx-runtime";
10
10
  const ColorPickerInput$1 = (props) => {
11
11
  const { slots, onChange, onClear, resetOptions, placeholder, title,...rest } = props;
12
12
  const { isPickerOpen, onValueChange } = useColorPickerContext();
13
- const { value, isResetValue, resetLabel, resetTooltip, resetIcon, handleClear, showClearButton } = useColorPickerResetOptions({
13
+ const { value, isResetValue, resetLabel, resetTooltip, resetIcon, handleClear, showClearButton, swatchColor } = useColorPickerResetOptions({
14
14
  resetOptions,
15
15
  onClear
16
16
  });
17
17
  if (onValueChange === void 0) throw new Error("ColorPickerInput must be used within a ColorPickerRoot component");
18
- const currentcolor = !isResetValue && value != null && value !== "" ? value : void 0;
19
18
  const inputValue = isResetValue ? "" : value ?? "";
20
19
  const inputPlaceholder = isResetValue ? resetLabel : placeholder;
21
- const swatchChildren = isResetValue ? resetIcon ?? slots?.swatch?.children : void 0;
20
+ const swatchChildren = slots?.swatch?.children ?? (isResetValue ? resetIcon : void 0);
22
21
  return /* @__PURE__ */ jsx(ColorPickerTrigger, {
23
22
  asChild: true,
24
23
  children: /* @__PURE__ */ jsxs(InputGroup, {
@@ -27,7 +26,7 @@ const ColorPickerInput$1 = (props) => {
27
26
  /* @__PURE__ */ jsx(InputGroupAddon, {
28
27
  align: "inline-start",
29
28
  children: /* @__PURE__ */ jsx(ColorPickerSwatch$1, {
30
- color: currentcolor,
29
+ color: swatchColor,
31
30
  ...slots?.swatch,
32
31
  children: swatchChildren
33
32
  })
@@ -14,6 +14,7 @@ function useColorPickerResetOptions(params) {
14
14
  const resetLabel = resetOptions?.label ?? (0, __pixpilot_string.capitalize)(resetOptions?.value ?? "");
15
15
  const resetIcon = resetOptions?.icon;
16
16
  const resetTooltip = resetOptions?.tooltip ?? (0, __pixpilot_string.capitalize)(resetLabel);
17
+ const currentcolor = !isResetValue && !(0, __pixpilot_string.isEmptyStringOrNil)(value) ? value : void 0;
17
18
  const handleReset = react.default.useCallback(() => {
18
19
  if (resetOptions != null) onValueChange(resetOptions.value);
19
20
  }, [onValueChange, resetOptions]);
@@ -26,7 +27,8 @@ function useColorPickerResetOptions(params) {
26
27
  resetTooltip,
27
28
  resetIcon,
28
29
  handleClear,
29
- showClearButton: handleClear != null && (onClear != null || isResetValue === false)
30
+ showClearButton: handleClear != null && (onClear != null || isResetValue === false),
31
+ swatchColor: isResetValue ? resetOptions?.swatchColor ?? "transparent" : currentcolor
30
32
  };
31
33
  }
32
34
 
@@ -1,6 +1,6 @@
1
1
  import { useColorPickerContext } from "../color-picker-context.js";
2
2
  import React from "react";
3
- import { capitalize } from "@pixpilot/string";
3
+ import { capitalize, isEmptyStringOrNil } from "@pixpilot/string";
4
4
 
5
5
  //#region src/ColorPickerBase/hooks/use-color-picker-reset-options.ts
6
6
  function useColorPickerResetOptions(params) {
@@ -11,6 +11,7 @@ function useColorPickerResetOptions(params) {
11
11
  const resetLabel = resetOptions?.label ?? capitalize(resetOptions?.value ?? "");
12
12
  const resetIcon = resetOptions?.icon;
13
13
  const resetTooltip = resetOptions?.tooltip ?? capitalize(resetLabel);
14
+ const currentcolor = !isResetValue && !isEmptyStringOrNil(value) ? value : void 0;
14
15
  const handleReset = React.useCallback(() => {
15
16
  if (resetOptions != null) onValueChange(resetOptions.value);
16
17
  }, [onValueChange, resetOptions]);
@@ -23,7 +24,8 @@ function useColorPickerResetOptions(params) {
23
24
  resetTooltip,
24
25
  resetIcon,
25
26
  handleClear,
26
- showClearButton: handleClear != null && (onClear != null || isResetValue === false)
27
+ showClearButton: handleClear != null && (onClear != null || isResetValue === false),
28
+ swatchColor: isResetValue ? resetOptions?.swatchColor ?? "transparent" : currentcolor
27
29
  };
28
30
  }
29
31
 
@@ -41,6 +41,7 @@ interface ColorPickerResetOptions {
41
41
  label?: string;
42
42
  icon?: ReactNode;
43
43
  tooltip?: string;
44
+ swatchColor?: string;
44
45
  }
45
46
  //#endregion
46
47
  export { ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerContentProps, ColorPickerContentWrapperProps, ColorPickerResetOptions, ColorPickerRootProps, PresetColor };
@@ -41,6 +41,7 @@ interface ColorPickerResetOptions {
41
41
  label?: string;
42
42
  icon?: ReactNode;
43
43
  tooltip?: string;
44
+ swatchColor?: string;
44
45
  }
45
46
  //#endregion
46
47
  export { ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerContentProps, ColorPickerContentWrapperProps, ColorPickerResetOptions, ColorPickerRootProps, PresetColor };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime8 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime9 from "react/jsx-runtime";
2
2
  import { DialogContent } from "@pixpilot/shadcn";
3
3
  import * as React$1 from "react";
4
4
  import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
@@ -13,14 +13,14 @@ declare const DialogContent$1: React$1.ForwardRefExoticComponent<Omit<_radix_ui_
13
13
  declare function DialogHeader({
14
14
  className,
15
15
  ...props
16
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime8.JSX.Element;
16
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime9.JSX.Element;
17
17
  declare function DialogBody({
18
18
  className,
19
19
  ...props
20
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime8.JSX.Element;
20
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime9.JSX.Element;
21
21
  declare function DialogFooter({
22
22
  className,
23
23
  ...props
24
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime8.JSX.Element;
24
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime9.JSX.Element;
25
25
  //#endregion
26
26
  export { DialogBody, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter, DialogHeader };
@@ -1,6 +1,6 @@
1
1
  import { DialogContent } from "@pixpilot/shadcn";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime9 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime10 from "react/jsx-runtime";
4
4
  import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
5
5
 
6
6
  //#region src/dialog/Dialog.d.ts
@@ -13,14 +13,14 @@ declare const DialogContent$1: React$1.ForwardRefExoticComponent<Omit<_radix_ui_
13
13
  declare function DialogHeader$1({
14
14
  className,
15
15
  ...props
16
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime9.JSX.Element;
16
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime10.JSX.Element;
17
17
  declare function DialogBody({
18
18
  className,
19
19
  ...props
20
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime9.JSX.Element;
20
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime10.JSX.Element;
21
21
  declare function DialogFooter$1({
22
22
  className,
23
23
  ...props
24
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime9.JSX.Element;
24
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime10.JSX.Element;
25
25
  //#endregion
26
26
  export { DialogBody, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter$1 as DialogFooter, DialogHeader$1 as DialogHeader };
@@ -1,7 +1,7 @@
1
1
  import { FileUploadProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime15 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload/FileUpload.d.ts
5
- declare function FileUpload(props: FileUploadProps): react_jsx_runtime15.JSX.Element;
5
+ declare function FileUpload(props: FileUploadProps): react_jsx_runtime8.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_runtime8 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime9 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/file-upload/FileUpload.d.ts
5
- declare function FileUpload(props: FileUploadProps): react_jsx_runtime8.JSX.Element;
5
+ declare function FileUpload(props: FileUploadProps): react_jsx_runtime9.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_runtime16 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime12 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_runtime16.JSX.Element;
8
+ declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime12.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_runtime12 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_runtime12.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_runtime20 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_runtime20.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_runtime13 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime8 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_runtime13.JSX.Element;
8
+ declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime8.JSX.Element;
9
9
  declare namespace FileUploadRoot {
10
10
  var displayName: string;
11
11
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime11 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime13 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_runtime11.JSX.Element;
13
+ declare function Input(props: InputProps$1): react_jsx_runtime13.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_runtime14 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime15 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_runtime14.JSX.Element;
60
+ }: TagsInputProps): react_jsx_runtime15.JSX.Element;
61
61
  //#endregion
62
62
  export { TagsInput, TagsInputProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime13 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime14 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_runtime13.JSX.Element;
78
+ }: TagsInputInlineProps): react_jsx_runtime14.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_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
  }
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime20 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime17 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_runtime17.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.19.2",
4
+ "version": "1.19.4",
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",
@@ -48,7 +48,7 @@
48
48
  "pretty-bytes": "^7.1.0",
49
49
  "react-responsive": "^10.0.1",
50
50
  "sonner": "2.0.7",
51
- "@pixpilot/shadcn": "1.2.5"
51
+ "@pixpilot/shadcn": "1.2.6"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@storybook/react": "^8.6.18",
@@ -63,10 +63,10 @@
63
63
  "tailwindcss": "^4.2.2",
64
64
  "tsdown": "^0.15.12",
65
65
  "typescript": "^5.9.3",
66
+ "@internal/eslint-config": "0.3.0",
66
67
  "@internal/hooks": "0.0.0",
67
68
  "@internal/prettier-config": "0.0.1",
68
69
  "@internal/tsconfig": "0.1.0",
69
- "@internal/eslint-config": "0.3.0",
70
70
  "@internal/tsdown-config": "0.1.0",
71
71
  "@internal/vitest-config": "0.1.0"
72
72
  },