Stops the chip-count drift introduced in \`c98510af\`. AlertDialog.Action
was exposing all 6 ButtonVariant chips, breaking the 3-chip rhythm the
rest of UIX follows. Per DEMO_AUTHORING_GUIDE §12.7 every chip-group
must enumerate the full union the type declares — so the fix is to
narrow the *type*, not truncate the chips.
\`AlertDialogActionVariant = Extract<ButtonVariant, SelectionVariant>\`
imports the canonical set from \`eidos/lib/types.ts\` (`solid | outline |
ghost`), which is the right shape for a primary action button:
- keeps 'solid' as the CTA default
- 3-chip parity with Cancel (ControlVariant), DropdownMenu.Trigger
(ControlVariant), and the rest of the form-control surface
- no invented vocab — uses the existing canon set named for exactly
this use case ("selection chips / toggles" semantically maps to
"selection / action buttons")
Demo array drops from 6 to 3 chips; API row updated to reflect the
narrowing.
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">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">variant <spandata-uix-tagdata-kind="eidos">eidos</span></td><tdclass="type">SelectionVariant: 'solid' | 'outline' | 'ghost'</td><tdclass="default">'solid'</td><td>Forwarded to the inner <code><Button></code>. Narrowed from ButtonVariant per DEMO_AUTHORING_GUIDE §12.7 — 3-value SelectionVariant keeps 'solid' as the CTA default while staying in the canonical chip rhythm.</td></tr>