Skip to content

Commit 1ab1584

Browse files
os-zhuangclaude
andcommitted
docs(changeset): note navigation.size (#2578)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 430dcc8 commit 1ab1584

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.changeset/adaptive-record-surface-span-2578.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,11 @@ object — silently never renders) and `absolute-colspan-discouraged` (steers au
3737
to `span: 'full'`). Both warnings, with fix hints, held to the same bar for AI and
3838
hand authors.
3939

40+
**`NavigationConfig.size` (new) replaces pixel `width`.** A T-shirt bucket
41+
(`auto`/sm/md/lg/xl/full, default `auto`, aligned with `FormView.modalSize`) for a
42+
drawer/modal detail overlay. `width`/`drawerWidth` (pixel) are deprecated: a pixel
43+
width cannot be authored blind — the author (often an AI) does not know the client
44+
viewport. `auto` means the renderer derives the size from field count and clamps to
45+
the viewport, so AI writes nothing.
46+
4047
All additive: no exports removed, no behavior change for existing metadata.

0 commit comments

Comments
 (0)