Skip to content

Commit 50ed869

Browse files
committed
docs(console): the preview-samples note stops naming the retired heading variant as live (objectui#11717)
Claude-Session: https://claude.ai/code/session_01XgevVHGcN8dnegiiY3v75V Co-authored-by: Claude <noreply@anthropic.com>
1 parent 47b0ff9 commit 50ed869

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/console/src/__tests__/preview-samples-registry-resolvable.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* is therefore perfectly valid metadata. `{ type: 'heading' }` parsed clean
2222
* through every spec release while resolving to nothing: `heading` has never
2323
* been registered in this repo (the nearest real things are `element:text`
24-
* with `variant: 'heading'`, which renders an h2, and the `ui/typography`
24+
* with a heading `variant` such as `h2` (`heading` until 17.7.0 retired it), and the `ui/typography`
2525
* primitives, which never go through the registry at all). Both `heading`
2626
* nodes in the `page` sample fell through to the ComponentRegistry fallback,
2727
* so the gallery's page card — the worked example of a composed page — showed

0 commit comments

Comments
 (0)