@wpic/ui 0.7.6 → 0.7.7

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
@@ -4608,7 +4608,8 @@ const za = /* @__PURE__ */ Y1(P7, [["render", T7]]), ga = /* @__PURE__ */ X({
4608
4608
  props: {
4609
4609
  modelValue: { type: Boolean },
4610
4610
  title: {},
4611
- width: {}
4611
+ width: {},
4612
+ island: { type: Boolean }
4612
4613
  },
4613
4614
  emits: ["update:modelValue"],
4614
4615
  setup(n, { emit: h }) {
@@ -4635,8 +4636,8 @@ const za = /* @__PURE__ */ Y1(P7, [["render", T7]]), ga = /* @__PURE__ */ X({
4635
4636
  default: o1(() => [
4636
4637
  n.modelValue ? (e(), l("div", {
4637
4638
  key: 0,
4638
- class: g(["fixed top-0 h-full z-[70] flex flex-col bg-white dark:bg-zinc-900 border-l border-zinc-200 dark:border-zinc-800 shadow-2xl", n.width ?? "w-[420px]"]),
4639
- style: { right: "var(--wpic-docked-chat-width, 0px)" }
4639
+ class: g(["fixed box-border z-[70] flex flex-col bg-white dark:bg-zinc-900 border-zinc-200 dark:border-zinc-800 shadow-2xl", n.island ? "top-3 bottom-3 rounded-xl border overflow-hidden" : "top-0 h-full border-l", n.width ?? "w-[420px]"]),
4640
+ style: m1({ right: n.island ? "calc(var(--wpic-docked-chat-width, 0px) + 12px)" : "var(--wpic-docked-chat-width, 0px)", maxWidth: n.island ? "calc(100vw - var(--wpic-docked-chat-width, 0px) - 24px)" : "calc(100vw - var(--wpic-docked-chat-width, 0px))" })
4640
4641
  }, [
4641
4642
  a("div", N7, [
4642
4643
  q(u.$slots, "header", {}, () => [
@@ -4655,7 +4656,7 @@ const za = /* @__PURE__ */ Y1(P7, [["render", T7]]), ga = /* @__PURE__ */ X({
4655
4656
  u.$slots.footer ? (e(), l("div", O7, [
4656
4657
  q(u.$slots, "footer")
4657
4658
  ])) : m("", !0)
4658
- ], 2)) : m("", !0)
4659
+ ], 6)) : m("", !0)
4659
4660
  ]),
4660
4661
  _: 3
4661
4662
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wpic/ui",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "type": "module",
5
5
  "description": "WPIC shared Vue 3 component library",
6
6
  "publishConfig": {