@pixerate/editor 0.207.0 → 0.208.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/dist/animation-editor/index.cjs +60 -59
- package/dist/animation-editor/index.js +6 -5
- package/dist/{brushstrokeRender-7LXCU7PD.js → brushstrokeRender-C3UU6GVC.js} +5 -4
- package/dist/{brushstrokeRender-VO4ZTWVA.cjs → brushstrokeRender-EAJNE6WP.cjs} +12 -11
- package/dist/canvas/index.cjs +8 -8
- package/dist/canvas/index.js +1 -1
- package/dist/{chunk-2N2QPO3H.js → chunk-2PBZBRP5.js} +9 -7
- package/dist/{chunk-7NW46N7I.cjs → chunk-3EHPLDFQ.cjs} +54 -52
- package/dist/{chunk-H367YTXI.js → chunk-42TWUPNJ.js} +13 -387
- package/dist/chunk-474IQG74.cjs +384 -0
- package/dist/{chunk-MLC7HUHO.js → chunk-BGOCAUXH.js} +1 -1
- package/dist/chunk-DWYQPL2A.js +2010 -0
- package/dist/{chunk-YXKLVD56.js → chunk-F7YA3MMC.js} +2 -2
- package/dist/{chunk-ZZGPYNS2.js → chunk-G4E6RUPC.js} +1 -1
- package/dist/chunk-HVVR5PZW.js +384 -0
- package/dist/{chunk-FR2Q2LVF.cjs → chunk-I7G3RSUJ.cjs} +35 -35
- package/dist/chunk-K6PXS6DO.cjs +102 -0
- package/dist/{chunk-ZIDUPSP4.js → chunk-KFIOEOCQ.js} +24 -761
- package/dist/{chunk-V7GWZIZK.cjs → chunk-KWNMBMKG.cjs} +23 -21
- package/dist/chunk-L3G23N5Y.js +763 -0
- package/dist/{chunk-GHCXLQ47.js → chunk-NDMXB4PR.js} +2 -2
- package/dist/{chunk-CWM3CUUX.cjs → chunk-OLNIPTB3.cjs} +39 -413
- package/dist/{chunk-EBDCRTZI.cjs → chunk-PQ3H2AAN.cjs} +92 -90
- package/dist/{chunk-BRKVNXDZ.cjs → chunk-QAUIZPYI.cjs} +7 -7
- package/dist/{chunk-UYXL6ZWQ.cjs → chunk-QE7D7TZR.cjs} +494 -1231
- package/dist/chunk-QYLWG22N.cjs +763 -0
- package/dist/{chunk-YQ5C5BVK.cjs → chunk-ROVK6AXX.cjs} +60 -60
- package/dist/{chunk-HGTDMKNE.cjs → chunk-UOGKSVRQ.cjs} +126 -221
- package/dist/{chunk-EL5PAHNP.js → chunk-USQCKRZG.js} +6 -4
- package/dist/{chunk-36OKQDCF.js → chunk-WJ2RBZMM.js} +5 -3
- package/dist/chunk-X4LUGTQX.cjs +2010 -0
- package/dist/{chunk-NQMP3CWF.js → chunk-YBJXCQTR.js} +15 -110
- package/dist/chunk-ZIF4UJJ6.js +102 -0
- package/dist/{chunk-WTW7QRTS.cjs → chunk-ZMHPQ6HP.cjs} +1 -1
- package/dist/image-editor/controller.d.cts +28 -3
- package/dist/image-editor/controller.d.ts +28 -3
- package/dist/image-editor/index.cjs +1726 -3359
- package/dist/image-editor/index.js +241 -1874
- package/dist/image-editor/selection/index.d.cts +1 -0
- package/dist/image-editor/selection/index.d.ts +1 -0
- package/dist/image-editor/selection/segment/focus.d.cts +2 -0
- package/dist/image-editor/selection/segment/focus.d.ts +2 -0
- package/dist/image-editor/selection/segment/grabcut.d.cts +4 -2
- package/dist/image-editor/selection/segment/grabcut.d.ts +4 -2
- package/dist/image-editor/selection/segment/sky.d.cts +2 -0
- package/dist/image-editor/selection/segment/sky.d.ts +2 -0
- package/dist/image-editor/selection/segment/subject.d.cts +2 -1
- package/dist/image-editor/selection/segment/subject.d.ts +2 -1
- package/dist/image-editor/selection/segment/work.d.cts +5 -0
- package/dist/image-editor/selection/segment/work.d.ts +5 -0
- package/dist/image-editor/selection/select-and-mask.d.cts +12 -2
- package/dist/image-editor/selection/select-and-mask.d.ts +12 -2
- package/dist/image-editor/selection/worker.d.cts +126 -0
- package/dist/image-editor/selection/worker.d.ts +126 -0
- package/dist/image-editor/selection-worker.cjs +14 -0
- package/dist/image-editor/selection-worker.d.cts +12 -0
- package/dist/image-editor/selection-worker.d.ts +12 -0
- package/dist/image-editor/selection-worker.js +14 -0
- package/dist/image-editor/types.d.cts +8 -0
- package/dist/image-editor/types.d.ts +8 -0
- package/dist/paint/index.cjs +6 -5
- package/dist/paint/index.js +5 -4
- package/dist/paint-editor/index.cjs +394 -390
- package/dist/paint-editor/index.js +18 -14
- package/dist/raster/index.cjs +22 -18
- package/dist/raster/index.js +29 -25
- package/dist/vector/index.cjs +986 -985
- package/dist/vector/index.js +6 -5
- package/package.json +11 -1
package/dist/vector/index.js
CHANGED
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
reverseMorphContour,
|
|
44
44
|
subpathToMorphContour,
|
|
45
45
|
turnMorphContour
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-BGOCAUXH.js";
|
|
47
47
|
import {
|
|
48
48
|
DEFAULT_VECTOR_FONT,
|
|
49
49
|
IDENTITY_MATRIX,
|
|
@@ -516,8 +516,8 @@ import {
|
|
|
516
516
|
withVectorStrokes,
|
|
517
517
|
withVectorTargetPaint,
|
|
518
518
|
zigzagPaths
|
|
519
|
-
} from "../chunk-
|
|
520
|
-
import "../chunk-
|
|
519
|
+
} from "../chunk-NDMXB4PR.js";
|
|
520
|
+
import "../chunk-F7YA3MMC.js";
|
|
521
521
|
import {
|
|
522
522
|
createProvenance
|
|
523
523
|
} from "../chunk-M6DNZNVY.js";
|
|
@@ -553,14 +553,15 @@ import {
|
|
|
553
553
|
import "../chunk-V2ZCJRDM.js";
|
|
554
554
|
import {
|
|
555
555
|
GRAIN_PATTERNS
|
|
556
|
-
} from "../chunk-
|
|
556
|
+
} from "../chunk-2PBZBRP5.js";
|
|
557
557
|
import "../chunk-ODBT55Q7.js";
|
|
558
558
|
import {
|
|
559
559
|
bytesToBase64,
|
|
560
560
|
decodePng,
|
|
561
561
|
isPng,
|
|
562
562
|
parseDataUrl
|
|
563
|
-
} from "../chunk-
|
|
563
|
+
} from "../chunk-42TWUPNJ.js";
|
|
564
|
+
import "../chunk-HVVR5PZW.js";
|
|
564
565
|
import {
|
|
565
566
|
deflate
|
|
566
567
|
} from "../chunk-QGHEDC7B.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixerate/editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.208.0",
|
|
4
4
|
"description": "UI-agnostic rich text and media editing core library",
|
|
5
5
|
"author": "Pixerate",
|
|
6
6
|
"license": "MIT",
|
|
@@ -174,6 +174,16 @@
|
|
|
174
174
|
"default": "./dist/image-editor/index.cjs"
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
|
+
"./image-editor/selection-worker": {
|
|
178
|
+
"import": {
|
|
179
|
+
"types": "./dist/image-editor/selection-worker.d.ts",
|
|
180
|
+
"default": "./dist/image-editor/selection-worker.js"
|
|
181
|
+
},
|
|
182
|
+
"require": {
|
|
183
|
+
"types": "./dist/image-editor/selection-worker.d.cts",
|
|
184
|
+
"default": "./dist/image-editor/selection-worker.cjs"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
177
187
|
"./paint-editor": {
|
|
178
188
|
"import": {
|
|
179
189
|
"types": "./dist/paint-editor/index.d.ts",
|