@htmlbricks/hb-dialog 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 +33 -1
- package/package.json +1 -1
package/manifest.json
CHANGED
|
@@ -266,9 +266,41 @@
|
|
|
266
266
|
"examples": [
|
|
267
267
|
{
|
|
268
268
|
"name": "default",
|
|
269
|
+
"description": "Modal visible with default footer actions.",
|
|
269
270
|
"data": {
|
|
270
271
|
"show": "yes"
|
|
271
272
|
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "hidden",
|
|
276
|
+
"description": "Closed dialog; toggle `show` to open programmatically.",
|
|
277
|
+
"data": {
|
|
278
|
+
"show": "no",
|
|
279
|
+
"title": "Not visible yet"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "titledWithLabels",
|
|
284
|
+
"description": "Custom title and button copy.",
|
|
285
|
+
"data": {
|
|
286
|
+
"show": "yes",
|
|
287
|
+
"title": "Confirm action",
|
|
288
|
+
"content": "This cannot be undone.",
|
|
289
|
+
"confirmlabel": "Delete",
|
|
290
|
+
"closelabel": "Keep"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "strictFocus",
|
|
295
|
+
"description": "Backdrop click ignored; Escape disabled.",
|
|
296
|
+
"data": {
|
|
297
|
+
"show": "yes",
|
|
298
|
+
"title": "Important",
|
|
299
|
+
"backdrop": true,
|
|
300
|
+
"ignoreBackdrop": true,
|
|
301
|
+
"keyboard": false,
|
|
302
|
+
"hide_close": true
|
|
303
|
+
}
|
|
272
304
|
}
|
|
273
305
|
],
|
|
274
306
|
"iifeIntegrity": "sha384-3LC7KxHfBHcVWCkagOihXDI7hpjGsUAMKM2GX6Ca8tYtWxwZLRZhh+rSIfBHeU04",
|
|
@@ -292,5 +324,5 @@
|
|
|
292
324
|
"size": {},
|
|
293
325
|
"iifePath": "main.iife.js",
|
|
294
326
|
"repoName": "@htmlbricks/hb-dialog",
|
|
295
|
-
"version": "0.68.
|
|
327
|
+
"version": "0.68.2"
|
|
296
328
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-dialog",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.2",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Bulma modal (`modal` + `modal-card`) controlled by string `show` (`yes`/`no`): fade/fly transitions, optional backdrop click to close, Escape when `keyboard` is enabled, and `document.body` scroll lock while open. Slots replace title, body, footer, and button labels; default footer emits `modalConfirm` with `{ id, confirm }` and toggles visibility. Also emits `modalShow` when opened or closed.",
|
|
6
6
|
"licenses": [
|