@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.
- package/CHANGELOG.md +36 -0
- package/dist/grideditor.bundle.min.js +2 -2
- package/dist/grideditor.esm.js +168 -54
- package/dist/grideditor.js +168 -54
- package/dist/grideditor.min.js +1 -1
- package/dist/grideditor.min.js.map +3 -3
- package/dist/plugins/grideditor.carousel.esm.js +8 -2
- package/dist/plugins/grideditor.carousel.js +8 -2
- package/dist/plugins/grideditor.carousel.min.js +1 -1
- package/dist/plugins/grideditor.carousel.min.js.map +3 -3
- package/dist/plugins/grideditor.clipboard.esm.js +1 -1
- package/dist/plugins/grideditor.clipboard.js +1 -1
- package/dist/plugins/grideditor.clipboard.min.js +1 -1
- package/dist/plugins/grideditor.clipboard.min.js.map +2 -2
- package/dist/plugins/grideditor.inline-style.esm.js +32 -16
- package/dist/plugins/grideditor.inline-style.js +32 -16
- package/dist/plugins/grideditor.inline-style.min.js +4 -4
- package/dist/plugins/grideditor.inline-style.min.js.map +3 -3
- package/dist/plugins/grideditor.offcanvas.esm.js +7 -1
- package/dist/plugins/grideditor.offcanvas.js +7 -1
- package/dist/plugins/grideditor.offcanvas.min.js +1 -1
- package/dist/plugins/grideditor.offcanvas.min.js.map +3 -3
- package/dist/plugins/grideditor.sections.esm.js +1 -1
- package/dist/plugins/grideditor.sections.js +1 -1
- package/dist/plugins/grideditor.sections.min.js +1 -1
- package/dist/plugins/grideditor.sections.min.js.map +2 -2
- package/dist/plugins/grideditor.tabs.esm.js +7 -1
- package/dist/plugins/grideditor.tabs.js +7 -1
- package/dist/plugins/grideditor.tabs.min.js +1 -1
- package/dist/plugins/grideditor.tabs.min.js.map +3 -3
- package/docs/plugins.md +10 -2
- package/package.json +1 -1
- package/src/js/grideditor.js +187 -56
- package/src/js/inline-style/catalog.js +1 -1
- package/src/js/inline-style/drawerflow.js +35 -14
- package/src/js/plugins/grideditor.carousel.js +9 -2
- package/src/js/plugins/grideditor.clipboard.js +1 -1
- package/src/js/plugins/grideditor.inline-style.js +3 -0
- package/src/js/plugins/grideditor.offcanvas.js +8 -1
- package/src/js/plugins/grideditor.sections.js +1 -1
- 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
|