saccade 0.0.3 → 0.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.cjs +219 -150
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +40 -10
- package/dist/core.d.ts +40 -10
- package/dist/core.mjs +219 -150
- package/dist/core.mjs.map +1 -1
- package/dist/index.cjs +235 -175
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +235 -175
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
type SaccadePosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
6
6
|
type SaccadeProps = {
|
|
7
7
|
/** Panel position. Default: 'bottom-left' */
|
|
8
8
|
position?: SaccadePosition;
|
|
9
9
|
};
|
|
10
|
-
declare function Saccade({ position }: SaccadeProps):
|
|
10
|
+
declare function Saccade({ position }: SaccadeProps): react.ReactPortal | null;
|
|
11
11
|
|
|
12
12
|
type ExportFilter = 'active' | 'all-animations' | 'all-elements';
|
|
13
13
|
type OutputDetailLevel = 'compact' | 'standard' | 'detailed' | 'forensic';
|
|
@@ -30,6 +30,8 @@ type AnimationInfo = {
|
|
|
30
30
|
resolvedVars: Record<string, string> | null;
|
|
31
31
|
conflicts: string[] | null;
|
|
32
32
|
layoutAnimation?: boolean;
|
|
33
|
+
rawKeyframes?: Keyframe[];
|
|
34
|
+
rawTiming?: EffectTiming;
|
|
33
35
|
};
|
|
34
36
|
type PropertySnapshot = {
|
|
35
37
|
property: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as react from 'react';
|
|
3
2
|
import { ReactNode } from 'react';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
type SaccadePosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
6
6
|
type SaccadeProps = {
|
|
7
7
|
/** Panel position. Default: 'bottom-left' */
|
|
8
8
|
position?: SaccadePosition;
|
|
9
9
|
};
|
|
10
|
-
declare function Saccade({ position }: SaccadeProps):
|
|
10
|
+
declare function Saccade({ position }: SaccadeProps): react.ReactPortal | null;
|
|
11
11
|
|
|
12
12
|
type ExportFilter = 'active' | 'all-animations' | 'all-elements';
|
|
13
13
|
type OutputDetailLevel = 'compact' | 'standard' | 'detailed' | 'forensic';
|
|
@@ -30,6 +30,8 @@ type AnimationInfo = {
|
|
|
30
30
|
resolvedVars: Record<string, string> | null;
|
|
31
31
|
conflicts: string[] | null;
|
|
32
32
|
layoutAnimation?: boolean;
|
|
33
|
+
rawKeyframes?: Keyframe[];
|
|
34
|
+
rawTiming?: EffectTiming;
|
|
33
35
|
};
|
|
34
36
|
type PropertySnapshot = {
|
|
35
37
|
property: string;
|