@sarunyu/system-one 4.2.1 → 4.2.2

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.cjs CHANGED
@@ -3491,6 +3491,7 @@ function Modal({
3491
3491
  }) {
3492
3492
  const isContent = variant === "content";
3493
3493
  const isAlert = variant === "alert";
3494
+ const isDialog = variant === "dialog";
3494
3495
  const isDesktop = responsive === "desktop";
3495
3496
  const alert = ALERT_CONFIG[alertStatus];
3496
3497
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -3499,7 +3500,7 @@ function Modal({
3499
3500
  className: cn(
3500
3501
  "w-auto overflow-hidden border border-border bg-background",
3501
3502
  isAlert ? "w-[343px] rounded-2xl" : "rounded-xl",
3502
- isContent ? "min-w-[343px] max-w-[500px] " : isAlert ? void 0 : "min-w-[375px] max-w-[500px]",
3503
+ isContent ? "min-w-[343px] max-w-[500px] " : isAlert ? void 0 : isDialog && "min-w-[375px] max-w-[500px]",
3503
3504
  className
3504
3505
  ),
3505
3506
  children: [