@ssgoi/core 2.3.1 → 2.5.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.
@@ -0,0 +1,25 @@
1
+ import { SpringConfig, SggoiTransition } from '../types';
2
+ interface JaeminOptions {
3
+ spring?: Partial<SpringConfig>;
4
+ initialRotation?: number;
5
+ initialScale?: number;
6
+ rotationTriggerPoint?: number;
7
+ }
8
+ interface JaeminInternalOptions extends JaeminOptions {
9
+ containerMode?: "positioned-parent" | "viewport";
10
+ }
11
+ /**
12
+ * Jaemin Transition
13
+ *
14
+ * Implements a shared element transition where:
15
+ * 1. Page A fades out
16
+ * 2. Page B appears rotated and scaled down at center
17
+ * 3. Page B scales up while rotating back to normal
18
+ *
19
+ * Based on analyzed animation log data showing 45° rotation over 1.728s
20
+ * Created by Jaemin
21
+ */
22
+ export declare const jaemin: (options?: JaeminOptions) => SggoiTransition;
23
+ export declare const jaeminInternal: (options?: JaeminInternalOptions) => SggoiTransition;
24
+ export {};
25
+ //# sourceMappingURL=jaemin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jaemin.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/jaemin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EAEhB,MAAM,UAAU,CAAC;AAIlB,UAAU,aAAa;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAGD,UAAU,qBAAsB,SAAQ,aAAa;IACnD,aAAa,CAAC,EAAE,mBAAmB,GAAG,UAAU,CAAC;CAClD;AAiCD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM,GAAI,UAAS,aAAkB,KAAG,eAEpD,CAAC;AAGF,eAAO,MAAM,cAAc,GACzB,UAAS,qBAA0B,KAClC,eA8KF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"scroll.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/scroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAG9D,UAAU,aAAa;IACrB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;CAChC;AAOD,eAAO,MAAM,MAAM,GAAI,UAAS,aAAkB,KAAG,eAkCpD,CAAC"}
1
+ {"version":3,"file":"scroll.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/scroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAG9D,UAAU,aAAa;IACrB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;CAChC;AAOD,eAAO,MAAM,MAAM,GAAI,UAAS,aAAkB,KAAG,eAqFpD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { SggoiTransition } from '../types';
2
+ export declare const strip: () => SggoiTransition;
3
+ //# sourceMappingURL=strip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strip.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/strip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAOhD,eAAO,MAAM,KAAK,QAAO,eAuDxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssgoi/core",
3
- "version": "2.3.1",
3
+ "version": "2.5.0",
4
4
  "description": "Core animation engine for SSGOI - Native app-like page transitions with spring physics",
5
5
  "private": false,
6
6
  "type": "module",