Skip to content

Commit ecf9e0f

Browse files
committed
docs(spec): regenerate the component reference page from the merged tree
Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude <noreply@anthropic.com>
1 parent 18bc5e5 commit ecf9e0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1996,7 +1996,7 @@ Sort field and direction pair
19961996
| :--- | :--- | :--- | :--- |
19971997
| **actionNames** | `string[]` | optional | Names of actions declared on this object (`actions[]`), in display order. The engine still location-filters named actions. Measured: when omitted (and the host supplies nothing) the bar resolves NO actions and renders its empty placeholder — it does not fall back to "every action at this location", whatever the registration's input list claims. |
19981998
| **requiredPermissions** | `string[]` | optional | [ADR-0066] Capabilities the user must ALL hold — names that permission sets grant through `systemPermissions`, not object actions: `read` or `update` here is an ordinary capability name, not the object's read or edit permission. When the client has resolved the user's capabilities and any of these is missing, this block does not render its content; wherever it would otherwise render, an insufficient-permissions notice takes its place. Presentation only: it authorises nothing, and the data API still serves the same data to the same user. A client that cannot resolve the user's capabilities (no permission provider, or one that does not report `systemPermissions`) renders this block as if they were held — it fails open. |
1999-
| **location** | `Enum<'list' \| 'record' \| 'record_page' \| 'record_row' \| 'record_related' \| 'record_section'>` | optional | Which declared action location this bar renders (renderer default: `record_page`). At `record_page` it draws the record page's actions that are not folded into its ⋯ menu (`component: 'action:menu'`); an action placed at `record` is drawn at `record_page` and at `record_row`. |
1999+
| **location** | `Enum<'list' \| 'record_page' \| 'record_row' \| 'record_related' \| 'record_section'>` | optional | Which single place this bar draws actions for (renderer default: `record_page`) — any action location but `record`: on an action that word says what the action acts on (the record page and each list row), and a bar sits in one place. At `record_page` it draws the record page's actions that are not folded into its ⋯ menu (`component: 'action:menu'`); an action placed at `record` is drawn by a bar at `record_page` and at `record_row`. |
20002000
| **align** | `Enum<'start' \| 'center' \| 'end'>` | optional | Horizontal alignment of the button row (renderer default: `end`). |
20012001
| **inline** | `boolean` | optional | Render in the flow instead of pulling up into the record-header band. The page header sets this itself when it hosts the bar in its own action slot. |
20022002
| **variant** | `Enum<'default' \| 'destructive' \| 'outline' \| 'secondary' \| 'ghost' \| 'link'>` | optional | Button variant for every action — the Button primitive's own vocabulary; a per-action `variant` on the resolved def wins (renderer default: `default`). |

0 commit comments

Comments
 (0)