fix: reverse Toolbox header orientation

This commit is contained in:
2026-07-23 01:47:55 +02:00
parent c296281f89
commit 53c40a61ba
12 changed files with 331 additions and 138 deletions

View File

@@ -5,7 +5,7 @@ tools. An app always works by itself. When it receives a trusted same-origin
catalog URL, the same app gains a toolbox home link and an app switcher without
becoming coupled to a portal or client-side router.
Version `0.2.1` contains three publish-ready packages:
Version `0.2.2` contains three publish-ready packages:
- `@add-ideas/toolbox-contract` — types, strict v1 runtime parsing, context
discovery/loading, resolved URLs, and contextual link helpers.
@@ -167,11 +167,11 @@ import "@add-ideas/toolbox-shell-react/styles.css";
</AppShell>;
```
The shell's fixed top row renders Personalize, Apps, source, and Help controls
in that order, a geometrically centered text identity, and the Toolbox
brand/home at the far right. Personalize and Apps have labeled desktop controls
and retain their accessible names when compact. The mutually exclusive popovers
close on Escape, outside interaction, and link selection.
The shell's fixed top row renders the Toolbox brand/home at the far left, a
geometrically centered text identity, and Help, source, Apps, and Personalize
controls at the far right in that order. Personalize and Apps have labeled
desktop controls and retain their accessible names when compact. The mutually
exclusive popovers close on Escape, outside interaction, and link selection.
`AppShell` moves version, derived privacy facts, manifest actions, and legacy
`appActions` into its standard footer, keeping the top row stable in connected
@@ -183,7 +183,9 @@ optional observability.
For a custom portal-style header, `ToolboxHeader` accepts `personalizeContent`
for content hosted inside the shared controlled popover and `brandIconUrl` for
the Toolbox mark. `onPersonalize` remains available for callback-only
the Toolbox mark. `ToolboxPersonalizePanel` provides the shared portal-style
heading, storage warning, and appearance picker, with a child slot for
portal-specific controls. `onPersonalize` remains available for callback-only
integrations. The deprecated `iconUrl`, `leadingActions`, and `metadata` props
are retained for source compatibility; the centered app icon is intentionally no
longer rendered.