@cloudwick/astral-ui 6.0.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/accordion/accordionVariants.d.ts +97 -10
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/adpIcon/adpIconVariants.d.ts +40 -6
- package/dist/components/avatar/avatarVariants.d.ts +58 -5
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/avatarGroup/avatarGroupVariants.d.ts +16 -3
- package/dist/components/badge/badgeVariants.d.ts +58 -5
- package/dist/components/breadcrumbs/breadcrumbsVariants.d.ts +55 -10
- package/dist/components/breadcrumbs/index.d.ts +3 -5
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/buttonVariants.d.ts +73 -6
- package/dist/components/card/cardVariants.d.ts +43 -4
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -0
- package/dist/components/checkbox/checkboxVariants.d.ts +112 -9
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkboxGroup/checkboxGroupVariants.d.ts +79 -7
- package/dist/components/checkboxGroup/index.d.ts +1 -1
- package/dist/components/ctaGroup/ctaGroupVariants.d.ts +40 -5
- package/dist/components/ctaGroup/index.d.ts +1 -1
- package/dist/components/dataTable/dataTableVariants.d.ts +103 -22
- package/dist/components/dataTable/index.d.ts +1 -1
- package/dist/components/datePicker/datePicker.d.ts +1 -1
- package/dist/components/datePicker/index.d.ts +0 -1
- package/dist/components/distributionSlider/distributionSliderVariants.d.ts +166 -27
- package/dist/components/distributionSlider/index.d.ts +1 -1
- package/dist/components/dropdown/dropdownVariants.d.ts +109 -11
- package/dist/components/dropdown/index.d.ts +2 -2
- package/dist/components/emptyState/emptyStateVariants.d.ts +49 -5
- package/dist/components/emptyState/index.d.ts +1 -1
- package/dist/components/fileUpload/fileUploadVariants.d.ts +106 -4
- package/dist/components/fileUpload/statusCardVariants.d.ts +127 -3
- package/dist/components/loader/index.d.ts +1 -1
- package/dist/components/loader/loaderVariants.d.ts +67 -7
- package/dist/components/modal/index.d.ts +1 -1
- package/dist/components/modal/modalVariants.d.ts +28 -4
- package/dist/components/otp/otpVariants.d.ts +16 -3
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/paginationVariants.d.ts +61 -10
- package/dist/components/panel/index.d.ts +2 -2
- package/dist/components/panel/panelVariants.d.ts +247 -49
- package/dist/components/panelGroup/panelGroupVariants.d.ts +109 -8
- package/dist/components/progress/index.d.ts +1 -1
- package/dist/components/progress/progressVariants.d.ts +220 -24
- package/dist/components/radio/index.d.ts +1 -1
- package/dist/components/radio/radioVariants.d.ts +70 -7
- package/dist/components/radioGroup/index.d.ts +1 -1
- package/dist/components/radioGroup/radioGroupVariants.d.ts +112 -12
- package/dist/components/scrollbar/index.d.ts +1 -1
- package/dist/components/scrollbar/scrollbarVariants.d.ts +100 -26
- package/dist/components/select/selectVariants.d.ts +40 -9
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/tabsVariants.d.ts +133 -12
- package/dist/components/textCopy/textCopyVariants.d.ts +13 -3
- package/dist/components/textField/textFieldVariants.d.ts +121 -15
- package/dist/components/textarea/index.d.ts +1 -1
- package/dist/components/textarea/textareaVariants.d.ts +67 -9
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/toastVariants.d.ts +94 -10
- package/dist/components/toggle/index.d.ts +1 -1
- package/dist/components/toggle/toggleVariants.d.ts +103 -12
- package/dist/components/tooltip/tooltipVariants.d.ts +73 -3
- package/dist/components/truncate/truncateVariants.d.ts +16 -3
- package/dist/css/index.min.css +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.esm.js +5 -5
- package/dist/utils/index.d.ts +0 -1
- package/package.json +5 -6
- package/tsconfig.eslint.json +4 -2
- package/dist/components/datePicker/datePickerVariants.d.ts +0 -43
- package/dist/utils/cn.d.ts +0 -9
package/README.md
CHANGED
|
@@ -1,10 +1,97 @@
|
|
|
1
|
-
export declare const accordionVariants: (
|
|
2
|
-
size
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
export declare const accordionVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
xs: {
|
|
4
|
+
header: string;
|
|
5
|
+
content: string;
|
|
6
|
+
};
|
|
7
|
+
sm: {
|
|
8
|
+
header: string;
|
|
9
|
+
content: string;
|
|
10
|
+
};
|
|
11
|
+
md: {
|
|
12
|
+
header: string;
|
|
13
|
+
content: string;
|
|
14
|
+
};
|
|
15
|
+
lg: {
|
|
16
|
+
header: string;
|
|
17
|
+
content: string;
|
|
18
|
+
};
|
|
19
|
+
xl: {
|
|
20
|
+
header: string;
|
|
21
|
+
content: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
expanded: {
|
|
25
|
+
true: {
|
|
26
|
+
content: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
base: string[];
|
|
31
|
+
header: string;
|
|
32
|
+
content: string;
|
|
33
|
+
}, undefined, {
|
|
34
|
+
size: {
|
|
35
|
+
xs: {
|
|
36
|
+
header: string;
|
|
37
|
+
content: string;
|
|
38
|
+
};
|
|
39
|
+
sm: {
|
|
40
|
+
header: string;
|
|
41
|
+
content: string;
|
|
42
|
+
};
|
|
43
|
+
md: {
|
|
44
|
+
header: string;
|
|
45
|
+
content: string;
|
|
46
|
+
};
|
|
47
|
+
lg: {
|
|
48
|
+
header: string;
|
|
49
|
+
content: string;
|
|
50
|
+
};
|
|
51
|
+
xl: {
|
|
52
|
+
header: string;
|
|
53
|
+
content: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
expanded: {
|
|
57
|
+
true: {
|
|
58
|
+
content: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
}, {
|
|
62
|
+
base: string[];
|
|
63
|
+
header: string;
|
|
64
|
+
content: string;
|
|
65
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
66
|
+
size: {
|
|
67
|
+
xs: {
|
|
68
|
+
header: string;
|
|
69
|
+
content: string;
|
|
70
|
+
};
|
|
71
|
+
sm: {
|
|
72
|
+
header: string;
|
|
73
|
+
content: string;
|
|
74
|
+
};
|
|
75
|
+
md: {
|
|
76
|
+
header: string;
|
|
77
|
+
content: string;
|
|
78
|
+
};
|
|
79
|
+
lg: {
|
|
80
|
+
header: string;
|
|
81
|
+
content: string;
|
|
82
|
+
};
|
|
83
|
+
xl: {
|
|
84
|
+
header: string;
|
|
85
|
+
content: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
expanded: {
|
|
89
|
+
true: {
|
|
90
|
+
content: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}, {
|
|
94
|
+
base: string[];
|
|
95
|
+
header: string;
|
|
96
|
+
content: string;
|
|
97
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Accordion, type IAccordionProps, type IAccordionHeaderProps, type IAccordionBodyProps, type TAccordionSize, type IAccordionType } from "./accordion";
|
|
2
|
-
export { accordionVariants
|
|
2
|
+
export { accordionVariants } from "./accordionVariants";
|
|
@@ -1,9 +1,43 @@
|
|
|
1
|
-
export declare const adpIconVariants: (
|
|
2
|
-
variant
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export declare const adpIconVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
variant: {
|
|
3
|
+
default: string;
|
|
4
|
+
};
|
|
5
|
+
fixedWidth: {
|
|
6
|
+
true: string;
|
|
7
|
+
};
|
|
8
|
+
padded: {
|
|
9
|
+
true: string;
|
|
10
|
+
};
|
|
11
|
+
spin: {
|
|
12
|
+
true: string;
|
|
13
|
+
};
|
|
14
|
+
}, undefined, "fill-current", {
|
|
15
|
+
variant: {
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
fixedWidth: {
|
|
19
|
+
true: string;
|
|
20
|
+
};
|
|
21
|
+
padded: {
|
|
22
|
+
true: string;
|
|
23
|
+
};
|
|
24
|
+
spin: {
|
|
25
|
+
true: string;
|
|
26
|
+
};
|
|
27
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
28
|
+
variant: {
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
fixedWidth: {
|
|
32
|
+
true: string;
|
|
33
|
+
};
|
|
34
|
+
padded: {
|
|
35
|
+
true: string;
|
|
36
|
+
};
|
|
37
|
+
spin: {
|
|
38
|
+
true: string;
|
|
39
|
+
};
|
|
40
|
+
}, undefined, "fill-current", unknown, unknown, undefined>>;
|
|
7
41
|
export declare const iconSizeProportions: {
|
|
8
42
|
xxs: number;
|
|
9
43
|
xs: number;
|
|
@@ -1,5 +1,58 @@
|
|
|
1
|
-
export declare const avatarVariants: (
|
|
2
|
-
size
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export declare const avatarVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
sm: {
|
|
4
|
+
base: string;
|
|
5
|
+
};
|
|
6
|
+
md: {
|
|
7
|
+
base: string;
|
|
8
|
+
};
|
|
9
|
+
lg: {
|
|
10
|
+
base: string;
|
|
11
|
+
};
|
|
12
|
+
xl: {
|
|
13
|
+
base: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
base: string[];
|
|
18
|
+
image: string;
|
|
19
|
+
fallback: string;
|
|
20
|
+
}, undefined, {
|
|
21
|
+
size: {
|
|
22
|
+
sm: {
|
|
23
|
+
base: string;
|
|
24
|
+
};
|
|
25
|
+
md: {
|
|
26
|
+
base: string;
|
|
27
|
+
};
|
|
28
|
+
lg: {
|
|
29
|
+
base: string;
|
|
30
|
+
};
|
|
31
|
+
xl: {
|
|
32
|
+
base: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
base: string[];
|
|
37
|
+
image: string;
|
|
38
|
+
fallback: string;
|
|
39
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
40
|
+
size: {
|
|
41
|
+
sm: {
|
|
42
|
+
base: string;
|
|
43
|
+
};
|
|
44
|
+
md: {
|
|
45
|
+
base: string;
|
|
46
|
+
};
|
|
47
|
+
lg: {
|
|
48
|
+
base: string;
|
|
49
|
+
};
|
|
50
|
+
xl: {
|
|
51
|
+
base: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}, {
|
|
55
|
+
base: string[];
|
|
56
|
+
image: string;
|
|
57
|
+
fallback: string;
|
|
58
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Avatar, type IAvatarProps } from "./avatar";
|
|
2
|
-
export { avatarVariants
|
|
2
|
+
export { avatarVariants } from "./avatarVariants";
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
-
export declare const avatarGroupVariants: (
|
|
2
|
-
clickable
|
|
3
|
-
|
|
1
|
+
export declare const avatarGroupVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
clickable: {
|
|
3
|
+
true: string;
|
|
4
|
+
false: string;
|
|
5
|
+
};
|
|
6
|
+
}, undefined, "inline-flex items-center flex-wrap -space-x-3", {
|
|
7
|
+
clickable: {
|
|
8
|
+
true: string;
|
|
9
|
+
false: string;
|
|
10
|
+
};
|
|
11
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
12
|
+
clickable: {
|
|
13
|
+
true: string;
|
|
14
|
+
false: string;
|
|
15
|
+
};
|
|
16
|
+
}, undefined, "inline-flex items-center flex-wrap -space-x-3", unknown, unknown, undefined>>;
|
|
@@ -1,5 +1,58 @@
|
|
|
1
|
-
export declare const badgeVariants: (
|
|
2
|
-
variant
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export declare const badgeVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
variant: {
|
|
3
|
+
filled: string;
|
|
4
|
+
ghost: string;
|
|
5
|
+
outline: string;
|
|
6
|
+
text: string;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
sm: string;
|
|
10
|
+
md: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
};
|
|
13
|
+
color: {
|
|
14
|
+
primary: string;
|
|
15
|
+
secondary: string;
|
|
16
|
+
success: string;
|
|
17
|
+
warning: string;
|
|
18
|
+
error: string;
|
|
19
|
+
};
|
|
20
|
+
}, undefined, "inline-flex justify-center items-center gap-1 rounded-full font-medium ease-in-out duration-300 bg-transparent", {
|
|
21
|
+
variant: {
|
|
22
|
+
filled: string;
|
|
23
|
+
ghost: string;
|
|
24
|
+
outline: string;
|
|
25
|
+
text: string;
|
|
26
|
+
};
|
|
27
|
+
size: {
|
|
28
|
+
sm: string;
|
|
29
|
+
md: string;
|
|
30
|
+
lg: string;
|
|
31
|
+
};
|
|
32
|
+
color: {
|
|
33
|
+
primary: string;
|
|
34
|
+
secondary: string;
|
|
35
|
+
success: string;
|
|
36
|
+
warning: string;
|
|
37
|
+
error: string;
|
|
38
|
+
};
|
|
39
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
40
|
+
variant: {
|
|
41
|
+
filled: string;
|
|
42
|
+
ghost: string;
|
|
43
|
+
outline: string;
|
|
44
|
+
text: string;
|
|
45
|
+
};
|
|
46
|
+
size: {
|
|
47
|
+
sm: string;
|
|
48
|
+
md: string;
|
|
49
|
+
lg: string;
|
|
50
|
+
};
|
|
51
|
+
color: {
|
|
52
|
+
primary: string;
|
|
53
|
+
secondary: string;
|
|
54
|
+
success: string;
|
|
55
|
+
warning: string;
|
|
56
|
+
error: string;
|
|
57
|
+
};
|
|
58
|
+
}, undefined, "inline-flex justify-center items-center gap-1 rounded-full font-medium ease-in-out duration-300 bg-transparent", unknown, unknown, undefined>>;
|
|
@@ -1,10 +1,55 @@
|
|
|
1
|
-
export declare const breadcrumbsVariants:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
export declare const breadcrumbsVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
separatorType: {
|
|
3
|
+
arrow: {};
|
|
4
|
+
dot: {};
|
|
5
|
+
};
|
|
6
|
+
active: {
|
|
7
|
+
true: {
|
|
8
|
+
item: string;
|
|
9
|
+
};
|
|
10
|
+
false: {};
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
root: string;
|
|
14
|
+
list: string;
|
|
15
|
+
separator: string;
|
|
16
|
+
svgIcon: string;
|
|
17
|
+
dotSeparator: string;
|
|
18
|
+
item: string;
|
|
19
|
+
}, undefined, {
|
|
20
|
+
separatorType: {
|
|
21
|
+
arrow: {};
|
|
22
|
+
dot: {};
|
|
23
|
+
};
|
|
24
|
+
active: {
|
|
25
|
+
true: {
|
|
26
|
+
item: string;
|
|
27
|
+
};
|
|
28
|
+
false: {};
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
root: string;
|
|
32
|
+
list: string;
|
|
33
|
+
separator: string;
|
|
34
|
+
svgIcon: string;
|
|
35
|
+
dotSeparator: string;
|
|
36
|
+
item: string;
|
|
37
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
38
|
+
separatorType: {
|
|
39
|
+
arrow: {};
|
|
40
|
+
dot: {};
|
|
41
|
+
};
|
|
42
|
+
active: {
|
|
43
|
+
true: {
|
|
44
|
+
item: string;
|
|
45
|
+
};
|
|
46
|
+
false: {};
|
|
47
|
+
};
|
|
48
|
+
}, {
|
|
49
|
+
root: string;
|
|
50
|
+
list: string;
|
|
51
|
+
separator: string;
|
|
52
|
+
svgIcon: string;
|
|
53
|
+
dotSeparator: string;
|
|
54
|
+
item: string;
|
|
55
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { Breadcrumbs, BreadcrumbItem, breadcrumbsVariants, breadcrumbsListVariants, breadcrumbsSeparatorVariants, breadcrumbsSvgIconVariants, breadcrumbsDotSeparatorVariants, breadcrumbsItemVariants };
|
|
5
|
-
export type { IBreadcrumbsProps, IBreadcrumbItemProps };
|
|
1
|
+
export { Breadcrumbs, type IBreadcrumbsProps } from "./breadcrumbs";
|
|
2
|
+
export { BreadcrumbItem, type IBreadcrumbItemProps } from "./breadcrumbItem";
|
|
3
|
+
export { breadcrumbsVariants } from "./breadcrumbsVariants";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { type TIconType } from "../adpIcon";
|
|
3
2
|
import type { Placement } from "@floating-ui/react";
|
|
3
|
+
import { type TIconType } from "../adpIcon";
|
|
4
4
|
export declare const colors: readonly ["primary", "secondary", "success", "warning", "error"];
|
|
5
5
|
export declare const variants: readonly ["filled", "outline", "shade", "text"];
|
|
6
6
|
export declare enum ESizes {
|
|
@@ -1,6 +1,73 @@
|
|
|
1
|
-
export declare const buttonVariants: (
|
|
2
|
-
variant
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
variant: {
|
|
3
|
+
filled: string;
|
|
4
|
+
outline: string;
|
|
5
|
+
shade: string;
|
|
6
|
+
text: string;
|
|
7
|
+
};
|
|
8
|
+
color: {
|
|
9
|
+
primary: string;
|
|
10
|
+
secondary: string;
|
|
11
|
+
success: string;
|
|
12
|
+
warning: string;
|
|
13
|
+
error: string;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
xs: string;
|
|
17
|
+
sm: string;
|
|
18
|
+
md: string;
|
|
19
|
+
lg: string;
|
|
20
|
+
xl: string;
|
|
21
|
+
};
|
|
22
|
+
hasChildren: {
|
|
23
|
+
true: string;
|
|
24
|
+
};
|
|
25
|
+
}, undefined, "flex items-center justify-center rounded ease-in-out duration-300 w-fit disabled:cursor-not-allowed outline-none focus:transition-none", {
|
|
26
|
+
variant: {
|
|
27
|
+
filled: string;
|
|
28
|
+
outline: string;
|
|
29
|
+
shade: string;
|
|
30
|
+
text: string;
|
|
31
|
+
};
|
|
32
|
+
color: {
|
|
33
|
+
primary: string;
|
|
34
|
+
secondary: string;
|
|
35
|
+
success: string;
|
|
36
|
+
warning: string;
|
|
37
|
+
error: string;
|
|
38
|
+
};
|
|
39
|
+
size: {
|
|
40
|
+
xs: string;
|
|
41
|
+
sm: string;
|
|
42
|
+
md: string;
|
|
43
|
+
lg: string;
|
|
44
|
+
xl: string;
|
|
45
|
+
};
|
|
46
|
+
hasChildren: {
|
|
47
|
+
true: string;
|
|
48
|
+
};
|
|
49
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
50
|
+
variant: {
|
|
51
|
+
filled: string;
|
|
52
|
+
outline: string;
|
|
53
|
+
shade: string;
|
|
54
|
+
text: string;
|
|
55
|
+
};
|
|
56
|
+
color: {
|
|
57
|
+
primary: string;
|
|
58
|
+
secondary: string;
|
|
59
|
+
success: string;
|
|
60
|
+
warning: string;
|
|
61
|
+
error: string;
|
|
62
|
+
};
|
|
63
|
+
size: {
|
|
64
|
+
xs: string;
|
|
65
|
+
sm: string;
|
|
66
|
+
md: string;
|
|
67
|
+
lg: string;
|
|
68
|
+
xl: string;
|
|
69
|
+
};
|
|
70
|
+
hasChildren: {
|
|
71
|
+
true: string;
|
|
72
|
+
};
|
|
73
|
+
}, undefined, "flex items-center justify-center rounded ease-in-out duration-300 w-fit disabled:cursor-not-allowed outline-none focus:transition-none", unknown, unknown, undefined>>;
|
|
@@ -1,4 +1,43 @@
|
|
|
1
|
-
export declare const cardVariants:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const cardVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
4
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
5
|
+
header?: import("tailwind-merge").ClassNameValue;
|
|
6
|
+
body?: import("tailwind-merge").ClassNameValue;
|
|
7
|
+
footer?: import("tailwind-merge").ClassNameValue;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
} | {
|
|
11
|
+
[x: string]: {
|
|
12
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
13
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
14
|
+
header?: import("tailwind-merge").ClassNameValue;
|
|
15
|
+
body?: import("tailwind-merge").ClassNameValue;
|
|
16
|
+
footer?: import("tailwind-merge").ClassNameValue;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
} | {}, {
|
|
20
|
+
base: string;
|
|
21
|
+
header: string;
|
|
22
|
+
body: string;
|
|
23
|
+
footer: string;
|
|
24
|
+
}, undefined, {
|
|
25
|
+
[key: string]: {
|
|
26
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
27
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
28
|
+
header?: import("tailwind-merge").ClassNameValue;
|
|
29
|
+
body?: import("tailwind-merge").ClassNameValue;
|
|
30
|
+
footer?: import("tailwind-merge").ClassNameValue;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
} | {}, {
|
|
34
|
+
base: string;
|
|
35
|
+
header: string;
|
|
36
|
+
body: string;
|
|
37
|
+
footer: string;
|
|
38
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
39
|
+
base: string;
|
|
40
|
+
header: string;
|
|
41
|
+
body: string;
|
|
42
|
+
footer: string;
|
|
43
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Card, CardHeader, CardBody, CardFooter, type ICardHeaderProps } from "./card";
|
|
2
|
-
export { cardVariants
|
|
2
|
+
export { cardVariants } from "./cardVariants";
|
|
@@ -23,6 +23,7 @@ export interface ICheckboxProps extends Omit<React.HTMLProps<HTMLInputElement>,
|
|
|
23
23
|
*/
|
|
24
24
|
ref?: RefObject<HTMLInputElement>;
|
|
25
25
|
}
|
|
26
|
+
export declare const checkmarkClipPath = "polygon(\n 15% 50%,\n 40.1% 75.4%,\n 41.1% 75.7%,\n 42.1% 75.4%,\n 88% 4%,\n 90% 3.5%,\n 92% 4%,\n 94% 5%,\n 97% 7%,\n 97.5% 7.5%,\n 99% 10%,\n 100% 14%,\n 100% 17%,\n 99% 20%,\n 46% 99%,\n 45% 99.5%,\n 44% 100%,\n 43% 100%,\n 41% 100%,\n 40% 100%,\n 37% 97%,\n 5% 65%,\n 4% 62%,\n 4% 59%,\n 4.2% 57.6%,\n 4.8% 55%,\n 6.5% 52.2%,\n 9% 50.5%,\n 11.9% 49.7%\n)";
|
|
26
27
|
/**
|
|
27
28
|
* A standard checkbox component with multiple size and style variants.
|
|
28
29
|
*/
|
|
@@ -1,9 +1,112 @@
|
|
|
1
|
-
export declare const checkboxVariants: (
|
|
2
|
-
variant
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
1
|
+
export declare const checkboxVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
variant: {
|
|
3
|
+
filled: {
|
|
4
|
+
input: string[];
|
|
5
|
+
};
|
|
6
|
+
outline: {
|
|
7
|
+
input: string[];
|
|
8
|
+
};
|
|
9
|
+
"filled-circle": {
|
|
10
|
+
input: string[];
|
|
11
|
+
};
|
|
12
|
+
"outline-circle": {
|
|
13
|
+
input: string[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
sm: {
|
|
18
|
+
input: string;
|
|
19
|
+
label: string;
|
|
20
|
+
};
|
|
21
|
+
md: {
|
|
22
|
+
input: string;
|
|
23
|
+
label: string;
|
|
24
|
+
};
|
|
25
|
+
lg: {
|
|
26
|
+
input: string;
|
|
27
|
+
label: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
true: {
|
|
32
|
+
label: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
input: string[];
|
|
37
|
+
label: string;
|
|
38
|
+
}, undefined, {
|
|
39
|
+
variant: {
|
|
40
|
+
filled: {
|
|
41
|
+
input: string[];
|
|
42
|
+
};
|
|
43
|
+
outline: {
|
|
44
|
+
input: string[];
|
|
45
|
+
};
|
|
46
|
+
"filled-circle": {
|
|
47
|
+
input: string[];
|
|
48
|
+
};
|
|
49
|
+
"outline-circle": {
|
|
50
|
+
input: string[];
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
size: {
|
|
54
|
+
sm: {
|
|
55
|
+
input: string;
|
|
56
|
+
label: string;
|
|
57
|
+
};
|
|
58
|
+
md: {
|
|
59
|
+
input: string;
|
|
60
|
+
label: string;
|
|
61
|
+
};
|
|
62
|
+
lg: {
|
|
63
|
+
input: string;
|
|
64
|
+
label: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
disabled: {
|
|
68
|
+
true: {
|
|
69
|
+
label: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
}, {
|
|
73
|
+
input: string[];
|
|
74
|
+
label: string;
|
|
75
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
76
|
+
variant: {
|
|
77
|
+
filled: {
|
|
78
|
+
input: string[];
|
|
79
|
+
};
|
|
80
|
+
outline: {
|
|
81
|
+
input: string[];
|
|
82
|
+
};
|
|
83
|
+
"filled-circle": {
|
|
84
|
+
input: string[];
|
|
85
|
+
};
|
|
86
|
+
"outline-circle": {
|
|
87
|
+
input: string[];
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
size: {
|
|
91
|
+
sm: {
|
|
92
|
+
input: string;
|
|
93
|
+
label: string;
|
|
94
|
+
};
|
|
95
|
+
md: {
|
|
96
|
+
input: string;
|
|
97
|
+
label: string;
|
|
98
|
+
};
|
|
99
|
+
lg: {
|
|
100
|
+
input: string;
|
|
101
|
+
label: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
disabled: {
|
|
105
|
+
true: {
|
|
106
|
+
label: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}, {
|
|
110
|
+
input: string[];
|
|
111
|
+
label: string;
|
|
112
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Checkbox, type ICheckboxProps } from "./checkbox";
|
|
2
|
-
export { checkboxVariants
|
|
2
|
+
export { checkboxVariants } from "./checkboxVariants";
|