@codefast/ui 0.0.53 → 0.0.55

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.
@@ -29,9 +29,9 @@ declare const alertVariants: (props?: ({
29
29
  } | null | undefined)[] | {
30
30
  [x: string]: any;
31
31
  } | null | undefined;
32
- className?: undefined;
32
+ className?: never;
33
33
  } | {
34
- class?: undefined;
34
+ class?: never;
35
35
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
36
36
  [x: string]: any;
37
37
  } | null | undefined)[] | {
@@ -29,9 +29,9 @@ declare const alertVariants: (props?: ({
29
29
  } | null | undefined)[] | {
30
30
  [x: string]: any;
31
31
  } | null | undefined;
32
- className?: undefined;
32
+ className?: never;
33
33
  } | {
34
- class?: undefined;
34
+ class?: never;
35
35
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
36
36
  [x: string]: any;
37
37
  } | null | undefined)[] | {
@@ -29,9 +29,9 @@ declare const badgeVariants: (props?: ({
29
29
  } | null | undefined)[] | {
30
30
  [x: string]: any;
31
31
  } | null | undefined;
32
- className?: undefined;
32
+ className?: never;
33
33
  } | {
34
- class?: undefined;
34
+ class?: never;
35
35
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
36
36
  [x: string]: any;
37
37
  } | null | undefined)[] | {
@@ -29,9 +29,9 @@ declare const badgeVariants: (props?: ({
29
29
  } | null | undefined)[] | {
30
30
  [x: string]: any;
31
31
  } | null | undefined;
32
- className?: undefined;
32
+ className?: never;
33
33
  } | {
34
- class?: undefined;
34
+ class?: never;
35
35
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
36
36
  [x: string]: any;
37
37
  } | null | undefined)[] | {
@@ -31,9 +31,9 @@ declare const buttonVariants: (props?: ({
31
31
  } | null | undefined)[] | {
32
32
  [x: string]: any;
33
33
  } | null | undefined;
34
- className?: undefined;
34
+ className?: never;
35
35
  } | {
36
- class?: undefined;
36
+ class?: never;
37
37
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
38
38
  [x: string]: any;
39
39
  } | null | undefined)[] | {
@@ -31,9 +31,9 @@ declare const buttonVariants: (props?: ({
31
31
  } | null | undefined)[] | {
32
32
  [x: string]: any;
33
33
  } | null | undefined;
34
- className?: undefined;
34
+ className?: never;
35
35
  } | {
36
- class?: undefined;
36
+ class?: never;
37
37
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
38
38
  [x: string]: any;
39
39
  } | null | undefined)[] | {
@@ -7,93 +7,93 @@ type CommandProps = React.ComponentPropsWithoutRef<typeof Command$1>;
7
7
  declare const Command: React.ForwardRefExoticComponent<Omit<{
8
8
  children?: React.ReactNode;
9
9
  } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
10
- ref?: React.Ref<HTMLDivElement> | undefined;
10
+ ref?: React.Ref<HTMLDivElement>;
11
11
  } & {
12
- asChild?: boolean | undefined;
12
+ asChild?: boolean;
13
13
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
14
- label?: string | undefined;
15
- shouldFilter?: boolean | undefined;
16
- filter?: ((value: string, search: string, keywords?: string[] | undefined) => number) | undefined;
17
- defaultValue?: string | undefined;
18
- value?: string | undefined;
19
- onValueChange?: ((value: string) => void) | undefined;
20
- loop?: boolean | undefined;
21
- disablePointerSelection?: boolean | undefined;
22
- vimBindings?: boolean | undefined;
14
+ label?: string;
15
+ shouldFilter?: boolean;
16
+ filter?: (value: string, search: string, keywords?: string[]) => number;
17
+ defaultValue?: string;
18
+ value?: string;
19
+ onValueChange?: (value: string) => void;
20
+ loop?: boolean;
21
+ disablePointerSelection?: boolean;
22
+ vimBindings?: boolean;
23
23
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
24
24
  type CommandDialogProps = React.ComponentProps<typeof Dialog>;
25
25
  declare function CommandDialog({ children, ...props }: CommandDialogProps): React.JSX.Element;
26
26
  type CommandInputProps = React.ComponentPropsWithoutRef<typeof Command$1.Input>;
27
27
  declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
28
- ref?: React.Ref<HTMLInputElement> | undefined;
28
+ ref?: React.Ref<HTMLInputElement>;
29
29
  } & {
30
- asChild?: boolean | undefined;
30
+ asChild?: boolean;
31
31
  }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
32
- value?: string | undefined;
33
- onValueChange?: ((search: string) => void) | undefined;
32
+ value?: string;
33
+ onValueChange?: (search: string) => void;
34
34
  } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
35
35
  type CommandListProps = React.ComponentPropsWithoutRef<typeof Command$1.List>;
36
36
  declare const CommandList: React.ForwardRefExoticComponent<Omit<{
37
37
  children?: React.ReactNode;
38
38
  } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
39
- ref?: React.Ref<HTMLDivElement> | undefined;
39
+ ref?: React.Ref<HTMLDivElement>;
40
40
  } & {
41
- asChild?: boolean | undefined;
41
+ asChild?: boolean;
42
42
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
43
- label?: string | undefined;
43
+ label?: string;
44
44
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
45
45
  type CommandEmptyProps = React.ComponentPropsWithoutRef<typeof Command$1.Empty>;
46
46
  declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
47
47
  children?: React.ReactNode;
48
48
  } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
49
- ref?: React.Ref<HTMLDivElement> | undefined;
49
+ ref?: React.Ref<HTMLDivElement>;
50
50
  } & {
51
- asChild?: boolean | undefined;
51
+ asChild?: boolean;
52
52
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
53
53
  type CommandGroupProps = React.ComponentPropsWithoutRef<typeof Command$1.Group>;
54
54
  declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
55
55
  children?: React.ReactNode;
56
56
  } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
57
- ref?: React.Ref<HTMLDivElement> | undefined;
57
+ ref?: React.Ref<HTMLDivElement>;
58
58
  } & {
59
- asChild?: boolean | undefined;
59
+ asChild?: boolean;
60
60
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
61
61
  heading?: React.ReactNode;
62
- value?: string | undefined;
63
- forceMount?: boolean | undefined;
62
+ value?: string;
63
+ forceMount?: boolean;
64
64
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
65
65
  type CommandSeparatorProps = React.ComponentPropsWithoutRef<typeof Command$1.Separator>;
66
66
  declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
67
- ref?: React.Ref<HTMLDivElement> | undefined;
67
+ ref?: React.Ref<HTMLDivElement>;
68
68
  } & {
69
- asChild?: boolean | undefined;
69
+ asChild?: boolean;
70
70
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
71
- alwaysRender?: boolean | undefined;
71
+ alwaysRender?: boolean;
72
72
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
73
73
  type CommandItemProps = React.ComponentPropsWithoutRef<typeof Command$1.Item>;
74
74
  declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
75
75
  children?: React.ReactNode;
76
76
  } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
77
- ref?: React.Ref<HTMLDivElement> | undefined;
77
+ ref?: React.Ref<HTMLDivElement>;
78
78
  } & {
79
- asChild?: boolean | undefined;
79
+ asChild?: boolean;
80
80
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "value" | "disabled"> & {
81
- disabled?: boolean | undefined;
82
- onSelect?: ((value: string) => void) | undefined;
83
- value?: string | undefined;
84
- keywords?: string[] | undefined;
85
- forceMount?: boolean | undefined;
81
+ disabled?: boolean;
82
+ onSelect?: (value: string) => void;
83
+ value?: string;
84
+ keywords?: string[];
85
+ forceMount?: boolean;
86
86
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
87
87
  type CommandLoadingProps = React.ComponentPropsWithoutRef<typeof Command$1.Loading>;
88
88
  declare const CommandLoading: React.ForwardRefExoticComponent<Omit<{
89
89
  children?: React.ReactNode;
90
90
  } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
91
- ref?: React.Ref<HTMLDivElement> | undefined;
91
+ ref?: React.Ref<HTMLDivElement>;
92
92
  } & {
93
- asChild?: boolean | undefined;
93
+ asChild?: boolean;
94
94
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
95
- progress?: number | undefined;
96
- label?: string | undefined;
95
+ progress?: number;
96
+ label?: string;
97
97
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
98
98
  type CommandShortcutProps = React.HTMLAttributes<HTMLSpanElement>;
99
99
  declare function CommandShortcut({ className, ...props }: CommandShortcutProps): React.JSX.Element;
@@ -7,93 +7,93 @@ type CommandProps = React.ComponentPropsWithoutRef<typeof Command$1>;
7
7
  declare const Command: React.ForwardRefExoticComponent<Omit<{
8
8
  children?: React.ReactNode;
9
9
  } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
10
- ref?: React.Ref<HTMLDivElement> | undefined;
10
+ ref?: React.Ref<HTMLDivElement>;
11
11
  } & {
12
- asChild?: boolean | undefined;
12
+ asChild?: boolean;
13
13
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
14
- label?: string | undefined;
15
- shouldFilter?: boolean | undefined;
16
- filter?: ((value: string, search: string, keywords?: string[] | undefined) => number) | undefined;
17
- defaultValue?: string | undefined;
18
- value?: string | undefined;
19
- onValueChange?: ((value: string) => void) | undefined;
20
- loop?: boolean | undefined;
21
- disablePointerSelection?: boolean | undefined;
22
- vimBindings?: boolean | undefined;
14
+ label?: string;
15
+ shouldFilter?: boolean;
16
+ filter?: (value: string, search: string, keywords?: string[]) => number;
17
+ defaultValue?: string;
18
+ value?: string;
19
+ onValueChange?: (value: string) => void;
20
+ loop?: boolean;
21
+ disablePointerSelection?: boolean;
22
+ vimBindings?: boolean;
23
23
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
24
24
  type CommandDialogProps = React.ComponentProps<typeof Dialog>;
25
25
  declare function CommandDialog({ children, ...props }: CommandDialogProps): React.JSX.Element;
26
26
  type CommandInputProps = React.ComponentPropsWithoutRef<typeof Command$1.Input>;
27
27
  declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
28
- ref?: React.Ref<HTMLInputElement> | undefined;
28
+ ref?: React.Ref<HTMLInputElement>;
29
29
  } & {
30
- asChild?: boolean | undefined;
30
+ asChild?: boolean;
31
31
  }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
32
- value?: string | undefined;
33
- onValueChange?: ((search: string) => void) | undefined;
32
+ value?: string;
33
+ onValueChange?: (search: string) => void;
34
34
  } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
35
35
  type CommandListProps = React.ComponentPropsWithoutRef<typeof Command$1.List>;
36
36
  declare const CommandList: React.ForwardRefExoticComponent<Omit<{
37
37
  children?: React.ReactNode;
38
38
  } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
39
- ref?: React.Ref<HTMLDivElement> | undefined;
39
+ ref?: React.Ref<HTMLDivElement>;
40
40
  } & {
41
- asChild?: boolean | undefined;
41
+ asChild?: boolean;
42
42
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
43
- label?: string | undefined;
43
+ label?: string;
44
44
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
45
45
  type CommandEmptyProps = React.ComponentPropsWithoutRef<typeof Command$1.Empty>;
46
46
  declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
47
47
  children?: React.ReactNode;
48
48
  } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
49
- ref?: React.Ref<HTMLDivElement> | undefined;
49
+ ref?: React.Ref<HTMLDivElement>;
50
50
  } & {
51
- asChild?: boolean | undefined;
51
+ asChild?: boolean;
52
52
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
53
53
  type CommandGroupProps = React.ComponentPropsWithoutRef<typeof Command$1.Group>;
54
54
  declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
55
55
  children?: React.ReactNode;
56
56
  } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
57
- ref?: React.Ref<HTMLDivElement> | undefined;
57
+ ref?: React.Ref<HTMLDivElement>;
58
58
  } & {
59
- asChild?: boolean | undefined;
59
+ asChild?: boolean;
60
60
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
61
61
  heading?: React.ReactNode;
62
- value?: string | undefined;
63
- forceMount?: boolean | undefined;
62
+ value?: string;
63
+ forceMount?: boolean;
64
64
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
65
65
  type CommandSeparatorProps = React.ComponentPropsWithoutRef<typeof Command$1.Separator>;
66
66
  declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
67
- ref?: React.Ref<HTMLDivElement> | undefined;
67
+ ref?: React.Ref<HTMLDivElement>;
68
68
  } & {
69
- asChild?: boolean | undefined;
69
+ asChild?: boolean;
70
70
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
71
- alwaysRender?: boolean | undefined;
71
+ alwaysRender?: boolean;
72
72
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
73
73
  type CommandItemProps = React.ComponentPropsWithoutRef<typeof Command$1.Item>;
74
74
  declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
75
75
  children?: React.ReactNode;
76
76
  } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
77
- ref?: React.Ref<HTMLDivElement> | undefined;
77
+ ref?: React.Ref<HTMLDivElement>;
78
78
  } & {
79
- asChild?: boolean | undefined;
79
+ asChild?: boolean;
80
80
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "value" | "disabled"> & {
81
- disabled?: boolean | undefined;
82
- onSelect?: ((value: string) => void) | undefined;
83
- value?: string | undefined;
84
- keywords?: string[] | undefined;
85
- forceMount?: boolean | undefined;
81
+ disabled?: boolean;
82
+ onSelect?: (value: string) => void;
83
+ value?: string;
84
+ keywords?: string[];
85
+ forceMount?: boolean;
86
86
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
87
87
  type CommandLoadingProps = React.ComponentPropsWithoutRef<typeof Command$1.Loading>;
88
88
  declare const CommandLoading: React.ForwardRefExoticComponent<Omit<{
89
89
  children?: React.ReactNode;
90
90
  } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
91
- ref?: React.Ref<HTMLDivElement> | undefined;
91
+ ref?: React.Ref<HTMLDivElement>;
92
92
  } & {
93
- asChild?: boolean | undefined;
93
+ asChild?: boolean;
94
94
  }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
95
- progress?: number | undefined;
96
- label?: string | undefined;
95
+ progress?: number;
96
+ label?: string;
97
97
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
98
98
  type CommandShortcutProps = React.HTMLAttributes<HTMLSpanElement>;
99
99
  declare function CommandShortcut({ className, ...props }: CommandShortcutProps): React.JSX.Element;
@@ -10,7 +10,7 @@ type DrawerCloseProps = React.ComponentPropsWithoutRef<typeof Drawer$1.Close>;
10
10
  declare const DrawerClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
11
11
  type DrawerContentProps = React.ComponentPropsWithoutRef<typeof Drawer$1.Content>;
12
12
  declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
13
- onAnimationEnd?: ((open: boolean) => void) | undefined;
13
+ onAnimationEnd?: (open: boolean) => void;
14
14
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
15
  type DrawerHeaderProps = React.HTMLAttributes<HTMLDivElement>;
16
16
  declare function DrawerHeader({ className, ...props }: DrawerHeaderProps): React.JSX.Element;
@@ -10,7 +10,7 @@ type DrawerCloseProps = React.ComponentPropsWithoutRef<typeof Drawer$1.Close>;
10
10
  declare const DrawerClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
11
11
  type DrawerContentProps = React.ComponentPropsWithoutRef<typeof Drawer$1.Content>;
12
12
  declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
13
- onAnimationEnd?: ((open: boolean) => void) | undefined;
13
+ onAnimationEnd?: (open: boolean) => void;
14
14
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
15
  type DrawerHeaderProps = React.HTMLAttributes<HTMLDivElement>;
16
16
  declare function DrawerHeader({ className, ...props }: DrawerHeaderProps): React.JSX.Element;
@@ -29,9 +29,9 @@ declare const inputVariants: (props?: ({
29
29
  } | null | undefined)[] | {
30
30
  [x: string]: any;
31
31
  } | null | undefined;
32
- className?: undefined;
32
+ className?: never;
33
33
  } | {
34
- class?: undefined;
34
+ class?: never;
35
35
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
36
36
  [x: string]: any;
37
37
  } | null | undefined)[] | {
@@ -29,9 +29,9 @@ declare const inputVariants: (props?: ({
29
29
  } | null | undefined)[] | {
30
30
  [x: string]: any;
31
31
  } | null | undefined;
32
- className?: undefined;
32
+ className?: never;
33
33
  } | {
34
- class?: undefined;
34
+ class?: never;
35
35
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
36
36
  [x: string]: any;
37
37
  } | null | undefined)[] | {
@@ -1,9 +1,13 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as _radix_ui_react_context from '@radix-ui/react-context';
1
3
  import * as React from 'react';
2
4
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
3
5
 
4
6
  type MenubarMenuProps = React.ComponentProps<typeof MenubarPrimitive.Menu>;
5
7
  declare const MenubarMenu: {
6
- (props: MenubarPrimitive.ScopedProps<MenubarPrimitive.MenubarMenuProps>): JSX.Element;
8
+ (props: MenubarPrimitive.MenubarMenuProps & {
9
+ __scopeMenubar?: _radix_ui_react_context.Scope;
10
+ }): react_jsx_runtime.JSX.Element;
7
11
  displayName: string;
8
12
  };
9
13
  type MenubarGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>;
@@ -1,9 +1,13 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as _radix_ui_react_context from '@radix-ui/react-context';
1
3
  import * as React from 'react';
2
4
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
3
5
 
4
6
  type MenubarMenuProps = React.ComponentProps<typeof MenubarPrimitive.Menu>;
5
7
  declare const MenubarMenu: {
6
- (props: MenubarPrimitive.ScopedProps<MenubarPrimitive.MenubarMenuProps>): JSX.Element;
8
+ (props: MenubarPrimitive.MenubarMenuProps & {
9
+ __scopeMenubar?: _radix_ui_react_context.Scope;
10
+ }): react_jsx_runtime.JSX.Element;
7
11
  displayName: string;
8
12
  };
9
13
  type MenubarGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>;
@@ -27,9 +27,9 @@ declare const navigationMenuTriggerVariants: (props?: ({
27
27
  } | null | undefined)[] | {
28
28
  [x: string]: any;
29
29
  } | null | undefined;
30
- className?: undefined;
30
+ className?: never;
31
31
  } | {
32
- class?: undefined;
32
+ class?: never;
33
33
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
34
34
  [x: string]: any;
35
35
  } | null | undefined)[] | {
@@ -27,9 +27,9 @@ declare const navigationMenuTriggerVariants: (props?: ({
27
27
  } | null | undefined)[] | {
28
28
  [x: string]: any;
29
29
  } | null | undefined;
30
- className?: undefined;
30
+ className?: never;
31
31
  } | {
32
- class?: undefined;
32
+ class?: never;
33
33
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
34
34
  [x: string]: any;
35
35
  } | null | undefined)[] | {
@@ -30,9 +30,9 @@ declare const sheetVariants: (props?: ({
30
30
  } | null | undefined)[] | {
31
31
  [x: string]: any;
32
32
  } | null | undefined;
33
- className?: undefined;
33
+ className?: never;
34
34
  } | {
35
- class?: undefined;
35
+ class?: never;
36
36
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
37
37
  [x: string]: any;
38
38
  } | null | undefined)[] | {
@@ -30,9 +30,9 @@ declare const sheetVariants: (props?: ({
30
30
  } | null | undefined)[] | {
31
31
  [x: string]: any;
32
32
  } | null | undefined;
33
- className?: undefined;
33
+ className?: never;
34
34
  } | {
35
- class?: undefined;
35
+ class?: never;
36
36
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
37
37
  [x: string]: any;
38
38
  } | null | undefined)[] | {
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _nextthemes = require('next-themes');var _sonner = require('sonner');var _jsxruntime = require('react/jsx-runtime');function n({...t}){let{theme:o="system"}=_nextthemes.useTheme.call(void 0, );return _jsxruntime.jsx.call(void 0, _sonner.Toaster,{theme:o,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})}exports.Toaster = n; exports.toast = _sonner.toast;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _nextthemes = require('next-themes');var _sonner = require('sonner');var _jsxruntime = require('react/jsx-runtime');function u({...t}){let{theme:o="system"}=_nextthemes.useTheme.call(void 0, );return _jsxruntime.jsx.call(void 0, _sonner.Toaster,{theme:o,className:"toaster group",toastOptions:{classNames:{actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",content:"w-full flex flex-col gap-1",description:"group-[.toast]:text-muted-foreground",toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg"}},...t})}exports.Toaster = u; exports.toast = _sonner.toast;
2
2
  //# sourceMappingURL=sonner.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/sonner.tsx"],"names":["useTheme","toast","Sonner","jsx","Toaster","props","theme"],"mappings":"aAGA,OAAS,YAAAA,MAAgB,cACzB,OAAS,SAAAC,EAAO,WAAWC,MAAc,SAarC,cAAAC,MAAA,oBAJJ,SAASC,EAAQ,CAAE,GAAGC,CAAM,EAAoC,CAC9D,GAAM,CAAE,MAAAC,EAAQ,QAAS,EAAIN,EAAS,EAEtC,OACEG,EAACD,EAAA,CACC,MAAOI,EACP,UAAU,gBACV,aAAc,CACZ,WAAY,CACV,MACE,wIACF,YAAa,uCACb,aAAc,mEACd,aAAc,8DAChB,CACF,EACC,GAAGD,EACN,CAEJ","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTheme } from 'next-themes';\nimport { toast, Toaster as Sonner } from 'sonner';\n\n/* -----------------------------------------------------------------------------\n * Component: Sonner\n * -------------------------------------------------------------------------- */\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>;\ntype Theme = 'light' | 'dark' | 'system' | undefined;\n\nfunction Toaster({ ...props }: ToasterProps): React.JSX.Element {\n const { theme = 'system' } = useTheme() as { theme: Theme };\n\n return (\n <Sonner\n theme={theme}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',\n description: 'group-[.toast]:text-muted-foreground',\n actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',\n cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',\n },\n }}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Toaster, toast, type ToasterProps };\n"]}
1
+ {"version":3,"sources":["../../src/react/sonner.tsx"],"names":["useTheme","toast","Sonner","jsx","Toaster","props","theme"],"mappings":"aAGA,OAAS,YAAAA,MAAgB,cACzB,OAAS,SAAAC,EAAO,WAAWC,MAAc,SAarC,cAAAC,MAAA,oBAJJ,SAASC,EAAQ,CAAE,GAAGC,CAAM,EAAoC,CAC9D,GAAM,CAAE,MAAAC,EAAQ,QAAS,EAAIN,EAAS,EAEtC,OACEG,EAACD,EAAA,CACC,MAAOI,EACP,UAAU,gBACV,aAAc,CACZ,WAAY,CACV,aAAc,mEACd,aAAc,+DACd,QAAS,6BACT,YAAa,uCACb,MACE,uIACJ,CACF,EACC,GAAGD,EACN,CAEJ","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTheme } from 'next-themes';\nimport { toast, Toaster as Sonner } from 'sonner';\n\n/* -----------------------------------------------------------------------------\n * Component: Sonner\n * -------------------------------------------------------------------------- */\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>;\ntype Theme = 'light' | 'dark' | 'system' | undefined;\n\nfunction Toaster({ ...props }: ToasterProps): React.JSX.Element {\n const { theme = 'system' } = useTheme() as { theme: Theme };\n\n return (\n <Sonner\n theme={theme}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',\n cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',\n content: 'w-full flex flex-col gap-1',\n description: 'group-[.toast]:text-muted-foreground',\n toast:\n 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',\n },\n }}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Toaster, toast, type ToasterProps };\n"]}
@@ -1,2 +1,2 @@
1
- "use client";import{useTheme as e}from"next-themes";import{toast as u,Toaster as r}from"sonner";import{jsx as s}from"react/jsx-runtime";function n({...t}){let{theme:o="system"}=e();return s(r,{theme:o,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})}export{n as Toaster,u as toast};
1
+ "use client";import{useTheme as e}from"next-themes";import{toast as n,Toaster as r}from"sonner";import{jsx as s}from"react/jsx-runtime";function u({...t}){let{theme:o="system"}=e();return s(r,{theme:o,className:"toaster group",toastOptions:{classNames:{actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",content:"w-full flex flex-col gap-1",description:"group-[.toast]:text-muted-foreground",toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg"}},...t})}export{u as Toaster,n as toast};
2
2
  //# sourceMappingURL=sonner.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/sonner.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTheme } from 'next-themes';\nimport { toast, Toaster as Sonner } from 'sonner';\n\n/* -----------------------------------------------------------------------------\n * Component: Sonner\n * -------------------------------------------------------------------------- */\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>;\ntype Theme = 'light' | 'dark' | 'system' | undefined;\n\nfunction Toaster({ ...props }: ToasterProps): React.JSX.Element {\n const { theme = 'system' } = useTheme() as { theme: Theme };\n\n return (\n <Sonner\n theme={theme}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',\n description: 'group-[.toast]:text-muted-foreground',\n actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',\n cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',\n },\n }}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Toaster, toast, type ToasterProps };\n"],"mappings":"aAGA,OAAS,YAAAA,MAAgB,cACzB,OAAS,SAAAC,EAAO,WAAWC,MAAc,SAarC,cAAAC,MAAA,oBAJJ,SAASC,EAAQ,CAAE,GAAGC,CAAM,EAAoC,CAC9D,GAAM,CAAE,MAAAC,EAAQ,QAAS,EAAIN,EAAS,EAEtC,OACEG,EAACD,EAAA,CACC,MAAOI,EACP,UAAU,gBACV,aAAc,CACZ,WAAY,CACV,MACE,wIACF,YAAa,uCACb,aAAc,mEACd,aAAc,8DAChB,CACF,EACC,GAAGD,EACN,CAEJ","names":["useTheme","toast","Sonner","jsx","Toaster","props","theme"]}
1
+ {"version":3,"sources":["../../src/react/sonner.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTheme } from 'next-themes';\nimport { toast, Toaster as Sonner } from 'sonner';\n\n/* -----------------------------------------------------------------------------\n * Component: Sonner\n * -------------------------------------------------------------------------- */\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>;\ntype Theme = 'light' | 'dark' | 'system' | undefined;\n\nfunction Toaster({ ...props }: ToasterProps): React.JSX.Element {\n const { theme = 'system' } = useTheme() as { theme: Theme };\n\n return (\n <Sonner\n theme={theme}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',\n cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',\n content: 'w-full flex flex-col gap-1',\n description: 'group-[.toast]:text-muted-foreground',\n toast:\n 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',\n },\n }}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Toaster, toast, type ToasterProps };\n"],"mappings":"aAGA,OAAS,YAAAA,MAAgB,cACzB,OAAS,SAAAC,EAAO,WAAWC,MAAc,SAarC,cAAAC,MAAA,oBAJJ,SAASC,EAAQ,CAAE,GAAGC,CAAM,EAAoC,CAC9D,GAAM,CAAE,MAAAC,EAAQ,QAAS,EAAIN,EAAS,EAEtC,OACEG,EAACD,EAAA,CACC,MAAOI,EACP,UAAU,gBACV,aAAc,CACZ,WAAY,CACV,aAAc,mEACd,aAAc,+DACd,QAAS,6BACT,YAAa,uCACb,MACE,uIACJ,CACF,EACC,GAAGD,EACN,CAEJ","names":["useTheme","toast","Sonner","jsx","Toaster","props","theme"]}
@@ -31,9 +31,9 @@ declare const toggleVariants: (props?: ({
31
31
  } | null | undefined)[] | {
32
32
  [x: string]: any;
33
33
  } | null | undefined;
34
- className?: undefined;
34
+ className?: never;
35
35
  } | {
36
- class?: undefined;
36
+ class?: never;
37
37
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
38
38
  [x: string]: any;
39
39
  } | null | undefined)[] | {
@@ -31,9 +31,9 @@ declare const toggleVariants: (props?: ({
31
31
  } | null | undefined)[] | {
32
32
  [x: string]: any;
33
33
  } | null | undefined;
34
- className?: undefined;
34
+ className?: never;
35
35
  } | {
36
- class?: undefined;
36
+ class?: never;
37
37
  className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
38
38
  [x: string]: any;
39
39
  } | null | undefined)[] | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefast/ui",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "license": "MIT",
5
5
  "sideEffects": [
6
6
  "**/*.css"
@@ -350,56 +350,56 @@
350
350
  "tailwind.config.ts"
351
351
  ],
352
352
  "dependencies": {
353
- "@radix-ui/primitive": "^1.0.1",
354
- "@radix-ui/react-accordion": "^1.1.2",
355
- "@radix-ui/react-alert-dialog": "^1.0.5",
356
- "@radix-ui/react-aspect-ratio": "^1.0.3",
357
- "@radix-ui/react-avatar": "^1.0.4",
358
- "@radix-ui/react-checkbox": "^1.0.4",
359
- "@radix-ui/react-collapsible": "^1.0.3",
360
- "@radix-ui/react-context": "^1.0.1",
361
- "@radix-ui/react-context-menu": "^2.1.5",
362
- "@radix-ui/react-dialog": "^1.0.5",
363
- "@radix-ui/react-direction": "^1.0.1",
364
- "@radix-ui/react-dropdown-menu": "^2.0.6",
365
- "@radix-ui/react-hover-card": "^1.0.7",
353
+ "@radix-ui/primitive": "^1.1.0",
354
+ "@radix-ui/react-accordion": "^1.2.0",
355
+ "@radix-ui/react-alert-dialog": "^1.1.1",
356
+ "@radix-ui/react-aspect-ratio": "^1.1.0",
357
+ "@radix-ui/react-avatar": "^1.1.0",
358
+ "@radix-ui/react-checkbox": "^1.1.1",
359
+ "@radix-ui/react-collapsible": "^1.1.0",
360
+ "@radix-ui/react-context": "^1.1.0",
361
+ "@radix-ui/react-context-menu": "^2.2.1",
362
+ "@radix-ui/react-dialog": "^1.1.1",
363
+ "@radix-ui/react-direction": "^1.1.0",
364
+ "@radix-ui/react-dropdown-menu": "^2.1.1",
365
+ "@radix-ui/react-hover-card": "^1.1.1",
366
366
  "@radix-ui/react-icons": "^1.3.0",
367
- "@radix-ui/react-label": "^2.0.2",
368
- "@radix-ui/react-menubar": "^1.0.4",
369
- "@radix-ui/react-navigation-menu": "^1.1.4",
370
- "@radix-ui/react-popover": "^1.0.7",
371
- "@radix-ui/react-primitive": "^1.0.3",
372
- "@radix-ui/react-progress": "^1.0.3",
373
- "@radix-ui/react-radio-group": "^1.1.3",
374
- "@radix-ui/react-roving-focus": "^1.0.4",
375
- "@radix-ui/react-scroll-area": "^1.0.5",
376
- "@radix-ui/react-select": "^2.0.0",
377
- "@radix-ui/react-separator": "^1.0.3",
378
- "@radix-ui/react-slider": "^1.1.2",
379
- "@radix-ui/react-slot": "^1.0.2",
380
- "@radix-ui/react-switch": "^1.0.3",
381
- "@radix-ui/react-tabs": "^1.0.4",
382
- "@radix-ui/react-toggle": "^1.0.3",
383
- "@radix-ui/react-toggle-group": "^1.0.4",
384
- "@radix-ui/react-tooltip": "^1.0.7",
385
- "@radix-ui/react-use-controllable-state": "^1.0.1",
386
- "@radix-ui/react-visually-hidden": "^1.0.3",
367
+ "@radix-ui/react-label": "^2.1.0",
368
+ "@radix-ui/react-menubar": "^1.1.1",
369
+ "@radix-ui/react-navigation-menu": "^1.2.0",
370
+ "@radix-ui/react-popover": "^1.1.1",
371
+ "@radix-ui/react-primitive": "^2.0.0",
372
+ "@radix-ui/react-progress": "^1.1.0",
373
+ "@radix-ui/react-radio-group": "^1.2.0",
374
+ "@radix-ui/react-roving-focus": "^1.1.0",
375
+ "@radix-ui/react-scroll-area": "^1.1.0",
376
+ "@radix-ui/react-select": "^2.1.1",
377
+ "@radix-ui/react-separator": "^1.1.0",
378
+ "@radix-ui/react-slider": "^1.2.0",
379
+ "@radix-ui/react-slot": "^1.1.0",
380
+ "@radix-ui/react-switch": "^1.1.0",
381
+ "@radix-ui/react-tabs": "^1.1.0",
382
+ "@radix-ui/react-toggle": "^1.1.0",
383
+ "@radix-ui/react-toggle-group": "^1.1.0",
384
+ "@radix-ui/react-tooltip": "^1.1.2",
385
+ "@radix-ui/react-use-controllable-state": "^1.1.0",
386
+ "@radix-ui/react-visually-hidden": "^1.1.0",
387
387
  "@tanstack/react-table": "^8.17.0",
388
388
  "cmdk": "^1.0.0",
389
389
  "cva": "1.0.0-beta.1",
390
- "embla-carousel-react": "^8.1.3",
390
+ "embla-carousel-react": "^8.1.5",
391
391
  "input-otp": "^1.2.4",
392
392
  "next-themes": "^0.3.0",
393
393
  "react-day-picker": "^8.10.1",
394
- "react-hook-form": "^7.51.5",
394
+ "react-hook-form": "^7.52.0",
395
395
  "react-resizable-panels": "^2.0.19",
396
- "sonner": "^1.4.41",
396
+ "sonner": "^1.5.0",
397
397
  "tailwind-merge": "^2.3.0",
398
398
  "vaul": "^0.9.1"
399
399
  },
400
400
  "devDependencies": {
401
401
  "@types/eslint": "^8.56.10",
402
- "@types/node": "^20.14.2",
402
+ "@types/node": "^20.14.9",
403
403
  "@types/react": "^18.3.3",
404
404
  "autoprefixer": "^10.4.19",
405
405
  "eslint": "^8.57.0",
@@ -407,9 +407,9 @@
407
407
  "react": "^18.3.1",
408
408
  "tailwindcss": "^3.4.4",
409
409
  "tsup": "^8.1.0",
410
- "typescript": "^5.4.5",
411
- "@codefast/typescript-config": "0.0.2",
412
- "@codefast/eslint-config": "0.0.25"
410
+ "typescript": "^5.5.2",
411
+ "@codefast/eslint-config": "0.0.27",
412
+ "@codefast/typescript-config": "0.0.2"
413
413
  },
414
414
  "peerDependencies": {
415
415
  "@types/react": "^18.2.79",
@@ -20,11 +20,12 @@ function Toaster({ ...props }: ToasterProps): React.JSX.Element {
20
20
  className="toaster group"
21
21
  toastOptions={{
22
22
  classNames: {
23
- toast:
24
- 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',
25
- description: 'group-[.toast]:text-muted-foreground',
26
23
  actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',
27
24
  cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',
25
+ content: 'w-full flex flex-col gap-1',
26
+ description: 'group-[.toast]:text-muted-foreground',
27
+ toast:
28
+ 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',
28
29
  },
29
30
  }}
30
31
  {...props}