@pixerate/editor 0.36.0 → 0.38.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/THIRD_PARTY_NOTICES.md +17 -0
- package/dist/canvas/index.cjs +37 -25
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +3 -217
- package/dist/canvas/index.d.ts +3 -217
- package/dist/canvas/index.js +13 -1
- package/dist/canvas/index.js.map +1 -1
- package/dist/{chunk-BGNPT5PE.cjs → chunk-7EDLVBOO.cjs} +671 -19
- package/dist/chunk-7EDLVBOO.cjs.map +1 -0
- package/dist/{chunk-EGPIVUEF.js → chunk-ZCCU3VNI.js} +668 -16
- package/dist/chunk-ZCCU3VNI.js.map +1 -0
- package/dist/pathfinder-Bd87_lsQ.d.cts +994 -0
- package/dist/pathfinder-fLmmFOJw.d.ts +994 -0
- package/dist/vector/index.cjs +1900 -297
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +620 -8
- package/dist/vector/index.d.ts +620 -8
- package/dist/vector/index.js +1696 -93
- package/dist/vector/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/bezier-BvqVmWMg.d.ts +0 -547
- package/dist/bezier-D8bsO-L0.d.cts +0 -547
- package/dist/chunk-BGNPT5PE.cjs.map +0 -1
- package/dist/chunk-EGPIVUEF.js.map +0 -1
package/dist/canvas/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CANVAS_GRADIENT_PRESETS,
|
|
3
|
+
PATHFINDER_OPERATIONS,
|
|
3
4
|
PathOpsError,
|
|
5
|
+
PlanarMap,
|
|
4
6
|
SHAPE_KINDS,
|
|
5
7
|
angleToSvgLinearCoords,
|
|
6
8
|
arcToCubics,
|
|
@@ -31,6 +33,7 @@ import {
|
|
|
31
33
|
getShapeRenderData,
|
|
32
34
|
getShapeSvg,
|
|
33
35
|
gradientToSvgDef,
|
|
36
|
+
interiorPoint,
|
|
34
37
|
intersectPaths,
|
|
35
38
|
intersectPolygons,
|
|
36
39
|
isCanvasGradient,
|
|
@@ -44,7 +47,10 @@ import {
|
|
|
44
47
|
parseCssGradient,
|
|
45
48
|
parseSvgPath,
|
|
46
49
|
pathBoolean,
|
|
50
|
+
pathBooleanSelect,
|
|
47
51
|
pathToContours,
|
|
52
|
+
pathfinder,
|
|
53
|
+
planarSplit,
|
|
48
54
|
pointInBezierPath,
|
|
49
55
|
pointInMultiPolygon,
|
|
50
56
|
pointInRings,
|
|
@@ -77,7 +83,7 @@ import {
|
|
|
77
83
|
unitePaths,
|
|
78
84
|
windingNumber,
|
|
79
85
|
xorPolygons
|
|
80
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-ZCCU3VNI.js";
|
|
81
87
|
import {
|
|
82
88
|
DEFAULT_NODE_HEIGHT,
|
|
83
89
|
DEFAULT_NODE_WIDTH,
|
|
@@ -8388,7 +8394,9 @@ export {
|
|
|
8388
8394
|
LOCKED_PREVIOUS_FLAGS_KEY,
|
|
8389
8395
|
MAX_KEYFRAME_REFS,
|
|
8390
8396
|
ManualClock,
|
|
8397
|
+
PATHFINDER_OPERATIONS,
|
|
8391
8398
|
PathOpsError,
|
|
8399
|
+
PlanarMap,
|
|
8392
8400
|
RESIZE_HANDLES,
|
|
8393
8401
|
SHAPE_DATA_KEY,
|
|
8394
8402
|
SHAPE_KINDS,
|
|
@@ -8555,6 +8563,7 @@ export {
|
|
|
8555
8563
|
inferResizeHandle,
|
|
8556
8564
|
inspectCanvasInstance,
|
|
8557
8565
|
inspectNodeTokens,
|
|
8566
|
+
interiorPoint,
|
|
8558
8567
|
interpolateAnimationValue,
|
|
8559
8568
|
intersectPaths,
|
|
8560
8569
|
intersectPolygons,
|
|
@@ -8624,8 +8633,11 @@ export {
|
|
|
8624
8633
|
parseVariantName,
|
|
8625
8634
|
pasteKeyframes,
|
|
8626
8635
|
pathBoolean,
|
|
8636
|
+
pathBooleanSelect,
|
|
8627
8637
|
pathToContours,
|
|
8638
|
+
pathfinder,
|
|
8628
8639
|
placeBeside,
|
|
8640
|
+
planarSplit,
|
|
8629
8641
|
playWebAnimations,
|
|
8630
8642
|
pointInBezierPath,
|
|
8631
8643
|
pointInMultiPolygon,
|