@pqina/pintura 8.69.3 → 8.70.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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 8.70.0 | 2023-12-13
4
+
5
+ - Add snap to shapes.
6
+ - Add snap to grid.
7
+ - Add snap to current context edges and center.
8
+ - Add hold Ctrl key or Command key to disable snapping.
9
+ - Add hold Ctrl key to center shape on draw origin while drawing.
10
+ - Add hold Shift key to lock drag axis.
11
+ - Add hold Shift key to lock shape aspect ratio while drawing.
12
+ - Add `markupEditorSnapThreshold` to control snap distance, defaults to `0` which means snapping is disabled.
13
+ - Add `markupEditorSnapToContext` to control snapping to context edges and center, defaults to `true`, only works if `markupEditorSnapThreshold` is above `0`.
14
+ - Add `markupEditorGridSize` to control snap grid size, defaults to `0` which means a grid is not drawn.
15
+ - Add `annotateGridSize`, and `annotateSnapToContext`, to control snapping in Annotate util.
16
+ - Add `decorateGridSize`, and `decorateSnapToContext`, to control snapping in Decorate util.
17
+ - Add showing text effects when editing text.
18
+ - Fix issue where `text-shadow` and `text-outline` were rendered incorrectly when text height was set.
19
+
3
20
  ## 8.69.3 | 2023-12-08
4
21
 
5
22
  - Fix issue where trim util wouldn't work when video duration was below 1 second.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "8.69.3",
2
+ "version": "8.70.0",
3
3
  "name": "@pqina/pintura",
4
4
  "description": "This package is for testing purposes only. Visit https://pqina.nl/pintura to purchase a valid license.",
5
5
  "browser": "pintura.js",