@leavepulse/ui 0.36.0 → 0.36.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.
@@ -6,7 +6,7 @@ import { _ as _sfc_main$3 } from "./LpButton-5VXXCjwF.js";
6
6
  import { _ as _sfc_main$1 } from "./LpFormField-CazBc2-a.js";
7
7
  import { _ as _sfc_main$4 } from "./LpIcon-CCnX5_2j.js";
8
8
  import { _ as _sfc_main$5 } from "./LpInput-9EXWUM9B.js";
9
- import { _ as _sfc_main$7 } from "./LpModal-7LvuAA7U.js";
9
+ import { _ as _sfc_main$7 } from "./LpModal-D3QxgWaT.js";
10
10
  import { _ as _sfc_main$6 } from "./LpSelect-ANIVtrpM.js";
11
11
  import { useMergedAttrs } from "../composables/useMergedClass.js";
12
12
  const _hoisted_1 = { class: "flex items-stretch gap-2" };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, createSlots, withCtx, renderSlot, createVNode, createTextVNode, toDisplayString, createElementVNode, normalizeClass } from "vue";
2
2
  import { _ as _sfc_main$2 } from "./LpButton-5VXXCjwF.js";
3
3
  import { _ as _sfc_main$3 } from "./LpIcon-CCnX5_2j.js";
4
- import { _ as _sfc_main$1 } from "./LpModal-7LvuAA7U.js";
4
+ import { _ as _sfc_main$1 } from "./LpModal-D3QxgWaT.js";
5
5
  const _hoisted_1 = { class: "inline-flex items-center gap-2.5" };
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "LpConfirmDialog",
@@ -135,7 +135,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
135
135
  class: "flex items-start",
136
136
  style: normalizeStyle(hasAside.value ? { maxHeight: "min(90vh, calc(100dvh - 2rem))" } : void 0)
137
137
  }, [
138
- _ctx.$slots.aside ? (openBlock(), createElementBlock("aside", _hoisted_1, [
138
+ __props.open && _ctx.$slots.aside ? (openBlock(), createElementBlock("aside", _hoisted_1, [
139
139
  renderSlot(_ctx.$slots, "aside")
140
140
  ])) : createCommentVNode("", true),
141
141
  createVNode(unref(DialogContent), mergeProps({
@@ -205,7 +205,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
205
205
  ]),
206
206
  _: 3
207
207
  }, 16, ["class", "style"]),
208
- _ctx.$slots.asideEnd ? (openBlock(), createElementBlock("aside", _hoisted_5, [
208
+ __props.open && _ctx.$slots.asideEnd ? (openBlock(), createElementBlock("aside", _hoisted_5, [
209
209
  renderSlot(_ctx.$slots, "asideEnd")
210
210
  ])) : createCommentVNode("", true)
211
211
  ], 4)
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, openBlock, createBlock, createSlots, withCtx, renderSlot, createElementVNode, normalizeClass, createVNode, createCommentVNode, createTextVNode, toDisplayString } from "vue";
2
2
  import { _ as _sfc_main$2 } from "./LpButton-5VXXCjwF.js";
3
3
  import { _ as _sfc_main$3 } from "./LpIcon-CCnX5_2j.js";
4
- import { _ as _sfc_main$1 } from "./LpModal-7LvuAA7U.js";
4
+ import { _ as _sfc_main$1 } from "./LpModal-D3QxgWaT.js";
5
5
  import { _ as _sfc_main$4 } from "./LpSidebar-DcYavim2.js";
6
6
  const _hoisted_1 = { class: "flex items-center gap-2" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpAddressInput-D4t8WFD-.js";
1
+ import { _ as _sfc_main } from "../chunks/LpAddressInput-C8NZWkH_.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpConfirmDialog-CxbizvSB.js";
1
+ import { _ as _sfc_main } from "../chunks/LpConfirmDialog-B6RAvDES.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpModal-7LvuAA7U.js";
1
+ import { _ as _sfc_main } from "../chunks/LpModal-D3QxgWaT.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/LpModalNav-DBMGlq_x.js";
1
+ import { _ as _sfc_main } from "../chunks/LpModalNav-K6N5YpQk.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createBlock, withCtx, createElementVNode, createElementBlock, Fragment, renderList, toDisplayString, unref } from "vue";
2
- import { _ as _sfc_main$1 } from "../chunks/LpModal-7LvuAA7U.js";
2
+ import { _ as _sfc_main$1 } from "../chunks/LpModal-D3QxgWaT.js";
3
3
  import { appleModifierLabel } from "../composables/useHotkeys.js";
4
4
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper-1tPrXgE0.js";
5
5
  import '../assets/LpShortcutsDialog-B7H-RZLQ.css';const _hoisted_1 = { class: "shortcut-groups" };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { _ } from "./chunks/LayoutCanvas-Dd20boUG.js";
2
- import { _ as _2 } from "./chunks/LpAddressInput-D4t8WFD-.js";
2
+ import { _ as _2 } from "./chunks/LpAddressInput-C8NZWkH_.js";
3
3
  import { _ as _3 } from "./chunks/LpMapPicker-ul4oYno6.js";
4
4
  import { OSM_TILES, createNominatimProvider, emptyAddress, formatAddress, project, tileUrl, unproject } from "./components/address.js";
5
5
  import { _ as _4 } from "./chunks/LpActionBar-BlvtGB2P.js";
@@ -19,7 +19,7 @@ import { _ as _15 } from "./chunks/LpCodeBlock-Bo0B4TFR.js";
19
19
  import { _ as _16 } from "./chunks/LpColorPicker-CFC6iaNK.js";
20
20
  import { DEFAULT_SWATCHES, clampHsv, formatColor, hsvToHsl, hsvToRgb, isLight, normalizeHue, opaqueCss, parseColor, parseHex, rgbToHex, rgbToHsv } from "./components/color.js";
21
21
  import { default as default3 } from "./components/LpCommandPalette.vue.js";
22
- import { _ as _17 } from "./chunks/LpConfirmDialog-CxbizvSB.js";
22
+ import { _ as _17 } from "./chunks/LpConfirmDialog-B6RAvDES.js";
23
23
  import { _ as _18 } from "./chunks/LpContextMenu-B6WBLleS.js";
24
24
  import { _ as _19 } from "./chunks/LpDatePicker-6JFXllj5.js";
25
25
  import { _ as _20 } from "./chunks/LpDisclosure-ChQYmjlR.js";
@@ -40,8 +40,8 @@ import { fileNameOf } from "./components/lightbox.js";
40
40
  import { _ as _31 } from "./chunks/LpLink-DCND-zyu.js";
41
41
  import { _ as _32 } from "./chunks/LpLogViewer-y53ZqSVq.js";
42
42
  import { _ as _33 } from "./chunks/LpMediaGallery-Cid7PGYx.js";
43
- import { _ as _34 } from "./chunks/LpModal-7LvuAA7U.js";
44
- import { _ as _35 } from "./chunks/LpModalNav-DBMGlq_x.js";
43
+ import { _ as _34 } from "./chunks/LpModal-D3QxgWaT.js";
44
+ import { _ as _35 } from "./chunks/LpModalNav-K6N5YpQk.js";
45
45
  import { _ as _36 } from "./chunks/LpNotificationBell-lHePf89W.js";
46
46
  import { _ as _37 } from "./chunks/LpNumberField-CWuX08iX.js";
47
47
  import { _ as _38 } from "./chunks/LpNumberFlow-amWYaeuA.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavepulse/ui",
3
- "version": "0.36.0",
3
+ "version": "0.36.1",
4
4
  "type": "module",
5
5
  "description": "LeavePulse token-driven Vue component kit.",
6
6
  "repository": {
@@ -275,12 +275,17 @@ watch(
275
275
  class="flex items-start"
276
276
  :style="hasAside ? { maxHeight: 'min(90vh, calc(100dvh - 2rem))' } : undefined"
277
277
  >
278
- <!-- `pointer-events-auto` because the wrapper lets clicks through to the
278
+ <!-- Bound to `open`, not to the slot alone: DialogContent unmounts itself
279
+ with the dialog, but an aside is an ordinary node in the portal and
280
+ stayed on screen after the dialog closed — a section list floating
281
+ over the page with nothing behind it.
282
+
283
+ `pointer-events-auto` because the wrapper lets clicks through to the
279
284
  overlay, and the aside is not the overlay. `data-lp-modal-aside` is
280
285
  what tells `interact-outside` a click here is not a click on the
281
286
  scrim — without it the dialog closes under the pointer. -->
282
287
  <aside
283
- v-if="$slots.aside"
288
+ v-if="open && $slots.aside"
284
289
  data-lp-modal-aside
285
290
  class="pointer-events-auto flex min-h-0 flex-col"
286
291
  >
@@ -355,7 +360,7 @@ watch(
355
360
  </DialogContent>
356
361
 
357
362
  <aside
358
- v-if="$slots.asideEnd"
363
+ v-if="open && $slots.asideEnd"
359
364
  data-lp-modal-aside
360
365
  class="pointer-events-auto flex min-h-0 flex-col"
361
366
  >