@ssgoi/core 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -11
- package/dist/animator.d.ts.map +1 -1
- package/dist/create-ssgoi-transition-context.d.ts.map +1 -1
- package/dist/create-transition-callback.d.ts.map +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.js +204 -126
- package/dist/transition-strategy.d.ts +5 -0
- package/dist/transition-strategy.d.ts.map +1 -1
- package/dist/transition.d.ts.map +1 -1
- package/dist/transitions/blur.d.ts.map +1 -1
- package/dist/transitions/bounce.d.ts +1 -1
- package/dist/transitions/bounce.d.ts.map +1 -1
- package/dist/transitions/fly.d.ts.map +1 -1
- package/dist/transitions/index.cjs +1 -1
- package/dist/transitions/index.d.ts +1 -0
- package/dist/transitions/index.d.ts.map +1 -1
- package/dist/transitions/index.js +175 -119
- package/dist/transitions/mask.d.ts +31 -0
- package/dist/transitions/mask.d.ts.map +1 -0
- package/dist/transitions/none.d.ts.map +1 -1
- package/dist/transitions/rotate.d.ts +1 -1
- package/dist/transitions/scale.d.ts +1 -1
- package/dist/transitions/slide.d.ts +2 -2
- package/dist/transitions/slide.d.ts.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/get-rect.d.ts +7 -0
- package/dist/utils/get-rect.d.ts.map +1 -0
- package/dist/utils/get-scrolling-element.d.ts +6 -0
- package/dist/utils/get-scrolling-element.d.ts.map +1 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/parse-caller-location.d.ts +6 -0
- package/dist/utils/parse-caller-location.d.ts.map +1 -0
- package/dist/utils/prepare-outgoing.d.ts +6 -0
- package/dist/utils/prepare-outgoing.d.ts.map +1 -0
- package/dist/utils/sleep.d.ts +7 -0
- package/dist/utils/sleep.d.ts.map +1 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/view-transitions/blind.d.ts +13 -0
- package/dist/view-transitions/blind.d.ts.map +1 -0
- package/dist/view-transitions/fade.d.ts.map +1 -1
- package/dist/view-transitions/hero.d.ts.map +1 -1
- package/dist/view-transitions/index.cjs +30 -1
- package/dist/view-transitions/index.d.ts +2 -0
- package/dist/view-transitions/index.d.ts.map +1 -1
- package/dist/view-transitions/index.js +371 -217
- package/dist/view-transitions/pinterest.d.ts.map +1 -1
- package/dist/view-transitions/slide.d.ts +8 -0
- package/dist/view-transitions/slide.d.ts.map +1 -0
- package/package.json +14 -9
- package/dist/utils-8Eptbv7c.cjs +0 -2
- package/dist/utils-DTRMUQW4.js +0 -31
- package/dist/view-transitions/ripple.d.ts +0 -7
- package/dist/view-transitions/ripple.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/transitions/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/transitions/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC"}
|
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
const
|
|
1
|
+
const h = ($ = {}) => {
|
|
2
2
|
const {
|
|
3
|
-
from:
|
|
3
|
+
from: e = 0,
|
|
4
4
|
to: s = 1,
|
|
5
|
-
spring:
|
|
5
|
+
spring: o = { stiffness: 300, damping: 30 },
|
|
6
6
|
key: u
|
|
7
7
|
} = $;
|
|
8
8
|
return {
|
|
9
9
|
in: (l) => ({
|
|
10
|
-
spring:
|
|
10
|
+
spring: o,
|
|
11
11
|
tick: (y) => {
|
|
12
|
-
const
|
|
13
|
-
l.style.opacity =
|
|
12
|
+
const a = e + (s - e) * y;
|
|
13
|
+
l.style.opacity = a.toString();
|
|
14
14
|
}
|
|
15
15
|
}),
|
|
16
16
|
out: (l) => ({
|
|
17
|
-
spring:
|
|
17
|
+
spring: o,
|
|
18
18
|
tick: (y) => {
|
|
19
|
-
const
|
|
20
|
-
l.style.opacity =
|
|
19
|
+
const a = e + (s - e) * y;
|
|
20
|
+
l.style.opacity = a.toString();
|
|
21
21
|
}
|
|
22
22
|
}),
|
|
23
23
|
...u && { key: u }
|
|
24
24
|
};
|
|
25
|
-
},
|
|
25
|
+
}, d = ($ = {}) => {
|
|
26
26
|
const {
|
|
27
|
-
start:
|
|
27
|
+
start: e = 0,
|
|
28
28
|
opacity: s = 0,
|
|
29
|
-
axis:
|
|
29
|
+
axis: o = "both",
|
|
30
30
|
spring: u = { stiffness: 300, damping: 30 },
|
|
31
31
|
key: l
|
|
32
|
-
} = $, y = (
|
|
33
|
-
switch (
|
|
32
|
+
} = $, y = (a) => {
|
|
33
|
+
switch (o) {
|
|
34
34
|
case "x":
|
|
35
|
-
return `scaleX(${
|
|
35
|
+
return `scaleX(${a})`;
|
|
36
36
|
case "y":
|
|
37
|
-
return `scaleY(${
|
|
37
|
+
return `scaleY(${a})`;
|
|
38
38
|
case "both":
|
|
39
39
|
default:
|
|
40
|
-
return `scale(${
|
|
40
|
+
return `scale(${a})`;
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
return {
|
|
44
|
-
in: (
|
|
44
|
+
in: (a) => ({
|
|
45
45
|
spring: u,
|
|
46
|
-
tick: (
|
|
47
|
-
const
|
|
48
|
-
|
|
46
|
+
tick: (n) => {
|
|
47
|
+
const t = e + (1 - e) * n;
|
|
48
|
+
a.style.transform = y(t), a.style.opacity = (s + (1 - s) * n).toString();
|
|
49
49
|
}
|
|
50
50
|
}),
|
|
51
|
-
out: (
|
|
51
|
+
out: (a) => ({
|
|
52
52
|
spring: u,
|
|
53
|
-
tick: (
|
|
54
|
-
const
|
|
55
|
-
|
|
53
|
+
tick: (n) => {
|
|
54
|
+
const t = e + (1 - e) * n;
|
|
55
|
+
a.style.transform = y(t), a.style.opacity = (s + (1 - s) * n).toString();
|
|
56
56
|
}
|
|
57
57
|
}),
|
|
58
58
|
...l && { key: l }
|
|
59
59
|
};
|
|
60
60
|
}, x = ($ = {}) => {
|
|
61
61
|
const {
|
|
62
|
-
direction:
|
|
62
|
+
direction: e,
|
|
63
63
|
distance: s = 100,
|
|
64
|
-
opacity:
|
|
64
|
+
opacity: o = 0,
|
|
65
65
|
fade: u = !0,
|
|
66
66
|
axis: l,
|
|
67
67
|
spring: y = { stiffness: 400, damping: 35 },
|
|
68
|
-
key:
|
|
69
|
-
} = $,
|
|
70
|
-
const
|
|
71
|
-
switch (
|
|
68
|
+
key: a
|
|
69
|
+
} = $, t = e || (l === "x" ? "left" : l === "y" ? "up" : "left"), c = (i) => typeof i == "number" ? `${i}px` : i, f = (i) => {
|
|
70
|
+
const r = 1 - i, p = typeof s == "number" ? r * s : `calc(${c(s)} * ${r})`;
|
|
71
|
+
switch (t) {
|
|
72
72
|
case "left":
|
|
73
73
|
return typeof s == "number" ? `translateX(${-p}px)` : `translateX(calc(-1 * ${p}))`;
|
|
74
74
|
case "right":
|
|
@@ -80,161 +80,216 @@ const m = ($ = {}) => {
|
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
return {
|
|
83
|
-
in: (
|
|
83
|
+
in: (i) => ({
|
|
84
84
|
spring: y,
|
|
85
|
-
tick: (
|
|
86
|
-
|
|
85
|
+
tick: (r) => {
|
|
86
|
+
i.style.transform = f(r), u && (i.style.opacity = (o + (1 - o) * r).toString());
|
|
87
87
|
}
|
|
88
88
|
}),
|
|
89
|
-
out: (
|
|
89
|
+
out: (i) => ({
|
|
90
90
|
spring: y,
|
|
91
|
-
tick: (
|
|
92
|
-
|
|
91
|
+
tick: (r) => {
|
|
92
|
+
i.style.transform = f(r), u && (i.style.opacity = (o + (1 - o) * r).toString());
|
|
93
93
|
}
|
|
94
94
|
}),
|
|
95
|
-
...
|
|
95
|
+
...a && { key: a }
|
|
96
96
|
};
|
|
97
|
-
},
|
|
97
|
+
}, k = ($ = {}) => {
|
|
98
98
|
const {
|
|
99
|
-
degrees:
|
|
99
|
+
degrees: e = 360,
|
|
100
100
|
clockwise: s = !0,
|
|
101
|
-
scale:
|
|
101
|
+
scale: o = !1,
|
|
102
102
|
fade: u = !0,
|
|
103
103
|
origin: l = "center",
|
|
104
104
|
axis: y = "2d",
|
|
105
|
-
perspective:
|
|
106
|
-
spring:
|
|
107
|
-
key:
|
|
108
|
-
} = $,
|
|
109
|
-
const
|
|
105
|
+
perspective: a = 800,
|
|
106
|
+
spring: n = { stiffness: 500, damping: 25 },
|
|
107
|
+
key: t
|
|
108
|
+
} = $, c = s ? e : -e, f = (i) => {
|
|
109
|
+
const r = (1 - i) * c;
|
|
110
110
|
switch (y) {
|
|
111
111
|
case "x":
|
|
112
|
-
return `perspective(${
|
|
112
|
+
return `perspective(${a}px) rotateX(${r}deg)`;
|
|
113
113
|
case "y":
|
|
114
|
-
return `perspective(${
|
|
114
|
+
return `perspective(${a}px) rotateY(${r}deg)`;
|
|
115
115
|
case "z":
|
|
116
|
-
return `rotateZ(${
|
|
116
|
+
return `rotateZ(${r}deg)`;
|
|
117
117
|
case "2d":
|
|
118
118
|
default:
|
|
119
|
-
return `rotate(${
|
|
119
|
+
return `rotate(${r}deg)`;
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
return {
|
|
123
|
-
in: (
|
|
124
|
-
spring:
|
|
125
|
-
tick: (
|
|
126
|
-
const p = [f(
|
|
127
|
-
|
|
123
|
+
in: (i) => ({
|
|
124
|
+
spring: n,
|
|
125
|
+
tick: (r) => {
|
|
126
|
+
const p = [f(r)];
|
|
127
|
+
o && p.push(`scale(${r})`), i.style.transform = p.join(" "), i.style.transformOrigin = l, u && (i.style.opacity = r.toString());
|
|
128
128
|
}
|
|
129
129
|
}),
|
|
130
|
-
out: (
|
|
131
|
-
spring:
|
|
132
|
-
tick: (
|
|
133
|
-
const p = [f(
|
|
134
|
-
|
|
130
|
+
out: (i) => ({
|
|
131
|
+
spring: n,
|
|
132
|
+
tick: (r) => {
|
|
133
|
+
const p = [f(r)];
|
|
134
|
+
o && p.push(`scale(${r})`), i.style.transform = p.join(" "), i.style.transformOrigin = l, u && (i.style.opacity = r.toString());
|
|
135
135
|
}
|
|
136
136
|
}),
|
|
137
|
-
...
|
|
137
|
+
...t && { key: t }
|
|
138
138
|
};
|
|
139
|
-
},
|
|
139
|
+
}, S = ($ = {}) => {
|
|
140
140
|
const {
|
|
141
|
-
height:
|
|
141
|
+
height: e = 20,
|
|
142
142
|
intensity: s = 1,
|
|
143
|
-
scale:
|
|
143
|
+
scale: o = !0,
|
|
144
144
|
fade: u = !0,
|
|
145
145
|
direction: l = "up",
|
|
146
146
|
spring: y = { stiffness: 800, damping: 15 },
|
|
147
|
-
key:
|
|
147
|
+
key: a
|
|
148
148
|
} = $;
|
|
149
149
|
return {
|
|
150
|
-
in: (
|
|
150
|
+
in: (n) => ({
|
|
151
151
|
spring: y,
|
|
152
|
-
tick: (
|
|
153
|
-
const
|
|
154
|
-
if (l === "up" ?
|
|
155
|
-
const p = 0.8 +
|
|
156
|
-
|
|
152
|
+
tick: (t) => {
|
|
153
|
+
const c = [], f = Math.sin(t * Math.PI * (1 + s)), i = 1 - t, r = f * e * i;
|
|
154
|
+
if (l === "up" ? c.push(`translateY(${-Math.abs(r)}px)`) : c.push(`translateY(${Math.abs(r)}px)`), o) {
|
|
155
|
+
const p = 0.8 + t * 0.2 + f * 0.05 * i;
|
|
156
|
+
c.push(`scale(${p})`);
|
|
157
157
|
}
|
|
158
|
-
|
|
158
|
+
n.style.transform = c.join(" "), u && (n.style.opacity = t.toString());
|
|
159
159
|
}
|
|
160
160
|
}),
|
|
161
|
-
out: (
|
|
161
|
+
out: (n) => ({
|
|
162
162
|
spring: y,
|
|
163
|
-
tick: (
|
|
164
|
-
const
|
|
165
|
-
if (l === "up" ?
|
|
166
|
-
const p = 0.8 +
|
|
167
|
-
|
|
163
|
+
tick: (t) => {
|
|
164
|
+
const c = [], f = Math.sin(t * Math.PI * (1 + s)), i = 1 - t, r = f * e * i;
|
|
165
|
+
if (l === "up" ? c.push(`translateY(${-Math.abs(r)}px)`) : c.push(`translateY(${Math.abs(r)}px)`), o) {
|
|
166
|
+
const p = 0.8 + t * 0.2 + f * 0.05 * i;
|
|
167
|
+
c.push(`scale(${p})`);
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
n.style.transform = c.join(" "), u && (n.style.opacity = t.toString());
|
|
170
170
|
}
|
|
171
171
|
}),
|
|
172
|
-
...
|
|
172
|
+
...a && { key: a }
|
|
173
173
|
};
|
|
174
|
-
},
|
|
174
|
+
}, Y = ($ = {}) => {
|
|
175
175
|
const {
|
|
176
|
-
amount:
|
|
176
|
+
amount: e = 10,
|
|
177
177
|
opacity: s = 0,
|
|
178
|
-
scale:
|
|
178
|
+
scale: o = !1,
|
|
179
179
|
fade: u = !0,
|
|
180
180
|
spring: l = { stiffness: 300, damping: 30 },
|
|
181
181
|
key: y
|
|
182
|
-
} = $,
|
|
182
|
+
} = $, a = (n) => typeof n == "number" ? `${n}px` : n;
|
|
183
183
|
return {
|
|
184
|
-
in: (
|
|
184
|
+
in: (n) => ({
|
|
185
185
|
spring: l,
|
|
186
|
-
tick: (
|
|
187
|
-
const
|
|
188
|
-
|
|
186
|
+
tick: (t) => {
|
|
187
|
+
const c = 1 - t, f = typeof e == "number" ? c * e : `calc(${a(e)} * ${c})`;
|
|
188
|
+
n.style.filter = typeof e == "number" ? `blur(${f}px)` : `blur(${f})`, o && (n.style.transform = `scale(${0.8 + t * 0.2})`), u && (n.style.opacity = (s + (1 - s) * t).toString());
|
|
189
189
|
}
|
|
190
190
|
}),
|
|
191
|
-
out: (
|
|
191
|
+
out: (n) => ({
|
|
192
192
|
spring: l,
|
|
193
|
-
tick: (
|
|
194
|
-
const
|
|
195
|
-
|
|
193
|
+
tick: (t) => {
|
|
194
|
+
const c = 1 - t, f = typeof e == "number" ? c * e : `calc(${a(e)} * ${c})`;
|
|
195
|
+
n.style.filter = typeof e == "number" ? `blur(${f}px)` : `blur(${f})`, o && (n.style.transform = `scale(${0.8 + t * 0.2})`), u && (n.style.opacity = (s + (1 - s) * t).toString());
|
|
196
196
|
}
|
|
197
197
|
}),
|
|
198
198
|
...y && { key: y }
|
|
199
199
|
};
|
|
200
|
-
},
|
|
200
|
+
}, M = ($ = {}) => {
|
|
201
201
|
const {
|
|
202
|
-
x:
|
|
202
|
+
x: e = 0,
|
|
203
203
|
y: s = -100,
|
|
204
|
-
opacity:
|
|
204
|
+
opacity: o = 0,
|
|
205
205
|
spring: u = { stiffness: 400, damping: 35 },
|
|
206
206
|
key: l
|
|
207
|
-
} = $, y = (
|
|
207
|
+
} = $, y = (n) => typeof n == "number" ? `${n}px` : n, a = (n) => typeof n == "number" ? `${n}px` : n;
|
|
208
208
|
return {
|
|
209
|
-
in: (
|
|
209
|
+
in: (n) => ({
|
|
210
210
|
spring: u,
|
|
211
|
-
tick: (
|
|
212
|
-
const
|
|
213
|
-
|
|
211
|
+
tick: (t) => {
|
|
212
|
+
const c = typeof e == "number" ? (1 - t) * e : `calc(${y(e)} * ${1 - t})`, f = typeof s == "number" ? (1 - t) * s : `calc(${a(s)} * ${1 - t})`;
|
|
213
|
+
n.style.transform = `translate(${typeof e == "number" ? c + "px" : c}, ${typeof s == "number" ? f + "px" : f})`, n.style.opacity = (o + (1 - o) * t).toString();
|
|
214
214
|
}
|
|
215
215
|
}),
|
|
216
|
-
out: (
|
|
216
|
+
out: (n) => ({
|
|
217
217
|
spring: u,
|
|
218
|
-
tick: (
|
|
219
|
-
const
|
|
220
|
-
|
|
218
|
+
tick: (t) => {
|
|
219
|
+
const c = typeof e == "number" ? (1 - t) * e : `calc(${y(e)} * ${1 - t})`, f = typeof s == "number" ? (1 - t) * s : `calc(${a(s)} * ${1 - t})`;
|
|
220
|
+
n.style.transform = `translate(${typeof e == "number" ? c + "px" : c}, ${typeof s == "number" ? f + "px" : f})`, n.style.opacity = (o + (1 - o) * t).toString();
|
|
221
221
|
}
|
|
222
222
|
}),
|
|
223
223
|
...l && { key: l }
|
|
224
224
|
};
|
|
225
|
-
},
|
|
225
|
+
}, O = ($ = {}) => {
|
|
226
226
|
const {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
227
|
+
shape: e = "circle",
|
|
228
|
+
origin: s = "center",
|
|
229
|
+
scale: o = 1.5,
|
|
230
|
+
fade: u = !1,
|
|
231
|
+
spring: l = { stiffness: 300, damping: 30 },
|
|
232
|
+
key: y
|
|
233
|
+
} = $, a = () => {
|
|
234
|
+
switch (s) {
|
|
235
|
+
case "top":
|
|
236
|
+
return "50% 0%";
|
|
237
|
+
case "bottom":
|
|
238
|
+
return "50% 100%";
|
|
239
|
+
case "left":
|
|
240
|
+
return "0% 50%";
|
|
241
|
+
case "right":
|
|
242
|
+
return "100% 50%";
|
|
243
|
+
case "top-left":
|
|
244
|
+
return "0% 0%";
|
|
245
|
+
case "top-right":
|
|
246
|
+
return "100% 0%";
|
|
247
|
+
case "bottom-left":
|
|
248
|
+
return "0% 100%";
|
|
249
|
+
case "bottom-right":
|
|
250
|
+
return "100% 100%";
|
|
251
|
+
case "center":
|
|
252
|
+
default:
|
|
253
|
+
return "50% 50%";
|
|
254
|
+
}
|
|
255
|
+
}, n = (t) => {
|
|
256
|
+
const c = t * o * 100, f = a();
|
|
257
|
+
switch (e) {
|
|
258
|
+
case "ellipse":
|
|
259
|
+
return `ellipse(${c}% ${c * 0.75}% at ${f})`;
|
|
260
|
+
case "square":
|
|
261
|
+
const i = t * o * 100, [r, p] = f.split(" "), b = parseFloat(r), g = parseFloat(p), m = i / 2;
|
|
262
|
+
return `polygon(${b - m}% ${g - m}%, ${b + m}% ${g - m}%, ${b + m}% ${g + m}%, ${b - m}% ${g + m}%)`;
|
|
263
|
+
case "circle":
|
|
264
|
+
default:
|
|
265
|
+
return `circle(${c}% at ${f})`;
|
|
266
|
+
}
|
|
267
|
+
};
|
|
230
268
|
return {
|
|
231
|
-
in: (
|
|
232
|
-
spring:
|
|
269
|
+
in: (t) => ({
|
|
270
|
+
spring: l,
|
|
271
|
+
tick: (c) => {
|
|
272
|
+
t.style.clipPath = n(c), u && (t.style.opacity = c.toString());
|
|
273
|
+
}
|
|
274
|
+
}),
|
|
275
|
+
out: (t) => ({
|
|
276
|
+
spring: l,
|
|
277
|
+
tick: (c) => {
|
|
278
|
+
t.style.clipPath = n(c), u && (t.style.opacity = c.toString());
|
|
279
|
+
}
|
|
280
|
+
}),
|
|
281
|
+
...y && { key: y }
|
|
282
|
+
};
|
|
283
|
+
}, V = ($ = {}) => {
|
|
284
|
+
const { spring: e = { stiffness: 1e3, damping: 100 }, key: s } = $;
|
|
285
|
+
return {
|
|
286
|
+
in: (o) => ({
|
|
287
|
+
spring: e,
|
|
233
288
|
tick: (u) => {
|
|
234
289
|
}
|
|
235
290
|
}),
|
|
236
|
-
out: (
|
|
237
|
-
spring:
|
|
291
|
+
out: (o) => ({
|
|
292
|
+
spring: e,
|
|
238
293
|
tick: (u) => {
|
|
239
294
|
}
|
|
240
295
|
}),
|
|
@@ -242,12 +297,13 @@ const m = ($ = {}) => {
|
|
|
242
297
|
};
|
|
243
298
|
};
|
|
244
299
|
export {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
300
|
+
Y as blur,
|
|
301
|
+
S as bounce,
|
|
302
|
+
h as fade,
|
|
303
|
+
M as fly,
|
|
304
|
+
O as mask,
|
|
305
|
+
V as none,
|
|
306
|
+
k as rotate,
|
|
307
|
+
d as scale,
|
|
252
308
|
x as slide
|
|
253
309
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { TransitionKey } from '../types';
|
|
2
|
+
interface MaskOptions {
|
|
3
|
+
shape?: "circle" | "ellipse" | "square";
|
|
4
|
+
origin?: "center" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
5
|
+
scale?: number;
|
|
6
|
+
fade?: boolean;
|
|
7
|
+
spring?: {
|
|
8
|
+
stiffness?: number;
|
|
9
|
+
damping?: number;
|
|
10
|
+
};
|
|
11
|
+
key?: TransitionKey;
|
|
12
|
+
}
|
|
13
|
+
export declare const mask: (options?: MaskOptions) => {
|
|
14
|
+
key?: TransitionKey | undefined;
|
|
15
|
+
in: (element: HTMLElement) => {
|
|
16
|
+
spring: {
|
|
17
|
+
stiffness?: number;
|
|
18
|
+
damping?: number;
|
|
19
|
+
};
|
|
20
|
+
tick: (progress: number) => void;
|
|
21
|
+
};
|
|
22
|
+
out: (element: HTMLElement) => {
|
|
23
|
+
spring: {
|
|
24
|
+
stiffness?: number;
|
|
25
|
+
damping?: number;
|
|
26
|
+
};
|
|
27
|
+
tick: (progress: number) => void;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=mask.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mask.d.ts","sourceRoot":"","sources":["../../src/lib/transitions/mask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxC,MAAM,CAAC,EACH,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,MAAM,GACN,OAAO,GACP,UAAU,GACV,WAAW,GACX,aAAa,GACb,cAAc,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE;QACP,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,GAAG,CAAC,EAAE,aAAa,CAAC;CACrB;AAED,eAAO,MAAM,IAAI,GAAI,UAAS,WAAgB;;kBA2D5B,WAAW;;wBAjEb,MAAM;sBACR,MAAM;;yBAkEG,MAAM;;mBAQV,WAAW;;wBA3Ed,MAAM;sBACR,MAAM;;yBA4EG,MAAM;;CAU5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"none.d.ts","sourceRoot":"","sources":["../../src/lib/transitions/none.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE;QACP,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,GAAG,CAAC,EAAE,aAAa,CAAC;CACrB;AAED,eAAO,MAAM,IAAI,GAAI,UAAS,WAAgB;;
|
|
1
|
+
{"version":3,"file":"none.d.ts","sourceRoot":"","sources":["../../src/lib/transitions/none.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE;QACP,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,GAAG,CAAC,EAAE,aAAa,CAAC;CACrB;AAED,eAAO,MAAM,IAAI,GAAI,UAAS,WAAgB;;mBAI3B,WAAW;;wBAVd,MAAM;sBACR,MAAM;;0BAWI,MAAM;;oBAIV,WAAW;;wBAhBf,MAAM;sBACR,MAAM;;0BAiBI,MAAM;;CAM7B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TransitionKey } from '../types';
|
|
2
2
|
interface SlideOptions {
|
|
3
|
-
direction?:
|
|
3
|
+
direction?: "left" | "right" | "up" | "down";
|
|
4
4
|
distance?: number | string;
|
|
5
5
|
opacity?: number;
|
|
6
6
|
fade?: boolean;
|
|
7
|
-
axis?:
|
|
7
|
+
axis?: "x" | "y";
|
|
8
8
|
spring?: {
|
|
9
9
|
stiffness?: number;
|
|
10
10
|
damping?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slide.d.ts","sourceRoot":"","sources":["../../src/lib/transitions/slide.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,UAAU,YAAY;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,CAAC;IAC7C,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;IACjB,MAAM,CAAC,EAAE;QACP,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,GAAG,CAAC,EAAE,aAAa,CAAC;CACrB;AAED,eAAO,MAAM,KAAK,GAAI,UAAS,YAAiB;;
|
|
1
|
+
{"version":3,"file":"slide.d.ts","sourceRoot":"","sources":["../../src/lib/transitions/slide.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,UAAU,YAAY;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,CAAC;IAC7C,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM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MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,CAAC,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,UAAU,EAAE,eAAe,CAAC;QAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,EAAE,CAAC;IACJ,iBAAiB,CAAC,EAAE,eAAe,CAAC;IACpC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;CACzE,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,CACzB,IAAI,EAAE,MAAM,KACT,UAAU,GAAG;IAAE,GAAG,EAAE,aAAa,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the relative position of an element to its root container
|
|
3
|
+
* Returns a DOMRect with position relative to the root element
|
|
4
|
+
* Uses offset properties instead of getBoundingClientRect to avoid transform issues
|
|
5
|
+
*/
|
|
6
|
+
export declare function getRect(root: HTMLElement, el: HTMLElement): DOMRect;
|
|
7
|
+
//# sourceMappingURL=get-rect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-rect.d.ts","sourceRoot":"","sources":["../../src/lib/utils/get-rect.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,GAAG,OAAO,CAmCnE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gets the scrolling element that contains the given element
|
|
3
|
+
* Returns the first scrollable parent element or document.documentElement
|
|
4
|
+
*/
|
|
5
|
+
export declare const getScrollingElement: (element: HTMLElement) => HTMLElement;
|
|
6
|
+
//# sourceMappingURL=get-scrolling-element.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-scrolling-element.d.ts","sourceRoot":"","sources":["../../src/lib/utils/get-scrolling-element.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,SAAS,WAAW,KAAG,WAyB1D,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { prepareOutgoing } from './prepare-outgoing';
|
|
2
|
+
export { getScrollingElement } from './get-scrolling-element';
|
|
3
|
+
export { parseCallerLocation } from './parse-caller-location';
|
|
4
|
+
export { sleep } from './sleep';
|
|
5
|
+
export { getRect } from './get-rect';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse-caller-location.d.ts","sourceRoot":"","sources":["../../src/lib/utils/parse-caller-location.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,GAC9B,QAAQ,MAAM,KACb;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,IA+BnD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prepare-outgoing.d.ts","sourceRoot":"","sources":["../../src/lib/utils/prepare-outgoing.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,WAAW,KAAG,IAKtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sleep.d.ts","sourceRoot":"","sources":["../../src/lib/utils/sleep.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,IAAI,MAAM,KAAG,OAAO,CAAC,IAAI,CAE9C,CAAC"}
|
package/dist/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/lib/utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,WAAW,KAAG,IAKtD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,SAAS,WAAW,KAAG,WAyB1D,CAAC;AAIF,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/lib/utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,WAAW,KAAG,IAKtD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,SAAS,WAAW,KAAG,WAyB1D,CAAC;AAIF,eAAO,MAAM,mBAAmB,GAC9B,QAAQ,MAAM,KACb;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,IA+BnD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,IAAI,MAAM,KAAG,OAAO,CAAC,IAAI,CAE9C,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SpringConfig, SggoiTransition } from '../types';
|
|
2
|
+
interface BlindOptions {
|
|
3
|
+
inSpring?: SpringConfig;
|
|
4
|
+
outSpring?: SpringConfig;
|
|
5
|
+
transitionDelay?: number;
|
|
6
|
+
blindCount?: number;
|
|
7
|
+
direction?: "horizontal" | "vertical";
|
|
8
|
+
staggerDelay?: number;
|
|
9
|
+
blindColor?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const blind: (options?: BlindOptions) => SggoiTransition;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=blind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blind.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/blind.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAU9D,UAAU,YAAY;IACpB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,KAAK,GAAI,UAAS,YAAiB,KAAG,eAmNlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fade.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/fade.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"fade.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/fade.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAQ9D,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,IAAI,GAAI,UAAS,WAAgB,KAAG,eAmDhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/hero.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"hero.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/hero.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI9D,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAMD,eAAO,MAAM,IAAI,GAAI,UAAS,WAAgB,KAAG,eAgKhD,CAAC"}
|