laif-ds 0.2.84 → 0.2.85

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/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable technical changes to the laif-ds core will be documented in this fil
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [laif-ds@0.2.85]
9
+
10
+ ### 🐛 Fixed
11
+
12
+ - **AppEditor**: The `@mention` typeahead menu now renders above modals. The menu is portaled to `<body>`, so inside a laif-ds `Dialog` it was hidden behind the overlay (z-index had no effect on the statically-positioned menu) and, once visible, its options were unclickable (Radix sets `pointer-events:none` on `<body>` while a modal is open). The menu is now positioned with a higher stacking order and re-enables pointer events, so it is both visible and selectable inside dialogs (see issue ISS-235)
13
+
8
14
  ## [laif-ds@0.2.84]
9
15
 
10
16
  ### 🚀 Added
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
3
- import { __require as e } from "../node_modules/style-to-js/cjs/index.js";
4
- var t = e();
5
- const a = /* @__PURE__ */ r(t);
2
+ import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.js";
3
+ import { __require as t } from "../node_modules/eventemitter3/index2.js";
4
+ var r = t();
5
+ const m = /* @__PURE__ */ e(r);
6
6
  export {
7
- a as default
7
+ m as default
8
8
  };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.js";
3
- import { __require as r } from "../node_modules/extend/index.js";
4
- var t = r();
5
- const x = /* @__PURE__ */ e(t);
2
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
3
+ import { __require as e } from "../node_modules/style-to-js/cjs/index.js";
4
+ var t = e();
5
+ const a = /* @__PURE__ */ r(t);
6
6
  export {
7
- x as default
7
+ a as default
8
8
  };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.js";
3
- import { __require as t } from "../node_modules/eventemitter3/index2.js";
4
- var r = t();
5
- const m = /* @__PURE__ */ e(r);
3
+ import { __require as r } from "../node_modules/extend/index.js";
4
+ var t = r();
5
+ const x = /* @__PURE__ */ e(t);
6
6
  export {
7
- m as default
7
+ x as default
8
8
  };
@@ -1,8 +1,5 @@
1
1
  "use client";
2
- import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
3
- import { __require as e } from "../node_modules/classnames/index.js";
4
- var s = e();
5
- const o = /* @__PURE__ */ r(s);
2
+ var e = { exports: {} };
6
3
  export {
7
- o as default
4
+ e as __module
8
5
  };
@@ -1,5 +1,8 @@
1
1
  "use client";
2
- var e = { exports: {} };
2
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
3
+ import { __require as e } from "../node_modules/classnames/index.js";
4
+ var s = e();
5
+ const o = /* @__PURE__ */ r(s);
3
6
  export {
4
- e as __module
7
+ o as default
5
8
  };
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-06-30T08:03:50.466Z",
3
+ "generatedAt": "2026-06-30T13:45:32.734Z",
4
4
  "package": {
5
5
  "name": "laif-ds",
6
- "version": "0.2.84"
6
+ "version": "0.2.85"
7
7
  },
8
8
  "summary": {
9
9
  "scannedFiles": 397,
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schemaVersion": "1.1.0",
3
- "generatedAt": "2026-06-30T08:03:49.821Z",
3
+ "generatedAt": "2026-06-30T13:45:32.075Z",
4
4
  "package": {
5
5
  "name": "laif-ds",
6
- "version": "0.2.84"
6
+ "version": "0.2.85"
7
7
  },
8
8
  "stats": {
9
9
  "documentedComponentCount": 93,
@@ -6167,5 +6167,5 @@
6167
6167
  ]
6168
6168
  }
6169
6169
  ],
6170
- "checksum": "b5e0252676d93c4e43b15be47dda3d1fae971b84bc0f2907ec12db211e686d5d"
6170
+ "checksum": "7f642d50b2acfeced3ccdf69ffdba0041f4c65b70e3b54ae8d47ba311c8637a9"
6171
6171
  }
@@ -149,7 +149,16 @@ function W({
149
149
  "aria-busy": o === "loading",
150
150
  "data-slot": "mention-menu",
151
151
  className: $(
152
- "border-d-border bg-d-background z-50 max-h-60 min-w-52 overflow-auto rounded-md border p-1 shadow-md"
152
+ // The menu is portaled to <body>. Inside a laif-ds Dialog two things
153
+ // break there, both fixed on this element:
154
+ // - `relative z-[60]`: z-index is INERT on a statically-positioned
155
+ // element, so the menu must be positioned (`relative`) for `z-[60]`
156
+ // to take effect and paint ABOVE the Dialog (z-50). Same z convention
157
+ // as popover.tsx.
158
+ // - `pointer-events-auto`: Radix sets `pointer-events:none` on <body>
159
+ // while a modal is open; the portaled menu inherits it and its options
160
+ // stop receiving clicks. Re-enable pointer events on the menu itself.
161
+ "border-d-border bg-d-background pointer-events-auto relative z-[60] max-h-60 min-w-52 overflow-auto rounded-md border p-1 shadow-md"
153
162
  ),
154
163
  children: o === "loading" ? /* @__PURE__ */ d(
155
164
  "li",
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as n, jsxs as b, Fragment as G } from "react/jsx-runtime";
3
- import L from "../../../../../_virtual/index7.js";
3
+ import L from "../../../../../_virtual/index8.js";
4
4
  import _ from "../../../../../_virtual/debounce3.js";
5
5
  import { useContext as j, useRef as l, useState as o, useCallback as M, useMemo as N, useEffect as a } from "react";
6
6
  import { GanttContext as O } from "../Gantt/GanttContext.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "../../_virtual/index5.js";
2
+ import e from "../../_virtual/index3.js";
3
3
  export {
4
4
  e as EventEmitter,
5
5
  e as default
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { __module as x } from "../../_virtual/index8.js";
2
+ import { __module as x } from "../../_virtual/index7.js";
3
3
  var w;
4
4
  function O() {
5
5
  return w ? x.exports : (w = 1, (function(d) {
@@ -3,7 +3,7 @@ import { stringify as w } from "../../comma-separated-tokens/index.js";
3
3
  import { ok as u } from "../../devlop/lib/default.js";
4
4
  import { svg as m, html as C } from "../../property-information/index.js";
5
5
  import { stringify as N } from "../../space-separated-tokens/index.js";
6
- import S from "../../../_virtual/index3.js";
6
+ import S from "../../../_virtual/index4.js";
7
7
  import { whitespace as j } from "../../hast-util-whitespace/lib/index.js";
8
8
  import { name as x } from "../../estree-util-is-identifier-name/lib/index.js";
9
9
  import { VFileMessage as h } from "../../vfile-message/lib/index.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "../../../../_virtual/index5.js";
2
+ import e from "../../../../_virtual/index3.js";
3
3
  var r = new e(), n = "recharts.syncEvent.tooltip";
4
4
  export {
5
5
  n as TOOLTIP_SYNC_EVENT,
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { bail as P } from "../../bail/index.js";
3
- import y from "../../../_virtual/index4.js";
3
+ import y from "../../../_virtual/index5.js";
4
4
  import z from "../../is-plain-obj/index.js";
5
5
  import { CallableInstance as C } from "./callable-instance.js";
6
6
  import { trough as A } from "../../trough/lib/index.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "laif-ds",
3
3
  "private": false,
4
- "version": "0.2.84",
4
+ "version": "0.2.85",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",