Skip to content

Commit 3c36420

Browse files
committed
docs(ui): regenerate the component reference after main renamed the action variant to danger
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibwMyAnTNeas3ANYhyi
1 parent bc0c9e7 commit 3c36420

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎content/docs/ui/components/action.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Namespace `action`.
2525
| `icon` | `string` | | — |
2626
| `actionType` | `enum`: `script`, `url`, `modal`, `flow`, `api` | | — |
2727
| `target` | `string` | | — |
28-
| `variant` | `enum`: `default`, `primary`, `secondary`, `destructive`, `outline`, `ghost` | | — |
28+
| `variant` | `enum`: `default`, `primary`, `secondary`, `danger`, `outline`, `ghost` | | — |
2929
| `size` | `enum`: `default`, `sm`, `md`, `lg`, `icon` | | Button size: the Button primitive's `default`, `sm`, `lg` or `icon`, plus `md`, which renders as `default` (default: `default`) |
3030
| `className` | `string` | | — |
3131
| `visible` | `boolean` \| `string` \| `object` | | Visibility predicate: `true`/`false`, a bare CEL expression, or the `{ dialect: 'cel', source }` envelope, evaluated against the row the host binds; the button is not rendered when it is false, nor when the predicate fails to evaluate. Omit for always-visible |
@@ -76,7 +76,7 @@ Namespace `action`.
7676
| `icon` | `string` | | — |
7777
| `actionType` | `enum`: `script`, `url`, `modal`, `flow`, `api` | | — |
7878
| `target` | `string` | | — |
79-
| `variant` | `enum`: `default`, `secondary`, `destructive`, `outline`, `ghost` | | — |
79+
| `variant` | `enum`: `default`, `secondary`, `danger`, `outline`, `ghost` | | — |
8080
| `className` | `string` | | — |
8181
| `visible` | `boolean` \| `string` \| `object` | | Visibility predicate: `true`/`false`, a bare CEL expression, or the `{ dialect: 'cel', source }` envelope, evaluated against the row the host binds; the icon is not rendered when it is false. Omit for always-visible |
8282
| `disabled` | `boolean` \| `string` \| `object` | | Disabled predicate, in the same three shapes as `visible`: the icon is shown but cannot be pressed while it holds. Omit for never-disabled |

0 commit comments

Comments
 (0)