randmarcomps 1.37.0 → 1.38.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.
@@ -1,11 +1,11 @@
1
1
  import { ButtonProps as ButtonProps_2 } from './button';
2
2
  import { ClassProp } from 'class-variance-authority/types';
3
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
4
  import { JSX } from 'react/jsx-runtime';
4
5
  import { OTPInput } from 'input-otp';
5
6
  import * as React_2 from 'react';
6
7
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
7
8
  import { SeparatorProps } from '@radix-ui/react-separator';
8
- import * as SheetPrimitive from '@radix-ui/react-dialog';
9
9
  import * as ToastPrimitives from '@radix-ui/react-toast';
10
10
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
11
11
  import { VariantProps } from 'class-variance-authority';
@@ -29,6 +29,29 @@ export declare const buttonVariants: (props?: ({
29
29
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
30
30
  } & ClassProp) | undefined) => string;
31
31
 
32
+ export declare const Dialog: {
33
+ ({ modal, ...props }: DialogPrimitive.DialogProps): JSX.Element;
34
+ displayName: string | undefined;
35
+ };
36
+
37
+ export declare const DialogContent: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
38
+
39
+ export declare const DialogDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
40
+
41
+ export declare const DialogFooter: {
42
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
43
+ displayName: string;
44
+ };
45
+
46
+ export declare const DialogHeader: {
47
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
48
+ displayName: string;
49
+ };
50
+
51
+ export declare const DialogTitle: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
52
+
53
+ export declare const DialogTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
54
+
32
55
  export declare const Input: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
33
56
 
34
57
  export declare function InputOTP({ className, containerClassName, ...props }: React_2.ComponentProps<typeof OTPInput> & {
@@ -72,16 +95,16 @@ export declare interface NavRoute {
72
95
 
73
96
  export declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
74
97
 
75
- export declare const Sheet: React_2.FC<SheetPrimitive.DialogProps>;
98
+ export declare const Sheet: React_2.FC<DialogPrimitive.DialogProps>;
76
99
 
77
- export declare const SheetClose: React_2.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
100
+ export declare const SheetClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
78
101
 
79
102
  export declare const SheetContent: React_2.ForwardRefExoticComponent<SheetContentProps & React_2.RefAttributes<HTMLDivElement>>;
80
103
 
81
- declare interface SheetContentProps extends React_2.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
104
+ declare interface SheetContentProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
82
105
  }
83
106
 
84
- export declare const SheetDescription: React_2.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
107
+ export declare const SheetDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
85
108
 
86
109
  export declare const SheetFooter: {
87
110
  ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
@@ -93,13 +116,13 @@ export declare const SheetHeader: {
93
116
  displayName: string;
94
117
  };
95
118
 
96
- export declare const SheetOverlay: React_2.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
119
+ export declare const SheetOverlay: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
97
120
 
98
- export declare const SheetPortal: React_2.FC<SheetPrimitive.DialogPortalProps>;
121
+ export declare const SheetPortal: React_2.FC<DialogPrimitive.DialogPortalProps>;
99
122
 
100
- export declare const SheetTitle: React_2.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
123
+ export declare const SheetTitle: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
101
124
 
102
- export declare const SheetTrigger: React_2.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
125
+ export declare const SheetTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
103
126
 
104
127
  declare const sheetVariants: (props?: ({
105
128
  side?: "top" | "bottom" | "left" | "right" | null | undefined;