@the-portland-company/shell 0.95.0 → 0.96.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/CHANGELOG.md +9 -0
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +1 -1
- package/dist/app-chrome.d.ts +1 -1
- package/dist/app-chrome.js +3 -3
- package/dist/{chunk-JQ53VZO5.js → chunk-5OTXPYZU.js} +257 -5
- package/dist/chunk-5OTXPYZU.js.map +1 -0
- package/dist/{chunk-BA3GITRQ.js → chunk-QGNJLKT5.js} +3 -3
- package/dist/{chunk-BA3GITRQ.js.map → chunk-QGNJLKT5.js.map} +1 -1
- package/dist/{index-AIzWNzl-.d.cts → index-3YFy4JHI.d.cts} +46 -1
- package/dist/{index-Byjq0Whp.d.ts → index-CqHKy3vG.d.ts} +46 -1
- package/dist/index.cjs +257 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/native.cjs +255 -0
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +1 -1
- package/dist/native.d.ts +1 -1
- package/dist/native.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-JQ53VZO5.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 0.96.0
|
|
2
|
+
|
|
3
|
+
One shared "⋯" row menu for list rows (Ben 2026-10-26: Email's broadcast menu stuck open, and on the last row Archive and Delete were cut off by the table frame).
|
|
4
|
+
|
|
5
|
+
- **New `RowMenu`** (root and `/native`): the trigger button plus a panel rendered in a portal on `<body>` with fixed positioning, so a table wrapper or card with `overflow: hidden/auto` never clips it. It opens below the trigger, right-aligned, and flips above when it does not fit below. It closes on an outside click, on Escape (focus back on the trigger), after a `role="menuitem"` is chosen, when another row's menu opens, and on page scroll or resize. Arrow keys, Home and End move between items. Clicks on the trigger and in the panel do not bubble to the row (React carries portal events to ancestors), so a clickable row does not open too. Clicks on anything that is not a menu item (an inline form expanding in the panel) keep it open; the close after a choice waits a tick so a submit button's form still submits. Pass `triggerClassName` / `panelClassName` to use an app's own classes instead of the default token look.
|
|
6
|
+
- **New `RowMenuItem`**: a plain button item (`onSelect`, `disabled`, `danger`).
|
|
7
|
+
- Also exported: `rowMenuPosition()` (the placement math) and the `RowMenuPlacement` type.
|
|
8
|
+
- Tests: `__tests__/rowMenu.test.tsx`.
|
|
9
|
+
|
|
1
10
|
## 0.95.0
|
|
2
11
|
|
|
3
12
|
Every app's browser tab shows the Brand's VRM tile (Brand `assets.favicon`; Reference/UI-Platform conformance: "Favicons resolve from Brand `assets.favicon`, not static files").
|