@htmlbricks/hb-offcanvas 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 +4 -4
- package/main.iife.js +111 -93
- package/main.iife.js.map +1 -1
- package/manifest.json +18 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
### What it does
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Slide-in sidebar panel that hosts `hb-sidebar-desktop`. Uses a fixed panel plus Bulma’s `modal-background` as the dimmed backdrop when `type` is `autohide`. Can start open or closed; dispatches page changes and open/close state.
|
|
9
9
|
|
|
10
10
|
### Custom element
|
|
11
11
|
|
|
@@ -30,9 +30,9 @@ Bootstrap-style offcanvas panel that hosts sidebar-desktop navigation. Can start
|
|
|
30
30
|
### Usage notes
|
|
31
31
|
|
|
32
32
|
- **Slots:** `test`, `header`, `footer`.
|
|
33
|
-
- **CSS parts:** `header
|
|
34
|
-
-
|
|
35
|
-
- Pair with `hb-sidebar-desktop` / `hb-sidenav-link
|
|
33
|
+
- **CSS parts:** `header` (on nested `hb-sidebar-desktop`).
|
|
34
|
+
- Bulma theme variables apply inside each web component’s shadow root; Bootstrap Icons CSS is loaded for nested nav icons.
|
|
35
|
+
- Pair with `hb-sidebar-desktop` / `hb-sidenav-link`; see Storybook examples in `extra/docs.ts`.
|
|
36
36
|
|
|
37
37
|
### Minimal HTML example
|
|
38
38
|
|