@htmlbricks/hb-sidenav-button 0.71.36 → 0.72.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 +10 -7
- package/manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
# hb-sidenav-button
|
|
1
|
+
# `hb-sidenav-button` (sidenav-button)
|
|
2
2
|
|
|
3
|
-
**Category:** layout
|
|
3
|
+
**Category:** layout
|
|
4
|
+
**Tags:** layout, navigation
|
|
5
|
+
**Package:** `@htmlbricks/hb-sidenav-button`
|
|
4
6
|
|
|
5
7
|
## Overview
|
|
6
8
|
|
|
@@ -16,9 +18,11 @@ Optional **`selected`** sets `aria-current="page"` and Bulma “selected” styl
|
|
|
16
18
|
|
|
17
19
|
## Custom element
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
```html
|
|
22
|
+
<hb-sidenav-button …></hb-sidenav-button>
|
|
23
|
+
```
|
|
20
24
|
|
|
21
|
-
##
|
|
25
|
+
## Attributes
|
|
22
26
|
|
|
23
27
|
Web component **attributes are strings**. Pass complex data as a **JSON string** on `navlink`.
|
|
24
28
|
|
|
@@ -124,7 +128,6 @@ None (`htmlSlots` is empty in `extra/docs.ts`).
|
|
|
124
128
|
></hb-sidenav-button>
|
|
125
129
|
```
|
|
126
130
|
|
|
127
|
-
##
|
|
131
|
+
## License
|
|
128
132
|
|
|
129
|
-
|
|
130
|
-
- **License:** Apache-2.0 (see package `LICENSE.md` where distributed)
|
|
133
|
+
Package metadata references **Apache-2.0** (see `LICENSE.md` in the published package when consuming from npm).
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-sidenav-button",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.72.0",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Compact sidebar row as a nav button: optional Bootstrap Icons (bi-*) icon, Bulma tag badge, or visual types (switch, checkbox, radio) from navlink JSON; dispatches pageChange with the row key on click. Used by sidebar-cards-navigator and similar stacked menus.",
|
|
6
6
|
"licenses": [
|