js-draw 0.17.1 → 0.17.2
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 -1
- package/dist/bundle.js +1 -1
- package/dist/src/EditorImage.d.ts +6 -6
- package/dist/src/EditorImage.js +83 -42
- package/dist/src/components/TextComponent.d.ts +1 -1
- package/dist/src/components/TextComponent.js +12 -4
- package/dist/src/rendering/RenderingStyle.d.ts +7 -0
- package/dist/src/rendering/RenderingStyle.js +6 -0
- package/dist/src/rendering/TextRenderingStyle.d.ts +13 -0
- package/dist/src/rendering/TextRenderingStyle.js +4 -1
- package/dist/src/tools/FindTool.js +2 -1
- package/dist/src/util/assertions.d.ts +22 -0
- package/dist/src/util/assertions.js +42 -3
- package/package.json +16 -16
- package/src/EditorImage.test.ts +33 -0
- package/src/EditorImage.ts +87 -35
- package/src/components/TextComponent.test.ts +1 -1
- package/src/components/TextComponent.ts +11 -9
- package/src/rendering/RenderingStyle.ts +9 -0
- package/src/rendering/TextRenderingStyle.ts +8 -1
- package/src/tools/FindTool.ts +2 -1
- package/src/util/assertions.ts +51 -3
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
|
+
# 0.17.2
|
2
|
+
* Bug fixes
|
3
|
+
- TextComponent: Fix sub-components not cloning when cloning a parent `TextComponent`
|
4
|
+
- This was causing duplicated `TextComponent`s to have, in part, the same styles as the original, even after attempting to restyle them with the restyle tool.
|
5
|
+
- Find tool: Don't add viewport transformations to the undo stack.
|
6
|
+
- Collaborative editing: Fix changing background size/location not synced between editors.
|
7
|
+
- Upgrade dependencies to latest versions ([see commit for details](https://github.com/personalizedrefrigerator/js-draw/commit/427a64037320ca96232d47f268258206398f3796))
|
8
|
+
|
1
9
|
# 0.17.1
|
2
10
|
* Bug fixes
|
3
|
-
- Fix restyling duplicated TextComponents also restyling the original.
|
11
|
+
- [Only partially fixed] Fix restyling duplicated TextComponents also restyling the original.
|
4
12
|
- Fix contents of overflow menu not changing on screen resize if the overflow menu was open.
|
5
13
|
|
6
14
|
# 0.17.0
|