@rankingcoach/vanguard 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-CardMotion.config.js +159 -0
- package/dist/index-CardMotion.constants.js +23 -0
- package/dist/index-CardMotion.js +93 -0
- package/dist/index-CardMotion.module.scss.js +9 -0
- package/dist/index-ModalContext.js +37 -36
- package/dist/index-ModalTransition.js +9 -7
- package/dist/index-react-spring_animated.modern.js +6 -6
- package/dist/index-react-spring_core.modern.js +56 -54
- package/dist/index-react-spring_web.modern.js +9 -8
- package/dist/index.js +298 -296
- package/dist/types/core/CardMotion/CardMotion.config.d.ts +855 -0
- package/dist/types/core/CardMotion/CardMotion.constants.d.ts +20 -0
- package/dist/types/core/CardMotion/CardMotion.d.ts +3 -0
- package/dist/types/core/CardMotion/CardMotion.types.d.ts +60 -0
- package/dist/types/core/CardMotion/index.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/CustomMotion.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/Default.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/GlowIn.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/GlowPreset.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/Hoverable.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/StaggeredGlowGroup.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/VisibilityToggle.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/_CardMotion.default.d.ts +3 -0
- package/dist/types/core/Modal/ModalContext.d.ts +1 -0
- package/dist/types/core/Modal/stories/StackingPermutations.story.d.ts +71 -0
- package/dist/types/core/Modal/stories/TwoModalsOverlapping.story.d.ts +2 -0
- package/dist/types/core/Modal/stories/TwoModalsOverlappingDifferentAnimations.story.d.ts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/vanguard-asset-analysis.json +1 -1
- package/dist/vanguard.css +1 -1
- package/dist-wordpress/index.js +779 -773
- package/dist-wordpress/types/core/PageSection/GradientPrimaryMeshBackground.d.ts +1 -0
- package/dist-wordpress/types/core/PageSection/PageSection.d.ts +43 -0
- package/dist-wordpress/types/core/PageSection/index.d.ts +2 -0
- package/dist-wordpress/types/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { is as o, useIsomorphicLayoutEffect as ue, useOnce as Xe, each as I, toArray as M, useForceUpdate as Ze, usePrev as we,
|
|
1
|
+
import { is as o, useIsomorphicLayoutEffect as ue, useOnce as Xe, each as I, toArray as M, useForceUpdate as Ze, usePrev as we, createInterpolator as It, isEqual as K, getFluidValue as z, Globals as H, frameLoop as Oe, FluidValue as wt, deprecateInterpolate as At, callFluidObservers as ye, hasFluidValue as W, addFluidObserver as ve, removeFluidObserver as et, eachProp as se, flush as _e, deprecateDirectCall as Ct, flushCalls as ce, isAnimatedString as tt, getFluidObservers as Qe, easings as Rt, noop as Ne, createStringInterpolator as xt } from "./index-react-spring_shared.modern.js";
|
|
2
2
|
import * as fe from "react";
|
|
3
3
|
import { useMemo as le, useRef as te, useContext as it } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { getAnimatedType as Ae, setAnimated as st, getAnimated as $, getPayload as qe, AnimatedValue as Tt, AnimatedString as ze } from "./index-react-spring_animated.modern.js";
|
|
5
5
|
import { raf as U } from "./index-react-spring_rafz.modern.js";
|
|
6
6
|
function E(e, ...t) {
|
|
7
7
|
return o.fun(e) ? e(...t) : e;
|
|
8
8
|
}
|
|
9
|
-
var he = (e, t) => e === !0 || !!(t && e && (o.fun(e) ? e(t) : M(e).includes(t))), nt = (e, t) => o.obj(e) ? t && e[t] : e, at = (e, t) => e.default === !0 ? e[t] : e.default ? e.default[t] : void 0,
|
|
10
|
-
let i =
|
|
9
|
+
var he = (e, t) => e === !0 || !!(t && e && (o.fun(e) ? e(t) : M(e).includes(t))), nt = (e, t) => o.obj(e) ? t && e[t] : e, at = (e, t) => e.default === !0 ? e[t] : e.default ? e.default[t] : void 0, Vt = (e) => e, Pe = (e, t = Vt) => {
|
|
10
|
+
let i = Ft;
|
|
11
11
|
e.default && e.default !== !0 && (e = e.default, i = Object.keys(e));
|
|
12
12
|
const s = {};
|
|
13
13
|
for (const n of i) {
|
|
@@ -15,7 +15,7 @@ var he = (e, t) => e === !0 || !!(t && e && (o.fun(e) ? e(t) : M(e).includes(t))
|
|
|
15
15
|
o.und(a) || (s[n] = a);
|
|
16
16
|
}
|
|
17
17
|
return s;
|
|
18
|
-
},
|
|
18
|
+
}, Ft = [
|
|
19
19
|
"config",
|
|
20
20
|
"onProps",
|
|
21
21
|
"onStart",
|
|
@@ -23,7 +23,7 @@ var he = (e, t) => e === !0 || !!(t && e && (o.fun(e) ? e(t) : M(e).includes(t))
|
|
|
23
23
|
"onPause",
|
|
24
24
|
"onResume",
|
|
25
25
|
"onRest"
|
|
26
|
-
],
|
|
26
|
+
], Et = {
|
|
27
27
|
config: 1,
|
|
28
28
|
from: 1,
|
|
29
29
|
to: 1,
|
|
@@ -59,16 +59,16 @@ var he = (e, t) => e === !0 || !!(t && e && (o.fun(e) ? e(t) : M(e).includes(t))
|
|
|
59
59
|
callId: 1,
|
|
60
60
|
parentId: 1
|
|
61
61
|
};
|
|
62
|
-
function
|
|
62
|
+
function Mt(e) {
|
|
63
63
|
const t = {};
|
|
64
64
|
let i = 0;
|
|
65
65
|
if (se(e, (s, n) => {
|
|
66
|
-
|
|
66
|
+
Et[n] || (t[n] = s, i++);
|
|
67
67
|
}), i)
|
|
68
68
|
return t;
|
|
69
69
|
}
|
|
70
70
|
function je(e) {
|
|
71
|
-
const t =
|
|
71
|
+
const t = Mt(e);
|
|
72
72
|
if (t) {
|
|
73
73
|
const i = { to: t };
|
|
74
74
|
return se(e, (s, n) => n in t || (i[n] = s)), i;
|
|
@@ -76,7 +76,7 @@ function je(e) {
|
|
|
76
76
|
return { ...e };
|
|
77
77
|
}
|
|
78
78
|
function de(e) {
|
|
79
|
-
return e = z(e), o.arr(e) ? e.map(de) :
|
|
79
|
+
return e = z(e), o.arr(e) ? e.map(de) : tt(e) ? H.createStringInterpolator({
|
|
80
80
|
range: [0, 1],
|
|
81
81
|
output: [e, e]
|
|
82
82
|
})(1) : e;
|
|
@@ -96,21 +96,21 @@ function rt(e, t) {
|
|
|
96
96
|
var i;
|
|
97
97
|
t && e.ref !== t && ((i = e.ref) == null || i.delete(e), t.add(e), e.ref = t);
|
|
98
98
|
}
|
|
99
|
-
var
|
|
99
|
+
var Ot = {
|
|
100
100
|
default: { tension: 170, friction: 26 },
|
|
101
101
|
wobbly: { tension: 180, friction: 12 }
|
|
102
102
|
}, xe = {
|
|
103
|
-
...
|
|
103
|
+
...Ot.default,
|
|
104
104
|
mass: 1,
|
|
105
105
|
damping: 1,
|
|
106
|
-
easing:
|
|
106
|
+
easing: Rt.linear,
|
|
107
107
|
clamp: !1
|
|
108
|
-
},
|
|
108
|
+
}, qt = class {
|
|
109
109
|
constructor() {
|
|
110
110
|
this.velocity = 0, Object.assign(this, xe);
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
|
-
function
|
|
113
|
+
function jt(e, t, i) {
|
|
114
114
|
i && (i = { ...i }, Be(i, t), t = { ...i, ...t }), Be(e, t), Object.assign(e, t);
|
|
115
115
|
for (const u in xe)
|
|
116
116
|
e[u] == null && (e[u] = xe[u]);
|
|
@@ -126,9 +126,9 @@ function Be(e, t) {
|
|
|
126
126
|
(i || !o.und(t.frequency) || !o.und(t.damping) || !o.und(t.mass)) && (e.duration = void 0, e.decay = void 0), i && (e.frequency = void 0);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
var Le = [],
|
|
129
|
+
var Le = [], kt = class {
|
|
130
130
|
constructor() {
|
|
131
|
-
this.changed = !1, this.values = Le, this.toValues = null, this.fromValues = Le, this.config = new
|
|
131
|
+
this.changed = !1, this.values = Le, this.toValues = null, this.fromValues = Le, this.config = new qt(), this.immediate = !1;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
function ut(e, { key: t, props: i, defaultProps: s, state: n, actions: a }) {
|
|
@@ -249,9 +249,9 @@ var Ge = class extends Error {
|
|
|
249
249
|
constructor() {
|
|
250
250
|
super("SkipAnimationSignal");
|
|
251
251
|
}
|
|
252
|
-
}, Te = (e) => e instanceof De,
|
|
252
|
+
}, Te = (e) => e instanceof De, Dt = 1, De = class extends wt {
|
|
253
253
|
constructor() {
|
|
254
|
-
super(...arguments), this.id =
|
|
254
|
+
super(...arguments), this.id = Dt++, this._priority = 0;
|
|
255
255
|
}
|
|
256
256
|
get priority() {
|
|
257
257
|
return this._priority;
|
|
@@ -270,7 +270,7 @@ var Ge = class extends Error {
|
|
|
270
270
|
}
|
|
271
271
|
/** @deprecated Use the `to` method instead. */
|
|
272
272
|
interpolate(...e) {
|
|
273
|
-
return
|
|
273
|
+
return At(), H.to(this, e);
|
|
274
274
|
}
|
|
275
275
|
toJSON() {
|
|
276
276
|
return this.get();
|
|
@@ -304,9 +304,9 @@ var Ge = class extends Error {
|
|
|
304
304
|
priority: e
|
|
305
305
|
});
|
|
306
306
|
}
|
|
307
|
-
}, Z = Symbol.for("SpringPhase"), lt = 1, Ve = 2, Fe = 4, Se = (e) => (e[Z] & lt) > 0, Y = (e) => (e[Z] & Ve) > 0, ae = (e) => (e[Z] & Fe) > 0, $e = (e, t) => t ? e[Z] |= Ve | lt : e[Z] &= ~Ve, He = (e, t) => t ? e[Z] |= Fe : e[Z] &= ~Fe,
|
|
307
|
+
}, Z = Symbol.for("SpringPhase"), lt = 1, Ve = 2, Fe = 4, Se = (e) => (e[Z] & lt) > 0, Y = (e) => (e[Z] & Ve) > 0, ae = (e) => (e[Z] & Fe) > 0, $e = (e, t) => t ? e[Z] |= Ve | lt : e[Z] &= ~Ve, He = (e, t) => t ? e[Z] |= Fe : e[Z] &= ~Fe, Ut = class extends De {
|
|
308
308
|
constructor(e, t) {
|
|
309
|
-
if (super(), this.animation = new
|
|
309
|
+
if (super(), this.animation = new kt(), this.defaultProps = {}, this._state = {
|
|
310
310
|
paused: !1,
|
|
311
311
|
delayed: !1,
|
|
312
312
|
pauseQueue: /* @__PURE__ */ new Set(),
|
|
@@ -326,7 +326,7 @@ var Ge = class extends Error {
|
|
|
326
326
|
}
|
|
327
327
|
get velocity() {
|
|
328
328
|
const e = $(this);
|
|
329
|
-
return e instanceof
|
|
329
|
+
return e instanceof Tt ? e.lastVelocity || 0 : e.getPayload().map((t) => t.lastVelocity || 0);
|
|
330
330
|
}
|
|
331
331
|
/**
|
|
332
332
|
* When true, this value has been animated at least once.
|
|
@@ -539,7 +539,7 @@ var Ge = class extends Error {
|
|
|
539
539
|
const y = !K(S, p);
|
|
540
540
|
y && this._focus(S);
|
|
541
541
|
const _ = Ce(t.to), { config: d } = r, { decay: m, velocity: c } = d;
|
|
542
|
-
(s || n) && (d.velocity = 0), t.config && !_ &&
|
|
542
|
+
(s || n) && (d.velocity = 0), t.config && !_ && jt(
|
|
543
543
|
d,
|
|
544
544
|
E(t.config, a),
|
|
545
545
|
// Avoid calling the same "config" prop twice.
|
|
@@ -553,7 +553,7 @@ var Ge = class extends Error {
|
|
|
553
553
|
// except for declarative updates. When `reset` is defined, there
|
|
554
554
|
// must exist a value to animate from.
|
|
555
555
|
o.und(t.reset) ? n && !t.default : !o.und(l) && he(t.reset, a)
|
|
556
|
-
), w = h ? l : this.get(), C = de(S), Q = o.num(C) || o.arr(C) ||
|
|
556
|
+
), w = h ? l : this.get(), C = de(S), Q = o.num(C) || o.arr(C) || tt(C), R = !_ && (!Q || he(u.immediate || t.immediate, a));
|
|
557
557
|
if (y) {
|
|
558
558
|
const O = Ae(S);
|
|
559
559
|
if (O !== v.constructor)
|
|
@@ -572,7 +572,7 @@ var Ge = class extends Error {
|
|
|
572
572
|
}
|
|
573
573
|
if (q && Y(this) && (r.changed && !h ? x = !0 : x || this._stop(p)), !_ && ((x || W(p)) && (r.values = v.getPayload(), r.toValues = W(S) ? null : N == ze ? [1] : M(C)), r.immediate != R && (r.immediate = R, !R && !h && this._set(p)), x)) {
|
|
574
574
|
const { onRest: O } = r;
|
|
575
|
-
I(
|
|
575
|
+
I(Nt, (L) => Ye(this, t, L));
|
|
576
576
|
const B = D(this, oe(this, p));
|
|
577
577
|
ce(this._pendingCalls, B), this._pendingCalls.add(i), r.changed && U.batchedUpdates(() => {
|
|
578
578
|
var L;
|
|
@@ -593,7 +593,7 @@ var Ge = class extends Error {
|
|
|
593
593
|
}
|
|
594
594
|
_detach() {
|
|
595
595
|
const { to: e } = this.animation;
|
|
596
|
-
W(e) &&
|
|
596
|
+
W(e) && et(e, this);
|
|
597
597
|
}
|
|
598
598
|
/**
|
|
599
599
|
* Update the current value from outside the frameloop,
|
|
@@ -686,14 +686,14 @@ function ge(e) {
|
|
|
686
686
|
const { to: t, from: i } = e = je(e), s = /* @__PURE__ */ new Set();
|
|
687
687
|
return o.obj(t) && Je(t, s), o.obj(i) && Je(i, s), e.keys = s.size ? Array.from(s) : null, e;
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function Qt(e) {
|
|
690
690
|
const t = ge(e);
|
|
691
691
|
return o.und(t.default) && (t.default = Pe(t)), t;
|
|
692
692
|
}
|
|
693
693
|
function Je(e, t) {
|
|
694
694
|
se(e, (i, s) => i != null && t.add(s));
|
|
695
695
|
}
|
|
696
|
-
var
|
|
696
|
+
var Nt = [
|
|
697
697
|
"onStart",
|
|
698
698
|
"onRest",
|
|
699
699
|
"onChange",
|
|
@@ -707,9 +707,9 @@ function re(e, t, ...i) {
|
|
|
707
707
|
var s, n, a, u;
|
|
708
708
|
(n = (s = e.animation)[t]) == null || n.call(s, ...i), (u = (a = e.defaultProps)[t]) == null || u.call(a, ...i);
|
|
709
709
|
}
|
|
710
|
-
var
|
|
710
|
+
var zt = ["onStart", "onChange", "onRest"], Bt = 1, dt = class {
|
|
711
711
|
constructor(e, t) {
|
|
712
|
-
this.id =
|
|
712
|
+
this.id = Bt++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = !1, this._state = {
|
|
713
713
|
paused: !1,
|
|
714
714
|
pauseQueue: /* @__PURE__ */ new Set(),
|
|
715
715
|
resumeQueue: /* @__PURE__ */ new Set(),
|
|
@@ -825,7 +825,7 @@ async function mt(e, t, i) {
|
|
|
825
825
|
const { keys: s, to: n, from: a, loop: u, onRest: r, onResolve: p } = t, f = o.obj(t.default) && t.default;
|
|
826
826
|
u && (t.loop = !1), n === !1 && (t.to = null), a === !1 && (t.from = null);
|
|
827
827
|
const S = o.arr(n) || o.fun(n) ? n : void 0;
|
|
828
|
-
S ? (t.to = void 0, t.onRest = void 0, f && (f.onRest = void 0)) : I(
|
|
828
|
+
S ? (t.to = void 0, t.onRest = void 0, f && (f.onRest = void 0)) : I(zt, (d) => {
|
|
829
829
|
const m = t[d];
|
|
830
830
|
if (o.fun(m)) {
|
|
831
831
|
const c = e._events[d];
|
|
@@ -886,7 +886,7 @@ function gt(e, t) {
|
|
|
886
886
|
});
|
|
887
887
|
}
|
|
888
888
|
function pt(e, t) {
|
|
889
|
-
const i = new
|
|
889
|
+
const i = new Ut();
|
|
890
890
|
return i.key = e, t && ve(i, t), i;
|
|
891
891
|
}
|
|
892
892
|
function _t(e, t, i) {
|
|
@@ -904,7 +904,7 @@ var vt = fe.createContext({
|
|
|
904
904
|
immediate: !1
|
|
905
905
|
}), Pt = () => {
|
|
906
906
|
const e = [], t = function(s) {
|
|
907
|
-
|
|
907
|
+
Ct();
|
|
908
908
|
const n = [];
|
|
909
909
|
return I(e, (a, u) => {
|
|
910
910
|
if (o.und(s))
|
|
@@ -949,7 +949,7 @@ var vt = fe.createContext({
|
|
|
949
949
|
};
|
|
950
950
|
return t._getProps = i, t;
|
|
951
951
|
};
|
|
952
|
-
function
|
|
952
|
+
function Lt(e, t, i) {
|
|
953
953
|
const s = o.fun(t) && t;
|
|
954
954
|
s && !i && (i = []);
|
|
955
955
|
const n = le(
|
|
@@ -980,7 +980,7 @@ function Bt(e, t, i) {
|
|
|
980
980
|
function l(c, v) {
|
|
981
981
|
for (let h = c; h < v; h++) {
|
|
982
982
|
const w = p.current[h] || (p.current[h] = new dt(null, r.flush)), C = s ? s(h, w) : t[h];
|
|
983
|
-
C && (f.current[h] =
|
|
983
|
+
C && (f.current[h] = Qt(C));
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
986
|
const P = p.current.map(
|
|
@@ -1001,7 +1001,7 @@ function Bt(e, t, i) {
|
|
|
1001
1001
|
return n ? [m, n] : m;
|
|
1002
1002
|
}
|
|
1003
1003
|
function Xt(e, t) {
|
|
1004
|
-
const i = o.fun(e), [[s], n] =
|
|
1004
|
+
const i = o.fun(e), [[s], n] = Lt(
|
|
1005
1005
|
1,
|
|
1006
1006
|
i ? e : [e],
|
|
1007
1007
|
i ? [] : t
|
|
@@ -1031,7 +1031,7 @@ function Zt(e, t, i) {
|
|
|
1031
1031
|
g.expired && clearTimeout(g.expirationId), Re(g.ctrl, P), g.ctrl.stop(!0);
|
|
1032
1032
|
});
|
|
1033
1033
|
}));
|
|
1034
|
-
const c =
|
|
1034
|
+
const c = Kt(y, s ? s() : t, m), v = n && d.current || [];
|
|
1035
1035
|
ue(
|
|
1036
1036
|
() => I(v, ({ ctrl: g, item: b, key: T }) => {
|
|
1037
1037
|
Re(g, P), E(f, b, T);
|
|
@@ -1096,9 +1096,9 @@ function Zt(e, t, i) {
|
|
|
1096
1096
|
const k = s ? s() : t, ne = o.und(k.initial) || m ? k.from : k.initial;
|
|
1097
1097
|
G.from = E(ne, g.item, b);
|
|
1098
1098
|
}
|
|
1099
|
-
const { onResolve:
|
|
1099
|
+
const { onResolve: St } = G;
|
|
1100
1100
|
G.onResolve = (k) => {
|
|
1101
|
-
E(
|
|
1101
|
+
E(St, k);
|
|
1102
1102
|
const ne = d.current, J = ne.find((pe) => pe.key === T);
|
|
1103
1103
|
if (J && !(k.cancelled && J.phase != "update") && J.ctrl.idle) {
|
|
1104
1104
|
const pe = ne.every((X) => X.ctrl.idle);
|
|
@@ -1146,22 +1146,22 @@ function Zt(e, t, i) {
|
|
|
1146
1146
|
}));
|
|
1147
1147
|
return P ? [L, P] : L;
|
|
1148
1148
|
}
|
|
1149
|
-
var
|
|
1150
|
-
function
|
|
1149
|
+
var Gt = 1;
|
|
1150
|
+
function Kt(e, { key: t, keys: i = t }, s) {
|
|
1151
1151
|
if (i === null) {
|
|
1152
1152
|
const n = /* @__PURE__ */ new Set();
|
|
1153
1153
|
return e.map((a) => {
|
|
1154
1154
|
const u = s && s.find(
|
|
1155
1155
|
(r) => r.item === a && r.phase !== "leave" && !n.has(r)
|
|
1156
1156
|
);
|
|
1157
|
-
return u ? (n.add(u), u.key) :
|
|
1157
|
+
return u ? (n.add(u), u.key) : Gt++;
|
|
1158
1158
|
});
|
|
1159
1159
|
}
|
|
1160
1160
|
return o.und(i) ? e : o.fun(i) ? e.map(i) : M(i);
|
|
1161
1161
|
}
|
|
1162
|
-
var
|
|
1162
|
+
var bt = class extends De {
|
|
1163
1163
|
constructor(e, t) {
|
|
1164
|
-
super(), this.source = e, this.idle = !0, this._active = /* @__PURE__ */ new Set(), this.calc =
|
|
1164
|
+
super(), this.source = e, this.idle = !0, this._active = /* @__PURE__ */ new Set(), this.calc = It(...t);
|
|
1165
1165
|
const i = this._get(), s = Ae(i);
|
|
1166
1166
|
st(this, s.create(i));
|
|
1167
1167
|
}
|
|
@@ -1188,7 +1188,7 @@ var Kt = class extends De {
|
|
|
1188
1188
|
// Stop observing our sources once we have no observers.
|
|
1189
1189
|
_detach() {
|
|
1190
1190
|
I(M(this.source), (e) => {
|
|
1191
|
-
W(e) &&
|
|
1191
|
+
W(e) && et(e, this);
|
|
1192
1192
|
}), this._active.clear(), Ie(this);
|
|
1193
1193
|
}
|
|
1194
1194
|
/** @internal */
|
|
@@ -1213,25 +1213,27 @@ function Ie(e) {
|
|
|
1213
1213
|
parent: e
|
|
1214
1214
|
}));
|
|
1215
1215
|
}
|
|
1216
|
+
var ei = (e, ...t) => new bt(e, t);
|
|
1216
1217
|
H.assign({
|
|
1217
|
-
createStringInterpolator:
|
|
1218
|
-
to: (e, t) => new
|
|
1218
|
+
createStringInterpolator: xt,
|
|
1219
|
+
to: (e, t) => new bt(e, t)
|
|
1219
1220
|
});
|
|
1220
1221
|
export {
|
|
1221
1222
|
Ge as BailSignal,
|
|
1222
1223
|
dt as Controller,
|
|
1223
1224
|
De as FrameValue,
|
|
1224
1225
|
H as Globals,
|
|
1225
|
-
|
|
1226
|
+
bt as Interpolation,
|
|
1226
1227
|
vt as SpringContext,
|
|
1227
1228
|
Pt as SpringRef,
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1229
|
+
Ut as SpringValue,
|
|
1230
|
+
Ot as config,
|
|
1231
|
+
It as createInterpolator,
|
|
1232
|
+
Rt as easings,
|
|
1232
1233
|
je as inferTo,
|
|
1234
|
+
ei as to,
|
|
1233
1235
|
ue as useIsomorphicLayoutEffect,
|
|
1234
1236
|
Xt as useSpring,
|
|
1235
|
-
|
|
1237
|
+
Lt as useSprings,
|
|
1236
1238
|
Zt as useTransition
|
|
1237
1239
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BailSignal as X, Controller as Y, FrameValue as tt, Interpolation as et, SpringContext as rt, SpringRef as ot, SpringValue as st, config as at, inferTo as it,
|
|
1
|
+
import { BailSignal as X, Controller as Y, FrameValue as tt, Interpolation as et, SpringContext as rt, SpringRef as ot, SpringValue as st, config as at, inferTo as it, to as lt, useSpring as nt, useSprings as ut, useTransition as dt } from "./index-react-spring_core.modern.js";
|
|
2
2
|
import { unstable_batchedUpdates as w } from "react-dom";
|
|
3
3
|
import { Globals as C, colors as A, createStringInterpolator as F, eachProp as I, is as h, toArray as k, FluidValue as T, each as f, getFluidValue as x, hasFluidValue as y, addFluidObserver as j, removeFluidObserver as N, callFluidObservers as P } from "./index-react-spring_shared.modern.js";
|
|
4
|
-
import { createInterpolator as
|
|
4
|
+
import { createInterpolator as mt, easings as ft, useIsomorphicLayoutEffect as ct } from "./index-react-spring_shared.modern.js";
|
|
5
5
|
import { createHost as V, AnimatedObject as _ } from "./index-react-spring_animated.modern.js";
|
|
6
6
|
var S = /^--/;
|
|
7
7
|
function E(t, e) {
|
|
@@ -304,11 +304,12 @@ export {
|
|
|
304
304
|
Z as a,
|
|
305
305
|
Z as animated,
|
|
306
306
|
at as config,
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
mt as createInterpolator,
|
|
308
|
+
ft as easings,
|
|
309
309
|
it as inferTo,
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
nt as
|
|
313
|
-
ut as
|
|
310
|
+
lt as to,
|
|
311
|
+
ct as useIsomorphicLayoutEffect,
|
|
312
|
+
nt as useSpring,
|
|
313
|
+
ut as useSprings,
|
|
314
|
+
dt as useTransition
|
|
314
315
|
};
|