docthub-core-components 2.3.0 → 2.3.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.
Files changed (62) hide show
  1. package/dist/docthub-core-components.css +1 -1
  2. package/dist/index.esm.js +3493 -16644
  3. package/dist/registry/@docthub/alert.json +1 -1
  4. package/dist/registry/@docthub/auto-complete-component.test.json +2 -5
  5. package/dist/registry/@docthub/avatar.json +3 -3
  6. package/dist/registry/@docthub/badge.json +1 -1
  7. package/dist/registry/@docthub/button.json +3 -3
  8. package/dist/registry/@docthub/button.test.json +2 -5
  9. package/dist/registry/@docthub/calendar.json +2 -2
  10. package/dist/registry/@docthub/checkbox.json +3 -3
  11. package/dist/registry/@docthub/command.json +3 -3
  12. package/dist/registry/@docthub/dialog.json +1 -1
  13. package/dist/registry/@docthub/drawer.json +1 -1
  14. package/dist/registry/@docthub/dropdown-menu.json +3 -3
  15. package/dist/registry/@docthub/index.json +105 -105
  16. package/dist/registry/@docthub/input.json +1 -1
  17. package/dist/registry/@docthub/label.json +3 -3
  18. package/dist/registry/@docthub/popover.json +3 -3
  19. package/dist/registry/@docthub/progress.json +3 -3
  20. package/dist/registry/@docthub/radio-group.json +3 -3
  21. package/dist/registry/@docthub/select.json +3 -3
  22. package/dist/registry/@docthub/skeleton.json +1 -1
  23. package/dist/registry/@docthub/tabs.json +3 -3
  24. package/dist/registry/@docthub/textarea.json +1 -1
  25. package/dist/registry/@docthub/toast.json +1 -1
  26. package/dist/registry/@docthub/toast.test.json +2 -4
  27. package/dist/registry/@docthub/tooltip.json +3 -3
  28. package/dist/registry/@docthub/typography.json +2 -2
  29. package/dist/registry/@docthub/typography.test.json +2 -5
  30. package/dist/src/components/overrides/ui/auto-complete.d.ts +5 -1
  31. package/dist/src/components/overrides/ui/autocomplete-checkbox.d.ts +44 -0
  32. package/dist/src/components/overrides/ui/chips/doct-chip.d.ts +10 -4
  33. package/dist/src/components/overrides/ui/expandable-card.d.ts +6 -1
  34. package/dist/src/components/overrides/ui/inputs/labeled-input.d.ts +8 -3
  35. package/dist/src/components/overrides/ui/inputs/otp-input.d.ts +4 -0
  36. package/dist/src/components/overrides/ui/inputs/password-input.d.ts +6 -2
  37. package/dist/src/components/overrides/ui/pickers/date-picker-field.d.ts +9 -9
  38. package/dist/src/components/overrides/ui/pickers/select-field.d.ts +13 -4
  39. package/dist/src/components/ui/alert.d.ts +14 -3
  40. package/dist/src/components/ui/avatar.d.ts +8 -2
  41. package/dist/src/components/ui/breadcrumb.d.ts +19 -0
  42. package/dist/src/components/ui/button.d.ts +1 -1
  43. package/dist/src/components/ui/checkbox.d.ts +1 -1
  44. package/dist/src/components/ui/dialog.d.ts +18 -0
  45. package/dist/src/components/ui/dropdown-menu.d.ts +1 -1
  46. package/dist/src/components/ui/input.d.ts +5 -1
  47. package/dist/src/components/ui/label.d.ts +1 -1
  48. package/dist/src/components/ui/popover.d.ts +1 -1
  49. package/dist/src/components/ui/progress.d.ts +20 -2
  50. package/dist/src/components/ui/radio-group.d.ts +1 -1
  51. package/dist/src/components/ui/select.d.ts +1 -1
  52. package/dist/src/components/ui/skeleton.d.ts +14 -1
  53. package/dist/src/components/ui/tabs.d.ts +8 -3
  54. package/dist/src/components/ui/textarea.d.ts +5 -0
  55. package/dist/src/components/ui/timeline.d.ts +41 -0
  56. package/dist/src/components/ui/tooltip.d.ts +6 -2
  57. package/dist/src/components/ui/typography.d.ts +3 -1
  58. package/dist/src/hooks/useAutocompleteCheckbox.d.ts +55 -0
  59. package/dist/src/index.d.ts +7 -1
  60. package/package.json +89 -26
  61. package/dist/index.cjs.js +0 -225
  62. package/dist/src/components/overrides/ui/pickers/manual-date-picker-field.d.ts +0 -20
@@ -1,5 +1,5 @@
1
- import { Select as SelectPrimitive } from 'radix-ui';
2
1
  import * as React from "react";
2
+ import * as SelectPrimitive from "@radix-ui/react-select";
3
3
  declare const Select: React.FC<SelectPrimitive.SelectProps>;
4
4
  declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
5
5
  declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
@@ -1,2 +1,15 @@
1
- declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
1
+ import * as React from "react";
2
+ type SkeletonVariant = "text" | "circular" | "rectangular" | "rounded";
3
+ type SkeletonAnimation = "pulse" | "wave" | "none";
4
+ export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ /** Shape variant */
6
+ variant?: SkeletonVariant;
7
+ /** Animation type */
8
+ animation?: SkeletonAnimation | false;
9
+ /** Width (CSS value or number for pixels) */
10
+ width?: number | string;
11
+ /** Height (CSS value or number for pixels) */
12
+ height?: number | string;
13
+ }
14
+ declare function Skeleton({ className, variant, animation, width, height, style, ...props }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
2
15
  export { Skeleton };
@@ -1,7 +1,12 @@
1
- import { Tabs as TabsPrimitive } from 'radix-ui';
2
1
  import * as React from "react";
2
+ import * as TabsPrimitive from "@radix-ui/react-tabs";
3
3
  declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
4
- declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
- declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
5
+ variant?: "default" | "custom";
6
+ } & React.RefAttributes<HTMLDivElement>>;
7
+ declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
8
+ variant?: "default" | "custom";
9
+ showSeparator?: boolean;
10
+ } & React.RefAttributes<HTMLButtonElement>>;
6
11
  declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
12
  export { Tabs, TabsList, TabsTrigger, TabsContent };
@@ -3,7 +3,12 @@ export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextArea
3
3
  label?: string;
4
4
  helperText?: string;
5
5
  errorText?: string;
6
+ error?: string;
6
7
  required?: boolean;
8
+ resize?: "none" | "vertical" | "horizontal" | "both";
9
+ showCharCount?: boolean;
10
+ characterLimit?: number;
11
+ onValueChange?: (value: string) => void;
7
12
  }
8
13
  declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
9
14
  export { Textarea };
@@ -0,0 +1,41 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ export interface TimelineItem {
4
+ id: string;
5
+ title: string;
6
+ subtitle?: string;
7
+ date?: string;
8
+ status?: "completed" | "pending" | "current";
9
+ description?: string;
10
+ }
11
+ declare const lineClasses: (props?: ({
12
+ thickness?: "normal" | "thick" | "thin" | null | undefined;
13
+ inset?: "none" | "sm" | "md" | "lg" | null | undefined;
14
+ offset?: "sm" | "md" | "lg" | null | undefined;
15
+ color?: "primary" | "gray" | "teal" | null | undefined;
16
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
17
+ declare const dotClasses: (props?: ({
18
+ size?: "sm" | "md" | "lg" | null | undefined;
19
+ offset?: "sm" | "md" | "lg" | null | undefined;
20
+ color?: "primary" | "gray" | "teal" | null | undefined;
21
+ y?: "base" | null | undefined;
22
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
23
+ declare const itemsGapClasses: (props?: ({
24
+ density?: "compact" | "comfortable" | "card" | null | undefined;
25
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
26
+ declare const indentClasses: (props?: ({
27
+ indent?: "sm" | "md" | "lg" | null | undefined;
28
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
29
+ export interface TimelineProps extends VariantProps<typeof lineClasses>, VariantProps<typeof dotClasses>, VariantProps<typeof itemsGapClasses>, VariantProps<typeof indentClasses> {
30
+ items: TimelineItem[];
31
+ title?: string;
32
+ className?: string;
33
+ showStatus?: boolean;
34
+ variant?: "default" | "minimal" | "card";
35
+ /** Convenience alias: sets both line and dot color. */
36
+ color?: "teal" | "gray" | "primary";
37
+ /** Content indent relative to the dot/line. */
38
+ indent?: "sm" | "md" | "lg";
39
+ }
40
+ declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLDivElement>>;
41
+ export { Timeline };
@@ -1,7 +1,11 @@
1
- import { Tooltip as TooltipPrimitive } from 'radix-ui';
2
1
  import * as React from "react";
2
+ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
3
3
  declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
4
4
  declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
5
5
  declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
- declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ export interface TooltipContentProps extends React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> {
7
+ /** Whether to show the arrow pointer */
8
+ showArrow?: boolean;
9
+ }
10
+ declare const TooltipContent: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;
7
11
  export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -1,11 +1,13 @@
1
1
  import { default as React } from 'react';
2
- export interface DoctTypographyProps {
2
+ export interface DoctTypographyProps extends React.HTMLAttributes<HTMLElement> {
3
3
  variant: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "h7" | "h8" | "title1" | "title2" | "title3" | "title4" | "body1" | "body2" | "body3" | "body4" | "textLabel1" | "textLabel2" | "textLabel3" | "textLabel4";
4
4
  weight?: "regular" | "medium" | "semiBold" | "bold" | "extraBold" | "light";
5
5
  children: React.ReactNode;
6
6
  color?: string;
7
7
  align?: "inherit" | "left" | "center" | "right" | "justify";
8
8
  className?: string;
9
+ /** HTML element to render as */
10
+ as?: React.ElementType;
9
11
  }
10
12
  declare const DoctTypography: React.FC<DoctTypographyProps>;
11
13
  export { DoctTypography };
@@ -0,0 +1,55 @@
1
+ export interface UseAutocompleteCheckboxOptions<T> {
2
+ options: T[];
3
+ value?: T[];
4
+ onChange?: (event: React.SyntheticEvent | null, value: T[]) => void;
5
+ onInputChange?: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
6
+ disabled?: boolean;
7
+ disableCloseOnSelect?: boolean;
8
+ freeSolo?: T extends string ? boolean : never;
9
+ getOptionLabel?: (option: T) => string;
10
+ getOptionValue?: (option: T) => string | T;
11
+ isOptionEqualToValue?: (option: T, value: T) => boolean;
12
+ filterOptions?: (options: T[], state: {
13
+ inputValue: string;
14
+ }) => T[];
15
+ fields?: {
16
+ value: string | number;
17
+ text: string;
18
+ };
19
+ }
20
+ export interface UseAutocompleteCheckboxReturn<T> {
21
+ open: boolean;
22
+ inputValue: string;
23
+ highlightedIndex: number;
24
+ filteredOptions: T[];
25
+ selectedOptions: T[];
26
+ dropdownPosition: {
27
+ top: number;
28
+ left: number;
29
+ width: number;
30
+ };
31
+ inputRef: React.RefObject<HTMLInputElement | null>;
32
+ listRef: React.RefObject<HTMLDivElement | null>;
33
+ containerRef: React.RefObject<HTMLDivElement | null>;
34
+ setOpen: (open: boolean) => void;
35
+ setInputValue: (value: string) => void;
36
+ setHighlightedIndex: (index: number) => void;
37
+ handleInputChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
38
+ handleOptionSelect: (option: T) => void;
39
+ handleTagRemove: (tag: T) => void;
40
+ handleClear: (event: React.MouseEvent<HTMLButtonElement>) => void;
41
+ handleClearAll: () => void;
42
+ handleKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
43
+ handleToggle: () => void;
44
+ handleFocus: () => void;
45
+ updateDropdownPosition: () => void;
46
+ isOptionSelected: (option: T) => boolean;
47
+ getOptionLabelSafe: (option: T) => string;
48
+ memoizedIsOptionEqualToValue: (option: T, value: T) => boolean;
49
+ }
50
+ export type OptionType = string | {
51
+ label: string;
52
+ value: string;
53
+ } | Record<string, unknown>;
54
+ export declare function useAutocompleteCheckbox<T extends OptionType>({ options, value, onChange, onInputChange, disabled, disableCloseOnSelect, freeSolo, getOptionLabel, getOptionValue, isOptionEqualToValue, filterOptions, fields, }: UseAutocompleteCheckboxOptions<T>): UseAutocompleteCheckboxReturn<T>;
55
+ export default useAutocompleteCheckbox;
@@ -7,7 +7,6 @@ export { OtpInput as DoctOtpInput } from './components/overrides/ui/inputs/otp-i
7
7
  export { PasswordInput as DoctPasswordInput } from './components/overrides/ui/inputs/password-input';
8
8
  export { Textarea as DoctTextareaField } from './components/ui/textarea';
9
9
  export { DatePickerField as DoctDatePickerField } from './components/overrides/ui/pickers/date-picker-field';
10
- export { ManualDatePickerField as DoctManualDatePickerField } from './components/overrides/ui/pickers/manual-date-picker-field';
11
10
  export { SelectField as DoctSelectField } from './components/overrides/ui/pickers/select-field';
12
11
  export { Chip as DoctChip } from './components/overrides/ui/chips/doct-chip';
13
12
  export { AddressFormSection as DoctAddressFormSection } from './components/overrides/ui/composed/address-form-section';
@@ -19,16 +18,23 @@ export { SearchInput as DoctSearchInput } from './components/overrides/ui/search
19
18
  export { CurrencyInput as DoctCurrencyInput } from './components/overrides/ui/currencyInput/currency-input';
20
19
  export { ComponentVariant, ComponentSection as DoctComponentSection, } from './components/overrides/ui/showcase/component-section';
21
20
  export { DoctAutocomplete } from './components/overrides/ui/auto-complete';
21
+ export { AutocompleteCheckbox as DoctAutocompleteCheckbox } from './components/overrides/ui/autocomplete-checkbox';
22
+ export { useAutocompleteCheckbox } from './hooks/useAutocompleteCheckbox';
22
23
  export { ExpandableCard as DoctExpandableCard } from './components/overrides/ui/expandable-card';
23
24
  export { Alert as DoctAlert, AlertDescription as DoctAlertDescription, AlertTitle as DoctAlertTitle, } from './components/ui/alert';
24
25
  export { Avatar as DoctAvatar, AvatarFallback as DoctAvatarFallback, AvatarImage as DoctAvatarImage, } from './components/ui/avatar';
25
26
  export { Checkbox as DoctCheckbox } from './components/ui/checkbox';
27
+ export { Command as DoctCommand, CommandDialog as DoctCommandDialog, CommandInput as DoctCommandInput, CommandList as DoctCommandList, CommandEmpty as DoctCommandEmpty, CommandGroup as DoctCommandGroup, CommandItem as DoctCommandItem, CommandShortcut as DoctCommandShortcut, CommandSeparator as DoctCommandSeparator, } from './components/ui/command';
26
28
  export { Dialog as DoctDialog, DialogClose as DoctDialogClose, DialogContent as DoctDialogContent, DialogDescription as DoctDialogDescription, DialogFooter as DoctDialogFooter, DialogHeader as DoctDialogHeader, DialogTitle as DoctDialogTitle, DialogTrigger as DoctDialogTrigger, } from './components/ui/dialog';
27
29
  export { Drawer as DoctDrawer, DrawerClose as DoctDrawerClose, DrawerContent as DoctDrawerContent, DrawerDescription as DoctDrawerDescription, DrawerFooter as DoctDrawerFooter, DrawerHeader as DoctDrawerHeader, DrawerTitle as DoctDrawerTitle, DrawerTrigger as DoctDrawerTrigger, } from './components/ui/drawer';
28
30
  export { DropdownMenu as DoctDropdownMenu, DropdownMenuCheckboxItem as DoctDropdownMenuCheckboxItem, DropdownMenuContent as DoctDropdownMenuContent, DropdownMenuGroup as DoctDropdownMenuGroup, DropdownMenuItem as DoctDropdownMenuItem, DropdownMenuLabel as DoctDropdownMenuLabel, DropdownMenuRadioGroup as DoctDropdownMenuRadioGroup, DropdownMenuRadioItem as DoctDropdownMenuRadioItem, DropdownMenuSeparator as DoctDropdownMenuSeparator, DropdownMenuShortcut as DoctDropdownMenuShortcut, DropdownMenuSub as DoctDropdownMenuSub, DropdownMenuSubContent as DoctDropdownMenuSubContent, DropdownMenuSubTrigger as DoctDropdownMenuSubTrigger, DropdownMenuTrigger as DoctDropdownMenuTrigger, } from './components/ui/dropdown-menu';
29
31
  export { Popover as DoctPopover, PopoverContent as DoctPopoverContent, PopoverTrigger as DoctPopoverTrigger, } from './components/ui/popover';
30
32
  export { RadioGroup as DoctRadioGroup, RadioGroupItem as DoctRadioGroupItem, } from './components/ui/radio-group';
31
33
  export { Tabs as DoctTabs, TabsContent as DoctTabsContent, TabsList as DoctTabsList, TabsTrigger as DoctTabsTrigger, } from './components/ui/tabs';
34
+ export { Tabs as DoctCustomTabs, TabsList as DoctCustomTabsList, TabsTrigger as DoctCustomTabsTrigger, TabsContent as DoctCustomTabsContent, } from './components/ui/tabs';
32
35
  export { Progress as DoctProgress } from './components/ui/progress';
36
+ export { Skeleton as DoctSkeleton } from './components/ui/skeleton';
33
37
  export { Toaster as DoctToaster, toast as doctToast, } from './components/ui/toast';
34
38
  export { Tooltip as DoctTooltip, TooltipContent as DoctTooltipContent, TooltipProvider as DoctTooltipProvider, TooltipTrigger as DoctTooltipTrigger, } from './components/ui/tooltip';
39
+ export { Breadcrumb as DoctBreadcrumb, BreadcrumbList as DoctBreadcrumbList, BreadcrumbItem as DoctBreadcrumbItem, BreadcrumbLink as DoctBreadcrumbLink, BreadcrumbPage as DoctBreadcrumbPage, BreadcrumbSeparator as DoctBreadcrumbSeparator, BreadcrumbEllipsis as DoctBreadcrumbEllipsis, } from './components/ui/breadcrumb';
40
+ export { Timeline as DoctTimeline, type TimelineItem, } from './components/ui/timeline';
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "docthub-core-components",
3
- "version": "2.3.0",
3
+ "version": "2.3.4",
4
+ "type": "module",
4
5
  "main": "dist/index.cjs.js",
5
6
  "module": "dist/index.esm.js",
6
7
  "types": "dist/index.d.ts",
@@ -10,14 +11,39 @@
10
11
  "exports": {
11
12
  ".": {
12
13
  "types": "./dist/index.d.ts",
13
- "import": "./dist/index.esm.js",
14
- "require": "./dist/index.cjs.js"
14
+ "import": "./dist/index.esm.js"
15
15
  }
16
16
  },
17
- "sideEffects": false,
17
+ "sideEffects": [
18
+ "**/*.css"
19
+ ],
18
20
  "peerDependencies": {
19
- "react": "^19.2.0",
20
- "react-dom": "^19.2.0"
21
+ "@radix-ui/react-avatar": "^1.1.10",
22
+ "@radix-ui/react-checkbox": "^1.3.2",
23
+ "@radix-ui/react-collapsible": "^1.1.11",
24
+ "@radix-ui/react-dialog": "^1.1.14",
25
+ "@radix-ui/react-dropdown-menu": "^2.1.15",
26
+ "@radix-ui/react-label": "^2.1.7",
27
+ "@radix-ui/react-popover": "^1.1.14",
28
+ "@radix-ui/react-progress": "^1.1.7",
29
+ "@radix-ui/react-radio-group": "^1.3.7",
30
+ "@radix-ui/react-select": "^2.2.5",
31
+ "@radix-ui/react-slot": "^1.2.3",
32
+ "@radix-ui/react-tabs": "^1.1.12",
33
+ "@radix-ui/react-tooltip": "^1.2.7",
34
+ "class-variance-authority": "^0.7.1",
35
+ "clsx": "^2.1.1",
36
+ "cmdk": "^1.1.1",
37
+ "dayjs": "1.11.13",
38
+ "lucide-react": "^0.474.0",
39
+ "react": "^18.0.0",
40
+ "react-day-picker": "^9.7.0",
41
+ "react-dom": "^18.0.0",
42
+ "react-hook-form": "^7.58.1",
43
+ "sonner": "^2.0.5",
44
+ "tailwind-merge": "^3.0.1",
45
+ "tailwindcss-animate": "^1.0.7",
46
+ "vaul": "^1.1.2"
21
47
  },
22
48
  "scripts": {
23
49
  "dev": "vite",
@@ -28,35 +54,42 @@
28
54
  "build-storybook": "storybook build",
29
55
  "test": "vitest",
30
56
  "analyze": "vite build --config vite.analyze.config.ts",
31
- "registry:dev": "vite --port 5173",
32
- "registry:serve": "vite preview --port 5173"
57
+ "build:registry": "node scripts/build-registry.mjs",
58
+ "copy:registry": "node scripts/copy-registry.mjs",
59
+ "sync:registry": "node scripts/build-and-sync-registry.mjs"
33
60
  },
34
61
  "dependencies": {
62
+ "@radix-ui/react-avatar": "^1.1.10",
63
+ "@radix-ui/react-checkbox": "^1.3.3",
35
64
  "@radix-ui/react-collapsible": "^1.1.11",
65
+ "@radix-ui/react-dialog": "^1.1.15",
66
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
67
+ "@radix-ui/react-label": "^2.1.7",
68
+ "@radix-ui/react-popover": "^1.1.15",
69
+ "@radix-ui/react-progress": "^1.1.7",
70
+ "@radix-ui/react-radio-group": "^1.3.8",
71
+ "@radix-ui/react-select": "^2.2.6",
72
+ "@radix-ui/react-slot": "^1.2.3",
73
+ "@radix-ui/react-tabs": "^1.1.13",
74
+ "@radix-ui/react-tooltip": "^1.2.8",
75
+ "@tailwindcss/postcss": "^4.1.14",
36
76
  "class-variance-authority": "^0.7.1",
37
77
  "clsx": "^2.1.1",
38
78
  "cmdk": "^1.1.1",
39
79
  "dayjs": "1.11.13",
40
80
  "lucide-react": "^0.474.0",
41
- "radix-ui": "^1.4.3",
42
- "react-day-picker": "^9.7.0",
81
+ "react-day-picker": "^9.7.0 <10.0.0",
43
82
  "react-hook-form": "^7.58.1",
44
- "shadcn": "^3.3.1",
45
83
  "sonner": "^2.0.5",
46
84
  "tailwind-merge": "^3.0.1",
47
- "tailwindcss-animate": "^1.0.7",
48
85
  "vaul": "^1.1.2"
49
86
  },
50
87
  "devDependencies": {
51
- "@chromatic-com/storybook": "3.2.4",
88
+ "@chromatic-com/storybook": "4.1.1",
52
89
  "@eslint/js": "^9.17.0",
53
- "@storybook/addon-essentials": "^8.6.14",
54
- "@storybook/addon-interactions": "^8.6.14",
55
- "@storybook/addon-onboarding": "^8.6.14",
56
- "@storybook/blocks": "^8.6.14",
57
- "@storybook/react": "^8.6.14",
58
- "@storybook/react-vite": "^8.6.14",
59
- "@storybook/test": "^8.6.14",
90
+ "@storybook/addon-docs": "9.1.10",
91
+ "@storybook/react": "9.1.10",
92
+ "@storybook/react-vite": "9.1.10",
60
93
  "@testing-library/jest-dom": "^6.6.3",
61
94
  "@testing-library/react": "^16.3.0",
62
95
  "@testing-library/user-event": "^14.6.1",
@@ -67,20 +100,45 @@
67
100
  "@vitejs/plugin-react": "^4.3.4",
68
101
  "ajv": "^8.17.1",
69
102
  "autoprefixer": "^10.4.20",
103
+ "cssnano": "^7.1.1",
70
104
  "eslint": "^9.17.0",
71
105
  "eslint-plugin-react-hooks": "^5.0.0",
72
106
  "eslint-plugin-react-refresh": "^0.4.16",
73
- "eslint-plugin-storybook": "^0.11.2",
74
- "fast-glob": "^3.3.2",
107
+ "eslint-plugin-storybook": "9.1.10",
75
108
  "globals": "^15.14.0",
76
109
  "jsdom": "^26.1.0",
77
110
  "picocolors": "^1.0.0",
78
111
  "postcss": "^8.5.1",
79
- "react": "^19.2.0",
80
- "react-dom": "^19.2.0",
112
+ "react": "^18.3.1",
113
+ "react-dom": "^18.3.1",
114
+ "@radix-ui/react-avatar": "^1.1.10",
115
+ "@radix-ui/react-checkbox": "^1.3.2",
116
+ "@radix-ui/react-collapsible": "^1.1.11",
117
+ "@radix-ui/react-dialog": "^1.1.14",
118
+ "@radix-ui/react-dropdown-menu": "^2.1.15",
119
+ "@radix-ui/react-label": "^2.1.7",
120
+ "@radix-ui/react-popover": "^1.1.14",
121
+ "@radix-ui/react-progress": "^1.1.7",
122
+ "@radix-ui/react-radio-group": "^1.3.7",
123
+ "@radix-ui/react-select": "^2.2.5",
124
+ "@radix-ui/react-slot": "^1.2.3",
125
+ "@radix-ui/react-tabs": "^1.1.12",
126
+ "@radix-ui/react-tooltip": "^1.2.7",
127
+ "class-variance-authority": "^0.7.1",
128
+ "clsx": "^2.1.1",
129
+ "cmdk": "^1.1.1",
130
+ "dayjs": "1.11.13",
131
+ "lucide-react": "^0.474.0",
132
+ "react-day-picker": "^9.7.0",
133
+ "react-hook-form": "^7.58.1",
134
+ "sonner": "^2.0.5",
135
+ "tailwind-merge": "^3.0.1",
136
+ "vaul": "^1.1.2",
137
+ "shadcn": "^2.7.0",
138
+ "tailwindcss-animate": "^1.0.7",
81
139
  "rollup-plugin-visualizer": "^6.0.3",
82
- "storybook": "^8.6.14",
83
- "tailwindcss": "^3.4.17",
140
+ "storybook": "9.1.10",
141
+ "tailwindcss": "^3.3.4",
84
142
  "typescript": "~5.6.2",
85
143
  "typescript-eslint": "^8.18.2",
86
144
  "vite": "^6.0.5",
@@ -92,5 +150,10 @@
92
150
  "extends": [
93
151
  "plugin:storybook/recommended"
94
152
  ]
153
+ },
154
+ "overrides": {
155
+ "@storybook/preview-api": "9.1.10",
156
+ "@storybook/client-logger": "9.1.10",
157
+ "@storybook/types": "9.1.10"
95
158
  }
96
159
  }