[FEATURE] Add Dropdown Support to BitToolbar Component
Open
components
enhancement
- Dominant language
- HTML
- Stars
- 10
- Forks
- 4
- Avg merge
- 4d
- Merged PRs (30d)
- 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 `
Contributor guide
Assessment
This issue has not been assessed yet.