@ssgoi/core 2.3.0 → 2.4.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,21 @@
1
+ import { SpringConfig, SggoiTransition } from '../types';
2
+ interface JaeminOptions {
3
+ spring?: Partial<SpringConfig>;
4
+ initialRotation?: number;
5
+ initialScale?: number;
6
+ rotationTriggerPoint?: number;
7
+ }
8
+ /**
9
+ * Jaemin Transition
10
+ *
11
+ * Implements a shared element transition where:
12
+ * 1. Page A fades out
13
+ * 2. Page B appears rotated and scaled down at center
14
+ * 3. Page B scales up while rotating back to normal
15
+ *
16
+ * Based on analyzed animation log data showing 45° rotation over 1.728s
17
+ * Created by Jaemin
18
+ */
19
+ export declare const jaemin: (options?: JaeminOptions) => SggoiTransition;
20
+ export {};
21
+ //# 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;AAiBD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM,GAAI,UAAS,aAAkB,KAAG,eAiKpD,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssgoi/core",
3
- "version": "2.3.0",
3
+ "version": "2.4.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",
@@ -44,14 +44,6 @@
44
44
  "!dist/**/*.test.*",
45
45
  "!dist/**/*.spec.*"
46
46
  ],
47
- "scripts": {
48
- "dev": "vite",
49
- "watch": "vite build --watch",
50
- "build": "tsc && vite build",
51
- "preview": "vite preview",
52
- "prepare": "pnpm run build",
53
- "lint": "eslint ."
54
- },
55
47
  "keywords": [
56
48
  "page-transition",
57
49
  "animation",
@@ -90,5 +82,12 @@
90
82
  },
91
83
  "dependencies": {
92
84
  "popmotion": "^11.0.5"
85
+ },
86
+ "scripts": {
87
+ "dev": "vite",
88
+ "watch": "vite build --watch",
89
+ "build": "tsc && vite build",
90
+ "preview": "vite preview",
91
+ "lint": "eslint ."
93
92
  }
94
- }
93
+ }