@ssgoi/core 6.7.0-beta.1 → 7.0.0-beta.1
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 +80 -230
- package/dist/animation/animation.d.ts +2 -2
- package/dist/animation/frame-scheduler.d.ts +36 -0
- package/dist/animation/frame-scheduler.d.ts.map +1 -0
- package/dist/animation/multi-animation.d.ts +3 -2
- package/dist/animation/multi-animation.d.ts.map +1 -1
- package/dist/animation/web-animation.d.ts +16 -4
- package/dist/animation/web-animation.d.ts.map +1 -1
- package/dist/index.cjs +15 -15
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1282 -1125
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +692 -521
- package/dist/multi-animation-6124HEke.cjs +1 -0
- package/dist/multi-animation-ZFZBDBGr.js +439 -0
- package/dist/ssgoi-transition/create-ssgoi-transition-context.d.ts.map +1 -1
- package/dist/ssgoi-transition/navigation-detector-strategy.d.ts +24 -9
- package/dist/ssgoi-transition/navigation-detector-strategy.d.ts.map +1 -1
- package/dist/ssgoi-transition/navigation-direction.d.ts +13 -0
- package/dist/ssgoi-transition/navigation-direction.d.ts.map +1 -0
- package/dist/ssgoi-transition/observe-ssgoi-transitions.d.ts +1 -0
- package/dist/ssgoi-transition/observe-ssgoi-transitions.d.ts.map +1 -1
- package/dist/ssgoi-transition/path-pattern.d.ts +15 -0
- package/dist/ssgoi-transition/path-pattern.d.ts.map +1 -0
- package/dist/ssgoi-transition/resolve-transition-rule.d.ts +16 -0
- package/dist/ssgoi-transition/resolve-transition-rule.d.ts.map +1 -0
- package/dist/ssgoi-transition/unmount-observer.d.ts +11 -2
- package/dist/ssgoi-transition/unmount-observer.d.ts.map +1 -1
- package/dist/transitions/axis/index.d.ts +5 -7
- package/dist/transitions/axis/index.d.ts.map +1 -1
- package/dist/transitions/axis/types.d.ts +0 -1
- package/dist/transitions/axis/types.d.ts.map +1 -1
- package/dist/transitions/blind/index.d.ts +2 -3
- package/dist/transitions/blind/index.d.ts.map +1 -1
- package/dist/transitions/drill/index.d.ts +6 -7
- package/dist/transitions/drill/index.d.ts.map +1 -1
- package/dist/transitions/drill/provider/crossfade.d.ts.map +1 -1
- package/dist/transitions/drill/provider/parallax.d.ts.map +1 -1
- package/dist/transitions/drill/transition.d.ts.map +1 -1
- package/dist/transitions/drill/types.d.ts +0 -1
- package/dist/transitions/drill/types.d.ts.map +1 -1
- package/dist/transitions/fade/index.d.ts +3 -5
- package/dist/transitions/fade/index.d.ts.map +1 -1
- package/dist/transitions/film/index.d.ts +3 -5
- package/dist/transitions/film/index.d.ts.map +1 -1
- package/dist/transitions/hero/fit.d.ts +5 -0
- package/dist/transitions/hero/fit.d.ts.map +1 -0
- package/dist/transitions/hero/index.d.ts +3 -5
- package/dist/transitions/hero/index.d.ts.map +1 -1
- package/dist/transitions/hero/transition.d.ts +12 -1
- package/dist/transitions/hero/transition.d.ts.map +1 -1
- package/dist/transitions/hero/types.d.ts +2 -1
- package/dist/transitions/hero/types.d.ts.map +1 -1
- package/dist/transitions/jaemin/index.d.ts +3 -5
- package/dist/transitions/jaemin/index.d.ts.map +1 -1
- package/dist/transitions/media-geometry.d.ts +55 -0
- package/dist/transitions/media-geometry.d.ts.map +1 -0
- package/dist/transitions/rotate/index.d.ts +3 -5
- package/dist/transitions/rotate/index.d.ts.map +1 -1
- package/dist/transitions/scroll/index.d.ts +4 -5
- package/dist/transitions/scroll/index.d.ts.map +1 -1
- package/dist/transitions/scroll/transition.d.ts +1 -1
- package/dist/transitions/scroll/transition.d.ts.map +1 -1
- package/dist/transitions/sheet/index.d.ts +6 -7
- package/dist/transitions/sheet/index.d.ts.map +1 -1
- package/dist/transitions/sheet/provider/static.d.ts.map +1 -1
- package/dist/transitions/sheet/transition.d.ts.map +1 -1
- package/dist/transitions/sheet/types.d.ts +0 -1
- package/dist/transitions/sheet/types.d.ts.map +1 -1
- package/dist/transitions/slide/index.d.ts +3 -5
- package/dist/transitions/slide/index.d.ts.map +1 -1
- package/dist/transitions/slide/transition.d.ts +0 -1
- package/dist/transitions/slide/transition.d.ts.map +1 -1
- package/dist/transitions/strip/index.d.ts +3 -5
- package/dist/transitions/strip/index.d.ts.map +1 -1
- package/dist/transitions/utils.d.ts +3 -21
- package/dist/transitions/utils.d.ts.map +1 -1
- package/dist/transitions/zoom/index.d.ts +3 -4
- package/dist/transitions/zoom/index.d.ts.map +1 -1
- package/dist/transitions/zoom/provider/blur.d.ts.map +1 -1
- package/dist/transitions/zoom/transition.d.ts +6 -1
- package/dist/transitions/zoom/transition.d.ts.map +1 -1
- package/dist/transitions/zoom/types.d.ts +5 -0
- package/dist/transitions/zoom/types.d.ts.map +1 -1
- package/dist/transitions/zoom/zoom-element.d.ts +2 -2
- package/dist/transitions/zoom/zoom-element.d.ts.map +1 -1
- package/dist/types/index.d.ts +66 -10
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/wait-paint.d.ts +8 -7
- package/dist/utils/wait-paint.d.ts.map +1 -1
- package/package.json +13 -14
- package/dist/multi-animation-1FueEz2Q.js +0 -367
- package/dist/multi-animation-qtH1IKNG.cjs +0 -1
- package/dist/ssgoi-transition/find-matching-transition.d.ts +0 -30
- package/dist/ssgoi-transition/find-matching-transition.d.ts.map +0 -1
- package/dist/ssgoi-transition/process-symmetric-transitions.d.ts +0 -7
- package/dist/ssgoi-transition/process-symmetric-transitions.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Public `variant` value for `axis({ type: "x" })`.
|
|
4
4
|
*
|
|
@@ -20,13 +20,11 @@ export type AxisYVariant = "default" | "non-directional";
|
|
|
20
20
|
* @deprecated Do not use in new code. v6 only supports `{ type, variant, options }`.
|
|
21
21
|
* Migrate `feel: "fluid"` → omit `variant` (default tone),
|
|
22
22
|
* `feel: "snappy"` → `variant: "snappy"`.
|
|
23
|
-
* Example: `axis({
|
|
23
|
+
* Example: `axis({ type: "x", variant: "snappy" })`.
|
|
24
24
|
* Kept here only for backward compatibility — will be removed in a future major.
|
|
25
25
|
*/
|
|
26
26
|
export type AxisFeelDeprecated = "snappy" | "fluid";
|
|
27
|
-
export type AxisConfig = {
|
|
28
|
-
paths: readonly string[];
|
|
29
|
-
} & ({
|
|
27
|
+
export type AxisConfig = {} & ({
|
|
30
28
|
type?: "x";
|
|
31
29
|
variant?: AxisXVariant;
|
|
32
30
|
options?: Record<string, never>;
|
|
@@ -34,7 +32,7 @@ export type AxisConfig = {
|
|
|
34
32
|
* @deprecated Do not use in new code. v6 only supports `{ type, variant, options }`.
|
|
35
33
|
* Migrate `feel: "fluid"` → omit `variant` (default tone),
|
|
36
34
|
* `feel: "snappy"` → `variant: "snappy"`.
|
|
37
|
-
* Example: `axis({
|
|
35
|
+
* Example: `axis({ type: "x", variant: "snappy" })`.
|
|
38
36
|
* Kept here only for backward compatibility — will be removed in a future major.
|
|
39
37
|
*/
|
|
40
38
|
feel?: AxisFeelDeprecated;
|
|
@@ -47,5 +45,5 @@ export type AxisConfig = {
|
|
|
47
45
|
variant?: "default";
|
|
48
46
|
options?: Record<string, never>;
|
|
49
47
|
});
|
|
50
|
-
export declare function axis(config
|
|
48
|
+
export declare function axis(config?: AxisConfig): AnyTransitionConfig;
|
|
51
49
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/axis/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/axis/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAkBlD;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,iBAAiB,CAAC;AAEzD;;;;;;;;GAQG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,MAAM,MAAM,UAAU,GAAG,EAAE,GAAG,CAC1B;IACE,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAChC;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAC;CAC3B,GACD;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,OAAO,CAAC,EAAE,YAAY,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;CAAE,GACtE;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,OAAO,CAAC,EAAE,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;CAAE,CACtE,CAAC;AA+BF,wBAAgB,IAAI,CAAC,MAAM,GAAE,UAAe,GAAG,mBAAmB,CAOjE"}
|
|
@@ -16,7 +16,6 @@ export type AxisDirection = "forward" | "backward";
|
|
|
16
16
|
export type AxisFeel = "snappy" | "fluid" | "directional" | "non-directional";
|
|
17
17
|
export interface AxisOptions {
|
|
18
18
|
type?: AxisType;
|
|
19
|
-
direction?: AxisDirection;
|
|
20
19
|
feel?: AxisFeel;
|
|
21
20
|
}
|
|
22
21
|
export type AxisAnimateFunc = (progress: number) => StyleObject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/axis/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,MAAM,MAAM,QAAQ,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AACvC,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;AAEnD;;;;;;;;;;GAUG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,aAAa,GAAG,iBAAiB,CAAC;AAE9E,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/axis/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,MAAM,MAAM,QAAQ,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AACvC,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;AAEnD;;;;;;;;;;GAUG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,aAAa,GAAG,iBAAiB,CAAC;AAE9E,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB;AAED,MAAM,MAAM,eAAe,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,WAAW,CAAC;AAEhE,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,WAAW,CAAC;IACxB,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,cAAc,CAAC;IACpB,EAAE,EAAE,cAAc,CAAC;CACpB;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,aAAa,CAAC;CAC1B;AAED,MAAM,WAAW,YAAY;IAC3B;;;;;OAKG;IACH,UAAU,EAAE,cAAc,CAAC;IAC3B,qCAAqC;IACrC,SAAS,EAAE,cAAc,CAAC;IAC1B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,qEAAqE;IACrE,KAAK,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,mBAAmB,CAAC;CAC7D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Public `type` values for `blind`. Maps to the internal `direction` axis:
|
|
4
4
|
* - `"horizontal"` (default) — blinds open along the horizontal axis.
|
|
@@ -6,10 +6,9 @@ import { SsgoiPathTransition } from '../../types/index.ts';
|
|
|
6
6
|
*/
|
|
7
7
|
export type BlindType = "horizontal" | "vertical";
|
|
8
8
|
export type BlindConfig = {
|
|
9
|
-
paths: readonly string[];
|
|
10
9
|
type?: BlindType;
|
|
11
10
|
variant?: "default";
|
|
12
11
|
options?: object;
|
|
13
12
|
};
|
|
14
|
-
export declare function blind(config
|
|
13
|
+
export declare function blind(config?: BlindConfig): AnyTransitionConfig;
|
|
15
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/blind/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/blind/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAGlD;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;AAElD,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,KAAK,CAAC,MAAM,GAAE,WAAgB,GAAG,mBAAmB,CAMnE"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DirectionalTransitionPaths } from '../utils';
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
3
2
|
/**
|
|
4
3
|
* Public `type` values supported by `drill`.
|
|
5
4
|
*
|
|
@@ -13,11 +12,11 @@ export type DrillType = "parallax" | "slide";
|
|
|
13
12
|
*
|
|
14
13
|
* @deprecated Do not use in new code. v6 only supports `{ type, variant, options }`.
|
|
15
14
|
* Migrate `type: "crossfade"` to `type: "slide"` — same behavior, new name.
|
|
16
|
-
* Example: `
|
|
15
|
+
* Example: `{ on: "/detail/**", transition: drill({ type: "slide" }) }`.
|
|
17
16
|
* Kept here only for backward compatibility — will be removed in a future major.
|
|
18
17
|
*/
|
|
19
18
|
export type DrillTypeDeprecated = "crossfade";
|
|
20
|
-
export type DrillConfig =
|
|
19
|
+
export type DrillConfig = {
|
|
21
20
|
type?: "parallax";
|
|
22
21
|
variant?: "default";
|
|
23
22
|
options?: Record<string, never>;
|
|
@@ -29,12 +28,12 @@ export type DrillConfig = DirectionalTransitionPaths & ({
|
|
|
29
28
|
/**
|
|
30
29
|
* @deprecated Do not use in new code. v6 only supports `{ type, variant, options }`.
|
|
31
30
|
* Migrate `type: "crossfade"` to `type: "slide"` — same behavior, new name.
|
|
32
|
-
* Example: `drill({
|
|
31
|
+
* Example: `drill({ type: "slide" })`.
|
|
33
32
|
* Kept here only for backward compatibility — will be removed in a future major.
|
|
34
33
|
*/
|
|
35
34
|
type: "crossfade";
|
|
36
35
|
variant?: "default";
|
|
37
36
|
options?: Record<string, never>;
|
|
38
|
-
}
|
|
39
|
-
export declare function drill(config
|
|
37
|
+
};
|
|
38
|
+
export declare function drill(config?: DrillConfig): AnyTransitionConfig;
|
|
40
39
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/drill/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/drill/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAIlD;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC;AAE9C,MAAM,MAAM,WAAW,GACnB;IACE,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CACjC,GACD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;CAAE,GACvE;IACE;;;;;OAKG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CACjC,CAAC;AAgBN,wBAAgB,KAAK,CAAC,MAAM,GAAE,WAAgB,GAAG,mBAAmB,CAOnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crossfade.d.ts","sourceRoot":"","sources":["../../../../src/lib/transitions/drill/provider/crossfade.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,aAAa,EACd,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"crossfade.d.ts","sourceRoot":"","sources":["../../../../src/lib/transitions/drill/provider/crossfade.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,aAAa,EACd,MAAM,UAAU,CAAC;AA0ClB,wBAAgB,uBAAuB,IAAI,aAAa,CAKvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parallax.d.ts","sourceRoot":"","sources":["../../../../src/lib/transitions/drill/provider/parallax.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,aAAa,EACd,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"parallax.d.ts","sourceRoot":"","sources":["../../../../src/lib/transitions/drill/provider/parallax.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,aAAa,EACd,MAAM,UAAU,CAAC;AAyClB,wBAAgB,sBAAsB,IAAI,aAAa,CAKtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/drill/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAQ/C,OAAO,KAAK,EAAE,YAAY,EAA8B,MAAM,SAAS,CAAC;AAExE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAcvD,eAAO,MAAM,KAAK,GAAI,UAAS,YAAiB,KAAG,
|
|
1
|
+
{"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/drill/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAQ/C,OAAO,KAAK,EAAE,YAAY,EAA8B,MAAM,SAAS,CAAC;AAExE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAcvD,eAAO,MAAM,KAAK,GAAI,UAAS,YAAiB,KAAG,gBAmFlD,CAAC"}
|
|
@@ -13,7 +13,6 @@ export type DrillType = "parallax" | "crossfade";
|
|
|
13
13
|
export type DrillDirection = "enter" | "exit";
|
|
14
14
|
export interface DrillOptions {
|
|
15
15
|
type?: DrillType;
|
|
16
|
-
direction?: DrillDirection;
|
|
17
16
|
}
|
|
18
17
|
export type DrillStyle = Record<string, number | string>;
|
|
19
18
|
export type DrillAnimateFunc = (progress: number) => DrillStyle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/drill/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C;;;;;;;;;GASG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,WAAW,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/drill/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C;;;;;;;;;GASG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,WAAW,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AACzD,MAAM,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,UAAU,CAAC;AAEhE,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,eAAe,CAAC;IACrB,EAAE,EAAE,eAAe,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,cAAc,CAAC;IACxB,KAAK,EAAE,CAAC,SAAS,EAAE,cAAc,KAAK,oBAAoB,CAAC;CAC5D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
2
2
|
import { PresetConfig } from '../utils';
|
|
3
3
|
import { FadeOptions, FadeType, FadeVariant } from './types';
|
|
4
4
|
export type { FadeOptions, FadeType, FadeVariant } from './types';
|
|
@@ -6,8 +6,6 @@ export type { FadeOptions, FadeType, FadeVariant } from './types';
|
|
|
6
6
|
* Fade preset configuration. Default `type` is `"fade-through"` —
|
|
7
7
|
* sequential fade-out → fade-in.
|
|
8
8
|
*/
|
|
9
|
-
export type FadeConfig = PresetConfig<
|
|
10
|
-
|
|
11
|
-
}, FadeType, FadeVariant, FadeOptions>;
|
|
12
|
-
export declare function fade(config: FadeConfig): SsgoiPathTransition[];
|
|
9
|
+
export type FadeConfig = PresetConfig<FadeType, FadeVariant, FadeOptions>;
|
|
10
|
+
export declare function fade(_config?: FadeConfig): AnyTransitionConfig;
|
|
13
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/fade/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/fade/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAElE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAElE;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC,QAAQ,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;AAE1E,wBAAgB,IAAI,CAAC,OAAO,GAAE,UAAe,GAAG,mBAAmB,CAElE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
2
2
|
import { PresetConfig } from '../utils';
|
|
3
3
|
import { FilmOptions, FilmVariant } from './types';
|
|
4
4
|
export type { FilmOptions, FilmVariant } from './types';
|
|
@@ -9,8 +9,6 @@ export type { FilmOptions, FilmVariant } from './types';
|
|
|
9
9
|
* surfaces the cinematic corner-border color (previously a hard-coded
|
|
10
10
|
* internal default).
|
|
11
11
|
*/
|
|
12
|
-
export type FilmConfig = PresetConfig<
|
|
13
|
-
|
|
14
|
-
}, never, FilmVariant, FilmOptions>;
|
|
15
|
-
export declare function film(config: FilmConfig): SsgoiPathTransition[];
|
|
12
|
+
export type FilmConfig = PresetConfig<never, FilmVariant, FilmOptions>;
|
|
13
|
+
export declare function film(config?: FilmConfig): AnyTransitionConfig;
|
|
16
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/film/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/film/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAExD,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC,KAAK,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;AAEvE,wBAAgB,IAAI,CAAC,MAAM,GAAE,UAAe,GAAG,mBAAmB,CAYjE"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MediaFit } from '../media-geometry';
|
|
2
|
+
export type HeroEndpoint = "enter" | "exit" | "legacy";
|
|
3
|
+
/** Compatibility fallback used only with deprecated aspect-ratio markup. */
|
|
4
|
+
export declare function fallbackHeroFit(endpoint: HeroEndpoint): MediaFit;
|
|
5
|
+
//# sourceMappingURL=fit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fit.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/hero/fit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAQvD,4EAA4E;AAC5E,wBAAgB,eAAe,CAAC,QAAQ,EAAE,YAAY,GAAG,QAAQ,CAEhE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
2
2
|
import { PresetConfig } from '../utils';
|
|
3
3
|
import { HeroOptions, HeroType, HeroVariant } from './types';
|
|
4
4
|
export type { HeroOptions, HeroType, HeroVariant } from './types';
|
|
@@ -13,8 +13,6 @@ export type { HeroOptions, HeroType, HeroVariant } from './types';
|
|
|
13
13
|
* - `variant: "default"` — only value today; reserved for future tonal
|
|
14
14
|
* variants without re-shaping the public API.
|
|
15
15
|
*/
|
|
16
|
-
export type HeroConfig = PresetConfig<
|
|
17
|
-
|
|
18
|
-
}, HeroType, HeroVariant, HeroOptions>;
|
|
19
|
-
export declare function hero(config: HeroConfig): SsgoiPathTransition[];
|
|
16
|
+
export type HeroConfig = PresetConfig<HeroType, HeroVariant, HeroOptions>;
|
|
17
|
+
export declare function hero(config?: HeroConfig): AnyTransitionConfig;
|
|
20
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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;AAClD,OAAO,
|
|
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;AAClD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAElE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAElE;;;;;;;;;;GAUG;AACH,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC,QAAQ,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;AAE1E,wBAAgB,IAAI,CAAC,MAAM,GAAE,UAAe,GAAG,mBAAmB,CAIjE"}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { TransitionConfig } from '../../types/index.ts';
|
|
2
|
-
import {
|
|
2
|
+
import { MediaGeometry } from '../media-geometry';
|
|
3
|
+
import { HeroPair, HeroResolved, NormalizedHeroOptions } from './types';
|
|
3
4
|
export type { HeroType, HeroVariant, NormalizedHeroOptions } from './types';
|
|
5
|
+
/**
|
|
6
|
+
* Resolve new-style hero pairs from `data-hero-enter-key` (detail side) and
|
|
7
|
+
* `data-hero-exit-key` (list side). Direction-agnostic: enter elements on
|
|
8
|
+
* `to` pair with exit elements on `from` (forward navigation), and enter
|
|
9
|
+
* elements on `from` pair with exit elements on `to` (reverse). In both
|
|
10
|
+
* cases the animated element is the one living on `to`.
|
|
11
|
+
*/
|
|
12
|
+
export declare function resolveNewStylePairs(fromNode: HTMLElement, toNode: HTMLElement): HeroPair[];
|
|
13
|
+
export declare function normalizeHeroGeometryPair(from: MediaGeometry, to: MediaGeometry): [MediaGeometry, MediaGeometry];
|
|
14
|
+
export declare function shouldResetHeroCloneRadius(from: MediaGeometry, to: MediaGeometry): boolean;
|
|
4
15
|
type HeroExtras = {
|
|
5
16
|
resolved: HeroResolved;
|
|
6
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/hero/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/hero/transition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAQ/C,OAAO,EAOL,KAAK,aAAa,EAEnB,MAAM,mBAAmB,CAAC;AAI3B,OAAO,KAAK,EAEV,QAAQ,EAER,YAAY,EAEZ,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAEjB,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAuD5E;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,WAAW,EACrB,MAAM,EAAE,WAAW,GAClB,QAAQ,EAAE,CAgCZ;AAuDD,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,aAAa,EACnB,EAAE,EAAE,aAAa,GAChB,CAAC,aAAa,EAAE,aAAa,CAAC,CAEhC;AAED,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,aAAa,EACnB,EAAE,EAAE,aAAa,GAChB,OAAO,CAeT;AAuKD,KAAK,UAAU,GAAG;IAAE,QAAQ,EAAE,YAAY,CAAA;CAAE,CAAC;AAE7C,eAAO,MAAM,IAAI,GACf,SAAS,qBAAqB,KAC7B,gBAAgB,CAAC,UAAU,CA0E7B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PhysicsOptions } from '../../types/index.ts';
|
|
2
2
|
import { Animation } from '../../animation';
|
|
3
|
+
import { MediaFit } from '../media-geometry';
|
|
3
4
|
/**
|
|
4
5
|
* - `static` — a temporary shared-element clone morphs above the incoming
|
|
5
6
|
* page while page chrome snaps to its final state. Default.
|
|
@@ -18,7 +19,7 @@ export type HeroType = "static" | "fade";
|
|
|
18
19
|
*/
|
|
19
20
|
export type HeroVariant = "default" | "smooth";
|
|
20
21
|
export type HeroOptions = Record<string, never>;
|
|
21
|
-
export type HeroFit =
|
|
22
|
+
export type HeroFit = MediaFit;
|
|
22
23
|
export interface NormalizedHeroOptions {
|
|
23
24
|
type: HeroType;
|
|
24
25
|
variant: HeroVariant;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/hero/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/transitions/hero/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAMlD;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AACzC;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC/C,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC;AAO/B,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,WAAW,CAAC;CACtB;AAMD,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,WAAW,CAAC;IACpB,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAUD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC3B,EAAE,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,WAAW,CAAC;IAClB,EAAE,EAAE,WAAW,CAAC;IAChB,QAAQ,EAAE,YAAY,CAAC;IACvB,OAAO,EAAE,cAAc,CAAC;IACxB,gBAAgB,EAAE,WAAW,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;CACtC;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,IAAI,CAAC;IACxC,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,iBAAiB,KAAK,SAAS,EAAE,CAAC;CACtD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
2
2
|
import { PresetConfig } from '../utils';
|
|
3
3
|
import { JaeminVariant } from './types';
|
|
4
4
|
export type { JaeminVariant } from './types';
|
|
@@ -9,8 +9,6 @@ export type { JaeminVariant } from './types';
|
|
|
9
9
|
* (internal tuning constants are intentionally not exposed). The unified
|
|
10
10
|
* `variant` slot is kept for v6 schema consistency.
|
|
11
11
|
*/
|
|
12
|
-
export type JaeminConfig = PresetConfig<
|
|
13
|
-
|
|
14
|
-
}, never, JaeminVariant>;
|
|
15
|
-
export declare function jaemin(config: JaeminConfig): SsgoiPathTransition[];
|
|
12
|
+
export type JaeminConfig = PresetConfig<never, JaeminVariant>;
|
|
13
|
+
export declare function jaemin(_config?: JaeminConfig): AnyTransitionConfig;
|
|
16
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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;AAClD,OAAO,
|
|
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;AAClD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;AAE9D,wBAAgB,MAAM,CAAC,OAAO,GAAE,YAAiB,GAAG,mBAAmB,CAEtE"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export type MediaFit = "contain" | "cover";
|
|
2
|
+
export interface MediaRect {
|
|
3
|
+
left: number;
|
|
4
|
+
top: number;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
}
|
|
8
|
+
export interface MediaInsets {
|
|
9
|
+
top: number;
|
|
10
|
+
right: number;
|
|
11
|
+
bottom: number;
|
|
12
|
+
left: number;
|
|
13
|
+
}
|
|
14
|
+
type RadiusSource = "computed" | "legacy" | "none" | "unsupported";
|
|
15
|
+
export interface MediaGeometry {
|
|
16
|
+
bbox: MediaRect;
|
|
17
|
+
content: MediaRect;
|
|
18
|
+
window: MediaRect;
|
|
19
|
+
clipInset: MediaInsets;
|
|
20
|
+
aspectRatio: number | null;
|
|
21
|
+
fit: MediaFit | null;
|
|
22
|
+
radius: number;
|
|
23
|
+
radiusSource: RadiusSource;
|
|
24
|
+
bboxRadius: number;
|
|
25
|
+
bboxRadiusSource: RadiusSource;
|
|
26
|
+
contentAware: boolean;
|
|
27
|
+
mediaElement: HTMLElement | null;
|
|
28
|
+
}
|
|
29
|
+
export interface ElementMediaGeometryOptions {
|
|
30
|
+
/** Compatibility fit used only when a legacy aspect-ratio hint is present. */
|
|
31
|
+
fallbackFit?: MediaFit;
|
|
32
|
+
/** @deprecated Compatibility only. Intrinsic media dimensions are inferred. */
|
|
33
|
+
legacyAspectRatioAttribute?: string;
|
|
34
|
+
/** @deprecated Compatibility only. Border radius is inferred from CSS. */
|
|
35
|
+
legacyRadiusAttribute?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Resolve only an unambiguous local image target. We intentionally avoid a
|
|
39
|
+
* deep descendant query: cards commonly contain icons, avatars, pictures,
|
|
40
|
+
* videos, and multiple images that must not be mistaken for the shared visual.
|
|
41
|
+
*/
|
|
42
|
+
export declare function findMediaElement(keyedEl: HTMLElement): HTMLElement | null;
|
|
43
|
+
export declare function readIntrinsicAspectRatio(el: HTMLElement): number | null;
|
|
44
|
+
export declare function centerX(rect: MediaRect): number;
|
|
45
|
+
export declare function centerY(rect: MediaRect): number;
|
|
46
|
+
export declare function insetWithin(outer: MediaRect, inner: MediaRect): MediaInsets;
|
|
47
|
+
export declare function fittedContentRect(bbox: MediaRect, aspectRatio: number, fit: MediaFit): MediaRect;
|
|
48
|
+
export declare function createMediaGeometry(bbox: MediaRect, aspectRatio: number | null, fit: MediaFit | null): MediaGeometry;
|
|
49
|
+
export declare function isCompatibleMediaGeometryPair(from: MediaGeometry, to: MediaGeometry): boolean;
|
|
50
|
+
export declare function normalizeMediaGeometryPair(from: MediaGeometry, to: MediaGeometry): [MediaGeometry, MediaGeometry];
|
|
51
|
+
export declare function resolveElementMediaGeometry(keyedEl: HTMLElement, keyedBox: MediaRect, measure: (el: HTMLElement) => MediaRect, options: ElementMediaGeometryOptions): MediaGeometry;
|
|
52
|
+
/** Inverse-project `targetWindow` into `baseContent` before its transform. */
|
|
53
|
+
export declare function projectedWindowRect(baseContent: MediaRect, targetContent: MediaRect, targetWindow: MediaRect, scaleX: number, scaleY: number): MediaRect;
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=media-geometry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-geometry.d.ts","sourceRoot":"","sources":["../../src/lib/transitions/media-geometry.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAE3C,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,KAAK,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,aAAa,CAAC;AAEnE,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,SAAS,CAAC;IACnB,MAAM,EAAE,SAAS,CAAC;IAClB,SAAS,EAAE,WAAW,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,GAAG,EAAE,QAAQ,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,YAAY,CAAC;IAC/B,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,WAAW,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,2BAA2B;IAC1C,8EAA8E;IAC9E,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB,+EAA+E;IAC/E,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,0EAA0E;IAC1E,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAkCD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI,CAazE;AAED,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CA+BvE;AAmGD,wBAAgB,OAAO,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAE/C;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAE/C;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,GAAG,WAAW,CAO3E;AAsBD,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,SAAS,EACf,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,QAAQ,GACZ,SAAS,CA2BX;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,SAAS,EACf,WAAW,EAAE,MAAM,GAAG,IAAI,EAC1B,GAAG,EAAE,QAAQ,GAAG,IAAI,GACnB,aAAa,CAoBf;AAgBD,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,aAAa,EACnB,EAAE,EAAE,aAAa,GAChB,OAAO,CAUT;AAUD,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,aAAa,EACnB,EAAE,EAAE,aAAa,GAChB,CAAC,aAAa,EAAE,aAAa,CAAC,CAIhC;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,CAAC,EAAE,EAAE,WAAW,KAAK,SAAS,EACvC,OAAO,EAAE,2BAA2B,GACnC,aAAa,CAsFf;AAED,8EAA8E;AAC9E,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,SAAS,EACtB,aAAa,EAAE,SAAS,EACxB,YAAY,EAAE,SAAS,EACvB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,GACb,SAAS,CAeX"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
2
2
|
import { PresetConfig } from '../utils';
|
|
3
3
|
import { RotateOptions, RotateVariant } from './types';
|
|
4
4
|
export type { RotateOptions, RotateVariant } from './types';
|
|
@@ -8,8 +8,6 @@ export type { RotateOptions, RotateVariant } from './types';
|
|
|
8
8
|
* Single-behavior preset: no `type` discriminator. The unified
|
|
9
9
|
* `{ variant, options }` slots are exposed for v6 schema consistency.
|
|
10
10
|
*/
|
|
11
|
-
export type RotateConfig = PresetConfig<
|
|
12
|
-
|
|
13
|
-
}, never, RotateVariant, RotateOptions>;
|
|
14
|
-
export declare function rotate(config: RotateConfig): SsgoiPathTransition[];
|
|
11
|
+
export type RotateConfig = PresetConfig<never, RotateVariant, RotateOptions>;
|
|
12
|
+
export declare function rotate(_config?: RotateConfig): AnyTransitionConfig;
|
|
15
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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;AAClD,OAAO,
|
|
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;AAClD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE5D,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE5D;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC;AAE7E,wBAAgB,MAAM,CAAC,OAAO,GAAE,YAAiB,GAAG,mBAAmB,CAEtE"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
2
2
|
export type ScrollConfig = {
|
|
3
|
-
paths: readonly string[];
|
|
4
3
|
/**
|
|
5
|
-
* - `"directional"` (default):
|
|
6
|
-
*
|
|
4
|
+
* - `"directional"` (default): the surrounding rule decides direction.
|
|
5
|
+
* An ordered rule maps earlier → later to forward.
|
|
7
6
|
* - `"non-directional"`: every transition scrolls upward (pages slide up, new
|
|
8
7
|
* page enters from the bottom). Direction is fixed — not user-configurable.
|
|
9
8
|
*/
|
|
@@ -11,5 +10,5 @@ export type ScrollConfig = {
|
|
|
11
10
|
variant?: "default";
|
|
12
11
|
options?: object;
|
|
13
12
|
};
|
|
14
|
-
export declare function scroll(config
|
|
13
|
+
export declare function scroll(config?: ScrollConfig): AnyTransitionConfig;
|
|
15
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAGlD,MAAM,MAAM,YAAY,GAAG;IACzB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,aAAa,GAAG,iBAAiB,CAAC;IACzC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,MAAM,CAAC,MAAM,GAAE,YAAiB,GAAG,mBAAmB,CAGrE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PhysicsOptions, TransitionConfig } from '../../types/index.ts';
|
|
2
2
|
export interface ScrollOptions {
|
|
3
|
-
|
|
3
|
+
directional?: boolean;
|
|
4
4
|
physics?: PhysicsOptions;
|
|
5
5
|
}
|
|
6
6
|
export declare const scroll: (options?: ScrollOptions) => TransitionConfig;
|
|
@@ -1 +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;AAQ/D,MAAM,WAAW,aAAa;IAC5B,
|
|
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;AAQ/D,MAAM,WAAW,aAAa;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AAYD,eAAO,MAAM,MAAM,GAAI,UAAS,aAAkB,KAAG,gBAgGpD,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DirectionalTransitionPaths } from '../utils';
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
3
2
|
/**
|
|
4
3
|
* Public `type` values supported by `sheet`.
|
|
5
4
|
*
|
|
@@ -16,11 +15,11 @@ export type SheetType = "static" | "scale" | "blur";
|
|
|
16
15
|
*
|
|
17
16
|
* @deprecated Do not use in new code. v6 only supports `{ type, variant, options }`.
|
|
18
17
|
* Migrate `type: "background-scale"` to `type: "scale"` — same behavior, new name.
|
|
19
|
-
* Example: `
|
|
18
|
+
* Example: `{ on: "/sheet", transition: sheet({ type: "scale" }) }`.
|
|
20
19
|
* Kept here only for backward compatibility — will be removed in a future major.
|
|
21
20
|
*/
|
|
22
21
|
export type SheetTypeDeprecated = "background-scale";
|
|
23
|
-
export type SheetConfig =
|
|
22
|
+
export type SheetConfig = {
|
|
24
23
|
type?: "static";
|
|
25
24
|
variant?: "default";
|
|
26
25
|
options?: Record<string, never>;
|
|
@@ -36,12 +35,12 @@ export type SheetConfig = DirectionalTransitionPaths & ({
|
|
|
36
35
|
/**
|
|
37
36
|
* @deprecated Do not use in new code. v6 only supports `{ type, variant, options }`.
|
|
38
37
|
* Migrate `type: "background-scale"` to `type: "scale"` — same behavior, new name.
|
|
39
|
-
* Example: `sheet({
|
|
38
|
+
* Example: `sheet({ type: "scale" })`.
|
|
40
39
|
* Kept here only for backward compatibility — will be removed in a future major.
|
|
41
40
|
*/
|
|
42
41
|
type: "background-scale";
|
|
43
42
|
variant?: "default";
|
|
44
43
|
options?: Record<string, never>;
|
|
45
|
-
}
|
|
46
|
-
export declare function sheet(config
|
|
44
|
+
};
|
|
45
|
+
export declare function sheet(config?: SheetConfig): AnyTransitionConfig;
|
|
47
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAIlD;;;;;;;;;GASG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpD;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;AAErD,MAAM,MAAM,WAAW,GACnB;IAAE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAAC,OAAO,CAAC,EAAE,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;CAAE,GACzE;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;CAAE,GACvE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;CAAE,GACtE;IACE;;;;;OAKG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CACjC,CAAC;AAiBN,wBAAgB,KAAK,CAAC,MAAM,GAAE,WAAgB,GAAG,mBAAmB,CAOnE"}
|
|
@@ -1 +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;
|
|
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;AAkB9C,wBAAgB,oBAAoB,IAAI,aAAa,CAUpD"}
|
|
@@ -1 +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;AAS/C,OAAO,KAAK,EAAE,YAAY,EAAa,MAAM,SAAS,CAAC;AAEvD,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAKvD,gFAAgF;AAChF,UAAU,WAAW;IACnB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,eAAO,MAAM,KAAK,GAChB,UAAS,YAAiB,KACzB,gBAAgB,CAAC,WAAW,
|
|
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;AAS/C,OAAO,KAAK,EAAE,YAAY,EAAa,MAAM,SAAS,CAAC;AAEvD,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAKvD,gFAAgF;AAChF,UAAU,WAAW;IACnB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,eAAO,MAAM,KAAK,GAChB,UAAS,YAAiB,KACzB,gBAAgB,CAAC,WAAW,CAgP9B,CAAC"}
|
|
@@ -13,7 +13,6 @@ export type SheetType = "static" | "background-scale" | "blur";
|
|
|
13
13
|
export type SheetDirection = "enter" | "exit";
|
|
14
14
|
export interface SheetOptions {
|
|
15
15
|
type?: SheetType;
|
|
16
|
-
direction?: SheetDirection;
|
|
17
16
|
}
|
|
18
17
|
export type SheetStyle = Record<string, number | string>;
|
|
19
18
|
export interface SheetBackgroundConfig {
|
|
@@ -1 +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;;;;;;;;;GASG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,kBAAkB,GAAG,MAAM,CAAC;AAC/D,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;
|
|
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;;;;;;;;;GASG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,kBAAkB,GAAG,MAAM,CAAC;AAC/D,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;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;;;;;;GAMG;AACH,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,0EAA0E;IAC1E,KAAK,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,KAAK,UAAU,CAAC;CACpE;AAED,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,cAAc,CAAC;IAC7B,WAAW,EAAE,cAAc,CAAC;IAC5B,UAAU,EAAE,qBAAqB,CAAC;IAClC,8EAA8E;IAC9E,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAC9B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
2
2
|
import { PresetConfig } from '../utils';
|
|
3
3
|
import { SlideOptions, SlideVariant } from './types';
|
|
4
4
|
export type { SlideOptions, SlideVariant } from './types';
|
|
@@ -9,8 +9,6 @@ export type { SlideOptions, SlideVariant } from './types';
|
|
|
9
9
|
* `{ variant, options }` slots are exposed so callers can adopt the v6
|
|
10
10
|
* schema consistently across presets.
|
|
11
11
|
*/
|
|
12
|
-
export type SlideConfig = PresetConfig<
|
|
13
|
-
|
|
14
|
-
}, never, SlideVariant, SlideOptions>;
|
|
15
|
-
export declare function slide(config: SlideConfig): SsgoiPathTransition[];
|
|
12
|
+
export type SlideConfig = PresetConfig<never, SlideVariant, SlideOptions>;
|
|
13
|
+
export declare function slide(_config?: SlideConfig): AnyTransitionConfig;
|
|
16
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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;AAClD,OAAO,
|
|
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;AAClD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE1D,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE1D;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,KAAK,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;AAE1E,wBAAgB,KAAK,CAAC,OAAO,GAAE,WAAgB,GAAG,mBAAmB,CAGpE"}
|
|
@@ -1 +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,
|
|
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,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AAQD,eAAO,MAAM,KAAK,GAAI,UAAS,YAAiB,KAAG,gBA+DlD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyTransitionConfig } from '../../types/index.ts';
|
|
2
2
|
import { PresetConfig } from '../utils';
|
|
3
3
|
import { StripOptions, StripVariant } from './types';
|
|
4
4
|
export type { StripOptions, StripVariant } from './types';
|
|
@@ -9,8 +9,6 @@ export type { StripOptions, StripVariant } from './types';
|
|
|
9
9
|
* `{ variant, options }` slots are exposed for consistency with other v6
|
|
10
10
|
* presets.
|
|
11
11
|
*/
|
|
12
|
-
export type StripConfig = PresetConfig<
|
|
13
|
-
|
|
14
|
-
}, never, StripVariant, StripOptions>;
|
|
15
|
-
export declare function strip(config: StripConfig): SsgoiPathTransition[];
|
|
12
|
+
export type StripConfig = PresetConfig<never, StripVariant, StripOptions>;
|
|
13
|
+
export declare function strip(_config?: StripConfig): AnyTransitionConfig;
|
|
16
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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;AAClD,OAAO,
|
|
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;AAClD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE1D,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE1D;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,KAAK,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;AAE1E,wBAAgB,KAAK,CAAC,OAAO,GAAE,WAAgB,GAAG,mBAAmB,CAEpE"}
|