Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .changeset/menu-dismissal-correctness.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @handamade/psi-mcp

## 0.8.1

Version bump only — no change to this package. `@handamade/psi-*` are released
in lockstep at one version number, so a fix in any one of them bumps all three.
The 0.8.1 fix is in `@handamade/psi-react` (Menu dismissal correctness, D58).

## 0.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@handamade/psi-mcp",
"version": "0.8.0",
"version": "0.8.1",
"license": "MIT",
"description": "MCP server and agent-context generator for the Psi (Ψ) design system",
"type": "module",
Expand Down
22 changes: 22 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @handamade/psi-react

## 0.8.1

### Patch Changes

- 93f5399: Menu no longer reports a dismissal for a menu the consumer has already closed (D58)

Two menus sharing one `openId` — the shape of the `row-actions` pattern —
left **both** closed when you switched between them. Clicking B's trigger
light-dismisses A at the platform level before the consumer's click handler
runs, so A's popover was already closed by the time its `open` prop flipped;
the sync effect then armed no suppression and A's queued `toggle` reported
`onClose("outside")`, clearing `openId` and closing B milliseconds after it
opened.

`onClose` now carries an invariant: a dismissal is only ever reported for a
menu that is still open according to its own `open` prop. Genuine light
dismiss, Esc and item-select are unaffected. No API change.

Also fixed: the trigger wrapper is the anchor box for both placement paths and
was being stretched to its cell as a grid or flex-column item, so the menu
anchored to the cell edge instead of the trigger. It now sizes to its trigger.

## 0.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@handamade/psi-react",
"version": "0.8.0",
"version": "0.8.1",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @handamade/psi-tokens

## 0.8.1

Version bump only — no change to this package. `@handamade/psi-*` are released
in lockstep at one version number, so a fix in any one of them bumps all three.
The 0.8.1 fix is in `@handamade/psi-react` (Menu dismissal correctness, D58).

## 0.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@handamade/psi-tokens",
"version": "0.8.0",
"version": "0.8.1",
"license": "MIT",
"type": "module",
"exports": {
Expand Down
Loading