@nubisco/ui 1.15.0 → 1.16.0

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
@@ -16871,6 +16871,8 @@ var i9 = /* @__PURE__ */ function(e) {
16871
16871
  if (!d.value) return;
16872
16872
  let e = d.value.getBoundingClientRect();
16873
16873
  e.right > window.innerWidth && (g.left = Math.max(8, window.innerWidth - e.width - 8)), e.bottom > window.innerHeight && (g.top = Math.max(8, window.innerHeight - e.height - 8));
16874
+ let t = window.innerHeight - g.top - 8;
16875
+ d.value.style.maxHeight = `${t}px`;
16874
16876
  }
16875
16877
  return z(() => i.open, (e) => {
16876
16878
  e ? (p.value = -1, document.addEventListener("mousedown", P), y(() => {
@@ -18429,7 +18431,8 @@ var jqt = { class: "nb-command-palette__input-row" }, Mqt = ["placeholder"], Nqt
18429
18431
  inspectorExpanded: {
18430
18432
  type: Boolean,
18431
18433
  default: !1
18432
- }
18434
+ },
18435
+ inspectorSize: { default: "md" }
18433
18436
  },
18434
18437
  setup(e) {
18435
18438
  let r = R();
@@ -18457,11 +18460,12 @@ var jqt = { class: "nb-command-palette__input-row" }, Mqt = ["placeholder"], Nqt
18457
18460
  ]),
18458
18461
  u("aside", { class: b(["nb-shell__inspector", {
18459
18462
  "nb-shell__inspector--visible": e.inspectorVisible,
18460
- "nb-shell__inspector--expanded": e.inspectorVisible && e.inspectorExpanded
18463
+ "nb-shell__inspector--expanded": e.inspectorVisible && e.inspectorExpanded,
18464
+ [`nb-shell__inspector--${e.inspectorSize}`]: e.inspectorVisible
18461
18465
  }]) }, [A(t.$slots, "inspector", {}, void 0, !0)], 2)
18462
18466
  ]));
18463
18467
  }
18464
- }), [["__scopeId", "data-v-94adc152"]]), k9 = /* @__PURE__ */ H(/* @__PURE__ */ m({
18468
+ }), [["__scopeId", "data-v-ee986110"]]), k9 = /* @__PURE__ */ H(/* @__PURE__ */ m({
18465
18469
  __name: "SidebarLink",
18466
18470
  props: {
18467
18471
  to: { default: void 0 },