@htmlbricks/hb-contact-item 0.68.1 → 0.68.2
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/manifest.json +41 -1
- package/package.json +1 -1
package/manifest.json
CHANGED
|
@@ -220,11 +220,51 @@
|
|
|
220
220
|
"examples": [
|
|
221
221
|
{
|
|
222
222
|
"name": "default",
|
|
223
|
+
"description": "Clickable mailto line.",
|
|
223
224
|
"data": {
|
|
224
225
|
"email": {
|
|
225
226
|
"address": "dev@dariocaruso.info"
|
|
226
227
|
}
|
|
227
228
|
}
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "phone",
|
|
232
|
+
"description": "Tel link with optional click-to-call behavior.",
|
|
233
|
+
"data": {
|
|
234
|
+
"phone": {
|
|
235
|
+
"number": "+39 02 1234567",
|
|
236
|
+
"callOnClick": true
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "address",
|
|
242
|
+
"description": "Physical location with optional map link.",
|
|
243
|
+
"data": {
|
|
244
|
+
"address": {
|
|
245
|
+
"address": "Via Example 42, Milan, Italy",
|
|
246
|
+
"shortAddress": "Milan HQ",
|
|
247
|
+
"mapUri": "https://maps.example.com/?q=Milan"
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "websiteWithConfig",
|
|
253
|
+
"description": "External site label with dispatcher-friendly config.",
|
|
254
|
+
"data": {
|
|
255
|
+
"site": {
|
|
256
|
+
"label": "Company site",
|
|
257
|
+
"uri": "https://example.com",
|
|
258
|
+
"open": true
|
|
259
|
+
},
|
|
260
|
+
"config": {
|
|
261
|
+
"text": true,
|
|
262
|
+
"dispatcher": true,
|
|
263
|
+
"icon": {
|
|
264
|
+
"fill": false
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
228
268
|
}
|
|
229
269
|
],
|
|
230
270
|
"iifeIntegrity": "sha384-0XJgZBJn52HBbYoZM08rNh88DrJkQBzPu0I0yxAaTqM2neG4bxMUCxLuWJtSbjWx",
|
|
@@ -248,5 +288,5 @@
|
|
|
248
288
|
"size": {},
|
|
249
289
|
"iifePath": "main.iife.js",
|
|
250
290
|
"repoName": "@htmlbricks/hb-contact-item",
|
|
251
|
-
"version": "0.68.
|
|
291
|
+
"version": "0.68.2"
|
|
252
292
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-contact-item",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.2",
|
|
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": [
|