motion-dom 14.1.0 → 14.2.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.
Files changed (41) hide show
  1. package/dist/cjs/index.js +1165 -187
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/es/animation/AsyncMotionValueAnimation.mjs +19 -1
  4. package/dist/es/animation/AsyncMotionValueAnimation.mjs.map +1 -1
  5. package/dist/es/animation/JSAnimation.mjs +54 -24
  6. package/dist/es/animation/JSAnimation.mjs.map +1 -1
  7. package/dist/es/animation/NativeAnimationExtended.mjs +47 -20
  8. package/dist/es/animation/NativeAnimationExtended.mjs.map +1 -1
  9. package/dist/es/animation/generators/utils/create-generator-easing.mjs +14 -1
  10. package/dist/es/animation/generators/utils/create-generator-easing.mjs.map +1 -1
  11. package/dist/es/animation/interfaces/motion-value.mjs +1 -0
  12. package/dist/es/animation/interfaces/motion-value.mjs.map +1 -1
  13. package/dist/es/animation/keyframes/DOMKeyframesResolver.mjs +25 -1
  14. package/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.map +1 -1
  15. package/dist/es/animation/waapi/supports/waapi.mjs +1 -1
  16. package/dist/es/animation/waapi/supports/waapi.mjs.map +1 -1
  17. package/dist/es/animation/waapi/transforms/TransformAnimation.mjs +854 -0
  18. package/dist/es/animation/waapi/transforms/TransformAnimation.mjs.map +1 -0
  19. package/dist/es/animation/waapi/transforms/groups.mjs +4 -0
  20. package/dist/es/animation/waapi/transforms/groups.mjs.map +1 -0
  21. package/dist/es/effects/style/index.mjs +6 -3
  22. package/dist/es/effects/style/index.mjs.map +1 -1
  23. package/dist/es/effects/style/transform.mjs +2 -7
  24. package/dist/es/effects/style/transform.mjs.map +1 -1
  25. package/dist/es/index.mjs +3 -3
  26. package/dist/es/projection/node/create-projection-node.mjs +10 -0
  27. package/dist/es/projection/node/create-projection-node.mjs.map +1 -1
  28. package/dist/es/render/VisualElement.mjs +16 -3
  29. package/dist/es/render/VisualElement.mjs.map +1 -1
  30. package/dist/es/render/html/utils/build-transform.mjs +1 -1
  31. package/dist/es/render/html/utils/build-transform.mjs.map +1 -1
  32. package/dist/es/value/index.mjs +12 -0
  33. package/dist/es/value/index.mjs.map +1 -1
  34. package/dist/index.d.ts +77 -12
  35. package/dist/motion-dom.dev.js +1165 -187
  36. package/dist/motion-dom.js +1 -1
  37. package/dist/size-rollup-motion-value.js +1 -1
  38. package/dist/size-rollup-motion-value.js.map +1 -1
  39. package/dist/size-rollup-style-effect.js +1 -1
  40. package/dist/size-rollup-style-effect.js.map +1 -1
  41. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -1935,7 +1935,13 @@ type AnimationPlaybackControlsWithThen = AnimationPlaybackControls & {
1935
1935
  * full `AnimationPlaybackControls`; followers (`springValue`,
1936
1936
  * `followValue`) only implement these.
1937
1937
  */
1938
- type MotionValueAnimation = Pick<AnimationPlaybackControlsWithThen, "state" | "stop" | "finished" | "then">;
1938
+ type MotionValueAnimation = Pick<AnimationPlaybackControlsWithThen, "state" | "stop" | "finished" | "then"> & {
1939
+ /**
1940
+ * The value now, if the animation is running somewhere other than
1941
+ * the main thread and so isn't setting it every frame.
1942
+ */
1943
+ liveValue?: () => AnyResolvedKeyframe | undefined;
1944
+ };
1939
1945
  interface AnimationState<V> {
1940
1946
  value: V;
1941
1947
  done: boolean;
@@ -1963,6 +1969,11 @@ interface ValueAnimationOptions<V extends AnyResolvedKeyframe = number> extends
1963
1969
  isHandoff?: boolean;
1964
1970
  allowFlatten?: boolean;
1965
1971
  finalKeyframe?: V;
1972
+ /**
1973
+ * Whether the transition has its own onUpdate, which needs the value
1974
+ * every frame.
1975
+ */
1976
+ hasOnUpdate?: boolean;
1966
1977
  }
1967
1978
  type GeneratorFactoryFunction = (options: ValueAnimationOptions<any>) => KeyframeGenerator<any>;
1968
1979
  interface GeneratorFactory extends GeneratorFactoryFunction {
@@ -2620,7 +2631,12 @@ declare class MotionValue<V = any> {
2620
2631
  *
2621
2632
  * @public
2622
2633
  */
2623
- get(): NonNullable<V>;
2634
+ get(): V;
2635
+ /**
2636
+ * The value as last set. Unlike get(), this doesn't read an animation
2637
+ * running on the compositor, which renders the value itself.
2638
+ */
2639
+ getCurrent(): NonNullable<V>;
2624
2640
  /**
2625
2641
  * @public
2626
2642
  */
@@ -2742,6 +2758,10 @@ declare class AsyncMotionValueAnimation<T extends AnyResolvedKeyframe> extends W
2742
2758
  onKeyframesResolved(keyframes: ResolvedKeyframes<T>, finalKeyframe: T, options: ResolvedOptions<T>, sync: boolean): void;
2743
2759
  get finished(): Promise<any>;
2744
2760
  then(onResolve: VoidFunction, _onReject?: VoidFunction): Promise<void>;
2761
+ /**
2762
+ * The value now, if the animation runs on the compositor.
2763
+ */
2764
+ liveValue(): T | undefined;
2745
2765
  get animation(): AnimationPlaybackControls;
2746
2766
  get duration(): number;
2747
2767
  get iterationDuration(): number;
@@ -2794,6 +2814,7 @@ declare class GroupAnimationWithThen extends GroupAnimation implements Animation
2794
2814
  then(onResolve: VoidFunction, _onReject?: VoidFunction): Promise<void>;
2795
2815
  }
2796
2816
 
2817
+ declare const round: (value: number) => number;
2797
2818
  declare class JSAnimation<T extends number | string> extends WithPromise implements AnimationPlaybackControlsWithThen {
2798
2819
  state: AnimationPlayState;
2799
2820
  startTime: number | null;
@@ -2801,17 +2822,17 @@ declare class JSAnimation<T extends number | string> extends WithPromise impleme
2801
2822
  * The driver that's controlling the animation loop. Normally this is a requestAnimationFrame loop
2802
2823
  * but in tests we can pass in a synchronous loop.
2803
2824
  */
2804
- private driver?;
2805
- private isStopped;
2825
+ protected driver?: DriverControls;
2826
+ protected isStopped: boolean;
2806
2827
  /**
2807
2828
  * The start time this animation picked for itself, until its first tick.
2808
2829
  */
2809
2830
  private pendingStartTime?;
2810
2831
  private generator;
2811
2832
  private calculatedDuration;
2812
- private resolvedDuration;
2813
- private totalDuration;
2814
- private options;
2833
+ protected resolvedDuration: number;
2834
+ protected totalDuration: number;
2835
+ protected options: ValueAnimationOptions<T>;
2815
2836
  /**
2816
2837
  * The current time of the animation.
2817
2838
  */
@@ -2819,7 +2840,7 @@ declare class JSAnimation<T extends number | string> extends WithPromise impleme
2819
2840
  /**
2820
2841
  * The time at which the animation was paused.
2821
2842
  */
2822
- private holdTime;
2843
+ protected holdTime: number | null;
2823
2844
  /**
2824
2845
  * Playback speed as a factor. 0 would be stopped, -1 reverse and 2 double speed.
2825
2846
  */
@@ -2835,6 +2856,21 @@ declare class JSAnimation<T extends number | string> extends WithPromise impleme
2835
2856
  initAnimation(): void;
2836
2857
  updateTime(timestamp: number): void;
2837
2858
  tick(timestamp: number, sample?: boolean): AnimationState<T>;
2859
+ /**
2860
+ * This animation's time, including delay, at a timestamp.
2861
+ */
2862
+ at(timestamp: number): number;
2863
+ /**
2864
+ * The value at a timestamp, without changing this animation's state.
2865
+ * If resolved, it ends at the last resolved keyframe, which is in the
2866
+ * same unit as the others, rather than at finalKeyframe.
2867
+ */
2868
+ sampleAt(timestamp: number, resolved?: boolean): T;
2869
+ /**
2870
+ * The generator's state `currentTime` ms after the delay, without
2871
+ * changing the animation's own state.
2872
+ */
2873
+ protected generate(currentTime: number, isInDelayPhase: boolean): AnimationState<T>;
2838
2874
  /**
2839
2875
  * Allows the returned animation to be awaited or promise-chained. Currently
2840
2876
  * resolves when the animation finishes at all but in a future update could/should
@@ -2933,16 +2969,38 @@ declare class NativeAnimation<T extends AnyResolvedKeyframe> extends WithPromise
2933
2969
  }
2934
2970
 
2935
2971
  type NativeAnimationOptionsExtended<T extends AnyResolvedKeyframe> = NativeAnimationOptions & ValueAnimationOptions<T> & NativeAnimationOptions;
2972
+ /**
2973
+ * 10ms is chosen here as it strikes a balance between smooth
2974
+ * results (more than one keyframe per frame at 60fps) and
2975
+ * keyframe quantity.
2976
+ */
2977
+ declare const sampleDelta = 10;
2936
2978
  declare class NativeAnimationExtended<T extends AnyResolvedKeyframe> extends NativeAnimation<T> {
2937
2979
  options: NativeAnimationOptionsExtended<T>;
2938
2980
  constructor(options: NativeAnimationOptionsExtended<T>);
2981
+ private sampler?;
2982
+ /**
2983
+ * The animation's time now, in ms. Wall-clock rather than WAAPI's
2984
+ * currentTime while running, as under CPU load currentTime may not
2985
+ * reflect the actual elapsed time, causing incorrect sampling and
2986
+ * visual jumps.
2987
+ */
2988
+ private elapsed;
2989
+ /**
2990
+ * The value at a time, from a renderless JS animation.
2991
+ */
2992
+ private sample;
2993
+ /**
2994
+ * The value now, as WAAPI doesn't set the motion value while it runs.
2995
+ */
2996
+ liveValue(): T | undefined;
2939
2997
  /**
2940
2998
  * WAAPI doesn't natively have any interruption capabilities.
2941
2999
  *
2942
3000
  * Rather than read committed styles back out of the DOM, we can
2943
- * create a renderless JS animation and sample it twice to calculate
2944
- * its current value, "previous" value, and therefore allow
2945
- * Motion to calculate velocity for any subsequent animation.
3001
+ * sample a renderless JS animation twice to calculate its current
3002
+ * value, "previous" value, and therefore allow Motion to calculate
3003
+ * velocity for any subsequent animation.
2946
3004
  */
2947
3005
  updateMotionValue(value?: T): void;
2948
3006
  }
@@ -3134,6 +3192,12 @@ declare class DOMKeyframesResolver<T extends AnyResolvedKeyframe> extends Keyfra
3134
3192
  private removedTransforms?;
3135
3193
  private measuredOrigin?;
3136
3194
  constructor(unresolvedKeyframes: UnresolvedKeyframes<AnyResolvedKeyframe>, onComplete: OnKeyframesResolved<T>, name?: string, motionValue?: MotionValue<T>, element?: WithRender);
3195
+ /**
3196
+ * Keyframes that don't need reading from the DOM, or measuring,
3197
+ * resolve straight away rather than in the frame loop's batched read.
3198
+ */
3199
+ scheduleResolve(): void;
3200
+ private canReadNow;
3137
3201
  readKeyframes(): void;
3138
3202
  resolveNoneKeyframes(): void;
3139
3203
  private measure;
@@ -3173,6 +3237,7 @@ declare function startWaapiAnimation(element: Element, valueName: string, keyfra
3173
3237
 
3174
3238
  declare const supportsPartialKeyframes: () => boolean;
3175
3239
 
3240
+ declare const supportsWaapi: () => any;
3176
3241
  declare function supportsBrowserAnimation<T extends AnyResolvedKeyframe>(options: ValueAnimationOptionsWithRenderContext<T>): any;
3177
3242
 
3178
3243
  /**
@@ -5579,4 +5644,4 @@ declare const sync: Batcher;
5579
5644
  */
5580
5645
  declare const cancelSync: Record<string, (process: Process) => void>;
5581
5646
 
5582
- 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, 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, svgEffect, svgSubjectEffect, sync, testValueType, time, transform, transformAxis, transformBox, transformBoxPoints, transformPropOrder, transformProps, transformValue, transformValueTypes, translateAxis, updateMotionValuesFromProps, variantPriorityOrder, variantProps, vh, visualElementStore, vw };
5647
+ 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 };