Surfaces the Button visual props that AlertDialog.Action and
AlertDialog.Cancel now forward (post `c6f063dc`) so the demo isn't
lying about the component's API:
- Action: 6 chips (full ButtonVariant — primary CTA), 5 size chips.
Intent is NOT exposed as a separate chip because it inherits from
the dialog's own `intent` prop (already a Live control above).
- Cancel: 3 chips (ControlVariant — narrowed per
DEMO_AUTHORING_GUIDE §12.7), 5 size chips. Always neutral palette
regardless of dialog intent.
Live preview wires both bindings into the rendered Action/Cancel; API
tables list the new props with type, default, and the snippet shape
(`Snippet<[{ props; intent }]>` for Action's `child`).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
<tr><tdclass="name">aria-label</td><tdclass="type">string</td><tdclass="default empty">"Confirm"</td><td>Overrides the default accessible name.</td></tr>
<tr><tdclass="name">aria-label</td><tdclass="type">string</td><tdclass="default empty">"Confirm"</td><td>Overrides the default accessible name.</td></tr>
<tr><tdclass="name">onclick</td><tdclass="type">(e: MouseEvent) => void</td><tdclass="default empty">—</td><td>Business handler. The default close runs LAST — consumer logic gets first chance to gate.</td></tr>
<tr><tdclass="name">onclick</td><tdclass="type">(e: MouseEvent) => void</td><tdclass="default empty">—</td><td>Business handler. The default close runs LAST — consumer logic gets first chance to gate.</td></tr>
<tr><tdclass="name">variant <spandata-uix-tagdata-kind="eidos">eidos</span></td><tdclass="type">ButtonVariant: 'solid' | 'soft' | 'surface' | 'outline' | 'ghost' | 'plain'</td><tdclass="default">'solid'</td><td>Forwarded to the inner <code><Button></code>. Keeps the full ButtonVariant since Action is the primary call-to-action.</td></tr>
<tr><tdclass="name">child</td><tdclass="type">{`Snippet<[{ props; intent }]>`}</td><tdclass="default empty">—</td><td>Opt out of <code><Button></code> entirely. The dialog's resolved intent is passed alongside <code>props</code>.</td></tr>
<tr><tdclass="name">…native button attrs</td><tdclass="type">PrimitiveButtonAttributes</td><tdclass="default empty">—</td><td>Renders a native <code><button type='button'></code>.</td></tr>
<tr><tdclass="name">…native button attrs</td><tdclass="type">PrimitiveButtonAttributes</td><tdclass="default empty">—</td><td>Renders a native <code><button type='button'></code>.</td></tr>
</tbody>
</tbody>
</table>
</table>
@ -497,6 +599,11 @@
<tbody>
<tbody>
<tr><tdclass="name">aria-label</td><tdclass="type">string</td><tdclass="default empty">"Cancel"</td><td>Overrides the default accessible name.</td></tr>
<tr><tdclass="name">aria-label</td><tdclass="type">string</td><tdclass="default empty">"Cancel"</td><td>Overrides the default accessible name.</td></tr>
<tr><tdclass="name">onclick</td><tdclass="type">(e: MouseEvent) => void</td><tdclass="default empty">—</td><td>Business handler. Default close runs last.</td></tr>
<tr><tdclass="name">onclick</td><tdclass="type">(e: MouseEvent) => void</td><tdclass="default empty">—</td><td>Business handler. Default close runs last.</td></tr>
<tr><tdclass="name">variant <spandata-uix-tagdata-kind="eidos">eidos</span></td><tdclass="type">ControlVariant: 'surface' | 'outline' | 'ghost'</td><tdclass="default">'outline'</td><td>Forwarded to <code><Button></code>. Narrowed from ButtonVariant per DEMO_AUTHORING_GUIDE §12.7 (form-control surface).</td></tr>
<tr><tdclass="name">intent <spandata-uix-tagdata-kind="eidos">eidos</span></td><tdclass="type">ButtonIntent</td><tdclass="default">'neutral'</td><td>Stays neutral by default so it contrasts with the (potentially destructive) Action.</td></tr>
<tr><tdclass="name">color <spandata-uix-tagdata-kind="eidos">eidos</span></td><tdclass="type">ColorRole</td><tdclass="default">'neutral'</td><td>Forced to neutral so the outline reads as gray regardless of Button's default primary.</td></tr>
<tr><tdclass="name">…native button attrs</td><tdclass="type">PrimitiveButtonAttributes</td><tdclass="default empty">—</td><td>By convention, receives initial focus — render BEFORE Action in DOM order.</td></tr>
<tr><tdclass="name">…native button attrs</td><tdclass="type">PrimitiveButtonAttributes</td><tdclass="default empty">—</td><td>By convention, receives initial focus — render BEFORE Action in DOM order.</td></tr>