@pixodesk/svg-animator-web 1.0.17 → 1.0.18
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/README.md +27 -0
- package/dist/index.cjs +571 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +211 -12
- package/dist/index.d.ts +211 -12
- package/dist/index.js +566 -21
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.umd.js +566 -21
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -547,6 +547,38 @@ declare const PxTriggerSchema: PxSchema<{} & {
|
|
|
547
547
|
};
|
|
548
548
|
/** Defines when and how an animation should be triggered. */
|
|
549
549
|
type PxTrigger = PxInfer<typeof PxTriggerSchema>;
|
|
550
|
+
declare const PxGlyphSchema: PxSchema<{
|
|
551
|
+
width: number;
|
|
552
|
+
d: string;
|
|
553
|
+
} & {}, false> & {
|
|
554
|
+
readonly _shape: {
|
|
555
|
+
width: PxSchema<number, false>;
|
|
556
|
+
d: PxSchema<string, false>;
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
type PxGlyph = PxInfer<typeof PxGlyphSchema>;
|
|
560
|
+
declare const PxGlyphFontSchema: PxSchema<{
|
|
561
|
+
fFamily: string;
|
|
562
|
+
style: string;
|
|
563
|
+
ascent: number;
|
|
564
|
+
unitsPerEm: number;
|
|
565
|
+
glyphs: Record<string, {
|
|
566
|
+
width: number;
|
|
567
|
+
d: string;
|
|
568
|
+
} & {}>;
|
|
569
|
+
} & {}, false> & {
|
|
570
|
+
readonly _shape: {
|
|
571
|
+
fFamily: PxSchema<string, false>;
|
|
572
|
+
style: PxSchema<string, false>;
|
|
573
|
+
ascent: PxSchema<number, false>;
|
|
574
|
+
unitsPerEm: PxSchema<number, false>;
|
|
575
|
+
glyphs: PxSchema<Record<string, {
|
|
576
|
+
width: number;
|
|
577
|
+
d: string;
|
|
578
|
+
} & {}>, false>;
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
type PxGlyphFont = PxInfer<typeof PxGlyphFontSchema>;
|
|
550
582
|
declare const PxDefsSchema: PxSchema<{} & {
|
|
551
583
|
easings?: Record<string, [number, number, number, number]> | undefined;
|
|
552
584
|
animations?: Record<string, Record<string, {} & {
|
|
@@ -584,6 +616,16 @@ declare const PxDefsSchema: PxSchema<{} & {
|
|
|
584
616
|
autoOrient?: boolean | undefined;
|
|
585
617
|
}>> | undefined;
|
|
586
618
|
styles?: Record<string, any> | undefined;
|
|
619
|
+
glyphs?: Record<string, {
|
|
620
|
+
fFamily: string;
|
|
621
|
+
style: string;
|
|
622
|
+
ascent: number;
|
|
623
|
+
unitsPerEm: number;
|
|
624
|
+
glyphs: Record<string, {
|
|
625
|
+
width: number;
|
|
626
|
+
d: string;
|
|
627
|
+
} & {}>;
|
|
628
|
+
} & {}> | undefined;
|
|
587
629
|
}, false> & {
|
|
588
630
|
readonly _shape: {
|
|
589
631
|
easings: PxSchema<Record<string, [number, number, number, number]> | undefined, true>;
|
|
@@ -622,6 +664,16 @@ declare const PxDefsSchema: PxSchema<{} & {
|
|
|
622
664
|
autoOrient?: boolean | undefined;
|
|
623
665
|
}>> | undefined, true>;
|
|
624
666
|
styles: PxSchema<Record<string, any> | undefined, true>;
|
|
667
|
+
glyphs: PxSchema<Record<string, {
|
|
668
|
+
fFamily: string;
|
|
669
|
+
style: string;
|
|
670
|
+
ascent: number;
|
|
671
|
+
unitsPerEm: number;
|
|
672
|
+
glyphs: Record<string, {
|
|
673
|
+
width: number;
|
|
674
|
+
d: string;
|
|
675
|
+
} & {}>;
|
|
676
|
+
} & {}> | undefined, true>;
|
|
625
677
|
};
|
|
626
678
|
};
|
|
627
679
|
/** Reusable definitions library for easings, animations, and styles. */
|
|
@@ -676,6 +728,16 @@ declare const PxAnimatorConfigSchema: PxSchema<{} & {
|
|
|
676
728
|
autoOrient?: boolean | undefined;
|
|
677
729
|
}>> | undefined;
|
|
678
730
|
styles?: Record<string, any> | undefined;
|
|
731
|
+
glyphs?: Record<string, {
|
|
732
|
+
fFamily: string;
|
|
733
|
+
style: string;
|
|
734
|
+
ascent: number;
|
|
735
|
+
unitsPerEm: number;
|
|
736
|
+
glyphs: Record<string, {
|
|
737
|
+
width: number;
|
|
738
|
+
d: string;
|
|
739
|
+
} & {}>;
|
|
740
|
+
} & {}> | undefined;
|
|
679
741
|
}) | undefined;
|
|
680
742
|
animate?: Record<string, string | Record<string, {} & {
|
|
681
743
|
keyframes?: ({} & {
|
|
@@ -797,6 +859,16 @@ declare const PxAnimatorConfigSchema: PxSchema<{} & {
|
|
|
797
859
|
autoOrient?: boolean | undefined;
|
|
798
860
|
}>> | undefined;
|
|
799
861
|
styles?: Record<string, any> | undefined;
|
|
862
|
+
glyphs?: Record<string, {
|
|
863
|
+
fFamily: string;
|
|
864
|
+
style: string;
|
|
865
|
+
ascent: number;
|
|
866
|
+
unitsPerEm: number;
|
|
867
|
+
glyphs: Record<string, {
|
|
868
|
+
width: number;
|
|
869
|
+
d: string;
|
|
870
|
+
} & {}>;
|
|
871
|
+
} & {}> | undefined;
|
|
800
872
|
}) | undefined, true>;
|
|
801
873
|
animate: PxSchema<Record<string, string | Record<string, {} & {
|
|
802
874
|
keyframes?: ({} & {
|
|
@@ -1843,6 +1915,13 @@ declare const PxTextAlongPathEffectSchema: PxSchema<{
|
|
|
1843
1915
|
};
|
|
1844
1916
|
};
|
|
1845
1917
|
type PxTextAlongPathEffect = PxInfer<typeof PxTextAlongPathEffectSchema>;
|
|
1918
|
+
declare const PxTextEffectSchema: PxSchema<{} & {
|
|
1919
|
+
useGlyphs?: boolean | undefined;
|
|
1920
|
+
}, false> & {
|
|
1921
|
+
readonly _shape: {
|
|
1922
|
+
useGlyphs: PxSchema<boolean | undefined, true>;
|
|
1923
|
+
};
|
|
1924
|
+
};
|
|
1846
1925
|
declare const PxEffectsSchema: PxSchema<{} & {
|
|
1847
1926
|
transformation?: ({} & {
|
|
1848
1927
|
translate?: [number, number] | ({
|
|
@@ -2193,6 +2272,9 @@ declare const PxEffectsSchema: PxSchema<{} & {
|
|
|
2193
2272
|
autoOrient?: boolean | undefined;
|
|
2194
2273
|
}) | undefined;
|
|
2195
2274
|
}) | undefined;
|
|
2275
|
+
text?: ({} & {
|
|
2276
|
+
useGlyphs?: boolean | undefined;
|
|
2277
|
+
}) | undefined;
|
|
2196
2278
|
}, false> & {
|
|
2197
2279
|
readonly _shape: {
|
|
2198
2280
|
transformation: PxSchema<({} & {
|
|
@@ -2544,6 +2626,9 @@ declare const PxEffectsSchema: PxSchema<{} & {
|
|
|
2544
2626
|
autoOrient?: boolean | undefined;
|
|
2545
2627
|
}) | undefined;
|
|
2546
2628
|
}) | undefined, true>;
|
|
2629
|
+
text: PxSchema<({} & {
|
|
2630
|
+
useGlyphs?: boolean | undefined;
|
|
2631
|
+
}) | undefined, true>;
|
|
2547
2632
|
};
|
|
2548
2633
|
};
|
|
2549
2634
|
type PxEffects = PxInfer<typeof PxEffectsSchema>;
|
|
@@ -2920,6 +3005,9 @@ declare const PxNodeBase: PxSchema<{
|
|
|
2920
3005
|
autoOrient?: boolean | undefined;
|
|
2921
3006
|
}) | undefined;
|
|
2922
3007
|
}) | undefined;
|
|
3008
|
+
text?: ({} & {
|
|
3009
|
+
useGlyphs?: boolean | undefined;
|
|
3010
|
+
}) | undefined;
|
|
2923
3011
|
}) | undefined;
|
|
2924
3012
|
animate?: string | Record<string, {} & {
|
|
2925
3013
|
keyframes?: ({} & {
|
|
@@ -3346,6 +3434,9 @@ declare const PxNodeBase: PxSchema<{
|
|
|
3346
3434
|
autoOrient?: boolean | undefined;
|
|
3347
3435
|
}) | undefined;
|
|
3348
3436
|
}) | undefined;
|
|
3437
|
+
text?: ({} & {
|
|
3438
|
+
useGlyphs?: boolean | undefined;
|
|
3439
|
+
}) | undefined;
|
|
3349
3440
|
}) | undefined, true>;
|
|
3350
3441
|
animate: PxSchema<string | Record<string, {} & {
|
|
3351
3442
|
keyframes?: ({} & {
|
|
@@ -3489,6 +3580,16 @@ declare const PxSvgNodeExtra: PxSchema<{} & {
|
|
|
3489
3580
|
autoOrient?: boolean | undefined;
|
|
3490
3581
|
}>> | undefined;
|
|
3491
3582
|
styles?: Record<string, any> | undefined;
|
|
3583
|
+
glyphs?: Record<string, {
|
|
3584
|
+
fFamily: string;
|
|
3585
|
+
style: string;
|
|
3586
|
+
ascent: number;
|
|
3587
|
+
unitsPerEm: number;
|
|
3588
|
+
glyphs: Record<string, {
|
|
3589
|
+
width: number;
|
|
3590
|
+
d: string;
|
|
3591
|
+
} & {}>;
|
|
3592
|
+
} & {}> | undefined;
|
|
3492
3593
|
}) | undefined;
|
|
3493
3594
|
animate?: Record<string, string | Record<string, {} & {
|
|
3494
3595
|
keyframes?: ({} & {
|
|
@@ -3615,6 +3716,16 @@ declare const PxSvgNodeExtra: PxSchema<{} & {
|
|
|
3615
3716
|
autoOrient?: boolean | undefined;
|
|
3616
3717
|
}>> | undefined;
|
|
3617
3718
|
styles?: Record<string, any> | undefined;
|
|
3719
|
+
glyphs?: Record<string, {
|
|
3720
|
+
fFamily: string;
|
|
3721
|
+
style: string;
|
|
3722
|
+
ascent: number;
|
|
3723
|
+
unitsPerEm: number;
|
|
3724
|
+
glyphs: Record<string, {
|
|
3725
|
+
width: number;
|
|
3726
|
+
d: string;
|
|
3727
|
+
} & {}>;
|
|
3728
|
+
} & {}> | undefined;
|
|
3618
3729
|
}) | undefined;
|
|
3619
3730
|
animate?: Record<string, string | Record<string, {} & {
|
|
3620
3731
|
keyframes?: ({} & {
|
|
@@ -3760,6 +3871,16 @@ declare const PxAnimatedSvgDocumentSchema: PxSchema<{
|
|
|
3760
3871
|
autoOrient?: boolean | undefined;
|
|
3761
3872
|
}>> | undefined;
|
|
3762
3873
|
styles?: Record<string, any> | undefined;
|
|
3874
|
+
glyphs?: Record<string, {
|
|
3875
|
+
fFamily: string;
|
|
3876
|
+
style: string;
|
|
3877
|
+
ascent: number;
|
|
3878
|
+
unitsPerEm: number;
|
|
3879
|
+
glyphs: Record<string, {
|
|
3880
|
+
width: number;
|
|
3881
|
+
d: string;
|
|
3882
|
+
} & {}>;
|
|
3883
|
+
} & {}> | undefined;
|
|
3763
3884
|
}) | undefined;
|
|
3764
3885
|
animate?: Record<string, string | Record<string, {} & {
|
|
3765
3886
|
keyframes?: ({} & {
|
|
@@ -4183,6 +4304,9 @@ declare const PxAnimatedSvgDocumentSchema: PxSchema<{
|
|
|
4183
4304
|
autoOrient?: boolean | undefined;
|
|
4184
4305
|
}) | undefined;
|
|
4185
4306
|
}) | undefined;
|
|
4307
|
+
text?: ({} & {
|
|
4308
|
+
useGlyphs?: boolean | undefined;
|
|
4309
|
+
}) | undefined;
|
|
4186
4310
|
}) | undefined;
|
|
4187
4311
|
animate?: string | Record<string, {} & {
|
|
4188
4312
|
keyframes?: ({} & {
|
|
@@ -4311,6 +4435,16 @@ declare const PxAnimatedSvgDocumentSchema: PxSchema<{
|
|
|
4311
4435
|
autoOrient?: boolean | undefined;
|
|
4312
4436
|
}>> | undefined;
|
|
4313
4437
|
styles?: Record<string, any> | undefined;
|
|
4438
|
+
glyphs?: Record<string, {
|
|
4439
|
+
fFamily: string;
|
|
4440
|
+
style: string;
|
|
4441
|
+
ascent: number;
|
|
4442
|
+
unitsPerEm: number;
|
|
4443
|
+
glyphs: Record<string, {
|
|
4444
|
+
width: number;
|
|
4445
|
+
d: string;
|
|
4446
|
+
} & {}>;
|
|
4447
|
+
} & {}> | undefined;
|
|
4314
4448
|
}) | undefined;
|
|
4315
4449
|
animate?: Record<string, string | Record<string, {} & {
|
|
4316
4450
|
keyframes?: ({} & {
|
|
@@ -4734,6 +4868,9 @@ declare const PxAnimatedSvgDocumentSchema: PxSchema<{
|
|
|
4734
4868
|
autoOrient?: boolean | undefined;
|
|
4735
4869
|
}) | undefined;
|
|
4736
4870
|
}) | undefined;
|
|
4871
|
+
text?: ({} & {
|
|
4872
|
+
useGlyphs?: boolean | undefined;
|
|
4873
|
+
}) | undefined;
|
|
4737
4874
|
}) | undefined, true>;
|
|
4738
4875
|
animate: PxSchema<string | Record<string, {} & {
|
|
4739
4876
|
keyframes?: ({} & {
|
|
@@ -5114,18 +5251,23 @@ declare function getNormalizedProps(props: Record<string, any>): Record<string,
|
|
|
5114
5251
|
declare function renderNode(node: PxNode, defs?: PxDefs): Element | null;
|
|
5115
5252
|
|
|
5116
5253
|
/**
|
|
5117
|
-
*
|
|
5254
|
+
* Element-creation factory — abstracts WHAT an "element" is so the same
|
|
5255
|
+
* geometry/layout code (e.g. the glyph text materialiser) can emit plain wire
|
|
5256
|
+
* nodes here, or the editor's React / px elements when called from the editor.
|
|
5118
5257
|
*
|
|
5119
|
-
*
|
|
5120
|
-
*
|
|
5121
|
-
*
|
|
5122
|
-
*
|
|
5123
|
-
* @param callbacks Optional lifecycle callbacks.
|
|
5124
|
-
* @param rootElement Root element.
|
|
5125
|
-
* @param forceEvenIfHasUnsupportedAttrs If true, an animator will be created even if some CSS properties are not supported.
|
|
5126
|
-
* @returns An PxAnimatorAPI instance, or null if unsupported features are used and not forced.
|
|
5258
|
+
* The signature intentionally mirrors the editor's `createPxElement(type,
|
|
5259
|
+
* props, children, fixReactKeysIfNeeded?)` so the editor's own factory drops in
|
|
5260
|
+
* unchanged.
|
|
5127
5261
|
*/
|
|
5128
|
-
|
|
5262
|
+
type PxCreateElement<E = any> = (type: string, props: {
|
|
5263
|
+
[k: string]: any;
|
|
5264
|
+
}, children?: Array<E> | E | null, fixReactKeysIfNeeded?: boolean) => E;
|
|
5265
|
+
/**
|
|
5266
|
+
* Default factory → a plain wire node `{ type, ...props, children? }`.
|
|
5267
|
+
* Drops `undefined` props and empty `children` so output matches the shape the
|
|
5268
|
+
* effects pipeline (and `JSON.stringify`) expects.
|
|
5269
|
+
*/
|
|
5270
|
+
declare const jsonElementFactory: PxCreateElement<any>;
|
|
5129
5271
|
|
|
5130
5272
|
/**
|
|
5131
5273
|
* Applier-runtime types: `ApplyContext` (per-run mutable state) and `ApplyResult`
|
|
@@ -5145,6 +5287,63 @@ interface ApplyResult {
|
|
|
5145
5287
|
errors: Array<string>;
|
|
5146
5288
|
}
|
|
5147
5289
|
|
|
5290
|
+
/**
|
|
5291
|
+
* Glyph text materialiser — turns a `<text>`/`<tspan>` subtree into `<path>`
|
|
5292
|
+
* outlines from `definitions.glyphs`, so the text renders with no external font.
|
|
5293
|
+
*
|
|
5294
|
+
* - HORIZONTAL ({@link materialiseGlyphTextHorizontal}) — left-to-right by
|
|
5295
|
+
* advance width; honours font-size, text-anchor, letter/word-spacing,
|
|
5296
|
+
* per-tspan x/y/dx/dy, fill/stroke, nested tspans.
|
|
5297
|
+
* - ALONG-PATH ({@link materialiseGlyphTextAlongPath}) — each glyph placed and
|
|
5298
|
+
* rotated to the referenced path's tangent. Static `startOffset` → glyphs
|
|
5299
|
+
* bake+merge; animated `startOffset` → per-glyph `<path>` with sampled
|
|
5300
|
+
* `animate.transform`. Ignores per-tspan positioning (a single run).
|
|
5301
|
+
*
|
|
5302
|
+
* Element creation goes through an injected {@link PxCreateElement} factory, so
|
|
5303
|
+
* the SAME layout produces plain wire nodes here (the effects pipeline) or the
|
|
5304
|
+
* editor's React/px elements when the editor calls it — see
|
|
5305
|
+
* {@link materialiseGlyphText}.
|
|
5306
|
+
*
|
|
5307
|
+
* v1 scope (see svga.text.design.md): keyframe-interval easing is linear;
|
|
5308
|
+
* kerning/ligatures, per-tspan opacity, text-level animated fill are out of scope.
|
|
5309
|
+
*/
|
|
5310
|
+
|
|
5311
|
+
/** Inputs for a glyph materialisation, decoupled from the effects `ApplyContext`
|
|
5312
|
+
* so the editor can call the materialiser directly. */
|
|
5313
|
+
interface GlyphMaterialiseOpts<E = any> {
|
|
5314
|
+
/** Embedded glyph fonts, keyed by `font-family`. */
|
|
5315
|
+
glyphs: Record<string, PxGlyphFont>;
|
|
5316
|
+
/** Element factory — defaults to plain wire nodes ({@link jsonElementFactory}). */
|
|
5317
|
+
create?: PxCreateElement<E>;
|
|
5318
|
+
/** Optional diagnostics sink. */
|
|
5319
|
+
warnings?: Array<string>;
|
|
5320
|
+
}
|
|
5321
|
+
declare function materialiseGlyphTextHorizontal<E = any>(node: PxNode, opts: GlyphMaterialiseOpts<E>): E;
|
|
5322
|
+
declare function materialiseGlyphTextAlongPath<E = any>(node: PxNode, pathD: string | undefined, startOffset: PxAnimatable<number> | undefined, opts: GlyphMaterialiseOpts<E>, textLength?: number): E | null;
|
|
5323
|
+
/** Single entry the EDITOR calls: materialises a glyph `<text>` node into the
|
|
5324
|
+
* factory's element type, choosing along-path when `alongPath` is given. */
|
|
5325
|
+
declare function materialiseGlyphText<E = any>(node: PxNode, opts: GlyphMaterialiseOpts<E> & {
|
|
5326
|
+
alongPath?: {
|
|
5327
|
+
pathD?: string;
|
|
5328
|
+
startOffset?: PxAnimatable<number>;
|
|
5329
|
+
textLength?: number;
|
|
5330
|
+
};
|
|
5331
|
+
}): E | null;
|
|
5332
|
+
|
|
5333
|
+
/**
|
|
5334
|
+
* Creates an animator instance that uses the native Web Animations API.
|
|
5335
|
+
*
|
|
5336
|
+
* This is the preferred, more performant animator. It will return null if the
|
|
5337
|
+
* animation configuration contains properties not supported by the browser's
|
|
5338
|
+
* Web Animations API implementation, unless forceEvenIfHasUnsupportedAttrs is true.
|
|
5339
|
+
*
|
|
5340
|
+
* @param callbacks Optional lifecycle callbacks.
|
|
5341
|
+
* @param rootElement Root element.
|
|
5342
|
+
* @param forceEvenIfHasUnsupportedAttrs If true, an animator will be created even if some CSS properties are not supported.
|
|
5343
|
+
* @returns An PxAnimatorAPI instance, or null if unsupported features are used and not forced.
|
|
5344
|
+
*/
|
|
5345
|
+
declare function createWebApiAnimator(doc: PxAnimatedSvgDocument, callbacks?: PxAnimatorCallbacksConfig, rootElement?: Element | null, forceEvenIfHasUnsupportedAttrs?: boolean): PxAnimatorAPI | null;
|
|
5346
|
+
|
|
5148
5347
|
/**
|
|
5149
5348
|
* Applies all player-effects in `root` and returns a materialised copy plus any
|
|
5150
5349
|
* generated <defs> nodes, warnings and errors. `root` is not mutated.
|
|
@@ -5158,7 +5357,7 @@ interface ApplyResult {
|
|
|
5158
5357
|
* Pre-pass identifies every element that is the target of a `<use>` with
|
|
5159
5358
|
* `ref:{type:'content'}` and allocates a fresh "inner" id for it; pass 1 then
|
|
5160
5359
|
* splits those sources into outer-translate + inner-content layers so the use
|
|
5161
|
-
* can target the inner layer
|
|
5360
|
+
* can target the inner layer.
|
|
5162
5361
|
*/
|
|
5163
5362
|
declare function applyPlayerEffects(root: PxNode): ApplyResult;
|
|
5164
5363
|
|
|
@@ -5182,4 +5381,4 @@ interface EffectDiff {
|
|
|
5182
5381
|
*/
|
|
5183
5382
|
declare function diffInEffect(a: VmNode, b: VmNode): Array<EffectDiff>;
|
|
5184
5383
|
|
|
5185
|
-
export { type ApplyResult, COLOUR_ATTR_NAMES, type FillMode, type JsMode, type KeysMatch, type MaterialiseAllOptions, type MotionPathMaterialisationOptions, type MotionPathSample, type OutAction, PX_ANIMATOR_DATA_KEY, PX_ANIM_ATTR_NAME, PX_ANIM_SRC_ATTR_NAME, PX_TRANSFORM_PART_KEYS, type PlaybackDirection, type PxAnimatable, type PxAnimatedSvgDocument, PxAnimatedSvgDocumentSchema, type PxAnimationDefinition, PxAnimationDefinitionSchema, type PxAnimatorAPI, type PxAnimatorCallbacksConfig, type PxAnimatorConfig, PxAnimatorConfigSchema, PxAnimatorEngine, PxAnimatorMode, type PxAnimatorOptions, type PxAttrValue, PxAttrValueSchema, type PxBezierPath, PxBezierPathSchema, type PxBinding, PxBindingSchema, type PxCloneEffect, PxCloneEffectSchema, type PxDefs, PxDefsSchema, PxEasingOrRefSchema, type PxEffects, PxEffectsSchema, type PxElementAnimation, PxElementAnimationSchema, type PxFillGradientEffect, PxFillGradientEffectSchema, PxGradientSpreadMethod, type PxGradientStop, PxGradientStopSchema, PxGradientType, PxGradientUnits, type PxInfer, type PxKeyframe, PxKeyframeSchema, PxLoopSchema, type PxMaskedByEffect, PxMaskedByEffectSchema, type PxNode, PxNodeBase, PxNodeSchema, type PxPlatformAdapter, type PxPropertyAnimation, PxPropertyAnimationSchema, type PxRepeaterEffect, PxRepeaterEffectSchema, type PxRetimeEffect, PxRetimeEffectSchema, type PxSchema, type PxSchemaDesc, type PxStrokeGradientEffect, PxStrokeGradientEffectSchema, type PxSvgNode, PxSvgNodeExtra, type PxTextAlongPathEffect, PxTextAlongPathEffectSchema, type PxTransformPartKey, type PxTransformParts, PxTransformPartsSchema, type PxTransformValue, PxTransformValueSchema, type PxTransformationEffect, PxTransformationEffectSchema, type PxTrigger, PxTriggerSchema, type PxTrimPathEffect, PxTrimPathEffectSchema, type PxValidationContext, type PxValidationResult, type RemoveIndex, STYLE_ATTR_NAMES, type StartOn, TRANSFORM_FN_NAMES, type Vec2, applyPlayerEffects, calcAnimationValues, camelCaseToKebabWordIfNeeded, collectSampleTimes, createAnimator, createAnimatorImpl, createBasicFrameLoopAnimator, createFrameLoopAnimator, createWebApiAnimator, describeSchema, diffInEffect, evaluateMotionPathSegment, generateNewIds, getAnimatorConfig, getBindings, getChildren, getDefs, getNormalizedProps, isPxElementFileFormat, isPxElementFileFormatDeep, loadTagAnimators, materialiseAllInTree, materialiseAnimatedUseInstances, materialiseInternalLoopsInPropAnim, materialiseInternalLoopsInTree, materialiseMotionPathInPropAnim, materialiseMotionPathsInTree, getNormalisedBindings as normalizeDocument, propAnimIsMotionPath, px, renderNode, schemaKeys, setupAnimationTriggers, toRGBA, validateNodeEffects, visualModelAt };
|
|
5384
|
+
export { type ApplyResult, COLOUR_ATTR_NAMES, type FillMode, type GlyphMaterialiseOpts, type JsMode, type KeysMatch, type MaterialiseAllOptions, type MotionPathMaterialisationOptions, type MotionPathSample, type OutAction, PX_ANIMATOR_DATA_KEY, PX_ANIM_ATTR_NAME, PX_ANIM_SRC_ATTR_NAME, PX_TRANSFORM_PART_KEYS, type PlaybackDirection, type PxAnimatable, type PxAnimatedSvgDocument, PxAnimatedSvgDocumentSchema, type PxAnimationDefinition, PxAnimationDefinitionSchema, type PxAnimatorAPI, type PxAnimatorCallbacksConfig, type PxAnimatorConfig, PxAnimatorConfigSchema, PxAnimatorEngine, PxAnimatorMode, type PxAnimatorOptions, type PxAttrValue, PxAttrValueSchema, type PxBezierPath, PxBezierPathSchema, type PxBinding, PxBindingSchema, type PxCloneEffect, PxCloneEffectSchema, type PxCreateElement, type PxDefs, PxDefsSchema, PxEasingOrRefSchema, type PxEffects, PxEffectsSchema, type PxElementAnimation, PxElementAnimationSchema, type PxFillGradientEffect, PxFillGradientEffectSchema, type PxGlyph, type PxGlyphFont, PxGradientSpreadMethod, type PxGradientStop, PxGradientStopSchema, PxGradientType, PxGradientUnits, type PxInfer, type PxKeyframe, PxKeyframeSchema, PxLoopSchema, type PxMaskedByEffect, PxMaskedByEffectSchema, type PxNode, PxNodeBase, PxNodeSchema, type PxPlatformAdapter, type PxPropertyAnimation, PxPropertyAnimationSchema, type PxRepeaterEffect, PxRepeaterEffectSchema, type PxRetimeEffect, PxRetimeEffectSchema, type PxSchema, type PxSchemaDesc, type PxStrokeGradientEffect, PxStrokeGradientEffectSchema, type PxSvgNode, PxSvgNodeExtra, type PxTextAlongPathEffect, PxTextAlongPathEffectSchema, PxTextEffectSchema, type PxTransformPartKey, type PxTransformParts, PxTransformPartsSchema, type PxTransformValue, PxTransformValueSchema, type PxTransformationEffect, PxTransformationEffectSchema, type PxTrigger, PxTriggerSchema, type PxTrimPathEffect, PxTrimPathEffectSchema, type PxValidationContext, type PxValidationResult, type RemoveIndex, STYLE_ATTR_NAMES, type StartOn, TRANSFORM_FN_NAMES, type Vec2, applyPlayerEffects, calcAnimationValues, camelCaseToKebabWordIfNeeded, collectSampleTimes, createAnimator, createAnimatorImpl, createBasicFrameLoopAnimator, createFrameLoopAnimator, createWebApiAnimator, describeSchema, diffInEffect, evaluateMotionPathSegment, generateNewIds, getAnimatorConfig, getBindings, getChildren, getDefs, getNormalizedProps, isPxElementFileFormat, isPxElementFileFormatDeep, jsonElementFactory, loadTagAnimators, materialiseAllInTree, materialiseAnimatedUseInstances, materialiseGlyphText, materialiseGlyphTextAlongPath, materialiseGlyphTextHorizontal, materialiseInternalLoopsInPropAnim, materialiseInternalLoopsInTree, materialiseMotionPathInPropAnim, materialiseMotionPathsInTree, getNormalisedBindings as normalizeDocument, propAnimIsMotionPath, px, renderNode, schemaKeys, setupAnimationTriggers, toRGBA, validateNodeEffects, visualModelAt };
|