[FEATURE] Add Dropdown Support to BitToolbar Component
オープン
components
enhancement
- 主要言語
- HTML
- スター
- 10
- フォーク
- 4
- 平均マージ
- 4日
- マージ済み PR(30日)
- 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 はまだ評価されていません。