@ssgoi/core 5.2.1 → 6.0.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 (240) hide show
  1. package/dist/animation/animation.d.ts +50 -0
  2. package/dist/animation/animation.d.ts.map +1 -0
  3. package/dist/animation/host-animation.d.ts +43 -0
  4. package/dist/animation/host-animation.d.ts.map +1 -0
  5. package/dist/animation/index.d.ts +6 -0
  6. package/dist/animation/index.d.ts.map +1 -0
  7. package/dist/animation/integrator/double-spring-integrator.d.ts.map +1 -0
  8. package/dist/{animator → animation}/integrator/index.d.ts +1 -0
  9. package/dist/animation/integrator/index.d.ts.map +1 -0
  10. package/dist/animation/integrator/inertia-integrator.d.ts.map +1 -0
  11. package/dist/animation/integrator/linear-integrator.d.ts +23 -0
  12. package/dist/animation/integrator/linear-integrator.d.ts.map +1 -0
  13. package/dist/{animator → animation}/integrator/provider.d.ts +1 -1
  14. package/dist/animation/integrator/provider.d.ts.map +1 -0
  15. package/dist/animation/integrator/spring-integrator.d.ts.map +1 -0
  16. package/dist/animation/integrator/types.d.ts.map +1 -0
  17. package/dist/animation/multi-animation.d.ts +39 -0
  18. package/dist/animation/multi-animation.d.ts.map +1 -0
  19. package/dist/animation/web-animation.d.ts +63 -0
  20. package/dist/animation/web-animation.d.ts.map +1 -0
  21. package/dist/index.cjs +35 -1
  22. package/dist/index.d.ts +4 -7
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +1271 -1192
  25. package/dist/internal.cjs +1 -0
  26. package/dist/internal.d.ts +4 -0
  27. package/dist/internal.d.ts.map +1 -0
  28. package/dist/internal.js +504 -0
  29. package/dist/multi-animation-B_Hl1HEU.cjs +1 -0
  30. package/dist/multi-animation-CST6aZ8y.js +276 -0
  31. package/dist/ssgoi-transition/create-context-manager.d.ts +1 -1
  32. package/dist/ssgoi-transition/create-context-manager.d.ts.map +1 -1
  33. package/dist/ssgoi-transition/create-ssgoi-transition-context.d.ts +18 -31
  34. package/dist/ssgoi-transition/create-ssgoi-transition-context.d.ts.map +1 -1
  35. package/dist/ssgoi-transition/find-matching-transition.d.ts +4 -4
  36. package/dist/ssgoi-transition/find-matching-transition.d.ts.map +1 -1
  37. package/dist/ssgoi-transition/navigation-detector-strategy.d.ts +5 -15
  38. package/dist/ssgoi-transition/navigation-detector-strategy.d.ts.map +1 -1
  39. package/dist/ssgoi-transition/process-symmetric-transitions.d.ts +2 -2
  40. package/dist/ssgoi-transition/process-symmetric-transitions.d.ts.map +1 -1
  41. package/dist/ssgoi-transition/unmount-observer.d.ts +17 -0
  42. package/dist/ssgoi-transition/unmount-observer.d.ts.map +1 -0
  43. package/dist/transitions/blind/index.d.ts +6 -0
  44. package/dist/transitions/blind/index.d.ts.map +1 -0
  45. package/dist/transitions/blind/transition.d.ts +16 -0
  46. package/dist/transitions/blind/transition.d.ts.map +1 -0
  47. package/dist/transitions/drill/index.d.ts +9 -0
  48. package/dist/transitions/drill/index.d.ts.map +1 -0
  49. package/dist/transitions/drill/provider/crossfade.d.ts +3 -0
  50. package/dist/transitions/drill/provider/crossfade.d.ts.map +1 -0
  51. package/dist/transitions/drill/provider/index.d.ts +3 -0
  52. package/dist/transitions/drill/provider/index.d.ts.map +1 -0
  53. package/dist/transitions/drill/provider/parallax.d.ts +3 -0
  54. package/dist/transitions/drill/provider/parallax.d.ts.map +1 -0
  55. package/dist/transitions/drill/transition.d.ts +5 -0
  56. package/dist/transitions/drill/transition.d.ts.map +1 -0
  57. package/dist/transitions/drill/types.d.ts +23 -0
  58. package/dist/transitions/drill/types.d.ts.map +1 -0
  59. package/dist/transitions/fade/index.d.ts +6 -0
  60. package/dist/transitions/fade/index.d.ts.map +1 -0
  61. package/dist/transitions/fade/transition.d.ts +6 -0
  62. package/dist/transitions/fade/transition.d.ts.map +1 -0
  63. package/dist/transitions/film/index.d.ts +6 -0
  64. package/dist/transitions/film/index.d.ts.map +1 -0
  65. package/dist/transitions/film/transition.d.ts +27 -0
  66. package/dist/transitions/film/transition.d.ts.map +1 -0
  67. package/dist/transitions/hero/index.d.ts +6 -0
  68. package/dist/transitions/hero/index.d.ts.map +1 -0
  69. package/dist/transitions/hero/transition.d.ts +7 -0
  70. package/dist/transitions/hero/transition.d.ts.map +1 -0
  71. package/dist/transitions/index.d.ts +10 -12
  72. package/dist/transitions/index.d.ts.map +1 -1
  73. package/dist/transitions/jaemin/index.d.ts +6 -0
  74. package/dist/transitions/jaemin/index.d.ts.map +1 -0
  75. package/dist/transitions/jaemin/transition.d.ts +18 -0
  76. package/dist/transitions/jaemin/transition.d.ts.map +1 -0
  77. package/dist/transitions/rotate/index.d.ts +6 -0
  78. package/dist/transitions/rotate/index.d.ts.map +1 -0
  79. package/dist/transitions/rotate/transition.d.ts +6 -0
  80. package/dist/transitions/rotate/transition.d.ts.map +1 -0
  81. package/dist/transitions/scroll/index.d.ts +15 -0
  82. package/dist/transitions/scroll/index.d.ts.map +1 -0
  83. package/dist/transitions/scroll/transition.d.ts +7 -0
  84. package/dist/transitions/scroll/transition.d.ts.map +1 -0
  85. package/dist/transitions/sheet/index.d.ts +9 -0
  86. package/dist/transitions/sheet/index.d.ts.map +1 -0
  87. package/dist/transitions/sheet/provider/background-scale.d.ts +3 -0
  88. package/dist/transitions/sheet/provider/background-scale.d.ts.map +1 -0
  89. package/dist/transitions/sheet/provider/index.d.ts +3 -0
  90. package/dist/transitions/sheet/provider/index.d.ts.map +1 -0
  91. package/dist/transitions/sheet/provider/static.d.ts +3 -0
  92. package/dist/transitions/sheet/provider/static.d.ts.map +1 -0
  93. package/dist/transitions/sheet/transition.d.ts +5 -0
  94. package/dist/transitions/sheet/transition.d.ts.map +1 -0
  95. package/dist/transitions/sheet/types.d.ts +19 -0
  96. package/dist/transitions/sheet/types.d.ts.map +1 -0
  97. package/dist/transitions/slide/index.d.ts +6 -0
  98. package/dist/transitions/slide/index.d.ts.map +1 -0
  99. package/dist/transitions/slide/transition.d.ts +7 -0
  100. package/dist/transitions/slide/transition.d.ts.map +1 -0
  101. package/dist/transitions/strip/index.d.ts +6 -0
  102. package/dist/transitions/strip/index.d.ts.map +1 -0
  103. package/dist/transitions/strip/transition.d.ts +6 -0
  104. package/dist/transitions/strip/transition.d.ts.map +1 -0
  105. package/dist/transitions/utils.d.ts +11 -7
  106. package/dist/transitions/utils.d.ts.map +1 -1
  107. package/dist/transitions/zoom/index.d.ts +8 -0
  108. package/dist/transitions/zoom/index.d.ts.map +1 -0
  109. package/dist/transitions/zoom/provider/expand.d.ts +5 -0
  110. package/dist/transitions/zoom/provider/expand.d.ts.map +1 -0
  111. package/dist/transitions/zoom/provider/index.d.ts +3 -0
  112. package/dist/transitions/zoom/provider/index.d.ts.map +1 -0
  113. package/dist/transitions/zoom/provider/static.d.ts +5 -0
  114. package/dist/transitions/zoom/provider/static.d.ts.map +1 -0
  115. package/dist/transitions/zoom/transition.d.ts +5 -0
  116. package/dist/transitions/zoom/transition.d.ts.map +1 -0
  117. package/dist/transitions/zoom/types.d.ts +34 -0
  118. package/dist/transitions/zoom/types.d.ts.map +1 -0
  119. package/dist/transitions/zoom/zoom-element.d.ts +4 -0
  120. package/dist/transitions/zoom/zoom-element.d.ts.map +1 -0
  121. package/dist/types/index.d.ts +175 -0
  122. package/dist/types/index.d.ts.map +1 -0
  123. package/dist/types.cjs +1 -1
  124. package/dist/types.d.ts +2 -504
  125. package/dist/types.js +3 -77
  126. package/dist/utils/get-scrolling-element.d.ts.map +1 -1
  127. package/dist/utils/get-viewport-rect.d.ts +17 -0
  128. package/dist/utils/get-viewport-rect.d.ts.map +1 -0
  129. package/dist/utils/index.d.ts +2 -0
  130. package/dist/utils/index.d.ts.map +1 -1
  131. package/dist/utils/prepare-outgoing.d.ts +2 -2
  132. package/dist/utils/prepare-outgoing.d.ts.map +1 -1
  133. package/dist/utils/promise-all.d.ts +18 -0
  134. package/dist/utils/promise-all.d.ts.map +1 -0
  135. package/package.json +7 -19
  136. package/dist/animator/integrator/double-spring-integrator.d.ts.map +0 -1
  137. package/dist/animator/integrator/index.d.ts.map +0 -1
  138. package/dist/animator/integrator/inertia-integrator.d.ts.map +0 -1
  139. package/dist/animator/integrator/provider.d.ts.map +0 -1
  140. package/dist/animator/integrator/spring-integrator.d.ts.map +0 -1
  141. package/dist/animator/integrator/types.d.ts.map +0 -1
  142. package/dist/animator/multi-animator.d.ts +0 -101
  143. package/dist/animator/multi-animator.d.ts.map +0 -1
  144. package/dist/animator/runner/css-runner.d.ts +0 -17
  145. package/dist/animator/runner/css-runner.d.ts.map +0 -1
  146. package/dist/animator/runner/keyframes-runner.d.ts +0 -14
  147. package/dist/animator/runner/keyframes-runner.d.ts.map +0 -1
  148. package/dist/animator/runner/provider.d.ts +0 -44
  149. package/dist/animator/runner/provider.d.ts.map +0 -1
  150. package/dist/animator/runner/tick-runner.d.ts +0 -16
  151. package/dist/animator/runner/tick-runner.d.ts.map +0 -1
  152. package/dist/animator/runner/ticker.d.ts +0 -38
  153. package/dist/animator/runner/ticker.d.ts.map +0 -1
  154. package/dist/animator/runner/types.d.ts +0 -34
  155. package/dist/animator/runner/types.d.ts.map +0 -1
  156. package/dist/animator/single-animator.d.ts +0 -65
  157. package/dist/animator/single-animator.d.ts.map +0 -1
  158. package/dist/animator/types.d.ts +0 -57
  159. package/dist/animator/types.d.ts.map +0 -1
  160. package/dist/presets/index.cjs +0 -1
  161. package/dist/presets/index.d.ts +0 -22
  162. package/dist/presets/index.d.ts.map +0 -1
  163. package/dist/presets/index.js +0 -50
  164. package/dist/provider-B2B8CK6H.js +0 -142
  165. package/dist/provider-BKaONTeg.cjs +0 -1
  166. package/dist/spring-integrator-95Mh7mdw.cjs +0 -1
  167. package/dist/spring-integrator-BM4a-82c.js +0 -33
  168. package/dist/transition/create-transition-callback.d.ts +0 -8
  169. package/dist/transition/create-transition-callback.d.ts.map +0 -1
  170. package/dist/transition/transition-scope.d.ts +0 -36
  171. package/dist/transition/transition-scope.d.ts.map +0 -1
  172. package/dist/transition/transition-strategy.d.ts +0 -75
  173. package/dist/transition/transition-strategy.d.ts.map +0 -1
  174. package/dist/transition/transition.d.ts +0 -51
  175. package/dist/transition/transition.d.ts.map +0 -1
  176. package/dist/transition/unmount-observer.d.ts +0 -43
  177. package/dist/transition/unmount-observer.d.ts.map +0 -1
  178. package/dist/transitions/blur.d.ts +0 -12
  179. package/dist/transitions/blur.d.ts.map +0 -1
  180. package/dist/transitions/bounce.d.ts +0 -13
  181. package/dist/transitions/bounce.d.ts.map +0 -1
  182. package/dist/transitions/fade.d.ts +0 -10
  183. package/dist/transitions/fade.d.ts.map +0 -1
  184. package/dist/transitions/fly.d.ts +0 -11
  185. package/dist/transitions/fly.d.ts.map +0 -1
  186. package/dist/transitions/index.cjs +0 -1
  187. package/dist/transitions/index.js +0 -285
  188. package/dist/transitions/mask.d.ts +0 -12
  189. package/dist/transitions/mask.d.ts.map +0 -1
  190. package/dist/transitions/none.d.ts +0 -8
  191. package/dist/transitions/none.d.ts.map +0 -1
  192. package/dist/transitions/rotate.d.ts +0 -15
  193. package/dist/transitions/rotate.d.ts.map +0 -1
  194. package/dist/transitions/scale.d.ts +0 -11
  195. package/dist/transitions/scale.d.ts.map +0 -1
  196. package/dist/transitions/slide.d.ts +0 -13
  197. package/dist/transitions/slide.d.ts.map +0 -1
  198. package/dist/types.d.ts.map +0 -1
  199. package/dist/view-transitions/blind.d.ts +0 -11
  200. package/dist/view-transitions/blind.d.ts.map +0 -1
  201. package/dist/view-transitions/curtain-reveal.d.ts +0 -18
  202. package/dist/view-transitions/curtain-reveal.d.ts.map +0 -1
  203. package/dist/view-transitions/depth.d.ts +0 -21
  204. package/dist/view-transitions/depth.d.ts.map +0 -1
  205. package/dist/view-transitions/drill.d.ts +0 -9
  206. package/dist/view-transitions/drill.d.ts.map +0 -1
  207. package/dist/view-transitions/fade.d.ts +0 -8
  208. package/dist/view-transitions/fade.d.ts.map +0 -1
  209. package/dist/view-transitions/film.d.ts +0 -10
  210. package/dist/view-transitions/film.d.ts.map +0 -1
  211. package/dist/view-transitions/hero.d.ts +0 -9
  212. package/dist/view-transitions/hero.d.ts.map +0 -1
  213. package/dist/view-transitions/index.cjs +0 -35
  214. package/dist/view-transitions/index.d.ts +0 -18
  215. package/dist/view-transitions/index.d.ts.map +0 -1
  216. package/dist/view-transitions/index.js +0 -1614
  217. package/dist/view-transitions/instagram.d.ts +0 -8
  218. package/dist/view-transitions/instagram.d.ts.map +0 -1
  219. package/dist/view-transitions/jaemin.d.ts +0 -21
  220. package/dist/view-transitions/jaemin.d.ts.map +0 -1
  221. package/dist/view-transitions/pinterest.d.ts +0 -8
  222. package/dist/view-transitions/pinterest.d.ts.map +0 -1
  223. package/dist/view-transitions/rotate.d.ts +0 -6
  224. package/dist/view-transitions/rotate.d.ts.map +0 -1
  225. package/dist/view-transitions/scroll.d.ts +0 -8
  226. package/dist/view-transitions/scroll.d.ts.map +0 -1
  227. package/dist/view-transitions/sheet.d.ts +0 -21
  228. package/dist/view-transitions/sheet.d.ts.map +0 -1
  229. package/dist/view-transitions/slide.d.ts +0 -8
  230. package/dist/view-transitions/slide.d.ts.map +0 -1
  231. package/dist/view-transitions/snap.d.ts +0 -16
  232. package/dist/view-transitions/snap.d.ts.map +0 -1
  233. package/dist/view-transitions/strip.d.ts +0 -7
  234. package/dist/view-transitions/strip.d.ts.map +0 -1
  235. package/dist/view-transitions/swap.d.ts +0 -15
  236. package/dist/view-transitions/swap.d.ts.map +0 -1
  237. /package/dist/{animator → animation}/integrator/double-spring-integrator.d.ts +0 -0
  238. /package/dist/{animator → animation}/integrator/inertia-integrator.d.ts +0 -0
  239. /package/dist/{animator → animation}/integrator/spring-integrator.d.ts +0 -0
  240. /package/dist/{animator → animation}/integrator/types.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/film/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EAGd,gBAAgB,EACjB,MAAM,QAAQ,CAAC;AA0ChB,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AA+ND,UAAU,aAAa;IACrB,OAAO,EAAE,WAAW,CAAC;IACrB,QAAQ,EAAE,WAAW,CAAC;IACtB,UAAU,EAAE,WAAW,CAAC;IACxB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAoFD,KAAK,QAAQ,GAAG;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAmCF,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,aAAa,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,QAAQ,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,IAAI,GACf,UAAS,WAAgB,KACxB,gBAAgB,CAAC,UAAU,CAwH7B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { SsgoiPathTransition } from '../../types/index.ts';
2
+ export type HeroConfig = {
3
+ paths: readonly string[];
4
+ };
5
+ export declare function hero({ paths }: HeroConfig): SsgoiPathTransition[];
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/hero/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAIlD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,wBAAgB,IAAI,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,GAAG,mBAAmB,EAAE,CAEjE"}
@@ -0,0 +1,7 @@
1
+ import { PhysicsOptions, TransitionConfig } from '../../types/index.ts';
2
+ export interface HeroOptions {
3
+ physics?: PhysicsOptions;
4
+ maxDistance?: number;
5
+ }
6
+ export declare const hero: (options?: HeroOptions) => TransitionConfig;
7
+ //# sourceMappingURL=transition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/hero/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAa/D,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAYD,eAAO,MAAM,IAAI,GAAI,UAAS,WAAgB,KAAG,gBA+FhD,CAAC"}
@@ -1,15 +1,13 @@
1
+ export * from './blind';
2
+ export * from './drill';
1
3
  export * from './fade';
2
- export * from './scale';
3
- export * from './slide';
4
+ export * from './film';
5
+ export * from './hero';
6
+ export * from './jaemin';
4
7
  export * from './rotate';
5
- export * from './bounce';
6
- export * from './blur';
7
- export * from './fly';
8
- export * from './mask';
9
- export * from './none';
10
- export type { Integrator, IntegratorState } from '../animator/integrator';
11
- export { SpringIntegrator, type SpringIntegratorConfig, } from '../animator/integrator';
12
- export { DoubleSpringIntegrator, type DoubleSpringIntegratorConfig, type FollowerSpringConfig, } from '../animator/integrator';
13
- export { InertiaIntegrator, type InertiaIntegratorConfig, type ResistanceType, } from '../animator/integrator';
14
- export { IntegratorProvider } from '../animator/integrator';
8
+ export * from './scroll';
9
+ export * from './sheet';
10
+ export * from './slide';
11
+ export * from './strip';
12
+ export * from './zoom';
15
13
  //# sourceMappingURL=index.d.ts.map
@@ -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;AACvB,cAAc,QAAQ,CAAC;AAGvB,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE1E,OAAO,EACL,gBAAgB,EAChB,KAAK,sBAAsB,GAC5B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,sBAAsB,EACtB,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,iBAAiB,EACjB,KAAK,uBAAuB,EAC5B,KAAK,cAAc,GACpB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/transitions/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { SsgoiPathTransition } from '../../types/index.ts';
2
+ export type JaeminConfig = {
3
+ paths: readonly string[];
4
+ };
5
+ export declare function jaemin({ paths }: JaeminConfig): SsgoiPathTransition[];
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/jaemin/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAIlD,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,EAAE,YAAY,GAAG,mBAAmB,EAAE,CAErE"}
@@ -0,0 +1,18 @@
1
+ import { PhysicsOptions, TransitionConfig } from '../../types/index.ts';
2
+ export interface JaeminOptions {
3
+ physics?: PhysicsOptions;
4
+ initialRotation?: number;
5
+ initialScale?: number;
6
+ rotationTriggerPoint?: number;
7
+ }
8
+ /**
9
+ * Jaemin transition — page A fades out while page B appears rotated and
10
+ * scaled, then unwinds back to its natural size.
11
+ *
12
+ * Mapped to the new API as two WebAnimations in parallel. The "in" side uses
13
+ * a single integrator and computes scale/rotation/border-radius from a
14
+ * multi-stage easing inside the style function (originally three sequential
15
+ * tick branches).
16
+ */
17
+ export declare const jaemin: (options?: JaeminOptions) => TransitionConfig;
18
+ //# sourceMappingURL=transition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/jaemin/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAgB/D,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,GAAI,UAAS,aAAkB,KAAG,gBA2GpD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { SsgoiPathTransition } from '../../types/index.ts';
2
+ export type RotateConfig = {
3
+ paths: readonly string[];
4
+ };
5
+ export declare function rotate({ paths }: RotateConfig): SsgoiPathTransition[];
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/rotate/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAIlD,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,EAAE,YAAY,GAAG,mBAAmB,EAAE,CAErE"}
@@ -0,0 +1,6 @@
1
+ import { PhysicsOptions, TransitionConfig } from '../../types/index.ts';
2
+ export interface RotateOptions {
3
+ physics?: PhysicsOptions;
4
+ }
5
+ export declare const rotate: (options?: RotateOptions) => TransitionConfig;
6
+ //# sourceMappingURL=transition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/rotate/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAW/D,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AAED,eAAO,MAAM,MAAM,GAAI,UAAS,aAAkB,KAAG,gBA6CpD,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { SsgoiPathTransition } from '../../types/index.ts';
2
+ export type ScrollConfig = {
3
+ paths: readonly string[];
4
+ /**
5
+ * - `"directional"` (기본): paths 순서에 따라 정/역방향이 결정된다. 앞→뒤는 위로,
6
+ * 뒤→앞은 아래로 움직인다.
7
+ * - `"non-directional"`: paths 순서와 무관하게 항상 같은 방향으로 움직인다.
8
+ * `direction` 옵션으로 방향을 지정한다 (기본 "up").
9
+ */
10
+ type?: "directional" | "non-directional";
11
+ /** `type: "non-directional"`일 때만 의미가 있다. 기본값은 "up" (아래에서 위로). */
12
+ direction?: "up" | "down";
13
+ };
14
+ export declare function scroll({ paths, type, direction, }: ScrollConfig): SsgoiPathTransition[];
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/scroll/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAOlD,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,aAAa,GAAG,iBAAiB,CAAC;IACzC,iEAAiE;IACjE,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;CAC3B,CAAC;AAEF,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,IAAoB,EACpB,SAAgB,GACjB,EAAE,YAAY,GAAG,mBAAmB,EAAE,CAWtC"}
@@ -0,0 +1,7 @@
1
+ import { PhysicsOptions, TransitionConfig } from '../../types/index.ts';
2
+ export interface ScrollOptions {
3
+ direction?: "up" | "down";
4
+ physics?: PhysicsOptions;
5
+ }
6
+ export declare const scroll: (options?: ScrollOptions) => TransitionConfig;
7
+ //# sourceMappingURL=transition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/scroll/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAO/D,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AAYD,eAAO,MAAM,MAAM,GAAI,UAAS,aAAkB,KAAG,gBAwDpD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { SsgoiPathTransition } from '../../types/index.ts';
2
+ import { DirectionalTransitionPaths } from '../utils';
3
+ import { SheetType } from './types';
4
+ export type { SheetType } from './types';
5
+ export type SheetConfig = DirectionalTransitionPaths & {
6
+ type?: SheetType;
7
+ };
8
+ export declare function sheet({ type, ...paths }: SheetConfig): SsgoiPathTransition[];
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/sheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,UAAU,CAAC;AAElB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,WAAW,GAAG,0BAA0B,GAAG;IACrD,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,GAAG,mBAAmB,EAAE,CAI5E"}
@@ -0,0 +1,3 @@
1
+ import { SheetProvider } from '../types';
2
+ export declare function createBackgroundScaleProvider(): SheetProvider;
3
+ //# sourceMappingURL=background-scale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-scale.d.ts","sourceRoot":"","sources":["../../../../src/lib/transitions/sheet/provider/background-scale.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAY9C,wBAAgB,6BAA6B,IAAI,aAAa,CAgB7D"}
@@ -0,0 +1,3 @@
1
+ import { SheetProvider, SheetType } from '../types';
2
+ export declare const SHEET_PROVIDERS: Record<SheetType, SheetProvider>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/transitions/sheet/provider/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEzD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,SAAS,EAAE,aAAa,CAG5D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { SheetProvider } from '../types';
2
+ export declare function createStaticProvider(): SheetProvider;
3
+ //# sourceMappingURL=static.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static.d.ts","sourceRoot":"","sources":["../../../../src/lib/transitions/sheet/provider/static.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAY9C,wBAAgB,oBAAoB,IAAI,aAAa,CAUpD"}
@@ -0,0 +1,5 @@
1
+ import { TransitionConfig } from '../../types/index.ts';
2
+ import { SheetOptions } from './types';
3
+ export type { SheetOptions, SheetType } from './types';
4
+ export declare const sheet: (options?: SheetOptions) => TransitionConfig;
5
+ //# sourceMappingURL=transition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/sheet/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAQ/C,OAAO,KAAK,EAAE,YAAY,EAAa,MAAM,SAAS,CAAC;AAEvD,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAKvD,eAAO,MAAM,KAAK,GAAI,UAAS,YAAiB,KAAG,gBAsHlD,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { PhysicsOptions } from '../../types/index.ts';
2
+ export type SheetType = "static" | "background-scale";
3
+ export type SheetDirection = "enter" | "exit";
4
+ export interface SheetOptions {
5
+ type?: SheetType;
6
+ direction?: SheetDirection;
7
+ }
8
+ export type SheetStyle = Record<string, number | string>;
9
+ export interface SheetBackgroundConfig {
10
+ willChange: string;
11
+ enterStyle: (t: number, u: number) => SheetStyle;
12
+ exitStyle: (t: number) => SheetStyle;
13
+ }
14
+ export interface SheetProvider {
15
+ enterPhysics: PhysicsOptions;
16
+ exitPhysics: PhysicsOptions;
17
+ background: SheetBackgroundConfig;
18
+ }
19
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/sheet/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,kBAAkB,CAAC;AACtD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,UAAU,CAAC;IACjD,SAAS,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,UAAU,CAAC;CACtC;AAED,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,cAAc,CAAC;IAC7B,WAAW,EAAE,cAAc,CAAC;IAC5B,UAAU,EAAE,qBAAqB,CAAC;CACnC"}
@@ -0,0 +1,6 @@
1
+ import { SsgoiPathTransition } from '../../types/index.ts';
2
+ export type SlideConfig = {
3
+ paths: readonly string[];
4
+ };
5
+ export declare function slide({ paths }: SlideConfig): SsgoiPathTransition[];
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/slide/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAIlD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,KAAK,EAAE,EAAE,WAAW,GAAG,mBAAmB,EAAE,CAMnE"}
@@ -0,0 +1,7 @@
1
+ import { PhysicsOptions, TransitionConfig } from '../../types/index.ts';
2
+ export interface SlideOptions {
3
+ direction?: "left" | "right";
4
+ physics?: PhysicsOptions;
5
+ }
6
+ export declare const slide: (options?: SlideOptions) => TransitionConfig;
7
+ //# sourceMappingURL=transition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/slide/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAO/D,MAAM,WAAW,YAAY;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AAQD,eAAO,MAAM,KAAK,GAAI,UAAS,YAAiB,KAAG,gBAoDlD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { SsgoiPathTransition } from '../../types/index.ts';
2
+ export type StripConfig = {
3
+ paths: readonly string[];
4
+ };
5
+ export declare function strip({ paths }: StripConfig): SsgoiPathTransition[];
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/strip/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAIlD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,KAAK,EAAE,EAAE,WAAW,GAAG,mBAAmB,EAAE,CAEnE"}
@@ -0,0 +1,6 @@
1
+ import { PhysicsOptions, TransitionConfig } from '../../types/index.ts';
2
+ export interface StripOptions {
3
+ physics?: PhysicsOptions;
4
+ }
5
+ export declare const strip: (options?: StripOptions) => TransitionConfig;
6
+ //# sourceMappingURL=transition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/strip/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAa/D,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AAED,eAAO,MAAM,KAAK,GAAI,UAAS,YAAiB,KAAG,gBAuDlD,CAAC"}
@@ -1,8 +1,12 @@
1
- import { PhysicsOptions, SpringConfig } from '../types';
2
- /**
3
- * Get physics options with fallback to default spring
4
- */
5
- export declare function getPhysics(physics: PhysicsOptions | undefined, fallback: {
6
- spring: SpringConfig;
7
- }): PhysicsOptions;
1
+ import { AnyTransitionConfig, SsgoiPathTransition } from '../types/index.ts';
2
+ export type DirectionalTransitionPaths = {
3
+ enter: string;
4
+ exit: string;
5
+ };
6
+ export declare function createSymmetricPathTransitions(paths: readonly string[], createTransition: () => AnyTransitionConfig): SsgoiPathTransition[];
7
+ export declare function createDirectionalPathTransitions(paths: DirectionalTransitionPaths, createTransition: (direction: "enter" | "exit") => AnyTransitionConfig): SsgoiPathTransition[];
8
+ export declare function createOrderedPathTransitions<TDirection extends string>(paths: readonly string[], directions: {
9
+ forward: TDirection;
10
+ backward: TDirection;
11
+ }, createTransition: (direction: TDirection) => AnyTransitionConfig): SsgoiPathTransition[];
8
12
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/transitions/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7D;;GAEG;AACH,wBAAgB,UAAU,CACxB,OAAO,EAAE,cAAc,GAAG,SAAS,EACnC,QAAQ,EAAE;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,GACjC,cAAc,CAKhB"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/transitions/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAEvE,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,gBAAgB,EAAE,MAAM,mBAAmB,GAC1C,mBAAmB,EAAE,CAkBvB;AAED,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,0BAA0B,EACjC,gBAAgB,EAAE,CAAC,SAAS,EAAE,OAAO,GAAG,MAAM,KAAK,mBAAmB,GACrE,mBAAmB,EAAE,CAavB;AAED,wBAAgB,4BAA4B,CAAC,UAAU,SAAS,MAAM,EACpE,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,UAAU,EAAE;IACV,OAAO,EAAE,UAAU,CAAC;IACpB,QAAQ,EAAE,UAAU,CAAC;CACtB,EACD,gBAAgB,EAAE,CAAC,SAAS,EAAE,UAAU,KAAK,mBAAmB,GAC/D,mBAAmB,EAAE,CAwBvB"}
@@ -0,0 +1,8 @@
1
+ import { SsgoiPathTransition } from '../../types/index.ts';
2
+ import { ZoomType } from './types';
3
+ export type ZoomConfig = {
4
+ paths: readonly string[];
5
+ type: ZoomType;
6
+ };
7
+ export declare function zoom({ paths, type }: ZoomConfig): SsgoiPathTransition[];
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/zoom/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAGlD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,wBAAgB,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,UAAU,GAAG,mBAAmB,EAAE,CAEvE"}
@@ -0,0 +1,5 @@
1
+ import { PhysicsOptions } from '../../../types/index.ts';
2
+ import { ZoomProvider } from '../types';
3
+ export declare const EXPAND_PHYSICS: PhysicsOptions;
4
+ export declare function createExpandProvider(): ZoomProvider;
5
+ //# sourceMappingURL=expand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expand.d.ts","sourceRoot":"","sources":["../../../../src/lib/transitions/zoom/provider/expand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAGV,YAAY,EACb,MAAM,UAAU,CAAC;AAGlB,eAAO,MAAM,cAAc,EAAE,cAE5B,CAAC;AAoEF,wBAAgB,oBAAoB,IAAI,YAAY,CAQnD"}
@@ -0,0 +1,3 @@
1
+ import { ZoomProvider, ZoomType } from '../types';
2
+ export declare const ZOOM_PROVIDERS: Record<ZoomType, ZoomProvider>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/transitions/zoom/provider/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEvD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,QAAQ,EAAE,YAAY,CAGzD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { PhysicsOptions } from '../../../types/index.ts';
2
+ import { ZoomProvider } from '../types';
3
+ export declare const STATIC_PHYSICS: PhysicsOptions;
4
+ export declare function createStaticProvider(): ZoomProvider;
5
+ //# sourceMappingURL=static.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static.d.ts","sourceRoot":"","sources":["../../../../src/lib/transitions/zoom/provider/static.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAAuB,YAAY,EAAE,MAAM,UAAU,CAAC;AAGlE,eAAO,MAAM,cAAc,EAAE,cAE5B,CAAC;AASF,wBAAgB,oBAAoB,IAAI,YAAY,CAQnD"}
@@ -0,0 +1,5 @@
1
+ import { TransitionConfig } from '../../types/index.ts';
2
+ import { ZoomOptions } from './types';
3
+ export type { ZoomOptions, ZoomType } from './types';
4
+ export declare const zoom: (options: ZoomOptions) => TransitionConfig;
5
+ //# sourceMappingURL=transition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/zoom/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAG/D,OAAO,KAAK,EAAsB,WAAW,EAAgB,MAAM,SAAS,CAAC;AAO7E,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AA4ErD,eAAO,MAAM,IAAI,GAAI,SAAS,WAAW,KAAG,gBAuE3C,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { PhysicsOptions } from '../../types/index.ts';
2
+ export type ZoomType = "expand" | "static";
3
+ export interface ZoomOptions {
4
+ type: ZoomType;
5
+ timeout?: number;
6
+ }
7
+ export type ZoomStyleObject = Record<string, string>;
8
+ export type ZoomAnimationFunc = (progress: number) => ZoomStyleObject;
9
+ export interface ZoomAnimationConfig {
10
+ transformOrigin: string;
11
+ animate: ZoomAnimationFunc;
12
+ }
13
+ export interface ZoomAnimationInput {
14
+ enterRect: DOMRect;
15
+ exitRect: DOMRect;
16
+ pageRect: DOMRect;
17
+ scrollOffset: {
18
+ x: number;
19
+ y: number;
20
+ };
21
+ }
22
+ export interface ZoomProvider {
23
+ physics: PhysicsOptions;
24
+ in: (input: ZoomAnimationInput) => ZoomAnimationConfig;
25
+ out: (input: ZoomAnimationInput) => ZoomAnimationConfig;
26
+ backgroundIn: (input: ZoomAnimationInput) => ZoomAnimationConfig;
27
+ backgroundOut: (input: ZoomAnimationInput) => ZoomAnimationConfig;
28
+ }
29
+ export interface ZoomAnimationHandlers {
30
+ mode: "enter" | "exit";
31
+ inAnimation?: ZoomAnimationFunc;
32
+ outAnimation?: ZoomAnimationFunc;
33
+ }
34
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/zoom/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AACrD,MAAM,MAAM,iBAAiB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,eAAe,CAAC;AAEtE,MAAM,WAAW,mBAAmB;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,iBAAiB,CAAC;CAC5B;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACxC;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,cAAc,CAAC;IACxB,EAAE,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,mBAAmB,CAAC;IACvD,GAAG,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,mBAAmB,CAAC;IACxD,YAAY,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,mBAAmB,CAAC;IACjE,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,mBAAmB,CAAC;CACnE;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC"}
@@ -0,0 +1,4 @@
1
+ import { ZoomAnimationConfig, ZoomAnimationInput } from './types';
2
+ export declare function createZoomIn({ enterRect, exitRect, pageRect, scrollOffset, }: ZoomAnimationInput): ZoomAnimationConfig;
3
+ export declare function createZoomOut({ enterRect, exitRect, pageRect, scrollOffset, }: ZoomAnimationInput): ZoomAnimationConfig;
4
+ //# sourceMappingURL=zoom-element.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zoom-element.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/zoom/zoom-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAEvE,wBAAgB,YAAY,CAAC,EAC3B,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,YAAY,GACb,EAAE,kBAAkB,GAAG,mBAAmB,CAoC1C;AAED,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,YAAY,GACb,EAAE,kBAAkB,GAAG,mBAAmB,CAoC1C"}
@@ -0,0 +1,175 @@
1
+ import { Integrator } from '../animation/integrator';
2
+ import { Animation } from '../animation/animation';
3
+ export type StyleObject = Record<string, number | string>;
4
+ export type DoubleSpringFollowerConfig = {
5
+ stiffness: number;
6
+ damping: number;
7
+ };
8
+ export type SpringConfig = {
9
+ stiffness: number;
10
+ damping: number;
11
+ doubleSpring?: boolean | number | DoubleSpringFollowerConfig;
12
+ restDelta?: number;
13
+ restSpeed?: number;
14
+ };
15
+ export type ResistanceType = "linear" | "quadratic";
16
+ export type InertiaConfig = {
17
+ acceleration: number;
18
+ resistance: number;
19
+ resistanceType?: ResistanceType;
20
+ min?: number;
21
+ max?: number;
22
+ bounceStiffness?: number;
23
+ bounceDamping?: number;
24
+ restDelta?: number;
25
+ };
26
+ export type IntegratorFactory = () => Integrator;
27
+ export type PhysicsOptions = {
28
+ spring?: SpringConfig;
29
+ inertia?: InertiaConfig;
30
+ integrator?: IntegratorFactory;
31
+ };
32
+ export type Pose = {
33
+ /** Identity for motion matching — same DOM node across animations means
34
+ * the same pose. */
35
+ element: HTMLElement;
36
+ value: number;
37
+ velocity: number;
38
+ };
39
+ export type TimelineFrame = {
40
+ time: number;
41
+ value: number;
42
+ velocity: number;
43
+ style?: StyleObject;
44
+ };
45
+ export type Timeline = {
46
+ element: HTMLElement;
47
+ frames: TimelineFrame[];
48
+ };
49
+ export type ScrollOffset = {
50
+ x: number;
51
+ y: number;
52
+ };
53
+ export type ScrollPosition = {
54
+ x: number;
55
+ y: number;
56
+ };
57
+ /**
58
+ * Context provided by the dispatcher to a transition.
59
+ *
60
+ * Has `from`/`to` views split so a transition can read each side independently
61
+ * — `from.scroll` is the outgoing page's scroll, `to.scroll` the incoming page.
62
+ */
63
+ export type SsgoiTransitionContext = {
64
+ scrollOffset: ScrollOffset;
65
+ from: {
66
+ scroll: ScrollPosition;
67
+ };
68
+ to: {
69
+ scroll: ScrollPosition;
70
+ };
71
+ scrollingElement: HTMLElement;
72
+ positionedParent: HTMLElement;
73
+ };
74
+ export interface CreateElement {
75
+ <K extends keyof HTMLElementTagNameMap>(id: string, tag: K): HTMLElementTagNameMap[K];
76
+ (id: string): HTMLDivElement;
77
+ }
78
+ export type PrepareArgs = {
79
+ from: Promise<HTMLElement>;
80
+ to: Promise<HTMLElement>;
81
+ context: SsgoiTransitionContext;
82
+ createElement: CreateElement;
83
+ };
84
+ export type AnimationFactoryArgs<TExtras> = {
85
+ from: HTMLElement;
86
+ to: HTMLElement;
87
+ context: SsgoiTransitionContext;
88
+ } & TExtras;
89
+ /**
90
+ * Helper to author transitions with full type inference: TS reads the return
91
+ * shape of `prepare` and feeds it back into `animation`'s argument type, so
92
+ * you never need to write the extras type explicitly.
93
+ *
94
+ * @example
95
+ * export const myTransition = () => defineTransition({
96
+ * prepare: ({ to, createElement }) => {
97
+ * const overlay = createElement("overlay");
98
+ * return { overlay };
99
+ * },
100
+ * animation: ({ from, to, overlay }) => { // overlay typed as HTMLDivElement
101
+ * return new MultiAnimation([...]);
102
+ * },
103
+ * });
104
+ */
105
+ export declare function defineTransition<TExtras extends object>(config: TransitionConfig<TExtras>): TransitionConfig<TExtras>;
106
+ export type TransitionConfig<TExtras extends object = object> = {
107
+ /**
108
+ * Synchronous setup that returns extras (or a Promise of them).
109
+ *
110
+ * Runs as soon as the path-pair is matched; receives `from`/`to` as
111
+ * Promises so each side can be styled the moment it arrives — typically
112
+ * via `from.then(el => …)` for pre-paint hints. Don't `await` from/to
113
+ * inside an async prepare just to do per-side setup; doing so serialises
114
+ * what should be parallel.
115
+ *
116
+ * The dispatcher does not synchronously await anything: prepare's return
117
+ * (Promise or value), `from`, and `to` are all `.then`-chained in parallel
118
+ * and `animation` runs once all three resolve.
119
+ */
120
+ prepare?: (args: PrepareArgs) => TExtras | Promise<TExtras>;
121
+ animation: (args: AnimationFactoryArgs<TExtras>) => Animation;
122
+ };
123
+ /**
124
+ * Erased-extras form used at storage boundaries (path config, default
125
+ * transition). The dispatcher passes whatever prepare returned to animation
126
+ * verbatim, so we can treat the extras as opaque here.
127
+ */
128
+ export type AnyTransitionConfig = TransitionConfig<any>;
129
+ export type SsgoiPathTransition = {
130
+ from: string;
131
+ to: string;
132
+ transition: AnyTransitionConfig;
133
+ symmetric?: boolean;
134
+ };
135
+ export type SsgoiPathTransitionInput = SsgoiPathTransition | readonly SsgoiPathTransitionInput[];
136
+ export type PreserveScrollValue = boolean | {
137
+ exclude: string[];
138
+ key?: string;
139
+ } | {
140
+ key: string;
141
+ exclude?: string[];
142
+ };
143
+ export type PreserveScrollFn = (isMobile: boolean) => PreserveScrollValue;
144
+ export type PreserveScrollOption = PreserveScrollValue | PreserveScrollFn;
145
+ export type SsgoiConfig = {
146
+ transitions?: readonly SsgoiPathTransitionInput[];
147
+ defaultTransition?: AnyTransitionConfig;
148
+ middleware?: (from: string, to: string) => {
149
+ from: string;
150
+ to: string;
151
+ };
152
+ preserveScroll?: PreserveScrollOption;
153
+ };
154
+ /**
155
+ * Adapter-facing API surface exposed by `createSsgoiTransitionContext`.
156
+ *
157
+ * Wrapped in an object so we can add fields later (e.g. status getters,
158
+ * cancellation helpers) without breaking call sites that destructure.
159
+ */
160
+ export type SsgoiContext = {
161
+ /**
162
+ * Tell the dispatcher this DOM node has mounted under `path`. The
163
+ * dispatcher handles pairing with the outgoing page, running the matched
164
+ * transition, and watching for removal via a shared MutationObserver.
165
+ * Idempotent per element — repeat calls with the same node are no-ops.
166
+ */
167
+ register: (path: string, element: HTMLElement) => void;
168
+ /**
169
+ * Returns a path-bound ref callback. Stable across calls for the same
170
+ * `path` so framework adapters can drop it straight into `ref={…}` without
171
+ * `useCallback`/`useMemo`.
172
+ */
173
+ refFor: (path: string) => (element: HTMLElement | null) => void;
174
+ };
175
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/types/index.ts"],"names":[],"mappings":"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"}
package/dist/types.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function f(e){return("tick"in e||"css"in e)&&!("items"in e)}function a(e){return"items"in e}function y(e){return"css"in e&&typeof e.css=="function"}function p(e){return"tick"in e&&typeof e.tick=="function"}function o(e){return"keyframes"in e&&e.keyframes!==void 0&&e.keyframes!==null}async function h(e){const n=await e;return a(n)?{prepare:n.prepare,wait:n.wait,onReady:n.onReady,onStart:n.onStart,onEnd:n.onEnd,items:n.items,schedule:n.schedule}:{prepare:n.prepare,wait:n.wait,onReady:n.onReady,onStart:n.onStart,onEnd:n.onEnd,items:[{physics:n.physics,tick:n.tick,css:n.css}],schedule:"parallel"}}function k(e,n){const r=e.schedule??"parallel",l=e.items.map(s=>{let t;switch(r){case"parallel":t=0;break;case"sequential":t=1;break;case"stagger":t=Math.max(0,Math.min(1,s.offset??0));break;default:t=0}if(o(s)){const{offset:z,...d}=s;return{...d,normalizedOffset:t}}const{css:i,offset:S,...u}=s,m=i?typeof i=="function"?n?{element:n,style:i}:void 0:{element:i.element,style:i.style}:void 0;return{...u,css:m,normalizedOffset:t}}),{schedule:A,...c}=e;return{...c,items:l}}exports.isCssAnimation=y;exports.isKeyframesAnimation=o;exports.isMultiAnimation=a;exports.isSingleAnimation=f;exports.isTickAnimation=p;exports.normalizeSchedule=k;exports.normalizeToMultiAnimation=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function n(e){return e}exports.defineTransition=n;