[FEATURE] Add Dropdown Support to BitToolbar Component
Ouverte
components
enhancement
- Langage dominant
- HTML
- Étoiles
- 10
- Forks
- 4
- Merge moyen
- 4 j
- PR mergées (30 j)
- 1
Description
Add support for dropdown items inside the `BitToolbar` component, following the Bootstrap Italia specification for **Toolbar con Dropdown**.
This feature allows toolbar items to render as dropdown buttons with a contextual submenu instead of plain links. It should work across all three toolbar sizes (large, medium, small) and support the full set of item states (active, disabled, badge).
### Requirements:
- Add a `BitToolbarDropdownItem` component (or extend `BitToolbarItem`) that renders a `
` wrapping a `` as the trigger
- The trigger button must carry the required Bootstrap Italia attributes: `data-bs-toggle="dropdown"`, `aria-haspopup="true"`, `aria-expanded="false"`, and a `title` parameter
- Render the dropdown menu as a `
- The trigger button must carry the required Bootstrap Italia attributes: `data-bs-toggle="dropdown"`, `aria-haspopup="true"`, `aria-expanded="false"`, and a `title` parameter
- Render the dropdown menu as a `
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.