@arobo/react 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -186,7 +186,7 @@ function CarouselDots({
|
|
|
186
186
|
"data-slot": "carousel-dots",
|
|
187
187
|
...props,
|
|
188
188
|
children: scrollSnaps.map((_, index) => /*#__PURE__*/jsx("div", {
|
|
189
|
-
className: cn("h-3 w-3 rounded-full transition-all cursor-pointer mt-4 border", selectedIndex === index ? "bg-accent" : "bg-gray-100"),
|
|
189
|
+
className: cn("min-h-3 min-w-3 rounded-full transition-all cursor-pointer mt-4 border", selectedIndex === index ? "bg-accent" : "bg-gray-100"),
|
|
190
190
|
onClick: () => api?.scrollTo(index),
|
|
191
191
|
"aria-label": `Go to slide ${index + 1}`
|
|
192
192
|
}, index))
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { ComponentProps } from "react";
|
|
1
2
|
import type { DrawerCloseProps, DrawerContentProps, DrawerDescriptionProps, DrawerFooterProps, DrawerHeaderProps, DrawerOverlayProps, DrawerPortalProps, DrawerProps, DrawerTitleProps, DrawerTriggerProps } from "./drawer";
|
|
2
3
|
import { DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerRoot, DrawerTitle, DrawerTrigger } from "./drawer";
|
|
3
4
|
export declare const Drawer: typeof DrawerRoot & {
|
|
5
|
+
Root: typeof DrawerRoot;
|
|
4
6
|
Trigger: typeof DrawerTrigger;
|
|
5
7
|
Portal: typeof DrawerPortal;
|
|
6
8
|
Close: typeof DrawerClose;
|
|
@@ -12,17 +14,17 @@ export declare const Drawer: typeof DrawerRoot & {
|
|
|
12
14
|
Description: typeof DrawerDescription;
|
|
13
15
|
};
|
|
14
16
|
export type Drawer = {
|
|
15
|
-
Props:
|
|
16
|
-
RootProps:
|
|
17
|
-
TriggerProps:
|
|
18
|
-
PortalProps:
|
|
19
|
-
CloseProps:
|
|
20
|
-
OverlayProps:
|
|
21
|
-
ContentProps:
|
|
22
|
-
HeaderProps:
|
|
23
|
-
FooterProps:
|
|
24
|
-
TitleProps:
|
|
25
|
-
DescriptionProps:
|
|
17
|
+
Props: ComponentProps<typeof DrawerRoot>;
|
|
18
|
+
RootProps: ComponentProps<typeof DrawerRoot>;
|
|
19
|
+
TriggerProps: ComponentProps<typeof DrawerTrigger>;
|
|
20
|
+
PortalProps: ComponentProps<typeof DrawerPortal>;
|
|
21
|
+
CloseProps: ComponentProps<typeof DrawerClose>;
|
|
22
|
+
OverlayProps: ComponentProps<typeof DrawerOverlay>;
|
|
23
|
+
ContentProps: ComponentProps<typeof DrawerContent>;
|
|
24
|
+
HeaderProps: ComponentProps<typeof DrawerHeader>;
|
|
25
|
+
FooterProps: ComponentProps<typeof DrawerFooter>;
|
|
26
|
+
TitleProps: ComponentProps<typeof DrawerTitle>;
|
|
27
|
+
DescriptionProps: ComponentProps<typeof DrawerDescription>;
|
|
26
28
|
};
|
|
27
29
|
export { DrawerRoot, DrawerTrigger, DrawerPortal, DrawerClose, DrawerOverlay, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
|
|
28
30
|
export type { DrawerProps, DrawerTriggerProps, DrawerPortalProps, DrawerCloseProps, DrawerOverlayProps, DrawerContentProps, DrawerHeaderProps, DrawerFooterProps, DrawerTitleProps, DrawerDescriptionProps, };
|
|
@@ -5,6 +5,7 @@ import { DrawerRoot as Drawer$1, DrawerDescription, DrawerTitle, DrawerFooter, D
|
|
|
5
5
|
* -----------------------------------------------------------------------------------------------*/
|
|
6
6
|
|
|
7
7
|
const Drawer = Object.assign(Drawer$1, {
|
|
8
|
+
Root: Drawer$1,
|
|
8
9
|
Trigger: DrawerTrigger,
|
|
9
10
|
Portal: DrawerPortal,
|
|
10
11
|
Close: DrawerClose,
|