@flemo/core 1.22.1 → 1.23.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/engine/__tests__/emulationNotice.test.d.ts +1 -0
- package/dist/core/engine/__tests__/gpuPipelinePrewarm.test.d.ts +1 -0
- package/dist/core/engine/__tests__/imageDecodeHygiene.test.d.ts +1 -0
- package/dist/core/engine/__tests__/landingPixelSnap.test.d.ts +1 -0
- package/dist/core/engine/__tests__/layerSettleHold.test.d.ts +1 -0
- package/dist/core/engine/__tests__/responseHold.test.d.ts +1 -0
- package/dist/core/engine/driverPolicy.d.ts +1 -1
- package/dist/core/engine/emulationNotice.d.ts +3 -0
- package/dist/core/engine/gpuPipelinePrewarm.d.ts +4 -0
- package/dist/core/engine/imageDecodeHygiene.d.ts +1 -0
- package/dist/core/engine/landingPixelSnap.d.ts +5 -0
- package/dist/core/engine/layerSettleHold.d.ts +5 -0
- package/dist/core/engine/motionDriverKind.d.ts +1 -1
- package/dist/core/engine/nativeStallAnchor.d.ts +2 -0
- package/dist/core/engine/responseHold.d.ts +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +1379 -818
- package/dist/screen/computeScreenFreeze.d.ts +1 -0
- package/dist/transition/animateInline.d.ts +3 -3
- package/dist/transition/compileTransitionStyles.d.ts +1 -1
- package/dist/transition/settleScrub.d.ts +3 -3
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SwipeAnimate } from './typing';
|
|
2
|
-
export declare const trackInlineWrite: (el: HTMLElement, property: string) => void;
|
|
3
|
-
export declare const clearInlineAnimation: (el: HTMLElement, properties?: string[]) => void;
|
|
4
|
-
declare const animateInline: SwipeAnimate
|
|
2
|
+
export declare const trackInlineWrite: (el: HTMLElement, property: string, owner?: symbol) => void;
|
|
3
|
+
export declare const clearInlineAnimation: (el: HTMLElement, properties?: string[], owner?: symbol) => void;
|
|
4
|
+
declare const animateInline: (target: HTMLElement, value: Parameters<SwipeAnimate>[1], options?: NonNullable<Parameters<SwipeAnimate>[2]>, writer?: symbol) => Promise<void>;
|
|
5
5
|
export default animateInline;
|
|
@@ -6,7 +6,7 @@ export type CssDecl = {
|
|
|
6
6
|
property: string;
|
|
7
7
|
value: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const collectAnimatedProperties: (transition: Transition) => string[];
|
|
9
|
+
export declare const collectAnimatedProperties: (transition: Pick<Transition, "initial" | "variants">) => string[];
|
|
10
10
|
export declare const targetToDecls: (target: TransitionVariantValue["value"] | InitialTarget) => CssDecl[];
|
|
11
11
|
export declare const easingToCss: (ease: AnimationOptions["ease"] | undefined) => string;
|
|
12
12
|
export declare const animationName: (scope: "screen" | "decorator" | "part", name: string, variant: TransitionVariant) => string;
|
|
@@ -10,9 +10,9 @@ export interface SettleTiming {
|
|
|
10
10
|
}
|
|
11
11
|
export type SettleWrite = (decl: CssDecl) => void;
|
|
12
12
|
export interface SettleScrubber {
|
|
13
|
-
settle: (element: HTMLElement, decls: CssDecl[], timing: SettleTiming, writeFinal: SettleWrite) => Promise<void> | null;
|
|
14
|
-
takeover: (element: HTMLElement) => void;
|
|
15
|
-
cancel: (element: HTMLElement) => void;
|
|
13
|
+
settle: (element: HTMLElement, decls: CssDecl[], timing: SettleTiming, writeFinal: SettleWrite, owner?: symbol) => Promise<void> | null;
|
|
14
|
+
takeover: (element: HTMLElement, owner?: symbol) => void;
|
|
15
|
+
cancel: (element: HTMLElement, owner?: symbol) => void;
|
|
16
16
|
}
|
|
17
17
|
export declare const createSettleScrubber: (scheduler?: SettleScheduler) => SettleScrubber;
|
|
18
18
|
declare const settleScrubber: SettleScrubber;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flemo/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0",
|
|
4
4
|
"description": "Framework-agnostic primitives for flemo: history, navigation, transitions, task manager.",
|
|
5
5
|
"main": "./dist/index.mjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"eslint": "^9.39.4",
|
|
43
43
|
"jsdom": "^29.1.1",
|
|
44
44
|
"typescript": "^6.0.3",
|
|
45
|
-
"vite": "^8.
|
|
45
|
+
"vite": "^8.2.0",
|
|
46
46
|
"vite-plugin-dts": "^5.0.3",
|
|
47
47
|
"vitest": "^4.1.10",
|
|
48
|
-
"@flemo/
|
|
49
|
-
"@flemo/
|
|
48
|
+
"@flemo/eslint-config": "0.0.0",
|
|
49
|
+
"@flemo/tsconfig": "0.0.0"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|