@meta-1/design 0.0.175 → 0.0.176
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/package.json
CHANGED
|
@@ -55,13 +55,15 @@ export const Dialog: FC<DialogProps> = (props) => {
|
|
|
55
55
|
<DialogTitle className={cn(!title && "sr-only")}>{title || "Dialog"}</DialogTitle>
|
|
56
56
|
{description ? <DialogDescription>{description}</DialogDescription> : null}
|
|
57
57
|
</DialogHeader>
|
|
58
|
-
<div className=
|
|
58
|
+
<div className="min-h-0 flex-1 overflow-auto">
|
|
59
|
+
<div className={cn("w-fit px-6", !footer && "pb-6")}>{props.children}</div>
|
|
60
|
+
</div>
|
|
59
61
|
{footer ? <DialogFooter>{footer}</DialogFooter> : null}
|
|
60
62
|
{loading ? (
|
|
61
63
|
<div
|
|
62
64
|
className={cn(
|
|
63
65
|
"absolute top-0 right-0 bottom-0 left-0 rounded-lg",
|
|
64
|
-
"bg-background/
|
|
66
|
+
"bg-background/20 backdrop-blur-sm",
|
|
65
67
|
"flex items-center justify-center",
|
|
66
68
|
)}
|
|
67
69
|
>
|