You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//TODO check to see if this works with keyboard input
19
20
// include check to see if input event is fired too
@@ -28,7 +29,7 @@ export type ZetaDropdownItem = { label: string; icon?: ZetaIconName; checked?: b
28
29
* @property {boolean} open - Controls the state of the dropdown menu. Default is false.
29
30
* @property {Array<ZetaDropdownItem>} items - Array of items to populate the dropdown. Includes label, icon (optional), checked (optional), disabled (optional), and onClick (optional) properties.
30
31
* @property {ButtonFlavor} flavor - The flavor of the dropdown button. Default is "primary".
31
-
* @property {InputType} type - The type of dropdown. Options are "text-dropdown", "checkbox-dropdown", and "radio-dropdown". Default is "text-dropdown".
32
+
* @property {ZetaDropdownType} type - The type of dropdown. Options are "text-dropdown", "checkbox-dropdown", and "radio-dropdown". Default is "text-dropdown".
32
33
* @property {string} name - The name of the dropdown menu button for form control. Default is "default".
33
34
* @property {"left" | "right" | "bottom" | "top"} direction - The direction of the droppable relative to the anchor. Defaults to bottom if left undefined.
34
35
*
@@ -74,7 +75,7 @@ export class ZetaDropdownMenuButton extends FormField(Contourable(Flavored(Size(
74
75
* - "checkbox-dropdown" - A dropdown with checkboxes.
75
76
* - "radio-dropdown" - A dropdown with radio buttons.
/** Radio buttons are used for mutually exclusive choices, not for multiple choices. Only one radio button can be selected at a time. When a user chooses a new item, the previous choice is automatically deselected.
9
9
*
@@ -20,7 +20,8 @@ export class ZetaRadioButton extends BaseToggleFormElement {
0 commit comments