@snapcall/design-system 1.20.0-beta.4 → 1.20.0-beta.5
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 +21 -1
- package/dist/Avatar/index.d.ts +21 -1
- package/dist/Button/index.d.mts +7 -1
- package/dist/Button/index.d.ts +7 -1
- package/dist/Calendar/index.d.mts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Command/index.d.mts +96 -2
- package/dist/Command/index.d.ts +96 -2
- 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-I7KGDNNG.mjs → chunk-22ROPG2O.mjs} +2 -2
- package/dist/{chunk-AHDZKO2U.mjs → chunk-4IMIAFOU.mjs} +3 -3
- package/dist/{chunk-PGRZSZPW.mjs → chunk-655CU734.mjs} +1 -1
- package/dist/{chunk-MABOGCOL.mjs → chunk-APPCA7PA.mjs} +2 -1
- package/dist/{chunk-IZJXAMXC.mjs → chunk-FETPXSOH.mjs} +1 -1
- package/dist/components/Accordion/index.js +2 -4
- package/dist/components/Accordion/index.mjs +1 -1
- package/dist/components/AlertDialog/index.js +4 -6
- package/dist/components/AlertDialog/index.mjs +2 -2
- package/dist/components/Avatar/index.js +10 -6
- package/dist/components/Avatar/index.mjs +5 -2
- package/dist/components/Badge/index.js +2 -4
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Button/index.js +6 -6
- package/dist/components/Button/index.mjs +5 -3
- package/dist/components/Calendar/index.js +3 -5
- package/dist/components/Calendar/index.mjs +2 -2
- package/dist/components/Carousel/index.js +3 -5
- package/dist/components/Carousel/index.mjs +2 -2
- package/dist/components/Checkbox/index.js +2 -4
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/Command/index.js +4 -6
- package/dist/components/Command/index.mjs +3 -3
- package/dist/components/CreatableSelect/index.js +8 -10
- package/dist/components/CreatableSelect/index.mjs +5 -5
- package/dist/components/Dialog/index.js +4 -5
- package/dist/components/Dialog/index.mjs +3 -2
- package/dist/components/DropdownMenu/index.js +3 -5
- package/dist/components/DropdownMenu/index.mjs +2 -2
- package/dist/components/FilterButton/index.js +6 -8
- package/dist/components/FilterButton/index.mjs +3 -3
- package/dist/components/Form/index.js +3 -5
- package/dist/components/Form/index.mjs +2 -2
- package/dist/components/Input/index.js +2 -4
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Label/index.js +2 -4
- package/dist/components/Label/index.mjs +1 -1
- package/dist/components/Link/index.js +2 -4
- 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 +2 -4
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/RadioGroup/index.js +3 -4
- package/dist/components/RadioGroup/index.mjs +2 -1
- package/dist/components/Select/index.js +2 -4
- package/dist/components/Select/index.mjs +1 -1
- package/dist/components/Sheet/index.js +3 -5
- 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 +2 -4
- package/dist/components/Switch/index.mjs +1 -1
- package/dist/components/Table/index.js +2 -4
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/Tabs/index.js +2 -4
- package/dist/components/Tabs/index.mjs +1 -1
- package/dist/components/Textarea/index.js +2 -4
- 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 +2 -4
- package/dist/components/ToggleGroup/index.mjs +1 -1
- package/dist/components/Tooltip/index.js +2 -4
- package/dist/components/Tooltip/index.mjs +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +232 -56
- package/dist/index.mjs +238 -30
- package/package.json +1 -1
- package/dist/index-ra0AVXfz.d.mts +0 -96
- package/dist/index-ra0AVXfz.d.ts +0 -96
package/dist/Avatar/index.d.mts
CHANGED
|
@@ -11,9 +11,29 @@ 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
|
+
};
|
|
14
34
|
declare const avatarVariants: (props?: ({
|
|
15
35
|
variant?: "blue" | "amber" | "red" | "green" | "plum" | "crimson" | "purple" | "violet" | "indigo" | "cyan" | "teal" | "grass" | "brown" | "lime" | "yellow" | "gold" | "bronze" | "gray" | null | undefined;
|
|
16
36
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
17
37
|
declare const Avatar: React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
18
38
|
|
|
19
|
-
export { Avatar };
|
|
39
|
+
export { Avatar, type AvatarProps, avatarColors, avatarSizes, avatarVariants };
|
package/dist/Avatar/index.d.ts
CHANGED
|
@@ -11,9 +11,29 @@ 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
|
+
};
|
|
14
34
|
declare const avatarVariants: (props?: ({
|
|
15
35
|
variant?: "blue" | "amber" | "red" | "green" | "plum" | "crimson" | "purple" | "violet" | "indigo" | "cyan" | "teal" | "grass" | "brown" | "lime" | "yellow" | "gold" | "bronze" | "gray" | null | undefined;
|
|
16
36
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
17
37
|
declare const Avatar: React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
18
38
|
|
|
19
|
-
export { Avatar };
|
|
39
|
+
export { Avatar, type AvatarProps, avatarColors, avatarSizes, avatarVariants };
|
package/dist/Button/index.d.mts
CHANGED
|
@@ -11,6 +11,12 @@ 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
|
+
};
|
|
14
20
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants>, VariantProps<typeof buttonSizes> {
|
|
15
21
|
icon?: boolean;
|
|
16
22
|
isLoading?: boolean;
|
|
@@ -18,4 +24,4 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, Var
|
|
|
18
24
|
}
|
|
19
25
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
26
|
|
|
21
|
-
export { Button, type ButtonProps, buttonSizes, buttonVariants, iconButtonSizes };
|
|
27
|
+
export { Button, type ButtonProps, buttonSizes, buttonVariants, iconButtonSizes, iconSizes };
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -11,6 +11,12 @@ 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
|
+
};
|
|
14
20
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants>, VariantProps<typeof buttonSizes> {
|
|
15
21
|
icon?: boolean;
|
|
16
22
|
isLoading?: boolean;
|
|
@@ -18,4 +24,4 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, Var
|
|
|
18
24
|
}
|
|
19
25
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
26
|
|
|
21
|
-
export { Button, type ButtonProps, buttonSizes, buttonVariants, iconButtonSizes };
|
|
27
|
+
export { Button, type ButtonProps, buttonSizes, buttonVariants, iconButtonSizes, iconSizes };
|
package/dist/Calendar/index.d.ts
CHANGED
package/dist/Command/index.d.mts
CHANGED
|
@@ -1,2 +1,96 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
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 };
|
package/dist/Command/index.d.ts
CHANGED
|
@@ -1,2 +1,96 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { CommandItemExtension } from '../Command/index.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 {
|
|
3
|
+
import { CommandItemExtension } from '../Command/index.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, type PaginationProps };
|
|
@@ -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, type PaginationProps };
|
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, SelectValue };
|
|
17
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, type SelectTriggerExtraProps, 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, SelectValue };
|
|
17
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, type SelectTriggerExtraProps, 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/index.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/index.tsx
|
|
36
36
|
import { jsx } from "react/jsx-runtime";
|
|
37
37
|
var colors = {
|
|
38
38
|
gray: "text-gray-900",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-APPCA7PA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Checkbox
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-655CU734.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/index.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/index.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";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
cn
|
|
9
9
|
} from "./chunk-JKJ6VK4H.mjs";
|
|
10
10
|
|
|
11
|
-
// src/components/Button/
|
|
11
|
+
// src/components/Button/index.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,5 +122,6 @@ export {
|
|
|
122
122
|
buttonVariants,
|
|
123
123
|
buttonSizes,
|
|
124
124
|
iconButtonSizes,
|
|
125
|
+
iconSizes,
|
|
125
126
|
Button
|
|
126
127
|
};
|
|
@@ -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.tsx
|
|
60
60
|
var Accordion_exports = {};
|
|
61
61
|
__export(Accordion_exports, {
|
|
62
62
|
Accordion: () => Accordion,
|
|
@@ -65,8 +65,6 @@ __export(Accordion_exports, {
|
|
|
65
65
|
AccordionTrigger: () => AccordionTrigger2
|
|
66
66
|
});
|
|
67
67
|
module.exports = __toCommonJS(Accordion_exports);
|
|
68
|
-
|
|
69
|
-
// src/components/Accordion/Accordion.tsx
|
|
70
68
|
var import_react2 = __toESM(require("react"));
|
|
71
69
|
var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
|
|
72
70
|
|
|
@@ -109,7 +107,7 @@ function cn(...inputs) {
|
|
|
109
107
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
110
108
|
}
|
|
111
109
|
|
|
112
|
-
// src/components/Accordion/
|
|
110
|
+
// src/components/Accordion/index.tsx
|
|
113
111
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
114
112
|
var AccordionItem = AccordionPrimitive.Item;
|
|
115
113
|
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/index.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.tsx
|
|
60
60
|
var AlertDialog_exports = {};
|
|
61
61
|
__export(AlertDialog_exports, {
|
|
62
62
|
AlertDialog: () => AlertDialog,
|
|
@@ -70,8 +70,6 @@ __export(AlertDialog_exports, {
|
|
|
70
70
|
AlertDialogTrigger: () => AlertDialogTrigger
|
|
71
71
|
});
|
|
72
72
|
module.exports = __toCommonJS(AlertDialog_exports);
|
|
73
|
-
|
|
74
|
-
// src/components/AlertDialog/AlertDialog.tsx
|
|
75
73
|
var React2 = __toESM(require("react"));
|
|
76
74
|
var AlertDialogPrimitive = __toESM(require("@radix-ui/react-alert-dialog"));
|
|
77
75
|
|
|
@@ -82,7 +80,7 @@ function cn(...inputs) {
|
|
|
82
80
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
83
81
|
}
|
|
84
82
|
|
|
85
|
-
// src/components/Button/
|
|
83
|
+
// src/components/Button/index.tsx
|
|
86
84
|
var React = __toESM(require("react"));
|
|
87
85
|
var import_react_slot = require("@radix-ui/react-slot");
|
|
88
86
|
var import_class_variance_authority = require("class-variance-authority");
|
|
@@ -126,7 +124,7 @@ var SpinnerIcon = (0, import_react.forwardRef)(
|
|
|
126
124
|
}
|
|
127
125
|
);
|
|
128
126
|
|
|
129
|
-
// src/components/Button/
|
|
127
|
+
// src/components/Button/index.tsx
|
|
130
128
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
131
129
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
132
130
|
"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",
|
|
@@ -233,7 +231,7 @@ var Button = React.forwardRef(
|
|
|
233
231
|
);
|
|
234
232
|
Button.displayName = "Button";
|
|
235
233
|
|
|
236
|
-
// src/components/AlertDialog/
|
|
234
|
+
// src/components/AlertDialog/index.tsx
|
|
237
235
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
238
236
|
var AlertDialog = AlertDialogPrimitive.Root;
|
|
239
237
|
var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buttonSizes,
|
|
3
3
|
buttonVariants
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-APPCA7PA.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/index.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,14 +46,15 @@ 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.tsx
|
|
50
50
|
var Avatar_exports = {};
|
|
51
51
|
__export(Avatar_exports, {
|
|
52
|
-
Avatar: () => Avatar
|
|
52
|
+
Avatar: () => Avatar,
|
|
53
|
+
avatarColors: () => avatarColors,
|
|
54
|
+
avatarSizes: () => avatarSizes,
|
|
55
|
+
avatarVariants: () => avatarVariants
|
|
53
56
|
});
|
|
54
57
|
module.exports = __toCommonJS(Avatar_exports);
|
|
55
|
-
|
|
56
|
-
// src/components/Avatar/Avatar.tsx
|
|
57
58
|
var import_react = require("react");
|
|
58
59
|
var import_class_variance_authority = require("class-variance-authority");
|
|
59
60
|
|
|
@@ -64,7 +65,7 @@ function cn(...inputs) {
|
|
|
64
65
|
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
// src/components/Avatar/
|
|
68
|
+
// src/components/Avatar/index.tsx
|
|
68
69
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
69
70
|
var avatarSizes = (0, import_class_variance_authority.cva)("", {
|
|
70
71
|
variants: {
|
|
@@ -150,5 +151,8 @@ var Avatar = (0, import_react.forwardRef)(function Avatar2(_a, forwardedRef) {
|
|
|
150
151
|
});
|
|
151
152
|
// Annotate the CommonJS export names for ESM import in node:
|
|
152
153
|
0 && (module.exports = {
|
|
153
|
-
Avatar
|
|
154
|
+
Avatar,
|
|
155
|
+
avatarColors,
|
|
156
|
+
avatarSizes,
|
|
157
|
+
avatarVariants
|
|
154
158
|
});
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
cn
|
|
6
6
|
} from "../../chunk-JKJ6VK4H.mjs";
|
|
7
7
|
|
|
8
|
-
// src/components/Avatar/
|
|
8
|
+
// src/components/Avatar/index.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,5 +92,8 @@ var Avatar = forwardRef(function Avatar2(_a, forwardedRef) {
|
|
|
92
92
|
);
|
|
93
93
|
});
|
|
94
94
|
export {
|
|
95
|
-
Avatar
|
|
95
|
+
Avatar,
|
|
96
|
+
avatarColors,
|
|
97
|
+
avatarSizes,
|
|
98
|
+
avatarVariants
|
|
96
99
|
};
|