@htmlbricks/hb-contact-item 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 CHANGED
@@ -57,8 +57,6 @@ None.
57
57
  | --- | --- | --- |
58
58
  | **`contactClick`** | `{ action: string; options: ... }` — `options` matches the active **`phone` / `address` / `email` / `site` / `social`** object | On click when **no** `window.open` URL is resolved for that row and **`config.dispatcher`** is true (default). |
59
59
 
60
- Authoring typings may list a lowercase `contactclick` key for tooling compatibility; the **DOM event type emitted at runtime is `contactClick`**.
61
-
62
60
  ### Usage notes
63
61
 
64
62
  - Prefer **one** of `phone`, `address`, `email`, `site`, or `social` per element to avoid surprising precedence.
package/manifest.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "Events": {
8
8
  "additionalProperties": false,
9
9
  "properties": {
10
- "contactclick": {
10
+ "contactClick": {
11
11
  "additionalProperties": false,
12
12
  "properties": {
13
13
  "action": {
@@ -23,7 +23,7 @@
23
23
  }
24
24
  },
25
25
  "required": [
26
- "contactclick"
26
+ "contactClick"
27
27
  ],
28
28
  "type": "object"
29
29
  }
@@ -206,13 +206,22 @@
206
206
  "type": "object"
207
207
  }
208
208
  },
209
- "contactclick": {
209
+ "contactClick": {
210
210
  "action": "contactClickEvent"
211
211
  }
212
212
  },
213
213
  "styleSetup": {
214
214
  "vars": [],
215
- "parts": []
215
+ "parts": [
216
+ {
217
+ "name": "iconcell",
218
+ "description": "Leading icon column when `config.icon` is enabled (Bootstrap Icon wrapper)."
219
+ },
220
+ {
221
+ "name": "prop",
222
+ "description": "Visible text span for the active contact value when `config.text` is enabled."
223
+ }
224
+ ]
216
225
  },
217
226
  "contributors": [],
218
227
  "htmlSlots": [],
@@ -288,5 +297,5 @@
288
297
  "size": {},
289
298
  "iifePath": "main.iife.js",
290
299
  "repoName": "@htmlbricks/hb-contact-item",
291
- "version": "0.71.36"
300
+ "version": "0.72.0"
292
301
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-contact-item",
3
- "version": "0.71.36",
3
+ "version": "0.72.0",
4
4
  "contributors": [],
5
5
  "description": "Single contact line (mutually exclusive props): phone, postal address, email, website, or social network. Renders a Bootstrap Icon and optional visible text; JSON `config` toggles icons (filled/outline), label text, and whether clicks dispatch `contactClick` with `{ action, options }` vs opening a window (maps URL, `mailto`, external site, or social page).",
6
6
  "licenses": [
@@ -43,5 +43,5 @@ export type Component = {
43
43
  };
44
44
 
45
45
  export type Events = {
46
- contactclick: { action: string; options: any };
46
+ contactClick: { action: string; options: unknown };
47
47
  };
@@ -5,7 +5,7 @@
5
5
  "Events": {
6
6
  "additionalProperties": false,
7
7
  "properties": {
8
- "contactclick": {
8
+ "contactClick": {
9
9
  "additionalProperties": false,
10
10
  "properties": {
11
11
  "action": {
@@ -21,7 +21,7 @@
21
21
  }
22
22
  },
23
23
  "required": [
24
- "contactclick"
24
+ "contactClick"
25
25
  ],
26
26
  "type": "object"
27
27
  }