@pixodesk/svg-animator-core 1.0.43 → 1.0.45

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/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { P as PxAnimatedSvgDocument, a as PxEngineCallbacks, b as PxAnimatorApi, c as PxAnimatorConfig, d as PxStartOn, e as PxNode } from './PxDocumentDiagnostic-DkBZYJ7X.cjs';
2
- export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BASELINE_VERSION, i as PX_WIRE_STEPS, j as PX_WIRE_VERSION, k as PX_WIRE_VERSION_KEY, l as PxAlongPathMode, m as PxAnimatedSvgDocumentSchema, n as PxAnimationDefinition, o as PxAnimatorCallbacks, p as PxAnimatorConfigSchema, q as PxAnimatorHandle, r as PxAttrValueSchema, s as PxBezierPath, t as PxBezierPathSchema, u as PxBinding, v as PxClipPathEffectSchema, w as PxCloneEffectSchema, x as PxCloneWithout, y as PxControlMode, z as PxControlProps, A as PxDefinitions, B as PxDefinitionsSchema, C as PxDiagnostic, D as PxDiagnosticCode, E as PxDiagnosticKind, F as PxDiagnostics, G as PxDiagnosticsConfig, H as PxEffects, I as PxEffectsSchema, J as PxElementAnimation, K as PxElementAnimationSchema, L as PxFillGradientEffectSchema, M as PxFillMode, N as PxFinishAction, O as PxGlyph, Q as PxGlyphFont, R as PxGradientSpreadMethod, S as PxGradientStopSchema, T as PxGradientType, U as PxInfer, V as PxKeyframe, W as PxKeyframeSchema, X as PxKeyframeValueSchema, Y as PxLengthAdjust, Z as PxLoop, _ as PxLoopDirection, $ as PxLoopRepeatAt, a0 as PxLoopSchema, a1 as PxMaskType, a2 as PxMaskedByEffectSchema, a3 as PxNodeBaseSchema, a4 as PxNodeSchema, a5 as PxOutAction, a6 as PxPathOverflow, a7 as PxPinAlign, a8 as PxPlaybackApi, a9 as PxPlaybackDirection, aa as PxPropertyAnimation, ab as PxPropertyAnimationSchema, ac as PxRemoveIndex, ad as PxRepeaterEffectSchema, ae as PxRetimeEffectSchema, af as PxSchema, ag as PxSchemaDesc, ah as PxScroll, ai as PxScrollAxis, aj as PxScrollKind, ak as PxScrollPhase, al as PxScrollRangePoint, am as PxScrollRangePointSchema, an as PxScrollRangeSchema, ao as PxScrollSchema, ap as PxScrollSource, aq as PxStrokeTrimEffectSchema, ar as PxStrokeTrimSubPaths, as as PxSvgNode, at as PxSvgNodeRootSchema, au as PxTextEffectSchema, av as PxTextPathEffectSchema, aw as PxTextPathMethod, ax as PxTextPathSpacing, ay as PxTimeline, az as PxTimelineEngine, aA as PxTimelineEngineSetting, aB as PxTimelineSchema, aC as PxTransformByEffectSchema, aD as PxTransformParts, aE as PxTransformPartsSchema, aF as PxTransformValue, aG as PxTransformValueSchema, aH as PxTrigger, aI as PxTriggerSchema, aJ as PxUnits, aK as PxValidationContext, aL as PxVec2, aM as PxWireConversionOptions, aN as PxWireConversionResult, aO as PxWireStepKind, aP as PxWireVersion, aQ as PxWireVersionRelation, aR as PxWireVersionStep, aS as applyWireSteps, aT as calcAnimationValues, aU as compareWireVersion, aV as controlModeTakesOverTrigger, aW as convertWireDocument, aX as describeSchema, aY as diagnoseDocument, aZ as downgradeWireDocument, a_ as flattenAnimatorTimeline, a$ as formatWireVersion, b0 as generateNewIds, b1 as getAnimatorConfig, b2 as getBindings, b3 as getChildren, b4 as getDefinitions, b5 as isNativeForced, b6 as isPxDocument, b7 as isValidPxDocument, b8 as materializeAllInTree, b9 as mayUseNativeScrollTimeline, ba as nestAnimatorTimeline, bb as normalizeBindings, bc as parseWireVersion, bd as px, be as readWireVersion, bf as resolveControlMode, bg as resolveTimelineEngine, bh as resolveTrigger, bi as schemaKeys, bj as toDomProps, bk as validateDocument, bl as validateNodeEffects, bm as wireVersionAdvice } from './PxDocumentDiagnostic-DkBZYJ7X.cjs';
1
+ import { P as PxAnimatedSvgDocument, a as PxEngineCallbacks, b as PxAnimatorApi, c as PxAnimatorConfig, d as PxTriggerStart, e as PxNode } from './PxDocumentDiagnostic-CBhVyNEi.cjs';
2
+ export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BASELINE_VERSION, i as PX_WIRE_STEPS, j as PX_WIRE_VERSION, k as PX_WIRE_VERSION_KEY, l as PxAlongPathMode, m as PxAnimatedSvgDocumentSchema, n as PxAnimationDefinition, o as PxAnimatorCallbacks, p as PxAnimatorConfigSchema, q as PxAnimatorHandle, r as PxAttrValueSchema, s as PxBezierPath, t as PxBezierPathSchema, u as PxBinding, v as PxClipPathEffectSchema, w as PxCloneEffectSchema, x as PxCloneWithout, y as PxControlMode, z as PxControlProps, A as PxDefinitions, B as PxDefinitionsSchema, C as PxDiagnostic, D as PxDiagnosticCode, E as PxDiagnosticKind, F as PxDiagnostics, G as PxDiagnosticsConfig, H as PxEffects, I as PxEffectsSchema, J as PxElementAnimation, K as PxElementAnimationSchema, L as PxFillGradientEffectSchema, M as PxFillMode, N as PxFinishAction, O as PxGlyph, Q as PxGlyphFont, R as PxGradientSpreadMethod, S as PxGradientStopSchema, T as PxGradientType, U as PxInfer, V as PxKeyframe, W as PxKeyframeSchema, X as PxKeyframeValueSchema, Y as PxLengthAdjust, Z as PxLoop, _ as PxLoopDirection, $ as PxLoopRepeatAt, a0 as PxLoopSchema, a1 as PxMaskType, a2 as PxMaskedByEffectSchema, a3 as PxMouseOutAction, a4 as PxNodeBaseSchema, a5 as PxNodeSchema, a6 as PxOffScreenAction, a7 as PxPathOverflow, a8 as PxPinAlign, a9 as PxPlaybackApi, aa as PxPlaybackDirection, ab as PxPropertyAnimation, ac as PxPropertyAnimationSchema, ad as PxRemoveIndex, ae as PxRepeaterEffectSchema, af as PxRetimeEffectSchema, ag as PxSchema, ah as PxSchemaDesc, ai as PxScroll, aj as PxScrollAxis, ak as PxScrollKind, al as PxScrollPhase, am as PxScrollRangePoint, an as PxScrollRangePointSchema, ao as PxScrollRangeSchema, ap as PxScrollSchema, aq as PxScrollSource, ar as PxStrokeTrimEffectSchema, as as PxStrokeTrimSubPaths, at as PxSvgNode, au as PxSvgNodeRootSchema, av as PxTextEffectSchema, aw as PxTextPathEffectSchema, ax as PxTextPathMethod, ay as PxTextPathSpacing, az as PxTimeline, aA as PxTimelineEngine, aB as PxTimelineEngineSetting, aC as PxTimelineSchema, aD as PxTransformByEffectSchema, aE as PxTransformParts, aF as PxTransformPartsSchema, aG as PxTransformValue, aH as PxTransformValueSchema, aI as PxTrigger, aJ as PxTriggerSchema, aK as PxUnits, aL as PxValidationContext, aM as PxVec2, aN as PxWireConversionOptions, aO as PxWireConversionResult, aP as PxWireStepKind, aQ as PxWireVersion, aR as PxWireVersionRelation, aS as PxWireVersionStep, aT as applyWireSteps, aU as calcAnimationValues, aV as compareWireVersion, aW as controlModeTakesOverTrigger, aX as convertWireDocument, aY as describeSchema, aZ as diagnoseDocument, a_ as downgradeWireDocument, a$ as flattenAnimatorTimeline, b0 as formatWireVersion, b1 as generateNewIds, b2 as getAnimatorConfig, b3 as getBindings, b4 as getChildren, b5 as getDefinitions, b6 as isNativeForced, b7 as isPxDocument, b8 as isValidPxDocument, b9 as materializeAllInTree, ba as mayUseNativeScrollTimeline, bb as nestAnimatorTimeline, bc as normalizeBindings, bd as parseWireVersion, be as px, bf as readWireVersion, bg as resolveControlMode, bh as resolveTimelineEngine, bi as resolveTrigger, bj as schemaKeys, bk as toDomProps, bl as validateDocument, bm as validateNodeEffects, bn as wireVersionAdvice } from './PxDocumentDiagnostic-CBhVyNEi.cjs';
3
3
 
4
4
  /**
5
5
  * THE PLAYER'S WIRE SCHEMA VERSION — the `a.b` of `svgRoot.animator.version`.
@@ -15,7 +15,7 @@ export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BAS
15
15
  * and every format change invisible between releases.
16
16
  * @public @advanced
17
17
  */
18
- declare const PX_WIRE_SCHEMA_VERSION = "1.1";
18
+ declare const PX_WIRE_SCHEMA_VERSION = "1.2";
19
19
 
20
20
  /**
21
21
  * Platform adapter interface for abstracting platform-specific operations.
@@ -134,10 +134,10 @@ interface PxTimelineShortcuts {
134
134
  /** Shortcut for `timeline.iterations`; `'infinite'` never stops. */
135
135
  iterations?: number | 'infinite';
136
136
  /**
137
- * Shortcut for `timeline.trigger.startOn`. Typed from the WIRE, so it includes
138
- * `'programmatic'` — "nothing starts this but a `play()` call".
137
+ * Shortcut for `timeline.trigger.start`. Typed from the WIRE, so it includes
138
+ * `'none'` — "nothing starts this but a `play()` call".
139
139
  */
140
- startOn?: PxStartOn;
140
+ start?: PxTriggerStart;
141
141
  }
142
142
  /**
143
143
  * The playback-override props every surface takes — `createAnimator` and the three components:
@@ -235,4 +235,4 @@ interface ApplyResult {
235
235
  */
236
236
  declare function materializeNodeEffects(root: PxNode): ApplyResult;
237
237
 
238
- export { PX_RATE_REJECTED, PX_WIRE_SCHEMA_VERSION, PxAnimatedSvgDocument, PxAnimatorApi, PxAnimatorConfig, type PxAnimatorConfigMergeResult, type PxAnimatorConfigPatch, PxEngineCallbacks, PxNode, type PxPlatformAdapter, type PxPlaybackOverride, PxStartOn, type PxTimelinePatch, type PxTimelineShortcuts, applyAnimatorConfig, clampSeekMs, createAdapterAnimator, createRunClock, foldTimelineOverride, isValidPlaybackRate, materializeNodeEffects, mergeAnimatorConfig, progressSpanMs, progressToTimeMs, seekCeilingMs, timeToProgress };
238
+ export { PX_RATE_REJECTED, PX_WIRE_SCHEMA_VERSION, PxAnimatedSvgDocument, PxAnimatorApi, PxAnimatorConfig, type PxAnimatorConfigMergeResult, type PxAnimatorConfigPatch, PxEngineCallbacks, PxNode, type PxPlatformAdapter, type PxPlaybackOverride, type PxTimelinePatch, type PxTimelineShortcuts, PxTriggerStart, applyAnimatorConfig, clampSeekMs, createAdapterAnimator, createRunClock, foldTimelineOverride, isValidPlaybackRate, materializeNodeEffects, mergeAnimatorConfig, progressSpanMs, progressToTimeMs, seekCeilingMs, timeToProgress };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { P as PxAnimatedSvgDocument, a as PxEngineCallbacks, b as PxAnimatorApi, c as PxAnimatorConfig, d as PxStartOn, e as PxNode } from './PxDocumentDiagnostic-DkBZYJ7X.js';
2
- export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BASELINE_VERSION, i as PX_WIRE_STEPS, j as PX_WIRE_VERSION, k as PX_WIRE_VERSION_KEY, l as PxAlongPathMode, m as PxAnimatedSvgDocumentSchema, n as PxAnimationDefinition, o as PxAnimatorCallbacks, p as PxAnimatorConfigSchema, q as PxAnimatorHandle, r as PxAttrValueSchema, s as PxBezierPath, t as PxBezierPathSchema, u as PxBinding, v as PxClipPathEffectSchema, w as PxCloneEffectSchema, x as PxCloneWithout, y as PxControlMode, z as PxControlProps, A as PxDefinitions, B as PxDefinitionsSchema, C as PxDiagnostic, D as PxDiagnosticCode, E as PxDiagnosticKind, F as PxDiagnostics, G as PxDiagnosticsConfig, H as PxEffects, I as PxEffectsSchema, J as PxElementAnimation, K as PxElementAnimationSchema, L as PxFillGradientEffectSchema, M as PxFillMode, N as PxFinishAction, O as PxGlyph, Q as PxGlyphFont, R as PxGradientSpreadMethod, S as PxGradientStopSchema, T as PxGradientType, U as PxInfer, V as PxKeyframe, W as PxKeyframeSchema, X as PxKeyframeValueSchema, Y as PxLengthAdjust, Z as PxLoop, _ as PxLoopDirection, $ as PxLoopRepeatAt, a0 as PxLoopSchema, a1 as PxMaskType, a2 as PxMaskedByEffectSchema, a3 as PxNodeBaseSchema, a4 as PxNodeSchema, a5 as PxOutAction, a6 as PxPathOverflow, a7 as PxPinAlign, a8 as PxPlaybackApi, a9 as PxPlaybackDirection, aa as PxPropertyAnimation, ab as PxPropertyAnimationSchema, ac as PxRemoveIndex, ad as PxRepeaterEffectSchema, ae as PxRetimeEffectSchema, af as PxSchema, ag as PxSchemaDesc, ah as PxScroll, ai as PxScrollAxis, aj as PxScrollKind, ak as PxScrollPhase, al as PxScrollRangePoint, am as PxScrollRangePointSchema, an as PxScrollRangeSchema, ao as PxScrollSchema, ap as PxScrollSource, aq as PxStrokeTrimEffectSchema, ar as PxStrokeTrimSubPaths, as as PxSvgNode, at as PxSvgNodeRootSchema, au as PxTextEffectSchema, av as PxTextPathEffectSchema, aw as PxTextPathMethod, ax as PxTextPathSpacing, ay as PxTimeline, az as PxTimelineEngine, aA as PxTimelineEngineSetting, aB as PxTimelineSchema, aC as PxTransformByEffectSchema, aD as PxTransformParts, aE as PxTransformPartsSchema, aF as PxTransformValue, aG as PxTransformValueSchema, aH as PxTrigger, aI as PxTriggerSchema, aJ as PxUnits, aK as PxValidationContext, aL as PxVec2, aM as PxWireConversionOptions, aN as PxWireConversionResult, aO as PxWireStepKind, aP as PxWireVersion, aQ as PxWireVersionRelation, aR as PxWireVersionStep, aS as applyWireSteps, aT as calcAnimationValues, aU as compareWireVersion, aV as controlModeTakesOverTrigger, aW as convertWireDocument, aX as describeSchema, aY as diagnoseDocument, aZ as downgradeWireDocument, a_ as flattenAnimatorTimeline, a$ as formatWireVersion, b0 as generateNewIds, b1 as getAnimatorConfig, b2 as getBindings, b3 as getChildren, b4 as getDefinitions, b5 as isNativeForced, b6 as isPxDocument, b7 as isValidPxDocument, b8 as materializeAllInTree, b9 as mayUseNativeScrollTimeline, ba as nestAnimatorTimeline, bb as normalizeBindings, bc as parseWireVersion, bd as px, be as readWireVersion, bf as resolveControlMode, bg as resolveTimelineEngine, bh as resolveTrigger, bi as schemaKeys, bj as toDomProps, bk as validateDocument, bl as validateNodeEffects, bm as wireVersionAdvice } from './PxDocumentDiagnostic-DkBZYJ7X.js';
1
+ import { P as PxAnimatedSvgDocument, a as PxEngineCallbacks, b as PxAnimatorApi, c as PxAnimatorConfig, d as PxTriggerStart, e as PxNode } from './PxDocumentDiagnostic-CBhVyNEi.js';
2
+ export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BASELINE_VERSION, i as PX_WIRE_STEPS, j as PX_WIRE_VERSION, k as PX_WIRE_VERSION_KEY, l as PxAlongPathMode, m as PxAnimatedSvgDocumentSchema, n as PxAnimationDefinition, o as PxAnimatorCallbacks, p as PxAnimatorConfigSchema, q as PxAnimatorHandle, r as PxAttrValueSchema, s as PxBezierPath, t as PxBezierPathSchema, u as PxBinding, v as PxClipPathEffectSchema, w as PxCloneEffectSchema, x as PxCloneWithout, y as PxControlMode, z as PxControlProps, A as PxDefinitions, B as PxDefinitionsSchema, C as PxDiagnostic, D as PxDiagnosticCode, E as PxDiagnosticKind, F as PxDiagnostics, G as PxDiagnosticsConfig, H as PxEffects, I as PxEffectsSchema, J as PxElementAnimation, K as PxElementAnimationSchema, L as PxFillGradientEffectSchema, M as PxFillMode, N as PxFinishAction, O as PxGlyph, Q as PxGlyphFont, R as PxGradientSpreadMethod, S as PxGradientStopSchema, T as PxGradientType, U as PxInfer, V as PxKeyframe, W as PxKeyframeSchema, X as PxKeyframeValueSchema, Y as PxLengthAdjust, Z as PxLoop, _ as PxLoopDirection, $ as PxLoopRepeatAt, a0 as PxLoopSchema, a1 as PxMaskType, a2 as PxMaskedByEffectSchema, a3 as PxMouseOutAction, a4 as PxNodeBaseSchema, a5 as PxNodeSchema, a6 as PxOffScreenAction, a7 as PxPathOverflow, a8 as PxPinAlign, a9 as PxPlaybackApi, aa as PxPlaybackDirection, ab as PxPropertyAnimation, ac as PxPropertyAnimationSchema, ad as PxRemoveIndex, ae as PxRepeaterEffectSchema, af as PxRetimeEffectSchema, ag as PxSchema, ah as PxSchemaDesc, ai as PxScroll, aj as PxScrollAxis, ak as PxScrollKind, al as PxScrollPhase, am as PxScrollRangePoint, an as PxScrollRangePointSchema, ao as PxScrollRangeSchema, ap as PxScrollSchema, aq as PxScrollSource, ar as PxStrokeTrimEffectSchema, as as PxStrokeTrimSubPaths, at as PxSvgNode, au as PxSvgNodeRootSchema, av as PxTextEffectSchema, aw as PxTextPathEffectSchema, ax as PxTextPathMethod, ay as PxTextPathSpacing, az as PxTimeline, aA as PxTimelineEngine, aB as PxTimelineEngineSetting, aC as PxTimelineSchema, aD as PxTransformByEffectSchema, aE as PxTransformParts, aF as PxTransformPartsSchema, aG as PxTransformValue, aH as PxTransformValueSchema, aI as PxTrigger, aJ as PxTriggerSchema, aK as PxUnits, aL as PxValidationContext, aM as PxVec2, aN as PxWireConversionOptions, aO as PxWireConversionResult, aP as PxWireStepKind, aQ as PxWireVersion, aR as PxWireVersionRelation, aS as PxWireVersionStep, aT as applyWireSteps, aU as calcAnimationValues, aV as compareWireVersion, aW as controlModeTakesOverTrigger, aX as convertWireDocument, aY as describeSchema, aZ as diagnoseDocument, a_ as downgradeWireDocument, a$ as flattenAnimatorTimeline, b0 as formatWireVersion, b1 as generateNewIds, b2 as getAnimatorConfig, b3 as getBindings, b4 as getChildren, b5 as getDefinitions, b6 as isNativeForced, b7 as isPxDocument, b8 as isValidPxDocument, b9 as materializeAllInTree, ba as mayUseNativeScrollTimeline, bb as nestAnimatorTimeline, bc as normalizeBindings, bd as parseWireVersion, be as px, bf as readWireVersion, bg as resolveControlMode, bh as resolveTimelineEngine, bi as resolveTrigger, bj as schemaKeys, bk as toDomProps, bl as validateDocument, bm as validateNodeEffects, bn as wireVersionAdvice } from './PxDocumentDiagnostic-CBhVyNEi.js';
3
3
 
4
4
  /**
5
5
  * THE PLAYER'S WIRE SCHEMA VERSION — the `a.b` of `svgRoot.animator.version`.
@@ -15,7 +15,7 @@ export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BAS
15
15
  * and every format change invisible between releases.
16
16
  * @public @advanced
17
17
  */
18
- declare const PX_WIRE_SCHEMA_VERSION = "1.1";
18
+ declare const PX_WIRE_SCHEMA_VERSION = "1.2";
19
19
 
20
20
  /**
21
21
  * Platform adapter interface for abstracting platform-specific operations.
@@ -134,10 +134,10 @@ interface PxTimelineShortcuts {
134
134
  /** Shortcut for `timeline.iterations`; `'infinite'` never stops. */
135
135
  iterations?: number | 'infinite';
136
136
  /**
137
- * Shortcut for `timeline.trigger.startOn`. Typed from the WIRE, so it includes
138
- * `'programmatic'` — "nothing starts this but a `play()` call".
137
+ * Shortcut for `timeline.trigger.start`. Typed from the WIRE, so it includes
138
+ * `'none'` — "nothing starts this but a `play()` call".
139
139
  */
140
- startOn?: PxStartOn;
140
+ start?: PxTriggerStart;
141
141
  }
142
142
  /**
143
143
  * The playback-override props every surface takes — `createAnimator` and the three components:
@@ -235,4 +235,4 @@ interface ApplyResult {
235
235
  */
236
236
  declare function materializeNodeEffects(root: PxNode): ApplyResult;
237
237
 
238
- export { PX_RATE_REJECTED, PX_WIRE_SCHEMA_VERSION, PxAnimatedSvgDocument, PxAnimatorApi, PxAnimatorConfig, type PxAnimatorConfigMergeResult, type PxAnimatorConfigPatch, PxEngineCallbacks, PxNode, type PxPlatformAdapter, type PxPlaybackOverride, PxStartOn, type PxTimelinePatch, type PxTimelineShortcuts, applyAnimatorConfig, clampSeekMs, createAdapterAnimator, createRunClock, foldTimelineOverride, isValidPlaybackRate, materializeNodeEffects, mergeAnimatorConfig, progressSpanMs, progressToTimeMs, seekCeilingMs, timeToProgress };
238
+ export { PX_RATE_REJECTED, PX_WIRE_SCHEMA_VERSION, PxAnimatedSvgDocument, PxAnimatorApi, PxAnimatorConfig, type PxAnimatorConfigMergeResult, type PxAnimatorConfigPatch, PxEngineCallbacks, PxNode, type PxPlatformAdapter, type PxPlaybackOverride, type PxTimelinePatch, type PxTimelineShortcuts, PxTriggerStart, applyAnimatorConfig, clampSeekMs, createAdapterAnimator, createRunClock, foldTimelineOverride, isValidPlaybackRate, materializeNodeEffects, mergeAnimatorConfig, progressSpanMs, progressToTimeMs, seekCeilingMs, timeToProgress };