@themarioga/grid-editor 9.0.0 → 9.1.1

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 (41) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/grideditor.bundle.min.js +2 -2
  3. package/dist/grideditor.esm.js +168 -54
  4. package/dist/grideditor.js +168 -54
  5. package/dist/grideditor.min.js +1 -1
  6. package/dist/grideditor.min.js.map +3 -3
  7. package/dist/plugins/grideditor.carousel.esm.js +8 -2
  8. package/dist/plugins/grideditor.carousel.js +8 -2
  9. package/dist/plugins/grideditor.carousel.min.js +1 -1
  10. package/dist/plugins/grideditor.carousel.min.js.map +3 -3
  11. package/dist/plugins/grideditor.clipboard.esm.js +1 -1
  12. package/dist/plugins/grideditor.clipboard.js +1 -1
  13. package/dist/plugins/grideditor.clipboard.min.js +1 -1
  14. package/dist/plugins/grideditor.clipboard.min.js.map +2 -2
  15. package/dist/plugins/grideditor.inline-style.esm.js +32 -16
  16. package/dist/plugins/grideditor.inline-style.js +32 -16
  17. package/dist/plugins/grideditor.inline-style.min.js +4 -4
  18. package/dist/plugins/grideditor.inline-style.min.js.map +3 -3
  19. package/dist/plugins/grideditor.offcanvas.esm.js +7 -1
  20. package/dist/plugins/grideditor.offcanvas.js +7 -1
  21. package/dist/plugins/grideditor.offcanvas.min.js +1 -1
  22. package/dist/plugins/grideditor.offcanvas.min.js.map +3 -3
  23. package/dist/plugins/grideditor.sections.esm.js +1 -1
  24. package/dist/plugins/grideditor.sections.js +1 -1
  25. package/dist/plugins/grideditor.sections.min.js +1 -1
  26. package/dist/plugins/grideditor.sections.min.js.map +2 -2
  27. package/dist/plugins/grideditor.tabs.esm.js +7 -1
  28. package/dist/plugins/grideditor.tabs.js +7 -1
  29. package/dist/plugins/grideditor.tabs.min.js +1 -1
  30. package/dist/plugins/grideditor.tabs.min.js.map +3 -3
  31. package/docs/plugins.md +10 -2
  32. package/package.json +1 -1
  33. package/src/js/grideditor.js +187 -56
  34. package/src/js/inline-style/catalog.js +1 -1
  35. package/src/js/inline-style/drawerflow.js +35 -14
  36. package/src/js/plugins/grideditor.carousel.js +9 -2
  37. package/src/js/plugins/grideditor.clipboard.js +1 -1
  38. package/src/js/plugins/grideditor.inline-style.js +3 -0
  39. package/src/js/plugins/grideditor.offcanvas.js +8 -1
  40. package/src/js/plugins/grideditor.sections.js +1 -1
  41. package/src/js/plugins/grideditor.tabs.js +8 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,42 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
 
8
+ ## [9.1.1] - 2026-10-22
9
+
10
+ ### Fixed
11
+ - `drawer_overflow: 'menu'`: the drawers are fitted all at once - every
12
+ write, then every read - rather than one at a time, each measure laying the
13
+ page out again. On a canvas of 150 rows a change of view takes half the
14
+ time it did, and a `getHtml()` nearly half.
15
+ - inline-style: the drawers of flex and grid nodes are measured the same way,
16
+ every read before any write.
17
+ - `getHtml({ keepEditing: true })`, and so history and autosave, copy the
18
+ canvas without its drawers rather than copying them only to take them off:
19
+ three times faster on a large canvas.
20
+ - The toolbar follows the page's scrolling once a frame: a scroll also comes
21
+ when the page changes height, as it does in a `getHtml()`, and read there
22
+ and then it laid the page out again.
23
+
24
+ ## [9.1.0] - 2026-10-22
25
+
26
+ ### Changed
27
+ - A settings panel's plugin sections and *Responsive* section are built when
28
+ the panel opens and taken away when it closes, rather than built into every
29
+ drawer up front. With inline-style they were most of the canvas: in the
30
+ playground's sample, 42,000 of its 42,200 elements, now 2,300, with an add
31
+ down from over 100 ms to under 10, and `getHtml({ keepEditing: true })` from
32
+ 60 ms to 2. `panelSection(node, kind)` is called each time the node's panel
33
+ opens, from the node as it is then.
34
+ - `ge.detailsOf(node)` builds the rest of a panel that was not open;
35
+ `ge.detailsOf(node, { build: false })` hands it back as it is.
36
+
37
+ ### Fixed
38
+ - Every add, and every other change that brings the canvas up to date, made
39
+ every row, column and region sortable again without undoing the instances
40
+ already there, so each list gathered one more SortableJS instance, and its
41
+ listeners, per change. A list made sortable keeps its one instance, and a
42
+ list taken off the canvas loses its own.
43
+
8
44
  ## [9.0.0] - 2026-10-22
9
45
 
10
46
  The first stable 9.0: what 9.0.0-beta.1 to 9.0.0-beta.8 below brought, and