@htmlbricks/hb-sidenav-link 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 +9 -6
- package/manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
# hb-sidenav-link
|
|
1
|
+
# `hb-sidenav-link` (sidenav-link)
|
|
2
2
|
|
|
3
|
-
**Category:** layout
|
|
3
|
+
**Category:** layout
|
|
4
|
+
**Tags:** layout, navigation
|
|
5
|
+
**Package:** `@htmlbricks/hb-sidenav-link`
|
|
4
6
|
|
|
5
7
|
## Overview
|
|
6
8
|
|
|
@@ -15,7 +17,9 @@ Bootstrap Icons are loaded from the component (`bootstrap-icons` CSS on jsDelivr
|
|
|
15
17
|
|
|
16
18
|
## Custom element
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
```html
|
|
21
|
+
<hb-sidenav-link …></hb-sidenav-link>
|
|
22
|
+
```
|
|
19
23
|
|
|
20
24
|
## Props (TypeScript `Component`)
|
|
21
25
|
|
|
@@ -157,7 +161,6 @@ Buttons and tags live in the **shadow root**. Theme with public **`--bulma-*`**
|
|
|
157
161
|
|
|
158
162
|
`INavLink` matches the structure used by **`hb-offcanvas`** and **`hb-sidebar-desktop`** for `navlinks` arrays, so the same serialized objects can be reused across layout components.
|
|
159
163
|
|
|
160
|
-
##
|
|
164
|
+
## License
|
|
161
165
|
|
|
162
|
-
|
|
163
|
-
- **License:** Apache-2.0 (see package `LICENSE.md` in distribution)
|
|
166
|
+
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-link",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.72.0",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Sidebar nav item: Bootstrap Icons (bi-*), label, optional Bulma-style tag badge (outlined pill: transparent fill, border uses tag foreground color), and either a flat button that dispatches pageChange on click or an expandable group of subLinks with active state when navpage or selected matches. Intended for use inside sidebar-desktop lists.",
|
|
6
6
|
"licenses": [
|