unframer 2.25.2 → 2.25.4
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/cli.d.ts +21 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +79 -48
- package/dist/cli.js.map +1 -1
- package/dist/example-code.test.d.ts +2 -0
- package/dist/example-code.test.d.ts.map +1 -0
- package/dist/example-code.test.js +72 -0
- package/dist/example-code.test.js.map +1 -0
- package/dist/exporter.d.ts +17 -55
- package/dist/exporter.d.ts.map +1 -1
- package/dist/exporter.js +73 -69
- package/dist/exporter.js.map +1 -1
- package/dist/framer.d.ts.map +1 -1
- package/dist/framer.js +99 -53
- package/dist/framer.js.map +1 -1
- package/dist/generated/api-client.js +0 -1
- package/dist/generated/api-client.js.map +1 -1
- package/dist/generated/api-client.test.js +0 -69
- package/dist/generated/api-client.test.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/esm/cli.d.ts +21 -0
- package/esm/cli.d.ts.map +1 -1
- package/esm/cli.js +78 -48
- package/esm/cli.js.map +1 -1
- package/esm/example-code.test.d.ts +2 -0
- package/esm/example-code.test.d.ts.map +1 -0
- package/esm/example-code.test.js +70 -0
- package/esm/example-code.test.js.map +1 -0
- package/esm/exporter.d.ts +17 -55
- package/esm/exporter.d.ts.map +1 -1
- package/esm/exporter.js +72 -69
- package/esm/exporter.js.map +1 -1
- package/esm/framer.d.ts.map +1 -1
- package/esm/framer.js +99 -53
- package/esm/framer.js.map +1 -1
- package/esm/generated/api-client.js +0 -1
- package/esm/generated/api-client.js.map +1 -1
- package/esm/generated/api-client.test.d.ts +0 -1
- package/esm/generated/api-client.test.js +1 -69
- package/esm/generated/api-client.test.js.map +1 -1
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/package.json +4 -4
- package/src/{cli.tsx → cli.ts} +114 -64
- package/src/example-code.test.ts +72 -0
- package/src/exporter.ts +99 -81
- package/src/framer.js +128 -79
- package/src/generated/api-client.d.ts +1048 -682
- package/src/generated/api-client.d.ts.map +1 -1
- package/src/generated/api-client.js +5 -6
- package/src/generated/api-client.js.map +1 -1
- package/src/generated/api-client.test.d.ts +1 -1
- package/src/generated/api-client.test.js +1 -69
- package/src/version.ts +1 -1
package/esm/framer.js
CHANGED
|
@@ -10390,7 +10390,7 @@ function stagger(duration = 0.1, { startDelay = 0, from = 0, ease: ease2, } = {}
|
|
|
10390
10390
|
return startDelay + delay2;
|
|
10391
10391
|
};
|
|
10392
10392
|
}
|
|
10393
|
-
// /:https://app.framerstatic.com/framer.
|
|
10393
|
+
// /:https://app.framerstatic.com/framer.4LIH3HZD.mjs
|
|
10394
10394
|
import { lazy as ReactLazy, } from 'react';
|
|
10395
10395
|
import React4 from 'react';
|
|
10396
10396
|
import { startTransition as startTransition2, } from 'react';
|
|
@@ -12148,6 +12148,7 @@ async function replacePathVariables(path, currentLocale, nextLocale, defaultLoca
|
|
|
12148
12148
|
hasMatch = true;
|
|
12149
12149
|
}
|
|
12150
12150
|
if (hasMatch) {
|
|
12151
|
+
replacedPath += resultPath.substring(lastIndex);
|
|
12151
12152
|
resultPath = replacedPath;
|
|
12152
12153
|
}
|
|
12153
12154
|
return {
|
|
@@ -13148,20 +13149,6 @@ function TurnOnReactEventHandling() {
|
|
|
13148
13149
|
}, []);
|
|
13149
13150
|
return null;
|
|
13150
13151
|
}
|
|
13151
|
-
var hydrationRunning = false;
|
|
13152
|
-
function setInitialHydrationState() {
|
|
13153
|
-
hydrationRunning = true;
|
|
13154
|
-
}
|
|
13155
|
-
function setHydrationDone() {
|
|
13156
|
-
hydrationRunning = false;
|
|
13157
|
-
}
|
|
13158
|
-
function useIsHydrationOrSSR() {
|
|
13159
|
-
const isHydrationOrSSR = useRef3(!isWindow || hydrationRunning);
|
|
13160
|
-
useEffect(() => {
|
|
13161
|
-
isHydrationOrSSR.current = false;
|
|
13162
|
-
}, []);
|
|
13163
|
-
return isHydrationOrSSR;
|
|
13164
|
-
}
|
|
13165
13152
|
function onlyRunOnce(originalMethod) {
|
|
13166
13153
|
let hasRun = false;
|
|
13167
13154
|
return function (...args) {
|
|
@@ -23329,6 +23316,24 @@ function MagicMotionCrossfadeRoot(props) {
|
|
|
23329
23316
|
children: props.children,
|
|
23330
23317
|
});
|
|
23331
23318
|
}
|
|
23319
|
+
function useMemoOne(factory, inputs) {
|
|
23320
|
+
const initial = useState(() => ({
|
|
23321
|
+
inputs,
|
|
23322
|
+
result: factory(),
|
|
23323
|
+
}))[0];
|
|
23324
|
+
const isFirstRun = useRef3(true);
|
|
23325
|
+
const committed = useRef3(initial);
|
|
23326
|
+
const useCache = isFirstRun.current || Boolean(inputs && committed.current.inputs && isEqual(inputs, committed.current.inputs, false));
|
|
23327
|
+
const cache2 = useCache ? committed.current : {
|
|
23328
|
+
inputs,
|
|
23329
|
+
result: factory(),
|
|
23330
|
+
};
|
|
23331
|
+
useEffect(() => {
|
|
23332
|
+
isFirstRun.current = false;
|
|
23333
|
+
committed.current = cache2;
|
|
23334
|
+
}, [cache2,]);
|
|
23335
|
+
return cache2.result;
|
|
23336
|
+
}
|
|
23332
23337
|
function setRef(ref, value) {
|
|
23333
23338
|
if (isFunction(ref)) {
|
|
23334
23339
|
ref(value);
|
|
@@ -23404,7 +23409,7 @@ function useRefEffect(ref, effect, deps) {
|
|
|
23404
23409
|
var _a;
|
|
23405
23410
|
const effectRef = useRef3();
|
|
23406
23411
|
const depsChangedRef = useRef3();
|
|
23407
|
-
|
|
23412
|
+
useMemoOne(() => {
|
|
23408
23413
|
if (depsChangedRef.current !== void 0)
|
|
23409
23414
|
depsChangedRef.current = true;
|
|
23410
23415
|
}, deps ?? [{},]);
|
|
@@ -30138,12 +30143,15 @@ function propsForBreakpoint(variant, props, overrides) {
|
|
|
30138
30143
|
...overrides[variant],
|
|
30139
30144
|
};
|
|
30140
30145
|
}
|
|
30141
|
-
var
|
|
30146
|
+
var noopSubscribe = () => () => { };
|
|
30147
|
+
var returnTrue = () => true;
|
|
30148
|
+
var returnFalse = () => false;
|
|
30149
|
+
var PropertyOverridesWithoutCSS = /* @__PURE__ */ React4.forwardRef(function PropertyOverrides(props, ref) {
|
|
30142
30150
|
const cloneWithRefs = useCloneChildrenWithPropsAndRef(ref);
|
|
30143
30151
|
const ancestorCtx = React4.useContext(SSRParentVariantsContext);
|
|
30144
|
-
const isHydrationOrSSR =
|
|
30152
|
+
const isHydrationOrSSR = React4.useSyncExternalStore(noopSubscribe, returnFalse, returnTrue);
|
|
30145
30153
|
const action = useConstant2(() => {
|
|
30146
|
-
if (isHydrationOrSSR
|
|
30154
|
+
if (isHydrationOrSSR) {
|
|
30147
30155
|
if (isBrowser2()) {
|
|
30148
30156
|
return 1;
|
|
30149
30157
|
}
|
|
@@ -30156,28 +30164,31 @@ var PropertyOverridesWithoutCSS = /* @__PURE__ */ React4.forwardRef(function Pro
|
|
|
30156
30164
|
}
|
|
30157
30165
|
});
|
|
30158
30166
|
const generatedComponentContext = React4.useContext(GeneratedComponentContext);
|
|
30159
|
-
|
|
30160
|
-
|
|
30161
|
-
|
|
30162
|
-
|
|
30163
|
-
|
|
30164
|
-
|
|
30165
|
-
|
|
30166
|
-
|
|
30167
|
-
|
|
30168
|
-
|
|
30169
|
-
|
|
30170
|
-
|
|
30171
|
-
|
|
30172
|
-
|
|
30173
|
-
|
|
30174
|
-
|
|
30175
|
-
|
|
30176
|
-
|
|
30177
|
-
|
|
30178
|
-
|
|
30179
|
-
|
|
30180
|
-
|
|
30167
|
+
return useMemoOne(() => {
|
|
30168
|
+
const { breakpoint, overrides, children, ...restProps } = props;
|
|
30169
|
+
if (!generatedComponentContext) {
|
|
30170
|
+
console.warn('PropertyOverrides is missing GeneratedComponentContext');
|
|
30171
|
+
return cloneWithRefs(children, restProps);
|
|
30172
|
+
}
|
|
30173
|
+
const { primaryVariantId, variantClassNames, } = generatedComponentContext;
|
|
30174
|
+
const parentVariants = (ancestorCtx == null ? void 0 : ancestorCtx.primaryVariantId) === primaryVariantId
|
|
30175
|
+
? ancestorCtx == null ? void 0 : ancestorCtx.variants
|
|
30176
|
+
: void 0;
|
|
30177
|
+
switch (action) {
|
|
30178
|
+
case 0:
|
|
30179
|
+
return cloneWithRefs(children, propsForBreakpoint(breakpoint, restProps, overrides));
|
|
30180
|
+
case 1:
|
|
30181
|
+
return renderBranchedChildrenFromPropertyOverrides(overrides, children, restProps, variantClassNames, primaryVariantId, parentVariants, cloneWithRefs, breakpoint);
|
|
30182
|
+
case 2:
|
|
30183
|
+
return renderBranchedChildrenFromPropertyOverrides(overrides, children, restProps, variantClassNames, primaryVariantId, parentVariants,
|
|
30184
|
+
// On the server, we use plain cloneChildrenWithProps instead of useCloneChildrenWithPropsAndRef,
|
|
30185
|
+
// because we can't clone one ref to multiple branched-out elements (useCloneChildrenWithPropsAndRef
|
|
30186
|
+
// even guards against it), but luckily, refs mean nothing on the server anyway.
|
|
30187
|
+
cloneChildrenWithProps, void 0);
|
|
30188
|
+
default:
|
|
30189
|
+
assertNever(action);
|
|
30190
|
+
}
|
|
30191
|
+
}, [generatedComponentContext, ancestorCtx, cloneWithRefs, props,]);
|
|
30181
30192
|
});
|
|
30182
30193
|
var PropertyOverrides2 =
|
|
30183
30194
|
/* @__PURE__ */ (() => withCSS(PropertyOverridesWithoutCSS, `.${SSRVariantClassName} { display: contents }`, 'PropertyOverrides'))();
|
|
@@ -34050,7 +34061,6 @@ function useNavigationTransition() {
|
|
|
34050
34061
|
const navigationController = useRef3(void 0);
|
|
34051
34062
|
return useCallback(async (transitionFn, nextRender, updateURL, isAbortable = true) => {
|
|
34052
34063
|
var _a, _b;
|
|
34053
|
-
setHydrationDone();
|
|
34054
34064
|
const hasUpdateURL = updateURL !== void 0;
|
|
34055
34065
|
(_a = navigationController.current) == null ? void 0 : _a.abort();
|
|
34056
34066
|
const controller = isAbortable ? new AbortController() : void 0;
|
|
@@ -44940,18 +44950,40 @@ var SharedSVGManager = class {
|
|
|
44940
44950
|
*
|
|
44941
44951
|
* VECTOR @TODO - Unsubscribe from vector set items.
|
|
44942
44952
|
*/
|
|
44943
|
-
template(
|
|
44944
|
-
const entry = this.vectorSetItems.get(
|
|
44953
|
+
template(revision, svg) {
|
|
44954
|
+
const entry = this.vectorSetItems.get(revision);
|
|
44945
44955
|
if (entry)
|
|
44946
|
-
return `#${
|
|
44947
|
-
this.vectorSetItems.set(
|
|
44948
|
-
id: id3,
|
|
44956
|
+
return `#${revision}`;
|
|
44957
|
+
this.vectorSetItems.set(revision, {
|
|
44949
44958
|
svg,
|
|
44959
|
+
count: 0,
|
|
44950
44960
|
});
|
|
44951
44961
|
if (!useDOM)
|
|
44952
|
-
return `#${
|
|
44953
|
-
this.maybeAppendTemplate(
|
|
44954
|
-
return `#${
|
|
44962
|
+
return `#${revision}`;
|
|
44963
|
+
this.maybeAppendTemplate(revision, svg);
|
|
44964
|
+
return `#${revision}`;
|
|
44965
|
+
}
|
|
44966
|
+
subscribeToTemplate(revision) {
|
|
44967
|
+
const entry = this.vectorSetItems.get(revision);
|
|
44968
|
+
if (!entry)
|
|
44969
|
+
return;
|
|
44970
|
+
entry.count++;
|
|
44971
|
+
return () => {
|
|
44972
|
+
const latest = this.vectorSetItems.get(revision);
|
|
44973
|
+
if (!latest)
|
|
44974
|
+
return;
|
|
44975
|
+
latest.count--;
|
|
44976
|
+
if (latest.count > 0)
|
|
44977
|
+
return;
|
|
44978
|
+
setTimeout(() => {
|
|
44979
|
+
var _a, _b;
|
|
44980
|
+
if ((_a = this.vectorSetItems.get(revision)) == null ? void 0 : _a.count)
|
|
44981
|
+
return;
|
|
44982
|
+
this.vectorSetItems.delete(revision);
|
|
44983
|
+
if (useDOM)
|
|
44984
|
+
(_b = document == null ? void 0 : document.getElementById(revision)) == null ? void 0 : _b.remove();
|
|
44985
|
+
}, 5e3);
|
|
44986
|
+
};
|
|
44955
44987
|
}
|
|
44956
44988
|
clear() {
|
|
44957
44989
|
this.entries.clear();
|
|
@@ -44967,6 +44999,10 @@ var SharedSVGManager = class {
|
|
|
44967
44999
|
return output.join('\n');
|
|
44968
45000
|
}
|
|
44969
45001
|
};
|
|
45002
|
+
function useSVGTemplate(revision, svg) {
|
|
45003
|
+
useEffect(() => sharedSVGManager.subscribeToTemplate(revision), [revision,]);
|
|
45004
|
+
return sharedSVGManager.template(revision, svg);
|
|
45005
|
+
}
|
|
44970
45006
|
var sharedSVGManager = /* @__PURE__ */ new SharedSVGManager();
|
|
44971
45007
|
function parseSVG(svg) {
|
|
44972
45008
|
try {
|
|
@@ -46148,7 +46184,7 @@ var Vector = /* @__PURE__ */ (() => {
|
|
|
46148
46184
|
return _a = class extends Layer {
|
|
46149
46185
|
render() {
|
|
46150
46186
|
countNodeRender();
|
|
46151
|
-
const { opacity, calculatedPath, d, insideStroke, strokeEnabled, strokeClipId, strokeWidth, idAttribute, shadows, strokeAlpha, name, includeTransform, isRootVectorNode, rotation, id: id3, lineCap, lineJoin, strokeColor, strokeMiterLimit, strokeDashArray, strokeDashOffset, fill, variants, transition, fillOpacity, visible, x, y, width, height, } = this.props;
|
|
46187
|
+
const { opacity, calculatedPath, calculatedPathBoundingBox, d, insideStroke, strokeEnabled, strokeClipId, strokeWidth, idAttribute, shadows, strokeAlpha, name, includeTransform, isRootVectorNode, rotation, id: id3, lineCap, lineJoin, strokeColor, strokeMiterLimit, strokeDashArray, strokeDashOffset, fill, variants, transition, fillOpacity, visible, x, y, width, height, } = this.props;
|
|
46152
46188
|
if (!visible)
|
|
46153
46189
|
return null;
|
|
46154
46190
|
if (!id3 || !strokeClipId)
|
|
@@ -46243,7 +46279,11 @@ var Vector = /* @__PURE__ */ (() => {
|
|
|
46243
46279
|
}
|
|
46244
46280
|
const internalShapeId = InternalID.forKey(id3);
|
|
46245
46281
|
const internalStrokeClipId = InternalID.forKey(strokeClipId);
|
|
46246
|
-
const shadow = shadowForShape(shadows,
|
|
46282
|
+
const shadow = shadowForShape(shadows,
|
|
46283
|
+
// Shadow filter uses 'objectBoundingBox' as filter units, so calculations should be
|
|
46284
|
+
// relative to the referenced object itself (path), instead of the node rect, which
|
|
46285
|
+
// can be larger than the path bounding box.
|
|
46286
|
+
calculatedPathBoundingBox, internalShapeId, strokeAlpha, strokeWidth, internalStrokeClipId, svgStrokeAttributes);
|
|
46247
46287
|
const currentName = target === RenderTarget.preview ? name || void 0 : void 0;
|
|
46248
46288
|
if (shadow.insetElement !== null || shadow.outsetElement !== null || insideStroke) {
|
|
46249
46289
|
pathAttributes.id = internalShapeId.id;
|
|
@@ -46386,6 +46426,12 @@ var Vector = /* @__PURE__ */ (() => {
|
|
|
46386
46426
|
rotate: void 0,
|
|
46387
46427
|
opacity: void 0,
|
|
46388
46428
|
calculatedPath: [],
|
|
46429
|
+
calculatedPathBoundingBox: {
|
|
46430
|
+
x: 0,
|
|
46431
|
+
y: 0,
|
|
46432
|
+
width: 0,
|
|
46433
|
+
height: 0,
|
|
46434
|
+
},
|
|
46389
46435
|
d: void 0,
|
|
46390
46436
|
insideStroke: false,
|
|
46391
46437
|
strokeEnabled: true,
|
|
@@ -46865,7 +46911,7 @@ MotionValue.prototype.addChild = function ({ transformer = (v) => v, }) {
|
|
|
46865
46911
|
if (false) {
|
|
46866
46912
|
MainLoop2.start();
|
|
46867
46913
|
}
|
|
46868
|
-
export { _injectRuntime, acceleratedValues2 as acceleratedValues, activeAnimations, addActionControls, addFonts, addPointerEvent, addPointerInfo, addPropertyControls, addScaleCorrector, addUniqueItem, alpha, analyseComplexValue, AnchorLinkTarget, Animatable, animate2 as animate, animateMini, AnimatePresence, AnimateSharedLayout, animateValue, animateView, animateVisualElement, animationControls, animationMapKey, animations, annotateTypeOnStringify, anticipate, AnyInterpolation, applyPxDefaults, AsyncMotionValueAnimation, AutomaticLayoutIds, BackgroundImage, backgroundImageFromProps, backIn, backInOut, backOut, BezierAnimator, BoxShadow, buildTransform2 as buildTransform, calcGeneratorDuration, calcLength, calculateRect, callEach, cancelFrame, cancelMicrotask, cancelSync, ChildrenCanSuspend, circIn, circInOut, circOut, clamp, clampRGB, collectMotionValues, collectVisualStyleFromProps, Color, color, ColorFormat, ColorMixModelType, combinedCSSRulesForPreview, complex, ComponentContainerContext, ComponentPresetsConsumer, ComponentPresetsProvider, ComponentViewportProvider, ConstraintMask, constraintsEnabled, ConstraintValues, Container, ControlType, ConvertColor, convertOffsetToTimes, convertPropsToDeviceOptions, createBox, createData, createFramerPageLink, createGeneratorEasing, createRenderBatcher, createRendererMotionComponent, createScopedAnimate, cssBackgroundSize, cubicBezier, cubicBezierAsString, CustomCursorHost, CustomProperties, cx, CycleVariantState, Data, DataContext, DataObserver, DataObserverContext, debounce, defaultDeviceProps, defaultEasing, defaultOffset, defaultTransformValue, defaultValueTypes, degrees, degreesToRadians, delay, DeprecatedComponentContainer, DeprecatedFrameWithEvents, DeprecatedLayoutGroupContext, DeprecatedLayoutGroupContext as LayoutGroupContext, Device, DeviceCodeComponent, devicePresets, DimensionType, dimensionValueTypes, disableInstantTransitions, dispatchKeyDownEvent, distance, distance2D, DOM, domAnimation, DOMKeyframesResolver, domMax, domMin, DragControls, Draggable, easeIn, easeInOut, easeOut, easingDefinitionToFunction, EmptyState, environment, ErrorPlaceholder, executeInRenderEnvironment, Fetcher, fillOffset, fillWildcards, filterProps, findDimensionValueType, findValueType, finiteNumber, FlatTree, Floating, flushKeyframeResolvers, FontSourceNames, fontStore, forceLayerBackingWithCSSProperties, FormBooleanInput, FormContainer, FormPlainTextInput2 as FormPlainTextInput, FormSelect, fraction, Frame, frame, frameData, frameFromElement, frameFromElements, FramerAnimation, framerAppearAnimationScriptKey, framerAppearEffects, framerAppearIdKey, framerAppearTransformTemplateToken, framerCSSMarker, FramerEvent, FramerEventListener, FramerEventSession, frameSteps, FrameWithMotion, GamepadContext, GeneratedComponentContext, generateLinearEasing, getAnimatableNone2 as getAnimatableNone, getAnimationMap, getComponentSize, getComputedStyle2 as getComputedStyle, getDefaultValueType, getDevicePreset, getEasingForSegment, getFonts, getFontsFromComponentPreset, getFontsFromSharedStyle, getLoadingLazyAtYPosition, getMeasurableCodeComponentChildren, getMixer, getPropertyControls, getValueAsType, getValueTransition, getVariableValue, getWhereExpressionFromPathVariables, GracefullyDegradingErrorBoundary, gradientForShape, GroupAnimation, GroupAnimationWithThen, hasWarned, hex, hover, hsla, hslaToRgba, Image2 as Image, imagePatternPropsForFill, imageUrlForAsset, inertia, inferInitialRouteFromPath, injectComponentCSSRules, installFlexboxGapWorkaroundIfNeeded, InternalID, interpolate, invariant, inView, invisibleValues, isAnimatable2 as isAnimatable, isBezierDefinition, isBrowser, isCSSVariableName, isCSSVariableToken, isDesignDefinition, isDragActive, isDragging, isEasingArray, isEqual, isFiniteNumber, isFractionDimension, isFramerGamepadKeydownData, isFramerPageLink, isGapEnabled, isGenerator, isMotionComponent, isMotionValue2 as isMotionValue, isNodeOrChild, isNumericalString, isOfAnnotatedType, isOverride, isPrimaryPointer, isReactDefinition, isRelativeNumber, isShallowEqualArray, isStaticRenderer, isStraightCurve, isValidMotionProp, isWaapiSupportedEasing, isZeroValueString, JSAnimation, KeyframeResolver, keyframes, Layer, LayoutGroup, LayoutIdContext, lazy, LazyMotion, LazyValue, LibraryFeaturesProvider, Line, LinearGradient, Link, loadFont, loadJSON, localPackageFallbackIdentifier, localShadowFrame, m, MainLoop, makePaddingString, makeUseVisualState, mapEasingToNativeEasing, mapValue, markHydrationStart, maxGeneratorDuration, memo, memoize2 as memoize, microtask, millisecondsToSeconds, mirrorEasing, mix, mixArray, mixColor, mixComplex, mixImmediate, mixLinearColor, mixNumber, mixObject, mixVisibility, modulate, motion, MotionConfig, MotionConfigContext, MotionContext, MotionGlobalConfig, MotionSetup, MotionValue, motionValue, moveItem, namespace_exports as Reorder, NativeAnimation, NativeAnimationExtended, NativeAnimationWrapper, NavigateTo, NavigationCallbackProvider, NavigationConsumer, NavigationTransitionType, NavigationWrapper as Navigation, nestedLinksCollector, noop, NotFoundError, number, numberValueTypes, ObservableObject, observeTimeline, optimizeAppear, optimizeAppearTransformTemplate, optimizedAppearDataAttribute, paddingFromProps, Page3 as Page, PageEffectsProvider, PageRoot, ParentSizeState, parseCSSVariable, parseFramerPageLink, parseValueFromTransform, patchRoutesForABTesting, pathDefaults, PathSegment, PathVariablesContext, percent, pipe, Point, Polygon, positionalKeys, preloadImage, PresenceContext, press, print, progress, progressPercentage, PropertyOverrides2 as PropertyOverrides, PropertyStore, propsForLink, pushLoadMoreHistory, px, QueryCache, QueryEngine, RadialGradient, readTransformValue, recordStats, Rect, removeHiddenBreakpointLayers, removeHiddenBreakpointLayersV2, removeItem, RenderTarget, resolveElements, resolveLink, ResolveLinks, resolveMotionValue, resolvePageScope, reverseEasing, rgba, rgbUnit, RichText2 as RichText, roundedNumber, roundedNumberString, roundWithOffset, safeCSSValue, scale, Scroll, scroll, scrollInfo, secondsToMilliseconds, setDragLock, setGlobalRenderEnvironment,
|
|
46914
|
+
export { _injectRuntime, acceleratedValues2 as acceleratedValues, activeAnimations, addActionControls, addFonts, addPointerEvent, addPointerInfo, addPropertyControls, addScaleCorrector, addUniqueItem, alpha, analyseComplexValue, AnchorLinkTarget, Animatable, animate2 as animate, animateMini, AnimatePresence, AnimateSharedLayout, animateValue, animateView, animateVisualElement, animationControls, animationMapKey, animations, annotateTypeOnStringify, anticipate, AnyInterpolation, applyPxDefaults, AsyncMotionValueAnimation, AutomaticLayoutIds, BackgroundImage, backgroundImageFromProps, backIn, backInOut, backOut, BezierAnimator, BoxShadow, buildTransform2 as buildTransform, calcGeneratorDuration, calcLength, calculateRect, callEach, cancelFrame, cancelMicrotask, cancelSync, ChildrenCanSuspend, circIn, circInOut, circOut, clamp, clampRGB, collectMotionValues, collectVisualStyleFromProps, Color, color, ColorFormat, ColorMixModelType, combinedCSSRulesForPreview, complex, ComponentContainerContext, ComponentPresetsConsumer, ComponentPresetsProvider, ComponentViewportProvider, ConstraintMask, constraintsEnabled, ConstraintValues, Container, ControlType, ConvertColor, convertOffsetToTimes, convertPropsToDeviceOptions, createBox, createData, createFramerPageLink, createGeneratorEasing, createRenderBatcher, createRendererMotionComponent, createScopedAnimate, cssBackgroundSize, cubicBezier, cubicBezierAsString, CustomCursorHost, CustomProperties, cx, CycleVariantState, Data, DataContext, DataObserver, DataObserverContext, debounce, defaultDeviceProps, defaultEasing, defaultOffset, defaultTransformValue, defaultValueTypes, degrees, degreesToRadians, delay, DeprecatedComponentContainer, DeprecatedFrameWithEvents, DeprecatedLayoutGroupContext, DeprecatedLayoutGroupContext as LayoutGroupContext, Device, DeviceCodeComponent, devicePresets, DimensionType, dimensionValueTypes, disableInstantTransitions, dispatchKeyDownEvent, distance, distance2D, DOM, domAnimation, DOMKeyframesResolver, domMax, domMin, DragControls, Draggable, easeIn, easeInOut, easeOut, easingDefinitionToFunction, EmptyState, environment, ErrorPlaceholder, executeInRenderEnvironment, Fetcher, fillOffset, fillWildcards, filterProps, findDimensionValueType, findValueType, finiteNumber, FlatTree, Floating, flushKeyframeResolvers, FontSourceNames, fontStore, forceLayerBackingWithCSSProperties, FormBooleanInput, FormContainer, FormPlainTextInput2 as FormPlainTextInput, FormSelect, fraction, Frame, frame, frameData, frameFromElement, frameFromElements, FramerAnimation, framerAppearAnimationScriptKey, framerAppearEffects, framerAppearIdKey, framerAppearTransformTemplateToken, framerCSSMarker, FramerEvent, FramerEventListener, FramerEventSession, frameSteps, FrameWithMotion, GamepadContext, GeneratedComponentContext, generateLinearEasing, getAnimatableNone2 as getAnimatableNone, getAnimationMap, getComponentSize, getComputedStyle2 as getComputedStyle, getDefaultValueType, getDevicePreset, getEasingForSegment, getFonts, getFontsFromComponentPreset, getFontsFromSharedStyle, getLoadingLazyAtYPosition, getMeasurableCodeComponentChildren, getMixer, getPropertyControls, getValueAsType, getValueTransition, getVariableValue, getWhereExpressionFromPathVariables, GracefullyDegradingErrorBoundary, gradientForShape, GroupAnimation, GroupAnimationWithThen, hasWarned, hex, hover, hsla, hslaToRgba, Image2 as Image, imagePatternPropsForFill, imageUrlForAsset, inertia, inferInitialRouteFromPath, injectComponentCSSRules, installFlexboxGapWorkaroundIfNeeded, InternalID, interpolate, invariant, inView, invisibleValues, isAnimatable2 as isAnimatable, isBezierDefinition, isBrowser, isCSSVariableName, isCSSVariableToken, isDesignDefinition, isDragActive, isDragging, isEasingArray, isEqual, isFiniteNumber, isFractionDimension, isFramerGamepadKeydownData, isFramerPageLink, isGapEnabled, isGenerator, isMotionComponent, isMotionValue2 as isMotionValue, isNodeOrChild, isNumericalString, isOfAnnotatedType, isOverride, isPrimaryPointer, isReactDefinition, isRelativeNumber, isShallowEqualArray, isStaticRenderer, isStraightCurve, isValidMotionProp, isWaapiSupportedEasing, isZeroValueString, JSAnimation, KeyframeResolver, keyframes, Layer, LayoutGroup, LayoutIdContext, lazy, LazyMotion, LazyValue, LibraryFeaturesProvider, Line, LinearGradient, Link, loadFont, loadJSON, localPackageFallbackIdentifier, localShadowFrame, m, MainLoop, makePaddingString, makeUseVisualState, mapEasingToNativeEasing, mapValue, markHydrationStart, maxGeneratorDuration, memo, memoize2 as memoize, microtask, millisecondsToSeconds, mirrorEasing, mix, mixArray, mixColor, mixComplex, mixImmediate, mixLinearColor, mixNumber, mixObject, mixVisibility, modulate, motion, MotionConfig, MotionConfigContext, MotionContext, MotionGlobalConfig, MotionSetup, MotionValue, motionValue, moveItem, namespace_exports as Reorder, NativeAnimation, NativeAnimationExtended, NativeAnimationWrapper, NavigateTo, NavigationCallbackProvider, NavigationConsumer, NavigationTransitionType, NavigationWrapper as Navigation, nestedLinksCollector, noop, NotFoundError, number, numberValueTypes, ObservableObject, observeTimeline, optimizeAppear, optimizeAppearTransformTemplate, optimizedAppearDataAttribute, paddingFromProps, Page3 as Page, PageEffectsProvider, PageRoot, ParentSizeState, parseCSSVariable, parseFramerPageLink, parseValueFromTransform, patchRoutesForABTesting, pathDefaults, PathSegment, PathVariablesContext, percent, pipe, Point, Polygon, positionalKeys, preloadImage, PresenceContext, press, print, progress, progressPercentage, PropertyOverrides2 as PropertyOverrides, PropertyStore, propsForLink, pushLoadMoreHistory, px, QueryCache, QueryEngine, RadialGradient, readTransformValue, recordStats, Rect, removeHiddenBreakpointLayers, removeHiddenBreakpointLayersV2, removeItem, RenderTarget, resolveElements, resolveLink, ResolveLinks, resolveMotionValue, resolvePageScope, reverseEasing, rgba, rgbUnit, RichText2 as RichText, roundedNumber, roundedNumberString, roundWithOffset, safeCSSValue, scale, Scroll, scroll, scrollInfo, secondsToMilliseconds, setDragLock, setGlobalRenderEnvironment, setStyle, Shadow, sharedSVGManager, shouldOpenLinkInNewTab, Size, SmartComponentScopedContainer, spring, SpringAnimator, SSRVariants, Stack, stagger, startAnimation, startOptimizedAppearAnimation, startWaapiAnimation, statsBuffer, steps, styleEffect, StyleSheetContext, SubscriptionManager, supportedWaapiEasing, supportsBrowserAnimation, supportsFlags, supportsLinearEasing, supportsPartialKeyframes, supportsScrollTimeline, SVG, SwitchLayoutGroupContext, sync, systemFontFamilyName, testValueType, Text2 as Text, throttle, time, toFlexDirection, toJustifyOrAlignment, toSVGPath, transform, transformPropOrder, transformProps, transformString2 as transformString, transformTemplate, transformValue, transformValueTypes, turnOffReactEventHandling, unwrapMotionComponent, useActiveTargetCallback, useActiveVariantCallback, useAddVariantProps, useAnimate, useAnimatedState, useAnimatedState as useDeprecatedAnimatedState, useAnimateMini, useAnimation, useAnimationControls, useAnimationFrame, useBreakpointVariants, useComponentViewport, useConstant2 as useConstant, useCurrentPathVariables, useCurrentRoute, useCurrentRouteId, useCustomCursors, useCycle, useDataRecord, useDomEvent, useDragControls, useDynamicRefs, useElementScroll, useForceUpdate, useGamepad, useHotkey, useHydratedBreakpointVariants, useInitialRouteComponent, useInstantLayoutTransition, useInstantTransition, useInvertedScale, useInvertedScale as useDeprecatedInvertedScale, useInView, useIsInCurrentNavigationTarget, useIsomorphicLayoutEffect, useIsOnFramerCanvas, useIsPresent, useIsStaticRenderer, useLoadMorePaginatedQuery, useLoadMorePagination, useLocale, useLocaleCode, useLocaleInfo, useLocalesForCurrentRoute, useLocalizationInfo, useMeasureLayout, useMotionTemplate, useMotionValue, useMotionValueEvent, useNavigate, useNavigation, useObserveData, useOnAppear, useOnCurrentTargetChange, useOnVariantChange, useOverlayState, usePageEffects, usePrefetch, usePreloadQuery, usePresence, usePresenceData, usePrototypeNavigate, useProvidedWindow, useQueryData, useReducedMotion, useReducedMotionConfig, useRenderEnvironment, useResetProjection, useRoute, useRouteAnchor, useRouteElementId, useRouteHandler, useRouter, useScroll, useSiteRefs, useSpring, useSVGTemplate, useTime, useTransform, useUnmountEffect, useVariantState, useVelocity, useViewportScroll, useWillChange, ValueInterpolation, valueToDimensionType, VariantSelector, Vector, VectorGroup, velocityPerSecond, version, vh, ViewTransitionBuilder, VisualElement, visualElementStore, vw, warning, warnOnce, WillChangeMotionValue, WindowContext, withCodeBoundaryForOverrides, withCSS, withFX, withGeneratedLayoutId, withInfiniteScroll, withMappedReactProps, withMeasuredSize, WithNavigator, withOpacity, withOptimizedAppearEffect, WithOverride, withParallaxTransform, withPath, withPerformanceMarks, withShape, withStyleAppearEffect, withV1StrokeFX, withVariantAppearEffect, withVariantFX, wrap, yieldToMain, };
|
|
46869
46915
|
//! Credit to Astro | MIT License
|
|
46870
46916
|
/**
|
|
46871
46917
|
* @license Emotion v11.0.0
|