@bookers/ui 0.8.0 → 0.9.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/dist/index.d.ts CHANGED
@@ -480,6 +480,58 @@ export declare const DialogTitle: React_2.ForwardRefExoticComponent<Omit<DialogP
480
480
 
481
481
  export declare const DialogTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
482
482
 
483
+ export declare const Drawer: {
484
+ ({ trigger, title, description, children, footer, side, size, contentClassName, dismissible, ...props }: DrawerProps): JSX.Element;
485
+ displayName: string;
486
+ };
487
+
488
+ export declare const DrawerClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
489
+
490
+ export declare const DrawerContent: React_2.ForwardRefExoticComponent<DrawerContentProps & React_2.RefAttributes<HTMLDivElement>>;
491
+
492
+ export declare interface DrawerContentProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof drawerVariants> {
493
+ dismissible?: boolean;
494
+ }
495
+
496
+ export declare const DrawerDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
497
+
498
+ export declare const DrawerFooter: {
499
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
500
+ displayName: string;
501
+ };
502
+
503
+ export declare const DrawerHeader: {
504
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
505
+ displayName: string;
506
+ };
507
+
508
+ export declare const DrawerOverlay: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
509
+
510
+ export declare const DrawerPortal: React_2.FC<DialogPrimitive.DialogPortalProps>;
511
+
512
+ export declare interface DrawerProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Root> {
513
+ trigger?: React_2.ReactElement;
514
+ title: string;
515
+ description?: React_2.ReactNode;
516
+ children?: React_2.ReactNode;
517
+ footer?: React_2.ReactNode;
518
+ side?: DrawerContentProps["side"];
519
+ size?: DrawerContentProps["size"];
520
+ contentClassName?: string;
521
+ dismissible?: boolean;
522
+ }
523
+
524
+ export declare const DrawerRoot: React_2.FC<DialogPrimitive.DialogProps>;
525
+
526
+ export declare const DrawerTitle: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
527
+
528
+ export declare const DrawerTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
529
+
530
+ export declare const drawerVariants: (props?: ({
531
+ side?: "left" | "right" | "top" | "bottom" | null | undefined;
532
+ size?: "sm" | "md" | "lg" | "full" | null | undefined;
533
+ } & ClassProp) | undefined) => string;
534
+
483
535
  export declare const DropdownMenu: {
484
536
  ({ trigger, items, side, align, sideOffset, contentClassName, ...props }: DropdownMenuProps): JSX.Element;
485
537
  displayName: string;