@opexa/portal-components 0.0.151 → 0.0.152
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/client/hooks/useGlobalStore.d.ts +1 -6
- package/dist/client/hooks/useGlobalStore.js +0 -30
- package/dist/components/KYC/IdentityVerification.js +1 -1
- package/dist/components/KYC/KYC.d.ts +1 -1
- package/dist/components/KYC/KYC.js +3 -3
- package/dist/components/Messages/Message.js +8 -10
- package/dist/components/Messages/MessageContext.d.ts +1 -1
- package/dist/components/Messages/MessageContext.js +1 -1
- package/dist/components/Messages/MessagePopup.d.ts +1 -1
- package/dist/components/Messages/MessagePopup.js +7 -11
- package/dist/components/Messages/Messages.d.ts +1 -1
- package/dist/components/Messages/Messages.js +3 -3
- package/dist/components/Messages/Messages.lazy.js +53 -12
- package/dist/components/Messages/MessagesContext.d.ts +6 -0
- package/dist/components/Messages/MessagesContext.js +1 -0
- package/dist/components/Messages/MessagesPopup.d.ts +1 -0
- package/dist/components/Messages/MessagesPopup.js +33 -0
- package/dist/components/Messages/index.d.ts +0 -2
- package/dist/components/Messages/index.js +0 -2
- package/dist/components/Quests/CountdownTimer.d.ts +15 -0
- package/dist/components/Quests/CountdownTimer.js +33 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +4 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +78 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +8 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +9 -0
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +4 -0
- package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +4 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +4 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.js +20 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +9 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +9 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
- package/dist/ui/Badge/Badge.d.ts +12 -12
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
- package/dist/ui/Badge/badge.recipe.d.ts +3 -3
- package/dist/ui/Carousel/Carousel.d.ts +389 -0
- package/dist/ui/Carousel/Carousel.js +15 -0
- package/dist/ui/Carousel/carousel.recipe.d.ts +43 -0
- package/dist/ui/Carousel/carousel.recipe.js +6 -0
- package/dist/ui/Carousel/index.d.ts +1 -0
- package/dist/ui/Carousel/index.js +1 -0
- package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
- package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
- package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
- package/dist/ui/Combobox/Combobox.d.ts +42 -42
- package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
- package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
- package/dist/ui/Dialog/Dialog.d.ts +88 -88
- package/dist/ui/Dialog/dialog.recipe.d.ts +8 -8
- package/dist/ui/Drawer/Drawer.d.ts +33 -33
- package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
- package/dist/ui/Menu/Menu.d.ts +90 -90
- package/dist/ui/Menu/menu.recipe.d.ts +5 -5
- package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
- package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
- package/dist/ui/Progress/Progress.d.ts +27 -27
- package/dist/ui/Progress/progress.recipe.d.ts +3 -3
- package/dist/ui/QrCode/QrCode.d.ts +25 -25
- package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/ui/Table/Table.d.ts +21 -21
- package/dist/ui/Table/table.anatomy.d.ts +1 -1
- package/dist/ui/Table/table.recipe.d.ts +3 -3
- package/dist/ui/Tabs/Tabs.d.ts +15 -15
- package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
- package/dist/ui/Tooltip/Tooltip.d.ts +30 -30
- package/dist/ui/Tooltip/tooltip.recipe.d.ts +5 -5
- package/dist/utils/dataUrlToBlob.d.ts +1 -0
- package/dist/utils/dataUrlToBlob.js +11 -0
- package/dist/utils/resizeImageSize.d.ts +2 -0
- package/dist/utils/resizeImageSize.js +11 -0
- package/package.json +1 -1
|
@@ -4,13 +4,13 @@ export declare const alertDialogRecipe: import("tailwind-variants").TVReturnType
|
|
|
4
4
|
title?: import("tailwind-variants").ClassValue;
|
|
5
5
|
content?: import("tailwind-variants").ClassValue;
|
|
6
6
|
body?: import("tailwind-variants").ClassValue;
|
|
7
|
-
footer?: import("tailwind-variants").ClassValue;
|
|
8
|
-
header?: import("tailwind-variants").ClassValue;
|
|
9
7
|
trigger?: import("tailwind-variants").ClassValue;
|
|
10
8
|
backdrop?: import("tailwind-variants").ClassValue;
|
|
11
9
|
positioner?: import("tailwind-variants").ClassValue;
|
|
12
10
|
description?: import("tailwind-variants").ClassValue;
|
|
13
11
|
closeTrigger?: import("tailwind-variants").ClassValue;
|
|
12
|
+
header?: import("tailwind-variants").ClassValue;
|
|
13
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
} | {
|
|
@@ -19,28 +19,28 @@ export declare const alertDialogRecipe: import("tailwind-variants").TVReturnType
|
|
|
19
19
|
title?: import("tailwind-variants").ClassValue;
|
|
20
20
|
content?: import("tailwind-variants").ClassValue;
|
|
21
21
|
body?: import("tailwind-variants").ClassValue;
|
|
22
|
-
footer?: import("tailwind-variants").ClassValue;
|
|
23
|
-
header?: import("tailwind-variants").ClassValue;
|
|
24
22
|
trigger?: import("tailwind-variants").ClassValue;
|
|
25
23
|
backdrop?: import("tailwind-variants").ClassValue;
|
|
26
24
|
positioner?: import("tailwind-variants").ClassValue;
|
|
27
25
|
description?: import("tailwind-variants").ClassValue;
|
|
28
26
|
closeTrigger?: import("tailwind-variants").ClassValue;
|
|
27
|
+
header?: import("tailwind-variants").ClassValue;
|
|
28
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
} | {}, Record<"title" | "content" | "body" | "
|
|
31
|
+
} | {}, Record<"title" | "content" | "body" | "trigger" | "backdrop" | "positioner" | "description" | "closeTrigger" | "header" | "footer", string | string[]>, undefined, {
|
|
32
32
|
[key: string]: {
|
|
33
33
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
34
34
|
title?: import("tailwind-variants").ClassValue;
|
|
35
35
|
content?: import("tailwind-variants").ClassValue;
|
|
36
36
|
body?: import("tailwind-variants").ClassValue;
|
|
37
|
-
footer?: import("tailwind-variants").ClassValue;
|
|
38
|
-
header?: import("tailwind-variants").ClassValue;
|
|
39
37
|
trigger?: import("tailwind-variants").ClassValue;
|
|
40
38
|
backdrop?: import("tailwind-variants").ClassValue;
|
|
41
39
|
positioner?: import("tailwind-variants").ClassValue;
|
|
42
40
|
description?: import("tailwind-variants").ClassValue;
|
|
43
41
|
closeTrigger?: import("tailwind-variants").ClassValue;
|
|
42
|
+
header?: import("tailwind-variants").ClassValue;
|
|
43
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
} | {}, Record<"title" | "content" | "body" | "
|
|
46
|
+
} | {}, Record<"title" | "content" | "body" | "trigger" | "backdrop" | "positioner" | "description" | "closeTrigger" | "header" | "footer", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"title" | "content" | "body" | "trigger" | "backdrop" | "positioner" | "description" | "closeTrigger" | "header" | "footer", string | string[]>, undefined, unknown, unknown, undefined>>;
|
package/dist/ui/Badge/Badge.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
36
36
|
root: string;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
}, Record<"label" | "root" | "
|
|
39
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, {
|
|
40
40
|
size: {
|
|
41
41
|
md: {
|
|
42
42
|
root: string;
|
|
@@ -70,7 +70,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
70
70
|
root: string;
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
|
-
}, Record<"label" | "root" | "
|
|
73
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
74
74
|
size: {
|
|
75
75
|
md: {
|
|
76
76
|
root: string;
|
|
@@ -104,7 +104,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
104
104
|
root: string;
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
|
-
}, Record<"label" | "root" | "
|
|
107
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
108
108
|
interface BadgeLabelProps extends ComponentPropsWithRef<'span'> {
|
|
109
109
|
asChild?: boolean;
|
|
110
110
|
}
|
|
@@ -142,7 +142,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
142
142
|
root: string;
|
|
143
143
|
};
|
|
144
144
|
};
|
|
145
|
-
}, Record<"label" | "root" | "
|
|
145
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, {
|
|
146
146
|
size: {
|
|
147
147
|
md: {
|
|
148
148
|
root: string;
|
|
@@ -176,7 +176,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
176
176
|
root: string;
|
|
177
177
|
};
|
|
178
178
|
};
|
|
179
|
-
}, Record<"label" | "root" | "
|
|
179
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
180
180
|
size: {
|
|
181
181
|
md: {
|
|
182
182
|
root: string;
|
|
@@ -210,7 +210,7 @@ export declare const Label: import("react").ComponentType<import("@ark-ui/react"
|
|
|
210
210
|
root: string;
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
|
-
}, Record<"label" | "root" | "
|
|
213
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
214
214
|
interface BadgeIndicatorProps extends ComponentPropsWithRef<'svg'> {
|
|
215
215
|
asChild?: boolean;
|
|
216
216
|
}
|
|
@@ -248,7 +248,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
248
248
|
root: string;
|
|
249
249
|
};
|
|
250
250
|
};
|
|
251
|
-
}, Record<"label" | "root" | "
|
|
251
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, {
|
|
252
252
|
size: {
|
|
253
253
|
md: {
|
|
254
254
|
root: string;
|
|
@@ -282,7 +282,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
282
282
|
root: string;
|
|
283
283
|
};
|
|
284
284
|
};
|
|
285
|
-
}, Record<"label" | "root" | "
|
|
285
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
286
286
|
size: {
|
|
287
287
|
md: {
|
|
288
288
|
root: string;
|
|
@@ -316,7 +316,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
316
316
|
root: string;
|
|
317
317
|
};
|
|
318
318
|
};
|
|
319
|
-
}, Record<"label" | "root" | "
|
|
319
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
320
320
|
interface BadgeIconProps extends ComponentPropsWithRef<'svg'> {
|
|
321
321
|
asChild?: boolean;
|
|
322
322
|
}
|
|
@@ -354,7 +354,7 @@ export declare const Icon: import("react").ComponentType<import("@ark-ui/react")
|
|
|
354
354
|
root: string;
|
|
355
355
|
};
|
|
356
356
|
};
|
|
357
|
-
}, Record<"label" | "root" | "
|
|
357
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, {
|
|
358
358
|
size: {
|
|
359
359
|
md: {
|
|
360
360
|
root: string;
|
|
@@ -388,7 +388,7 @@ export declare const Icon: import("react").ComponentType<import("@ark-ui/react")
|
|
|
388
388
|
root: string;
|
|
389
389
|
};
|
|
390
390
|
};
|
|
391
|
-
}, Record<"label" | "root" | "
|
|
391
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
392
392
|
size: {
|
|
393
393
|
md: {
|
|
394
394
|
root: string;
|
|
@@ -422,5 +422,5 @@ export declare const Icon: import("react").ComponentType<import("@ark-ui/react")
|
|
|
422
422
|
root: string;
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
|
-
}, Record<"label" | "root" | "
|
|
425
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
426
426
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const badgeAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"label" | "root" | "
|
|
1
|
+
export declare const badgeAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"label" | "root" | "indicator" | "icon">;
|
|
@@ -32,7 +32,7 @@ export declare const badgeRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
32
32
|
root: string;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
}, Record<"label" | "root" | "
|
|
35
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, {
|
|
36
36
|
size: {
|
|
37
37
|
md: {
|
|
38
38
|
root: string;
|
|
@@ -66,7 +66,7 @@ export declare const badgeRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
66
66
|
root: string;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
-
}, Record<"label" | "root" | "
|
|
69
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
70
70
|
size: {
|
|
71
71
|
md: {
|
|
72
72
|
root: string;
|
|
@@ -100,4 +100,4 @@ export declare const badgeRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
100
100
|
root: string;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
|
-
}, Record<"label" | "root" | "
|
|
103
|
+
}, Record<"label" | "root" | "indicator" | "icon", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
import { Carousel } from '@ark-ui/react/carousel';
|
|
2
|
+
export declare const Root: import("react").ComponentType<import("@ark-ui/react").Assign<Carousel.RootProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
3
|
+
[key: string]: {
|
|
4
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
5
|
+
root?: import("tailwind-variants").ClassValue;
|
|
6
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
7
|
+
item?: import("tailwind-variants").ClassValue;
|
|
8
|
+
control?: import("tailwind-variants").ClassValue;
|
|
9
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
10
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
11
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
12
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
13
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
} | {
|
|
17
|
+
[x: string]: {
|
|
18
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
19
|
+
root?: import("tailwind-variants").ClassValue;
|
|
20
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
21
|
+
item?: import("tailwind-variants").ClassValue;
|
|
22
|
+
control?: import("tailwind-variants").ClassValue;
|
|
23
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
24
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
25
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
26
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
27
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, {
|
|
31
|
+
[key: string]: {
|
|
32
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
33
|
+
root?: import("tailwind-variants").ClassValue;
|
|
34
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
35
|
+
item?: import("tailwind-variants").ClassValue;
|
|
36
|
+
control?: import("tailwind-variants").ClassValue;
|
|
37
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
38
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
39
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
40
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
41
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
45
|
+
export declare const AutoplayTrigger: import("react").ComponentType<import("@ark-ui/react").Assign<Carousel.AutoplayTriggerProps & import("react").RefAttributes<HTMLButtonElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
46
|
+
[key: string]: {
|
|
47
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
48
|
+
root?: import("tailwind-variants").ClassValue;
|
|
49
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
50
|
+
item?: import("tailwind-variants").ClassValue;
|
|
51
|
+
control?: import("tailwind-variants").ClassValue;
|
|
52
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
53
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
54
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
55
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
56
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
} | {
|
|
60
|
+
[x: string]: {
|
|
61
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
62
|
+
root?: import("tailwind-variants").ClassValue;
|
|
63
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
64
|
+
item?: import("tailwind-variants").ClassValue;
|
|
65
|
+
control?: import("tailwind-variants").ClassValue;
|
|
66
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
67
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
68
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
69
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
70
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, {
|
|
74
|
+
[key: string]: {
|
|
75
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
76
|
+
root?: import("tailwind-variants").ClassValue;
|
|
77
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
78
|
+
item?: import("tailwind-variants").ClassValue;
|
|
79
|
+
control?: import("tailwind-variants").ClassValue;
|
|
80
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
81
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
82
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
83
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
84
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
88
|
+
export declare const Control: import("react").ComponentType<import("@ark-ui/react").Assign<Carousel.ControlProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
89
|
+
[key: string]: {
|
|
90
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
91
|
+
root?: import("tailwind-variants").ClassValue;
|
|
92
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
93
|
+
item?: import("tailwind-variants").ClassValue;
|
|
94
|
+
control?: import("tailwind-variants").ClassValue;
|
|
95
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
96
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
97
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
98
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
99
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
} | {
|
|
103
|
+
[x: string]: {
|
|
104
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
105
|
+
root?: import("tailwind-variants").ClassValue;
|
|
106
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
107
|
+
item?: import("tailwind-variants").ClassValue;
|
|
108
|
+
control?: import("tailwind-variants").ClassValue;
|
|
109
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
110
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
111
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
112
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
113
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, {
|
|
117
|
+
[key: string]: {
|
|
118
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
119
|
+
root?: import("tailwind-variants").ClassValue;
|
|
120
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
121
|
+
item?: import("tailwind-variants").ClassValue;
|
|
122
|
+
control?: import("tailwind-variants").ClassValue;
|
|
123
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
124
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
125
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
126
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
127
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
131
|
+
export declare const Indicator: import("react").ComponentType<import("@ark-ui/react").Assign<Carousel.IndicatorProps & import("react").RefAttributes<HTMLButtonElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
132
|
+
[key: string]: {
|
|
133
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
134
|
+
root?: import("tailwind-variants").ClassValue;
|
|
135
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
136
|
+
item?: import("tailwind-variants").ClassValue;
|
|
137
|
+
control?: import("tailwind-variants").ClassValue;
|
|
138
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
139
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
140
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
141
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
142
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
} | {
|
|
146
|
+
[x: string]: {
|
|
147
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
148
|
+
root?: import("tailwind-variants").ClassValue;
|
|
149
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
150
|
+
item?: import("tailwind-variants").ClassValue;
|
|
151
|
+
control?: import("tailwind-variants").ClassValue;
|
|
152
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
153
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
154
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
155
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
156
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, {
|
|
160
|
+
[key: string]: {
|
|
161
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
162
|
+
root?: import("tailwind-variants").ClassValue;
|
|
163
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
164
|
+
item?: import("tailwind-variants").ClassValue;
|
|
165
|
+
control?: import("tailwind-variants").ClassValue;
|
|
166
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
167
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
168
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
169
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
170
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
174
|
+
export declare const IndicatorGroup: import("react").ComponentType<import("@ark-ui/react").Assign<Carousel.IndicatorGroupProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
175
|
+
[key: string]: {
|
|
176
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
177
|
+
root?: import("tailwind-variants").ClassValue;
|
|
178
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
179
|
+
item?: import("tailwind-variants").ClassValue;
|
|
180
|
+
control?: import("tailwind-variants").ClassValue;
|
|
181
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
182
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
183
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
184
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
185
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
} | {
|
|
189
|
+
[x: string]: {
|
|
190
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
191
|
+
root?: import("tailwind-variants").ClassValue;
|
|
192
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
193
|
+
item?: import("tailwind-variants").ClassValue;
|
|
194
|
+
control?: import("tailwind-variants").ClassValue;
|
|
195
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
196
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
197
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
198
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
199
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, {
|
|
203
|
+
[key: string]: {
|
|
204
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
205
|
+
root?: import("tailwind-variants").ClassValue;
|
|
206
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
207
|
+
item?: import("tailwind-variants").ClassValue;
|
|
208
|
+
control?: import("tailwind-variants").ClassValue;
|
|
209
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
210
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
211
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
212
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
213
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
217
|
+
export declare const Item: import("react").ComponentType<import("@ark-ui/react").Assign<Carousel.ItemProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
218
|
+
[key: string]: {
|
|
219
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
220
|
+
root?: import("tailwind-variants").ClassValue;
|
|
221
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
222
|
+
item?: import("tailwind-variants").ClassValue;
|
|
223
|
+
control?: import("tailwind-variants").ClassValue;
|
|
224
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
225
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
226
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
227
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
228
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
} | {
|
|
232
|
+
[x: string]: {
|
|
233
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
234
|
+
root?: import("tailwind-variants").ClassValue;
|
|
235
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
236
|
+
item?: import("tailwind-variants").ClassValue;
|
|
237
|
+
control?: import("tailwind-variants").ClassValue;
|
|
238
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
239
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
240
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
241
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
242
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, {
|
|
246
|
+
[key: string]: {
|
|
247
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
248
|
+
root?: import("tailwind-variants").ClassValue;
|
|
249
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
250
|
+
item?: import("tailwind-variants").ClassValue;
|
|
251
|
+
control?: import("tailwind-variants").ClassValue;
|
|
252
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
253
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
254
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
255
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
256
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
260
|
+
export declare const ItemGroup: import("react").ComponentType<import("@ark-ui/react").Assign<Carousel.ItemGroupProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
261
|
+
[key: string]: {
|
|
262
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
263
|
+
root?: import("tailwind-variants").ClassValue;
|
|
264
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
265
|
+
item?: import("tailwind-variants").ClassValue;
|
|
266
|
+
control?: import("tailwind-variants").ClassValue;
|
|
267
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
268
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
269
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
270
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
271
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
} | {
|
|
275
|
+
[x: string]: {
|
|
276
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
277
|
+
root?: import("tailwind-variants").ClassValue;
|
|
278
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
279
|
+
item?: import("tailwind-variants").ClassValue;
|
|
280
|
+
control?: import("tailwind-variants").ClassValue;
|
|
281
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
282
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
283
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
284
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
285
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, {
|
|
289
|
+
[key: string]: {
|
|
290
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
291
|
+
root?: import("tailwind-variants").ClassValue;
|
|
292
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
293
|
+
item?: import("tailwind-variants").ClassValue;
|
|
294
|
+
control?: import("tailwind-variants").ClassValue;
|
|
295
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
296
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
297
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
298
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
299
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
303
|
+
export declare const NextTrigger: import("react").ComponentType<import("@ark-ui/react").Assign<Carousel.NextTriggerProps & import("react").RefAttributes<HTMLButtonElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
304
|
+
[key: string]: {
|
|
305
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
306
|
+
root?: import("tailwind-variants").ClassValue;
|
|
307
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
308
|
+
item?: import("tailwind-variants").ClassValue;
|
|
309
|
+
control?: import("tailwind-variants").ClassValue;
|
|
310
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
311
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
312
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
313
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
314
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
} | {
|
|
318
|
+
[x: string]: {
|
|
319
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
320
|
+
root?: import("tailwind-variants").ClassValue;
|
|
321
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
322
|
+
item?: import("tailwind-variants").ClassValue;
|
|
323
|
+
control?: import("tailwind-variants").ClassValue;
|
|
324
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
325
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
326
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
327
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
328
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, {
|
|
332
|
+
[key: string]: {
|
|
333
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
334
|
+
root?: import("tailwind-variants").ClassValue;
|
|
335
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
336
|
+
item?: import("tailwind-variants").ClassValue;
|
|
337
|
+
control?: import("tailwind-variants").ClassValue;
|
|
338
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
339
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
340
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
341
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
342
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
346
|
+
export declare const PrevTrigger: import("react").ComponentType<import("@ark-ui/react").Assign<Carousel.PrevTriggerProps & import("react").RefAttributes<HTMLButtonElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
347
|
+
[key: string]: {
|
|
348
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
349
|
+
root?: import("tailwind-variants").ClassValue;
|
|
350
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
351
|
+
item?: import("tailwind-variants").ClassValue;
|
|
352
|
+
control?: import("tailwind-variants").ClassValue;
|
|
353
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
354
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
355
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
356
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
357
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
} | {
|
|
361
|
+
[x: string]: {
|
|
362
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
363
|
+
root?: import("tailwind-variants").ClassValue;
|
|
364
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
365
|
+
item?: import("tailwind-variants").ClassValue;
|
|
366
|
+
control?: import("tailwind-variants").ClassValue;
|
|
367
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
368
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
369
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
370
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
371
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, {
|
|
375
|
+
[key: string]: {
|
|
376
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
377
|
+
root?: import("tailwind-variants").ClassValue;
|
|
378
|
+
indicator?: import("tailwind-variants").ClassValue;
|
|
379
|
+
item?: import("tailwind-variants").ClassValue;
|
|
380
|
+
control?: import("tailwind-variants").ClassValue;
|
|
381
|
+
itemGroup?: import("tailwind-variants").ClassValue;
|
|
382
|
+
nextTrigger?: import("tailwind-variants").ClassValue;
|
|
383
|
+
prevTrigger?: import("tailwind-variants").ClassValue;
|
|
384
|
+
indicatorGroup?: import("tailwind-variants").ClassValue;
|
|
385
|
+
autoplayTrigger?: import("tailwind-variants").ClassValue;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
} | {}, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "indicator" | "item" | "control" | "itemGroup" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "autoplayTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
389
|
+
export declare const Context: (props: Carousel.ContextProps) => import("react").ReactNode;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { Carousel } from '@ark-ui/react/carousel';
|
|
3
|
+
import { createRecipeContext } from '../../client/utils/createRecipeContext.js';
|
|
4
|
+
import { carouselRecipe } from './carousel.recipe.js';
|
|
5
|
+
const { withProvider, withContext } = createRecipeContext(carouselRecipe);
|
|
6
|
+
export const Root = withProvider(Carousel.Root, 'root');
|
|
7
|
+
export const AutoplayTrigger = withContext(Carousel.AutoplayTrigger, 'autoplayTrigger');
|
|
8
|
+
export const Control = withContext(Carousel.Control, 'control');
|
|
9
|
+
export const Indicator = withContext(Carousel.Indicator, 'indicator');
|
|
10
|
+
export const IndicatorGroup = withContext(Carousel.IndicatorGroup, 'indicatorGroup');
|
|
11
|
+
export const Item = withContext(Carousel.Item, 'item');
|
|
12
|
+
export const ItemGroup = withContext(Carousel.ItemGroup, 'itemGroup');
|
|
13
|
+
export const NextTrigger = withContext(Carousel.NextTrigger, 'nextTrigger');
|
|
14
|
+
export const PrevTrigger = withContext(Carousel.PrevTrigger, 'prevTrigger');
|
|
15
|
+
export const Context = Carousel.Context;
|