@htmlbricks/hb-dropdown-notifications 0.66.8 → 0.66.9

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 ADDED
@@ -0,0 +1,41 @@
1
+ ## `hb-dropdown-notifications` — dropdown-notifications
2
+
3
+ **Category:** overlays
4
+ **Tags:** overlays, menu, notifications
5
+
6
+ ### What it does
7
+
8
+ Navbar-style bell control that toggles a Bootstrap `dropdown-menu`: header row with optional “Clear all” (`clearurl`) and a default slot for notification rows, plus optional footer link “View all” (`viewurl`). `align` switches `dropdown-menu-end` for right alignment.
9
+
10
+ ### Custom element
11
+
12
+ `hb-dropdown-notifications`
13
+
14
+ ### Attributes (snake_case; use string values in HTML)
15
+
16
+ - `id` — optional string
17
+ - `style` — optional string
18
+ - `clearurl` — string (URL for clear-all; empty disables)
19
+ - `viewurl` — string (URL for view-all; empty disables)
20
+ - `align` — `"left"` | `"right"`
21
+
22
+ ### Events
23
+
24
+ None declared on the component type.
25
+
26
+ ### Usage notes
27
+
28
+ Slot: `title` (dropdown header). Default slot holds notification row content.
29
+
30
+ ### Minimal HTML example
31
+
32
+ ```html
33
+ <hb-dropdown-notifications
34
+ clearurl=""
35
+ viewurl="/notifications"
36
+ align="right"
37
+ >
38
+ <span slot="title">Notifications</span>
39
+ <div class="dropdown-item">Sample notification</div>
40
+ </hb-dropdown-notifications>
41
+ ```
package/manifest.json CHANGED
@@ -128,5 +128,5 @@
128
128
  "size": {},
129
129
  "iifePath": "main.iife.js",
130
130
  "repoName": "@htmlbricks/hb-dropdown-notifications",
131
- "version": "0.66.8"
131
+ "version": "0.66.9"
132
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-dropdown-notifications",
3
- "version": "0.66.8",
3
+ "version": "0.66.9",
4
4
  "contributors": [],
5
5
  "description": "Navbar-style bell control that toggles a Bootstrap `dropdown-menu`: header row with optional “Clear all” (`clearurl`) and a default slot for notification rows, plus optional footer link “View all” (`viewurl`). `align` switches `dropdown-menu-end` for right alignment.",
6
6
  "licenses": [