@pixerate/editor 0.40.0 → 0.41.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.
@@ -5,8 +5,8 @@ export { ANIMATION_TIME_EPSILON, AnimationKeyframe, AnimationPlayerOptions, Manu
5
5
  import { b as CanvasNodeUpdate, N as NodeRectOptions, A as AlignEdge, c as AlignNodesOptions, D as DistributeAxis, a as DistributeMode, d as DistributeNodesOptions, S as SizeDimension, M as MatchSizeOptions, Z as ZOrderOperation, C as CanvasArrangeAction } from '../arrange-B6GH5Qcc.cjs';
6
6
  export { e as ArrangeShortcutBinding, f as DEFAULT_ARRANGE_SHORTCUTS, L as LOCKED_DATA_KEY, g as LOCKED_PREVIOUS_FLAGS_KEY, h as alignNodes, i as applyNodeUpdates, j as createNodeLookup, k as distributeNodes, l as getAbsolutePosition, m as getNodeRect, n as getNodeSize, o as invertNodeUpdates, p as isLocked, q as lockNodes, r as matchArrangeShortcut, s as matchSize, t as readStyleSize, u as reorderNodes, v as toggleLockNodes, w as unlockNodes, x as withStyleSize } from '../arrange-B6GH5Qcc.cjs';
7
7
  import { C as Command, M as MergedExecutionOptions } from '../types-DsiXGmjo.cjs';
8
- import { b as StrokeJoin, c as StrokeCap, g as ShapeDescription, a as BezierPath, h as PolygonFillRule, i as PolygonRing, j as ShapeSize, B as BezierPathInput, C as CanvasGradientDef } from '../pathfinder-DKRcXiLS.cjs';
9
- export { A as AffineMatrix, k as BezierCommand, l as BezierContour, m as BezierPathToSvgOptions, d as BezierSegment, n as CANVAS_GRADIENT_PRESETS, o as CanvasLinearGradient, p as CanvasRadialGradient, D as DashedPath, q as DividePathsResult, E as EllipseShape, F as FlattenOptions, G as GetShapeRenderDataOptions, r as GradientStop, M as MultiPolygon, O as OffsetPathOptions, s as OutlineStrokeOptions, t as PATHFINDER_OPERATIONS, u as PathBooleanOperation, v as PathBooleanResult, w as PathCommand, x as PathOperand, y as PathOperandInput, z as PathOpsError, H as PathOpsOptions, I as PathOpsReport, J as PathPiece, K as PathPointAtLength, L as PathSelectResult, N as PathShape, e as PathfinderOperation, Q as PathfinderPiece, R as PathfinderResult, f as PathfinderShape, T as PlanarChain, U as PlanarFace, V as PlanarInput, P as PlanarMap, W as PlanarMapOptions, X as PlanarSplitEdge, Y as PlanarSplitResult, Z as PolygonBooleanOperation, _ as PolygonBooleanOptions, $ as PolygonInput, a0 as PolygonOperand, a1 as PolygonPiece, a2 as PolygonToPathOptions, a3 as PolygonWithHoles, a4 as RectShape, a5 as RegularPolygonShape, a6 as SHAPE_KINDS, a7 as SegmentIntersection, a8 as ShapeKind, a9 as ShapePaint, aa as ShapeRenderData, ab as StarShape, S as SvgGradientDef, ac as SvgGradientStop, ad as angleToSvgLinearCoords, ae as arcToCubics, af as bezierPathArea, ag as bezierPathBounds, ah as bezierPathLength, ai as bezierPathPointAtLength, aj as bezierPathSignedArea, ak as bezierPathToSvg, al as closeContour, am as contourEnclosesArea, an as contourSignedArea, ao as contoursToPath, ap as countPathSegments, aq as cutOutPiece, ar as dashContours, as as distanceToBezierPath, at as dividePaths, au as dividePolygons, av as excludePaths, aw as flattenSvgPath, ax as formatNumber, ay as getShapeRenderData, az as getShapeSvg, aA as gradientToSvgDef, aB as interiorPoint, aC as intersectPaths, aD as intersectPolygons, aE as isCanvasGradient, aF as isShapeDescription, aG as multiPolygonArea, aH as multiPolygonBounds, aI as normalizeBezierPath, aJ as offsetPath, aK as outlineStroke, aL as parseCssGradient, aM as parseSvgPath, aN as pathBoolean, aO as pathBooleanSelect, aP as pathToContours, aQ as pathfinder, aR as planarSplit, aS as pointInBezierPath, aT as pointInMultiPolygon, aU as pointInRings, aV as polygonArea, aW as polygonBoolean, aX as polygonToSvgPath, aY as resolveCanvasGradient, aZ as ringSignedArea, a_ as segmentBounds, a$ as segmentCurvature, b0 as segmentDerivative, b1 as segmentExtrema, b2 as segmentIntersections, b3 as segmentLength, b4 as segmentNearest, b5 as segmentParamAtLength, b6 as segmentPoint, b7 as segmentTangent, b8 as shapeToPolygon, b9 as simplifyRing, ba as splitSegment, bb as strokeOutlineRings, bc as subSegment, bd as subtractPaths, be as subtractPolygons, bf as toBezierPath, bg as transformBezierPath, bh as trimSegments, bi as unionPolygons, bj as unitePaths, bk as windingNumber, bl as xorPolygons } from '../pathfinder-DKRcXiLS.cjs';
8
+ import { b as StrokeJoin, c as StrokeCap, g as ShapeDescription, a as BezierPath, h as PolygonFillRule, i as PolygonRing, j as ShapeSize, B as BezierPathInput, C as CanvasGradientDef } from '../pathfinder-BSW2ZTO6.cjs';
9
+ export { A as AffineMatrix, k as BezierCommand, l as BezierContour, m as BezierPathToSvgOptions, d as BezierSegment, n as CANVAS_GRADIENT_PRESETS, o as CanvasLinearGradient, p as CanvasRadialGradient, D as DashedPath, q as DividePathsResult, E as EllipseShape, F as FlattenOptions, r as GetShapeRenderDataOptions, G as GradientStop, M as MultiPolygon, O as OffsetPathOptions, s as OutlineStrokeOptions, t as PATHFINDER_OPERATIONS, u as PathBooleanOperation, v as PathBooleanResult, w as PathCommand, x as PathOperand, y as PathOperandInput, z as PathOpsError, H as PathOpsOptions, I as PathOpsReport, J as PathPiece, K as PathPointAtLength, L as PathSelectResult, N as PathShape, e as PathfinderOperation, Q as PathfinderPiece, R as PathfinderResult, f as PathfinderShape, T as PlanarChain, U as PlanarFace, V as PlanarInput, P as PlanarMap, W as PlanarMapOptions, X as PlanarSplitEdge, Y as PlanarSplitResult, Z as PolygonBooleanOperation, _ as PolygonBooleanOptions, $ as PolygonInput, a0 as PolygonOperand, a1 as PolygonPiece, a2 as PolygonToPathOptions, a3 as PolygonWithHoles, a4 as RectShape, a5 as RegularPolygonShape, a6 as SHAPE_KINDS, a7 as SegmentIntersection, a8 as ShapeKind, a9 as ShapePaint, aa as ShapeRenderData, ab as StarShape, S as SvgGradientDef, ac as SvgGradientStop, ad as angleToSvgLinearCoords, ae as arcToCubics, af as bezierPathArea, ag as bezierPathBounds, ah as bezierPathLength, ai as bezierPathPointAtLength, aj as bezierPathSignedArea, ak as bezierPathToSvg, al as closeContour, am as contourEnclosesArea, an as contourSignedArea, ao as contoursToPath, ap as countPathSegments, aq as cutOutPiece, ar as dashContours, as as distanceToBezierPath, at as dividePaths, au as dividePolygons, av as excludePaths, aw as flattenSvgPath, ax as formatNumber, ay as getShapeRenderData, az as getShapeSvg, aA as gradientToSvgDef, aB as interiorPoint, aC as intersectPaths, aD as intersectPolygons, aE as isCanvasGradient, aF as isShapeDescription, aG as multiPolygonArea, aH as multiPolygonBounds, aI as normalizeBezierPath, aJ as offsetPath, aK as outlineStroke, aL as parseCssGradient, aM as parseSvgPath, aN as pathBoolean, aO as pathBooleanSelect, aP as pathToContours, aQ as pathfinder, aR as planarSplit, aS as pointInBezierPath, aT as pointInMultiPolygon, aU as pointInRings, aV as polygonArea, aW as polygonBoolean, aX as polygonToSvgPath, aY as resolveCanvasGradient, aZ as ringSignedArea, a_ as segmentBounds, a$ as segmentCurvature, b0 as segmentDerivative, b1 as segmentExtrema, b2 as segmentIntersections, b3 as segmentLength, b4 as segmentNearest, b5 as segmentParamAtLength, b6 as segmentPoint, b7 as segmentTangent, b8 as shapeToPolygon, b9 as simplifyRing, ba as splitSegment, bb as strokeOutlineRings, bc as subSegment, bd as subtractPaths, be as subtractPolygons, bf as toBezierPath, bg as transformBezierPath, bh as trimSegments, bi as unionPolygons, bj as unitePaths, bk as windingNumber, bl as xorPolygons } from '../pathfinder-BSW2ZTO6.cjs';
10
10
  import { d as TokenModeContext, r as TokenType, o as TokenScope, f as TokenLiteral, c as TokenVariable, e as TokenResolution, T as TokenState } from '../model-C1zApQM8.cjs';
11
11
  import { A as AnimationEasing } from '../easing-DTmX99QG.cjs';
12
12
  export { a as ANIMATION_EASING_LABELS, b as ANIMATION_EASING_PRESETS, c as AnimationEasingPreset, C as CUBIC_BEZIER_PRESETS, d as CubicBezierEasing, E as ElasticEasing, S as SpringEasing, e as cubicBezierAt, f as easingFromInfluence, g as easingLabel, h as easingToCss, i as elasticAt, j as evaluateEasing, k as isAnimationEasing, p as parseCssEasing, r as resolveEasing, s as springAt } from '../easing-DTmX99QG.cjs';
@@ -5,8 +5,8 @@ export { ANIMATION_TIME_EPSILON, AnimationKeyframe, AnimationPlayerOptions, Manu
5
5
  import { b as CanvasNodeUpdate, N as NodeRectOptions, A as AlignEdge, c as AlignNodesOptions, D as DistributeAxis, a as DistributeMode, d as DistributeNodesOptions, S as SizeDimension, M as MatchSizeOptions, Z as ZOrderOperation, C as CanvasArrangeAction } from '../arrange-BPAXGdMm.js';
6
6
  export { e as ArrangeShortcutBinding, f as DEFAULT_ARRANGE_SHORTCUTS, L as LOCKED_DATA_KEY, g as LOCKED_PREVIOUS_FLAGS_KEY, h as alignNodes, i as applyNodeUpdates, j as createNodeLookup, k as distributeNodes, l as getAbsolutePosition, m as getNodeRect, n as getNodeSize, o as invertNodeUpdates, p as isLocked, q as lockNodes, r as matchArrangeShortcut, s as matchSize, t as readStyleSize, u as reorderNodes, v as toggleLockNodes, w as unlockNodes, x as withStyleSize } from '../arrange-BPAXGdMm.js';
7
7
  import { C as Command, M as MergedExecutionOptions } from '../types-DsiXGmjo.js';
8
- import { b as StrokeJoin, c as StrokeCap, g as ShapeDescription, a as BezierPath, h as PolygonFillRule, i as PolygonRing, j as ShapeSize, B as BezierPathInput, C as CanvasGradientDef } from '../pathfinder-D98S2lV5.js';
9
- export { A as AffineMatrix, k as BezierCommand, l as BezierContour, m as BezierPathToSvgOptions, d as BezierSegment, n as CANVAS_GRADIENT_PRESETS, o as CanvasLinearGradient, p as CanvasRadialGradient, D as DashedPath, q as DividePathsResult, E as EllipseShape, F as FlattenOptions, G as GetShapeRenderDataOptions, r as GradientStop, M as MultiPolygon, O as OffsetPathOptions, s as OutlineStrokeOptions, t as PATHFINDER_OPERATIONS, u as PathBooleanOperation, v as PathBooleanResult, w as PathCommand, x as PathOperand, y as PathOperandInput, z as PathOpsError, H as PathOpsOptions, I as PathOpsReport, J as PathPiece, K as PathPointAtLength, L as PathSelectResult, N as PathShape, e as PathfinderOperation, Q as PathfinderPiece, R as PathfinderResult, f as PathfinderShape, T as PlanarChain, U as PlanarFace, V as PlanarInput, P as PlanarMap, W as PlanarMapOptions, X as PlanarSplitEdge, Y as PlanarSplitResult, Z as PolygonBooleanOperation, _ as PolygonBooleanOptions, $ as PolygonInput, a0 as PolygonOperand, a1 as PolygonPiece, a2 as PolygonToPathOptions, a3 as PolygonWithHoles, a4 as RectShape, a5 as RegularPolygonShape, a6 as SHAPE_KINDS, a7 as SegmentIntersection, a8 as ShapeKind, a9 as ShapePaint, aa as ShapeRenderData, ab as StarShape, S as SvgGradientDef, ac as SvgGradientStop, ad as angleToSvgLinearCoords, ae as arcToCubics, af as bezierPathArea, ag as bezierPathBounds, ah as bezierPathLength, ai as bezierPathPointAtLength, aj as bezierPathSignedArea, ak as bezierPathToSvg, al as closeContour, am as contourEnclosesArea, an as contourSignedArea, ao as contoursToPath, ap as countPathSegments, aq as cutOutPiece, ar as dashContours, as as distanceToBezierPath, at as dividePaths, au as dividePolygons, av as excludePaths, aw as flattenSvgPath, ax as formatNumber, ay as getShapeRenderData, az as getShapeSvg, aA as gradientToSvgDef, aB as interiorPoint, aC as intersectPaths, aD as intersectPolygons, aE as isCanvasGradient, aF as isShapeDescription, aG as multiPolygonArea, aH as multiPolygonBounds, aI as normalizeBezierPath, aJ as offsetPath, aK as outlineStroke, aL as parseCssGradient, aM as parseSvgPath, aN as pathBoolean, aO as pathBooleanSelect, aP as pathToContours, aQ as pathfinder, aR as planarSplit, aS as pointInBezierPath, aT as pointInMultiPolygon, aU as pointInRings, aV as polygonArea, aW as polygonBoolean, aX as polygonToSvgPath, aY as resolveCanvasGradient, aZ as ringSignedArea, a_ as segmentBounds, a$ as segmentCurvature, b0 as segmentDerivative, b1 as segmentExtrema, b2 as segmentIntersections, b3 as segmentLength, b4 as segmentNearest, b5 as segmentParamAtLength, b6 as segmentPoint, b7 as segmentTangent, b8 as shapeToPolygon, b9 as simplifyRing, ba as splitSegment, bb as strokeOutlineRings, bc as subSegment, bd as subtractPaths, be as subtractPolygons, bf as toBezierPath, bg as transformBezierPath, bh as trimSegments, bi as unionPolygons, bj as unitePaths, bk as windingNumber, bl as xorPolygons } from '../pathfinder-D98S2lV5.js';
8
+ import { b as StrokeJoin, c as StrokeCap, g as ShapeDescription, a as BezierPath, h as PolygonFillRule, i as PolygonRing, j as ShapeSize, B as BezierPathInput, C as CanvasGradientDef } from '../pathfinder-D7hXenzu.js';
9
+ export { A as AffineMatrix, k as BezierCommand, l as BezierContour, m as BezierPathToSvgOptions, d as BezierSegment, n as CANVAS_GRADIENT_PRESETS, o as CanvasLinearGradient, p as CanvasRadialGradient, D as DashedPath, q as DividePathsResult, E as EllipseShape, F as FlattenOptions, r as GetShapeRenderDataOptions, G as GradientStop, M as MultiPolygon, O as OffsetPathOptions, s as OutlineStrokeOptions, t as PATHFINDER_OPERATIONS, u as PathBooleanOperation, v as PathBooleanResult, w as PathCommand, x as PathOperand, y as PathOperandInput, z as PathOpsError, H as PathOpsOptions, I as PathOpsReport, J as PathPiece, K as PathPointAtLength, L as PathSelectResult, N as PathShape, e as PathfinderOperation, Q as PathfinderPiece, R as PathfinderResult, f as PathfinderShape, T as PlanarChain, U as PlanarFace, V as PlanarInput, P as PlanarMap, W as PlanarMapOptions, X as PlanarSplitEdge, Y as PlanarSplitResult, Z as PolygonBooleanOperation, _ as PolygonBooleanOptions, $ as PolygonInput, a0 as PolygonOperand, a1 as PolygonPiece, a2 as PolygonToPathOptions, a3 as PolygonWithHoles, a4 as RectShape, a5 as RegularPolygonShape, a6 as SHAPE_KINDS, a7 as SegmentIntersection, a8 as ShapeKind, a9 as ShapePaint, aa as ShapeRenderData, ab as StarShape, S as SvgGradientDef, ac as SvgGradientStop, ad as angleToSvgLinearCoords, ae as arcToCubics, af as bezierPathArea, ag as bezierPathBounds, ah as bezierPathLength, ai as bezierPathPointAtLength, aj as bezierPathSignedArea, ak as bezierPathToSvg, al as closeContour, am as contourEnclosesArea, an as contourSignedArea, ao as contoursToPath, ap as countPathSegments, aq as cutOutPiece, ar as dashContours, as as distanceToBezierPath, at as dividePaths, au as dividePolygons, av as excludePaths, aw as flattenSvgPath, ax as formatNumber, ay as getShapeRenderData, az as getShapeSvg, aA as gradientToSvgDef, aB as interiorPoint, aC as intersectPaths, aD as intersectPolygons, aE as isCanvasGradient, aF as isShapeDescription, aG as multiPolygonArea, aH as multiPolygonBounds, aI as normalizeBezierPath, aJ as offsetPath, aK as outlineStroke, aL as parseCssGradient, aM as parseSvgPath, aN as pathBoolean, aO as pathBooleanSelect, aP as pathToContours, aQ as pathfinder, aR as planarSplit, aS as pointInBezierPath, aT as pointInMultiPolygon, aU as pointInRings, aV as polygonArea, aW as polygonBoolean, aX as polygonToSvgPath, aY as resolveCanvasGradient, aZ as ringSignedArea, a_ as segmentBounds, a$ as segmentCurvature, b0 as segmentDerivative, b1 as segmentExtrema, b2 as segmentIntersections, b3 as segmentLength, b4 as segmentNearest, b5 as segmentParamAtLength, b6 as segmentPoint, b7 as segmentTangent, b8 as shapeToPolygon, b9 as simplifyRing, ba as splitSegment, bb as strokeOutlineRings, bc as subSegment, bd as subtractPaths, be as subtractPolygons, bf as toBezierPath, bg as transformBezierPath, bh as trimSegments, bi as unionPolygons, bj as unitePaths, bk as windingNumber, bl as xorPolygons } from '../pathfinder-D7hXenzu.js';
10
10
  import { d as TokenModeContext, r as TokenType, o as TokenScope, f as TokenLiteral, c as TokenVariable, e as TokenResolution, T as TokenState } from '../model-C1zApQM8.js';
11
11
  import { A as AnimationEasing } from '../easing-DTmX99QG.js';
12
12
  export { a as ANIMATION_EASING_LABELS, b as ANIMATION_EASING_PRESETS, c as AnimationEasingPreset, C as CUBIC_BEZIER_PRESETS, d as CubicBezierEasing, E as ElasticEasing, S as SpringEasing, e as cubicBezierAt, f as easingFromInfluence, g as easingLabel, h as easingToCss, i as elasticAt, j as evaluateEasing, k as isAnimationEasing, p as parseCssEasing, r as resolveEasing, s as springAt } from '../easing-DTmX99QG.js';
@@ -119,18 +119,20 @@ import {
119
119
  ManualClock,
120
120
  createAnimationPlayer,
121
121
  evaluateTrack,
122
- formatOklab,
123
122
  interpolateAnimationValue,
124
123
  isAnimationKeyframe,
125
- mixColorsOklab,
126
124
  normalizeKeyframes,
127
- oklabToRgb,
128
125
  pageHidden,
129
- parseOklab,
130
126
  realClock,
131
- rgbToOklab,
132
127
  wrapAnimationTime
133
- } from "../chunk-W7BOBWZD.js";
128
+ } from "../chunk-SHOVAHUB.js";
129
+ import {
130
+ formatOklab,
131
+ mixColorsOklab,
132
+ oklabToRgb,
133
+ parseOklab,
134
+ rgbToOklab
135
+ } from "../chunk-ZRJMJIQU.js";
134
136
  import {
135
137
  ANIMATION_EASING_LABELS,
136
138
  ANIMATION_EASING_PRESETS,