@pixpilot/shadcn-ui 0.40.0 → 0.42.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/Select.cjs CHANGED
@@ -2,6 +2,8 @@ const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
2
2
  const require_use_select_keyboard = require('./hooks/use-select-keyboard.cjs');
3
3
  let __pixpilot_shadcn = require("@pixpilot/shadcn");
4
4
  __pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
5
+ let lucide_react = require("lucide-react");
6
+ lucide_react = require_rolldown_runtime.__toESM(lucide_react);
5
7
  let react = require("react");
6
8
  react = require_rolldown_runtime.__toESM(react);
7
9
  let react_jsx_runtime = require("react/jsx-runtime");
@@ -9,7 +11,7 @@ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
9
11
 
10
12
  //#region src/Select.tsx
11
13
  function Select(props) {
12
- const { options, value = "", onChange, placeholder, contentProps, keyboardMode = "dropdown", open: openProp, onOpenChange: onOpenChangeProp,...restProps } = props;
14
+ const { options, value = "", onChange, placeholder, contentProps, keyboardMode = "dropdown", open: openProp, onOpenChange: onOpenChangeProp, position, clearable = false,...restProps } = props;
13
15
  const [uncontrolledOpen, setUncontrolledOpen] = react.default.useState(false);
14
16
  const open = openProp ?? uncontrolledOpen;
15
17
  const handleOpenChange = (nextOpen) => {
@@ -30,11 +32,25 @@ function Select(props) {
30
32
  open,
31
33
  onOpenChange: handleOpenChange,
32
34
  ...restProps,
33
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.SelectTrigger, {
34
- className: "w-full",
35
- onKeyDown: handleTriggerKeyDown,
36
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.SelectValue, { placeholder })
35
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
36
+ className: "relative w-full",
37
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.SelectTrigger, {
38
+ className: "w-full",
39
+ onKeyDown: handleTriggerKeyDown,
40
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.SelectValue, { placeholder })
41
+ }), clearable && value !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
42
+ type: "button",
43
+ className: "absolute right-8 top-1/2 -translate-y-1/2 flex h-6 w-6 items-center justify-center rounded-sm opacity-40 hover:opacity-100 z-10",
44
+ onClick: (e) => {
45
+ e.preventDefault();
46
+ onChange?.("");
47
+ handleOpenChange(false);
48
+ },
49
+ "aria-label": "Clear selection",
50
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.XIcon, { className: "h-4 w-4" })
51
+ })]
37
52
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.SelectContent, {
53
+ position,
38
54
  ...contentProps,
39
55
  children: options?.map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.SelectItem, {
40
56
  value: String(option.value),
package/dist/Select.d.cts CHANGED
@@ -7,14 +7,45 @@ interface SelectOption {
7
7
  value: string | number;
8
8
  label: string;
9
9
  }
10
+ type SelectContentProps = React.ComponentProps<typeof SelectContent>;
10
11
  type BaseSelectProps = {
12
+ /**
13
+ * Array of options to display in the select dropdown
14
+ */
11
15
  options?: SelectOption[];
12
- contentProps?: React.ComponentProps<typeof SelectContent>;
16
+ /**
17
+ * Additional props to pass to the SelectContent component
18
+ */
19
+ contentProps?: SelectContentProps;
20
+ /**
21
+ * The currently selected value
22
+ */
13
23
  value?: string;
24
+ /**
25
+ * Callback function called when the selected value changes
26
+ */
14
27
  onChange?: (value: string) => void;
28
+ /**
29
+ * Placeholder text to display when no value is selected
30
+ */
15
31
  placeholder?: string;
32
+ /**
33
+ * Keyboard navigation mode
34
+ * - "cycle": Cycles through options with arrow keys
35
+ * - "dropdown": Opens dropdown on arrow keys
36
+ */
16
37
  keyboardMode?: 'cycle' | 'dropdown';
38
+ /**
39
+ * Controls how the dropdown is positioned
40
+ * - "item-aligned": Aligns with the trigger button
41
+ * - "popper": Uses floating-ui positioning
42
+ */
43
+ position?: SelectContentProps['position'];
44
+ /**
45
+ * Whether to show a clear button when a value is selected
46
+ */
47
+ clearable?: boolean;
17
48
  } & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
18
49
  declare function Select$1(props: BaseSelectProps): react_jsx_runtime4.JSX.Element;
19
50
  //#endregion
20
- export { Select$1 as Select, SelectOption };
51
+ export { Select$1 as Select, SelectContentProps, SelectOption };
package/dist/Select.d.ts CHANGED
@@ -7,14 +7,45 @@ interface SelectOption {
7
7
  value: string | number;
8
8
  label: string;
9
9
  }
10
+ type SelectContentProps = React.ComponentProps<typeof SelectContent>;
10
11
  type BaseSelectProps = {
12
+ /**
13
+ * Array of options to display in the select dropdown
14
+ */
11
15
  options?: SelectOption[];
12
- contentProps?: React.ComponentProps<typeof SelectContent>;
16
+ /**
17
+ * Additional props to pass to the SelectContent component
18
+ */
19
+ contentProps?: SelectContentProps;
20
+ /**
21
+ * The currently selected value
22
+ */
13
23
  value?: string;
24
+ /**
25
+ * Callback function called when the selected value changes
26
+ */
14
27
  onChange?: (value: string) => void;
28
+ /**
29
+ * Placeholder text to display when no value is selected
30
+ */
15
31
  placeholder?: string;
32
+ /**
33
+ * Keyboard navigation mode
34
+ * - "cycle": Cycles through options with arrow keys
35
+ * - "dropdown": Opens dropdown on arrow keys
36
+ */
16
37
  keyboardMode?: 'cycle' | 'dropdown';
38
+ /**
39
+ * Controls how the dropdown is positioned
40
+ * - "item-aligned": Aligns with the trigger button
41
+ * - "popper": Uses floating-ui positioning
42
+ */
43
+ position?: SelectContentProps['position'];
44
+ /**
45
+ * Whether to show a clear button when a value is selected
46
+ */
47
+ clearable?: boolean;
17
48
  } & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
18
49
  declare function Select$1(props: BaseSelectProps): react_jsx_runtime4.JSX.Element;
19
50
  //#endregion
20
- export { Select$1 as Select, SelectOption };
51
+ export { Select$1 as Select, SelectContentProps, SelectOption };
package/dist/Select.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import { useSelectKeyboard } from "./hooks/use-select-keyboard.js";
2
2
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@pixpilot/shadcn";
3
+ import { XIcon } from "lucide-react";
3
4
  import React from "react";
4
5
  import { jsx, jsxs } from "react/jsx-runtime";
5
6
 
6
7
  //#region src/Select.tsx
7
8
  function Select$1(props) {
8
- const { options, value = "", onChange, placeholder, contentProps, keyboardMode = "dropdown", open: openProp, onOpenChange: onOpenChangeProp,...restProps } = props;
9
+ const { options, value = "", onChange, placeholder, contentProps, keyboardMode = "dropdown", open: openProp, onOpenChange: onOpenChangeProp, position, clearable = false,...restProps } = props;
9
10
  const [uncontrolledOpen, setUncontrolledOpen] = React.useState(false);
10
11
  const open = openProp ?? uncontrolledOpen;
11
12
  const handleOpenChange = (nextOpen) => {
@@ -26,11 +27,25 @@ function Select$1(props) {
26
27
  open,
27
28
  onOpenChange: handleOpenChange,
28
29
  ...restProps,
29
- children: [/* @__PURE__ */ jsx(SelectTrigger, {
30
- className: "w-full",
31
- onKeyDown: handleTriggerKeyDown,
32
- children: /* @__PURE__ */ jsx(SelectValue, { placeholder })
30
+ children: [/* @__PURE__ */ jsxs("div", {
31
+ className: "relative w-full",
32
+ children: [/* @__PURE__ */ jsx(SelectTrigger, {
33
+ className: "w-full",
34
+ onKeyDown: handleTriggerKeyDown,
35
+ children: /* @__PURE__ */ jsx(SelectValue, { placeholder })
36
+ }), clearable && value !== "" && /* @__PURE__ */ jsx("button", {
37
+ type: "button",
38
+ className: "absolute right-8 top-1/2 -translate-y-1/2 flex h-6 w-6 items-center justify-center rounded-sm opacity-40 hover:opacity-100 z-10",
39
+ onClick: (e) => {
40
+ e.preventDefault();
41
+ onChange?.("");
42
+ handleOpenChange(false);
43
+ },
44
+ "aria-label": "Clear selection",
45
+ children: /* @__PURE__ */ jsx(XIcon, { className: "h-4 w-4" })
46
+ })]
33
47
  }), /* @__PURE__ */ jsx(SelectContent, {
48
+ position,
34
49
  ...contentProps,
35
50
  children: options?.map((option) => /* @__PURE__ */ jsx(SelectItem, {
36
51
  value: String(option.value),
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime7 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
3
3
  import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
4
4
 
5
5
  //#region src/dialog/Dialog.d.ts
@@ -9,14 +9,14 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<_radix_ui_re
9
9
  declare function DialogHeader({
10
10
  className,
11
11
  ...props
12
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime7.JSX.Element;
12
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime6.JSX.Element;
13
13
  declare function DialogBody({
14
14
  className,
15
15
  ...props
16
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime7.JSX.Element;
16
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime6.JSX.Element;
17
17
  declare function DialogFooter({
18
18
  className,
19
19
  ...props
20
- }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime7.JSX.Element;
20
+ }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime6.JSX.Element;
21
21
  //#endregion
22
22
  export { DialogBody, DialogContent, DialogFooter, DialogHeader };
@@ -1,7 +1,7 @@
1
1
  import { FileUploadProps } from "./types/index.js";
2
- import * as react_jsx_runtime6 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_runtime6.JSX.Element;
5
+ declare function FileUpload(props: FileUploadProps): react_jsx_runtime9.JSX.Element;
6
6
  //#endregion
7
7
  export { FileUpload };
package/dist/index.d.cts CHANGED
@@ -48,7 +48,7 @@ import "./popover/index.cjs";
48
48
  import { RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ToolbarItems } from "./rich-text-editor/RichTextEditor.cjs";
49
49
  import "./rich-text-editor/index.cjs";
50
50
  import { ScaledPreview, ScaledPreviewProps, ScaledPreviewSize } from "./ScaledPreview.cjs";
51
- import { Select, SelectOption } from "./Select.cjs";
51
+ import { Select, SelectContentProps, SelectOption } from "./Select.cjs";
52
52
  import { Slider, SliderProps } from "./slider/Slider.cjs";
53
53
  import { SliderInput, SliderInputProps } from "./slider/SliderInput.cjs";
54
54
  import { SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue } from "./slider/SliderSelect.cjs";
@@ -73,4 +73,4 @@ import { Toaster } from "./toast/ToastProvider.cjs";
73
73
  import "./toast/index.cjs";
74
74
  import { isSvgMarkupString, svgMarkupToMaskUrl } from "./utils/svg.cjs";
75
75
  import { cn } from "@pixpilot/shadcn";
76
- export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogProvider, DialogProviderProps, DialogTitle, DialogTrigger, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverTrigger, PresetColor, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, 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, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastMessage, Toaster, ToolbarItems, cn, isSvgMarkupString, showConfirmDialog, svgMarkupToMaskUrl, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
76
+ export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogProvider, DialogProviderProps, DialogTitle, DialogTrigger, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverTrigger, PresetColor, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastMessage, Toaster, ToolbarItems, cn, isSvgMarkupString, showConfirmDialog, svgMarkupToMaskUrl, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
package/dist/index.d.ts CHANGED
@@ -50,7 +50,7 @@ import "./popover/index.js";
50
50
  import { RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ToolbarItems } from "./rich-text-editor/RichTextEditor.js";
51
51
  import "./rich-text-editor/index.js";
52
52
  import { ScaledPreview, ScaledPreviewProps, ScaledPreviewSize } from "./ScaledPreview.js";
53
- import { Select, SelectOption } from "./Select.js";
53
+ import { Select, SelectContentProps, SelectOption } from "./Select.js";
54
54
  import { Slider, SliderProps } from "./slider/Slider.js";
55
55
  import { SliderInput, SliderInputProps } from "./slider/SliderInput.js";
56
56
  import { SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue } from "./slider/SliderSelect.js";
@@ -75,4 +75,4 @@ import { Toaster } from "./toast/ToastProvider.js";
75
75
  import "./toast/index.js";
76
76
  import { isSvgMarkupString, svgMarkupToMaskUrl } from "./utils/svg.js";
77
77
  import { cn } from "@pixpilot/shadcn";
78
- export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogProvider, DialogProviderProps, DialogTitle, DialogTrigger, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverTrigger, PresetColor, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, 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, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastMessage, Toaster, ToolbarItems, cn, isSvgMarkupString, showConfirmDialog, svgMarkupToMaskUrl, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
78
+ export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogProvider, DialogProviderProps, DialogTitle, DialogTrigger, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverTrigger, PresetColor, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastMessage, Toaster, ToolbarItems, cn, isSvgMarkupString, showConfirmDialog, svgMarkupToMaskUrl, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/shadcn-ui",
3
3
  "type": "module",
4
- "version": "0.40.0",
4
+ "version": "0.42.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",
@@ -60,11 +60,11 @@
60
60
  "tsdown": "^0.15.12",
61
61
  "typescript": "^5.9.3",
62
62
  "@internal/eslint-config": "0.3.0",
63
+ "@internal/hooks": "0.0.0",
63
64
  "@internal/prettier-config": "0.0.1",
64
65
  "@internal/tsconfig": "0.1.0",
65
66
  "@internal/tsdown-config": "0.1.0",
66
- "@internal/vitest-config": "0.1.0",
67
- "@internal/hooks": "0.0.0"
67
+ "@internal/vitest-config": "0.1.0"
68
68
  },
69
69
  "prettier": "@internal/prettier-config",
70
70
  "scripts": {