@pixerate/editor 0.49.0 → 0.51.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/canvas/index.cjs +151 -25
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +109 -3
- package/dist/canvas/index.d.ts +109 -3
- package/dist/canvas/index.js +127 -1
- package/dist/canvas/index.js.map +1 -1
- package/dist/chart/index.cjs +197 -52
- package/dist/chart/index.cjs.map +1 -1
- package/dist/chart/index.d.cts +88 -3
- package/dist/chart/index.d.ts +88 -3
- package/dist/chart/index.js +151 -6
- package/dist/chart/index.js.map +1 -1
- package/dist/{chunk-3LHWTGHW.js → chunk-TO22LX34.js} +11 -1
- package/dist/chunk-TO22LX34.js.map +1 -0
- package/dist/{chunk-VNYRI265.cjs → chunk-YNSK4MGT.cjs} +12 -2
- package/dist/chunk-YNSK4MGT.cjs.map +1 -0
- package/dist/{controller-DtbEo3om.d.ts → controller-BdKzaxs2.d.ts} +1 -1
- package/dist/{controller-ChjCCMLl.d.cts → controller-DS3drIvy.d.cts} +1 -1
- package/dist/extensions/index.d.cts +2 -2
- package/dist/extensions/index.d.ts +2 -2
- package/dist/image-editor/index.cjs +141 -1
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +42 -1
- package/dist/image-editor/index.d.ts +42 -1
- package/dist/image-editor/index.js +140 -0
- package/dist/image-editor/index.js.map +1 -1
- package/dist/{index-DoHqT1mq.d.cts → index-DOy9HzfC.d.cts} +1 -1
- package/dist/{index-YLZ0fKqE.d.ts → index-Dt9lzydb.d.ts} +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/{pathfinder-D98S2lV5.d.ts → pathfinder-B9xh_pCZ.d.ts} +2 -1
- package/dist/{pathfinder-DKRcXiLS.d.cts → pathfinder-QdG70sr9.d.cts} +2 -1
- package/dist/vector/index.cjs +153 -153
- package/dist/vector/index.d.cts +1 -1
- package/dist/vector/index.d.ts +1 -1
- package/dist/vector/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-3LHWTGHW.js.map +0 -1
- package/dist/chunk-VNYRI265.cjs.map +0 -1
|
@@ -833,7 +833,16 @@ function fitFreehandPath(points, options = {}) {
|
|
|
833
833
|
}
|
|
834
834
|
|
|
835
835
|
// src/canvas/gradient.ts
|
|
836
|
+
var PIXERATE_BRAND_GRADIENT = {
|
|
837
|
+
type: "linear",
|
|
838
|
+
angle: 135,
|
|
839
|
+
stops: [
|
|
840
|
+
{ offset: 0, color: "#8E51FF" },
|
|
841
|
+
{ offset: 1, color: "#e12afb" }
|
|
842
|
+
]
|
|
843
|
+
};
|
|
836
844
|
var CANVAS_GRADIENT_PRESETS = {
|
|
845
|
+
pixerate: PIXERATE_BRAND_GRADIENT,
|
|
837
846
|
sunset: {
|
|
838
847
|
type: "linear",
|
|
839
848
|
angle: 90,
|
|
@@ -4523,6 +4532,7 @@ export {
|
|
|
4523
4532
|
cubicsToPathData,
|
|
4524
4533
|
fitPathData,
|
|
4525
4534
|
fitFreehandPath,
|
|
4535
|
+
PIXERATE_BRAND_GRADIENT,
|
|
4526
4536
|
CANVAS_GRADIENT_PRESETS,
|
|
4527
4537
|
isCanvasGradient,
|
|
4528
4538
|
parseCssGradient,
|
|
@@ -4592,4 +4602,4 @@ export {
|
|
|
4592
4602
|
PATHFINDER_OPERATIONS,
|
|
4593
4603
|
pathfinder
|
|
4594
4604
|
};
|
|
4595
|
-
//# sourceMappingURL=chunk-
|
|
4605
|
+
//# sourceMappingURL=chunk-TO22LX34.js.map
|