motion-dom 14.6.0 → 14.7.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/cjs/index.js +564 -579
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/animation/AsyncMotionValueAnimation.mjs +3 -6
- package/dist/es/animation/AsyncMotionValueAnimation.mjs.map +1 -1
- package/dist/es/animation/JSAnimation.mjs +18 -30
- package/dist/es/animation/JSAnimation.mjs.map +1 -1
- package/dist/es/animation/NativeAnimation.mjs +4 -4
- package/dist/es/animation/NativeAnimation.mjs.map +1 -1
- package/dist/es/animation/animate/effects.mjs +5 -2
- package/dist/es/animation/animate/effects.mjs.map +1 -1
- package/dist/es/animation/generators/inertia.mjs +3 -2
- package/dist/es/animation/generators/inertia.mjs.map +1 -1
- package/dist/es/animation/generators/spring.mjs +40 -44
- package/dist/es/animation/generators/spring.mjs.map +1 -1
- package/dist/es/animation/interfaces/visual-element-target.mjs +1 -1
- package/dist/es/animation/interfaces/visual-element-target.mjs.map +1 -1
- package/dist/es/animation/keyframes/DOMKeyframesResolver.mjs +7 -15
- package/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.map +1 -1
- package/dist/es/animation/keyframes/KeyframesResolver.mjs.map +1 -1
- package/dist/es/animation/utils/can-animate.mjs +1 -0
- package/dist/es/animation/utils/can-animate.mjs.map +1 -1
- package/dist/es/animation/utils/css-variables-conversion.mjs +2 -1
- package/dist/es/animation/utils/css-variables-conversion.mjs.map +1 -1
- package/dist/es/animation/utils/is-transition-defined.mjs +1 -0
- package/dist/es/animation/utils/is-transition-defined.mjs.map +1 -1
- package/dist/es/animation/waapi/transforms/TransformAnimation.mjs +44 -21
- package/dist/es/animation/waapi/transforms/TransformAnimation.mjs.map +1 -1
- package/dist/es/animation/waapi/utils/accelerated-values.mjs +4 -1
- package/dist/es/animation/waapi/utils/accelerated-values.mjs.map +1 -1
- package/dist/es/effects/style/transform.mjs +4 -20
- package/dist/es/effects/style/transform.mjs.map +1 -1
- package/dist/es/gestures/drag/VisualElementDragControls.mjs +78 -61
- package/dist/es/gestures/drag/VisualElementDragControls.mjs.map +1 -1
- package/dist/es/gestures/pan/PanSession.mjs +28 -39
- package/dist/es/gestures/pan/PanSession.mjs.map +1 -1
- package/dist/es/index.mjs +1 -1
- package/dist/es/layout/LayoutAnimationBuilder.mjs +2 -2
- package/dist/es/layout/LayoutAnimationBuilder.mjs.map +1 -1
- package/dist/es/projection/animation/mix-values.mjs +3 -11
- package/dist/es/projection/animation/mix-values.mjs.map +1 -1
- package/dist/es/projection/geometry/delta-apply.mjs +10 -6
- package/dist/es/projection/geometry/delta-apply.mjs.map +1 -1
- package/dist/es/projection/geometry/delta-calc.mjs +2 -2
- package/dist/es/projection/geometry/delta-calc.mjs.map +1 -1
- package/dist/es/projection/geometry/delta-remove.mjs +2 -2
- package/dist/es/projection/geometry/delta-remove.mjs.map +1 -1
- package/dist/es/projection/node/HTMLProjectionNode.mjs +1 -1
- package/dist/es/projection/node/HTMLProjectionNode.mjs.map +1 -1
- package/dist/es/projection/node/create-projection-node.mjs +138 -137
- package/dist/es/projection/node/create-projection-node.mjs.map +1 -1
- package/dist/es/projection/styles/transform.mjs +12 -16
- package/dist/es/projection/styles/transform.mjs.map +1 -1
- package/dist/es/projection/utils/has-transform.mjs +16 -2
- package/dist/es/projection/utils/has-transform.mjs.map +1 -1
- package/dist/es/render/VisualElement.mjs +20 -37
- package/dist/es/render/VisualElement.mjs.map +1 -1
- package/dist/es/render/dom/parse-transform.mjs +6 -17
- package/dist/es/render/dom/parse-transform.mjs.map +1 -1
- package/dist/es/render/html/HTMLVisualElement.mjs +2 -1
- package/dist/es/render/html/HTMLVisualElement.mjs.map +1 -1
- package/dist/es/render/html/utils/build-transform.mjs +25 -29
- package/dist/es/render/html/utils/build-transform.mjs.map +1 -1
- package/dist/es/render/utils/animation-state.mjs +57 -13
- package/dist/es/render/utils/animation-state.mjs.map +1 -1
- package/dist/es/utils/interpolate.mjs +2 -1
- package/dist/es/utils/interpolate.mjs.map +1 -1
- package/dist/es/utils/mix/color.mjs +2 -1
- package/dist/es/utils/mix/color.mjs.map +1 -1
- package/dist/es/utils/mix/complex.mjs +4 -4
- package/dist/es/utils/mix/complex.mjs.map +1 -1
- package/dist/es/utils/resolve-elements.mjs.map +1 -1
- package/dist/es/value/index.mjs +13 -34
- package/dist/es/value/index.mjs.map +1 -1
- package/dist/es/value/types/color/hex.mjs +13 -26
- package/dist/es/value/types/color/hex.mjs.map +1 -1
- package/dist/es/value/types/complex/index.mjs +1 -1
- package/dist/es/value/types/complex/index.mjs.map +1 -1
- package/dist/index.d.ts +72 -21
- package/dist/motion-dom.dev.js +548 -572
- package/dist/motion-dom.js +1 -1
- package/dist/size-rollup-motion-value.js +1 -1
- package/dist/size-rollup-motion-value.js.map +1 -1
- package/dist/size-rollup-style-effect.js +1 -1
- package/dist/size-rollup-style-effect.js.map +1 -1
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -941,7 +941,9 @@ interface MotionNodeLayoutOptions {
|
|
|
941
941
|
layoutScroll?: boolean;
|
|
942
942
|
/**
|
|
943
943
|
* Whether an element should be considered a "layout root", where
|
|
944
|
-
* all children will be forced to resolve relatively to it.
|
|
944
|
+
* all children will be forced to resolve relatively to it. This
|
|
945
|
+
* includes shared `layoutId` elements, which animate within the root
|
|
946
|
+
* when the previous element was also inside it.
|
|
945
947
|
* Currently used for `position: sticky` elements in Framer.
|
|
946
948
|
*/
|
|
947
949
|
layoutRoot?: boolean;
|
|
@@ -1505,6 +1507,17 @@ interface AnimationTypeState {
|
|
|
1505
1507
|
prevResolvedValues: {
|
|
1506
1508
|
[key: string]: any;
|
|
1507
1509
|
};
|
|
1510
|
+
/**
|
|
1511
|
+
* The out transition of prevProp (#1725).
|
|
1512
|
+
*/
|
|
1513
|
+
prevOut?: any;
|
|
1514
|
+
/**
|
|
1515
|
+
* Out transitions of the states that values flagged in needsAnimating
|
|
1516
|
+
* are leaving (#1725).
|
|
1517
|
+
*/
|
|
1518
|
+
out: {
|
|
1519
|
+
[key: string]: any;
|
|
1520
|
+
};
|
|
1508
1521
|
prevProp?: VariantLabels | TargetAndTransition;
|
|
1509
1522
|
}
|
|
1510
1523
|
|
|
@@ -2263,6 +2276,25 @@ interface ValueTransition extends AnimationOrchestrationOptions, AnimationPlayba
|
|
|
2263
2276
|
* @public
|
|
2264
2277
|
*/
|
|
2265
2278
|
inherit?: boolean;
|
|
2279
|
+
/**
|
|
2280
|
+
* The transition a value uses when it leaves this state for a
|
|
2281
|
+
* lower-priority one, like `whileHover` ending and values returning to
|
|
2282
|
+
* `animate`. `true` reuses this transition. Otherwise, the state being
|
|
2283
|
+
* entered defines the transition.
|
|
2284
|
+
*
|
|
2285
|
+
* On `initial`, it's used for the mount animation.
|
|
2286
|
+
*
|
|
2287
|
+
* ```jsx
|
|
2288
|
+
* <motion.div
|
|
2289
|
+
* initial={{ scale: 0, transition: { out: { delay: 1 } } }}
|
|
2290
|
+
* animate={{ scale: 1 }}
|
|
2291
|
+
* whileHover={{ scale: 2, transition: { out: true, duration: 0.2 } }}
|
|
2292
|
+
* />
|
|
2293
|
+
* ```
|
|
2294
|
+
*
|
|
2295
|
+
* @public
|
|
2296
|
+
*/
|
|
2297
|
+
out?: boolean | Transition;
|
|
2266
2298
|
/**
|
|
2267
2299
|
* If true, the animation skips straight to its final value instead of
|
|
2268
2300
|
* tweening. Used by `MotionConfig`'s `skipAnimations` to opt entire
|
|
@@ -2638,7 +2670,6 @@ declare class MotionValue<V = any> {
|
|
|
2638
2670
|
*/
|
|
2639
2671
|
jump(v: V, endAnimation?: boolean): void;
|
|
2640
2672
|
dirty(): void;
|
|
2641
|
-
private notifyChange;
|
|
2642
2673
|
addDependent(dependent: MotionValue): void;
|
|
2643
2674
|
removeDependent(dependent: MotionValue): void;
|
|
2644
2675
|
updateAndNotify: (v: V) => void;
|
|
@@ -2691,7 +2722,6 @@ declare class MotionValue<V = any> {
|
|
|
2691
2722
|
* @public
|
|
2692
2723
|
*/
|
|
2693
2724
|
isAnimating(): boolean;
|
|
2694
|
-
private clearAnimation;
|
|
2695
2725
|
/**
|
|
2696
2726
|
* Destroy and clean up subscribers to this `MotionValue`.
|
|
2697
2727
|
*
|
|
@@ -2723,7 +2753,7 @@ declare class KeyframeResolver<T extends AnyResolvedKeyframe = any> {
|
|
|
2723
2753
|
* resolver queue and flushed in the next frame. Resolvers that aren't going
|
|
2724
2754
|
* to trigger read/write thrashing don't need to be async.
|
|
2725
2755
|
*/
|
|
2726
|
-
|
|
2756
|
+
protected isAsync: boolean;
|
|
2727
2757
|
/**
|
|
2728
2758
|
* Track whether this resolver needs to perform a measurement
|
|
2729
2759
|
* to resolve its keyframes.
|
|
@@ -2889,12 +2919,6 @@ declare class JSAnimation<T extends number | string> extends WithPromise impleme
|
|
|
2889
2919
|
* changing the animation's own state.
|
|
2890
2920
|
*/
|
|
2891
2921
|
protected generate(currentTime: number, isInDelayPhase: boolean): AnimationState<T>;
|
|
2892
|
-
/**
|
|
2893
|
-
* Allows the returned animation to be awaited or promise-chained. Currently
|
|
2894
|
-
* resolves when the animation finishes at all but in a future update could/should
|
|
2895
|
-
* reject if its cancels.
|
|
2896
|
-
*/
|
|
2897
|
-
then(resolve: VoidFunction, reject?: VoidFunction): Promise<void>;
|
|
2898
2922
|
get duration(): number;
|
|
2899
2923
|
get iterationDuration(): number;
|
|
2900
2924
|
get time(): number;
|
|
@@ -2918,7 +2942,6 @@ declare class JSAnimation<T extends number | string> extends WithPromise impleme
|
|
|
2918
2942
|
finish(): void;
|
|
2919
2943
|
cancel(): void;
|
|
2920
2944
|
private teardown;
|
|
2921
|
-
private stopDriver;
|
|
2922
2945
|
sample(sampleTime: number): AnimationState<T>;
|
|
2923
2946
|
attachTimeline(timeline: TimelineWithFallback): VoidFunction;
|
|
2924
2947
|
}
|
|
@@ -3207,9 +3230,8 @@ declare function isGenerator(type?: AnimationGeneratorType): type is GeneratorFa
|
|
|
3207
3230
|
declare class DOMKeyframesResolver<T extends AnyResolvedKeyframe> extends KeyframeResolver<T> {
|
|
3208
3231
|
name: string;
|
|
3209
3232
|
element?: WithRender;
|
|
3210
|
-
private removedTransforms?;
|
|
3211
3233
|
private measuredOrigin?;
|
|
3212
|
-
|
|
3234
|
+
protected isAsync: boolean;
|
|
3213
3235
|
/**
|
|
3214
3236
|
* Keyframes that don't need reading from the DOM, or measuring,
|
|
3215
3237
|
* resolve straight away rather than in the frame loop's batched read.
|
|
@@ -3265,6 +3287,10 @@ declare function supportsBrowserAnimation<T extends AnyResolvedKeyframe>(options
|
|
|
3265
3287
|
|
|
3266
3288
|
/**
|
|
3267
3289
|
* A list of values that can be hardware-accelerated.
|
|
3290
|
+
*
|
|
3291
|
+
* Colors aren't included: WAAPI mixes them in sRGB, but JS animations
|
|
3292
|
+
* (and the sampler that estimates a WAAPI value on interrupt) mix them
|
|
3293
|
+
* in linear color space, so interrupting one would visibly jump.
|
|
3268
3294
|
*/
|
|
3269
3295
|
declare const acceleratedValues: Set<string>;
|
|
3270
3296
|
|
|
@@ -3417,6 +3443,12 @@ interface WithQuerySelectorAll {
|
|
|
3417
3443
|
interface AnimationScope<T = any> {
|
|
3418
3444
|
readonly current: T;
|
|
3419
3445
|
animations: any[];
|
|
3446
|
+
/**
|
|
3447
|
+
* Set by useAnimate() from MotionConfig, so timelines created with
|
|
3448
|
+
* this scope follow the same settings.
|
|
3449
|
+
*/
|
|
3450
|
+
reduceMotion?: boolean;
|
|
3451
|
+
skipAnimations?: boolean;
|
|
3420
3452
|
}
|
|
3421
3453
|
interface SelectorCache {
|
|
3422
3454
|
[key: string]: NodeListOf<Element>;
|
|
@@ -3672,6 +3704,11 @@ declare class VisualElementDragControls {
|
|
|
3672
3704
|
*/
|
|
3673
3705
|
private constraints;
|
|
3674
3706
|
private hasMutatedConstraints;
|
|
3707
|
+
/**
|
|
3708
|
+
* The `layoutScroll` ancestors' scroll (see measureScroll) when ref
|
|
3709
|
+
* constraints were last measured.
|
|
3710
|
+
*/
|
|
3711
|
+
private scroll?;
|
|
3675
3712
|
/**
|
|
3676
3713
|
* The per-axis resolved elastic values.
|
|
3677
3714
|
*/
|
|
@@ -3814,7 +3851,7 @@ declare class PanSession {
|
|
|
3814
3851
|
private hasPendingMove?;
|
|
3815
3852
|
private transformPagePoint?;
|
|
3816
3853
|
private handlers;
|
|
3817
|
-
private removeListeners
|
|
3854
|
+
private removeListeners?;
|
|
3818
3855
|
/**
|
|
3819
3856
|
* For determining if an animation should resume after it is interrupted
|
|
3820
3857
|
*/
|
|
@@ -3831,7 +3868,7 @@ declare class PanSession {
|
|
|
3831
3868
|
/**
|
|
3832
3869
|
* Cleanup function for scroll listeners.
|
|
3833
3870
|
*/
|
|
3834
|
-
private removeScrollListeners
|
|
3871
|
+
private removeScrollListeners?;
|
|
3835
3872
|
constructor(event: PointerEvent, handlers: Partial<PanSessionHandlers>, { transformPagePoint, contextWindow, dragSnapToOrigin, distanceThreshold, element, }?: PanSessionOptions);
|
|
3836
3873
|
/**
|
|
3837
3874
|
* Start tracking scroll on ancestors and window.
|
|
@@ -4534,6 +4571,7 @@ interface ComplexValueInfo {
|
|
|
4534
4571
|
declare function hasComplexValues(value: AnyResolvedKeyframe): boolean;
|
|
4535
4572
|
declare function analyseComplexValue(value: AnyResolvedKeyframe): ComplexValueInfo;
|
|
4536
4573
|
declare function parseComplexValue(v: AnyResolvedKeyframe): ComplexValues;
|
|
4574
|
+
declare function buildTransformer({ split, types }: ComplexValueInfo): (v: Array<CSSVariableToken | Color | number | string>) => string;
|
|
4537
4575
|
declare function createTransformer(source: AnyResolvedKeyframe): (v: (string | number | Color)[]) => string;
|
|
4538
4576
|
declare function getAnimatableNone$1(v: AnyResolvedKeyframe): string;
|
|
4539
4577
|
declare const complex: {
|
|
@@ -5047,8 +5085,13 @@ declare function applyBoxDelta(box: Box, { x, y }: Delta): void;
|
|
|
5047
5085
|
* in a tree upon our box before then calculating how to project it into our desired viewport-relative box
|
|
5048
5086
|
*
|
|
5049
5087
|
* This is the final nested loop within updateLayoutDelta for future refactoring
|
|
5088
|
+
*
|
|
5089
|
+
* isSharedTransition is true for a shared layout animation in page space, which
|
|
5090
|
+
* also applies ancestor scroll and transforms. Or it's the layoutRoot a shared
|
|
5091
|
+
* animation is relative to, so only transforms of ancestors not shared with it
|
|
5092
|
+
* (or above it) are applied.
|
|
5050
5093
|
*/
|
|
5051
|
-
declare function applyTreeDeltas(box: Box, treeScale: Point, treePath: any[], isSharedTransition?:
|
|
5094
|
+
declare function applyTreeDeltas(box: Box, treeScale: Point, treePath: any[], isSharedTransition?: any): void;
|
|
5052
5095
|
declare function translateAxis(axis: Axis, distance: number): void;
|
|
5053
5096
|
/**
|
|
5054
5097
|
* Apply a transform to an axis from the latest resolved motion values.
|
|
@@ -5225,6 +5268,7 @@ interface IProjectionNode<I = unknown> {
|
|
|
5225
5268
|
unblockUpdate(): void;
|
|
5226
5269
|
isUpdating: boolean;
|
|
5227
5270
|
needsReset: boolean;
|
|
5271
|
+
needsShow?: boolean;
|
|
5228
5272
|
startUpdate(): void;
|
|
5229
5273
|
willUpdate(notifyListeners?: boolean): void;
|
|
5230
5274
|
didUpdate(): void;
|
|
@@ -5248,7 +5292,7 @@ interface IProjectionNode<I = unknown> {
|
|
|
5248
5292
|
setTargetDelta(delta: Delta): void;
|
|
5249
5293
|
resetTransform(): void;
|
|
5250
5294
|
resetSkewAndRotation(): void;
|
|
5251
|
-
applyTransform(box: Box, transformOnly?: boolean, output?: Box, skipOwnTransform?: boolean): Box;
|
|
5295
|
+
applyTransform(box: Box, transformOnly?: boolean, output?: Box, skipOwnTransform?: boolean, start?: number): Box;
|
|
5252
5296
|
resolveTargetDelta(force?: boolean): void;
|
|
5253
5297
|
removeRelativeTarget(): void;
|
|
5254
5298
|
calcProjection(): void;
|
|
@@ -5514,6 +5558,11 @@ declare function createProjectionNode<I>({ attachResizeListener, defaultParent,
|
|
|
5514
5558
|
* its projection styles.
|
|
5515
5559
|
*/
|
|
5516
5560
|
needsReset: boolean;
|
|
5561
|
+
/**
|
|
5562
|
+
* Set when this node gives up its layoutId, so styles it was given
|
|
5563
|
+
* while following another node are cleared on its next render.
|
|
5564
|
+
*/
|
|
5565
|
+
needsShow?: boolean | undefined;
|
|
5517
5566
|
/**
|
|
5518
5567
|
* Flags whether this node should have its transform reset prior to measuring.
|
|
5519
5568
|
*/
|
|
@@ -5615,7 +5664,7 @@ declare function createProjectionNode<I>({ attachResizeListener, defaultParent,
|
|
|
5615
5664
|
};
|
|
5616
5665
|
measurePageBox(): Box;
|
|
5617
5666
|
removeElementScroll(box: Box): Box;
|
|
5618
|
-
applyTransform(box: Box, transformOnly?: boolean, output?: Box, skipOwnTransform?: boolean): Box;
|
|
5667
|
+
applyTransform(box: Box, transformOnly?: boolean, output?: Box, skipOwnTransform?: boolean, start?: number): Box;
|
|
5619
5668
|
removeTransform(box: Box): Box;
|
|
5620
5669
|
setTargetDelta(delta: Delta): void;
|
|
5621
5670
|
setOptions(options: ProjectionNodeOptions): void;
|
|
@@ -5714,6 +5763,7 @@ declare const DocumentProjectionNode: {
|
|
|
5714
5763
|
isUpdating: boolean;
|
|
5715
5764
|
isSVG: boolean;
|
|
5716
5765
|
needsReset: boolean;
|
|
5766
|
+
needsShow?: boolean | undefined;
|
|
5717
5767
|
shouldResetTransform: boolean;
|
|
5718
5768
|
hasCheckedOptimisedAppear: boolean;
|
|
5719
5769
|
treeScale: motion_utils.Point;
|
|
@@ -5762,7 +5812,7 @@ declare const DocumentProjectionNode: {
|
|
|
5762
5812
|
};
|
|
5763
5813
|
measurePageBox(): motion_utils.Box;
|
|
5764
5814
|
removeElementScroll(box: motion_utils.Box): motion_utils.Box;
|
|
5765
|
-
applyTransform(box: motion_utils.Box, transformOnly?: boolean, output?: motion_utils.Box | undefined, skipOwnTransform?: boolean | undefined): motion_utils.Box;
|
|
5815
|
+
applyTransform(box: motion_utils.Box, transformOnly?: boolean, output?: motion_utils.Box | undefined, skipOwnTransform?: boolean | undefined, start?: number): motion_utils.Box;
|
|
5766
5816
|
removeTransform(box: motion_utils.Box): motion_utils.Box;
|
|
5767
5817
|
setTargetDelta(delta: motion_utils.Delta): void;
|
|
5768
5818
|
setOptions(options: ProjectionNodeOptions): void;
|
|
@@ -5857,6 +5907,7 @@ declare const HTMLProjectionNode: {
|
|
|
5857
5907
|
isUpdating: boolean;
|
|
5858
5908
|
isSVG: boolean;
|
|
5859
5909
|
needsReset: boolean;
|
|
5910
|
+
needsShow?: boolean | undefined;
|
|
5860
5911
|
shouldResetTransform: boolean;
|
|
5861
5912
|
hasCheckedOptimisedAppear: boolean;
|
|
5862
5913
|
treeScale: motion_utils.Point;
|
|
@@ -5905,7 +5956,7 @@ declare const HTMLProjectionNode: {
|
|
|
5905
5956
|
};
|
|
5906
5957
|
measurePageBox(): motion_utils.Box;
|
|
5907
5958
|
removeElementScroll(box: motion_utils.Box): motion_utils.Box;
|
|
5908
|
-
applyTransform(box: motion_utils.Box, transformOnly?: boolean, output?: motion_utils.Box | undefined, skipOwnTransform?: boolean | undefined): motion_utils.Box;
|
|
5959
|
+
applyTransform(box: motion_utils.Box, transformOnly?: boolean, output?: motion_utils.Box | undefined, skipOwnTransform?: boolean | undefined, start?: number): motion_utils.Box;
|
|
5909
5960
|
removeTransform(box: motion_utils.Box): motion_utils.Box;
|
|
5910
5961
|
setTargetDelta(delta: motion_utils.Delta): void;
|
|
5911
5962
|
setOptions(options: ProjectionNodeOptions): void;
|
|
@@ -6079,4 +6130,4 @@ declare const sync: Batcher;
|
|
|
6079
6130
|
*/
|
|
6080
6131
|
declare const cancelSync: Record<string, (process: Process) => void>;
|
|
6081
6132
|
|
|
6082
|
-
export { type AccelerateConfig, type AcceptedAnimations, type ActiveStatsBuffer, type AddEffectValue, type AnimateEffect, type AnimationDefinition, type AnimationGeneratorName, type AnimationGeneratorType, type AnimationList, type AnimationOptions, type AnimationOrchestrationOptions, type AnimationPlaybackControls, type AnimationPlaybackControlsWithThen, type AnimationPlaybackLifecycles, type AnimationPlaybackOptions, type AnimationScope, type AnimationState$1 as AnimationState, type AnimationType, type AnimationTypeState, type AnyResolvedKeyframe, type ArcOptions, AsyncMotionValueAnimation, type Batcher, type CSSStyleDeclarationWithTransform, type CSSVariableName, type CSSVariableToken, type CancelProcess, type Color, type ComplexValueInfo, type ComplexValues, type DOMKeyframesDefinition, DOMKeyframesResolver, type DOMValueAnimationOptions, DOMVisualElement, type DOMVisualElementOptions, type DecayOptions, type DelayedFunction, DocumentProjectionNode, type DragControlOptions, type DragElastic, type DragHandler, type DragOptions, type DraggableProps, type DurationSpringOptions, type DynamicOption, type Effect, type EffectKeyframes, type EffectOptions, type EffectRead, type EffectTest, type EffectTransition, type ElementOrSelector, type EventInfo, type EventListenerWithPointInfo, type EventOptions, Feature, type FeatureClass, FlatTree, type FollowValueOptions, type FrameData, type GeneratorFactory, type GeneratorFactoryFunction, GroupAnimation, GroupAnimationWithThen, type GroupedAnimations, type HSLA, HTMLProjectionNode, type HTMLRenderState, HTMLVisualElement, type HandoffFunction, type IProjectionNode, type InactiveStatsBuffer, type InertiaOptions, type InitialPromotionConfig, type InterpolateOptions, JSAnimation, type KeyframeGenerator, type KeyframeOptions, KeyframeResolver, LayoutAnimationBuilder, type LayoutEvents, type LayoutLifecycles, type LayoutProjectionMetrics, type LayoutProjectionStats, type LayoutUpdateData, type LayoutUpdateHandler, type LegacyAnimationControls, type MapInputRange, type Measurements, type MediaConditions, type Mixer, type MixerFactory, type MotionConfigContextProps, type MotionNodeAdvancedOptions, type MotionNodeAnimationOptions, type MotionNodeDragHandlers, type MotionNodeDraggableOptions, type MotionNodeEventOptions, type MotionNodeFocusHandlers, type MotionNodeHoverHandlers, type MotionNodeLayoutOptions, type MotionNodeOptions, type MotionNodePanHandlers, type MotionNodeTapHandlers, type MotionNodeViewportOptions, type MotionPath, type MotionScope, type MotionStyle, MotionValue, type MotionValueAnimation, type MotionValueEventCallbacks, type MotionValueOptions, MotionValueState, type MultiTransformer, NativeAnimation, NativeAnimationExtended, type NativeAnimationOptions, type NativeAnimationOptionsExtended, NativeAnimationWrapper, type NodeGroup, NodeStack, type NumberMap, ObjectVisualElement, type OnHoverEndEvent, type OnHoverStartEvent, type OnKeyframesResolved, type OnPressEndEvent, type OnPressStartEvent, type Owner, type PanHandler, type PanInfo, PanSession, type PassiveEffect, type PathInterpolator, type PathState, type Phase, type Point2D, type PointerEventOptions, type PresenceContextProps, type PressGestureInfo, type Process, type ProgressTimeline, type ProjectionEventName, type ProjectionNodeConfig, type ProjectionNodeOptions, type PropagateOptions, type RGBA, type ReducedMotionConfig, type RepeatType, type ResolvedConstraints, type ResolvedElastic, type ResolvedKeyframes, type ResolvedValueKeyframe, type ResolvedValues$1 as ResolvedValues, type SVGAttributes, type SVGForcedAttrKeyframesDefinition, type SVGForcedAttrProperties, type SVGForcedAttrTransitions, type SVGKeyframesDefinition, type SVGPathKeyframesDefinition, type SVGPathProperties, type SVGPathTransitions, type SVGRenderState, type SVGTransitions, SVGVisualElement, type ScaleCorrectionNode, type ScaleCorrector, type ScaleCorrectorDefinition, type ScaleCorrectorMap, type Schedule, type ScopeOptions, type ScopeSetup, type ScopeState, type ScrapeMotionValuesFromProps, type ScrollMeasurements, type SelectorCache, type SingleTransformer, type Spring, type SpringOptions, type StaggerOptions, type StaggerOrigin, type StartAnimation, type StatsRecording, type Step, type StepId, type Steps, type StyleKeyframesDefinition, type StyleSubject, type StyleTransitions, type Subscriber, type TapHandlers, type TapInfo, type Target, type TargetAndTransition, type TargetResolver, type TimelineWithFallback, type TransformInputRange, type TransformOptions, type TransformOrigin, type TransformProperties, type TransformTemplate, type Transformer, type Transition, type TransitionWithValueOverrides, type Tween, type UnresolvedKeyframes, type UnresolvedValueKeyframe, type UseRenderState, type ValueAnimationOptions, type ValueAnimationOptionsWithRenderContext, type ValueAnimationTransition, type ValueAnimationWithDynamicDelay, type ValueIndexes, type ValueKeyframe, type ValueKeyframesDefinition, type ValueTransformer, type ValueTransition, type ValueType, type ValueTypeMap, type VariableKeyframesDefinition, type VariableTransitions, type Variant, type VariantLabels, type Variants, type VelocityOptions, type ViewTransitionAnimationDefinition, ViewTransitionBuilder, type ViewTransitionOptions, type ViewTransitionTarget, type ViewTransitionTargetDefinition, type ViewportEventHandler, type ViewportOptions, VisualElement, type VisualElementAnimationOptions, VisualElementDragControls, type VisualElementEventCallbacks, type VisualElementOptions, type VisualState, type WillChange, type WithAppearProps, type WithDepth, type WithQuerySelectorAll, acceleratedValues, activeScope, addAttrValue, addBuilderToScope, addDomEvent, addEffect, addPointerEvent, addPointerInfo, addSVGValue, addScaleCorrector, addStyleValue, addToScope, addValueToWillChange, alpha, analyseComplexValue, animateEffectSubject, animateElement, animateLayout, animateMotionValue, animateSingleValue, animateTarget, animateValue, animateValues, animateVariant, animateView, animateVisualElement, animationMapKey, applyAxisDelta, applyBoxDelta, applyGeneratorOptions, applyPointDelta, applyPxDefaults, applyTreeDeltas, arc, aspectRatio, attachFollow, attachSpring, attrEffect, axisDeltaEquals, axisEquals, axisEqualsRounded, bindToScope, boxEquals, boxEqualsRounded, buildHTMLStyles, buildProjectionTransform, buildSVGAttrs, buildSVGPath, buildTransform, calcAxisDelta, calcBoxDelta, calcChildStagger, calcGeneratorDuration, calcLength, calcRelativeAxis, calcRelativeAxisPosition, calcRelativeBox, calcRelativePosition, camelCaseAttributes, camelToDash, cancelFrame, cancelMicrotask, cancelSync, checkVariantsDidChange, cleanDirtyNodes, collectMotionValues, color, compareByDepth, complex, containsCSSVariable, convertBoundingBoxToBox, convertBoxToBoundingBox, convertOffsetToTimes, copyAxisDeltaInto, copyAxisInto, copyBoxInto, correctBorderRadius, correctBoxShadow, createAnimationState, createAxis, createAxisDelta, createBox, createDelta, createEffect, createGeneratorEasing, createProjectionNode, createRenderBatcher, cubicBezierAsString, defaultEasing, defaultOffset, defaultTransformValue, defaultValueTypes, degrees, delay, delayInSeconds, dimensionValueTypes, distance, distance2D, drag, eachAxis, elementDragControls, expectsResolvedDragConstraints, extractEventInfo, fillOffset, fillWildcards, findDimensionValueType, findEffect, findValueType, flushKeyframeResolvers, followValue, frame, frameData, frameSteps, generateLinearEasing, getAnimatableNone, getAnimationMap, getComputedStyle, getDefaultTransition, getDefaultValueType, getFeatureDefinitions, getFinalKeyframe, getMixer, getOptimisedAppearId, getOriginIndex, getValueAsType, getValueTransition, getVariableValue, getVariantContext, getViewAnimationLayerInfo, getViewAnimations, globalProjectionState, handOffElementState, has2DTranslate, hasComplexValues, hasReducedMotionListener, hasScale, hasTransform, hex, hover, hsla, hslaToRgba, inertia, initPrefersReducedMotion, interpolate, invisibleValues, isAnimationControls, isCSSVariableName, isCSSVariableToken, isControllingVariants, isDeltaZero, isDragActive, isDragging, isElementKeyboardAccessible, isElementTextInput, isForcedMotionValue, isGenerator, isHTMLElement, isKeyframesTarget, isMotionValue, isNear, isNodeOrChild, isPrimaryPointer, isSVGElement, isSVGSVGElement, isSVGTag, isTransitionDefined, isVariantLabel, isVariantNode, isWaapiSupportedEasing, isWillChangeMotionValue, keyframes, makeAnimationInstant, mapEasingToNativeEasing, mapValue, maxGeneratorDuration, measurePageBox, measureViewportBox, microtask, mix, mixArray, mixColor, mixComplex, mixImmediate, mixLinearColor, mixNumber, mixObject, mixValues, mixVisibility, motionValue, nodeGroup, number, numberValueTypes, optimizedAppearDataAttribute, optimizedAppearDataId, originProps, parseAnimateLayoutArgs, parseCSSVariable, parseValueFromTransform, percent, pixelsToPercent, positionalKeys, prefersReducedMotion, press, processFrame, progressPercentage, propEffect, propagateDirtyNodes, px, readSVGValue, readStyleValue, readTransformValue, recordStats, releaseElement, removeAxisDelta, removeAxisTransforms, removeBoxTransforms, removeEffect, removePointDelta, renderHTML, renderSVG, resize, resolveElements, resolveMotionValue, resolveTransition, resolveVariant, resolveVariantFromProps, rgbUnit, rgba, rootProjectionNode, round, sampleDelta, scale, scaleCorrectors, scalePoint, scopeMotion, scrapeMotionValuesFromProps$1 as scrapeHTMLMotionValuesFromProps, scrapeMotionValuesFromProps as scrapeSVGMotionValuesFromProps, setDragLock, setFeatureDefinitions, setStyle, setTarget, spring, springValue, stagger, startWaapiAnimation, statsBuffer, styleEffect, styleSubjectEffect, supportedWaapiEasing, supportsBrowserAnimation, supportsFlags, supportsLinearEasing, supportsPartialKeyframes, supportsScrollTimeline, supportsViewTimeline, supportsWaapi, svgEffect, svgSubjectEffect, sync, testValueType, time, toMediaQuery, transform, transformAxis, transformBox, transformBoxPoints, transformPropOrder, transformProps, transformValue, transformValueTypes, translateAxis, updateMotionValuesFromProps, variantPriorityOrder, variantProps, vh, visualElementStore, vw };
|
|
6133
|
+
export { type AccelerateConfig, type AcceptedAnimations, type ActiveStatsBuffer, type AddEffectValue, type AnimateEffect, type AnimationDefinition, type AnimationGeneratorName, type AnimationGeneratorType, type AnimationList, type AnimationOptions, type AnimationOrchestrationOptions, type AnimationPlaybackControls, type AnimationPlaybackControlsWithThen, type AnimationPlaybackLifecycles, type AnimationPlaybackOptions, type AnimationScope, type AnimationState$1 as AnimationState, type AnimationType, type AnimationTypeState, type AnyResolvedKeyframe, type ArcOptions, AsyncMotionValueAnimation, type Batcher, type CSSStyleDeclarationWithTransform, type CSSVariableName, type CSSVariableToken, type CancelProcess, type Color, type ComplexValueInfo, type ComplexValues, type DOMKeyframesDefinition, DOMKeyframesResolver, type DOMValueAnimationOptions, DOMVisualElement, type DOMVisualElementOptions, type DecayOptions, type DelayedFunction, DocumentProjectionNode, type DragControlOptions, type DragElastic, type DragHandler, type DragOptions, type DraggableProps, type DurationSpringOptions, type DynamicOption, type Effect, type EffectKeyframes, type EffectOptions, type EffectRead, type EffectTest, type EffectTransition, type ElementOrSelector, type EventInfo, type EventListenerWithPointInfo, type EventOptions, Feature, type FeatureClass, FlatTree, type FollowValueOptions, type FrameData, type GeneratorFactory, type GeneratorFactoryFunction, GroupAnimation, GroupAnimationWithThen, type GroupedAnimations, type HSLA, HTMLProjectionNode, type HTMLRenderState, HTMLVisualElement, type HandoffFunction, type IProjectionNode, type InactiveStatsBuffer, type InertiaOptions, type InitialPromotionConfig, type InterpolateOptions, JSAnimation, type KeyframeGenerator, type KeyframeOptions, KeyframeResolver, LayoutAnimationBuilder, type LayoutEvents, type LayoutLifecycles, type LayoutProjectionMetrics, type LayoutProjectionStats, type LayoutUpdateData, type LayoutUpdateHandler, type LegacyAnimationControls, type MapInputRange, type Measurements, type MediaConditions, type Mixer, type MixerFactory, type MotionConfigContextProps, type MotionNodeAdvancedOptions, type MotionNodeAnimationOptions, type MotionNodeDragHandlers, type MotionNodeDraggableOptions, type MotionNodeEventOptions, type MotionNodeFocusHandlers, type MotionNodeHoverHandlers, type MotionNodeLayoutOptions, type MotionNodeOptions, type MotionNodePanHandlers, type MotionNodeTapHandlers, type MotionNodeViewportOptions, type MotionPath, type MotionScope, type MotionStyle, MotionValue, type MotionValueAnimation, type MotionValueEventCallbacks, type MotionValueOptions, MotionValueState, type MultiTransformer, NativeAnimation, NativeAnimationExtended, type NativeAnimationOptions, type NativeAnimationOptionsExtended, NativeAnimationWrapper, type NodeGroup, NodeStack, type NumberMap, ObjectVisualElement, type OnHoverEndEvent, type OnHoverStartEvent, type OnKeyframesResolved, type OnPressEndEvent, type OnPressStartEvent, type Owner, type PanHandler, type PanInfo, PanSession, type PassiveEffect, type PathInterpolator, type PathState, type Phase, type Point2D, type PointerEventOptions, type PresenceContextProps, type PressGestureInfo, type Process, type ProgressTimeline, type ProjectionEventName, type ProjectionNodeConfig, type ProjectionNodeOptions, type PropagateOptions, type RGBA, type ReducedMotionConfig, type RepeatType, type ResolvedConstraints, type ResolvedElastic, type ResolvedKeyframes, type ResolvedValueKeyframe, type ResolvedValues$1 as ResolvedValues, type SVGAttributes, type SVGForcedAttrKeyframesDefinition, type SVGForcedAttrProperties, type SVGForcedAttrTransitions, type SVGKeyframesDefinition, type SVGPathKeyframesDefinition, type SVGPathProperties, type SVGPathTransitions, type SVGRenderState, type SVGTransitions, SVGVisualElement, type ScaleCorrectionNode, type ScaleCorrector, type ScaleCorrectorDefinition, type ScaleCorrectorMap, type Schedule, type ScopeOptions, type ScopeSetup, type ScopeState, type ScrapeMotionValuesFromProps, type ScrollMeasurements, type SelectorCache, type SingleTransformer, type Spring, type SpringOptions, type StaggerOptions, type StaggerOrigin, type StartAnimation, type StatsRecording, type Step, type StepId, type Steps, type StyleKeyframesDefinition, type StyleSubject, type StyleTransitions, type Subscriber, type TapHandlers, type TapInfo, type Target, type TargetAndTransition, type TargetResolver, type TimelineWithFallback, type TransformInputRange, type TransformOptions, type TransformOrigin, type TransformProperties, type TransformTemplate, type Transformer, type Transition, type TransitionWithValueOverrides, type Tween, type UnresolvedKeyframes, type UnresolvedValueKeyframe, type UseRenderState, type ValueAnimationOptions, type ValueAnimationOptionsWithRenderContext, type ValueAnimationTransition, type ValueAnimationWithDynamicDelay, type ValueIndexes, type ValueKeyframe, type ValueKeyframesDefinition, type ValueTransformer, type ValueTransition, type ValueType, type ValueTypeMap, type VariableKeyframesDefinition, type VariableTransitions, type Variant, type VariantLabels, type Variants, type VelocityOptions, type ViewTransitionAnimationDefinition, ViewTransitionBuilder, type ViewTransitionOptions, type ViewTransitionTarget, type ViewTransitionTargetDefinition, type ViewportEventHandler, type ViewportOptions, VisualElement, type VisualElementAnimationOptions, VisualElementDragControls, type VisualElementEventCallbacks, type VisualElementOptions, type VisualState, type WillChange, type WithAppearProps, type WithDepth, type WithQuerySelectorAll, acceleratedValues, activeScope, addAttrValue, addBuilderToScope, addDomEvent, addEffect, addPointerEvent, addPointerInfo, addSVGValue, addScaleCorrector, addStyleValue, addToScope, addValueToWillChange, alpha, analyseComplexValue, animateEffectSubject, animateElement, animateLayout, animateMotionValue, animateSingleValue, animateTarget, animateValue, animateValues, animateVariant, animateView, animateVisualElement, animationMapKey, applyAxisDelta, applyBoxDelta, applyGeneratorOptions, applyPointDelta, applyPxDefaults, applyTreeDeltas, arc, aspectRatio, attachFollow, attachSpring, attrEffect, axisDeltaEquals, axisEquals, axisEqualsRounded, bindToScope, boxEquals, boxEqualsRounded, buildHTMLStyles, buildProjectionTransform, buildSVGAttrs, buildSVGPath, buildTransform, buildTransformer, calcAxisDelta, calcBoxDelta, calcChildStagger, calcGeneratorDuration, calcLength, calcRelativeAxis, calcRelativeAxisPosition, calcRelativeBox, calcRelativePosition, camelCaseAttributes, camelToDash, cancelFrame, cancelMicrotask, cancelSync, checkVariantsDidChange, cleanDirtyNodes, collectMotionValues, color, compareByDepth, complex, containsCSSVariable, convertBoundingBoxToBox, convertBoxToBoundingBox, convertOffsetToTimes, copyAxisDeltaInto, copyAxisInto, copyBoxInto, correctBorderRadius, correctBoxShadow, createAnimationState, createAxis, createAxisDelta, createBox, createDelta, createEffect, createGeneratorEasing, createProjectionNode, createRenderBatcher, cubicBezierAsString, defaultEasing, defaultOffset, defaultTransformValue, defaultValueTypes, degrees, delay, delayInSeconds, dimensionValueTypes, distance, distance2D, drag, eachAxis, elementDragControls, expectsResolvedDragConstraints, extractEventInfo, fillOffset, fillWildcards, findDimensionValueType, findEffect, findValueType, flushKeyframeResolvers, followValue, frame, frameData, frameSteps, generateLinearEasing, getAnimatableNone, getAnimationMap, getComputedStyle, getDefaultTransition, getDefaultValueType, getFeatureDefinitions, getFinalKeyframe, getMixer, getOptimisedAppearId, getOriginIndex, getValueAsType, getValueTransition, getVariableValue, getVariantContext, getViewAnimationLayerInfo, getViewAnimations, globalProjectionState, handOffElementState, has2DTranslate, hasComplexValues, hasReducedMotionListener, hasScale, hasTransform, hex, hover, hsla, hslaToRgba, inertia, initPrefersReducedMotion, interpolate, invisibleValues, isAnimationControls, isCSSVariableName, isCSSVariableToken, isControllingVariants, isDeltaZero, isDragActive, isDragging, isElementKeyboardAccessible, isElementTextInput, isForcedMotionValue, isGenerator, isHTMLElement, isKeyframesTarget, isMotionValue, isNear, isNodeOrChild, isPrimaryPointer, isSVGElement, isSVGSVGElement, isSVGTag, isTransitionDefined, isVariantLabel, isVariantNode, isWaapiSupportedEasing, isWillChangeMotionValue, keyframes, makeAnimationInstant, mapEasingToNativeEasing, mapValue, maxGeneratorDuration, measurePageBox, measureViewportBox, microtask, mix, mixArray, mixColor, mixComplex, mixImmediate, mixLinearColor, mixNumber, mixObject, mixValues, mixVisibility, motionValue, nodeGroup, number, numberValueTypes, optimizedAppearDataAttribute, optimizedAppearDataId, originProps, parseAnimateLayoutArgs, parseCSSVariable, parseValueFromTransform, percent, pixelsToPercent, positionalKeys, prefersReducedMotion, press, processFrame, progressPercentage, propEffect, propagateDirtyNodes, px, readSVGValue, readStyleValue, readTransformValue, recordStats, releaseElement, removeAxisDelta, removeAxisTransforms, removeBoxTransforms, removeEffect, removePointDelta, renderHTML, renderSVG, resize, resolveElements, resolveMotionValue, resolveTransition, resolveVariant, resolveVariantFromProps, rgbUnit, rgba, rootProjectionNode, round, sampleDelta, scale, scaleCorrectors, scalePoint, scopeMotion, scrapeMotionValuesFromProps$1 as scrapeHTMLMotionValuesFromProps, scrapeMotionValuesFromProps as scrapeSVGMotionValuesFromProps, setDragLock, setFeatureDefinitions, setStyle, setTarget, spring, springValue, stagger, startWaapiAnimation, statsBuffer, styleEffect, styleSubjectEffect, supportedWaapiEasing, supportsBrowserAnimation, supportsFlags, supportsLinearEasing, supportsPartialKeyframes, supportsScrollTimeline, supportsViewTimeline, supportsWaapi, svgEffect, svgSubjectEffect, sync, testValueType, time, toMediaQuery, transform, transformAxis, transformBox, transformBoxPoints, transformPropOrder, transformProps, transformValue, transformValueTypes, translateAxis, updateMotionValuesFromProps, variantPriorityOrder, variantProps, vh, visualElementStore, vw };
|