@pixpilot/shadcn-ui 0.20.0 → 0.21.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.
@@ -15,22 +15,70 @@ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
15
15
 
16
16
  //#region src/ColorPickerBase/ColorPickerBase.tsx
17
17
  const commonColors = [
18
- "#00000000",
19
- "#000000",
20
- "#FFFFFF",
21
- "#808080",
22
- "#FF0000",
23
- "#FFA500",
24
- "#FFFF00",
25
- "#84CC16",
26
- "#22C55E",
27
- "#14B8A6",
28
- "#00FFFF",
29
- "#3B82F6",
30
- "#6366F1",
31
- "#A855F7",
32
- "#EC4899",
33
- "#A52A2A"
18
+ {
19
+ label: "Transparent",
20
+ value: "#00000000"
21
+ },
22
+ {
23
+ label: "Black",
24
+ value: "#000000"
25
+ },
26
+ {
27
+ label: "White",
28
+ value: "#FFFFFF"
29
+ },
30
+ {
31
+ label: "Gray",
32
+ value: "#808080"
33
+ },
34
+ {
35
+ label: "Red",
36
+ value: "#FF0000"
37
+ },
38
+ {
39
+ label: "Orange",
40
+ value: "#FFA500"
41
+ },
42
+ {
43
+ label: "Yellow",
44
+ value: "#FFFF00"
45
+ },
46
+ {
47
+ label: "Lime",
48
+ value: "#84CC16"
49
+ },
50
+ {
51
+ label: "Green",
52
+ value: "#22C55E"
53
+ },
54
+ {
55
+ label: "Teal",
56
+ value: "#14B8A6"
57
+ },
58
+ {
59
+ label: "Cyan",
60
+ value: "#00FFFF"
61
+ },
62
+ {
63
+ label: "Blue",
64
+ value: "#3B82F6"
65
+ },
66
+ {
67
+ label: "Indigo",
68
+ value: "#6366F1"
69
+ },
70
+ {
71
+ label: "Purple",
72
+ value: "#A855F7"
73
+ },
74
+ {
75
+ label: "Pink",
76
+ value: "#EC4899"
77
+ },
78
+ {
79
+ label: "Brown",
80
+ value: "#A52A2A"
81
+ }
34
82
  ];
35
83
  const DEFAULT_COLOR = "#000000";
36
84
  const ColorPickerBase = (props) => {
@@ -11,22 +11,70 @@ import { jsx, jsxs } from "react/jsx-runtime";
11
11
 
12
12
  //#region src/ColorPickerBase/ColorPickerBase.tsx
13
13
  const commonColors = [
14
- "#00000000",
15
- "#000000",
16
- "#FFFFFF",
17
- "#808080",
18
- "#FF0000",
19
- "#FFA500",
20
- "#FFFF00",
21
- "#84CC16",
22
- "#22C55E",
23
- "#14B8A6",
24
- "#00FFFF",
25
- "#3B82F6",
26
- "#6366F1",
27
- "#A855F7",
28
- "#EC4899",
29
- "#A52A2A"
14
+ {
15
+ label: "Transparent",
16
+ value: "#00000000"
17
+ },
18
+ {
19
+ label: "Black",
20
+ value: "#000000"
21
+ },
22
+ {
23
+ label: "White",
24
+ value: "#FFFFFF"
25
+ },
26
+ {
27
+ label: "Gray",
28
+ value: "#808080"
29
+ },
30
+ {
31
+ label: "Red",
32
+ value: "#FF0000"
33
+ },
34
+ {
35
+ label: "Orange",
36
+ value: "#FFA500"
37
+ },
38
+ {
39
+ label: "Yellow",
40
+ value: "#FFFF00"
41
+ },
42
+ {
43
+ label: "Lime",
44
+ value: "#84CC16"
45
+ },
46
+ {
47
+ label: "Green",
48
+ value: "#22C55E"
49
+ },
50
+ {
51
+ label: "Teal",
52
+ value: "#14B8A6"
53
+ },
54
+ {
55
+ label: "Cyan",
56
+ value: "#00FFFF"
57
+ },
58
+ {
59
+ label: "Blue",
60
+ value: "#3B82F6"
61
+ },
62
+ {
63
+ label: "Indigo",
64
+ value: "#6366F1"
65
+ },
66
+ {
67
+ label: "Purple",
68
+ value: "#A855F7"
69
+ },
70
+ {
71
+ label: "Pink",
72
+ value: "#EC4899"
73
+ },
74
+ {
75
+ label: "Brown",
76
+ value: "#A52A2A"
77
+ }
30
78
  ];
31
79
  const DEFAULT_COLOR = "#000000";
32
80
  const ColorPickerBase = (props) => {
@@ -31,7 +31,7 @@ const ColorPickerCompact = react.default.memo((props) => {
31
31
  children: [presetColors.map((color) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PaletteSwatch.PaletteSwatch, {
32
32
  color,
33
33
  onSelect: onValueChange
34
- }, color)), layout === "compact" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PaletteButton.PaletteButton, {
34
+ }, color.value)), layout === "compact" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PaletteButton.PaletteButton, {
35
35
  onClick: () => setShowFullPicker(!showFullPicker),
36
36
  "aria-label": "Toggle full color picker",
37
37
  className: "flex items-center justify-center border-input bg-input hover:bg-accent hover:text-accent-foreground",
@@ -26,7 +26,7 @@ const ColorPickerCompact = React.memo((props) => {
26
26
  children: [presetColors.map((color) => /* @__PURE__ */ jsx(PaletteSwatch, {
27
27
  color,
28
28
  onSelect: onValueChange
29
- }, color)), layout === "compact" && /* @__PURE__ */ jsx(PaletteButton, {
29
+ }, color.value)), layout === "compact" && /* @__PURE__ */ jsx(PaletteButton, {
30
30
  onClick: () => setShowFullPicker(!showFullPicker),
31
31
  "aria-label": "Toggle full color picker",
32
32
  className: "flex items-center justify-center border-input bg-input hover:bg-accent hover:text-accent-foreground",
@@ -25,7 +25,7 @@ const ColorPickerFull = react.default.memo((props) => {
25
25
  children: presetColors.map((color) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PaletteSwatch.PaletteSwatch, {
26
26
  color,
27
27
  onSelect: onValueChange
28
- }, color))
28
+ }, color.value))
29
29
  }),
30
30
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
31
31
  className: "flex items-center gap-2 w-full",
@@ -21,7 +21,7 @@ const ColorPickerFull = React.memo((props) => {
21
21
  children: presetColors.map((color) => /* @__PURE__ */ jsx(PaletteSwatch, {
22
22
  color,
23
23
  onSelect: onValueChange
24
- }, color))
24
+ }, color.value))
25
25
  }),
26
26
  /* @__PURE__ */ jsxs("div", {
27
27
  className: "flex items-center gap-2 w-full",
@@ -1,5 +1,7 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
2
  const require_PaletteButton = require('./PaletteButton.cjs');
3
+ let __pixpilot_shadcn = require("@pixpilot/shadcn");
4
+ __pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
3
5
  let react = require("react");
4
6
  react = require_rolldown_runtime.__toESM(react);
5
7
  let react_jsx_runtime = require("react/jsx-runtime");
@@ -7,17 +9,27 @@ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
7
9
 
8
10
  //#region src/ColorPickerBase/PaletteSwatch.tsx
9
11
  const PaletteSwatch = ({ color, onSelect, className }) => {
12
+ const colorValue = color?.value ?? "rgb(0,0,0,0)";
13
+ const colorLabel = color?.label;
10
14
  const handleClick = (0, react.useCallback)(() => {
11
- if (onSelect) onSelect(color ?? "rgb(0,0,0,0)");
12
- }, [color, onSelect]);
13
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PaletteButton.PaletteButton, {
15
+ if (onSelect) onSelect(colorValue);
16
+ }, [colorValue, onSelect]);
17
+ const button = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_PaletteButton.PaletteButton, {
14
18
  style: {
15
- backgroundImage: `linear-gradient(${color}, ${color}), repeating-conic-gradient(#ccc 0% 25%, #fff 0% 50%)`,
19
+ backgroundImage: `linear-gradient(${colorValue}, ${colorValue}), repeating-conic-gradient(#ccc 0% 25%, #fff 0% 50%)`,
16
20
  backgroundSize: "auto, 8px 8px"
17
21
  },
18
22
  className,
19
23
  onClick: handleClick
20
24
  });
25
+ if (colorLabel === null || colorLabel === void 0 || colorLabel === "") return button;
26
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.Tooltip, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.TooltipTrigger, {
27
+ asChild: true,
28
+ children: button
29
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.TooltipContent, {
30
+ side: "top",
31
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: colorLabel })
32
+ })] });
21
33
  };
22
34
 
23
35
  //#endregion
@@ -1,20 +1,31 @@
1
1
  import { PaletteButton } from "./PaletteButton.js";
2
+ import { Tooltip, TooltipContent, TooltipTrigger } from "@pixpilot/shadcn";
2
3
  import { useCallback } from "react";
3
- import { jsx } from "react/jsx-runtime";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
4
5
 
5
6
  //#region src/ColorPickerBase/PaletteSwatch.tsx
6
7
  const PaletteSwatch = ({ color, onSelect, className }) => {
8
+ const colorValue = color?.value ?? "rgb(0,0,0,0)";
9
+ const colorLabel = color?.label;
7
10
  const handleClick = useCallback(() => {
8
- if (onSelect) onSelect(color ?? "rgb(0,0,0,0)");
9
- }, [color, onSelect]);
10
- return /* @__PURE__ */ jsx(PaletteButton, {
11
+ if (onSelect) onSelect(colorValue);
12
+ }, [colorValue, onSelect]);
13
+ const button = /* @__PURE__ */ jsx(PaletteButton, {
11
14
  style: {
12
- backgroundImage: `linear-gradient(${color}, ${color}), repeating-conic-gradient(#ccc 0% 25%, #fff 0% 50%)`,
15
+ backgroundImage: `linear-gradient(${colorValue}, ${colorValue}), repeating-conic-gradient(#ccc 0% 25%, #fff 0% 50%)`,
13
16
  backgroundSize: "auto, 8px 8px"
14
17
  },
15
18
  className,
16
19
  onClick: handleClick
17
20
  });
21
+ if (colorLabel === null || colorLabel === void 0 || colorLabel === "") return button;
22
+ return /* @__PURE__ */ jsxs(Tooltip, { children: [/* @__PURE__ */ jsx(TooltipTrigger, {
23
+ asChild: true,
24
+ children: button
25
+ }), /* @__PURE__ */ jsx(TooltipContent, {
26
+ side: "top",
27
+ children: /* @__PURE__ */ jsx("p", { children: colorLabel })
28
+ })] });
18
29
  };
19
30
 
20
31
  //#endregion
@@ -1,2 +1,2 @@
1
- import { ColorPickerBaseProps } from "./types.js";
1
+ import { ColorPickerBaseProps, PresetColor } from "./types.js";
2
2
  import { ColorPickerBase } from "./ColorPickerBase.js";
@@ -1,10 +1,14 @@
1
1
  import { ColorPickerProps } from "@pixpilot/shadcn";
2
2
 
3
3
  //#region src/ColorPickerBase/types.d.ts
4
+ interface PresetColor {
5
+ label: string;
6
+ value: string;
7
+ }
4
8
  interface ColorPickerBaseProps extends Omit<ColorPickerProps, 'onChange' | 'children'> {
5
9
  value?: string;
6
10
  onChange?: (value: string) => void;
7
- presetColors?: string[];
11
+ presetColors?: PresetColor[];
8
12
  layout?: 'full' | 'compact';
9
13
  children: (props: {
10
14
  value?: string;
@@ -13,4 +17,4 @@ interface ColorPickerBaseProps extends Omit<ColorPickerProps, 'onChange' | 'chil
13
17
  }) => React.ReactNode;
14
18
  }
15
19
  //#endregion
16
- export { ColorPickerBaseProps };
20
+ export { ColorPickerBaseProps, PresetColor };
@@ -1,10 +1,14 @@
1
1
  import { ColorPickerProps } from "@pixpilot/shadcn";
2
2
 
3
3
  //#region src/ColorPickerBase/types.d.ts
4
+ interface PresetColor {
5
+ label: string;
6
+ value: string;
7
+ }
4
8
  interface ColorPickerBaseProps extends Omit<ColorPickerProps, 'onChange' | 'children'> {
5
9
  value?: string;
6
10
  onChange?: (value: string) => void;
7
- presetColors?: string[];
11
+ presetColors?: PresetColor[];
8
12
  layout?: 'full' | 'compact';
9
13
  children: (props: {
10
14
  value?: string;
@@ -13,4 +17,4 @@ interface ColorPickerBaseProps extends Omit<ColorPickerProps, 'onChange' | 'chil
13
17
  }) => React.ReactNode;
14
18
  }
15
19
  //#endregion
16
- export { ColorPickerBaseProps };
20
+ export { ColorPickerBaseProps, PresetColor };
@@ -1,7 +1,7 @@
1
1
  import { FileUploadProps } from "./types/index.cjs";
2
- import * as react_jsx_runtime7 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_runtime7.JSX.Element;
5
+ declare function FileUpload(props: FileUploadProps): react_jsx_runtime9.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_runtime7 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_runtime7.JSX.Element;
5
+ declare function FileUpload(props: FileUploadProps): react_jsx_runtime8.JSX.Element;
6
6
  //#endregion
7
7
  export { FileUpload };
@@ -1,10 +1,10 @@
1
1
  import { FileUploadInlineProps } from "./types.js";
2
- import * as react_jsx_runtime8 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime7 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_runtime8.JSX.Element;
8
+ declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime7.JSX.Element;
9
9
  //#endregion
10
10
  export { FileUploadInline };
package/dist/index.d.cts CHANGED
@@ -10,7 +10,7 @@ import { CircleLoader, CircleLoaderProps } from "./circle-loader/circle-loader.c
10
10
  import "./circle-loader/index.cjs";
11
11
  import { CloseButtonRounded, CloseButtonRoundedProps } from "./CloseButtonRounded.cjs";
12
12
  import { CloseButtonAbsolute, PopoverCloseButtonProps } from "./CloseButtonAbsolute.cjs";
13
- import { ColorPickerBaseProps } from "./ColorPickerBase/types.cjs";
13
+ import { ColorPickerBaseProps, PresetColor } from "./ColorPickerBase/types.cjs";
14
14
  import { ColorPickerBase } from "./ColorPickerBase/ColorPickerBase.cjs";
15
15
  import { ColorPicker, ColorPickerProps } from "./ColorPicker/ColorPicker.cjs";
16
16
  import { BaseColorSelectProps, ColorSelect, ColorSelectOption } from "./ColorSelect.cjs";
@@ -62,4 +62,4 @@ import { ThemeToggle } from "./ThemeToggle.cjs";
62
62
  import { DEFAULT_ALERT_DURATION, ToastMessage, toast, toastError, toastInfo, toastSuccess, toastWarning } from "./toast/toast.cjs";
63
63
  import "./toast/index.cjs";
64
64
  import { cn } from "@pixpilot/shadcn";
65
- export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, DialogProvider, DialogProviderProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, PopoverCloseButtonProps, RichTextEditor, RichTextEditorProps, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectOption, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputProps, ThemeProvider, ThemeProviderProps, ThemeToggle, ToastMessage, ToolbarOption, cn, showConfirmDialog, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
65
+ export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, DialogProvider, DialogProviderProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, PopoverCloseButtonProps, PresetColor, RichTextEditor, RichTextEditorProps, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectOption, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputProps, ThemeProvider, ThemeProviderProps, ThemeToggle, ToastMessage, ToolbarOption, cn, showConfirmDialog, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import { CircleLoader, CircleLoaderProps } from "./circle-loader/circle-loader.j
10
10
  import "./circle-loader/index.js";
11
11
  import { CloseButtonRounded, CloseButtonRoundedProps } from "./CloseButtonRounded.js";
12
12
  import { CloseButtonAbsolute, PopoverCloseButtonProps } from "./CloseButtonAbsolute.js";
13
- import { ColorPickerBaseProps } from "./ColorPickerBase/types.js";
13
+ import { ColorPickerBaseProps, PresetColor } from "./ColorPickerBase/types.js";
14
14
  import { ColorPickerBase } from "./ColorPickerBase/ColorPickerBase.js";
15
15
  import "./ColorPickerBase/index.js";
16
16
  import { ColorPicker, ColorPickerProps } from "./ColorPicker/ColorPicker.js";
@@ -64,4 +64,4 @@ import { ThemeToggle } from "./ThemeToggle.js";
64
64
  import { DEFAULT_ALERT_DURATION, ToastMessage, toast, toastError, toastInfo, toastSuccess, toastWarning } from "./toast/toast.js";
65
65
  import "./toast/index.js";
66
66
  import { cn } from "@pixpilot/shadcn";
67
- export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, DialogProvider, DialogProviderProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, PopoverCloseButtonProps, RichTextEditor, RichTextEditorProps, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectOption, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputProps, ThemeProvider, ThemeProviderProps, ThemeToggle, ToastMessage, ToolbarOption, cn, showConfirmDialog, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
67
+ export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, DialogProvider, DialogProviderProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, PopoverCloseButtonProps, PresetColor, RichTextEditor, RichTextEditorProps, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectOption, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputProps, ThemeProvider, ThemeProviderProps, ThemeToggle, ToastMessage, ToolbarOption, cn, showConfirmDialog, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime9 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime7 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_runtime9.JSX.Element;
13
+ declare function Input(props: InputProps$1): react_jsx_runtime7.JSX.Element;
14
14
  //#endregion
15
15
  export { Input, InputProps$1 as InputProps };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/shadcn-ui",
3
3
  "type": "module",
4
- "version": "0.20.0",
4
+ "version": "0.21.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",
@@ -58,9 +58,9 @@
58
58
  "tsdown": "^0.15.12",
59
59
  "typescript": "^5.9.3",
60
60
  "@internal/eslint-config": "0.3.0",
61
- "@internal/hooks": "0.0.0",
62
61
  "@internal/prettier-config": "0.0.1",
63
62
  "@internal/tsconfig": "0.1.0",
63
+ "@internal/hooks": "0.0.0",
64
64
  "@internal/tsdown-config": "0.1.0",
65
65
  "@internal/vitest-config": "0.1.0"
66
66
  },