@hilum/ui 3.6.5 → 3.6.6
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.js
CHANGED
|
@@ -1954,7 +1954,7 @@ var AlertDialogContent = React16.forwardRef(({ className, children, ...props },
|
|
|
1954
1954
|
className: cn(
|
|
1955
1955
|
mobileDialogSheetContentClassName,
|
|
1956
1956
|
desktopDialogContentClassName,
|
|
1957
|
-
"border border-border shadow-elevated
|
|
1957
|
+
"border border-border shadow-elevated max-w-md",
|
|
1958
1958
|
dialogSheetMotionClassName,
|
|
1959
1959
|
className
|
|
1960
1960
|
),
|
|
@@ -8256,7 +8256,7 @@ var DialogContent = forwardRef(
|
|
|
8256
8256
|
if (!open) setMounted(false);
|
|
8257
8257
|
};
|
|
8258
8258
|
if (!mounted) return null;
|
|
8259
|
-
const sizeClassName = size === "sm" ? container ? "max-w-[400px]" : "
|
|
8259
|
+
const sizeClassName = size === "sm" ? container ? "max-w-[400px]" : "max-w-[400px]" : container ? "max-w-[540px]" : "max-w-[540px]";
|
|
8260
8260
|
return /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { forceMount: true, container: container ?? void 0, children: [
|
|
8261
8261
|
/* @__PURE__ */ jsx(DialogPrimitive.Overlay, { asChild: true, forceMount: true, children: /* @__PURE__ */ jsx(
|
|
8262
8262
|
motion.div,
|