Skip to content

Commit d9b26f0

Browse files
committed
chore(spec): regenerate the authorable surface and reference docs for allowStageChange
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibxNQzFQH8nBAaoSUkx
1 parent 467caf0 commit d9b26f0

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎content/docs/references/ui/component.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1882,6 +1882,7 @@ Sort field and direction pair
18821882
| :--- | :--- | :--- | :--- |
18831883
| **statusField** | `string` | ✅ | Field name representing the current status/stage |
18841884
| **stages** | `{ value: string; label: string \| Record<string, string>; terminal?: Enum<'won' \| 'lost'> }[]` | optional | Explicit stage definitions (if not using field metadata) |
1885+
| **allowStageChange** | `boolean` | optional | Let the reader change the record's stage by pressing a stage on the path. Absent or `false`: the path is a read-only progress rail, as today. Each press asks for confirmation and saves `statusField` through the ordinary record update, so the object's state machine validation and the field's edit rights decide; stages appear pressable only to readers who may edit `statusField`, and a refused move is shown in place. |
18851886
| **aria** | `{ ariaLabel?: string \| Record<string, string>; ariaDescribedBy?: string; role?: string }` | optional | ARIA accessibility attributes |
18861887

18871888
### Nested Shape: `RecordPathProps.stages[number]`

‎packages/spec/authorable-surface/ui.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,7 @@
11961196
"ui/RecordLineItemsProps:sort",
11971197
"ui/RecordLineItemsProps:title",
11981198
"ui/RecordLineItemsProps:totalField",
1199+
"ui/RecordPathProps:allowStageChange",
11991200
"ui/RecordPathProps:aria",
12001201
"ui/RecordPathProps:stages",
12011202
"ui/RecordPathProps:statusField",

0 commit comments

Comments
 (0)