@wpic/ui 0.9.16 → 0.9.18

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/wpic-ui.js CHANGED
@@ -3665,6 +3665,7 @@ const R6 = {
3665
3665
  title: {},
3666
3666
  subtitle: {},
3667
3667
  size: {},
3668
+ bodyScroll: { type: Boolean, default: !0 },
3668
3669
  zIndex: {},
3669
3670
  hideClose: { type: Boolean },
3670
3671
  noPadding: { type: Boolean },
@@ -3678,7 +3679,7 @@ const R6 = {
3678
3679
  i("div", {
3679
3680
  style: h1(m(c)?.variables),
3680
3681
  "data-wpic-theme": m(c)?.mode,
3681
- class: g([{ "wpic-theme": m(c), dark: m(c)?.mode === "dark" }, "wpic-modal-overlay wpic:flex wpic:items-center wpic:justify-center wpic:bg-black/50 wpic:backdrop-blur-sm wpic:px-4", n.zIndex]),
3682
+ class: g([{ "wpic-theme": m(c), dark: m(c)?.mode === "dark" }, "wpic-modal-overlay wpic:flex wpic:items-center wpic:justify-center wpic:bg-black/50 wpic:backdrop-blur-sm", n.size === "screen" ? "wpic:px-3" : "wpic:px-4", n.zIndex]),
3682
3683
  onMousedown: o[2] || (o[2] = f1((f) => p.value = !0, ["self"])),
3683
3684
  onMouseup: o[3] || (o[3] = f1((f) => p.value && s("close"), ["self"]))
3684
3685
  }, [
@@ -3691,7 +3692,7 @@ const R6 = {
3691
3692
  class: g([
3692
3693
  "wpic-modal-panel wpic:w-full wpic:mx-auto wpic:flex wpic:flex-col",
3693
3694
  n.frameless ? "wpic-modal-panel--frameless" : "wpic:bg-white wpic:dark:bg-zinc-900 wpic:rounded-xl wpic:border wpic:border-zinc-200 wpic:dark:border-zinc-800 wpic:shadow-2xl",
3694
- n.size === "sm" ? "wpic-modal-sm" : n.size === "lg" ? "wpic-modal-lg" : n.size === "xl" ? "wpic-modal-xl" : n.size === "2xl" ? "wpic-modal-2xl" : n.size === "full" ? "wpic-modal-full" : "wpic-modal-md"
3695
+ n.size === "screen" ? "wpic-modal-screen" : n.size === "sm" ? "wpic-modal-sm" : n.size === "lg" ? "wpic-modal-lg" : n.size === "xl" ? "wpic-modal-xl" : n.size === "2xl" ? "wpic-modal-2xl" : n.size === "full" ? "wpic-modal-full" : "wpic-modal-md"
3695
3696
  ])
3696
3697
  }, [
3697
3698
  n.title || l.$slots.header || !n.hideClose ? (e(), t("div", z9, [
@@ -3712,7 +3713,7 @@ const R6 = {
3712
3713
  ]))
3713
3714
  ])) : h("", !0),
3714
3715
  i("div", {
3715
- class: g(["wpic:flex-1 wpic:overflow-y-auto", n.noPadding ? "" : "wpic:px-5 wpic:py-4"])
3716
+ class: g(["wpic:flex-1 wpic:min-h-0", n.bodyScroll === !1 ? "wpic:overflow-hidden" : "wpic:overflow-y-auto", n.noPadding ? "" : "wpic:px-5 wpic:py-4"])
3716
3717
  }, [
3717
3718
  Q(l.$slots, "default")
3718
3719
  ], 2),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wpic/ui",
3
- "version": "0.9.16",
3
+ "version": "0.9.18",
4
4
  "type": "module",
5
5
  "description": "WPIC shared Vue 3 component library",
6
6
  "publishConfig": {