@epilot/volt-ui 1.2.0 → 1.2.1
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/components/drawer/drawer.d.ts +20 -0
- package/dist/index.cjs.js +15 -15
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +2820 -2722
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
3
|
+
type DrawerSide = "left" | "right" | "top" | "bottom";
|
|
4
|
+
declare const Drawer: ({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const DrawerTrigger: ({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
type DrawerPortalProps = Omit<React.ComponentProps<typeof DialogPrimitive.Portal>, "container"> & {
|
|
7
|
+
container: NonNullable<React.ComponentProps<typeof DialogPrimitive.Portal>["container"]>;
|
|
8
|
+
};
|
|
9
|
+
declare const DrawerPortal: ({ ...props }: DrawerPortalProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const DrawerClose: ({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Close>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const DrawerOverlay: ({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const DrawerContent: ({ className, children, showCloseButton, side, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
13
|
+
showCloseButton?: boolean;
|
|
14
|
+
side?: DrawerSide;
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare const DrawerHeader: ({ className, ...props }: React.ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare const DrawerFooter: ({ className, ...props }: React.ComponentProps<"div">) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare const DrawerTitle: ({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare const DrawerDescription: ({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, };
|