@pixodesk/svg-animator-web 1.0.39 → 1.0.40
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 +2 -3
- package/dist/chunk-RK3CEIRB.min.js +1 -0
- package/dist/chunk-TNWZIIVG.js +42 -0
- package/dist/chunk-TNWZIIVG.js.map +1 -0
- package/dist/index.cjs +3986 -4792
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -112
- package/dist/index.d.ts +12 -112
- package/dist/index.js +4010 -4724
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.prerendered-waapi.umd.js +647 -614
- package/dist/index.prerendered-waapi.umd.js.map +1 -1
- package/dist/index.prerendered-waapi.umd.min.js +1 -1
- package/dist/index.prerendered.umd.js +707 -675
- package/dist/index.prerendered.umd.js.map +1 -1
- package/dist/index.prerendered.umd.min.js +1 -1
- package/dist/internal-BmFv1B6H.d.cts +94 -0
- package/dist/internal-BmFv1B6H.d.ts +94 -0
- package/dist/internal.cjs +33 -0
- package/dist/internal.cjs.map +1 -0
- package/dist/internal.d.cts +2 -0
- package/dist/internal.d.ts +2 -0
- package/dist/internal.js +7 -0
- package/dist/internal.js.map +1 -0
- package/dist/internal.min.cjs +1 -0
- package/dist/internal.min.js +1 -0
- package/dist/pixodesk-svg-animator.umd.js +1044 -1045
- package/dist/pixodesk-svg-animator.umd.js.map +1 -1
- package/dist/pixodesk-svg-animator.umd.min.js +1 -1
- package/mangle-reserved.json +4 -3
- package/package.json +7 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,92 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* DOM specializations of the platform-neutral animator API types.
|
|
6
|
-
* `getRootElement()` returns a DOM `Element` on the web — these aliases keep
|
|
7
|
-
* the historical (pre-core-extraction) signatures for web consumers.
|
|
8
|
-
*/
|
|
9
|
-
type PxBasicAnimatorAPI = PxBasicAnimatorAPI$1<Element>;
|
|
10
|
-
type PxAnimatorAPI = PxAnimatorAPI$1<Element>;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Wire keys shared by every entry point.
|
|
14
|
-
*
|
|
15
|
-
* These live here rather than in `PxAnimator.ts` on purpose: that module used to end with a
|
|
16
|
-
* top-level `if (typeof window !== 'undefined')` block publishing `createAnimator` /
|
|
17
|
-
* `loadTagAnimators` as globals. A module-level side effect cannot be tree-shaken, so
|
|
18
|
-
* importing ANY symbol from `PxAnimator.ts` pulled the entire full player in with it —
|
|
19
|
-
* which silently made the pre-rendered builds the same size as the full one until this
|
|
20
|
-
* constant was moved out. See PRERENDERED-PLAYER-BUILDS.md.
|
|
21
|
-
*
|
|
22
|
-
* That block is gone (API review §4) and the package now declares `"sideEffects": false`, but
|
|
23
|
-
* keeping these here costs nothing and removes the trap for good.
|
|
24
|
-
*/
|
|
25
|
-
/**
|
|
26
|
-
* Key under which `createAnimator` options carry the inline animation document. The editor
|
|
27
|
-
* writes it into every exported SVG+JS — `createAnimator({"doc": …})` — so it is part of the
|
|
28
|
-
* export format, which is why it is a named constant and not a literal.
|
|
29
|
-
*/
|
|
30
|
-
declare const PX_ANIMATOR_DOC_KEY = "doc";
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Everything `createAnimator` takes. The playback override (`timeline`, `resetTimeline` and the
|
|
34
|
-
* four shortcuts) and the callbacks are core's shared shapes — the SAME names, inline, as the
|
|
35
|
-
* React, Vue and React Native components take (review §9) — so only what is web-specific is
|
|
36
|
-
* declared here.
|
|
37
|
-
*/
|
|
38
|
-
interface PxAnimatorOptions extends PxPlaybackOverrideProps, PxComponentCallbacks {
|
|
39
|
-
/** URL to fetch the animation document from. Provide either this or `doc`, not both. */
|
|
40
|
-
src?: string;
|
|
41
|
-
/** The animation document, inline (see SCHEMA.md). Provide either this or `src`, not both. */
|
|
42
|
-
doc?: PxAnimatedSvgDocument;
|
|
43
|
-
/** ○ A custom render target for the frame-loop engine (`PxPlatformAdapter`); omit for the DOM. */
|
|
44
|
-
adapter?: PxPlatformAdapter;
|
|
45
|
-
/** CSS selector or element to render the SVG into. */
|
|
46
|
-
container?: string | Element;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Creates an animator instance to control SVG animations.
|
|
50
|
-
*
|
|
51
|
-
* @param options.src URL to fetch the animation document from.
|
|
52
|
-
* @param options.doc The animation document, inline.
|
|
53
|
-
* @param options.container CSS selector or element to render the SVG into.
|
|
54
|
-
* @returns A PxAnimatorAPI instance to programmatically control the animation.
|
|
55
|
-
*/
|
|
56
|
-
declare function createAnimator(options: PxAnimatorOptions): PxAnimatorAPI;
|
|
57
|
-
/**
|
|
58
|
-
* Scan and load for tags, e.g.
|
|
59
|
-
* <div data-px-animation-src="animation.json"></div>
|
|
60
|
-
*/
|
|
61
|
-
/**
|
|
62
|
-
* Everything `createAnimator` takes except the three the tag supplies (`src`, `container`) or
|
|
63
|
-
* forbids (`data`): callbacks, the diagnostics channel, a playback override and its shortcuts.
|
|
64
|
-
*/
|
|
65
|
-
type PxTagAnimatorOptions = Omit<PxAnimatorOptions, 'src' | 'doc' | 'container'>;
|
|
66
|
-
/**
|
|
67
|
-
* Scan the page for `<div data-px-animation-src="animation.json">` and create one player per
|
|
68
|
-
* match, rendered into that element and stored on it. Safe to call repeatedly: elements that
|
|
69
|
-
* already carry a player are skipped.
|
|
70
|
-
*
|
|
71
|
-
* `options` applies to EVERY player this call creates (review §15) — the same callbacks, the
|
|
72
|
-
* same override. Omit it for the zero-config path.
|
|
73
|
-
*/
|
|
74
|
-
declare function loadTagAnimators(options?: PxTagAnimatorOptions): void;
|
|
1
|
+
import { P as PxAnimatorAPI } from './internal-BmFv1B6H.cjs';
|
|
2
|
+
export { a as PX_ANIMATOR_DOC_KEY, b as PxAnimatorOptions, c as PxBasicAnimatorAPI, d as PxInternalAnimatorOptions, e as PxTagAnimatorOptions, f as createAnimator, l as loadTagAnimators } from './internal-BmFv1B6H.cjs';
|
|
3
|
+
import { PxAnimatorCallbacks, PxAnimatedSvgDocument, PxTrigger, PxDiagnostics, PxNode, PxDefs } from '@pixodesk/svg-animator-core';
|
|
4
|
+
export { PxAnimatedSvgDocument, PxAnimatorCallbacks, PxAnimatorConfig, PxAnimatorConfigSchema, PxBinding, PxDefs, PxDefsSchema, PxDiagnostic, PxDiagnosticKind, PxDiagnostics, PxDiagnosticsConfig, PxEngineCallbacks, PxFillMode, PxInfer, PxNode, PxNodeBase, PxPlatformAdapter, PxPlaybackDirection, PxPlaybackOverrideProps, PxSchema, PxScrollSchema, PxStartOn, PxSvgNode, PxSvgNodeExtra, PxTimelineEngineExtra, PxTimelinePatch, PxTrigger, PxTriggerSchema, PxValidationContext, createBasicFrameLoopAnimator, generateNewIds, getNormalizedProps, px, validateDocument } from '@pixodesk/svg-animator-core';
|
|
75
5
|
|
|
76
6
|
/**
|
|
77
7
|
* Options accepted by the pre-rendered entry points — a subset of `PxAnimatorOptions`: the
|
|
78
|
-
* document
|
|
79
|
-
*
|
|
8
|
+
* document and the callbacks INLINE under the same names every surface uses (review §9). No
|
|
9
|
+
* `adapter`: a pre-rendered SVG is by definition already in the DOM (review §25.14).
|
|
10
|
+
* @public
|
|
80
11
|
*/
|
|
81
|
-
interface PxPrerenderedOptions extends
|
|
12
|
+
interface PxPrerenderedOptions extends PxAnimatorCallbacks {
|
|
82
13
|
/**
|
|
83
14
|
* The animation document. For a pre-rendered SVG this carries `animator.definitions`
|
|
84
|
-
* and `animator.
|
|
15
|
+
* and `animator.bindings` only — no `children`, because the elements are already
|
|
85
16
|
* in the DOM.
|
|
86
17
|
*/
|
|
87
18
|
doc: PxAnimatedSvgDocument;
|
|
88
|
-
/** ○ A custom render target for the frame-loop engine; omit for the DOM. */
|
|
89
|
-
adapter?: PxPlatformAdapter;
|
|
90
19
|
}
|
|
91
20
|
|
|
92
21
|
/**
|
|
@@ -117,43 +46,14 @@ interface PxPrerenderedOptions extends PxComponentCallbacks {
|
|
|
117
46
|
* @returns A disposer that detaches every listener and observer this call attached (review §14).
|
|
118
47
|
* `createAnimator` ties it to `destroy()`. Call it yourself before re-arming an element you
|
|
119
48
|
* wired by hand — otherwise the old listeners stay live next to the new ones.
|
|
49
|
+
* @public
|
|
120
50
|
*/
|
|
121
51
|
declare function setupAnimationTriggers(api: PxAnimatorAPI, config: PxTrigger, diag?: PxDiagnostics): () => void;
|
|
122
52
|
|
|
123
53
|
/**
|
|
124
54
|
* Renders a PxNode tree to DOM elements.
|
|
55
|
+
* @public @advanced
|
|
125
56
|
*/
|
|
126
57
|
declare function renderNode(node: PxNode, defs?: PxDefs, diag?: PxDiagnostics): Element | null;
|
|
127
58
|
|
|
128
|
-
|
|
129
|
-
* Creates an animator instance that uses a requestAnimationFrame loop for animations.
|
|
130
|
-
* This is the browser DOM-specific version.
|
|
131
|
-
*
|
|
132
|
-
* @param {PxAnimatorCallbacksConfig=} callbacks Optional lifecycle callbacks.
|
|
133
|
-
* @param {Element=} rootElement Optional pre-rendered root element.
|
|
134
|
-
* @returns {PxAnimatorAPI} A PxAnimatorAPI instance.
|
|
135
|
-
*/
|
|
136
|
-
declare function createFrameLoopAnimator(doc: PxAnimatedSvgDocument, adapter?: PxPlatformAdapter, callbacks?: PxAnimatorCallbacksConfig, rootElement?: Element | null): PxAnimatorAPI;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Creates an animator instance that uses the native Web Animations API.
|
|
140
|
-
*
|
|
141
|
-
* This is the preferred, more performant animator. It will return null if the
|
|
142
|
-
* animation configuration contains properties not supported by the browser's
|
|
143
|
-
* Web Animations API implementation, unless forceEvenIfHasUnsupportedAttrs is true.
|
|
144
|
-
*
|
|
145
|
-
* @param callbacks Optional lifecycle callbacks.
|
|
146
|
-
* @param rootElement Root element.
|
|
147
|
-
* @param forceEvenIfHasUnsupportedAttrs If true, an animator will be created even if some CSS properties are not supported.
|
|
148
|
-
* @returns An PxAnimatorAPI instance, or null if unsupported features are used and not forced.
|
|
149
|
-
*/
|
|
150
|
-
/** Native scroll-timeline payload (`timeline.engine: 'native'` / `auto`; see PxScrollDriver.createNativeScrollTimeline): the
|
|
151
|
-
* browser-native timeline every Animation attaches to, plus optional range offsets. */
|
|
152
|
-
interface PxWebApiScrollTimeline {
|
|
153
|
-
timeline: AnimationTimeline;
|
|
154
|
-
rangeStart?: Record<string, unknown>;
|
|
155
|
-
rangeEnd?: Record<string, unknown>;
|
|
156
|
-
}
|
|
157
|
-
declare function createWebApiAnimator(doc: PxAnimatedSvgDocument, callbacks?: PxAnimatorCallbacksConfig, rootElement?: Element | null, forceEvenIfHasUnsupportedAttrs?: boolean, scrollTimeline?: PxWebApiScrollTimeline): PxAnimatorAPI | null;
|
|
158
|
-
|
|
159
|
-
export { PX_ANIMATOR_DOC_KEY, type PxAnimatorAPI, type PxAnimatorOptions, type PxBasicAnimatorAPI, type PxPrerenderedOptions, type PxTagAnimatorOptions, createAnimator, createFrameLoopAnimator, createWebApiAnimator, loadTagAnimators, renderNode, setupAnimationTriggers };
|
|
59
|
+
export { PxAnimatorAPI, type PxPrerenderedOptions, renderNode, setupAnimationTriggers };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,92 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* DOM specializations of the platform-neutral animator API types.
|
|
6
|
-
* `getRootElement()` returns a DOM `Element` on the web — these aliases keep
|
|
7
|
-
* the historical (pre-core-extraction) signatures for web consumers.
|
|
8
|
-
*/
|
|
9
|
-
type PxBasicAnimatorAPI = PxBasicAnimatorAPI$1<Element>;
|
|
10
|
-
type PxAnimatorAPI = PxAnimatorAPI$1<Element>;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Wire keys shared by every entry point.
|
|
14
|
-
*
|
|
15
|
-
* These live here rather than in `PxAnimator.ts` on purpose: that module used to end with a
|
|
16
|
-
* top-level `if (typeof window !== 'undefined')` block publishing `createAnimator` /
|
|
17
|
-
* `loadTagAnimators` as globals. A module-level side effect cannot be tree-shaken, so
|
|
18
|
-
* importing ANY symbol from `PxAnimator.ts` pulled the entire full player in with it —
|
|
19
|
-
* which silently made the pre-rendered builds the same size as the full one until this
|
|
20
|
-
* constant was moved out. See PRERENDERED-PLAYER-BUILDS.md.
|
|
21
|
-
*
|
|
22
|
-
* That block is gone (API review §4) and the package now declares `"sideEffects": false`, but
|
|
23
|
-
* keeping these here costs nothing and removes the trap for good.
|
|
24
|
-
*/
|
|
25
|
-
/**
|
|
26
|
-
* Key under which `createAnimator` options carry the inline animation document. The editor
|
|
27
|
-
* writes it into every exported SVG+JS — `createAnimator({"doc": …})` — so it is part of the
|
|
28
|
-
* export format, which is why it is a named constant and not a literal.
|
|
29
|
-
*/
|
|
30
|
-
declare const PX_ANIMATOR_DOC_KEY = "doc";
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Everything `createAnimator` takes. The playback override (`timeline`, `resetTimeline` and the
|
|
34
|
-
* four shortcuts) and the callbacks are core's shared shapes — the SAME names, inline, as the
|
|
35
|
-
* React, Vue and React Native components take (review §9) — so only what is web-specific is
|
|
36
|
-
* declared here.
|
|
37
|
-
*/
|
|
38
|
-
interface PxAnimatorOptions extends PxPlaybackOverrideProps, PxComponentCallbacks {
|
|
39
|
-
/** URL to fetch the animation document from. Provide either this or `doc`, not both. */
|
|
40
|
-
src?: string;
|
|
41
|
-
/** The animation document, inline (see SCHEMA.md). Provide either this or `src`, not both. */
|
|
42
|
-
doc?: PxAnimatedSvgDocument;
|
|
43
|
-
/** ○ A custom render target for the frame-loop engine (`PxPlatformAdapter`); omit for the DOM. */
|
|
44
|
-
adapter?: PxPlatformAdapter;
|
|
45
|
-
/** CSS selector or element to render the SVG into. */
|
|
46
|
-
container?: string | Element;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Creates an animator instance to control SVG animations.
|
|
50
|
-
*
|
|
51
|
-
* @param options.src URL to fetch the animation document from.
|
|
52
|
-
* @param options.doc The animation document, inline.
|
|
53
|
-
* @param options.container CSS selector or element to render the SVG into.
|
|
54
|
-
* @returns A PxAnimatorAPI instance to programmatically control the animation.
|
|
55
|
-
*/
|
|
56
|
-
declare function createAnimator(options: PxAnimatorOptions): PxAnimatorAPI;
|
|
57
|
-
/**
|
|
58
|
-
* Scan and load for tags, e.g.
|
|
59
|
-
* <div data-px-animation-src="animation.json"></div>
|
|
60
|
-
*/
|
|
61
|
-
/**
|
|
62
|
-
* Everything `createAnimator` takes except the three the tag supplies (`src`, `container`) or
|
|
63
|
-
* forbids (`data`): callbacks, the diagnostics channel, a playback override and its shortcuts.
|
|
64
|
-
*/
|
|
65
|
-
type PxTagAnimatorOptions = Omit<PxAnimatorOptions, 'src' | 'doc' | 'container'>;
|
|
66
|
-
/**
|
|
67
|
-
* Scan the page for `<div data-px-animation-src="animation.json">` and create one player per
|
|
68
|
-
* match, rendered into that element and stored on it. Safe to call repeatedly: elements that
|
|
69
|
-
* already carry a player are skipped.
|
|
70
|
-
*
|
|
71
|
-
* `options` applies to EVERY player this call creates (review §15) — the same callbacks, the
|
|
72
|
-
* same override. Omit it for the zero-config path.
|
|
73
|
-
*/
|
|
74
|
-
declare function loadTagAnimators(options?: PxTagAnimatorOptions): void;
|
|
1
|
+
import { P as PxAnimatorAPI } from './internal-BmFv1B6H.js';
|
|
2
|
+
export { a as PX_ANIMATOR_DOC_KEY, b as PxAnimatorOptions, c as PxBasicAnimatorAPI, d as PxInternalAnimatorOptions, e as PxTagAnimatorOptions, f as createAnimator, l as loadTagAnimators } from './internal-BmFv1B6H.js';
|
|
3
|
+
import { PxAnimatorCallbacks, PxAnimatedSvgDocument, PxTrigger, PxDiagnostics, PxNode, PxDefs } from '@pixodesk/svg-animator-core';
|
|
4
|
+
export { PxAnimatedSvgDocument, PxAnimatorCallbacks, PxAnimatorConfig, PxAnimatorConfigSchema, PxBinding, PxDefs, PxDefsSchema, PxDiagnostic, PxDiagnosticKind, PxDiagnostics, PxDiagnosticsConfig, PxEngineCallbacks, PxFillMode, PxInfer, PxNode, PxNodeBase, PxPlatformAdapter, PxPlaybackDirection, PxPlaybackOverrideProps, PxSchema, PxScrollSchema, PxStartOn, PxSvgNode, PxSvgNodeExtra, PxTimelineEngineExtra, PxTimelinePatch, PxTrigger, PxTriggerSchema, PxValidationContext, createBasicFrameLoopAnimator, generateNewIds, getNormalizedProps, px, validateDocument } from '@pixodesk/svg-animator-core';
|
|
75
5
|
|
|
76
6
|
/**
|
|
77
7
|
* Options accepted by the pre-rendered entry points — a subset of `PxAnimatorOptions`: the
|
|
78
|
-
* document
|
|
79
|
-
*
|
|
8
|
+
* document and the callbacks INLINE under the same names every surface uses (review §9). No
|
|
9
|
+
* `adapter`: a pre-rendered SVG is by definition already in the DOM (review §25.14).
|
|
10
|
+
* @public
|
|
80
11
|
*/
|
|
81
|
-
interface PxPrerenderedOptions extends
|
|
12
|
+
interface PxPrerenderedOptions extends PxAnimatorCallbacks {
|
|
82
13
|
/**
|
|
83
14
|
* The animation document. For a pre-rendered SVG this carries `animator.definitions`
|
|
84
|
-
* and `animator.
|
|
15
|
+
* and `animator.bindings` only — no `children`, because the elements are already
|
|
85
16
|
* in the DOM.
|
|
86
17
|
*/
|
|
87
18
|
doc: PxAnimatedSvgDocument;
|
|
88
|
-
/** ○ A custom render target for the frame-loop engine; omit for the DOM. */
|
|
89
|
-
adapter?: PxPlatformAdapter;
|
|
90
19
|
}
|
|
91
20
|
|
|
92
21
|
/**
|
|
@@ -117,43 +46,14 @@ interface PxPrerenderedOptions extends PxComponentCallbacks {
|
|
|
117
46
|
* @returns A disposer that detaches every listener and observer this call attached (review §14).
|
|
118
47
|
* `createAnimator` ties it to `destroy()`. Call it yourself before re-arming an element you
|
|
119
48
|
* wired by hand — otherwise the old listeners stay live next to the new ones.
|
|
49
|
+
* @public
|
|
120
50
|
*/
|
|
121
51
|
declare function setupAnimationTriggers(api: PxAnimatorAPI, config: PxTrigger, diag?: PxDiagnostics): () => void;
|
|
122
52
|
|
|
123
53
|
/**
|
|
124
54
|
* Renders a PxNode tree to DOM elements.
|
|
55
|
+
* @public @advanced
|
|
125
56
|
*/
|
|
126
57
|
declare function renderNode(node: PxNode, defs?: PxDefs, diag?: PxDiagnostics): Element | null;
|
|
127
58
|
|
|
128
|
-
|
|
129
|
-
* Creates an animator instance that uses a requestAnimationFrame loop for animations.
|
|
130
|
-
* This is the browser DOM-specific version.
|
|
131
|
-
*
|
|
132
|
-
* @param {PxAnimatorCallbacksConfig=} callbacks Optional lifecycle callbacks.
|
|
133
|
-
* @param {Element=} rootElement Optional pre-rendered root element.
|
|
134
|
-
* @returns {PxAnimatorAPI} A PxAnimatorAPI instance.
|
|
135
|
-
*/
|
|
136
|
-
declare function createFrameLoopAnimator(doc: PxAnimatedSvgDocument, adapter?: PxPlatformAdapter, callbacks?: PxAnimatorCallbacksConfig, rootElement?: Element | null): PxAnimatorAPI;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Creates an animator instance that uses the native Web Animations API.
|
|
140
|
-
*
|
|
141
|
-
* This is the preferred, more performant animator. It will return null if the
|
|
142
|
-
* animation configuration contains properties not supported by the browser's
|
|
143
|
-
* Web Animations API implementation, unless forceEvenIfHasUnsupportedAttrs is true.
|
|
144
|
-
*
|
|
145
|
-
* @param callbacks Optional lifecycle callbacks.
|
|
146
|
-
* @param rootElement Root element.
|
|
147
|
-
* @param forceEvenIfHasUnsupportedAttrs If true, an animator will be created even if some CSS properties are not supported.
|
|
148
|
-
* @returns An PxAnimatorAPI instance, or null if unsupported features are used and not forced.
|
|
149
|
-
*/
|
|
150
|
-
/** Native scroll-timeline payload (`timeline.engine: 'native'` / `auto`; see PxScrollDriver.createNativeScrollTimeline): the
|
|
151
|
-
* browser-native timeline every Animation attaches to, plus optional range offsets. */
|
|
152
|
-
interface PxWebApiScrollTimeline {
|
|
153
|
-
timeline: AnimationTimeline;
|
|
154
|
-
rangeStart?: Record<string, unknown>;
|
|
155
|
-
rangeEnd?: Record<string, unknown>;
|
|
156
|
-
}
|
|
157
|
-
declare function createWebApiAnimator(doc: PxAnimatedSvgDocument, callbacks?: PxAnimatorCallbacksConfig, rootElement?: Element | null, forceEvenIfHasUnsupportedAttrs?: boolean, scrollTimeline?: PxWebApiScrollTimeline): PxAnimatorAPI | null;
|
|
158
|
-
|
|
159
|
-
export { PX_ANIMATOR_DOC_KEY, type PxAnimatorAPI, type PxAnimatorOptions, type PxBasicAnimatorAPI, type PxPrerenderedOptions, type PxTagAnimatorOptions, createAnimator, createFrameLoopAnimator, createWebApiAnimator, loadTagAnimators, renderNode, setupAnimationTriggers };
|
|
59
|
+
export { PxAnimatorAPI, type PxPrerenderedOptions, renderNode, setupAnimationTriggers };
|