Commit adf70f7
docs(objectui): replace the phantom field-level
`FieldSchema` and `FormFieldSchema` are strict objects that refuse `visible` by
name, before either documented value shape is reached. Rewrite the two protocol
pages onto the keys that are really declared:
- concept.mdx section 3: `visibleWhen` (CEL predicate over `record`), plus a
callout naming the polarity trap (`hidden` is INVERTED).
- layout-dsl.mdx "Responsive Layout Modifiers": no field-level breakpoint
visibility exists in the spec at all, so the `desktop`/`tablet`/`mobile` map
and the adjacent `portrait`/`landscape` `columns` map are removed rather than
renamed; the section now documents `responsiveStyles` on a page component,
which is the only per-breakpoint channel that is actually applied.
No spec change: objectui#6514's maintainer ruling declined adding a field-level
`visible` key to the contract.
Co-authored-by: Claude <noreply@anthropic.com>visible key with the keys that exist (#13094)1 parent b15d260 commit adf70f7
2 files changed
Lines changed: 57 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
605 | 607 | | |
606 | 608 | | |
607 | 609 | | |
| |||
611 | 613 | | |
612 | 614 | | |
613 | 615 | | |
614 | | - | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
615 | 619 | | |
616 | 620 | | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
617 | 636 | | |
618 | 637 | | |
619 | 638 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | | - | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
525 | 530 | | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
| 531 | + | |
542 | 532 | | |
543 | | - | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
544 | 537 | | |
545 | 538 | | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
551 | 544 | | |
552 | 545 | | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
553 | 566 | | |
554 | 567 | | |
555 | 568 | | |
| |||
0 commit comments