Commit a955b75
committed
docs(ui): react-pages html-tier names are verbatim, not kebab-case
The html-tier spelling paragraph in react-pages.mdx told authors that
registered block names are "lowercase and kebab-case", but four
registered names (record:line_items, record:quick_actions,
record:reference_rail, record:related_list) are snake_case after
their namespace prefix. The sdui-parser whitelist is an exact
Set.has comparison with no case folding or separator normalisation,
so a kebab-case respelling of one of those names (record:related-list)
is rejected at save time exactly like a PascalCase borrow.
Drop the "lowercase and kebab-case" gloss, let the verbatim rule
stand on its own, and add a second snake_case example
(record:line_items) plus a concrete negative example so the shape is
demonstrated rather than described.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vbw3RPgdtqesx4azk9SbW81 parent 0e16fc4 commit a955b75
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
0 commit comments