@wpic/ui 0.7.5 → 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
  })
@@ -6173,12 +6174,13 @@ const q7 = { class: "wpic-tag-input" }, Q7 = {
6173
6174
  y(q2, G1({ ref_for: !0 }, n.selectLabels, {
6174
6175
  "model-value": s(x.modelKey),
6175
6176
  options: x.options,
6177
+ placeholder: x.placeholder,
6176
6178
  searchable: x.searchable ?? !1,
6177
6179
  clearable: x.clearable ?? !0,
6178
6180
  "option-key": "value",
6179
6181
  "option-label": "label",
6180
6182
  "onUpdate:modelValue": (s1) => i(x.modelKey, s1)
6181
- }), null, 16, ["model-value", "options", "searchable", "clearable", "onUpdate:modelValue"])
6183
+ }), null, 16, ["model-value", "options", "placeholder", "searchable", "clearable", "onUpdate:modelValue"])
6182
6184
  ], 4)) : x.type === "date" ? (e(), Z($n, {
6183
6185
  key: 2,
6184
6186
  "model-value": s(x.modelKey),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wpic/ui",
3
- "version": "0.7.5",
3
+ "version": "0.7.7",
4
4
  "type": "module",
5
5
  "description": "WPIC shared Vue 3 component library",
6
6
  "publishConfig": {