motion-dom 12.40.0 → 12.42.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 (45) hide show
  1. package/dist/cjs/index.js +1114 -458
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/es/animation/JSAnimation.mjs +0 -3
  4. package/dist/es/animation/JSAnimation.mjs.map +1 -1
  5. package/dist/es/animation/waapi/start-waapi-animation.mjs +1 -12
  6. package/dist/es/animation/waapi/start-waapi-animation.mjs.map +1 -1
  7. package/dist/es/events/add-dom-event.mjs +1 -1
  8. package/dist/es/events/add-dom-event.mjs.map +1 -1
  9. package/dist/es/frameloop/batcher.mjs +1 -1
  10. package/dist/es/frameloop/batcher.mjs.map +1 -1
  11. package/dist/es/frameloop/render-step.mjs +1 -12
  12. package/dist/es/frameloop/render-step.mjs.map +1 -1
  13. package/dist/es/gestures/press/index.mjs +11 -4
  14. package/dist/es/gestures/press/index.mjs.map +1 -1
  15. package/dist/es/index.mjs +0 -1
  16. package/dist/es/index.mjs.map +1 -1
  17. package/dist/es/layout/LayoutAnimationBuilder.mjs +299 -214
  18. package/dist/es/layout/LayoutAnimationBuilder.mjs.map +1 -1
  19. package/dist/es/projection/node/create-projection-node.mjs +0 -6
  20. package/dist/es/projection/node/create-projection-node.mjs.map +1 -1
  21. package/dist/es/stats/buffer.mjs.map +1 -1
  22. package/dist/es/stats/index.mjs +4 -93
  23. package/dist/es/stats/index.mjs.map +1 -1
  24. package/dist/es/view/index.mjs +123 -13
  25. package/dist/es/view/index.mjs.map +1 -1
  26. package/dist/es/view/queue.mjs +9 -3
  27. package/dist/es/view/queue.mjs.map +1 -1
  28. package/dist/es/view/start.mjs +514 -83
  29. package/dist/es/view/start.mjs.map +1 -1
  30. package/dist/es/view/utils/assign-names.mjs +146 -0
  31. package/dist/es/view/utils/assign-names.mjs.map +1 -0
  32. package/dist/es/view/utils/choose-layer-type.mjs +1 -3
  33. package/dist/es/view/utils/choose-layer-type.mjs.map +1 -1
  34. package/dist/es/view/utils/get-layer-info.mjs +3 -1
  35. package/dist/es/view/utils/get-layer-info.mjs.map +1 -1
  36. package/dist/es/view/utils/get-view-animations.mjs +6 -8
  37. package/dist/es/view/utils/get-view-animations.mjs.map +1 -1
  38. package/dist/index.d.ts +135 -52
  39. package/dist/motion-dom.dev.js +1114 -458
  40. package/dist/motion-dom.js +1 -1
  41. package/dist/size-rollup-motion-value.js.map +1 -1
  42. package/dist/size-rollup-style-effect.js.map +1 -1
  43. package/package.json +2 -2
  44. package/dist/es/stats/animation-count.mjs +0 -8
  45. package/dist/es/stats/animation-count.mjs.map +0 -1
package/dist/index.d.ts CHANGED
@@ -3346,43 +3346,21 @@ declare function resize(target: ElementOrSelector, onResize: ResizeHandler<Eleme
3346
3346
  type Update = (progress: number) => void;
3347
3347
  declare function observeTimeline(update: Update, timeline: ProgressTimeline): () => void;
3348
3348
 
3349
- declare const stepsOrder: StepId[];
3350
- type StepNames = (typeof stepsOrder)[number];
3351
-
3352
- interface Summary {
3353
- min: number;
3354
- max: number;
3355
- avg: number;
3356
- }
3357
- type FrameloopStatNames = "rate" | StepNames;
3358
- interface Stats<T> {
3359
- frameloop: {
3360
- [key in FrameloopStatNames]: T;
3361
- };
3362
- animations: {
3363
- mainThread: T;
3364
- waapi: T;
3365
- layout: T;
3366
- };
3367
- layoutProjection: {
3368
- nodes: T;
3369
- calculatedTargetDeltas: T;
3370
- calculatedProjections: T;
3371
- };
3372
- }
3373
- type StatsBuffer = number[];
3374
- type FrameStats = Stats<number>;
3375
- type StatsRecording = Stats<StatsBuffer>;
3376
- type StatsSummary = Stats<Summary>;
3377
-
3378
- declare function reportStats(): StatsSummary;
3379
- declare function recordStats(): typeof reportStats;
3349
+ declare function recordStats(): void;
3380
3350
 
3381
- declare const activeAnimations: {
3382
- layout: number;
3383
- mainThread: number;
3384
- waapi: number;
3385
- };
3351
+ interface LayoutProjectionMetrics {
3352
+ nodes: number;
3353
+ calculatedTargetDeltas: number;
3354
+ calculatedProjections: number;
3355
+ }
3356
+ interface LayoutProjectionStats {
3357
+ nodes: number[];
3358
+ calculatedTargetDeltas: number[];
3359
+ calculatedProjections: number[];
3360
+ }
3361
+ interface StatsRecording {
3362
+ layoutProjection: LayoutProjectionStats;
3363
+ }
3386
3364
 
3387
3365
  type InactiveStatsBuffer = {
3388
3366
  value: null;
@@ -3390,11 +3368,7 @@ type InactiveStatsBuffer = {
3390
3368
  };
3391
3369
  type ActiveStatsBuffer = {
3392
3370
  value: StatsRecording;
3393
- addProjectionMetrics: (metrics: {
3394
- nodes: number;
3395
- calculatedTargetDeltas: number;
3396
- calculatedProjections: number;
3397
- }) => void;
3371
+ addProjectionMetrics: (metrics: LayoutProjectionMetrics) => void;
3398
3372
  };
3399
3373
  declare const statsBuffer: InactiveStatsBuffer | ActiveStatsBuffer;
3400
3374
 
@@ -3965,8 +3939,17 @@ type ViewTransitionAnimationDefinition = {
3965
3939
  };
3966
3940
  type ViewTransitionTarget = {
3967
3941
  layout?: ViewTransitionAnimationDefinition;
3942
+ /**
3943
+ * Presence-gated: `enter` animates a pure newcomer's new view, `exit` a
3944
+ * pure leaver's old view. A survivor (present in both snapshots) gets
3945
+ * neither - it just morphs.
3946
+ */
3968
3947
  enter?: ViewTransitionAnimationDefinition;
3969
3948
  exit?: ViewTransitionAnimationDefinition;
3949
+ /**
3950
+ * View-targeted (ungated): `new`/`old` animate the new/old view whenever it
3951
+ * exists - including a survivor's, for crossfades and slide-throughs.
3952
+ */
3970
3953
  new?: ViewTransitionAnimationDefinition;
3971
3954
  old?: ViewTransitionAnimationDefinition;
3972
3955
  };
@@ -3978,22 +3961,114 @@ type ViewTransitionTargetDefinition = string | Element;
3978
3961
  declare class ViewTransitionBuilder {
3979
3962
  private currentSubject;
3980
3963
  targets: Map<ViewTransitionTargetDefinition, ViewTransitionTarget>;
3964
+ /**
3965
+ * Definitions that must be resolved to elements (and assigned a
3966
+ * `view-transition-name`) rather than treated as pre-named layers.
3967
+ */
3968
+ resolveDefs: Set<ViewTransitionTargetDefinition>;
3969
+ /**
3970
+ * Per-subject crop override: `true` forces the crop (clip + object-fit:
3971
+ * cover + animated corner radii) on, `false` forces it off. A subject with
3972
+ * no entry uses the default - crop only a genuine morph (a layer present in
3973
+ * both snapshots), so a fade-only enter/exit isn't clipped to nothing.
3974
+ */
3975
+ cropOverride: Map<ViewTransitionTargetDefinition, boolean>;
3976
+ /**
3977
+ * Subjects paired with a different new-snapshot target (the second `.add()`
3978
+ * argument), so two distinct elements share one name and morph into each
3979
+ * other - a shared-element transition.
3980
+ */
3981
+ pairs: Map<ViewTransitionTargetDefinition, ViewTransitionTargetDefinition>;
3982
+ /**
3983
+ * A `view-transition-class` to apply to each subject's resolved elements,
3984
+ * so authors can target the generated layers from CSS by class rather than
3985
+ * the opaque generated name.
3986
+ */
3987
+ classNames: Map<ViewTransitionTargetDefinition, string>;
3988
+ /**
3989
+ * Subjects opted out of automatic group nesting via `.group(false)`. Their
3990
+ * layer stays a flat top-level group (`view-transition-group: none`) instead
3991
+ * of nesting under its DOM-ancestor layer - so it animates independently and
3992
+ * escapes an ancestor's clip/transform (e.g. an element that lifts out of a
3993
+ * card and flies across, which nesting would clip to the card).
3994
+ */
3995
+ flatGroups: Set<ViewTransitionTargetDefinition>;
3981
3996
  update: () => void | Promise<void>;
3982
3997
  options: ViewTransitionOptions;
3983
3998
  notifyReady: (value: GroupAnimation) => void;
3999
+ notifyReject: (error: unknown) => void;
3984
4000
  private readyPromise;
3985
4001
  constructor(update: () => void | Promise<void>, options?: ViewTransitionOptions);
3986
- get(subject: ViewTransitionTargetDefinition): this;
3987
- layout(keyframes: DOMKeyframesDefinition, options?: AnimationOptions): this;
3988
- new(keyframes: DOMKeyframesDefinition, options?: AnimationOptions): this;
3989
- old(keyframes: DOMKeyframesDefinition, options?: AnimationOptions): this;
4002
+ /**
4003
+ * Target elements resolved from a selector or Element, each assigned a
4004
+ * `view-transition-name` automatically.
4005
+ *
4006
+ * Passing a second target pairs them: the first is resolved in the old
4007
+ * snapshot and the second in the new, sharing one name so two *different*
4008
+ * elements morph into each other (e.g. `.add(card, ".modal")`). Symmetric -
4009
+ * pass them the other way round to morph back.
4010
+ */
4011
+ add(subject: ViewTransitionTargetDefinition, newSubject?: ViewTransitionTargetDefinition): this;
4012
+ /**
4013
+ * Control this subject's crop (clip + `object-fit: cover` + animated
4014
+ * corners). By default a subject auto-crops only when it actually morphs -
4015
+ * present in both snapshots (a survivor, or an `.add(a, b)` pair). A
4016
+ * fade-only enter/exit has no second box to crop against, so it's left to
4017
+ * the browser default; in particular the `overflow: clip` a crop adds would
4018
+ * otherwise clip a mis-sized enter/exit layer to nothing.
4019
+ *
4020
+ * `.crop(false)` forces the crop off (e.g. a text morph, where
4021
+ * `object-fit: cover` clips glyphs as the box grows); `.crop(true)` forces
4022
+ * it on for a non-morph the default wouldn't otherwise crop.
4023
+ */
4024
+ crop(enabled?: boolean): this;
4025
+ /**
4026
+ * By default a subject's layer nests under its nearest DOM-ancestor layer
4027
+ * (`view-transition-group: contain`), so the ancestor's clip/transform/opacity
4028
+ * apply to it through the transition - mirroring how the DOM actually paints,
4029
+ * and letting a wrapper crop its child for the whole morph rather than only
4030
+ * once the live DOM takes back over. (Needs a browser that supports nested
4031
+ * view-transition groups; elsewhere it degrades to the flat default.)
4032
+ *
4033
+ * Call `.group(false)` to opt out: the layer stays flat and top-level, so it
4034
+ * animates independently and escapes an ancestor's clip - e.g. an element
4035
+ * that should lift out of a card and fly across, which nesting would clip.
4036
+ */
4037
+ group(enabled?: boolean): this;
4038
+ /**
4039
+ * Tag this subject's generated layers with a `view-transition-class`, so
4040
+ * they can be targeted from CSS - `::view-transition-group(.name)`,
4041
+ * `::view-transition-old/new(.name)`, `::view-transition-image-pair(.name)`
4042
+ * - without the opaque generated `view-transition-name`. Because `.add()`
4043
+ * can match many elements, a shared class targets them all at once (and,
4044
+ * for a pair, both ends). The escape hatch for z-index / custom keyframes
4045
+ * on a morph layer.
4046
+ */
4047
+ class(name: string): this;
4048
+ /**
4049
+ * Set the transition for this subject's morph. The morph is enabled
4050
+ * automatically by `.add()`; this just customises its timing (duration,
4051
+ * easing, a `delay`/`stagger`, …). On the implicit `root` subject it also
4052
+ * opts the page into the transition (the root crossfade).
4053
+ */
4054
+ layout(options?: AnimationOptions): this;
3990
4055
  enter(keyframes: DOMKeyframesDefinition, options?: AnimationOptions): this;
3991
4056
  exit(keyframes: DOMKeyframesDefinition, options?: AnimationOptions): this;
3992
- crossfade(options?: AnimationOptions): this;
4057
+ /**
4058
+ * Animate the new view directly, whether the element is appearing or
4059
+ * persisting (unlike `.enter()`, which only fires for a pure newcomer).
4060
+ * Pair with `.old()` for a crossfade or slide-through.
4061
+ */
4062
+ new(keyframes: DOMKeyframesDefinition, options?: AnimationOptions): this;
4063
+ /**
4064
+ * Animate the old view directly, whether the element is leaving or
4065
+ * persisting (unlike `.exit()`, which only fires for a pure leaver).
4066
+ */
4067
+ old(keyframes: DOMKeyframesDefinition, options?: AnimationOptions): this;
3993
4068
  updateTarget(target: "enter" | "exit" | "layout" | "new" | "old", keyframes: DOMKeyframesDefinition, options?: AnimationOptions): void;
3994
4069
  then(resolve: () => void, reject?: () => void): Promise<void>;
3995
4070
  }
3996
- declare function animateView(update: () => void | Promise<void>, defaultOptions?: ViewTransitionOptions): ViewTransitionBuilder;
4071
+ declare function animateView(update: () => void | Promise<void>, options?: ViewTransitionOptions): ViewTransitionBuilder;
3997
4072
 
3998
4073
  declare function getViewAnimationLayerInfo(pseudoElement: string): {
3999
4074
  layer: string;
@@ -5180,12 +5255,20 @@ declare class LayoutAnimationBuilder {
5180
5255
  private notifyReady;
5181
5256
  private rejectReady;
5182
5257
  private readyPromise;
5183
- constructor(scope: LayoutAnimationScope, updateDom: () => void | Promise<void>, defaultOptions?: AnimationOptions);
5258
+ private tracked;
5259
+ private restorePoints;
5260
+ private updateError;
5261
+ constructor(scope: LayoutAnimationScope, updateDom: () => void | Promise<void>, defaultOptions?: AnimationOptions | undefined);
5184
5262
  shared(id: string, transition: AnimationOptions): this;
5185
5263
  then(resolve: LayoutBuilderResolve, reject?: LayoutBuilderReject): Promise<void>;
5186
- private start;
5187
- private buildRecords;
5188
- private handleExitingElements;
5264
+ transitionFor(element: HTMLElement): Transition | undefined;
5265
+ adopt(element: HTMLElement, node: IProjectionNode): void;
5266
+ collectTargets(): HTMLElement[];
5267
+ runUpdate(): Promise<void> | undefined;
5268
+ reconcileAdditions(newMemberIds: Set<string>): void;
5269
+ reconcileRemovals(newMemberIds: Set<string>): void;
5270
+ getRoot(): IProjectionNode | undefined;
5271
+ finalize(): void;
5189
5272
  }
5190
5273
  declare function parseAnimateLayoutArgs(scopeOrUpdateDom: ElementOrSelector | (() => void), updateDomOrOptions?: (() => void) | AnimationOptions, options?: AnimationOptions): {
5191
5274
  scope: Element | Document;
@@ -5206,4 +5289,4 @@ declare const sync: Batcher;
5206
5289
  */
5207
5290
  declare const cancelSync: Record<string, (process: Process) => void>;
5208
5291
 
5209
- export { type AccelerateConfig, type AcceptedAnimations, type ActiveStatsBuffer, 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 ElementOrSelector, type EventInfo, type EventOptions, Feature, type FeatureClass, FlatTree, type FollowValueOptions, type FrameData, type FrameStats, 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 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 MotionValueEventCallbacks, type MotionValueOptions, 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 Stats, type StatsBuffer, type StatsRecording, type StatsSummary, type Step, type StepId, type Steps, type StyleKeyframesDefinition, type StyleTransitions, type Subscriber, type Summary, 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, activeAnimations, addAttrValue, addDomEvent, addScaleCorrector, addStyleValue, addValueToWillChange, alpha, analyseComplexValue, animateMotionValue, animateSingleValue, animateTarget, animateValue, 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, createGeneratorEasing, createProjectionNode, createRenderBatcher, cubicBezierAsString, defaultEasing, defaultOffset, defaultTransformValue, defaultValueTypes, degrees, delay, delayInSeconds, dimensionValueTypes, eachAxis, fillOffset, fillWildcards, findDimensionValueType, findValueType, flushKeyframeResolvers, followValue, frame, frameData, frameSteps, generateLinearEasing, getAnimatableNone, getAnimationMap, getComputedStyle, getDefaultTransition, getDefaultValueType, getFeatureDefinitions, getFinalKeyframe, getMixer, getOptimisedAppearId, getOriginIndex, getValueAsType, getValueTransition, getVariableValue, getVariantContext, getViewAnimationLayerInfo, getViewAnimations, globalProjectionState, has2DTranslate, 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, observeTimeline, optimizedAppearDataAttribute, optimizedAppearDataId, parseAnimateLayoutArgs, parseCSSVariable, parseValueFromTransform, percent, pixelsToPercent, positionalKeys, prefersReducedMotion, press, progressPercentage, propEffect, propagateDirtyNodes, px, readTransformValue, recordStats, removeAxisDelta, removeAxisTransforms, removeBoxTransforms, 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, supportedWaapiEasing, supportsBrowserAnimation, supportsFlags, supportsLinearEasing, supportsPartialKeyframes, supportsScrollTimeline, supportsViewTimeline, svgEffect, sync, testValueType, time, transform, transformAxis, transformBox, transformBoxPoints, transformPropOrder, transformProps, transformValue, transformValueTypes, translateAxis, updateMotionValuesFromProps, variantPriorityOrder, variantProps, vh, visualElementStore, vw };
5292
+ export { type AccelerateConfig, type AcceptedAnimations, type ActiveStatsBuffer, 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 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 MotionValueEventCallbacks, type MotionValueOptions, 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 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, addScaleCorrector, addStyleValue, addValueToWillChange, alpha, analyseComplexValue, animateMotionValue, animateSingleValue, animateTarget, animateValue, 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, createGeneratorEasing, createProjectionNode, createRenderBatcher, cubicBezierAsString, defaultEasing, defaultOffset, defaultTransformValue, defaultValueTypes, degrees, delay, delayInSeconds, dimensionValueTypes, eachAxis, fillOffset, fillWildcards, findDimensionValueType, findValueType, flushKeyframeResolvers, followValue, frame, frameData, frameSteps, generateLinearEasing, getAnimatableNone, getAnimationMap, getComputedStyle, getDefaultTransition, getDefaultValueType, getFeatureDefinitions, getFinalKeyframe, getMixer, getOptimisedAppearId, getOriginIndex, getValueAsType, getValueTransition, getVariableValue, getVariantContext, getViewAnimationLayerInfo, getViewAnimations, globalProjectionState, has2DTranslate, 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, observeTimeline, optimizedAppearDataAttribute, optimizedAppearDataId, parseAnimateLayoutArgs, parseCSSVariable, parseValueFromTransform, percent, pixelsToPercent, positionalKeys, prefersReducedMotion, press, progressPercentage, propEffect, propagateDirtyNodes, px, readTransformValue, recordStats, removeAxisDelta, removeAxisTransforms, removeBoxTransforms, 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, supportedWaapiEasing, supportsBrowserAnimation, supportsFlags, supportsLinearEasing, supportsPartialKeyframes, supportsScrollTimeline, supportsViewTimeline, svgEffect, sync, testValueType, time, transform, transformAxis, transformBox, transformBoxPoints, transformPropOrder, transformProps, transformValue, transformValueTypes, translateAxis, updateMotionValuesFromProps, variantPriorityOrder, variantProps, vh, visualElementStore, vw };