@ssgoi/core 2.1.2 → 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.
Files changed (54) hide show
  1. package/README.md +10 -11
  2. package/dist/animator.d.ts.map +1 -1
  3. package/dist/create-ssgoi-transition-context.d.ts.map +1 -1
  4. package/dist/create-transition-callback.d.ts.map +1 -1
  5. package/dist/index.cjs +2 -1
  6. package/dist/index.js +204 -126
  7. package/dist/transition-strategy.d.ts +5 -0
  8. package/dist/transition-strategy.d.ts.map +1 -1
  9. package/dist/transition.d.ts.map +1 -1
  10. package/dist/transitions/blur.d.ts.map +1 -1
  11. package/dist/transitions/bounce.d.ts +1 -1
  12. package/dist/transitions/bounce.d.ts.map +1 -1
  13. package/dist/transitions/fly.d.ts.map +1 -1
  14. package/dist/transitions/index.cjs +1 -1
  15. package/dist/transitions/index.d.ts +1 -0
  16. package/dist/transitions/index.d.ts.map +1 -1
  17. package/dist/transitions/index.js +175 -119
  18. package/dist/transitions/mask.d.ts +31 -0
  19. package/dist/transitions/mask.d.ts.map +1 -0
  20. package/dist/transitions/none.d.ts.map +1 -1
  21. package/dist/transitions/rotate.d.ts +1 -1
  22. package/dist/transitions/scale.d.ts +1 -1
  23. package/dist/transitions/slide.d.ts +2 -2
  24. package/dist/transitions/slide.d.ts.map +1 -1
  25. package/dist/types.d.ts.map +1 -1
  26. package/dist/utils/get-rect.d.ts +7 -0
  27. package/dist/utils/get-rect.d.ts.map +1 -0
  28. package/dist/utils/get-scrolling-element.d.ts +6 -0
  29. package/dist/utils/get-scrolling-element.d.ts.map +1 -0
  30. package/dist/utils/index.d.ts +6 -0
  31. package/dist/utils/index.d.ts.map +1 -0
  32. package/dist/utils/parse-caller-location.d.ts +6 -0
  33. package/dist/utils/parse-caller-location.d.ts.map +1 -0
  34. package/dist/utils/prepare-outgoing.d.ts +6 -0
  35. package/dist/utils/prepare-outgoing.d.ts.map +1 -0
  36. package/dist/utils/sleep.d.ts +7 -0
  37. package/dist/utils/sleep.d.ts.map +1 -0
  38. package/dist/utils.d.ts.map +1 -1
  39. package/dist/view-transitions/blind.d.ts +13 -0
  40. package/dist/view-transitions/blind.d.ts.map +1 -0
  41. package/dist/view-transitions/fade.d.ts.map +1 -1
  42. package/dist/view-transitions/hero.d.ts.map +1 -1
  43. package/dist/view-transitions/index.cjs +30 -1
  44. package/dist/view-transitions/index.d.ts +2 -0
  45. package/dist/view-transitions/index.d.ts.map +1 -1
  46. package/dist/view-transitions/index.js +371 -217
  47. package/dist/view-transitions/pinterest.d.ts.map +1 -1
  48. package/dist/view-transitions/slide.d.ts +8 -0
  49. package/dist/view-transitions/slide.d.ts.map +1 -0
  50. package/package.json +8 -2
  51. package/dist/utils-8Eptbv7c.cjs +0 -2
  52. package/dist/utils-DTRMUQW4.js +0 -31
  53. package/dist/view-transitions/ripple.d.ts +0 -7
  54. 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 m = ($ = {}) => {
1
+ const h = ($ = {}) => {
2
2
  const {
3
- from: n = 0,
3
+ from: e = 0,
4
4
  to: s = 1,
5
- spring: r = { stiffness: 300, damping: 30 },
5
+ spring: o = { stiffness: 300, damping: 30 },
6
6
  key: u
7
7
  } = $;
8
8
  return {
9
9
  in: (l) => ({
10
- spring: r,
10
+ spring: o,
11
11
  tick: (y) => {
12
- const c = n + (s - n) * y;
13
- l.style.opacity = c.toString();
12
+ const a = e + (s - e) * y;
13
+ l.style.opacity = a.toString();
14
14
  }
15
15
  }),
16
16
  out: (l) => ({
17
- spring: r,
17
+ spring: o,
18
18
  tick: (y) => {
19
- const c = n + (s - n) * y;
20
- l.style.opacity = c.toString();
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
- }, b = ($ = {}) => {
25
+ }, d = ($ = {}) => {
26
26
  const {
27
- start: n = 0,
27
+ start: e = 0,
28
28
  opacity: s = 0,
29
- axis: r = "both",
29
+ axis: o = "both",
30
30
  spring: u = { stiffness: 300, damping: 30 },
31
31
  key: l
32
- } = $, y = (c) => {
33
- switch (r) {
32
+ } = $, y = (a) => {
33
+ switch (o) {
34
34
  case "x":
35
- return `scaleX(${c})`;
35
+ return `scaleX(${a})`;
36
36
  case "y":
37
- return `scaleY(${c})`;
37
+ return `scaleY(${a})`;
38
38
  case "both":
39
39
  default:
40
- return `scale(${c})`;
40
+ return `scale(${a})`;
41
41
  }
42
42
  };
43
43
  return {
44
- in: (c) => ({
44
+ in: (a) => ({
45
45
  spring: u,
46
- tick: (t) => {
47
- const e = n + (1 - n) * t;
48
- c.style.transform = y(e), c.style.opacity = (s + (1 - s) * t).toString();
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: (c) => ({
51
+ out: (a) => ({
52
52
  spring: u,
53
- tick: (t) => {
54
- const e = n + (1 - n) * t;
55
- c.style.transform = y(e), c.style.opacity = (s + (1 - s) * t).toString();
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: n,
62
+ direction: e,
63
63
  distance: s = 100,
64
- opacity: r = 0,
64
+ opacity: o = 0,
65
65
  fade: u = !0,
66
66
  axis: l,
67
67
  spring: y = { stiffness: 400, damping: 35 },
68
- key: c
69
- } = $, e = n || (l === "x" ? "left" : l === "y" ? "up" : "left"), o = (a) => typeof a == "number" ? `${a}px` : a, f = (a) => {
70
- const i = 1 - a, p = typeof s == "number" ? i * s : `calc(${o(s)} * ${i})`;
71
- switch (e) {
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: (a) => ({
83
+ in: (i) => ({
84
84
  spring: y,
85
- tick: (i) => {
86
- a.style.transform = f(i), u && (a.style.opacity = (r + (1 - r) * i).toString());
85
+ tick: (r) => {
86
+ i.style.transform = f(r), u && (i.style.opacity = (o + (1 - o) * r).toString());
87
87
  }
88
88
  }),
89
- out: (a) => ({
89
+ out: (i) => ({
90
90
  spring: y,
91
- tick: (i) => {
92
- a.style.transform = f(i), u && (a.style.opacity = (r + (1 - r) * i).toString());
91
+ tick: (r) => {
92
+ i.style.transform = f(r), u && (i.style.opacity = (o + (1 - o) * r).toString());
93
93
  }
94
94
  }),
95
- ...c && { key: c }
95
+ ...a && { key: a }
96
96
  };
97
- }, d = ($ = {}) => {
97
+ }, k = ($ = {}) => {
98
98
  const {
99
- degrees: n = 360,
99
+ degrees: e = 360,
100
100
  clockwise: s = !0,
101
- scale: r = !1,
101
+ scale: o = !1,
102
102
  fade: u = !0,
103
103
  origin: l = "center",
104
104
  axis: y = "2d",
105
- perspective: c = 800,
106
- spring: t = { stiffness: 500, damping: 25 },
107
- key: e
108
- } = $, o = s ? n : -n, f = (a) => {
109
- const i = (1 - a) * o;
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(${c}px) rotateX(${i}deg)`;
112
+ return `perspective(${a}px) rotateX(${r}deg)`;
113
113
  case "y":
114
- return `perspective(${c}px) rotateY(${i}deg)`;
114
+ return `perspective(${a}px) rotateY(${r}deg)`;
115
115
  case "z":
116
- return `rotateZ(${i}deg)`;
116
+ return `rotateZ(${r}deg)`;
117
117
  case "2d":
118
118
  default:
119
- return `rotate(${i}deg)`;
119
+ return `rotate(${r}deg)`;
120
120
  }
121
121
  };
122
122
  return {
123
- in: (a) => ({
124
- spring: t,
125
- tick: (i) => {
126
- const p = [f(i)];
127
- r && p.push(`scale(${i})`), a.style.transform = p.join(" "), a.style.transformOrigin = l, u && (a.style.opacity = i.toString());
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: (a) => ({
131
- spring: t,
132
- tick: (i) => {
133
- const p = [f(i)];
134
- r && p.push(`scale(${i})`), a.style.transform = p.join(" "), a.style.transformOrigin = l, u && (a.style.opacity = i.toString());
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
- ...e && { key: e }
137
+ ...t && { key: t }
138
138
  };
139
- }, g = ($ = {}) => {
139
+ }, S = ($ = {}) => {
140
140
  const {
141
- height: n = 20,
141
+ height: e = 20,
142
142
  intensity: s = 1,
143
- scale: r = !0,
143
+ scale: o = !0,
144
144
  fade: u = !0,
145
145
  direction: l = "up",
146
146
  spring: y = { stiffness: 800, damping: 15 },
147
- key: c
147
+ key: a
148
148
  } = $;
149
149
  return {
150
- in: (t) => ({
150
+ in: (n) => ({
151
151
  spring: y,
152
- tick: (e) => {
153
- const o = [], f = Math.sin(e * Math.PI * (1 + s)), a = 1 - e, i = f * n * a;
154
- if (l === "up" ? o.push(`translateY(${-Math.abs(i)}px)`) : o.push(`translateY(${Math.abs(i)}px)`), r) {
155
- const p = 0.8 + e * 0.2 + f * 0.05 * a;
156
- o.push(`scale(${p})`);
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
- t.style.transform = o.join(" "), u && (t.style.opacity = e.toString());
158
+ n.style.transform = c.join(" "), u && (n.style.opacity = t.toString());
159
159
  }
160
160
  }),
161
- out: (t) => ({
161
+ out: (n) => ({
162
162
  spring: y,
163
- tick: (e) => {
164
- const o = [], f = Math.sin(e * Math.PI * (1 + s)), a = 1 - e, i = f * n * a;
165
- if (l === "up" ? o.push(`translateY(${-Math.abs(i)}px)`) : o.push(`translateY(${Math.abs(i)}px)`), r) {
166
- const p = 0.8 + e * 0.2 + f * 0.05 * a;
167
- o.push(`scale(${p})`);
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
- t.style.transform = o.join(" "), u && (t.style.opacity = e.toString());
169
+ n.style.transform = c.join(" "), u && (n.style.opacity = t.toString());
170
170
  }
171
171
  }),
172
- ...c && { key: c }
172
+ ...a && { key: a }
173
173
  };
174
- }, k = ($ = {}) => {
174
+ }, Y = ($ = {}) => {
175
175
  const {
176
- amount: n = 10,
176
+ amount: e = 10,
177
177
  opacity: s = 0,
178
- scale: r = !1,
178
+ scale: o = !1,
179
179
  fade: u = !0,
180
180
  spring: l = { stiffness: 300, damping: 30 },
181
181
  key: y
182
- } = $, c = (t) => typeof t == "number" ? `${t}px` : t;
182
+ } = $, a = (n) => typeof n == "number" ? `${n}px` : n;
183
183
  return {
184
- in: (t) => ({
184
+ in: (n) => ({
185
185
  spring: l,
186
- tick: (e) => {
187
- const o = 1 - e, f = typeof n == "number" ? o * n : `calc(${c(n)} * ${o})`;
188
- t.style.filter = typeof n == "number" ? `blur(${f}px)` : `blur(${f})`, r && (t.style.transform = `scale(${0.8 + e * 0.2})`), u && (t.style.opacity = (s + (1 - s) * e).toString());
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: (t) => ({
191
+ out: (n) => ({
192
192
  spring: l,
193
- tick: (e) => {
194
- const o = 1 - e, f = typeof n == "number" ? o * n : `calc(${c(n)} * ${o})`;
195
- t.style.filter = typeof n == "number" ? `blur(${f}px)` : `blur(${f})`, r && (t.style.transform = `scale(${0.8 + e * 0.2})`), u && (t.style.opacity = (s + (1 - s) * e).toString());
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
- }, h = ($ = {}) => {
200
+ }, M = ($ = {}) => {
201
201
  const {
202
- x: n = 0,
202
+ x: e = 0,
203
203
  y: s = -100,
204
- opacity: r = 0,
204
+ opacity: o = 0,
205
205
  spring: u = { stiffness: 400, damping: 35 },
206
206
  key: l
207
- } = $, y = (t) => typeof t == "number" ? `${t}px` : t, c = (t) => typeof t == "number" ? `${t}px` : t;
207
+ } = $, y = (n) => typeof n == "number" ? `${n}px` : n, a = (n) => typeof n == "number" ? `${n}px` : n;
208
208
  return {
209
- in: (t) => ({
209
+ in: (n) => ({
210
210
  spring: u,
211
- tick: (e) => {
212
- const o = typeof n == "number" ? (1 - e) * n : `calc(${y(n)} * ${1 - e})`, f = typeof s == "number" ? (1 - e) * s : `calc(${c(s)} * ${1 - e})`;
213
- t.style.transform = `translate(${typeof n == "number" ? o + "px" : o}, ${typeof s == "number" ? f + "px" : f})`, t.style.opacity = (r + (1 - r) * e).toString();
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: (t) => ({
216
+ out: (n) => ({
217
217
  spring: u,
218
- tick: (e) => {
219
- const o = typeof n == "number" ? (1 - e) * n : `calc(${y(n)} * ${1 - e})`, f = typeof s == "number" ? (1 - e) * s : `calc(${c(s)} * ${1 - e})`;
220
- t.style.transform = `translate(${typeof n == "number" ? o + "px" : o}, ${typeof s == "number" ? f + "px" : f})`, t.style.opacity = (r + (1 - r) * e).toString();
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
- }, S = ($ = {}) => {
225
+ }, O = ($ = {}) => {
226
226
  const {
227
- spring: n = { stiffness: 1e3, damping: 100 },
228
- key: s
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: (r) => ({
232
- spring: n,
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: (r) => ({
237
- spring: n,
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
- k as blur,
246
- g as bounce,
247
- m as fade,
248
- h as fly,
249
- S as none,
250
- d as rotate,
251
- b as scale,
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;;mBAO3B,WAAW;;wBAbd,MAAM;sBACR,MAAM;;0BAcI,MAAM;;oBAIV,WAAW;;wBAnBf,MAAM;sBACR,MAAM;;0BAoBI,MAAM;;CAM7B,CAAC"}
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"}
@@ -5,7 +5,7 @@ interface RotateOptions {
5
5
  scale?: boolean;
6
6
  fade?: boolean;
7
7
  origin?: string;
8
- axis?: '2d' | 'x' | 'y' | 'z';
8
+ axis?: "2d" | "x" | "y" | "z";
9
9
  perspective?: number;
10
10
  spring?: {
11
11
  stiffness?: number;
@@ -2,7 +2,7 @@ import { TransitionKey } from '../types';
2
2
  interface ScaleOptions {
3
3
  start?: number;
4
4
  opacity?: number;
5
- axis?: 'x' | 'y' | 'both';
5
+ axis?: "x" | "y" | "both";
6
6
  spring?: {
7
7
  stiffness?: number;
8
8
  damping?: number;
@@ -1,10 +1,10 @@
1
1
  import { TransitionKey } from '../types';
2
2
  interface SlideOptions {
3
- direction?: 'left' | 'right' | 'up' | 'down';
3
+ direction?: "left" | "right" | "up" | "down";
4
4
  distance?: number | string;
5
5
  opacity?: number;
6
6
  fade?: boolean;
7
- axis?: 'x' | 'y';
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,MA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AAC,EAAE,mBAAmB,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;IACrD,GAAG,CAAC,EAAE,aAAa,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAC3B,QAAQ,GAAG,SAAS,EACpB,eAAe,GAAG,MAAM,IACtB,UAAU,CAAC,QAAQ,EAAE,eAAe,CAAC,GAAG;IAC1C,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,CAC/B,OAAO,EAAE,WAAW,GAAG,IAAI,KACxB,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;AAEzB,MAAM,MAAM,sBAAsB,GAAG;IACnC,YAAY,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAEjE,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,6 @@
1
+ export declare const parseCallerLocation: (stack?: string) => {
2
+ file: string;
3
+ line: string;
4
+ column: string;
5
+ } | null;
6
+ //# sourceMappingURL=parse-caller-location.d.ts.map
@@ -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,6 @@
1
+ /**
2
+ * Applies common styles for outgoing page elements
3
+ * Makes the element absolute positioned to allow the incoming page to take its place
4
+ */
5
+ export declare const prepareOutgoing: (element: HTMLElement) => void;
6
+ //# sourceMappingURL=prepare-outgoing.d.ts.map
@@ -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,7 @@
1
+ /**
2
+ * Delays execution for a specified amount of milliseconds
3
+ * @param ms - Milliseconds to wait
4
+ * @returns Promise that resolves after the specified delay
5
+ */
6
+ export declare const sleep: (ms: number) => Promise<void>;
7
+ //# sourceMappingURL=sleep.d.ts.map
@@ -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"}
@@ -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,GAAI,QAAQ,MAAM,KAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,IA2BrG,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,IAAI,MAAM,KAAG,OAAO,CAAC,IAAI,CAE9C,CAAC"}
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;AAO9D,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
+ {"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;AAG9D,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAkBD,eAAO,MAAM,IAAI,GAAI,UAAS,WAAgB,KAAG,eAgKhD,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"}