@nubisco/ui 1.15.1 → 1.16.1

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
@@ -18431,7 +18431,8 @@ var jqt = { class: "nb-command-palette__input-row" }, Mqt = ["placeholder"], Nqt
18431
18431
  inspectorExpanded: {
18432
18432
  type: Boolean,
18433
18433
  default: !1
18434
- }
18434
+ },
18435
+ inspectorSize: { default: "md" }
18435
18436
  },
18436
18437
  setup(e) {
18437
18438
  let r = R();
@@ -18459,11 +18460,12 @@ var jqt = { class: "nb-command-palette__input-row" }, Mqt = ["placeholder"], Nqt
18459
18460
  ]),
18460
18461
  u("aside", { class: b(["nb-shell__inspector", {
18461
18462
  "nb-shell__inspector--visible": e.inspectorVisible,
18462
- "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
18463
18465
  }]) }, [A(t.$slots, "inspector", {}, void 0, !0)], 2)
18464
18466
  ]));
18465
18467
  }
18466
- }), [["__scopeId", "data-v-94adc152"]]), k9 = /* @__PURE__ */ H(/* @__PURE__ */ m({
18468
+ }), [["__scopeId", "data-v-ee986110"]]), k9 = /* @__PURE__ */ H(/* @__PURE__ */ m({
18467
18469
  __name: "SidebarLink",
18468
18470
  props: {
18469
18471
  to: { default: void 0 },
@@ -19473,7 +19475,7 @@ var jqt = { class: "nb-command-palette__input-row" }, Mqt = ["placeholder"], Nqt
19473
19475
  E(z9, m.value + 1);
19474
19476
  let h = o(() => !!i.default), _ = o(() => a?.expandedIds.has(n.id) ?? !1), v = o(() => a?.selectedId === n.id), y = o(() => a?.compact ?? !1), S = o(() => y.value ? "24px" : "32px"), C = o(() => `${16 + m.value * 16}px`), w = o(() => n.disabled ? !1 : n.draggable === null ? a?.draggable ?? !1 : n.draggable), D = o(() => a?.drag.dragId === n.id), O = o(() => a?.drag.dropTargetId === n.id), k = o(() => O.value ? a?.drag.dropPosition : null);
19475
19477
  function j() {
19476
- n.disabled || !a || (a.select(n.id), r("select", n.id));
19478
+ n.disabled || !a || (a.select(n.id), r("select", n.id), h.value && (a.toggle(n.id), r("toggle", n.id, !_.value)));
19477
19479
  }
19478
19480
  function M(e) {
19479
19481
  e.stopPropagation(), !(n.disabled || !a) && (a.toggle(n.id), r("toggle", n.id, !_.value));
@@ -19564,7 +19566,7 @@ var jqt = { class: "nb-command-palette__input-row" }, Mqt = ["placeholder"], Nqt
19564
19566
  t.$slots.actions ? (T(), l("span", _Yt, [A(t.$slots, "actions", {}, void 0, !0)])) : c("", !0)
19565
19567
  ], 4), h.value && _.value ? (T(), l("ul", vYt, [A(t.$slots, "default", {}, void 0, !0)])) : c("", !0)], 42, mYt));
19566
19568
  }
19567
- }), [["__scopeId", "data-v-6ebe7157"]]), yYt = { class: "nb-bottom-panel__header" }, bYt = { class: "nb-bottom-panel__header-left" }, xYt = {
19569
+ }), [["__scopeId", "data-v-66cf14fb"]]), yYt = { class: "nb-bottom-panel__header" }, bYt = { class: "nb-bottom-panel__header-left" }, xYt = {
19568
19570
  key: 0,
19569
19571
  class: "nb-bottom-panel__title"
19570
19572
  }, SYt = { class: "nb-bottom-panel__header-center" }, CYt = {