hyperclayjs 1.3.1 → 1.5.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.
Files changed (44) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +79 -45
  3. package/communication/behaviorCollector.js +7 -4
  4. package/communication/sendMessage.js +7 -4
  5. package/communication/uploadFile.js +8 -5
  6. package/core/autosave.js +7 -51
  7. package/core/editmodeSystem.js +8 -5
  8. package/core/enablePersistentFormInputValues.js +7 -4
  9. package/core/exportToWindow.js +14 -0
  10. package/core/optionVisibilityRuleGenerator.js +8 -5
  11. package/core/savePage.js +136 -26
  12. package/core/savePageCore.js +25 -9
  13. package/core/saveToast.js +37 -0
  14. package/custom-attributes/domHelpers.js +7 -4
  15. package/custom-attributes/onaftersave.js +41 -0
  16. package/custom-attributes/sortable.js +23 -16
  17. package/dom-utilities/All.js +9 -6
  18. package/dom-utilities/getDataFromForm.js +8 -5
  19. package/dom-utilities/insertStyleTag.js +8 -5
  20. package/dom-utilities/onDomReady.js +7 -4
  21. package/dom-utilities/onLoad.js +7 -4
  22. package/hyperclay.js +96 -31
  23. package/module-dependency-graph.json +135 -136
  24. package/package.json +1 -1
  25. package/string-utilities/copy-to-clipboard.js +7 -4
  26. package/string-utilities/query.js +8 -5
  27. package/string-utilities/slugify.js +8 -5
  28. package/ui/prompts.js +49 -31
  29. package/ui/theModal.js +50 -6
  30. package/ui/toast-hyperclay.js +27 -11
  31. package/ui/toast.js +82 -92
  32. package/utilities/cookie.js +8 -5
  33. package/utilities/debounce.js +7 -4
  34. package/utilities/loadVendorScript.js +57 -0
  35. package/utilities/mutation.js +9 -6
  36. package/utilities/nearest.js +7 -4
  37. package/utilities/throttle.js +7 -4
  38. package/vendor/Sortable.vendor.js +2 -0
  39. package/vendor/idiomorph.min.js +8 -5
  40. package/vendor/tailwind-play.js +16 -162
  41. package/vendor/tailwind-play.vendor.js +169 -0
  42. package/string-utilities/emmet-html.js +0 -60
  43. package/ui/info.js +0 -47
  44. package/vendor/Sortable.js +0 -3351
@@ -47,7 +47,11 @@
47
47
  "core/adminOnClick.js",
48
48
  "core/adminResources.js"
49
49
  ],
50
- "core/autosave.js": [],
50
+ "core/autosave.js": [
51
+ "core/isAdminOfCurrentResource.js",
52
+ "core/savePage.js",
53
+ "utilities/mutation.js"
54
+ ],
51
55
  "core/editmode.js": [
52
56
  "core/isAdminOfCurrentResource.js"
53
57
  ],
@@ -59,6 +63,7 @@
59
63
  "core/enablePersistentFormInputValues.js": [
60
64
  "core/savePage.js"
61
65
  ],
66
+ "core/exportToWindow.js": [],
62
67
  "core/isAdminOfCurrentResource.js": [
63
68
  "string-utilities/query.js",
64
69
  "utilities/cookie.js"
@@ -66,11 +71,19 @@
66
71
  "core/optionVisibilityRuleGenerator.js": [
67
72
  "utilities/mutation.js"
68
73
  ],
69
- "core/savePage.js": [],
74
+ "core/savePage.js": [
75
+ "core/isAdminOfCurrentResource.js",
76
+ "core/savePageCore.js",
77
+ "utilities/throttle.js"
78
+ ],
70
79
  "core/savePageCore.js": [
71
80
  "core/isAdminOfCurrentResource.js",
72
81
  "utilities/cookie.js"
73
82
  ],
83
+ "core/saveToast.js": [
84
+ "core/isAdminOfCurrentResource.js",
85
+ "ui/toast.js"
86
+ ],
74
87
  "core/setPageTypeOnDocumentElement.js": [
75
88
  "core/isAdminOfCurrentResource.js",
76
89
  "core/savePage.js",
@@ -97,6 +110,7 @@
97
110
  "custom-attributes/autosize.js",
98
111
  "custom-attributes/preventEnter.js"
99
112
  ],
113
+ "custom-attributes/onaftersave.js": [],
100
114
  "custom-attributes/onclickaway.js": [],
101
115
  "custom-attributes/onclone.js": [],
102
116
  "custom-attributes/onpagemutation.js": [
@@ -109,8 +123,8 @@
109
123
  "custom-attributes/preventEnter.js": [],
110
124
  "custom-attributes/sortable.js": [
111
125
  "core/isAdminOfCurrentResource.js",
112
- "utilities/mutation.js",
113
- "vendor/Sortable.js"
126
+ "utilities/loadVendorScript.js",
127
+ "utilities/mutation.js"
114
128
  ],
115
129
  "dom-utilities/All.js": [],
116
130
  "dom-utilities/getDataFromForm.js": [],
@@ -120,17 +134,11 @@
120
134
  "hyperclay.js": [],
121
135
  "jest.config.js": [],
122
136
  "string-utilities/copy-to-clipboard.js": [],
123
- "string-utilities/emmet-html.js": [],
124
137
  "string-utilities/query.js": [],
125
138
  "string-utilities/slugify.js": [],
126
- "ui/info.js": [
127
- "dom-utilities/onDomReady.js",
128
- "ui/theModal.js"
129
- ],
130
139
  "ui/prompts.js": [
131
140
  "dom-utilities/onDomReady.js",
132
141
  "string-utilities/copy-to-clipboard.js",
133
- "ui/info.js",
134
142
  "ui/theModal.js",
135
143
  "ui/toast.js"
136
144
  ],
@@ -141,13 +149,18 @@
141
149
  "ui/toast.js": [],
142
150
  "utilities/cookie.js": [],
143
151
  "utilities/debounce.js": [],
152
+ "utilities/loadVendorScript.js": [],
144
153
  "utilities/mutation.js": [],
145
154
  "utilities/nearest.js": [],
146
155
  "utilities/pipe.js": [],
147
156
  "utilities/throttle.js": [],
148
- "vendor/Sortable.js": [],
157
+ "vendor/Sortable.vendor.js": [],
149
158
  "vendor/idiomorph.min.js": [],
150
159
  "vendor/tailwind-play.js": [
160
+ "core/isAdminOfCurrentResource.js",
161
+ "utilities/loadVendorScript.js"
162
+ ],
163
+ "vendor/tailwind-play.vendor.js": [
151
164
  "dom-utilities/insertStyleTag.js"
152
165
  ]
153
166
  },
@@ -155,7 +168,7 @@
155
168
  "save-core": {
156
169
  "name": "save-core",
157
170
  "category": "core",
158
- "size": 5.8,
171
+ "size": 6.3,
159
172
  "files": [
160
173
  "core/savePageCore.js"
161
174
  ],
@@ -169,7 +182,7 @@
169
182
  "save-system": {
170
183
  "name": "save-system",
171
184
  "category": "core",
172
- "size": 4.1,
185
+ "size": 7,
173
186
  "files": [
174
187
  "core/savePage.js"
175
188
  ],
@@ -181,13 +194,10 @@
181
194
  "savePage": [
182
195
  "hyperclay"
183
196
  ],
184
- "replacePageWith": [
185
- "hyperclay"
186
- ],
187
- "initHyperclaySaveButton": [
197
+ "savePageThrottled": [
188
198
  "hyperclay"
189
199
  ],
190
- "initSaveKeyboardShortcut": [
200
+ "replacePageWith": [
191
201
  "hyperclay"
192
202
  ]
193
203
  }
@@ -195,22 +205,25 @@
195
205
  "autosave": {
196
206
  "name": "autosave",
197
207
  "category": "core",
198
- "size": 2.4,
208
+ "size": 1.1,
199
209
  "files": [
200
210
  "core/autosave.js"
201
211
  ],
202
212
  "description": "Auto-save on DOM changes, unsaved changes warning",
203
- "exports": {
204
- "savePageThrottled": [
205
- "hyperclay"
206
- ],
207
- "initSavePageOnChange": [
208
- "hyperclay"
209
- ]
210
- }
213
+ "exports": {}
214
+ },
215
+ "save-toast": {
216
+ "name": "save-toast",
217
+ "category": "core",
218
+ "size": 0.9,
219
+ "files": [
220
+ "core/saveToast.js"
221
+ ],
222
+ "description": "Toast notifications for save events (opt-in)",
223
+ "exports": {}
211
224
  },
212
- "admin": {
213
- "name": "admin",
225
+ "edit-mode-helpers": {
226
+ "name": "edit-mode-helpers",
214
227
  "category": "core",
215
228
  "size": 5.4,
216
229
  "files": [
@@ -220,22 +233,18 @@
220
233
  "core/adminOnClick.js",
221
234
  "core/adminResources.js"
222
235
  ],
223
- "description": "Hides admin inputs, scripts, contenteditable, onclick for regular viewers",
236
+ "description": "Admin-only functionality: [edit-mode-input], [edit-mode-resource], [edit-mode-onclick]",
224
237
  "exports": {}
225
238
  },
226
239
  "persist": {
227
240
  "name": "persist",
228
241
  "category": "core",
229
- "size": 2.4,
242
+ "size": 2.5,
230
243
  "files": [
231
244
  "core/enablePersistentFormInputValues.js"
232
245
  ],
233
- "description": "Persist form values to the DOM with [persist] attribute",
234
- "exports": {
235
- "enablePersistentFormInputValues": [
236
- "hyperclay"
237
- ]
238
- }
246
+ "description": "Persist input/select/textarea values to the DOM with [persist] attribute",
247
+ "exports": {}
239
248
  },
240
249
  "option-visibility": {
241
250
  "name": "option-visibility",
@@ -245,23 +254,18 @@
245
254
  "core/optionVisibilityRuleGenerator.js"
246
255
  ],
247
256
  "description": "Dynamic show/hide based on ancestor state with option:attribute=\"value\"",
248
- "exports": {
249
- "optionVisibilityRuleGenerator": [
250
- "window",
251
- "hyperclay"
252
- ]
253
- }
257
+ "exports": {}
254
258
  },
255
259
  "edit-mode": {
256
260
  "name": "edit-mode",
257
261
  "category": "core",
258
- "size": 1.7,
262
+ "size": 1.8,
259
263
  "files": [
260
264
  "core/editmodeSystem.js",
261
265
  "core/editmode.js",
262
266
  "core/setPageTypeOnDocumentElement.js"
263
267
  ],
264
- "description": "Toggle edit mode on/off",
268
+ "description": "Toggle edit mode on hyperclay on/off",
265
269
  "exports": {
266
270
  "toggleEditMode": [
267
271
  "hyperclay"
@@ -301,33 +305,22 @@
301
305
  "sortable": {
302
306
  "name": "sortable",
303
307
  "category": "custom-attributes",
304
- "size": 118.1,
308
+ "size": 2.8,
305
309
  "files": [
306
- "custom-attributes/sortable.js",
307
- "vendor/Sortable.js"
310
+ "custom-attributes/sortable.js"
308
311
  ],
309
- "description": "Drag-drop sorting with [sortable] - includes Sortable.js vendor library",
310
- "exports": {
311
- "Sortable": [
312
- "window",
313
- "hyperclay"
314
- ]
315
- }
312
+ "description": "Drag-drop sorting with [sortable], lazy-loads ~118KB Sortable.js in edit mode",
313
+ "exports": {}
316
314
  },
317
315
  "dom-helpers": {
318
316
  "name": "dom-helpers",
319
317
  "category": "custom-attributes",
320
- "size": 5.6,
318
+ "size": 5.7,
321
319
  "files": [
322
320
  "custom-attributes/domHelpers.js"
323
321
  ],
324
322
  "description": "el.nearest, el.val, el.text, el.exec, el.cycle",
325
- "exports": {
326
- "initCustomAttributes": [
327
- "window",
328
- "hyperclay"
329
- ]
330
- }
323
+ "exports": {}
331
324
  },
332
325
  "input-helpers": {
333
326
  "name": "input-helpers",
@@ -341,15 +334,24 @@
341
334
  "description": "[prevent-enter], [autosize] for textareas",
342
335
  "exports": {}
343
336
  },
337
+ "onaftersave": {
338
+ "name": "onaftersave",
339
+ "category": "custom-attributes",
340
+ "size": 1.2,
341
+ "files": [
342
+ "custom-attributes/onaftersave.js"
343
+ ],
344
+ "description": "[onaftersave] attribute - run JS when save status changes",
345
+ "exports": {}
346
+ },
344
347
  "dialogs": {
345
348
  "name": "dialogs",
346
349
  "category": "ui",
347
- "size": 11.2,
350
+ "size": 8.4,
348
351
  "files": [
349
- "ui/prompts.js",
350
- "ui/info.js"
352
+ "ui/prompts.js"
351
353
  ],
352
- "description": "ask(), consent(), tell(), info(), snippet() functions",
354
+ "description": "ask(), consent(), tell(), snippet() dialog functions",
353
355
  "exports": {
354
356
  "ask": [
355
357
  "window",
@@ -363,26 +365,19 @@
363
365
  "window",
364
366
  "hyperclay"
365
367
  ],
366
- "info": [
367
- "window",
368
- "hyperclay"
369
- ],
370
368
  "snippet": [
371
369
  "hyperclay"
372
- ],
373
- "showApiKey": [
374
- "hyperclay"
375
370
  ]
376
371
  }
377
372
  },
378
373
  "toast": {
379
374
  "name": "toast",
380
375
  "category": "ui",
381
- "size": 7.3,
376
+ "size": 7.7,
382
377
  "files": [
383
378
  "ui/toast.js"
384
379
  ],
385
- "description": "Success/error message notifications - toast(msg, msgType)",
380
+ "description": "Success/error message notifications, toast(msg, msgType)",
386
381
  "exports": {
387
382
  "toast": [
388
383
  "window",
@@ -393,23 +388,22 @@
393
388
  "toast-hyperclay": {
394
389
  "name": "toast-hyperclay",
395
390
  "category": "ui",
396
- "size": 7.8999999999999995,
391
+ "size": 1,
397
392
  "files": [
398
- "ui/toast-hyperclay.js",
399
- "ui/toast.js"
393
+ "ui/toast-hyperclay.js"
400
394
  ],
401
- "description": "Toast with legacy Hyperclay platform styling (hidden feature)",
395
+ "description": "toastHyperclay() with legacy Hyperclay platform styling (hidden feature)",
402
396
  "exports": {
403
- "toast": [
397
+ "toastHyperclay": [
404
398
  "window",
405
399
  "hyperclay"
406
400
  ]
407
401
  }
408
402
  },
409
- "modal": {
410
- "name": "modal",
403
+ "the-modal": {
404
+ "name": "the-modal",
411
405
  "category": "ui",
412
- "size": 18.5,
406
+ "size": 19.8,
413
407
  "files": [
414
408
  "ui/theModal.js"
415
409
  ],
@@ -424,17 +418,17 @@
424
418
  "tailwind-play": {
425
419
  "name": "tailwind-play",
426
420
  "category": "ui",
427
- "size": 362.3,
421
+ "size": 0.7,
428
422
  "files": [
429
423
  "vendor/tailwind-play.js"
430
424
  ],
431
- "description": "Live Tailwind CSS editing - no need for a build system",
425
+ "description": "Live Tailwind CSS editing, lazy-loads ~370KB script in edit mode only",
432
426
  "exports": {}
433
427
  },
434
428
  "mutation": {
435
429
  "name": "mutation",
436
430
  "category": "utilities",
437
- "size": 12.9,
431
+ "size": 13,
438
432
  "files": [
439
433
  "utilities/mutation.js"
440
434
  ],
@@ -449,7 +443,7 @@
449
443
  "nearest": {
450
444
  "name": "nearest",
451
445
  "category": "utilities",
452
- "size": 3.3,
446
+ "size": 3.4,
453
447
  "files": [
454
448
  "utilities/nearest.js"
455
449
  ],
@@ -464,7 +458,7 @@
464
458
  "cookie": {
465
459
  "name": "cookie",
466
460
  "category": "utilities",
467
- "size": 1.3,
461
+ "size": 1.4,
468
462
  "files": [
469
463
  "utilities/cookie.js"
470
464
  ],
@@ -479,7 +473,7 @@
479
473
  "throttle": {
480
474
  "name": "throttle",
481
475
  "category": "utilities",
482
- "size": 0.7,
476
+ "size": 0.8,
483
477
  "files": [
484
478
  "utilities/throttle.js"
485
479
  ],
@@ -507,7 +501,7 @@
507
501
  "dom-ready": {
508
502
  "name": "dom-ready",
509
503
  "category": "dom-utilities",
510
- "size": 0.3,
504
+ "size": 0.4,
511
505
  "files": [
512
506
  "dom-utilities/onDomReady.js"
513
507
  ],
@@ -521,7 +515,7 @@
521
515
  "window-load": {
522
516
  "name": "window-load",
523
517
  "category": "dom-utilities",
524
- "size": 0.3,
518
+ "size": 0.4,
525
519
  "files": [
526
520
  "dom-utilities/onLoad.js"
527
521
  ],
@@ -535,7 +529,7 @@
535
529
  "all-js": {
536
530
  "name": "all-js",
537
531
  "category": "dom-utilities",
538
- "size": 13.9,
532
+ "size": 14,
539
533
  "files": [
540
534
  "dom-utilities/All.js"
541
535
  ],
@@ -550,7 +544,7 @@
550
544
  "style-injection": {
551
545
  "name": "style-injection",
552
546
  "category": "dom-utilities",
553
- "size": 1,
547
+ "size": 1.1,
554
548
  "files": [
555
549
  "dom-utilities/insertStyleTag.js"
556
550
  ],
@@ -565,7 +559,7 @@
565
559
  "form-data": {
566
560
  "name": "form-data",
567
561
  "category": "dom-utilities",
568
- "size": 1.9,
562
+ "size": 2,
569
563
  "files": [
570
564
  "dom-utilities/getDataFromForm.js"
571
565
  ],
@@ -580,7 +574,7 @@
580
574
  "idiomorph": {
581
575
  "name": "idiomorph",
582
576
  "category": "vendor",
583
- "size": 8.1,
577
+ "size": 8.2,
584
578
  "files": [
585
579
  "vendor/idiomorph.min.js"
586
580
  ],
@@ -594,7 +588,7 @@
594
588
  "slugify": {
595
589
  "name": "slugify",
596
590
  "category": "string-utilities",
597
- "size": 0.6,
591
+ "size": 0.7,
598
592
  "files": [
599
593
  "string-utilities/slugify.js"
600
594
  ],
@@ -606,24 +600,10 @@
606
600
  ]
607
601
  }
608
602
  },
609
- "emmet": {
610
- "name": "emmet",
603
+ "copy-to-clipboard": {
604
+ "name": "copy-to-clipboard",
611
605
  "category": "string-utilities",
612
- "size": 1.5,
613
- "files": [
614
- "string-utilities/emmet-html.js"
615
- ],
616
- "description": "Emmet-like HTML generation",
617
- "exports": {
618
- "emmet": [
619
- "hyperclay"
620
- ]
621
- }
622
- },
623
- "clipboard": {
624
- "name": "clipboard",
625
- "category": "string-utilities",
626
- "size": 0.8,
606
+ "size": 0.9,
627
607
  "files": [
628
608
  "string-utilities/copy-to-clipboard.js"
629
609
  ],
@@ -637,7 +617,7 @@
637
617
  "query-params": {
638
618
  "name": "query-params",
639
619
  "category": "string-utilities",
640
- "size": 0.2,
620
+ "size": 0.3,
641
621
  "files": [
642
622
  "string-utilities/query.js"
643
623
  ],
@@ -652,7 +632,7 @@
652
632
  "behavior-collector": {
653
633
  "name": "behavior-collector",
654
634
  "category": "communication",
655
- "size": 5.4,
635
+ "size": 5.5,
656
636
  "files": [
657
637
  "communication/behaviorCollector.js"
658
638
  ],
@@ -666,7 +646,7 @@
666
646
  "send-message": {
667
647
  "name": "send-message",
668
648
  "category": "communication",
669
- "size": 1.3,
649
+ "size": 1.4,
670
650
  "files": [
671
651
  "communication/sendMessage.js"
672
652
  ],
@@ -680,7 +660,7 @@
680
660
  "file-upload": {
681
661
  "name": "file-upload",
682
662
  "category": "communication",
683
- "size": 10.6,
663
+ "size": 10.7,
684
664
  "files": [
685
665
  "communication/uploadFile.js"
686
666
  ],
@@ -696,13 +676,24 @@
696
676
  "hyperclay"
697
677
  ]
698
678
  }
679
+ },
680
+ "export-to-window": {
681
+ "name": "export-to-window",
682
+ "category": "core",
683
+ "size": 0.4,
684
+ "files": [
685
+ "core/exportToWindow.js"
686
+ ],
687
+ "description": "Export all modules to window.hyperclay and window globals",
688
+ "exports": {}
699
689
  }
700
690
  },
701
691
  "modulePaths": {
702
692
  "save-core": "./core/savePageCore.js",
703
693
  "save-system": "./core/savePage.js",
704
694
  "autosave": "./core/autosave.js",
705
- "admin": "./core/adminSystem.js",
695
+ "save-toast": "./core/saveToast.js",
696
+ "edit-mode-helpers": "./core/adminSystem.js",
706
697
  "persist": "./core/enablePersistentFormInputValues.js",
707
698
  "option-visibility": "./core/optionVisibilityRuleGenerator.js",
708
699
  "edit-mode": "./core/editmodeSystem.js",
@@ -711,10 +702,11 @@
711
702
  "sortable": "./custom-attributes/sortable.js",
712
703
  "dom-helpers": "./custom-attributes/domHelpers.js",
713
704
  "input-helpers": "./custom-attributes/inputHelpers.js",
705
+ "onaftersave": "./custom-attributes/onaftersave.js",
714
706
  "dialogs": "./ui/prompts.js",
715
707
  "toast": "./ui/toast.js",
716
708
  "toast-hyperclay": "./ui/toast-hyperclay.js",
717
- "modal": "./ui/theModal.js",
709
+ "the-modal": "./ui/theModal.js",
718
710
  "tailwind-play": "./vendor/tailwind-play.js",
719
711
  "mutation": "./utilities/mutation.js",
720
712
  "nearest": "./utilities/nearest.js",
@@ -728,12 +720,12 @@
728
720
  "form-data": "./dom-utilities/getDataFromForm.js",
729
721
  "idiomorph": "./vendor/idiomorph.min.js",
730
722
  "slugify": "./string-utilities/slugify.js",
731
- "emmet": "./string-utilities/emmet-html.js",
732
- "clipboard": "./string-utilities/copy-to-clipboard.js",
723
+ "copy-to-clipboard": "./string-utilities/copy-to-clipboard.js",
733
724
  "query-params": "./string-utilities/query.js",
734
725
  "behavior-collector": "./communication/behaviorCollector.js",
735
726
  "send-message": "./communication/sendMessage.js",
736
- "file-upload": "./communication/uploadFile.js"
727
+ "file-upload": "./communication/uploadFile.js",
728
+ "export-to-window": "./core/exportToWindow.js"
737
729
  },
738
730
  "categories": {
739
731
  "core": {
@@ -743,7 +735,8 @@
743
735
  "save-core",
744
736
  "save-system",
745
737
  "autosave",
746
- "admin",
738
+ "save-toast",
739
+ "edit-mode-helpers",
747
740
  "persist",
748
741
  "option-visibility",
749
742
  "edit-mode"
@@ -757,7 +750,8 @@
757
750
  "ajax-elements",
758
751
  "sortable",
759
752
  "dom-helpers",
760
- "input-helpers"
753
+ "input-helpers",
754
+ "onaftersave"
761
755
  ]
762
756
  },
763
757
  "ui": {
@@ -766,7 +760,7 @@
766
760
  "modules": [
767
761
  "dialogs",
768
762
  "toast",
769
- "modal",
763
+ "the-modal",
770
764
  "tailwind-play"
771
765
  ]
772
766
  },
@@ -796,8 +790,7 @@
796
790
  "description": "String manipulation helpers",
797
791
  "modules": [
798
792
  "slugify",
799
- "emmet",
800
- "clipboard",
793
+ "copy-to-clipboard",
801
794
  "query-params"
802
795
  ]
803
796
  },
@@ -824,8 +817,10 @@
824
817
  "modules": [
825
818
  "save-core",
826
819
  "save-system",
827
- "admin",
828
- "toast"
820
+ "edit-mode-helpers",
821
+ "toast",
822
+ "save-toast",
823
+ "export-to-window"
829
824
  ]
830
825
  },
831
826
  "standard": {
@@ -834,12 +829,14 @@
834
829
  "modules": [
835
830
  "save-core",
836
831
  "save-system",
837
- "admin",
832
+ "edit-mode-helpers",
838
833
  "persist",
839
834
  "option-visibility",
840
835
  "event-attrs",
841
836
  "dom-helpers",
842
- "toast"
837
+ "toast",
838
+ "save-toast",
839
+ "export-to-window"
843
840
  ]
844
841
  },
845
842
  "everything": {
@@ -849,7 +846,8 @@
849
846
  "save-core",
850
847
  "save-system",
851
848
  "autosave",
852
- "admin",
849
+ "save-toast",
850
+ "edit-mode-helpers",
853
851
  "persist",
854
852
  "option-visibility",
855
853
  "edit-mode",
@@ -858,10 +856,11 @@
858
856
  "sortable",
859
857
  "dom-helpers",
860
858
  "input-helpers",
859
+ "onaftersave",
861
860
  "dialogs",
862
861
  "toast",
863
862
  "toast-hyperclay",
864
- "modal",
863
+ "the-modal",
865
864
  "tailwind-play",
866
865
  "mutation",
867
866
  "nearest",
@@ -875,12 +874,12 @@
875
874
  "form-data",
876
875
  "idiomorph",
877
876
  "slugify",
878
- "emmet",
879
- "clipboard",
877
+ "copy-to-clipboard",
880
878
  "query-params",
881
879
  "behavior-collector",
882
880
  "send-message",
883
- "file-upload"
881
+ "file-upload",
882
+ "export-to-window"
884
883
  ]
885
884
  }
886
885
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperclayjs",
3
- "version": "1.3.1",
3
+ "version": "1.5.0",
4
4
  "description": "Modular JavaScript library for building interactive HTML applications with Hyperclay",
5
5
  "type": "module",
6
6
  "main": "hyperclay.js",