Commit 20bdd34
committed
feat(page,element): declare inputs for the eight configurable page:*/element:* blocks
Same gap #3027 closed for record:*, in the two namespaces next door: renderers
that read real props while every authoring surface reported "takes no
configuration". Declarations mirror what each renderer reads —
page:tabs items, tabStyle (line/card/pill), position (top/left)
page:card title, bordered, body (slot), footer (slot)
page:accordion items, allowMultiple, variant (flush/card)
element:text content, variant, align
element:number object, aggregate, field, filter, format, prefix, suffix
element:button label, action (inline ActionDef), variant, size, icon,
iconPosition, disabled
element:definition-list items, columns, inline
element:repeater object, titleField, fields, filter, sort, limit,
emptyText, divided
page:section, page:footer and page:sidebar stay at zero inputs on purpose:
their renderers render children/body and nothing else — like element:divider,
they are genuinely prop-less containers, and inventing inputs for them would be
the opposite falsehood.
aria and className stay undeclared throughout, per the convention on
record:details: escape hatches and styling pass-throughs, not authoring
choices. element:button's registration also documents the split against
action:button — inline ActionDef vs a declared action referenced by name — so
the two stop reading as duplicates.
Declaration only; no renderer behavior changes. Curation (which of these join
PUBLIC_BLOCKS) is a separate change.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N4mrr1ihhwnfEHFSWmGoMp1 parent a149e90 commit 20bdd34
4 files changed
Lines changed: 91 additions & 0 deletions
File tree
- .changeset
- packages/components/src/renderers
- basic
- layout
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
| |||
178 | 183 | | |
179 | 184 | | |
180 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
181 | 196 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
100 | 105 | | |
101 | 106 | | |
102 | 107 | | |
| |||
268 | 273 | | |
269 | 274 | | |
270 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
271 | 288 | | |
272 | 289 | | |
273 | 290 | | |
| |||
390 | 407 | | |
391 | 408 | | |
392 | 409 | | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
393 | 419 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
562 | 567 | | |
563 | 568 | | |
564 | 569 | | |
| |||
602 | 607 | | |
603 | 608 | | |
604 | 609 | | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
605 | 616 | | |
606 | 617 | | |
607 | 618 | | |
| |||
683 | 694 | | |
684 | 695 | | |
685 | 696 | | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
686 | 702 | | |
687 | 703 | | |
688 | 704 | | |
| |||
0 commit comments