@flemo/core 2.0.0 → 2.1.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.
- package/dist/core/createRouterScope.d.ts +1 -0
- package/dist/core/engine/__tests__/createSwipeController.dragProgress.test.d.ts +1 -0
- package/dist/core/engine/__tests__/createSwipeController.forcedCancel.test.d.ts +1 -0
- package/dist/core/engine/__tests__/createSwipeController.nativeDrag.test.d.ts +1 -0
- package/dist/core/engine/__tests__/createSwipeController.rideOffset.test.d.ts +1 -0
- package/dist/core/engine/__tests__/variantStub.d.ts +13 -0
- package/dist/history/createHistorySync.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +1381 -1292
- package/dist/morph/attachMorph.d.ts +14 -0
- package/dist/screen/__tests__/publishRideBox.test.d.ts +1 -0
- package/dist/screen/publishRideBox.d.ts +1 -0
- package/dist/transition/__tests__/compileTransitionStyles.test.d.ts +2 -0
- package/dist/transition/__tests__/rideOffset.test.d.ts +1 -0
- package/dist/transition/compileTransitionStyles.d.ts +2 -1
- package/dist/transition/decorator/__tests__/resolveDecoratorClock.test.d.ts +14 -0
- package/dist/transition/decorator/createDecorator.d.ts +4 -5
- package/dist/transition/decorator/createRawDecorator.d.ts +10 -11
- package/dist/transition/decorator/resolveDecoratorClock.d.ts +36 -0
- package/dist/transition/decorator/typing.d.ts +8 -2
- package/dist/transition/rideOffset.d.ts +5 -0
- package/dist/transition/swipeSettle.d.ts +5 -1
- package/dist/transition/typing.d.ts +12 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AnimationOptions, TransitionTarget } from '../../../transition/cssTypes';
|
|
2
|
+
import { Transition } from '../../../transition/typing';
|
|
3
|
+
/**
|
|
4
|
+
* A full status x active variant table for a hand-built `Transition` stub.
|
|
5
|
+
*
|
|
6
|
+
* Every swipe-controller suite used to write `variants: {}` behind an
|
|
7
|
+
* `as unknown as Transition`, which typechecked because the cast said so and
|
|
8
|
+
* ran because nothing read the table. Two things read it now: the drag layer
|
|
9
|
+
* hold folds a transition's clock into its decorator's, and the release reads
|
|
10
|
+
* the pop variant for the ceiling the decorator borrows. A partial table is a
|
|
11
|
+
* shape no real `Transition` can have, so the stubs carry all ten keys.
|
|
12
|
+
*/
|
|
13
|
+
export declare const fullVariants: (value: TransitionTarget, options?: AnimationOptions) => Transition["variants"];
|
|
@@ -11,6 +11,7 @@ export interface HistorySyncDeps {
|
|
|
11
11
|
routerKey?: string;
|
|
12
12
|
zoneEntryId?: string;
|
|
13
13
|
ownsPathname?: (pathname: string) => boolean;
|
|
14
|
+
memory?: boolean;
|
|
14
15
|
}
|
|
15
16
|
export default function createHistorySync(deps: HistorySyncDeps): () => void;
|
|
16
17
|
export declare function readRecordedFrame(routerKey: string, pathname: string): unknown;
|
|
@@ -23,6 +24,7 @@ interface SyncScope {
|
|
|
23
24
|
routerKey?: string;
|
|
24
25
|
zoneEntryId?: string;
|
|
25
26
|
ownsPathname?: (pathname: string) => boolean;
|
|
27
|
+
memory?: boolean;
|
|
26
28
|
}
|
|
27
29
|
export declare function ensureScopeHistorySync(scope: SyncScope): void;
|
|
28
30
|
export declare function releaseScopeHistorySync(scope: SyncScope): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export { default as createTransitionStore, type TransitionStore, type Transition
|
|
|
22
22
|
export { default as createDecorator } from './transition/decorator/createDecorator';
|
|
23
23
|
export { default as createRawDecorator } from './transition/decorator/createRawDecorator';
|
|
24
24
|
export { decoratorMap } from './transition/decorator/decorator';
|
|
25
|
+
export { resolveDecoratorClock } from './transition/decorator/resolveDecoratorClock';
|
|
25
26
|
export { default as createPartTransition } from './transition/partTransition/createPartTransition';
|
|
26
27
|
export { default as createRawPartTransition } from './transition/partTransition/createRawPartTransition';
|
|
27
28
|
export { partTransitionMap } from './transition/partTransition/partTransition';
|
|
@@ -62,6 +63,8 @@ export { detectBlinkEngine, isDesktopBlink, isLegacyAndroidBlink } from './platf
|
|
|
62
63
|
export { steadySixtyDesktopProfile } from './platform/steadySixtyCadence';
|
|
63
64
|
export { swipeSettleSeconds, MIN_SETTLE_SECONDS, type SwipeSettleInput } from './transition/swipeSettle';
|
|
64
65
|
export { default as observeBarHeight } from './screen/observeBarHeight';
|
|
66
|
+
export { default as publishRideBox } from './screen/publishRideBox';
|
|
67
|
+
export { percentRatio, resolveRideTarget, rideLength, RIDE_HEIGHT_VAR } from './transition/rideOffset';
|
|
65
68
|
export { default as observeViewportScrollHeight } from './screen/observeViewportScrollHeight';
|
|
66
69
|
export { default as holdCompositorWarm } from './core/engine/compositorWarmUp';
|
|
67
70
|
export { default as ensureGpuPipelinePrewarm } from './core/engine/gpuPipelinePrewarm';
|