motion-dom 14.3.1 → 14.5.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 +6871 -5516
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/animation/animate/element.mjs +26 -2
- package/dist/es/animation/animate/element.mjs.map +1 -1
- package/dist/es/animation/waapi/transforms/TransformAnimation.mjs +5 -1
- package/dist/es/animation/waapi/transforms/TransformAnimation.mjs.map +1 -1
- package/dist/es/events/add-pointer-event.mjs +9 -0
- package/dist/es/events/add-pointer-event.mjs.map +1 -0
- package/dist/es/events/event-info.mjs +14 -0
- package/dist/es/events/event-info.mjs.map +1 -0
- package/dist/es/gestures/drag/VisualElementDragControls.mjs +606 -0
- package/dist/es/gestures/drag/VisualElementDragControls.mjs.map +1 -0
- package/dist/es/gestures/drag/index.mjs +97 -0
- package/dist/es/gestures/drag/index.mjs.map +1 -0
- package/dist/es/gestures/drag/utils/constraints.mjs +129 -0
- package/dist/es/gestures/drag/utils/constraints.mjs.map +1 -0
- package/dist/es/gestures/hover.mjs +2 -0
- package/dist/es/gestures/hover.mjs.map +1 -1
- package/dist/es/gestures/pan/PanSession.mjs +275 -0
- package/dist/es/gestures/pan/PanSession.mjs.map +1 -0
- package/dist/es/gestures/press/index.mjs +3 -1
- package/dist/es/gestures/press/index.mjs.map +1 -1
- package/dist/es/gestures/press/utils/keyboard.mjs +22 -12
- package/dist/es/gestures/press/utils/keyboard.mjs.map +1 -1
- package/dist/es/gestures/utils/setup.mjs +2 -1
- package/dist/es/gestures/utils/setup.mjs.map +1 -1
- package/dist/es/index.mjs +10 -1
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/layout/LayoutAnimationBuilder.mjs +23 -2
- package/dist/es/layout/LayoutAnimationBuilder.mjs.map +1 -1
- package/dist/es/layout/animate-layout.mjs +7 -1
- package/dist/es/layout/animate-layout.mjs.map +1 -1
- package/dist/es/resize/index.mjs +2 -1
- package/dist/es/resize/index.mjs.map +1 -1
- package/dist/es/scope/active.mjs +39 -0
- package/dist/es/scope/active.mjs.map +1 -0
- package/dist/es/scope/index.mjs +122 -0
- package/dist/es/scope/index.mjs.map +1 -0
- package/dist/es/scope/media.mjs +42 -0
- package/dist/es/scope/media.mjs.map +1 -0
- package/dist/es/utils/delay.mjs +3 -1
- package/dist/es/utils/delay.mjs.map +1 -1
- package/dist/es/utils/distance.mjs +10 -0
- package/dist/es/utils/distance.mjs.map +1 -0
- package/dist/es/utils/resolve-elements.mjs +5 -4
- package/dist/es/utils/resolve-elements.mjs.map +1 -1
- package/dist/es/view/index.mjs +4 -1
- package/dist/es/view/index.mjs.map +1 -1
- package/dist/index.d.ts +371 -3
- package/dist/motion-dom.dev.js +6867 -5512
- package/dist/motion-dom.js +1 -1
- package/dist/size-rollup-style-effect.js +1 -1
- package/dist/size-rollup-style-effect.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -640,7 +640,7 @@ interface MotionNodeDraggableOptions {
|
|
|
640
640
|
*
|
|
641
641
|
* Alternatively, it can accept a `ref` to another component created with React's `useRef` hook.
|
|
642
642
|
* This `ref` should be passed both to the draggable component's `dragConstraints` prop, and the `ref`
|
|
643
|
-
* of the component you want to use as constraints.
|
|
643
|
+
* of the component you want to use as constraints. The element itself can also be passed.
|
|
644
644
|
*
|
|
645
645
|
* ```jsx
|
|
646
646
|
* // In pixels
|
|
@@ -661,7 +661,7 @@ interface MotionNodeDraggableOptions {
|
|
|
661
661
|
* }
|
|
662
662
|
* ```
|
|
663
663
|
*/
|
|
664
|
-
dragConstraints?: false | Partial<BoundingBox> | {
|
|
664
|
+
dragConstraints?: false | Partial<BoundingBox> | Element | {
|
|
665
665
|
current: Element | null;
|
|
666
666
|
};
|
|
667
667
|
/**
|
|
@@ -3464,6 +3464,11 @@ declare const styleEffect: SelectorAnimateEffect<StyleSubject>;
|
|
|
3464
3464
|
* sharing values and a renderer.
|
|
3465
3465
|
*/
|
|
3466
3466
|
declare function animateElement(element: StyleSubject, keyframes: EffectKeyframes, transition?: EffectTransition, visualElement?: VisualElement): AnimationPlaybackControlsWithThen[];
|
|
3467
|
+
/**
|
|
3468
|
+
* Detach the values styleEffect/svgEffect bound to `element`, so the
|
|
3469
|
+
* next animation reads its starting values from the DOM again.
|
|
3470
|
+
*/
|
|
3471
|
+
declare const releaseElement: (element: Element) => Map<string, MotionValue<any>> | undefined;
|
|
3467
3472
|
/**
|
|
3468
3473
|
* Hand the values styleEffect/svgEffect are rendering on `element`,
|
|
3469
3474
|
* whether bound by animate() or directly, to a VisualElement that now
|
|
@@ -3540,6 +3545,73 @@ declare const time: {
|
|
|
3540
3545
|
set: (newTime: number) => void;
|
|
3541
3546
|
};
|
|
3542
3547
|
|
|
3548
|
+
/**
|
|
3549
|
+
* @public
|
|
3550
|
+
*/
|
|
3551
|
+
interface DragOptions {
|
|
3552
|
+
/**
|
|
3553
|
+
* Restrict dragging to a single axis. By default an element can be
|
|
3554
|
+
* dragged on both axes.
|
|
3555
|
+
*/
|
|
3556
|
+
axis?: "x" | "y";
|
|
3557
|
+
/**
|
|
3558
|
+
* The permitted draggable area. Either `top`/`left`/`right`/`bottom`
|
|
3559
|
+
* distances in pixels, relative to the element's origin, or an element
|
|
3560
|
+
* the draggable element must stay within.
|
|
3561
|
+
*/
|
|
3562
|
+
constraints?: Partial<BoundingBox> | Element;
|
|
3563
|
+
/**
|
|
3564
|
+
* How far, from `0` to `1`, the element can move outside its
|
|
3565
|
+
* constraints. Can be set per edge. Defaults to `0.35`.
|
|
3566
|
+
*/
|
|
3567
|
+
elastic?: DragElastic;
|
|
3568
|
+
/**
|
|
3569
|
+
* Whether to carry the gesture's velocity into an inertia animation
|
|
3570
|
+
* on release. Defaults to `true`.
|
|
3571
|
+
*/
|
|
3572
|
+
momentum?: boolean;
|
|
3573
|
+
/**
|
|
3574
|
+
* Options for the inertia animation that runs on release.
|
|
3575
|
+
*/
|
|
3576
|
+
transition?: InertiaOptions;
|
|
3577
|
+
/**
|
|
3578
|
+
* Animate back to the origin on release.
|
|
3579
|
+
*/
|
|
3580
|
+
snapToOrigin?: boolean | "x" | "y";
|
|
3581
|
+
/**
|
|
3582
|
+
* Lock dragging to the first axis the pointer moves along.
|
|
3583
|
+
*/
|
|
3584
|
+
directionLock?: boolean;
|
|
3585
|
+
/**
|
|
3586
|
+
* Allow drag gestures to start on parent elements that are also
|
|
3587
|
+
* draggable. By default, only the innermost draggable element moves.
|
|
3588
|
+
*/
|
|
3589
|
+
propagation?: boolean;
|
|
3590
|
+
onStart?: DragHandler;
|
|
3591
|
+
onMove?: DragHandler;
|
|
3592
|
+
onEnd?: DragHandler;
|
|
3593
|
+
onDirectionLock?: (axis: "x" | "y") => void;
|
|
3594
|
+
onTransitionEnd?: () => void;
|
|
3595
|
+
/**
|
|
3596
|
+
* Called when element constraints are measured. Return a new
|
|
3597
|
+
* `BoundingBox` to override them.
|
|
3598
|
+
*/
|
|
3599
|
+
onMeasureConstraints?: (constraints: BoundingBox) => BoundingBox | void;
|
|
3600
|
+
}
|
|
3601
|
+
/**
|
|
3602
|
+
* Make elements draggable. Returns a function that removes the gesture.
|
|
3603
|
+
*
|
|
3604
|
+
* ```javascript
|
|
3605
|
+
* const stop = drag("#box", { axis: "x", constraints: { left: 0, right: 300 } })
|
|
3606
|
+
* ```
|
|
3607
|
+
*
|
|
3608
|
+
* The element's `x` and `y` are motion values shared with `animate()`
|
|
3609
|
+
* and `animateLayout()`, so these can animate the element after a drag.
|
|
3610
|
+
*
|
|
3611
|
+
* @public
|
|
3612
|
+
*/
|
|
3613
|
+
declare function drag(elementOrSelector: ElementOrSelector, options?: DragOptions): VoidFunction;
|
|
3614
|
+
|
|
3543
3615
|
declare const isDragging: {
|
|
3544
3616
|
x: boolean;
|
|
3545
3617
|
y: boolean;
|
|
@@ -3548,6 +3620,90 @@ declare function isDragActive(): boolean;
|
|
|
3548
3620
|
|
|
3549
3621
|
declare function setDragLock(axis: boolean | "x" | "y" | "lockDirection"): (() => void) | null;
|
|
3550
3622
|
|
|
3623
|
+
declare const elementDragControls: WeakMap<VisualElement<unknown, unknown, {}>, VisualElementDragControls>;
|
|
3624
|
+
interface DragControlOptions {
|
|
3625
|
+
/**
|
|
3626
|
+
* This distance after which dragging starts and a direction is locked in.
|
|
3627
|
+
*
|
|
3628
|
+
* @public
|
|
3629
|
+
*/
|
|
3630
|
+
distanceThreshold?: number;
|
|
3631
|
+
/**
|
|
3632
|
+
* Whether to immediately snap to the cursor when dragging starts.
|
|
3633
|
+
*
|
|
3634
|
+
* @public
|
|
3635
|
+
*/
|
|
3636
|
+
snapToCursor?: boolean;
|
|
3637
|
+
}
|
|
3638
|
+
declare class VisualElementDragControls {
|
|
3639
|
+
private visualElement;
|
|
3640
|
+
private panSession?;
|
|
3641
|
+
private openDragLock;
|
|
3642
|
+
isDragging: boolean;
|
|
3643
|
+
private currentDirection;
|
|
3644
|
+
private originPoint;
|
|
3645
|
+
/**
|
|
3646
|
+
* The permitted boundaries of travel, in pixels.
|
|
3647
|
+
*/
|
|
3648
|
+
private constraints;
|
|
3649
|
+
private hasMutatedConstraints;
|
|
3650
|
+
/**
|
|
3651
|
+
* The per-axis resolved elastic values.
|
|
3652
|
+
*/
|
|
3653
|
+
private elastic;
|
|
3654
|
+
/**
|
|
3655
|
+
* The latest pointer event. Used as fallback when the `cancel` and `stop` functions are called without arguments.
|
|
3656
|
+
*/
|
|
3657
|
+
private latestPointerEvent;
|
|
3658
|
+
/**
|
|
3659
|
+
* The latest pan info. Used as fallback when the `cancel` and `stop` functions are called without arguments.
|
|
3660
|
+
*/
|
|
3661
|
+
private latestPanInfo;
|
|
3662
|
+
/**
|
|
3663
|
+
* Where drag options are read from. By default these are the
|
|
3664
|
+
* VisualElement's props (as with a React `motion` component), but the
|
|
3665
|
+
* vanilla `drag()` API provides its own.
|
|
3666
|
+
*/
|
|
3667
|
+
private readProps;
|
|
3668
|
+
constructor(visualElement: VisualElement<HTMLElement>, readProps?: () => MotionNodeOptions);
|
|
3669
|
+
start(originEvent: PointerEvent, { snapToCursor, distanceThreshold }?: DragControlOptions): void;
|
|
3670
|
+
stop(event?: PointerEvent, panInfo?: PanInfo): void;
|
|
3671
|
+
cancel(): void;
|
|
3672
|
+
/**
|
|
3673
|
+
* Clean up the pan session without modifying other drag state.
|
|
3674
|
+
* This is used during unmount to ensure event listeners are removed
|
|
3675
|
+
* without affecting projection animations or drag locks.
|
|
3676
|
+
*/
|
|
3677
|
+
endPanSession(): void;
|
|
3678
|
+
private updateAxis;
|
|
3679
|
+
private resolveConstraints;
|
|
3680
|
+
private resolveRefConstraints;
|
|
3681
|
+
private startAnimation;
|
|
3682
|
+
private startAxisValueAnimation;
|
|
3683
|
+
stopAnimation(): void;
|
|
3684
|
+
/**
|
|
3685
|
+
* Drag works differently depending on which props are provided.
|
|
3686
|
+
*
|
|
3687
|
+
* - If _dragX and _dragY are provided, we output the gesture delta directly to those motion values.
|
|
3688
|
+
* - Otherwise, we apply the delta to the x/y motion values.
|
|
3689
|
+
*/
|
|
3690
|
+
private getAxisMotionValue;
|
|
3691
|
+
/**
|
|
3692
|
+
* Measure the live box - projection.layout may or may not include the
|
|
3693
|
+
* drag transform, depending on when it was measured.
|
|
3694
|
+
*/
|
|
3695
|
+
private snapToCursor;
|
|
3696
|
+
/**
|
|
3697
|
+
* When the viewport resizes we want to check if the measured constraints
|
|
3698
|
+
* have changed and, if so, reposition the element within those new constraints
|
|
3699
|
+
* relative to where it was before the resize.
|
|
3700
|
+
*/
|
|
3701
|
+
scalePositionWithinConstraints(): void;
|
|
3702
|
+
addListeners(): (() => void) | undefined;
|
|
3703
|
+
getProps(): MotionNodeOptions;
|
|
3704
|
+
}
|
|
3705
|
+
declare function expectsResolvedDragConstraints({ dragConstraints, onMeasureDragConstraints, }: MotionNodeOptions): boolean;
|
|
3706
|
+
|
|
3551
3707
|
/**
|
|
3552
3708
|
* Options for event listeners.
|
|
3553
3709
|
*
|
|
@@ -3593,6 +3749,81 @@ type OnHoverEndEvent = (event: PointerEvent) => void;
|
|
|
3593
3749
|
*/
|
|
3594
3750
|
declare function hover(elementOrSelector: ElementOrSelector, onHoverStart: OnHoverStartEvent, options?: EventOptions): VoidFunction;
|
|
3595
3751
|
|
|
3752
|
+
interface PanSessionHandlers {
|
|
3753
|
+
onSessionStart: PanHandler;
|
|
3754
|
+
onStart: PanHandler;
|
|
3755
|
+
onMove: PanHandler;
|
|
3756
|
+
onEnd: PanHandler;
|
|
3757
|
+
onSessionEnd: PanHandler;
|
|
3758
|
+
resumeAnimation: () => void;
|
|
3759
|
+
}
|
|
3760
|
+
interface PanSessionOptions {
|
|
3761
|
+
transformPagePoint?: TransformPoint;
|
|
3762
|
+
dragSnapToOrigin?: boolean | "x" | "y";
|
|
3763
|
+
distanceThreshold?: number;
|
|
3764
|
+
contextWindow?: (Window & typeof globalThis) | null;
|
|
3765
|
+
/**
|
|
3766
|
+
* Element being dragged. When provided, scroll events on its
|
|
3767
|
+
* ancestors and window are compensated so the gesture continues
|
|
3768
|
+
* smoothly during scroll.
|
|
3769
|
+
*/
|
|
3770
|
+
element?: HTMLElement | null;
|
|
3771
|
+
}
|
|
3772
|
+
declare class PanSession {
|
|
3773
|
+
private history;
|
|
3774
|
+
private startEvent;
|
|
3775
|
+
private lastMoveEvent;
|
|
3776
|
+
private lastMoveEventInfo;
|
|
3777
|
+
/**
|
|
3778
|
+
* Raw (untransformed) event info, re-transformed each frame
|
|
3779
|
+
* so transformPagePoint sees the current parent matrix.
|
|
3780
|
+
*/
|
|
3781
|
+
private lastRawMoveEventInfo;
|
|
3782
|
+
/**
|
|
3783
|
+
* Whether a pointermove has arrived since the last updatePoint.
|
|
3784
|
+
*/
|
|
3785
|
+
private hasPendingMove?;
|
|
3786
|
+
private transformPagePoint?;
|
|
3787
|
+
private handlers;
|
|
3788
|
+
private removeListeners;
|
|
3789
|
+
/**
|
|
3790
|
+
* For determining if an animation should resume after it is interrupted
|
|
3791
|
+
*/
|
|
3792
|
+
private dragSnapToOrigin;
|
|
3793
|
+
/**
|
|
3794
|
+
* The distance after which panning should start.
|
|
3795
|
+
*/
|
|
3796
|
+
private distanceThreshold;
|
|
3797
|
+
private contextWindow;
|
|
3798
|
+
/**
|
|
3799
|
+
* Scroll positions of scrollable ancestors and window.
|
|
3800
|
+
*/
|
|
3801
|
+
private scrollPositions;
|
|
3802
|
+
/**
|
|
3803
|
+
* Cleanup function for scroll listeners.
|
|
3804
|
+
*/
|
|
3805
|
+
private removeScrollListeners;
|
|
3806
|
+
constructor(event: PointerEvent, handlers: Partial<PanSessionHandlers>, { transformPagePoint, contextWindow, dragSnapToOrigin, distanceThreshold, element, }?: PanSessionOptions);
|
|
3807
|
+
/**
|
|
3808
|
+
* Start tracking scroll on ancestors and window.
|
|
3809
|
+
*/
|
|
3810
|
+
private startScrollTracking;
|
|
3811
|
+
private onElementScroll;
|
|
3812
|
+
private onWindowScroll;
|
|
3813
|
+
/**
|
|
3814
|
+
* Handle scroll compensation during drag.
|
|
3815
|
+
*
|
|
3816
|
+
* For element scroll: adjusts history origin since pageX/pageY doesn't change.
|
|
3817
|
+
* For window scroll: adjusts lastMoveEventInfo since pageX/pageY would change.
|
|
3818
|
+
*/
|
|
3819
|
+
private handleScroll;
|
|
3820
|
+
private updatePoint;
|
|
3821
|
+
private handlePointerMove;
|
|
3822
|
+
private handlePointerUp;
|
|
3823
|
+
updateHandlers(handlers: Partial<PanSessionHandlers>): void;
|
|
3824
|
+
end(): void;
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3596
3827
|
interface PressGestureInfo {
|
|
3597
3828
|
success: boolean;
|
|
3598
3829
|
}
|
|
@@ -3691,6 +3922,134 @@ type WindowResizeHandler = (info: ResizeInfo) => void;
|
|
|
3691
3922
|
declare function resize(onResize: WindowResizeHandler): VoidFunction;
|
|
3692
3923
|
declare function resize(target: ElementOrSelector, onResize: ResizeHandler<Element>): VoidFunction;
|
|
3693
3924
|
|
|
3925
|
+
/**
|
|
3926
|
+
* A media query or shorthand (see `toMediaQuery`), or named conditions.
|
|
3927
|
+
* With named conditions, setup runs when any of them match, and their
|
|
3928
|
+
* state is available as `scope.media`.
|
|
3929
|
+
*/
|
|
3930
|
+
type MediaConditions = string | Record<string, string>;
|
|
3931
|
+
interface ScopeOptions {
|
|
3932
|
+
/**
|
|
3933
|
+
* Default transition for every `animate()` call made in this scope.
|
|
3934
|
+
*/
|
|
3935
|
+
transition?: AnimationOptions;
|
|
3936
|
+
/**
|
|
3937
|
+
* Only run setup while these conditions match. When they change, the
|
|
3938
|
+
* scope is cancelled and setup runs again.
|
|
3939
|
+
*/
|
|
3940
|
+
matchMedia?: MediaConditions;
|
|
3941
|
+
}
|
|
3942
|
+
type ScopeState = "active" | "stopped" | "cancelled";
|
|
3943
|
+
interface MotionScope {
|
|
3944
|
+
/**
|
|
3945
|
+
* `"active"` until `stop()` or `cancel()` is called. Lets async work
|
|
3946
|
+
* check whether its scope has gone before it starts animating.
|
|
3947
|
+
*/
|
|
3948
|
+
state: ScopeState;
|
|
3949
|
+
/**
|
|
3950
|
+
* Whether each named `matchMedia` condition matched when setup last ran.
|
|
3951
|
+
*/
|
|
3952
|
+
media: Record<string, boolean>;
|
|
3953
|
+
/**
|
|
3954
|
+
* Run `callback` in this scope, so animations, scroll and view
|
|
3955
|
+
* listeners and gestures it starts are collected.
|
|
3956
|
+
*/
|
|
3957
|
+
run<R>(callback: () => R): R;
|
|
3958
|
+
/**
|
|
3959
|
+
* Return a function that runs `callback` in this scope, for instance
|
|
3960
|
+
* as an event handler.
|
|
3961
|
+
*/
|
|
3962
|
+
bind<F extends (...args: any[]) => any>(callback: F): F;
|
|
3963
|
+
/**
|
|
3964
|
+
* Run `callback` outside of any scope, so what it starts is not
|
|
3965
|
+
* collected and survives this scope being stopped or cancelled.
|
|
3966
|
+
*/
|
|
3967
|
+
ignore<R>(callback: () => R): R;
|
|
3968
|
+
/**
|
|
3969
|
+
* Stop everything in this scope and remove its media listeners.
|
|
3970
|
+
* Styles are left as they are.
|
|
3971
|
+
*/
|
|
3972
|
+
stop(): void;
|
|
3973
|
+
/**
|
|
3974
|
+
* As `stop()`, and restore the inline styles of every element
|
|
3975
|
+
* animated in this scope to what they were before.
|
|
3976
|
+
*/
|
|
3977
|
+
cancel(): void;
|
|
3978
|
+
/**
|
|
3979
|
+
* Cancel, then run setup again if the media conditions match.
|
|
3980
|
+
*/
|
|
3981
|
+
refresh(): void;
|
|
3982
|
+
}
|
|
3983
|
+
type ScopeSetup = (scope: MotionScope) => void | VoidFunction;
|
|
3984
|
+
/**
|
|
3985
|
+
* Create a scope that collects the animations, scroll and view
|
|
3986
|
+
* listeners, gestures and resize observers started inside it, so they
|
|
3987
|
+
* can be stopped or cancelled together.
|
|
3988
|
+
*
|
|
3989
|
+
* An optional root element or selector comes first. Selectors used
|
|
3990
|
+
* inside the scope resolve within it.
|
|
3991
|
+
*
|
|
3992
|
+
* ```js
|
|
3993
|
+
* const scope = scopeMotion(
|
|
3994
|
+
* ".list",
|
|
3995
|
+
* ({ media }) => {
|
|
3996
|
+
* animate("li", { x: media.desktop ? 100 : 0 })
|
|
3997
|
+
* },
|
|
3998
|
+
* { transition: { duration: 0.5 }, matchMedia: { desktop: ">=800" } }
|
|
3999
|
+
* )
|
|
4000
|
+
* ```
|
|
4001
|
+
*
|
|
4002
|
+
* @public
|
|
4003
|
+
*/
|
|
4004
|
+
declare function scopeMotion(setup?: ScopeSetup, options?: ScopeOptions): MotionScope;
|
|
4005
|
+
declare function scopeMotion(root: ElementOrSelector, setup?: ScopeSetup, options?: ScopeOptions): MotionScope;
|
|
4006
|
+
|
|
4007
|
+
/**
|
|
4008
|
+
* The scope that `animate()`, `scroll()`, `inView()`, gestures and
|
|
4009
|
+
* `resize()` register their cleanups with while it runs. Set by
|
|
4010
|
+
* `scopeMotion()`.
|
|
4011
|
+
*/
|
|
4012
|
+
interface ActiveScope {
|
|
4013
|
+
root?: Element;
|
|
4014
|
+
transition?: AnimationOptions;
|
|
4015
|
+
add(cleanup: VoidFunction): VoidFunction;
|
|
4016
|
+
bind<F extends (...args: any[]) => any>(callback: F): F;
|
|
4017
|
+
track(element: Element): void;
|
|
4018
|
+
}
|
|
4019
|
+
declare const activeScope: {
|
|
4020
|
+
current?: ActiveScope;
|
|
4021
|
+
};
|
|
4022
|
+
/**
|
|
4023
|
+
* Register `cleanup` with the active scope, if there is one, so stopping
|
|
4024
|
+
* the scope also runs it.
|
|
4025
|
+
*/
|
|
4026
|
+
declare function addToScope<T extends VoidFunction>(cleanup: T): T;
|
|
4027
|
+
/**
|
|
4028
|
+
* Collect the animation a builder like `animateLayout()` or
|
|
4029
|
+
* `animateView()` resolves with. If the scope stops first, the animation
|
|
4030
|
+
* is stopped as soon as it starts.
|
|
4031
|
+
*/
|
|
4032
|
+
declare function addBuilderToScope(builder: {
|
|
4033
|
+
then(resolve: (animation?: any) => void, reject?: () => void): unknown;
|
|
4034
|
+
}): void;
|
|
4035
|
+
/**
|
|
4036
|
+
* Bind `callback` to the active scope, so anything it starts later (for
|
|
4037
|
+
* instance an animation in an `inView()` callback) is collected too.
|
|
4038
|
+
*/
|
|
4039
|
+
declare const bindToScope: <F extends (...args: any[]) => any>(callback: F) => F;
|
|
4040
|
+
|
|
4041
|
+
/**
|
|
4042
|
+
* Turn a condition into a media query. Full media queries pass through
|
|
4043
|
+
* unchanged. Otherwise each space-separated token must match:
|
|
4044
|
+
*
|
|
4045
|
+
* - A width comparison: `">=800"`, `"<1200px"`, `"> 40em"`
|
|
4046
|
+
* - A keyword: `reducedMotion`, `motion`, `dark`, `light`, `hover`,
|
|
4047
|
+
* `touch`, `portrait`, `landscape`
|
|
4048
|
+
*
|
|
4049
|
+
* Prefix a token with `!` to negate it, for instance `">=800 !touch"`.
|
|
4050
|
+
*/
|
|
4051
|
+
declare function toMediaQuery(condition: string): string;
|
|
4052
|
+
|
|
3694
4053
|
declare function recordStats(): void;
|
|
3695
4054
|
|
|
3696
4055
|
interface LayoutProjectionMetrics {
|
|
@@ -4743,6 +5102,15 @@ declare function animateSingleValue<V extends AnyResolvedKeyframe>(value: Motion
|
|
|
4743
5102
|
|
|
4744
5103
|
declare function addDomEvent(target: EventTarget, eventName: string, handler: EventListener, options?: AddEventListenerOptions): () => void;
|
|
4745
5104
|
|
|
5105
|
+
type EventListenerWithPointInfo = (e: PointerEvent, info: EventInfo) => void;
|
|
5106
|
+
declare function extractEventInfo(event: PointerEvent): EventInfo;
|
|
5107
|
+
declare const addPointerInfo: (handler: EventListenerWithPointInfo) => EventListener;
|
|
5108
|
+
|
|
5109
|
+
declare function addPointerEvent(target: EventTarget, eventName: string, handler: EventListenerWithPointInfo, options?: AddEventListenerOptions): () => void;
|
|
5110
|
+
|
|
5111
|
+
declare const distance: (a: number, b: number) => number;
|
|
5112
|
+
declare function distance2D(a: Point, b: Point): number;
|
|
5113
|
+
|
|
4746
5114
|
interface WithDepth {
|
|
4747
5115
|
depth: number;
|
|
4748
5116
|
}
|
|
@@ -5681,4 +6049,4 @@ declare const sync: Batcher;
|
|
|
5681
6049
|
*/
|
|
5682
6050
|
declare const cancelSync: Record<string, (process: Process) => void>;
|
|
5683
6051
|
|
|
5684
|
-
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 DragElastic, type DragHandler, type DraggableProps, type DurationSpringOptions, type DynamicOption, type Effect, type EffectKeyframes, type EffectOptions, type EffectRead, type EffectTest, type EffectTransition, type ElementOrSelector, type EventInfo, 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 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 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, 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 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, type VisualElementEventCallbacks, type VisualElementOptions, type VisualState, type WillChange, type WithAppearProps, type WithDepth, type WithQuerySelectorAll, acceleratedValues, addAttrValue, addDomEvent, addEffect, addSVGValue, addScaleCorrector, addStyleValue, 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, 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, eachAxis, 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, progressPercentage, propEffect, propagateDirtyNodes, px, readSVGValue, readStyleValue, readTransformValue, recordStats, removeAxisDelta, removeAxisTransforms, removeBoxTransforms, removeEffect, removePointDelta, renderHTML, renderSVG, resize, resolveElements, resolveMotionValue, resolveTransition, resolveVariant, resolveVariantFromProps, rgbUnit, rgba, rootProjectionNode, round, sampleDelta, scale, scaleCorrectors, scalePoint, 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, transform, transformAxis, transformBox, transformBoxPoints, transformPropOrder, transformProps, transformValue, transformValueTypes, translateAxis, updateMotionValuesFromProps, variantPriorityOrder, variantProps, vh, visualElementStore, vw };
|
|
6052
|
+
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, 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 };
|