@apcrda/ui 0.4.1 → 0.4.3
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,5 +1,5 @@
|
|
|
1
1
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
2
|
-
import type { DialogFooterProps, DialogHeaderProps, DialogSize } from './Dialog.types';
|
|
2
|
+
import type { DialogBodyProps, DialogFooterProps, DialogHeaderProps, DialogSize } from './Dialog.types';
|
|
3
3
|
export declare const Dialog: import("react").FC<DialogPrimitive.DialogProps>;
|
|
4
4
|
export declare const DialogTrigger: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
export declare const DialogClose: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -14,6 +14,10 @@ export declare function DialogHeader({ className, ...props }: DialogHeaderProps)
|
|
|
14
14
|
export declare namespace DialogHeader {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
|
17
|
+
export declare function DialogBody({ className, ...props }: DialogBodyProps): import("react").JSX.Element;
|
|
18
|
+
export declare namespace DialogBody {
|
|
19
|
+
var displayName: string;
|
|
20
|
+
}
|
|
17
21
|
export declare function DialogFooter({ className, ...props }: DialogFooterProps): import("react").JSX.Element;
|
|
18
22
|
export declare namespace DialogFooter {
|
|
19
23
|
var displayName: string;
|
|
@@ -8,6 +8,7 @@ export type DialogTitleProps = ComponentPropsWithoutRef<typeof DialogPrimitive.T
|
|
|
8
8
|
export type DialogDescriptionProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Description>;
|
|
9
9
|
export type DialogOverlayProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
10
10
|
export type DialogHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
11
|
+
export type DialogBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
11
12
|
export type DialogFooterProps = HTMLAttributes<HTMLDivElement>;
|
|
12
13
|
export type DialogContentProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {
|
|
13
14
|
readonly size?: DialogSize;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './Dialog';
|
|
2
|
-
export type { DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogOverlayProps, DialogProps, DialogSize, DialogTitleProps, DialogTriggerProps } from './Dialog.types';
|
|
1
|
+
export { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './Dialog';
|
|
2
|
+
export type { DialogBodyProps, DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogOverlayProps, DialogProps, DialogSize, DialogTitleProps, DialogTriggerProps } from './Dialog.types';
|