js-draw 0.16.1 → 0.17.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.
- package/CHANGELOG.md +9 -0
- package/dist/bundle.js +1 -1
- package/dist/src/Editor.js +2 -1
- package/dist/src/EditorImage.js +12 -5
- package/dist/src/UndoRedoHistory.d.ts +2 -3
- package/dist/src/UndoRedoHistory.js +37 -20
- package/dist/src/components/RestylableComponent.js +2 -2
- package/dist/src/components/localization.d.ts +1 -1
- package/dist/src/components/localization.js +1 -1
- package/dist/src/lib.d.ts +1 -0
- package/dist/src/lib.js +1 -0
- package/dist/src/toolbar/widgets/OverflowWidget.js +6 -0
- package/dist/src/types.d.ts +7 -0
- package/dist/src/types.js +7 -0
- package/package.json +1 -1
- package/src/Editor.ts +3 -1
- package/src/EditorImage.ts +11 -6
- package/src/UndoRedoHistory.ts +28 -23
- package/src/components/RestylableComponent.ts +2 -2
- package/src/components/localization.ts +2 -2
- package/src/lib.ts +1 -0
- package/src/toolbar/toolbar.css +7 -1
- package/src/toolbar/widgets/OverflowWidget.css +20 -2
- package/src/toolbar/widgets/OverflowWidget.ts +9 -0
- package/src/types.ts +11 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# 0.17.0
|
2
|
+
* Breaking changes
|
3
|
+
- `SerializableCommand::serialize` may no longer serialize accurately when the command to serialize is not on top of the undo/redo stack.
|
4
|
+
* Toolbar overflow menu:
|
5
|
+
- Prefer horizontal menu to veritcal for only 1-2 overflow items.
|
6
|
+
- Prefer wrapping to scrolling.
|
7
|
+
* Bug fixes
|
8
|
+
- Undo/redo events are now consistently fired after the command is initially applied.
|
9
|
+
|
1
10
|
# 0.16.1
|
2
11
|
* Bug fixes
|
3
12
|
- Fix editor not shrinking vertically in Chromium-based browsers with its container.
|