motion-dom 14.4.0 → 14.6.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 +413 -79
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/animation/NativeAnimation.mjs +10 -4
- package/dist/es/animation/NativeAnimation.mjs.map +1 -1
- package/dist/es/animation/animate/element.mjs +10 -1
- package/dist/es/animation/animate/element.mjs.map +1 -1
- package/dist/es/animation/generators/spring.mjs +11 -9
- package/dist/es/animation/generators/spring.mjs.map +1 -1
- package/dist/es/animation/keyframes/utils/unit-conversion.mjs +8 -7
- package/dist/es/animation/keyframes/utils/unit-conversion.mjs.map +1 -1
- package/dist/es/animation/optimized-appear/data-id.mjs +1 -3
- package/dist/es/animation/optimized-appear/data-id.mjs.map +1 -1
- package/dist/es/animation/waapi/supports/waapi.mjs +8 -2
- package/dist/es/animation/waapi/supports/waapi.mjs.map +1 -1
- package/dist/es/frameloop/process-frame.mjs +42 -0
- package/dist/es/frameloop/process-frame.mjs.map +1 -0
- package/dist/es/frameloop/render-step.mjs +15 -1
- package/dist/es/frameloop/render-step.mjs.map +1 -1
- package/dist/es/gestures/drag/VisualElementDragControls.mjs +16 -6
- package/dist/es/gestures/drag/VisualElementDragControls.mjs.map +1 -1
- package/dist/es/gestures/drag/index.mjs +16 -1
- package/dist/es/gestures/drag/index.mjs.map +1 -1
- package/dist/es/gestures/hover.mjs +2 -0
- package/dist/es/gestures/hover.mjs.map +1 -1
- package/dist/es/gestures/pan/PanSession.mjs +6 -0
- package/dist/es/gestures/pan/PanSession.mjs.map +1 -1
- 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 +7 -2
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/layout/LayoutAnimationBuilder.mjs +2 -1
- 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/projection/node/DocumentProjectionNode.mjs +8 -3
- package/dist/es/projection/node/DocumentProjectionNode.mjs.map +1 -1
- package/dist/es/projection/node/HTMLProjectionNode.mjs +4 -5
- package/dist/es/projection/node/HTMLProjectionNode.mjs.map +1 -1
- package/dist/es/projection/node/create-projection-node.mjs +21 -12
- package/dist/es/projection/node/create-projection-node.mjs.map +1 -1
- package/dist/es/projection/node/root.mjs +6 -0
- package/dist/es/projection/node/root.mjs.map +1 -0
- package/dist/es/projection/styles/default-scale-correctors.mjs +3 -4
- package/dist/es/projection/styles/default-scale-correctors.mjs.map +1 -1
- package/dist/es/render/utils/animation-state.mjs +1 -2
- package/dist/es/render/utils/animation-state.mjs.map +1 -1
- package/dist/es/render/utils/variant-props.mjs +1 -1
- package/dist/es/render/utils/variant-props.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/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 +178 -15
- package/dist/motion-dom.dev.js +413 -79
- 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 -4
package/dist/index.d.ts
CHANGED
|
@@ -3122,7 +3122,7 @@ declare function animateTarget(visualElement: VisualElement, targetAndTransition
|
|
|
3122
3122
|
declare function animateVariant(visualElement: VisualElement, variant: string, options?: VisualElementAnimationOptions): Promise<any>;
|
|
3123
3123
|
|
|
3124
3124
|
declare const optimizedAppearDataId = "framerAppearId";
|
|
3125
|
-
declare const optimizedAppearDataAttribute
|
|
3125
|
+
declare const optimizedAppearDataAttribute = "data-framer-appear-id";
|
|
3126
3126
|
|
|
3127
3127
|
type Process = (data: FrameData) => void;
|
|
3128
3128
|
type Schedule = (process: Process, keepAlive?: boolean, immediate?: boolean) => Process;
|
|
@@ -3181,10 +3181,10 @@ declare function inertia({ keyframes, velocity, power, timeConstant, bounceDampi
|
|
|
3181
3181
|
declare function defaultEasing(values: any[], easing?: EasingFunction): EasingFunction[];
|
|
3182
3182
|
declare function keyframes<T extends AnyResolvedKeyframe>({ duration, keyframes: keyframeValues, times, ease, }: ValueAnimationOptions<T>): KeyframeGenerator<T>;
|
|
3183
3183
|
|
|
3184
|
-
declare function
|
|
3185
|
-
declare
|
|
3186
|
-
|
|
3187
|
-
}
|
|
3184
|
+
declare function springGenerator(optionsOrVisualDuration?: ValueAnimationOptions<number> | number, bounce?: number): KeyframeGenerator<number>;
|
|
3185
|
+
declare const spring: typeof springGenerator & {
|
|
3186
|
+
applyToOptions: (options: Transition) => Transition;
|
|
3187
|
+
};
|
|
3188
3188
|
|
|
3189
3189
|
/**
|
|
3190
3190
|
* Implement a practical max duration for keyframe generation
|
|
@@ -3255,6 +3255,11 @@ declare function startWaapiAnimation(element: Element, valueName: string, keyfra
|
|
|
3255
3255
|
|
|
3256
3256
|
declare const supportsPartialKeyframes: () => boolean;
|
|
3257
3257
|
|
|
3258
|
+
/**
|
|
3259
|
+
* WAAPI runs on the browser's clock, so on a manual clock every animation
|
|
3260
|
+
* runs in JS where processFrame can drive it. Set the flag before starting
|
|
3261
|
+
* animations: running WAAPI animations stay on the browser's clock.
|
|
3262
|
+
*/
|
|
3258
3263
|
declare const supportsWaapi: () => any;
|
|
3259
3264
|
declare function supportsBrowserAnimation<T extends AnyResolvedKeyframe>(options: ValueAnimationOptionsWithRenderContext<T>): any;
|
|
3260
3265
|
|
|
@@ -3464,6 +3469,11 @@ declare const styleEffect: SelectorAnimateEffect<StyleSubject>;
|
|
|
3464
3469
|
* sharing values and a renderer.
|
|
3465
3470
|
*/
|
|
3466
3471
|
declare function animateElement(element: StyleSubject, keyframes: EffectKeyframes, transition?: EffectTransition, visualElement?: VisualElement): AnimationPlaybackControlsWithThen[];
|
|
3472
|
+
/**
|
|
3473
|
+
* Detach the values styleEffect/svgEffect bound to `element`, so the
|
|
3474
|
+
* next animation reads its starting values from the DOM again.
|
|
3475
|
+
*/
|
|
3476
|
+
declare const releaseElement: (element: Element) => Map<string, MotionValue<any>> | undefined;
|
|
3467
3477
|
/**
|
|
3468
3478
|
* Hand the values styleEffect/svgEffect are rendering on `element`,
|
|
3469
3479
|
* whether bound by animate() or directly, to a VisualElement that now
|
|
@@ -3527,6 +3537,26 @@ declare function createRenderBatcher(scheduleNextBatch: (callback: Function) =>
|
|
|
3527
3537
|
declare const microtask: Batcher;
|
|
3528
3538
|
declare const cancelMicrotask: (process: Process) => void;
|
|
3529
3539
|
|
|
3540
|
+
/**
|
|
3541
|
+
* Process a frame now, for driving Motion from a loop other than
|
|
3542
|
+
* window.requestAnimationFrame, like an XRSession's during an immersive
|
|
3543
|
+
* WebXR session. Wherever window.requestAnimationFrame does fire, Motion
|
|
3544
|
+
* keeps processing frames from it too.
|
|
3545
|
+
*
|
|
3546
|
+
* `timestamp` defaults to now. For a timeline you control, set
|
|
3547
|
+
* `MotionGlobalConfig.useManualTiming = true` and pass each frame's time in
|
|
3548
|
+
* milliseconds.
|
|
3549
|
+
*
|
|
3550
|
+
* Animations Motion hands to the browser (WAAPI), like `opacity` or
|
|
3551
|
+
* `transform` on an HTML or SVG element, follow the browser's clock. With
|
|
3552
|
+
* `useManualTiming` on, Motion runs those in JS instead, except for
|
|
3553
|
+
* `motion/mini`, view transitions and optimized appear animations, and
|
|
3554
|
+
* colours only the browser can mix, like `oklch()`, which jump to their end.
|
|
3555
|
+
*
|
|
3556
|
+
* Ignored when called inside a frame.
|
|
3557
|
+
*/
|
|
3558
|
+
declare const processFrame: (timestamp?: number) => void;
|
|
3559
|
+
|
|
3530
3560
|
/**
|
|
3531
3561
|
* An eventloop-synchronous alternative to performance.now().
|
|
3532
3562
|
*
|
|
@@ -3662,7 +3692,11 @@ declare class VisualElementDragControls {
|
|
|
3662
3692
|
private readProps;
|
|
3663
3693
|
constructor(visualElement: VisualElement<HTMLElement>, readProps?: () => MotionNodeOptions);
|
|
3664
3694
|
start(originEvent: PointerEvent, { snapToCursor, distanceThreshold }?: DragControlOptions): void;
|
|
3665
|
-
|
|
3695
|
+
/**
|
|
3696
|
+
* @param dragAxes - The axes to animate on release, if not the `drag`
|
|
3697
|
+
* prop's, e.g. when drag was disabled mid-gesture.
|
|
3698
|
+
*/
|
|
3699
|
+
stop(event?: PointerEvent, panInfo?: PanInfo, dragAxes?: MotionNodeOptions["drag"]): void;
|
|
3666
3700
|
cancel(): void;
|
|
3667
3701
|
/**
|
|
3668
3702
|
* Clean up the pan session without modifying other drag state.
|
|
@@ -3675,7 +3709,7 @@ declare class VisualElementDragControls {
|
|
|
3675
3709
|
private resolveRefConstraints;
|
|
3676
3710
|
private startAnimation;
|
|
3677
3711
|
private startAxisValueAnimation;
|
|
3678
|
-
|
|
3712
|
+
stopAnimation(): void;
|
|
3679
3713
|
/**
|
|
3680
3714
|
* Drag works differently depending on which props are provided.
|
|
3681
3715
|
*
|
|
@@ -3917,6 +3951,134 @@ type WindowResizeHandler = (info: ResizeInfo) => void;
|
|
|
3917
3951
|
declare function resize(onResize: WindowResizeHandler): VoidFunction;
|
|
3918
3952
|
declare function resize(target: ElementOrSelector, onResize: ResizeHandler<Element>): VoidFunction;
|
|
3919
3953
|
|
|
3954
|
+
/**
|
|
3955
|
+
* A media query or shorthand (see `toMediaQuery`), or named conditions.
|
|
3956
|
+
* With named conditions, setup runs when any of them match, and their
|
|
3957
|
+
* state is available as `scope.media`.
|
|
3958
|
+
*/
|
|
3959
|
+
type MediaConditions = string | Record<string, string>;
|
|
3960
|
+
interface ScopeOptions {
|
|
3961
|
+
/**
|
|
3962
|
+
* Default transition for every `animate()` call made in this scope.
|
|
3963
|
+
*/
|
|
3964
|
+
transition?: AnimationOptions;
|
|
3965
|
+
/**
|
|
3966
|
+
* Only run setup while these conditions match. When they change, the
|
|
3967
|
+
* scope is cancelled and setup runs again.
|
|
3968
|
+
*/
|
|
3969
|
+
matchMedia?: MediaConditions;
|
|
3970
|
+
}
|
|
3971
|
+
type ScopeState = "active" | "stopped" | "cancelled";
|
|
3972
|
+
interface MotionScope {
|
|
3973
|
+
/**
|
|
3974
|
+
* `"active"` until `stop()` or `cancel()` is called. Lets async work
|
|
3975
|
+
* check whether its scope has gone before it starts animating.
|
|
3976
|
+
*/
|
|
3977
|
+
state: ScopeState;
|
|
3978
|
+
/**
|
|
3979
|
+
* Whether each named `matchMedia` condition matched when setup last ran.
|
|
3980
|
+
*/
|
|
3981
|
+
media: Record<string, boolean>;
|
|
3982
|
+
/**
|
|
3983
|
+
* Run `callback` in this scope, so animations, scroll and view
|
|
3984
|
+
* listeners and gestures it starts are collected.
|
|
3985
|
+
*/
|
|
3986
|
+
run<R>(callback: () => R): R;
|
|
3987
|
+
/**
|
|
3988
|
+
* Return a function that runs `callback` in this scope, for instance
|
|
3989
|
+
* as an event handler.
|
|
3990
|
+
*/
|
|
3991
|
+
bind<F extends (...args: any[]) => any>(callback: F): F;
|
|
3992
|
+
/**
|
|
3993
|
+
* Run `callback` outside of any scope, so what it starts is not
|
|
3994
|
+
* collected and survives this scope being stopped or cancelled.
|
|
3995
|
+
*/
|
|
3996
|
+
ignore<R>(callback: () => R): R;
|
|
3997
|
+
/**
|
|
3998
|
+
* Stop everything in this scope and remove its media listeners.
|
|
3999
|
+
* Styles are left as they are.
|
|
4000
|
+
*/
|
|
4001
|
+
stop(): void;
|
|
4002
|
+
/**
|
|
4003
|
+
* As `stop()`, and restore the inline styles of every element
|
|
4004
|
+
* animated in this scope to what they were before.
|
|
4005
|
+
*/
|
|
4006
|
+
cancel(): void;
|
|
4007
|
+
/**
|
|
4008
|
+
* Cancel, then run setup again if the media conditions match.
|
|
4009
|
+
*/
|
|
4010
|
+
refresh(): void;
|
|
4011
|
+
}
|
|
4012
|
+
type ScopeSetup = (scope: MotionScope) => void | VoidFunction;
|
|
4013
|
+
/**
|
|
4014
|
+
* Create a scope that collects the animations, scroll and view
|
|
4015
|
+
* listeners, gestures and resize observers started inside it, so they
|
|
4016
|
+
* can be stopped or cancelled together.
|
|
4017
|
+
*
|
|
4018
|
+
* An optional root element or selector comes first. Selectors used
|
|
4019
|
+
* inside the scope resolve within it.
|
|
4020
|
+
*
|
|
4021
|
+
* ```js
|
|
4022
|
+
* const scope = scopeMotion(
|
|
4023
|
+
* ".list",
|
|
4024
|
+
* ({ media }) => {
|
|
4025
|
+
* animate("li", { x: media.desktop ? 100 : 0 })
|
|
4026
|
+
* },
|
|
4027
|
+
* { transition: { duration: 0.5 }, matchMedia: { desktop: ">=800" } }
|
|
4028
|
+
* )
|
|
4029
|
+
* ```
|
|
4030
|
+
*
|
|
4031
|
+
* @public
|
|
4032
|
+
*/
|
|
4033
|
+
declare function scopeMotion(setup?: ScopeSetup, options?: ScopeOptions): MotionScope;
|
|
4034
|
+
declare function scopeMotion(root: ElementOrSelector, setup?: ScopeSetup, options?: ScopeOptions): MotionScope;
|
|
4035
|
+
|
|
4036
|
+
/**
|
|
4037
|
+
* The scope that `animate()`, `scroll()`, `inView()`, gestures and
|
|
4038
|
+
* `resize()` register their cleanups with while it runs. Set by
|
|
4039
|
+
* `scopeMotion()`.
|
|
4040
|
+
*/
|
|
4041
|
+
interface ActiveScope {
|
|
4042
|
+
root?: Element;
|
|
4043
|
+
transition?: AnimationOptions;
|
|
4044
|
+
add(cleanup: VoidFunction): VoidFunction;
|
|
4045
|
+
bind<F extends (...args: any[]) => any>(callback: F): F;
|
|
4046
|
+
track(element: Element): void;
|
|
4047
|
+
}
|
|
4048
|
+
declare const activeScope: {
|
|
4049
|
+
current?: ActiveScope;
|
|
4050
|
+
};
|
|
4051
|
+
/**
|
|
4052
|
+
* Register `cleanup` with the active scope, if there is one, so stopping
|
|
4053
|
+
* the scope also runs it.
|
|
4054
|
+
*/
|
|
4055
|
+
declare function addToScope<T extends VoidFunction>(cleanup: T): T;
|
|
4056
|
+
/**
|
|
4057
|
+
* Collect the animation a builder like `animateLayout()` or
|
|
4058
|
+
* `animateView()` resolves with. If the scope stops first, the animation
|
|
4059
|
+
* is stopped as soon as it starts.
|
|
4060
|
+
*/
|
|
4061
|
+
declare function addBuilderToScope(builder: {
|
|
4062
|
+
then(resolve: (animation?: any) => void, reject?: () => void): unknown;
|
|
4063
|
+
}): void;
|
|
4064
|
+
/**
|
|
4065
|
+
* Bind `callback` to the active scope, so anything it starts later (for
|
|
4066
|
+
* instance an animation in an `inView()` callback) is collected too.
|
|
4067
|
+
*/
|
|
4068
|
+
declare const bindToScope: <F extends (...args: any[]) => any>(callback: F) => F;
|
|
4069
|
+
|
|
4070
|
+
/**
|
|
4071
|
+
* Turn a condition into a media query. Full media queries pass through
|
|
4072
|
+
* unchanged. Otherwise each space-separated token must match:
|
|
4073
|
+
*
|
|
4074
|
+
* - A width comparison: `">=800"`, `"<1200px"`, `"> 40em"`
|
|
4075
|
+
* - A keyword: `reducedMotion`, `motion`, `dark`, `light`, `hover`,
|
|
4076
|
+
* `touch`, `portrait`, `landscape`
|
|
4077
|
+
*
|
|
4078
|
+
* Prefix a token with `!` to negate it, for instance `">=800 !touch"`.
|
|
4079
|
+
*/
|
|
4080
|
+
declare function toMediaQuery(condition: string): string;
|
|
4081
|
+
|
|
3920
4082
|
declare function recordStats(): void;
|
|
3921
4083
|
|
|
3922
4084
|
interface LayoutProjectionMetrics {
|
|
@@ -5086,7 +5248,7 @@ interface IProjectionNode<I = unknown> {
|
|
|
5086
5248
|
setTargetDelta(delta: Delta): void;
|
|
5087
5249
|
resetTransform(): void;
|
|
5088
5250
|
resetSkewAndRotation(): void;
|
|
5089
|
-
applyTransform(box: Box, transformOnly?: boolean, output?: Box): Box;
|
|
5251
|
+
applyTransform(box: Box, transformOnly?: boolean, output?: Box, skipOwnTransform?: boolean): Box;
|
|
5090
5252
|
resolveTargetDelta(force?: boolean): void;
|
|
5091
5253
|
removeRelativeTarget(): void;
|
|
5092
5254
|
calcProjection(): void;
|
|
@@ -5453,7 +5615,7 @@ declare function createProjectionNode<I>({ attachResizeListener, defaultParent,
|
|
|
5453
5615
|
};
|
|
5454
5616
|
measurePageBox(): Box;
|
|
5455
5617
|
removeElementScroll(box: Box): Box;
|
|
5456
|
-
applyTransform(box: Box, transformOnly?: boolean, output?: Box): Box;
|
|
5618
|
+
applyTransform(box: Box, transformOnly?: boolean, output?: Box, skipOwnTransform?: boolean): Box;
|
|
5457
5619
|
removeTransform(box: Box): Box;
|
|
5458
5620
|
setTargetDelta(delta: Delta): void;
|
|
5459
5621
|
setOptions(options: ProjectionNodeOptions): void;
|
|
@@ -5600,7 +5762,7 @@ declare const DocumentProjectionNode: {
|
|
|
5600
5762
|
};
|
|
5601
5763
|
measurePageBox(): motion_utils.Box;
|
|
5602
5764
|
removeElementScroll(box: motion_utils.Box): motion_utils.Box;
|
|
5603
|
-
applyTransform(box: motion_utils.Box, transformOnly?: boolean, output?: motion_utils.Box | undefined): motion_utils.Box;
|
|
5765
|
+
applyTransform(box: motion_utils.Box, transformOnly?: boolean, output?: motion_utils.Box | undefined, skipOwnTransform?: boolean | undefined): motion_utils.Box;
|
|
5604
5766
|
removeTransform(box: motion_utils.Box): motion_utils.Box;
|
|
5605
5767
|
setTargetDelta(delta: motion_utils.Delta): void;
|
|
5606
5768
|
setOptions(options: ProjectionNodeOptions): void;
|
|
@@ -5656,9 +5818,6 @@ interface NodeGroup {
|
|
|
5656
5818
|
}
|
|
5657
5819
|
declare function nodeGroup(): NodeGroup;
|
|
5658
5820
|
|
|
5659
|
-
declare const rootProjectionNode: {
|
|
5660
|
-
current: IProjectionNode | undefined;
|
|
5661
|
-
};
|
|
5662
5821
|
declare const HTMLProjectionNode: {
|
|
5663
5822
|
new (latestValues?: ResolvedValues$1, parent?: IProjectionNode<unknown> | undefined): {
|
|
5664
5823
|
id: number;
|
|
@@ -5746,7 +5905,7 @@ declare const HTMLProjectionNode: {
|
|
|
5746
5905
|
};
|
|
5747
5906
|
measurePageBox(): motion_utils.Box;
|
|
5748
5907
|
removeElementScroll(box: motion_utils.Box): motion_utils.Box;
|
|
5749
|
-
applyTransform(box: motion_utils.Box, transformOnly?: boolean, output?: motion_utils.Box | undefined): motion_utils.Box;
|
|
5908
|
+
applyTransform(box: motion_utils.Box, transformOnly?: boolean, output?: motion_utils.Box | undefined, skipOwnTransform?: boolean | undefined): motion_utils.Box;
|
|
5750
5909
|
removeTransform(box: motion_utils.Box): motion_utils.Box;
|
|
5751
5910
|
setTargetDelta(delta: motion_utils.Delta): void;
|
|
5752
5911
|
setOptions(options: ProjectionNodeOptions): void;
|
|
@@ -5795,6 +5954,10 @@ declare const HTMLProjectionNode: {
|
|
|
5795
5954
|
};
|
|
5796
5955
|
};
|
|
5797
5956
|
|
|
5957
|
+
declare const rootProjectionNode: {
|
|
5958
|
+
current: IProjectionNode | undefined;
|
|
5959
|
+
};
|
|
5960
|
+
|
|
5798
5961
|
/**
|
|
5799
5962
|
* This should only ever be modified on the client otherwise it'll
|
|
5800
5963
|
* persist through server requests. If we need instanced states we
|
|
@@ -5916,4 +6079,4 @@ declare const sync: Batcher;
|
|
|
5916
6079
|
*/
|
|
5917
6080
|
declare const cancelSync: Record<string, (process: Process) => void>;
|
|
5918
6081
|
|
|
5919
|
-
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 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, 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 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, addAttrValue, addDomEvent, addEffect, addPointerEvent, addPointerInfo, 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, 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, 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 };
|
|
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 };
|