-
- {triggerLabel}
+
+
+ {triggerLabel}
+
{open ? 'open' : 'closed'}
-
+
+
+ eidos Trigger
+
+ · visual props forwarded to the underlying <Button>
+
+
+
+
+
+
+
+
Bound state
@@ -625,7 +681,6 @@
| id | string | auto | Stable identifier. |
| open bindable | boolean | false | Whether the menu is open. |
| onOpenChange / onOpenChangeComplete | (open: boolean) => void | — | Fire on every open/close and after the animation settles. |
- | modal | boolean | true | Block outside interaction while open. |
| dir | 'ltr' | 'rtl' | 'ltr' | Direction used for keyboard navigation inside sub-menus. |
| accessibleWhenDisabled | boolean | true | Disabled items remain focusable per WAI-ARIA APG; set false to skip them entirely. |
@@ -638,7 +693,13 @@
| Prop | Type | Default | Description |
| id | string | auto | — |
- | …native button attrs | PrimitiveButtonAttributes | — | Trigger renders a native <button>; all HTML button attrs flow through. |
+ | variant eidos | ControlVariant: 'surface' | 'outline' | 'ghost' | 'surface' | Forwarded to the inner <Button>. Narrowed from ButtonVariant (per DEMO_AUTHORING_GUIDE §12.7) to stay consistent with form-control surface. |
+ | size eidos | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'md' | Button size scale. |
+ | intent eidos | 'neutral' | 'affirm' | 'fulfill' | 'risk' | 'threat' | 'loss' | 'neutral' | Evaluative intent forwarded to Button — full canonical Intent set. |
+ | color eidos | ColorRole — see eidos/lib/types.ts | — | Hierarchical color override (only applies under intent='neutral'). |
+ | iconOnly · icon · endIcon · rounded eidos | Button props | — | Standard Button visual knobs forwarded through. |
+ | child | {`Snippet<[{ props }]>`} | — | Opt out of <Button> entirely and render your own element. |
+ | …native button attrs | PrimitiveButtonAttributes | — | All HTML button attrs flow through to the underlying button. |
@@ -742,7 +803,6 @@
| Group / GroupHeading | ✓ | ✓ | ✓ | ✓ |
| Arrow part | ✓ | ✓ | — | ✓ |
| closeOnSelect per item | ✓ | ✓ | — | ✓ |
-
| modal mode | ✓ | ✓ | — | ✓ |
| accessibleWhenDisabled (APG) | — | — | — | ✓ |
| commit-select semantic event | — | — | — | ✓ |