@underverse-ui/underverse 0.2.8 → 0.2.9

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
@@ -2177,6 +2177,7 @@ var Modal = ({
2177
2177
  if (!isMounted || !isOpen && !isVisible) {
2178
2178
  return null;
2179
2179
  }
2180
+ const maxWidthClass = width ? "max-w-none" : fullWidth ? "max-w-full" : sizeStyles3[size];
2180
2181
  const modalContent = /* @__PURE__ */ jsxs11("div", { className: cn("fixed inset-0 z-[9999] flex items-center justify-center", overlayClassName), onClick: handleOverlayClick, children: [
2181
2182
  /* @__PURE__ */ jsx13(
2182
2183
  "div",
@@ -2191,9 +2192,9 @@ var Modal = ({
2191
2192
  "div",
2192
2193
  {
2193
2194
  className: cn(
2194
- "relative w-full rounded-lg bg-card text-card-foreground shadow-xl",
2195
+ "relative w-full rounded-lg bg-card text-card-foreground shadow-xl",
2195
2196
  "transition-all duration-200 ease-out",
2196
- fullWidth ? "max-w-full" : sizeStyles3[size],
2197
+ maxWidthClass,
2197
2198
  fullWidth && "mx-0",
2198
2199
  className
2199
2200
  ),