@reeverdev/ui 0.2.107 → 0.2.108
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.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -17
- package/dist/index.d.ts +2 -17
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -63,7 +63,6 @@ declare const buttonVariants: (props?: ({
|
|
|
63
63
|
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
64
64
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
65
65
|
interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "color">, VariantProps<typeof buttonVariants> {
|
|
66
|
-
asChild?: boolean;
|
|
67
66
|
href?: string;
|
|
68
67
|
loading?: boolean;
|
|
69
68
|
startContent?: React$1.ReactNode;
|
|
@@ -106,11 +105,9 @@ interface DialogProps {
|
|
|
106
105
|
}
|
|
107
106
|
declare const Dialog: React$1.FC<DialogProps>;
|
|
108
107
|
interface DialogTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
109
|
-
asChild?: boolean;
|
|
110
108
|
}
|
|
111
109
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
112
110
|
interface DialogCloseProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
113
|
-
asChild?: boolean;
|
|
114
111
|
}
|
|
115
112
|
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
116
113
|
interface DialogPortalProps {
|
|
@@ -255,7 +252,6 @@ interface TooltipProps {
|
|
|
255
252
|
}
|
|
256
253
|
declare const Tooltip: React$1.FC<TooltipProps>;
|
|
257
254
|
interface TooltipTriggerProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
258
|
-
asChild?: boolean;
|
|
259
255
|
}
|
|
260
256
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
261
257
|
type Side$3 = "top" | "right" | "bottom" | "left";
|
|
@@ -379,11 +375,9 @@ interface PopoverProps {
|
|
|
379
375
|
}
|
|
380
376
|
declare const Popover: React$1.FC<PopoverProps>;
|
|
381
377
|
interface PopoverTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
382
|
-
asChild?: boolean;
|
|
383
378
|
}
|
|
384
379
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
385
380
|
interface PopoverAnchorProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
386
|
-
asChild?: boolean;
|
|
387
381
|
}
|
|
388
382
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
389
383
|
type Side$1 = "top" | "right" | "bottom" | "left";
|
|
@@ -432,11 +426,9 @@ interface SheetProps {
|
|
|
432
426
|
}
|
|
433
427
|
declare const Sheet: React$1.FC<SheetProps>;
|
|
434
428
|
interface SheetTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
435
|
-
asChild?: boolean;
|
|
436
429
|
}
|
|
437
430
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<SheetTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
438
431
|
interface SheetCloseProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
439
|
-
asChild?: boolean;
|
|
440
432
|
}
|
|
441
433
|
declare const SheetClose: React$1.ForwardRefExoticComponent<SheetCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
442
434
|
interface SheetPortalProps {
|
|
@@ -487,7 +479,6 @@ interface ContextMenuProps {
|
|
|
487
479
|
}
|
|
488
480
|
declare const ContextMenu: React$1.FC<ContextMenuProps>;
|
|
489
481
|
interface ContextMenuTriggerProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
490
|
-
asChild?: boolean;
|
|
491
482
|
}
|
|
492
483
|
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenuTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
493
484
|
interface ContextMenuGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
@@ -678,7 +669,6 @@ interface HoverCardProps {
|
|
|
678
669
|
}
|
|
679
670
|
declare const HoverCard: React$1.FC<HoverCardProps>;
|
|
680
671
|
interface HoverCardTriggerProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
681
|
-
asChild?: boolean;
|
|
682
672
|
}
|
|
683
673
|
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
684
674
|
type Side = "top" | "right" | "bottom" | "left";
|
|
@@ -701,9 +691,7 @@ interface BreadcrumbProps extends React$1.ComponentPropsWithoutRef<"nav">, Varia
|
|
|
701
691
|
declare const Breadcrumb: React$1.ForwardRefExoticComponent<BreadcrumbProps & React$1.RefAttributes<HTMLElement>>;
|
|
702
692
|
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
703
693
|
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
704
|
-
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> &
|
|
705
|
-
asChild?: boolean;
|
|
706
|
-
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
694
|
+
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
707
695
|
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
708
696
|
declare const BreadcrumbSeparator: {
|
|
709
697
|
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
@@ -819,7 +807,6 @@ declare const drawerMenuButtonVariants: (props?: ({
|
|
|
819
807
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
820
808
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
821
809
|
declare const DrawerMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
822
|
-
asChild?: boolean;
|
|
823
810
|
isActive?: boolean;
|
|
824
811
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
825
812
|
} & VariantProps<(props?: ({
|
|
@@ -988,7 +975,7 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
|
|
|
988
975
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
989
976
|
} & {
|
|
990
977
|
asChild?: boolean;
|
|
991
|
-
}, "key" |
|
|
978
|
+
}, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement> | "asChild">, "type" | "onChange" | "value"> & {
|
|
992
979
|
value?: string;
|
|
993
980
|
onValueChange?: (search: string) => void;
|
|
994
981
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -2567,7 +2554,6 @@ interface ModalRootProps {
|
|
|
2567
2554
|
}
|
|
2568
2555
|
declare const ModalRoot: React$1.FC<ModalRootProps>;
|
|
2569
2556
|
interface ModalTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
2570
|
-
asChild?: boolean;
|
|
2571
2557
|
}
|
|
2572
2558
|
declare const ModalTrigger: React$1.ForwardRefExoticComponent<ModalTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2573
2559
|
interface ModalPortalProps {
|
|
@@ -2579,7 +2565,6 @@ interface ModalOverlayProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
2579
2565
|
}
|
|
2580
2566
|
declare const ModalOverlay: React$1.ForwardRefExoticComponent<ModalOverlayProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2581
2567
|
interface ModalCloseProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
2582
|
-
asChild?: boolean;
|
|
2583
2568
|
}
|
|
2584
2569
|
declare const ModalClose: React$1.ForwardRefExoticComponent<ModalCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2585
2570
|
interface ModalContentProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof modalContentVariants> {
|
package/dist/index.d.ts
CHANGED
|
@@ -63,7 +63,6 @@ declare const buttonVariants: (props?: ({
|
|
|
63
63
|
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
64
64
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
65
65
|
interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "color">, VariantProps<typeof buttonVariants> {
|
|
66
|
-
asChild?: boolean;
|
|
67
66
|
href?: string;
|
|
68
67
|
loading?: boolean;
|
|
69
68
|
startContent?: React$1.ReactNode;
|
|
@@ -106,11 +105,9 @@ interface DialogProps {
|
|
|
106
105
|
}
|
|
107
106
|
declare const Dialog: React$1.FC<DialogProps>;
|
|
108
107
|
interface DialogTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
109
|
-
asChild?: boolean;
|
|
110
108
|
}
|
|
111
109
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
112
110
|
interface DialogCloseProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
113
|
-
asChild?: boolean;
|
|
114
111
|
}
|
|
115
112
|
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
116
113
|
interface DialogPortalProps {
|
|
@@ -255,7 +252,6 @@ interface TooltipProps {
|
|
|
255
252
|
}
|
|
256
253
|
declare const Tooltip: React$1.FC<TooltipProps>;
|
|
257
254
|
interface TooltipTriggerProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
258
|
-
asChild?: boolean;
|
|
259
255
|
}
|
|
260
256
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
261
257
|
type Side$3 = "top" | "right" | "bottom" | "left";
|
|
@@ -379,11 +375,9 @@ interface PopoverProps {
|
|
|
379
375
|
}
|
|
380
376
|
declare const Popover: React$1.FC<PopoverProps>;
|
|
381
377
|
interface PopoverTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
382
|
-
asChild?: boolean;
|
|
383
378
|
}
|
|
384
379
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
385
380
|
interface PopoverAnchorProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
386
|
-
asChild?: boolean;
|
|
387
381
|
}
|
|
388
382
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
389
383
|
type Side$1 = "top" | "right" | "bottom" | "left";
|
|
@@ -432,11 +426,9 @@ interface SheetProps {
|
|
|
432
426
|
}
|
|
433
427
|
declare const Sheet: React$1.FC<SheetProps>;
|
|
434
428
|
interface SheetTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
435
|
-
asChild?: boolean;
|
|
436
429
|
}
|
|
437
430
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<SheetTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
438
431
|
interface SheetCloseProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
439
|
-
asChild?: boolean;
|
|
440
432
|
}
|
|
441
433
|
declare const SheetClose: React$1.ForwardRefExoticComponent<SheetCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
442
434
|
interface SheetPortalProps {
|
|
@@ -487,7 +479,6 @@ interface ContextMenuProps {
|
|
|
487
479
|
}
|
|
488
480
|
declare const ContextMenu: React$1.FC<ContextMenuProps>;
|
|
489
481
|
interface ContextMenuTriggerProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
490
|
-
asChild?: boolean;
|
|
491
482
|
}
|
|
492
483
|
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenuTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
493
484
|
interface ContextMenuGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
@@ -678,7 +669,6 @@ interface HoverCardProps {
|
|
|
678
669
|
}
|
|
679
670
|
declare const HoverCard: React$1.FC<HoverCardProps>;
|
|
680
671
|
interface HoverCardTriggerProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
681
|
-
asChild?: boolean;
|
|
682
672
|
}
|
|
683
673
|
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
684
674
|
type Side = "top" | "right" | "bottom" | "left";
|
|
@@ -701,9 +691,7 @@ interface BreadcrumbProps extends React$1.ComponentPropsWithoutRef<"nav">, Varia
|
|
|
701
691
|
declare const Breadcrumb: React$1.ForwardRefExoticComponent<BreadcrumbProps & React$1.RefAttributes<HTMLElement>>;
|
|
702
692
|
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
703
693
|
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
704
|
-
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> &
|
|
705
|
-
asChild?: boolean;
|
|
706
|
-
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
694
|
+
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
707
695
|
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
708
696
|
declare const BreadcrumbSeparator: {
|
|
709
697
|
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
@@ -819,7 +807,6 @@ declare const drawerMenuButtonVariants: (props?: ({
|
|
|
819
807
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
820
808
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
821
809
|
declare const DrawerMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
822
|
-
asChild?: boolean;
|
|
823
810
|
isActive?: boolean;
|
|
824
811
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
825
812
|
} & VariantProps<(props?: ({
|
|
@@ -988,7 +975,7 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
|
|
|
988
975
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
989
976
|
} & {
|
|
990
977
|
asChild?: boolean;
|
|
991
|
-
}, "key" |
|
|
978
|
+
}, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement> | "asChild">, "type" | "onChange" | "value"> & {
|
|
992
979
|
value?: string;
|
|
993
980
|
onValueChange?: (search: string) => void;
|
|
994
981
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -2567,7 +2554,6 @@ interface ModalRootProps {
|
|
|
2567
2554
|
}
|
|
2568
2555
|
declare const ModalRoot: React$1.FC<ModalRootProps>;
|
|
2569
2556
|
interface ModalTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
2570
|
-
asChild?: boolean;
|
|
2571
2557
|
}
|
|
2572
2558
|
declare const ModalTrigger: React$1.ForwardRefExoticComponent<ModalTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2573
2559
|
interface ModalPortalProps {
|
|
@@ -2579,7 +2565,6 @@ interface ModalOverlayProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
2579
2565
|
}
|
|
2580
2566
|
declare const ModalOverlay: React$1.ForwardRefExoticComponent<ModalOverlayProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2581
2567
|
interface ModalCloseProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
2582
|
-
asChild?: boolean;
|
|
2583
2568
|
}
|
|
2584
2569
|
declare const ModalClose: React$1.ForwardRefExoticComponent<ModalCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2585
2570
|
interface ModalContentProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof modalContentVariants> {
|