motion-dom 13.4.5 → 13.5.1
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 +698 -790
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/animation/FollowAnimation.mjs +1 -4
- package/dist/es/animation/FollowAnimation.mjs.map +1 -1
- package/dist/es/animation/NativeAnimation.mjs +5 -5
- package/dist/es/animation/NativeAnimation.mjs.map +1 -1
- package/dist/es/animation/drivers/frame.mjs +2 -1
- package/dist/es/animation/drivers/frame.mjs.map +1 -1
- package/dist/es/animation/generators/spring.mjs +64 -35
- package/dist/es/animation/generators/spring.mjs.map +1 -1
- package/dist/es/animation/interfaces/visual-element-target.mjs +2 -4
- package/dist/es/animation/interfaces/visual-element-target.mjs.map +1 -1
- package/dist/es/animation/interfaces/visual-element-variant.mjs +29 -49
- package/dist/es/animation/interfaces/visual-element-variant.mjs.map +1 -1
- package/dist/es/animation/interfaces/visual-element.mjs +5 -14
- package/dist/es/animation/interfaces/visual-element.mjs.map +1 -1
- package/dist/es/animation/utils/notify-inspector.mjs +1 -1
- package/dist/es/animation/utils/notify-inspector.mjs.map +1 -1
- package/dist/es/effects/MotionValueState.mjs +6 -1
- package/dist/es/effects/MotionValueState.mjs.map +1 -1
- package/dist/es/effects/style/index.mjs +1 -1
- package/dist/es/effects/style/index.mjs.map +1 -1
- package/dist/es/effects/svg/index.mjs +18 -7
- package/dist/es/effects/svg/index.mjs.map +1 -1
- package/dist/es/frameloop/batcher.mjs +5 -6
- package/dist/es/frameloop/batcher.mjs.map +1 -1
- package/dist/es/frameloop/frame-data.mjs +12 -0
- package/dist/es/frameloop/frame-data.mjs.map +1 -0
- package/dist/es/frameloop/frame.mjs +3 -2
- package/dist/es/frameloop/frame.mjs.map +1 -1
- package/dist/es/frameloop/sync-time.mjs +1 -1
- package/dist/es/frameloop/sync-time.mjs.map +1 -1
- package/dist/es/index.mjs +3 -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/projection/animation/mix-values.mjs +1 -1
- package/dist/es/projection/animation/mix-values.mjs.map +1 -1
- package/dist/es/projection/node/create-projection-node.mjs +11 -1
- package/dist/es/projection/node/create-projection-node.mjs.map +1 -1
- package/dist/es/projection/styles/default-scale-correctors.mjs +18 -0
- package/dist/es/projection/styles/default-scale-correctors.mjs.map +1 -0
- package/dist/es/projection/styles/scale-correction.mjs +1 -14
- package/dist/es/projection/styles/scale-correction.mjs.map +1 -1
- package/dist/es/projection/utils/each-axis.mjs.map +1 -1
- package/dist/es/render/VisualElement.mjs +29 -59
- package/dist/es/render/VisualElement.mjs.map +1 -1
- package/dist/es/render/svg/SVGVisualElement.mjs +19 -1
- package/dist/es/render/svg/SVGVisualElement.mjs.map +1 -1
- package/dist/es/render/utils/animation-state.mjs +144 -267
- package/dist/es/render/utils/animation-state.mjs.map +1 -1
- package/dist/es/render/utils/resolve-dynamic-variants.mjs +7 -3
- package/dist/es/render/utils/resolve-dynamic-variants.mjs.map +1 -1
- package/dist/es/render/utils/resolve-variants.mjs +8 -19
- package/dist/es/render/utils/resolve-variants.mjs.map +1 -1
- package/dist/es/scroll/observe.mjs +4 -0
- package/dist/es/scroll/observe.mjs.map +1 -1
- package/dist/es/value/follow-value.mjs +8 -85
- package/dist/es/value/follow-value.mjs.map +1 -1
- package/dist/es/value/spring-value.mjs +8 -3
- package/dist/es/value/spring-value.mjs.map +1 -1
- package/dist/es/value/utils/as-number.mjs +4 -0
- package/dist/es/value/utils/as-number.mjs.map +1 -0
- package/dist/es/value/utils/follow.mjs +94 -0
- package/dist/es/value/utils/follow.mjs.map +1 -0
- package/dist/index.d.ts +55 -30
- package/dist/motion-dom.dev.js +698 -790
- 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 +6 -5
package/dist/index.d.ts
CHANGED
|
@@ -1477,6 +1477,16 @@ interface AnimationState$1 {
|
|
|
1477
1477
|
reset: () => void;
|
|
1478
1478
|
}
|
|
1479
1479
|
type AnimationList = string[] | TargetAndTransition[];
|
|
1480
|
+
/**
|
|
1481
|
+
* Diffs the element's animation props (one layer per AnimationType, highest
|
|
1482
|
+
* priority wins each value) against the previous call and starts animations
|
|
1483
|
+
* for what changed.
|
|
1484
|
+
*
|
|
1485
|
+
* Uses `any` type for visualElement to avoid circular dependencies. It reads
|
|
1486
|
+
* props, parent, presenceContext, variantChildren, enteringChildren,
|
|
1487
|
+
* manuallyAnimateOnMount, blockInitialAnimation, getValue(),
|
|
1488
|
+
* getBaseTargetFromProps(), baseTarget and initialValues.
|
|
1489
|
+
*/
|
|
1480
1490
|
declare function createAnimationState(visualElement: any): AnimationState$1;
|
|
1481
1491
|
declare function checkVariantsDidChange(prev: any, next: any): boolean;
|
|
1482
1492
|
interface AnimationTypeState {
|
|
@@ -1562,6 +1572,12 @@ declare abstract class VisualElement<Instance = unknown, RenderState = unknown,
|
|
|
1562
1572
|
* It's currently used to measure SVG elements when a new transform property is bound.
|
|
1563
1573
|
*/
|
|
1564
1574
|
onBindTransform?(): void;
|
|
1575
|
+
/**
|
|
1576
|
+
* The value getValue starts a new motion value from when it isn't given
|
|
1577
|
+
* a default. Without it, values start unread and the keyframe resolver
|
|
1578
|
+
* reads their origin.
|
|
1579
|
+
*/
|
|
1580
|
+
getDefaultValue?(key: string): AnyResolvedKeyframe | undefined;
|
|
1565
1581
|
/**
|
|
1566
1582
|
* If the component child is provided as a motion value, handle subscriptions
|
|
1567
1583
|
* with the renderer-specific VisualElement.
|
|
@@ -1702,15 +1718,6 @@ declare abstract class VisualElement<Instance = unknown, RenderState = unknown,
|
|
|
1702
1718
|
* if any motion values need to be removed after props are updated.
|
|
1703
1719
|
*/
|
|
1704
1720
|
private prevMotionValues;
|
|
1705
|
-
/**
|
|
1706
|
-
* When values are removed from all animation props we need to search
|
|
1707
|
-
* for a fallback value to animate to. These values are tracked in baseTarget.
|
|
1708
|
-
*/
|
|
1709
|
-
private baseTarget;
|
|
1710
|
-
/**
|
|
1711
|
-
* Create an object of the values we initially animated from (if initial prop present).
|
|
1712
|
-
*/
|
|
1713
|
-
private initialValues;
|
|
1714
1721
|
/**
|
|
1715
1722
|
* Track whether this element has been mounted before, to detect
|
|
1716
1723
|
* remounts after Suspense unmount/remount cycles.
|
|
@@ -1762,11 +1769,6 @@ declare abstract class VisualElement<Instance = unknown, RenderState = unknown,
|
|
|
1762
1769
|
*/
|
|
1763
1770
|
getDefaultTransition(): Transition | undefined;
|
|
1764
1771
|
getTransformPagePoint(): any;
|
|
1765
|
-
getClosestVariantNode(): VisualElement | undefined;
|
|
1766
|
-
/**
|
|
1767
|
-
* Add a child visual element to our set of children.
|
|
1768
|
-
*/
|
|
1769
|
-
addVariantChild(child: VisualElement): (() => boolean) | undefined;
|
|
1770
1772
|
/**
|
|
1771
1773
|
* Add a motion value and bind it to this visual element.
|
|
1772
1774
|
*/
|
|
@@ -1796,11 +1798,6 @@ declare abstract class VisualElement<Instance = unknown, RenderState = unknown,
|
|
|
1796
1798
|
* only hydrated on creation and when we first read a value.
|
|
1797
1799
|
*/
|
|
1798
1800
|
setBaseTarget(key: string, value: AnyResolvedKeyframe): void;
|
|
1799
|
-
/**
|
|
1800
|
-
* Find the base target for a value thats been removed from all animation
|
|
1801
|
-
* props.
|
|
1802
|
-
*/
|
|
1803
|
-
getBaseTarget(key: string): ResolvedValues$1[string] | undefined | null;
|
|
1804
1801
|
on<EventName extends keyof VisualElementEventCallbacks>(eventName: EventName, callback: VisualElementEventCallbacks[EventName]): VoidFunction;
|
|
1805
1802
|
notify<EventName extends keyof VisualElementEventCallbacks>(eventName: EventName, ...args: any): void;
|
|
1806
1803
|
scheduleRenderMicrotask(): void;
|
|
@@ -1866,8 +1863,20 @@ interface ValueAnimationOptionsWithRenderContext<V extends AnyResolvedKeyframe =
|
|
|
1866
1863
|
}
|
|
1867
1864
|
interface TimelineWithFallback {
|
|
1868
1865
|
timeline?: ProgressTimeline;
|
|
1866
|
+
/**
|
|
1867
|
+
* @deprecated Passed by framer-motion 13.0–13.4 for ViewTimelines.
|
|
1868
|
+
* Removed in v14.
|
|
1869
|
+
*/
|
|
1869
1870
|
rangeStart?: string;
|
|
1871
|
+
/**
|
|
1872
|
+
* @deprecated Passed by framer-motion 13.0–13.4 for ViewTimelines.
|
|
1873
|
+
* Removed in v14.
|
|
1874
|
+
*/
|
|
1870
1875
|
rangeEnd?: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* Called with the WAAPI animation once it's attached to `timeline`.
|
|
1878
|
+
*/
|
|
1879
|
+
onAttach?: (animation: Animation) => void;
|
|
1871
1880
|
observe: (animation: AnimationPlaybackControls) => VoidFunction;
|
|
1872
1881
|
}
|
|
1873
1882
|
/**
|
|
@@ -2051,7 +2060,9 @@ interface DurationSpringOptions {
|
|
|
2051
2060
|
/**
|
|
2052
2061
|
* `bounce` determines the "bounciness" of a spring animation.
|
|
2053
2062
|
*
|
|
2054
|
-
* `0` is no bounce, and `1` is extremely bouncy.
|
|
2063
|
+
* `0` is no bounce, and `1` is extremely bouncy. Negative values, down to
|
|
2064
|
+
* `-1`, make an overdamped spring that starts quicker and eases more
|
|
2065
|
+
* gently into its target.
|
|
2055
2066
|
*
|
|
2056
2067
|
* If `duration` is set, this defaults to `0.25`.
|
|
2057
2068
|
*
|
|
@@ -2924,7 +2935,7 @@ declare class NativeAnimation<T extends AnyResolvedKeyframe> extends WithPromise
|
|
|
2924
2935
|
/**
|
|
2925
2936
|
* Attaches a timeline to the animation, for instance the `ScrollTimeline`.
|
|
2926
2937
|
*/
|
|
2927
|
-
attachTimeline({ timeline,
|
|
2938
|
+
attachTimeline({ timeline, onAttach, observe, ...range }: TimelineWithFallback): VoidFunction;
|
|
2928
2939
|
}
|
|
2929
2940
|
|
|
2930
2941
|
type NativeAnimationOptionsExtended<T extends AnyResolvedKeyframe> = NativeAnimationOptions & ValueAnimationOptions<T> & NativeAnimationOptions;
|
|
@@ -3346,6 +3357,7 @@ interface SelectorAnimateEffect<T extends object> extends SelectorEffect<T> {
|
|
|
3346
3357
|
read: EffectRead<T>;
|
|
3347
3358
|
}
|
|
3348
3359
|
|
|
3360
|
+
declare const originProps: Set<string>;
|
|
3349
3361
|
declare const addStyleValue: (element: HTMLElement | SVGElement, state: MotionValueState, key: string, value: MotionValue) => VoidFunction;
|
|
3350
3362
|
type StyleSubject = HTMLElement | SVGElement;
|
|
3351
3363
|
/**
|
|
@@ -3405,10 +3417,10 @@ declare const addSVGValue: (element: SVGElement, state: MotionValueState, key: s
|
|
|
3405
3417
|
* Reads the current value of `key` from an SVG element as the origin of
|
|
3406
3418
|
* an animation, as the SVG VisualElement does: transforms start from
|
|
3407
3419
|
* their defaults, CSS variables and the few CSS-only properties come from
|
|
3408
|
-
* computed style
|
|
3409
|
-
* and everything else is read from the
|
|
3410
|
-
* (`strokeWidth` -> `stroke-width`) or, failing
|
|
3411
|
-
* (`baseFrequency`).
|
|
3420
|
+
* computed style, falling back to the attribute when that's empty (e.g.
|
|
3421
|
+
* the element isn't rendered), and everything else is read from the
|
|
3422
|
+
* attribute, dash-cased (`strokeWidth` -> `stroke-width`) or, failing
|
|
3423
|
+
* that, as written (`baseFrequency`).
|
|
3412
3424
|
*/
|
|
3413
3425
|
declare const readSVGValue: (element: SVGElement, key: string) => any;
|
|
3414
3426
|
/**
|
|
@@ -3420,10 +3432,15 @@ declare const svgEffect: SelectorAnimateEffect<SVGElement>;
|
|
|
3420
3432
|
|
|
3421
3433
|
declare const frame: Batcher;
|
|
3422
3434
|
declare const cancelFrame: (process: Process) => void;
|
|
3423
|
-
declare const frameData: FrameData;
|
|
3424
3435
|
declare const frameSteps: Steps;
|
|
3425
3436
|
|
|
3426
|
-
|
|
3437
|
+
/**
|
|
3438
|
+
* The frameloop's state, kept apart from the frameloop itself so that
|
|
3439
|
+
* reading it doesn't bundle the scheduler.
|
|
3440
|
+
*/
|
|
3441
|
+
declare const frameData: FrameData;
|
|
3442
|
+
|
|
3443
|
+
declare function createRenderBatcher(scheduleNextBatch: (callback: Function) => void, allowKeepAlive: boolean, state?: FrameData): {
|
|
3427
3444
|
schedule: Batcher;
|
|
3428
3445
|
cancel: (process: Process) => void;
|
|
3429
3446
|
state: FrameData;
|
|
@@ -3598,6 +3615,10 @@ declare function resize(onResize: WindowResizeHandler): VoidFunction;
|
|
|
3598
3615
|
declare function resize(target: ElementOrSelector, onResize: ResizeHandler<Element>): VoidFunction;
|
|
3599
3616
|
|
|
3600
3617
|
type Update = (progress: number) => void;
|
|
3618
|
+
/**
|
|
3619
|
+
* @deprecated Kept because framer-motion 13.0–13.4 import it from
|
|
3620
|
+
* motion-dom with a ^ range. Removed in v14.
|
|
3621
|
+
*/
|
|
3601
3622
|
declare function observeTimeline(update: Update, timeline: ProgressTimeline): () => void;
|
|
3602
3623
|
|
|
3603
3624
|
declare function recordStats(): void;
|
|
@@ -4413,6 +4434,11 @@ declare class SVGVisualElement extends DOMVisualElement<SVGElement, SVGRenderSta
|
|
|
4413
4434
|
type: string;
|
|
4414
4435
|
isSVGTag: boolean;
|
|
4415
4436
|
getBaseTargetFromProps(props: MotionNodeOptions, key: string): AnyResolvedKeyframe | MotionValue<any> | undefined;
|
|
4437
|
+
/**
|
|
4438
|
+
* An independent transform's origin is never read from the DOM, so it
|
|
4439
|
+
* starts from its latest or default value and renders on mount.
|
|
4440
|
+
*/
|
|
4441
|
+
getDefaultValue(key: string): AnyResolvedKeyframe | undefined;
|
|
4416
4442
|
readValueFromInstance(instance: SVGElement, key: string): any;
|
|
4417
4443
|
measureInstanceViewportBox: () => motion_utils.Box;
|
|
4418
4444
|
scrapeMotionValuesFromProps(props: MotionNodeOptions, prevProps: MotionNodeOptions, visualElement: VisualElement): {
|
|
@@ -4613,8 +4639,7 @@ declare function boxEqualsRounded(a: Box, b: Box): boolean;
|
|
|
4613
4639
|
declare function aspectRatio(box: Box): number;
|
|
4614
4640
|
declare function axisDeltaEquals(a: AxisDelta, b: AxisDelta): boolean;
|
|
4615
4641
|
|
|
4616
|
-
|
|
4617
|
-
declare function eachAxis(callback: Callback): void[];
|
|
4642
|
+
declare function eachAxis<T>(callback: (axis: "x" | "y") => T): T[];
|
|
4618
4643
|
|
|
4619
4644
|
declare function hasScale({ scale, scaleX, scaleY }: ResolvedValues$1): boolean;
|
|
4620
4645
|
declare function hasTransform(values: ResolvedValues$1): true | AnyResolvedKeyframe;
|
|
@@ -5544,4 +5569,4 @@ declare const sync: Batcher;
|
|
|
5544
5569
|
*/
|
|
5545
5570
|
declare const cancelSync: Record<string, (process: Process) => void>;
|
|
5546
5571
|
|
|
5547
|
-
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, 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, observeTimeline, optimizedAppearDataAttribute, optimizedAppearDataId, 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 };
|
|
5572
|
+
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, 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, observeTimeline, 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 };
|