@snapcall/design-system 1.20.0-beta.5 → 1.20.0-beta.7
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/Avatar/index.d.mts +1 -21
- package/dist/Avatar/index.d.ts +1 -21
- package/dist/Button/index.d.mts +1 -7
- package/dist/Button/index.d.ts +1 -7
- package/dist/Calendar/index.d.mts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Command/index.d.mts +2 -96
- package/dist/Command/index.d.ts +2 -96
- package/dist/CreatableSelect/index.d.mts +1 -1
- package/dist/CreatableSelect/index.d.ts +1 -1
- package/dist/Input/index.d.mts +1 -1
- package/dist/Input/index.d.ts +1 -1
- package/dist/Pagination/index.d.mts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Select/index.d.mts +1 -1
- package/dist/Select/index.d.ts +1 -1
- package/dist/Textarea/index.d.mts +1 -1
- package/dist/Textarea/index.d.ts +1 -1
- package/dist/{chunk-22ROPG2O.mjs → chunk-I7KGDNNG.mjs} +2 -2
- package/dist/{chunk-FETPXSOH.mjs → chunk-IZJXAMXC.mjs} +1 -1
- package/dist/{chunk-APPCA7PA.mjs → chunk-MABOGCOL.mjs} +1 -2
- package/dist/{chunk-4IMIAFOU.mjs → chunk-MH3J6D2F.mjs} +5 -5
- package/dist/{chunk-655CU734.mjs → chunk-PGRZSZPW.mjs} +1 -1
- package/dist/components/Accordion/index.js +4 -2
- package/dist/components/Accordion/index.mjs +1 -1
- package/dist/components/AlertDialog/index.js +6 -4
- package/dist/components/AlertDialog/index.mjs +2 -2
- package/dist/components/Avatar/index.js +6 -10
- package/dist/components/Avatar/index.mjs +2 -5
- package/dist/components/Badge/index.js +4 -2
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Button/index.js +6 -6
- package/dist/components/Button/index.mjs +3 -5
- package/dist/components/Calendar/index.js +5 -3
- package/dist/components/Calendar/index.mjs +2 -2
- package/dist/components/Carousel/index.js +5 -3
- package/dist/components/Carousel/index.mjs +2 -2
- package/dist/components/Checkbox/index.js +4 -2
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/Command/index.js +6 -4
- package/dist/components/Command/index.mjs +3 -3
- package/dist/components/CreatableSelect/index.js +10 -8
- package/dist/components/CreatableSelect/index.mjs +7 -7
- package/dist/components/Dialog/index.js +5 -4
- package/dist/components/Dialog/index.mjs +2 -3
- package/dist/components/DropdownMenu/index.js +5 -3
- package/dist/components/DropdownMenu/index.mjs +2 -2
- package/dist/components/FilterButton/index.js +8 -6
- package/dist/components/FilterButton/index.mjs +3 -3
- package/dist/components/Form/index.js +5 -3
- package/dist/components/Form/index.mjs +2 -2
- package/dist/components/Input/index.js +4 -2
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Label/index.js +4 -2
- package/dist/components/Label/index.mjs +1 -1
- package/dist/components/Link/index.js +4 -2
- package/dist/components/Link/index.mjs +1 -1
- package/dist/components/Pagination/index.js +3 -3
- package/dist/components/Pagination/index.mjs +2 -2
- package/dist/components/Popover/index.js +4 -2
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/RadioGroup/index.js +4 -3
- package/dist/components/RadioGroup/index.mjs +1 -2
- package/dist/components/Select/index.js +4 -2
- package/dist/components/Select/index.mjs +1 -1
- package/dist/components/Sheet/index.js +5 -3
- package/dist/components/Sheet/index.mjs +2 -2
- package/dist/components/Skeleton/index.js +2 -2
- package/dist/components/Skeleton/index.mjs +1 -1
- package/dist/components/Switch/index.js +4 -2
- package/dist/components/Switch/index.mjs +1 -1
- package/dist/components/Table/index.js +4 -2
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/Tabs/index.js +4 -2
- package/dist/components/Tabs/index.mjs +1 -1
- package/dist/components/Textarea/index.js +4 -2
- package/dist/components/Textarea/index.mjs +1 -1
- package/dist/components/Toaster/index.js +2 -2
- package/dist/components/Toaster/index.mjs +1 -1
- package/dist/components/ToggleGroup/index.js +4 -2
- package/dist/components/ToggleGroup/index.mjs +1 -1
- package/dist/components/Tooltip/index.js +4 -2
- package/dist/components/Tooltip/index.mjs +1 -1
- package/dist/icons/search.js +98 -0
- package/dist/icons/search.mjs +50 -0
- package/dist/index-Jp7jKI5I.d.mts +96 -0
- package/dist/index-Jp7jKI5I.d.ts +96 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +59 -275
- package/dist/index.mjs +29 -279
- package/dist/search.d.mts +6 -0
- package/dist/search.d.ts +6 -0
- package/package.json +5 -5
package/dist/Avatar/index.d.mts
CHANGED
|
@@ -11,29 +11,9 @@ interface AvatarProps extends VariantProps<typeof avatarVariants>, VariantProps<
|
|
|
11
11
|
declare const avatarSizes: (props?: ({
|
|
12
12
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
13
13
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
14
|
-
declare const avatarColors: {
|
|
15
|
-
amber: string;
|
|
16
|
-
red: string;
|
|
17
|
-
green: string;
|
|
18
|
-
plum: string;
|
|
19
|
-
crimson: string;
|
|
20
|
-
blue: string;
|
|
21
|
-
purple: string;
|
|
22
|
-
violet: string;
|
|
23
|
-
indigo: string;
|
|
24
|
-
cyan: string;
|
|
25
|
-
teal: string;
|
|
26
|
-
grass: string;
|
|
27
|
-
brown: string;
|
|
28
|
-
lime: string;
|
|
29
|
-
yellow: string;
|
|
30
|
-
gold: string;
|
|
31
|
-
bronze: string;
|
|
32
|
-
gray: string;
|
|
33
|
-
};
|
|
34
14
|
declare const avatarVariants: (props?: ({
|
|
35
15
|
variant?: "blue" | "amber" | "red" | "green" | "plum" | "crimson" | "purple" | "violet" | "indigo" | "cyan" | "teal" | "grass" | "brown" | "lime" | "yellow" | "gold" | "bronze" | "gray" | null | undefined;
|
|
36
16
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
37
17
|
declare const Avatar: React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
38
18
|
|
|
39
|
-
export { Avatar
|
|
19
|
+
export { Avatar };
|
package/dist/Avatar/index.d.ts
CHANGED
|
@@ -11,29 +11,9 @@ interface AvatarProps extends VariantProps<typeof avatarVariants>, VariantProps<
|
|
|
11
11
|
declare const avatarSizes: (props?: ({
|
|
12
12
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
13
13
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
14
|
-
declare const avatarColors: {
|
|
15
|
-
amber: string;
|
|
16
|
-
red: string;
|
|
17
|
-
green: string;
|
|
18
|
-
plum: string;
|
|
19
|
-
crimson: string;
|
|
20
|
-
blue: string;
|
|
21
|
-
purple: string;
|
|
22
|
-
violet: string;
|
|
23
|
-
indigo: string;
|
|
24
|
-
cyan: string;
|
|
25
|
-
teal: string;
|
|
26
|
-
grass: string;
|
|
27
|
-
brown: string;
|
|
28
|
-
lime: string;
|
|
29
|
-
yellow: string;
|
|
30
|
-
gold: string;
|
|
31
|
-
bronze: string;
|
|
32
|
-
gray: string;
|
|
33
|
-
};
|
|
34
14
|
declare const avatarVariants: (props?: ({
|
|
35
15
|
variant?: "blue" | "amber" | "red" | "green" | "plum" | "crimson" | "purple" | "violet" | "indigo" | "cyan" | "teal" | "grass" | "brown" | "lime" | "yellow" | "gold" | "bronze" | "gray" | null | undefined;
|
|
36
16
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
37
17
|
declare const Avatar: React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
38
18
|
|
|
39
|
-
export { Avatar
|
|
19
|
+
export { Avatar };
|
package/dist/Button/index.d.mts
CHANGED
|
@@ -11,12 +11,6 @@ declare const buttonSizes: (props?: ({
|
|
|
11
11
|
declare const iconButtonSizes: (props?: ({
|
|
12
12
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
13
13
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
14
|
-
declare const iconSizes: {
|
|
15
|
-
xs: number;
|
|
16
|
-
sm: number;
|
|
17
|
-
md: number;
|
|
18
|
-
lg: number;
|
|
19
|
-
};
|
|
20
14
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants>, VariantProps<typeof buttonSizes> {
|
|
21
15
|
icon?: boolean;
|
|
22
16
|
isLoading?: boolean;
|
|
@@ -24,4 +18,4 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, Var
|
|
|
24
18
|
}
|
|
25
19
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
26
20
|
|
|
27
|
-
export { Button, type ButtonProps, buttonSizes, buttonVariants, iconButtonSizes
|
|
21
|
+
export { Button, type ButtonProps, buttonSizes, buttonVariants, iconButtonSizes };
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -11,12 +11,6 @@ declare const buttonSizes: (props?: ({
|
|
|
11
11
|
declare const iconButtonSizes: (props?: ({
|
|
12
12
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
13
13
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
14
|
-
declare const iconSizes: {
|
|
15
|
-
xs: number;
|
|
16
|
-
sm: number;
|
|
17
|
-
md: number;
|
|
18
|
-
lg: number;
|
|
19
|
-
};
|
|
20
14
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants>, VariantProps<typeof buttonSizes> {
|
|
21
15
|
icon?: boolean;
|
|
22
16
|
isLoading?: boolean;
|
|
@@ -24,4 +18,4 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, Var
|
|
|
24
18
|
}
|
|
25
19
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
26
20
|
|
|
27
|
-
export { Button, type ButtonProps, buttonSizes, buttonVariants, iconButtonSizes
|
|
21
|
+
export { Button, type ButtonProps, buttonSizes, buttonVariants, iconButtonSizes };
|
package/dist/Calendar/index.d.ts
CHANGED
package/dist/Command/index.d.mts
CHANGED
|
@@ -1,96 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
6
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
7
|
-
} & {
|
|
8
|
-
asChild?: boolean | undefined;
|
|
9
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
10
|
-
label?: string | undefined;
|
|
11
|
-
shouldFilter?: boolean | undefined;
|
|
12
|
-
filter?: ((value: string, search: string, keywords?: string[] | undefined) => number) | undefined;
|
|
13
|
-
defaultValue?: string | undefined;
|
|
14
|
-
value?: string | undefined;
|
|
15
|
-
onValueChange?: ((value: string) => void) | undefined;
|
|
16
|
-
loop?: boolean | undefined;
|
|
17
|
-
disablePointerSelection?: boolean | undefined;
|
|
18
|
-
vimBindings?: boolean | undefined;
|
|
19
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
-
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
21
|
-
ref?: React.Ref<HTMLInputElement> | undefined;
|
|
22
|
-
} & {
|
|
23
|
-
asChild?: boolean | undefined;
|
|
24
|
-
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
25
|
-
value?: string | undefined;
|
|
26
|
-
onValueChange?: ((search: string) => void) | undefined;
|
|
27
|
-
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
28
|
-
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
29
|
-
children?: React.ReactNode;
|
|
30
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
31
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
32
|
-
} & {
|
|
33
|
-
asChild?: boolean | undefined;
|
|
34
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
35
|
-
label?: string | undefined;
|
|
36
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
interface CommandEmptyExtension {
|
|
38
|
-
title?: string;
|
|
39
|
-
description?: string;
|
|
40
|
-
}
|
|
41
|
-
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
42
|
-
children?: React.ReactNode;
|
|
43
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
44
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
45
|
-
} & {
|
|
46
|
-
asChild?: boolean | undefined;
|
|
47
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & CommandEmptyExtension & React.RefAttributes<HTMLDivElement & CommandEmptyExtension>>;
|
|
48
|
-
declare const CommandLoading: React.ForwardRefExoticComponent<Omit<{
|
|
49
|
-
children?: React.ReactNode;
|
|
50
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
51
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
52
|
-
} & {
|
|
53
|
-
asChild?: boolean | undefined;
|
|
54
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
55
|
-
progress?: number | undefined;
|
|
56
|
-
label?: string | undefined;
|
|
57
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
58
|
-
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
59
|
-
children?: React.ReactNode;
|
|
60
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
61
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
62
|
-
} & {
|
|
63
|
-
asChild?: boolean | undefined;
|
|
64
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
65
|
-
heading?: React.ReactNode;
|
|
66
|
-
value?: string | undefined;
|
|
67
|
-
forceMount?: boolean | undefined;
|
|
68
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
69
|
-
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
70
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
71
|
-
} & {
|
|
72
|
-
asChild?: boolean | undefined;
|
|
73
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
74
|
-
alwaysRender?: boolean | undefined;
|
|
75
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
76
|
-
type CommandItemExtension = {
|
|
77
|
-
icon?: JSX.Element;
|
|
78
|
-
checkbox?: boolean;
|
|
79
|
-
checked?: boolean;
|
|
80
|
-
description?: string;
|
|
81
|
-
};
|
|
82
|
-
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
83
|
-
children?: React.ReactNode;
|
|
84
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
85
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
86
|
-
} & {
|
|
87
|
-
asChild?: boolean | undefined;
|
|
88
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "value" | "disabled"> & {
|
|
89
|
-
disabled?: boolean | undefined;
|
|
90
|
-
onSelect?: ((value: string) => void) | undefined;
|
|
91
|
-
value?: string | undefined;
|
|
92
|
-
keywords?: string[] | undefined;
|
|
93
|
-
forceMount?: boolean | undefined;
|
|
94
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & CommandItemExtension & React.RefAttributes<HTMLDivElement & CommandItemExtension>>;
|
|
95
|
-
|
|
96
|
-
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemExtension, CommandList, CommandLoading, CommandSeparator };
|
|
1
|
+
export { a as Command, b as CommandEmpty, c as CommandGroup, d as CommandInput, e as CommandItem, f as CommandList, g as CommandLoading, h as CommandSeparator } from '../index-Jp7jKI5I.mjs';
|
|
2
|
+
import 'react';
|
package/dist/Command/index.d.ts
CHANGED
|
@@ -1,96 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
6
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
7
|
-
} & {
|
|
8
|
-
asChild?: boolean | undefined;
|
|
9
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
10
|
-
label?: string | undefined;
|
|
11
|
-
shouldFilter?: boolean | undefined;
|
|
12
|
-
filter?: ((value: string, search: string, keywords?: string[] | undefined) => number) | undefined;
|
|
13
|
-
defaultValue?: string | undefined;
|
|
14
|
-
value?: string | undefined;
|
|
15
|
-
onValueChange?: ((value: string) => void) | undefined;
|
|
16
|
-
loop?: boolean | undefined;
|
|
17
|
-
disablePointerSelection?: boolean | undefined;
|
|
18
|
-
vimBindings?: boolean | undefined;
|
|
19
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
-
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
21
|
-
ref?: React.Ref<HTMLInputElement> | undefined;
|
|
22
|
-
} & {
|
|
23
|
-
asChild?: boolean | undefined;
|
|
24
|
-
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
25
|
-
value?: string | undefined;
|
|
26
|
-
onValueChange?: ((search: string) => void) | undefined;
|
|
27
|
-
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
28
|
-
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
29
|
-
children?: React.ReactNode;
|
|
30
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
31
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
32
|
-
} & {
|
|
33
|
-
asChild?: boolean | undefined;
|
|
34
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
35
|
-
label?: string | undefined;
|
|
36
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
interface CommandEmptyExtension {
|
|
38
|
-
title?: string;
|
|
39
|
-
description?: string;
|
|
40
|
-
}
|
|
41
|
-
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
42
|
-
children?: React.ReactNode;
|
|
43
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
44
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
45
|
-
} & {
|
|
46
|
-
asChild?: boolean | undefined;
|
|
47
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & CommandEmptyExtension & React.RefAttributes<HTMLDivElement & CommandEmptyExtension>>;
|
|
48
|
-
declare const CommandLoading: React.ForwardRefExoticComponent<Omit<{
|
|
49
|
-
children?: React.ReactNode;
|
|
50
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
51
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
52
|
-
} & {
|
|
53
|
-
asChild?: boolean | undefined;
|
|
54
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
55
|
-
progress?: number | undefined;
|
|
56
|
-
label?: string | undefined;
|
|
57
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
58
|
-
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
59
|
-
children?: React.ReactNode;
|
|
60
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
61
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
62
|
-
} & {
|
|
63
|
-
asChild?: boolean | undefined;
|
|
64
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
65
|
-
heading?: React.ReactNode;
|
|
66
|
-
value?: string | undefined;
|
|
67
|
-
forceMount?: boolean | undefined;
|
|
68
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
69
|
-
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
70
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
71
|
-
} & {
|
|
72
|
-
asChild?: boolean | undefined;
|
|
73
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
74
|
-
alwaysRender?: boolean | undefined;
|
|
75
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
76
|
-
type CommandItemExtension = {
|
|
77
|
-
icon?: JSX.Element;
|
|
78
|
-
checkbox?: boolean;
|
|
79
|
-
checked?: boolean;
|
|
80
|
-
description?: string;
|
|
81
|
-
};
|
|
82
|
-
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
83
|
-
children?: React.ReactNode;
|
|
84
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
85
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
86
|
-
} & {
|
|
87
|
-
asChild?: boolean | undefined;
|
|
88
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "value" | "disabled"> & {
|
|
89
|
-
disabled?: boolean | undefined;
|
|
90
|
-
onSelect?: ((value: string) => void) | undefined;
|
|
91
|
-
value?: string | undefined;
|
|
92
|
-
keywords?: string[] | undefined;
|
|
93
|
-
forceMount?: boolean | undefined;
|
|
94
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & CommandItemExtension & React.RefAttributes<HTMLDivElement & CommandItemExtension>>;
|
|
95
|
-
|
|
96
|
-
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemExtension, CommandList, CommandLoading, CommandSeparator };
|
|
1
|
+
export { a as Command, b as CommandEmpty, c as CommandGroup, d as CommandInput, e as CommandItem, f as CommandList, g as CommandLoading, h as CommandSeparator } from '../index-Jp7jKI5I.js';
|
|
2
|
+
import 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { CommandItemExtension } from '../
|
|
3
|
+
import { C as CommandItemExtension } from '../index-Jp7jKI5I.mjs';
|
|
4
4
|
|
|
5
5
|
type StringKeys<T> = {
|
|
6
6
|
[K in keyof T]: T[K] extends string ? K : never;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { CommandItemExtension } from '../
|
|
3
|
+
import { C as CommandItemExtension } from '../index-Jp7jKI5I.js';
|
|
4
4
|
|
|
5
5
|
type StringKeys<T> = {
|
|
6
6
|
[K in keyof T]: T[K] extends string ? K : never;
|
package/dist/Input/index.d.mts
CHANGED
package/dist/Input/index.d.ts
CHANGED
|
@@ -16,4 +16,4 @@ interface PaginationProps {
|
|
|
16
16
|
}
|
|
17
17
|
declare const Pagination: ({ totalRowsCaption, nextPageAvailable, previousPageAvailable, currentPageCation, onPageChange, className, }: PaginationProps) => react_jsx_runtime.JSX.Element;
|
|
18
18
|
|
|
19
|
-
export { Pagination, PaginationPageChoice
|
|
19
|
+
export { Pagination, PaginationPageChoice };
|
|
@@ -16,4 +16,4 @@ interface PaginationProps {
|
|
|
16
16
|
}
|
|
17
17
|
declare const Pagination: ({ totalRowsCaption, nextPageAvailable, previousPageAvailable, currentPageCation, onPageChange, className, }: PaginationProps) => react_jsx_runtime.JSX.Element;
|
|
18
18
|
|
|
19
|
-
export { Pagination, PaginationPageChoice
|
|
19
|
+
export { Pagination, PaginationPageChoice };
|
package/dist/Select/index.d.mts
CHANGED
|
@@ -14,4 +14,4 @@ declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.
|
|
|
14
14
|
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
15
|
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
|
|
17
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger,
|
|
17
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue };
|
package/dist/Select/index.d.ts
CHANGED
|
@@ -14,4 +14,4 @@ declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.
|
|
|
14
14
|
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
15
|
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
|
|
17
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger,
|
|
17
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue };
|
package/dist/Textarea/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
cn
|
|
5
5
|
} from "./chunk-JKJ6VK4H.mjs";
|
|
6
6
|
|
|
7
|
-
// src/components/Badge/
|
|
7
|
+
// src/components/Badge/Badge.tsx
|
|
8
8
|
import { cva } from "class-variance-authority";
|
|
9
9
|
|
|
10
10
|
// src/utils/getLabelFromChildren.ts
|
|
@@ -32,7 +32,7 @@ var randomPickFromArray = ({
|
|
|
32
32
|
return array[arrayIndex];
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
// src/components/Badge/
|
|
35
|
+
// src/components/Badge/Badge.tsx
|
|
36
36
|
import { jsx } from "react/jsx-runtime";
|
|
37
37
|
var colors = {
|
|
38
38
|
gray: "text-gray-900",
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
cn
|
|
9
9
|
} from "./chunk-JKJ6VK4H.mjs";
|
|
10
10
|
|
|
11
|
-
// src/components/Button/
|
|
11
|
+
// src/components/Button/Button.tsx
|
|
12
12
|
import * as React from "react";
|
|
13
13
|
import { Slot } from "@radix-ui/react-slot";
|
|
14
14
|
import { cva } from "class-variance-authority";
|
|
@@ -122,6 +122,5 @@ export {
|
|
|
122
122
|
buttonVariants,
|
|
123
123
|
buttonSizes,
|
|
124
124
|
iconButtonSizes,
|
|
125
|
-
iconSizes,
|
|
126
125
|
Button
|
|
127
126
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Button
|
|
3
|
-
} from "./chunk-APPCA7PA.mjs";
|
|
4
1
|
import {
|
|
5
2
|
Checkbox
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PGRZSZPW.mjs";
|
|
4
|
+
import {
|
|
5
|
+
Button
|
|
6
|
+
} from "./chunk-MABOGCOL.mjs";
|
|
7
7
|
import {
|
|
8
8
|
SearchMdIcon,
|
|
9
9
|
SpinnerIcon,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
cn
|
|
17
17
|
} from "./chunk-JKJ6VK4H.mjs";
|
|
18
18
|
|
|
19
|
-
// src/components/Command/
|
|
19
|
+
// src/components/Command/Command.tsx
|
|
20
20
|
import * as React from "react";
|
|
21
21
|
import { useState } from "react";
|
|
22
22
|
import { Command as CommandPrimitive } from "cmdk";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
cn
|
|
9
9
|
} from "./chunk-JKJ6VK4H.mjs";
|
|
10
10
|
|
|
11
|
-
// src/components/Checkbox/
|
|
11
|
+
// src/components/Checkbox/Checkbox.tsx
|
|
12
12
|
import * as React from "react";
|
|
13
13
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
14
14
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -56,7 +56,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
56
56
|
));
|
|
57
57
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
58
|
|
|
59
|
-
// src/components/Accordion/index.
|
|
59
|
+
// src/components/Accordion/index.ts
|
|
60
60
|
var Accordion_exports = {};
|
|
61
61
|
__export(Accordion_exports, {
|
|
62
62
|
Accordion: () => Accordion,
|
|
@@ -65,6 +65,8 @@ __export(Accordion_exports, {
|
|
|
65
65
|
AccordionTrigger: () => AccordionTrigger2
|
|
66
66
|
});
|
|
67
67
|
module.exports = __toCommonJS(Accordion_exports);
|
|
68
|
+
|
|
69
|
+
// src/components/Accordion/Accordion.tsx
|
|
68
70
|
var import_react2 = __toESM(require("react"));
|
|
69
71
|
var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
|
|
70
72
|
|
|
@@ -107,7 +109,7 @@ function cn(...inputs) {
|
|
|
107
109
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
108
110
|
}
|
|
109
111
|
|
|
110
|
-
// src/components/Accordion/
|
|
112
|
+
// src/components/Accordion/Accordion.tsx
|
|
111
113
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
112
114
|
var AccordionItem = AccordionPrimitive.Item;
|
|
113
115
|
var Accordion = AccordionPrimitive.Root;
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
cn
|
|
9
9
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
10
10
|
|
|
11
|
-
// src/components/Accordion/
|
|
11
|
+
// src/components/Accordion/Accordion.tsx
|
|
12
12
|
import React from "react";
|
|
13
13
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -56,7 +56,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
56
56
|
));
|
|
57
57
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
58
|
|
|
59
|
-
// src/components/AlertDialog/index.
|
|
59
|
+
// src/components/AlertDialog/index.ts
|
|
60
60
|
var AlertDialog_exports = {};
|
|
61
61
|
__export(AlertDialog_exports, {
|
|
62
62
|
AlertDialog: () => AlertDialog,
|
|
@@ -70,6 +70,8 @@ __export(AlertDialog_exports, {
|
|
|
70
70
|
AlertDialogTrigger: () => AlertDialogTrigger
|
|
71
71
|
});
|
|
72
72
|
module.exports = __toCommonJS(AlertDialog_exports);
|
|
73
|
+
|
|
74
|
+
// src/components/AlertDialog/AlertDialog.tsx
|
|
73
75
|
var React2 = __toESM(require("react"));
|
|
74
76
|
var AlertDialogPrimitive = __toESM(require("@radix-ui/react-alert-dialog"));
|
|
75
77
|
|
|
@@ -80,7 +82,7 @@ function cn(...inputs) {
|
|
|
80
82
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
81
83
|
}
|
|
82
84
|
|
|
83
|
-
// src/components/Button/
|
|
85
|
+
// src/components/Button/Button.tsx
|
|
84
86
|
var React = __toESM(require("react"));
|
|
85
87
|
var import_react_slot = require("@radix-ui/react-slot");
|
|
86
88
|
var import_class_variance_authority = require("class-variance-authority");
|
|
@@ -124,7 +126,7 @@ var SpinnerIcon = (0, import_react.forwardRef)(
|
|
|
124
126
|
}
|
|
125
127
|
);
|
|
126
128
|
|
|
127
|
-
// src/components/Button/
|
|
129
|
+
// src/components/Button/Button.tsx
|
|
128
130
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
129
131
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
130
132
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium ring-offset-background transition-colors relative focus-visible:outline-none focus-visible:ring-2 disabled:select-none disabled:pointer-events-none disabled:opacity-40",
|
|
@@ -231,7 +233,7 @@ var Button = React.forwardRef(
|
|
|
231
233
|
);
|
|
232
234
|
Button.displayName = "Button";
|
|
233
235
|
|
|
234
|
-
// src/components/AlertDialog/
|
|
236
|
+
// src/components/AlertDialog/AlertDialog.tsx
|
|
235
237
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
236
238
|
var AlertDialog = AlertDialogPrimitive.Root;
|
|
237
239
|
var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buttonSizes,
|
|
3
3
|
buttonVariants
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-MABOGCOL.mjs";
|
|
5
5
|
import "../../chunk-FCKIVF33.mjs";
|
|
6
6
|
import "../../chunk-ZUDNZTUE.mjs";
|
|
7
7
|
import {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
cn
|
|
12
12
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
13
13
|
|
|
14
|
-
// src/components/AlertDialog/
|
|
14
|
+
// src/components/AlertDialog/AlertDialog.tsx
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -46,15 +46,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
46
46
|
};
|
|
47
47
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
48
|
|
|
49
|
-
// src/components/Avatar/index.
|
|
49
|
+
// src/components/Avatar/index.ts
|
|
50
50
|
var Avatar_exports = {};
|
|
51
51
|
__export(Avatar_exports, {
|
|
52
|
-
Avatar: () => Avatar
|
|
53
|
-
avatarColors: () => avatarColors,
|
|
54
|
-
avatarSizes: () => avatarSizes,
|
|
55
|
-
avatarVariants: () => avatarVariants
|
|
52
|
+
Avatar: () => Avatar
|
|
56
53
|
});
|
|
57
54
|
module.exports = __toCommonJS(Avatar_exports);
|
|
55
|
+
|
|
56
|
+
// src/components/Avatar/Avatar.tsx
|
|
58
57
|
var import_react = require("react");
|
|
59
58
|
var import_class_variance_authority = require("class-variance-authority");
|
|
60
59
|
|
|
@@ -65,7 +64,7 @@ function cn(...inputs) {
|
|
|
65
64
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
66
65
|
}
|
|
67
66
|
|
|
68
|
-
// src/components/Avatar/
|
|
67
|
+
// src/components/Avatar/Avatar.tsx
|
|
69
68
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
70
69
|
var avatarSizes = (0, import_class_variance_authority.cva)("", {
|
|
71
70
|
variants: {
|
|
@@ -151,8 +150,5 @@ var Avatar = (0, import_react.forwardRef)(function Avatar2(_a, forwardedRef) {
|
|
|
151
150
|
});
|
|
152
151
|
// Annotate the CommonJS export names for ESM import in node:
|
|
153
152
|
0 && (module.exports = {
|
|
154
|
-
Avatar
|
|
155
|
-
avatarColors,
|
|
156
|
-
avatarSizes,
|
|
157
|
-
avatarVariants
|
|
153
|
+
Avatar
|
|
158
154
|
});
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
cn
|
|
6
6
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
7
7
|
|
|
8
|
-
// src/components/Avatar/
|
|
8
|
+
// src/components/Avatar/Avatar.tsx
|
|
9
9
|
import { forwardRef } from "react";
|
|
10
10
|
import { cva } from "class-variance-authority";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -92,8 +92,5 @@ var Avatar = forwardRef(function Avatar2(_a, forwardedRef) {
|
|
|
92
92
|
);
|
|
93
93
|
});
|
|
94
94
|
export {
|
|
95
|
-
Avatar
|
|
96
|
-
avatarColors,
|
|
97
|
-
avatarSizes,
|
|
98
|
-
avatarVariants
|
|
95
|
+
Avatar
|
|
99
96
|
};
|