@themarioga/grid-editor 9.0.0-beta.4 → 9.0.0-beta.5
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 +15 -0
- package/README.md +6 -0
- package/dist/grideditor.bundle.min.js +2 -2
- package/dist/grideditor.d.ts +7 -0
- package/dist/grideditor.esm.js +30 -14
- package/dist/grideditor.js +30 -14
- package/dist/grideditor.min.js +1 -1
- package/dist/grideditor.min.js.map +3 -3
- package/dist/plugins/grideditor.offcanvas.esm.js +181 -4
- package/dist/plugins/grideditor.offcanvas.js +181 -4
- package/dist/plugins/grideditor.offcanvas.min.js +1 -1
- package/dist/plugins/grideditor.offcanvas.min.js.map +3 -3
- package/dist/plugins/grideditor.popup.esm.js +181 -4
- package/dist/plugins/grideditor.popup.js +181 -4
- package/dist/plugins/grideditor.popup.min.js +1 -1
- package/dist/plugins/grideditor.popup.min.js.map +3 -3
- package/docs/events.md +6 -0
- package/docs/plugins.md +10 -0
- package/package.json +1 -1
- package/src/js/grideditor.js +34 -15
- package/src/js/plugins/grideditor.offcanvas.js +3 -0
- package/src/js/plugins/grideditor.popup.js +2 -0
- package/src/js/triggers/triggers.js +211 -11
- package/types/grideditor.d.ts +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,21 @@ 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.0.0-beta.5] - 2026-10-21
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- With the preview button pressed - clicked, not only hovered - the popups and
|
|
12
|
+
offcanvases are closed as on the page, and their triggers and close buttons
|
|
13
|
+
open and close them with Bootstrap's own javascript. Let go, an open one
|
|
14
|
+
closes and each is unfolded in place again, as it was; ending the preview
|
|
15
|
+
in the middle of Bootstrap's animation waits for it. `getHtml` in the middle
|
|
16
|
+
of a preview gives them closed, and the preview goes on.
|
|
17
|
+
- The event `preview-change`, with `previewing`, when the preview button is
|
|
18
|
+
pressed or let go. Opening the source view, a plugin's `setHtml` (an undo)
|
|
19
|
+
and `destroy` let it go first.
|
|
20
|
+
- A plugin's `onPreviewChange(previewing)` hook, and `ge.previewing()` on the
|
|
21
|
+
plugin handle.
|
|
22
|
+
|
|
8
23
|
## [9.0.0-beta.4] - 2026-10-20
|
|
9
24
|
|
|
10
25
|
### Added
|
package/README.md
CHANGED
|
@@ -1065,6 +1065,12 @@ is the button it makes, or any node carrying
|
|
|
1065
1065
|
content in the page from that breakpoint up, so its own trigger gets
|
|
1066
1066
|
`d-<breakpoint>-none`; a trigger of yours elsewhere is not touched.
|
|
1067
1067
|
|
|
1068
|
+
With the preview button pressed - the eye, clicked, not only hovered - a popup
|
|
1069
|
+
and an offcanvas are closed as on the page, and their triggers and close
|
|
1070
|
+
buttons work with Bootstrap's own javascript, so you can try them. Let go of
|
|
1071
|
+
the button, an open one closes, and each is unfolded in place again. The
|
|
1072
|
+
page needs Bootstrap's javascript loaded for that, as it does to show them.
|
|
1073
|
+
|
|
1068
1074
|
A carousel shows one slide at a time while editing, as it does on the page.
|
|
1069
1075
|
The container's drawer has the arrows and says which slide it is on, and
|
|
1070
1076
|
Bootstrap's own arrows are kept in the markup but not drawn, so they never sit
|