@htmlbricks/hb-sidenav-button 0.66.26 → 0.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  ### What it does
7
7
 
8
- Compact sidebar row as a nav button: optional Bootstrap icon, badge, or visual types (`switch`, `checkbox`, `radio`) from `navlink` JSON; dispatches `pageChange` with the row `key` on click. Used by `hb-sidebar-cards-navigator` and similar stacked menus.
8
+ Compact sidebar row as a nav button: optional Bootstrap Icons (`bi-*`) via `bootstrapIcon`, Bulma `tag` badge (optional `badge.class` / `badge.classcolor` modifiers), or visual types (`switch`, `checkbox`, `radio`) from `navlink` JSON; dispatches `pageChange` with the row `key` on click. Used by `hb-sidebar-cards-navigator` and similar stacked menus.
9
9
 
10
10
  ### Custom element
11
11
 
@@ -23,7 +23,8 @@ Compact sidebar row as a nav button: optional Bootstrap icon, badge, or visual t
23
23
  ### Usage notes
24
24
 
25
25
  - **CSS parts:** `li`.
26
- - **CSS variables:** `--bs-primary`.
26
+ - Styling uses Bulma inside the shadow root (buttons and tags); theme CSS variables follow Bulma’s scheme (e.g. `--bulma-link`).
27
+ - Include [Bootstrap Icons](https://icons.getbootstrap.com/) if you use `bootstrapIcon` or the switch/checkbox/radio icons.
27
28
  - Storybook `nav_type` is a control helper; the shape lives on `navlink.type`.
28
29
 
29
30
  ### Minimal HTML example