@nayhoo/ui 0.19.1 → 0.20.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/{chunk-VMWZ4AUH.mjs → chunk-MUDYNY2P.mjs} +2 -4
- package/dist/{chunk-VMWZ4AUH.mjs.map → chunk-MUDYNY2P.mjs.map} +1 -1
- package/dist/components/dialog.css +2 -5
- package/dist/components/dialog.css.map +1 -1
- package/dist/components/dialog.d.mts +5 -10
- package/dist/components/dialog.d.ts +5 -10
- package/dist/components/dialog.js +75 -24
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/dialog.mjs +34 -19
- package/dist/components/dialog.mjs.map +1 -1
- package/dist/patterns/index.css +2 -5
- package/dist/patterns/index.css.map +1 -1
- package/dist/patterns/index.mjs +1 -1
- package/dist/theme/index.css +2 -5
- package/dist/theme/index.css.map +1 -1
- package/dist/theme/index.d.mts +1 -2
- package/dist/theme/index.d.ts +1 -2
- package/dist/theme/index.js +0 -3
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/index.mjs +1 -3
- package/package.json +9 -7
|
@@ -12,26 +12,21 @@ declare const Dialog: react.FC<DialogPrimitive.DialogProps>;
|
|
|
12
12
|
type DialogCloseProps = DialogPrimitive.DialogCloseProps;
|
|
13
13
|
declare const DialogClose: react.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
14
14
|
type DialogContentProps = DialogPrimitive.DialogContentProps & DialogContentVariants & {
|
|
15
|
-
components?: {
|
|
16
|
-
Footer?: React.ReactNode;
|
|
17
|
-
Header?: React.ReactNode;
|
|
18
|
-
};
|
|
19
15
|
disableOverlayBlur?: boolean;
|
|
16
|
+
title?: string;
|
|
20
17
|
};
|
|
21
|
-
declare const DialogContent: ({ children,
|
|
18
|
+
declare const DialogContent: ({ children, disableOverlayBlur, title, ...props }: DialogContentProps) => react_jsx_runtime.JSX.Element;
|
|
22
19
|
type DialogDescriptionProps = DialogPrimitive.DialogDescriptionProps;
|
|
23
20
|
declare const DialogDescription: ({ ...props }: DialogDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
24
21
|
type DialogFooterProps = {
|
|
25
22
|
children: React.ReactNode;
|
|
26
23
|
};
|
|
27
24
|
declare const DialogFooter: ({ children }: DialogFooterProps) => react_jsx_runtime.JSX.Element;
|
|
28
|
-
type
|
|
25
|
+
type DialogBodyProps = {
|
|
29
26
|
children: React.ReactNode;
|
|
30
27
|
};
|
|
31
|
-
declare const
|
|
32
|
-
type DialogTitleProps = DialogPrimitive.DialogTitleProps;
|
|
33
|
-
declare const DialogTitle: ({ ...props }: DialogTitleProps) => react_jsx_runtime.JSX.Element;
|
|
28
|
+
declare const DialogBody: ({ children }: DialogBodyProps) => react_jsx_runtime.JSX.Element;
|
|
34
29
|
type DialogTriggerProps = DialogPrimitive.DialogTriggerProps;
|
|
35
30
|
declare const DialogTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
36
31
|
|
|
37
|
-
export { Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps,
|
|
32
|
+
export { Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, type DialogProps, DialogTrigger, type DialogTriggerProps };
|
|
@@ -12,26 +12,21 @@ declare const Dialog: react.FC<DialogPrimitive.DialogProps>;
|
|
|
12
12
|
type DialogCloseProps = DialogPrimitive.DialogCloseProps;
|
|
13
13
|
declare const DialogClose: react.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
14
14
|
type DialogContentProps = DialogPrimitive.DialogContentProps & DialogContentVariants & {
|
|
15
|
-
components?: {
|
|
16
|
-
Footer?: React.ReactNode;
|
|
17
|
-
Header?: React.ReactNode;
|
|
18
|
-
};
|
|
19
15
|
disableOverlayBlur?: boolean;
|
|
16
|
+
title?: string;
|
|
20
17
|
};
|
|
21
|
-
declare const DialogContent: ({ children,
|
|
18
|
+
declare const DialogContent: ({ children, disableOverlayBlur, title, ...props }: DialogContentProps) => react_jsx_runtime.JSX.Element;
|
|
22
19
|
type DialogDescriptionProps = DialogPrimitive.DialogDescriptionProps;
|
|
23
20
|
declare const DialogDescription: ({ ...props }: DialogDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
24
21
|
type DialogFooterProps = {
|
|
25
22
|
children: React.ReactNode;
|
|
26
23
|
};
|
|
27
24
|
declare const DialogFooter: ({ children }: DialogFooterProps) => react_jsx_runtime.JSX.Element;
|
|
28
|
-
type
|
|
25
|
+
type DialogBodyProps = {
|
|
29
26
|
children: React.ReactNode;
|
|
30
27
|
};
|
|
31
|
-
declare const
|
|
32
|
-
type DialogTitleProps = DialogPrimitive.DialogTitleProps;
|
|
33
|
-
declare const DialogTitle: ({ ...props }: DialogTitleProps) => react_jsx_runtime.JSX.Element;
|
|
28
|
+
declare const DialogBody: ({ children }: DialogBodyProps) => react_jsx_runtime.JSX.Element;
|
|
34
29
|
type DialogTriggerProps = DialogPrimitive.DialogTriggerProps;
|
|
35
30
|
declare const DialogTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
36
31
|
|
|
37
|
-
export { Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps,
|
|
32
|
+
export { Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, type DialogProps, DialogTrigger, type DialogTriggerProps };
|