[FEATURE] Add Dropdown Support to BitToolbar Component
未关闭
components
enhancement
- 主要语言
- HTML
- 星标
- 10
- 派生
- 4
- 平均合并
- 4 天
- 30 天内合并 PR
- 1
描述
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 `
贡献指南
评估
这个 Issue 还没有评估数据。