@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
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Textarea, type ITextareaProps } from "./textarea";
|
|
2
|
-
export { textareaVariants
|
|
2
|
+
export { textareaVariants } from "./textareaVariants";
|
|
@@ -1,9 +1,67 @@
|
|
|
1
|
-
export declare const textareaVariants: (
|
|
2
|
-
state
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
export declare const textareaVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
state: {
|
|
3
|
+
default: {
|
|
4
|
+
container: string;
|
|
5
|
+
textarea: string;
|
|
6
|
+
helperText: string;
|
|
7
|
+
};
|
|
8
|
+
error: {
|
|
9
|
+
container: string;
|
|
10
|
+
textarea: string;
|
|
11
|
+
helperText: string;
|
|
12
|
+
};
|
|
13
|
+
disabled: {
|
|
14
|
+
container: string;
|
|
15
|
+
textarea: string;
|
|
16
|
+
helperText: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
container: string;
|
|
21
|
+
textarea: string;
|
|
22
|
+
helperText: string;
|
|
23
|
+
}, undefined, {
|
|
24
|
+
state: {
|
|
25
|
+
default: {
|
|
26
|
+
container: string;
|
|
27
|
+
textarea: string;
|
|
28
|
+
helperText: string;
|
|
29
|
+
};
|
|
30
|
+
error: {
|
|
31
|
+
container: string;
|
|
32
|
+
textarea: string;
|
|
33
|
+
helperText: string;
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
container: string;
|
|
37
|
+
textarea: string;
|
|
38
|
+
helperText: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
}, {
|
|
42
|
+
container: string;
|
|
43
|
+
textarea: string;
|
|
44
|
+
helperText: string;
|
|
45
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
46
|
+
state: {
|
|
47
|
+
default: {
|
|
48
|
+
container: string;
|
|
49
|
+
textarea: string;
|
|
50
|
+
helperText: string;
|
|
51
|
+
};
|
|
52
|
+
error: {
|
|
53
|
+
container: string;
|
|
54
|
+
textarea: string;
|
|
55
|
+
helperText: string;
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
container: string;
|
|
59
|
+
textarea: string;
|
|
60
|
+
helperText: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
}, {
|
|
64
|
+
container: string;
|
|
65
|
+
textarea: string;
|
|
66
|
+
helperText: string;
|
|
67
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Toast } from "./toast";
|
|
2
2
|
export type { IToastProps } from "./toast";
|
|
3
|
-
export { toastVariants
|
|
3
|
+
export { toastVariants } from "./toastVariants";
|
|
@@ -1,10 +1,94 @@
|
|
|
1
|
-
export declare const toastVariants: (
|
|
2
|
-
variant
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
export declare const toastVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
variant: {
|
|
3
|
+
info: {
|
|
4
|
+
root: string;
|
|
5
|
+
iconWrapper: string;
|
|
6
|
+
};
|
|
7
|
+
success: {
|
|
8
|
+
root: string;
|
|
9
|
+
iconWrapper: string;
|
|
10
|
+
};
|
|
11
|
+
warning: {
|
|
12
|
+
root: string;
|
|
13
|
+
iconWrapper: string;
|
|
14
|
+
};
|
|
15
|
+
error: {
|
|
16
|
+
root: string;
|
|
17
|
+
iconWrapper: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
condensed: {
|
|
21
|
+
true: {
|
|
22
|
+
iconWrapper: string;
|
|
23
|
+
};
|
|
24
|
+
false: {};
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
root: string;
|
|
28
|
+
iconWrapper: string;
|
|
29
|
+
contentWrapper: string;
|
|
30
|
+
content: string;
|
|
31
|
+
closeButton: string;
|
|
32
|
+
}, undefined, {
|
|
33
|
+
variant: {
|
|
34
|
+
info: {
|
|
35
|
+
root: string;
|
|
36
|
+
iconWrapper: string;
|
|
37
|
+
};
|
|
38
|
+
success: {
|
|
39
|
+
root: string;
|
|
40
|
+
iconWrapper: string;
|
|
41
|
+
};
|
|
42
|
+
warning: {
|
|
43
|
+
root: string;
|
|
44
|
+
iconWrapper: string;
|
|
45
|
+
};
|
|
46
|
+
error: {
|
|
47
|
+
root: string;
|
|
48
|
+
iconWrapper: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
condensed: {
|
|
52
|
+
true: {
|
|
53
|
+
iconWrapper: string;
|
|
54
|
+
};
|
|
55
|
+
false: {};
|
|
56
|
+
};
|
|
57
|
+
}, {
|
|
58
|
+
root: string;
|
|
59
|
+
iconWrapper: string;
|
|
60
|
+
contentWrapper: string;
|
|
61
|
+
content: string;
|
|
62
|
+
closeButton: string;
|
|
63
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
64
|
+
variant: {
|
|
65
|
+
info: {
|
|
66
|
+
root: string;
|
|
67
|
+
iconWrapper: string;
|
|
68
|
+
};
|
|
69
|
+
success: {
|
|
70
|
+
root: string;
|
|
71
|
+
iconWrapper: string;
|
|
72
|
+
};
|
|
73
|
+
warning: {
|
|
74
|
+
root: string;
|
|
75
|
+
iconWrapper: string;
|
|
76
|
+
};
|
|
77
|
+
error: {
|
|
78
|
+
root: string;
|
|
79
|
+
iconWrapper: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
condensed: {
|
|
83
|
+
true: {
|
|
84
|
+
iconWrapper: string;
|
|
85
|
+
};
|
|
86
|
+
false: {};
|
|
87
|
+
};
|
|
88
|
+
}, {
|
|
89
|
+
root: string;
|
|
90
|
+
iconWrapper: string;
|
|
91
|
+
contentWrapper: string;
|
|
92
|
+
content: string;
|
|
93
|
+
closeButton: string;
|
|
94
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Toggle, type IToggleProps } from "./toggle";
|
|
2
|
-
export {
|
|
2
|
+
export { toggleVariants } from "./toggleVariants";
|
|
@@ -1,12 +1,103 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
1
|
+
export declare const toggleVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
sm: {
|
|
4
|
+
container: string;
|
|
5
|
+
button: string;
|
|
6
|
+
label: string;
|
|
7
|
+
};
|
|
8
|
+
md: {
|
|
9
|
+
container: string;
|
|
10
|
+
button: string;
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
toggled: {
|
|
15
|
+
true: {
|
|
16
|
+
container: string;
|
|
17
|
+
button: string;
|
|
18
|
+
};
|
|
19
|
+
false: {};
|
|
20
|
+
};
|
|
21
|
+
disabled: {
|
|
22
|
+
true: {
|
|
23
|
+
container: string;
|
|
24
|
+
button: string;
|
|
25
|
+
label: string;
|
|
26
|
+
};
|
|
27
|
+
false: {};
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
wrapper: string;
|
|
31
|
+
container: string;
|
|
32
|
+
button: string;
|
|
33
|
+
icon: string;
|
|
34
|
+
label: string;
|
|
35
|
+
}, undefined, {
|
|
36
|
+
size: {
|
|
37
|
+
sm: {
|
|
38
|
+
container: string;
|
|
39
|
+
button: string;
|
|
40
|
+
label: string;
|
|
41
|
+
};
|
|
42
|
+
md: {
|
|
43
|
+
container: string;
|
|
44
|
+
button: string;
|
|
45
|
+
label: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
toggled: {
|
|
49
|
+
true: {
|
|
50
|
+
container: string;
|
|
51
|
+
button: string;
|
|
52
|
+
};
|
|
53
|
+
false: {};
|
|
54
|
+
};
|
|
55
|
+
disabled: {
|
|
56
|
+
true: {
|
|
57
|
+
container: string;
|
|
58
|
+
button: string;
|
|
59
|
+
label: string;
|
|
60
|
+
};
|
|
61
|
+
false: {};
|
|
62
|
+
};
|
|
63
|
+
}, {
|
|
64
|
+
wrapper: string;
|
|
65
|
+
container: string;
|
|
66
|
+
button: string;
|
|
67
|
+
icon: string;
|
|
68
|
+
label: string;
|
|
69
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
70
|
+
size: {
|
|
71
|
+
sm: {
|
|
72
|
+
container: string;
|
|
73
|
+
button: string;
|
|
74
|
+
label: string;
|
|
75
|
+
};
|
|
76
|
+
md: {
|
|
77
|
+
container: string;
|
|
78
|
+
button: string;
|
|
79
|
+
label: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
toggled: {
|
|
83
|
+
true: {
|
|
84
|
+
container: string;
|
|
85
|
+
button: string;
|
|
86
|
+
};
|
|
87
|
+
false: {};
|
|
88
|
+
};
|
|
89
|
+
disabled: {
|
|
90
|
+
true: {
|
|
91
|
+
container: string;
|
|
92
|
+
button: string;
|
|
93
|
+
label: string;
|
|
94
|
+
};
|
|
95
|
+
false: {};
|
|
96
|
+
};
|
|
97
|
+
}, {
|
|
98
|
+
wrapper: string;
|
|
99
|
+
container: string;
|
|
100
|
+
button: string;
|
|
101
|
+
icon: string;
|
|
102
|
+
label: string;
|
|
103
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,3 +1,73 @@
|
|
|
1
|
-
export declare const tooltipVariants: (
|
|
2
|
-
size
|
|
3
|
-
|
|
1
|
+
export declare const tooltipVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
sm: {
|
|
4
|
+
container: string;
|
|
5
|
+
content: string;
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
8
|
+
md: {
|
|
9
|
+
container: string;
|
|
10
|
+
content: string;
|
|
11
|
+
title: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
disabled: {
|
|
15
|
+
true: {
|
|
16
|
+
trigger: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
container: string;
|
|
21
|
+
content: string;
|
|
22
|
+
title: string;
|
|
23
|
+
arrow: string;
|
|
24
|
+
trigger: string;
|
|
25
|
+
}, undefined, {
|
|
26
|
+
size: {
|
|
27
|
+
sm: {
|
|
28
|
+
container: string;
|
|
29
|
+
content: string;
|
|
30
|
+
title: string;
|
|
31
|
+
};
|
|
32
|
+
md: {
|
|
33
|
+
container: string;
|
|
34
|
+
content: string;
|
|
35
|
+
title: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
disabled: {
|
|
39
|
+
true: {
|
|
40
|
+
trigger: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
container: string;
|
|
45
|
+
content: string;
|
|
46
|
+
title: string;
|
|
47
|
+
arrow: string;
|
|
48
|
+
trigger: string;
|
|
49
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
50
|
+
size: {
|
|
51
|
+
sm: {
|
|
52
|
+
container: string;
|
|
53
|
+
content: string;
|
|
54
|
+
title: string;
|
|
55
|
+
};
|
|
56
|
+
md: {
|
|
57
|
+
container: string;
|
|
58
|
+
content: string;
|
|
59
|
+
title: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
disabled: {
|
|
63
|
+
true: {
|
|
64
|
+
trigger: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
}, {
|
|
68
|
+
container: string;
|
|
69
|
+
content: string;
|
|
70
|
+
title: string;
|
|
71
|
+
arrow: string;
|
|
72
|
+
trigger: string;
|
|
73
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
-
export declare const truncateVariants: (
|
|
2
|
-
truncated
|
|
3
|
-
|
|
1
|
+
export declare const truncateVariants: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
truncated: {
|
|
3
|
+
true: string;
|
|
4
|
+
false: string;
|
|
5
|
+
};
|
|
6
|
+
}, undefined, "relative", {
|
|
7
|
+
truncated: {
|
|
8
|
+
true: string;
|
|
9
|
+
false: string;
|
|
10
|
+
};
|
|
11
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
12
|
+
truncated: {
|
|
13
|
+
true: string;
|
|
14
|
+
false: string;
|
|
15
|
+
};
|
|
16
|
+
}, undefined, "relative", unknown, unknown, undefined>>;
|