@woobee/ui 0.2.3 → 0.2.4

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.mjs CHANGED
@@ -633,16 +633,15 @@ function Modal({
633
633
  }
634
634
  if (!mounted) return null;
635
635
  return createPortal(
636
- /* @__PURE__ */ jsx(Transition, { show: open, onExited, children: /* @__PURE__ */ jsx("div", { className: "fixed inset-x-0 text-sm bottom-0 z-[1300] px-0 bg-opacity-30 lg:px-6 lg:inset-0 lg:flex lg:items-center lg:justify-center", children: /* @__PURE__ */ jsxs(
636
+ /* @__PURE__ */ jsx(Transition, { show: open, onExited, children: /* @__PURE__ */ jsx("div", { className: "fixed inset-x-0 text-sm bottom-0 z-[1300] px-0 bg-opacity-30 md:px-6 md:inset-0 md:flex md:items-center md:justify-center", children: /* @__PURE__ */ jsxs(
637
637
  "div",
638
638
  {
639
639
  className: classNames({
640
640
  "max-h-[100dvh] overflow-y-auto sm:w-full": true,
641
- "lg:max-w-2xl": !size,
642
- "lg:max-w-md": size === "small",
643
- "lg:max-w-3xl": size === "medium",
644
- "lg:max-w-6xl": size === "large",
645
- "h-[100dvh] lg:h-auto lg:max-w-3xl": size === "full"
641
+ "md:max-w-2xl": !size || size === "medium",
642
+ "md:max-w-md": size === "small",
643
+ "md:max-w-4xl": size === "large",
644
+ "h-[100dvh] md:h-auto md:max-w-3xl": size === "full"
646
645
  }),
647
646
  children: [
648
647
  /* @__PURE__ */ jsx(