@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.
Files changed (72) hide show
  1. package/README.md +1 -1
  2. package/dist/components/accordion/accordionVariants.d.ts +97 -10
  3. package/dist/components/accordion/index.d.ts +1 -1
  4. package/dist/components/adpIcon/adpIconVariants.d.ts +40 -6
  5. package/dist/components/avatar/avatarVariants.d.ts +58 -5
  6. package/dist/components/avatar/index.d.ts +1 -1
  7. package/dist/components/avatarGroup/avatarGroupVariants.d.ts +16 -3
  8. package/dist/components/badge/badgeVariants.d.ts +58 -5
  9. package/dist/components/breadcrumbs/breadcrumbsVariants.d.ts +55 -10
  10. package/dist/components/breadcrumbs/index.d.ts +3 -5
  11. package/dist/components/button/button.d.ts +1 -1
  12. package/dist/components/button/buttonVariants.d.ts +73 -6
  13. package/dist/components/card/cardVariants.d.ts +43 -4
  14. package/dist/components/card/index.d.ts +1 -1
  15. package/dist/components/checkbox/checkbox.d.ts +1 -0
  16. package/dist/components/checkbox/checkboxVariants.d.ts +112 -9
  17. package/dist/components/checkbox/index.d.ts +1 -1
  18. package/dist/components/checkboxGroup/checkboxGroupVariants.d.ts +79 -7
  19. package/dist/components/checkboxGroup/index.d.ts +1 -1
  20. package/dist/components/ctaGroup/ctaGroupVariants.d.ts +40 -5
  21. package/dist/components/ctaGroup/index.d.ts +1 -1
  22. package/dist/components/dataTable/dataTableVariants.d.ts +103 -22
  23. package/dist/components/dataTable/index.d.ts +1 -1
  24. package/dist/components/datePicker/datePicker.d.ts +1 -1
  25. package/dist/components/datePicker/index.d.ts +0 -1
  26. package/dist/components/distributionSlider/distributionSliderVariants.d.ts +166 -27
  27. package/dist/components/distributionSlider/index.d.ts +1 -1
  28. package/dist/components/dropdown/dropdownVariants.d.ts +109 -11
  29. package/dist/components/dropdown/index.d.ts +2 -2
  30. package/dist/components/emptyState/emptyStateVariants.d.ts +49 -5
  31. package/dist/components/emptyState/index.d.ts +1 -1
  32. package/dist/components/fileUpload/fileUploadVariants.d.ts +106 -4
  33. package/dist/components/fileUpload/statusCardVariants.d.ts +127 -3
  34. package/dist/components/loader/index.d.ts +1 -1
  35. package/dist/components/loader/loaderVariants.d.ts +67 -7
  36. package/dist/components/modal/index.d.ts +1 -1
  37. package/dist/components/modal/modalVariants.d.ts +28 -4
  38. package/dist/components/otp/otpVariants.d.ts +16 -3
  39. package/dist/components/pagination/index.d.ts +1 -1
  40. package/dist/components/pagination/paginationVariants.d.ts +61 -10
  41. package/dist/components/panel/index.d.ts +2 -2
  42. package/dist/components/panel/panelVariants.d.ts +247 -49
  43. package/dist/components/panelGroup/panelGroupVariants.d.ts +109 -8
  44. package/dist/components/progress/index.d.ts +1 -1
  45. package/dist/components/progress/progressVariants.d.ts +220 -24
  46. package/dist/components/radio/index.d.ts +1 -1
  47. package/dist/components/radio/radioVariants.d.ts +70 -7
  48. package/dist/components/radioGroup/index.d.ts +1 -1
  49. package/dist/components/radioGroup/radioGroupVariants.d.ts +112 -12
  50. package/dist/components/scrollbar/index.d.ts +1 -1
  51. package/dist/components/scrollbar/scrollbarVariants.d.ts +100 -26
  52. package/dist/components/select/selectVariants.d.ts +40 -9
  53. package/dist/components/tabs/index.d.ts +1 -1
  54. package/dist/components/tabs/tabsVariants.d.ts +133 -12
  55. package/dist/components/textCopy/textCopyVariants.d.ts +13 -3
  56. package/dist/components/textField/textFieldVariants.d.ts +121 -15
  57. package/dist/components/textarea/index.d.ts +1 -1
  58. package/dist/components/textarea/textareaVariants.d.ts +67 -9
  59. package/dist/components/toast/index.d.ts +1 -1
  60. package/dist/components/toast/toastVariants.d.ts +94 -10
  61. package/dist/components/toggle/index.d.ts +1 -1
  62. package/dist/components/toggle/toggleVariants.d.ts +103 -12
  63. package/dist/components/tooltip/tooltipVariants.d.ts +73 -3
  64. package/dist/components/truncate/truncateVariants.d.ts +16 -3
  65. package/dist/css/index.min.css +1 -1
  66. package/dist/index.cjs.js +5 -5
  67. package/dist/index.esm.js +5 -5
  68. package/dist/utils/index.d.ts +0 -1
  69. package/package.json +5 -6
  70. package/tsconfig.eslint.json +4 -2
  71. package/dist/components/datePicker/datePickerVariants.d.ts +0 -43
  72. package/dist/utils/cn.d.ts +0 -9
@@ -1,50 +1,248 @@
1
- export declare const panelAnimations: {
2
- appear: string;
3
- disappear: string;
4
- slideIn: string;
5
- slideInRtl: string;
6
- slideOut: string;
7
- slideOutRtl: string;
8
- };
9
- export declare const panelVariants: (props?: ({
10
- variant?: "compact" | "extended" | null | undefined;
11
- animation?: "none" | "slideInRight" | "slideOutRight" | "slideInLeft" | "slideOutLeft" | null | undefined;
12
- visibility?: "hidden" | "visible" | null | undefined;
13
- direction?: "right" | "left" | null | undefined;
14
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
- export declare const panelOverlayVariants: (props?: ({
16
- animation?: "none" | "appear" | "disappear" | null | undefined;
17
- visibility?: "hidden" | "visible" | null | undefined;
18
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
19
- export declare const panelContainerVariants: (props?: ({
20
- toggleVisibility?: boolean | null | undefined;
21
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
22
- export declare const panelHeaderVariants: (props?: ({} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
23
- export declare const panelBodyVariants: (props?: ({} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
24
- export declare const panelFooterVariants: (props?: ({} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
25
- export declare const cssVisibilityVariants: {
1
+ export declare const panelVariants: import("tailwind-variants").TVReturnType<{
2
+ variant: {
3
+ extended: {
4
+ panel: string;
5
+ };
6
+ compact: {
7
+ panel: string;
8
+ };
9
+ };
10
+ animation: {
11
+ slideInRight: {
12
+ panel: string;
13
+ };
14
+ slideOutRight: {
15
+ panel: string;
16
+ };
17
+ slideInLeft: {
18
+ panel: string;
19
+ };
20
+ slideOutLeft: {
21
+ panel: string;
22
+ };
23
+ appear: {
24
+ overlay: string;
25
+ };
26
+ disappear: {
27
+ overlay: string;
28
+ };
29
+ none: {};
30
+ };
31
+ visibility: {
32
+ visible: {
33
+ panel: string;
34
+ overlay: string;
35
+ };
36
+ hidden: {
37
+ panel: string;
38
+ overlay: string;
39
+ };
40
+ };
41
+ direction: {
42
+ right: {
43
+ panel: string;
44
+ };
45
+ left: {
46
+ panel: string;
47
+ };
48
+ };
49
+ }, {
50
+ container: string;
51
+ overlay: string;
52
+ panel: string;
53
+ header: string;
54
+ body: string;
55
+ footer: string;
56
+ }, undefined, {
57
+ variant: {
58
+ extended: {
59
+ panel: string;
60
+ };
61
+ compact: {
62
+ panel: string;
63
+ };
64
+ };
65
+ animation: {
66
+ slideInRight: {
67
+ panel: string;
68
+ };
69
+ slideOutRight: {
70
+ panel: string;
71
+ };
72
+ slideInLeft: {
73
+ panel: string;
74
+ };
75
+ slideOutLeft: {
76
+ panel: string;
77
+ };
78
+ appear: {
79
+ overlay: string;
80
+ };
81
+ disappear: {
82
+ overlay: string;
83
+ };
84
+ none: {};
85
+ };
86
+ visibility: {
87
+ visible: {
88
+ panel: string;
89
+ overlay: string;
90
+ };
91
+ hidden: {
92
+ panel: string;
93
+ overlay: string;
94
+ };
95
+ };
96
+ direction: {
97
+ right: {
98
+ panel: string;
99
+ };
100
+ left: {
101
+ panel: string;
102
+ };
103
+ };
104
+ }, {
105
+ container: string;
106
+ overlay: string;
107
+ panel: string;
108
+ header: string;
109
+ body: string;
110
+ footer: string;
111
+ }, import("tailwind-variants").TVReturnType<{
112
+ variant: {
113
+ extended: {
114
+ panel: string;
115
+ };
116
+ compact: {
117
+ panel: string;
118
+ };
119
+ };
120
+ animation: {
121
+ slideInRight: {
122
+ panel: string;
123
+ };
124
+ slideOutRight: {
125
+ panel: string;
126
+ };
127
+ slideInLeft: {
128
+ panel: string;
129
+ };
130
+ slideOutLeft: {
131
+ panel: string;
132
+ };
133
+ appear: {
134
+ overlay: string;
135
+ };
136
+ disappear: {
137
+ overlay: string;
138
+ };
139
+ none: {};
140
+ };
141
+ visibility: {
142
+ visible: {
143
+ panel: string;
144
+ overlay: string;
145
+ };
146
+ hidden: {
147
+ panel: string;
148
+ overlay: string;
149
+ };
150
+ };
151
+ direction: {
152
+ right: {
153
+ panel: string;
154
+ };
155
+ left: {
156
+ panel: string;
157
+ };
158
+ };
159
+ }, {
160
+ container: string;
161
+ overlay: string;
162
+ panel: string;
163
+ header: string;
164
+ body: string;
165
+ footer: string;
166
+ }, undefined, unknown, unknown, undefined>>;
167
+ export declare const cssVisibilityVariants: import("tailwind-variants").TVReturnType<{
168
+ direction: {
169
+ right: {
170
+ panel: string;
171
+ };
172
+ left: {
173
+ panel: string;
174
+ };
175
+ };
176
+ variant: {
177
+ compact: {
178
+ panel: string;
179
+ };
180
+ extended: {
181
+ panel: string;
182
+ };
183
+ };
184
+ showPanel: {
185
+ true: {
186
+ overlay: string;
187
+ };
188
+ false: {};
189
+ };
190
+ }, {
191
+ container: string;
192
+ overlay: string;
193
+ panel: string;
194
+ }, undefined, {
195
+ direction: {
196
+ right: {
197
+ panel: string;
198
+ };
199
+ left: {
200
+ panel: string;
201
+ };
202
+ };
203
+ variant: {
204
+ compact: {
205
+ panel: string;
206
+ };
207
+ extended: {
208
+ panel: string;
209
+ };
210
+ };
211
+ showPanel: {
212
+ true: {
213
+ overlay: string;
214
+ };
215
+ false: {};
216
+ };
217
+ }, {
218
+ container: string;
219
+ overlay: string;
220
+ panel: string;
221
+ }, import("tailwind-variants").TVReturnType<{
222
+ direction: {
223
+ right: {
224
+ panel: string;
225
+ };
226
+ left: {
227
+ panel: string;
228
+ };
229
+ };
230
+ variant: {
231
+ compact: {
232
+ panel: string;
233
+ };
234
+ extended: {
235
+ panel: string;
236
+ };
237
+ };
238
+ showPanel: {
239
+ true: {
240
+ overlay: string;
241
+ };
242
+ false: {};
243
+ };
244
+ }, {
26
245
  container: string;
27
- panel: {
28
- base: {
29
- right: string;
30
- left: string;
31
- };
32
- compact: string;
33
- extended: string;
34
- extendedLeft: string;
35
- show: {
36
- right: {
37
- extended: string;
38
- compact: string;
39
- };
40
- left: {
41
- extended: string;
42
- compact: string;
43
- };
44
- };
45
- };
46
- overlay: {
47
- base: string;
48
- show: string;
49
- };
50
- };
246
+ overlay: string;
247
+ panel: string;
248
+ }, undefined, unknown, unknown, undefined>>;
@@ -1,8 +1,109 @@
1
- export declare const panelGroupVariants: (props?: ({
2
- visibility?: "hidden" | "visible" | null | undefined;
3
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
4
- export declare const panelGroupItemVariants: (props?: ({
5
- position?: "previous" | "current" | "subsequent" | null | undefined;
6
- animation?: "slideIn" | null | undefined;
7
- spacing?: "default" | "withMargin" | null | undefined;
8
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
1
+ export declare const panelGroupVariants: import("tailwind-variants").TVReturnType<{
2
+ visibility: {
3
+ visible: {
4
+ root: string;
5
+ };
6
+ hidden: {
7
+ root: string;
8
+ };
9
+ };
10
+ position: {
11
+ current: {
12
+ item: string;
13
+ };
14
+ subsequent: {
15
+ item: string;
16
+ };
17
+ previous: {
18
+ item: string;
19
+ };
20
+ };
21
+ animation: {
22
+ slideIn: {
23
+ item: string;
24
+ };
25
+ };
26
+ spacing: {
27
+ default: {
28
+ item: string;
29
+ };
30
+ withMargin: {
31
+ item: string;
32
+ };
33
+ };
34
+ }, {
35
+ root: string;
36
+ item: string;
37
+ }, undefined, {
38
+ visibility: {
39
+ visible: {
40
+ root: string;
41
+ };
42
+ hidden: {
43
+ root: string;
44
+ };
45
+ };
46
+ position: {
47
+ current: {
48
+ item: string;
49
+ };
50
+ subsequent: {
51
+ item: string;
52
+ };
53
+ previous: {
54
+ item: string;
55
+ };
56
+ };
57
+ animation: {
58
+ slideIn: {
59
+ item: string;
60
+ };
61
+ };
62
+ spacing: {
63
+ default: {
64
+ item: string;
65
+ };
66
+ withMargin: {
67
+ item: string;
68
+ };
69
+ };
70
+ }, {
71
+ root: string;
72
+ item: string;
73
+ }, import("tailwind-variants").TVReturnType<{
74
+ visibility: {
75
+ visible: {
76
+ root: string;
77
+ };
78
+ hidden: {
79
+ root: string;
80
+ };
81
+ };
82
+ position: {
83
+ current: {
84
+ item: string;
85
+ };
86
+ subsequent: {
87
+ item: string;
88
+ };
89
+ previous: {
90
+ item: string;
91
+ };
92
+ };
93
+ animation: {
94
+ slideIn: {
95
+ item: string;
96
+ };
97
+ };
98
+ spacing: {
99
+ default: {
100
+ item: string;
101
+ };
102
+ withMargin: {
103
+ item: string;
104
+ };
105
+ };
106
+ }, {
107
+ root: string;
108
+ item: string;
109
+ }, undefined, unknown, unknown, undefined>>;
@@ -1,2 +1,2 @@
1
1
  export { Progress, EColors, EValuePositions, type IProgressProps, type TColorType, type TValuePositionType } from "./progress";
2
- export { progressTrackVariants, progressBarVariants, progressTextVariants, progressValueTextVariants, progressCircularVariants, progressCircularTrackVariants, progressCircularProgressVariants, progressCircularTextVariants } from "./progressVariants";
2
+ export { progressVariants } from "./progressVariants";
@@ -1,24 +1,220 @@
1
- export declare const progressContainerVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
2
- export declare const progressTrackVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
3
- export declare const progressBarVariants: (props?: ({
4
- color?: "primary" | "secondary" | "success" | "warning" | "error" | null | undefined;
5
- striped?: boolean | null | undefined;
6
- animate?: boolean | null | undefined;
7
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
8
- export declare const progressTextVariants: (props?: ({
9
- position?: "inline" | "top" | "right" | "bottom" | null | undefined;
10
- color?: "primary" | "secondary" | "success" | "warning" | "error" | null | undefined;
11
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
- export declare const progressValueTextVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
13
- export declare const progressCircularVariants: (props?: ({
14
- size?: "md" | "lg" | null | undefined;
15
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
16
- export declare const progressCircularTrackVariants: (props?: ({
17
- color?: "primary" | "secondary" | "success" | "warning" | "error" | null | undefined;
18
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
19
- export declare const progressCircularProgressVariants: (props?: ({
20
- color?: "primary" | "secondary" | "success" | "warning" | "error" | null | undefined;
21
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
22
- export declare const progressCircularTextVariants: (props?: ({
23
- size?: "md" | "lg" | null | undefined;
24
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
1
+ export declare const progressVariants: import("tailwind-variants").TVReturnType<{
2
+ color: {
3
+ primary: {
4
+ bar: string;
5
+ text: string;
6
+ circularTrack: string;
7
+ circularProgress: string;
8
+ };
9
+ secondary: {
10
+ bar: string;
11
+ text: string;
12
+ circularTrack: string;
13
+ circularProgress: string;
14
+ };
15
+ success: {
16
+ bar: string;
17
+ text: string;
18
+ circularTrack: string;
19
+ circularProgress: string;
20
+ };
21
+ warning: {
22
+ bar: string;
23
+ text: string;
24
+ circularTrack: string;
25
+ circularProgress: string;
26
+ };
27
+ error: {
28
+ bar: string;
29
+ text: string;
30
+ circularTrack: string;
31
+ circularProgress: string;
32
+ };
33
+ };
34
+ size: {
35
+ md: {
36
+ circularText: string;
37
+ };
38
+ lg: {
39
+ circularText: string;
40
+ };
41
+ };
42
+ striped: {
43
+ true: {
44
+ bar: string[];
45
+ };
46
+ };
47
+ animate: {
48
+ true: {
49
+ bar: string;
50
+ };
51
+ };
52
+ position: {
53
+ top: {
54
+ text: string;
55
+ };
56
+ right: {};
57
+ bottom: {
58
+ text: string;
59
+ };
60
+ inline: {
61
+ text: string;
62
+ };
63
+ };
64
+ }, {
65
+ container: string;
66
+ track: string;
67
+ bar: string;
68
+ text: string[];
69
+ valueText: string;
70
+ circular: string;
71
+ circularTrack: string;
72
+ circularProgress: string;
73
+ circularText: string;
74
+ }, undefined, {
75
+ color: {
76
+ primary: {
77
+ bar: string;
78
+ text: string;
79
+ circularTrack: string;
80
+ circularProgress: string;
81
+ };
82
+ secondary: {
83
+ bar: string;
84
+ text: string;
85
+ circularTrack: string;
86
+ circularProgress: string;
87
+ };
88
+ success: {
89
+ bar: string;
90
+ text: string;
91
+ circularTrack: string;
92
+ circularProgress: string;
93
+ };
94
+ warning: {
95
+ bar: string;
96
+ text: string;
97
+ circularTrack: string;
98
+ circularProgress: string;
99
+ };
100
+ error: {
101
+ bar: string;
102
+ text: string;
103
+ circularTrack: string;
104
+ circularProgress: string;
105
+ };
106
+ };
107
+ size: {
108
+ md: {
109
+ circularText: string;
110
+ };
111
+ lg: {
112
+ circularText: string;
113
+ };
114
+ };
115
+ striped: {
116
+ true: {
117
+ bar: string[];
118
+ };
119
+ };
120
+ animate: {
121
+ true: {
122
+ bar: string;
123
+ };
124
+ };
125
+ position: {
126
+ top: {
127
+ text: string;
128
+ };
129
+ right: {};
130
+ bottom: {
131
+ text: string;
132
+ };
133
+ inline: {
134
+ text: string;
135
+ };
136
+ };
137
+ }, {
138
+ container: string;
139
+ track: string;
140
+ bar: string;
141
+ text: string[];
142
+ valueText: string;
143
+ circular: string;
144
+ circularTrack: string;
145
+ circularProgress: string;
146
+ circularText: string;
147
+ }, import("tailwind-variants").TVReturnType<{
148
+ color: {
149
+ primary: {
150
+ bar: string;
151
+ text: string;
152
+ circularTrack: string;
153
+ circularProgress: string;
154
+ };
155
+ secondary: {
156
+ bar: string;
157
+ text: string;
158
+ circularTrack: string;
159
+ circularProgress: string;
160
+ };
161
+ success: {
162
+ bar: string;
163
+ text: string;
164
+ circularTrack: string;
165
+ circularProgress: string;
166
+ };
167
+ warning: {
168
+ bar: string;
169
+ text: string;
170
+ circularTrack: string;
171
+ circularProgress: string;
172
+ };
173
+ error: {
174
+ bar: string;
175
+ text: string;
176
+ circularTrack: string;
177
+ circularProgress: string;
178
+ };
179
+ };
180
+ size: {
181
+ md: {
182
+ circularText: string;
183
+ };
184
+ lg: {
185
+ circularText: string;
186
+ };
187
+ };
188
+ striped: {
189
+ true: {
190
+ bar: string[];
191
+ };
192
+ };
193
+ animate: {
194
+ true: {
195
+ bar: string;
196
+ };
197
+ };
198
+ position: {
199
+ top: {
200
+ text: string;
201
+ };
202
+ right: {};
203
+ bottom: {
204
+ text: string;
205
+ };
206
+ inline: {
207
+ text: string;
208
+ };
209
+ };
210
+ }, {
211
+ container: string;
212
+ track: string;
213
+ bar: string;
214
+ text: string[];
215
+ valueText: string;
216
+ circular: string;
217
+ circularTrack: string;
218
+ circularProgress: string;
219
+ circularText: string;
220
+ }, undefined, unknown, unknown, undefined>>;
@@ -1,2 +1,2 @@
1
1
  export { Radio, type IRadioProps } from "./radio";
2
- export { radioVariants, radioLabelVariants } from "./radioVariants";
2
+ export { radioVariants } from "./radioVariants";