@featherk/ui 0.13.1 → 0.13.2

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.
@@ -1,7 +1,7 @@
1
1
  // Generated by scripts/generate-docs-manifest.mjs. Do not edit.
2
2
  export const packageName = "@featherk/ui";
3
3
 
4
- export const version = "0.13.1";
4
+ export const version = "0.13.2";
5
5
 
6
6
  export const paths = {
7
7
  ActionCell: "table/ActionCell.md",
@@ -10,9 +10,9 @@ export const paths = {
10
10
  };
11
11
 
12
12
  export const docs = {
13
- ActionCell: "https://cdn.jsdelivr.net/npm/@featherk/ui@0.13.1/docs/table/ActionCell.md",
14
- USAddress: "https://cdn.jsdelivr.net/npm/@featherk/ui@0.13.1/docs/address/USAddress.md",
15
- useActionCellMenu: "https://cdn.jsdelivr.net/npm/@featherk/ui@0.13.1/docs/table/useActionCellMenu.md",
13
+ ActionCell: "https://cdn.jsdelivr.net/npm/@featherk/ui@0.13.2/docs/table/ActionCell.md",
14
+ USAddress: "https://cdn.jsdelivr.net/npm/@featherk/ui@0.13.2/docs/address/USAddress.md",
15
+ useActionCellMenu: "https://cdn.jsdelivr.net/npm/@featherk/ui@0.13.2/docs/table/useActionCellMenu.md",
16
16
  };
17
17
 
18
18
  export const docUrl = (name, host = "https://cdn.jsdelivr.net/npm") =>
@@ -191,3 +191,11 @@ require defining lookup lifecycle/re-render behavior before changing the public
191
191
  - **Coexisting with a sibling menu (e.g. a row-level context menu) requires a shared
192
192
  `useExclusiveGroup`.** Register the sibling registry with the group; `useActionCellMenu`
193
193
  registers its own registry automatically, so opening either menu deactivates the other.
194
+ - **When the shared ActionCell popup needs a focus trap, pair it with `usePopupTrap` using
195
+ the same registry**. `useActionCellMenu` already owns the registry / trigger lifecycle; the
196
+ trap should use `menuController.registry.isActive` and `menuController.registry.activeElement`
197
+ rather than inventing a second source of truth. Keep `returnFocusToTrigger: false` and
198
+ `focusTrapOptions.returnFocusOnDeactivate: false` to avoid fighting `usePopupMenu`'s close
199
+ and focus-restoration rules. If multiple popups are mounted in one page, resolve the specific
200
+ target popup element by `id` (`resolvePopupEl: () => document.getElementById("action-cell-popup")`).
201
+ This is the same pattern documented for shared popup orchestration in the menu docs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@featherk/ui",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "main": "dist/featherk-ui.umd.js",
5
5
  "module": "dist/featherk-ui.es.js",
6
6
  "types": "dist/index.d.ts",