motion-dom 12.19.3-alpha.0 → 12.19.3-alpha.2
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/index.d.ts +7 -3
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -676,7 +676,10 @@ type SVGPathKeyframesDefinition = {
|
|
|
676
676
|
[K in keyof SVGPathProperties]?: ValueKeyframesDefinition;
|
|
677
677
|
};
|
|
678
678
|
type DOMKeyframesDefinition = StyleKeyframesDefinition & SVGKeyframesDefinition & SVGPathKeyframesDefinition & SVGForcedAttrKeyframesDefinition & VariableKeyframesDefinition;
|
|
679
|
-
|
|
679
|
+
type CSSPropertyKeys = {
|
|
680
|
+
[K in keyof CSSStyleDeclaration as K extends string ? CSSStyleDeclaration[K] extends string | number ? K : never : never]: CSSStyleDeclaration[K];
|
|
681
|
+
};
|
|
682
|
+
interface CSSStyleDeclarationWithTransform extends Omit<CSSPropertyKeys, "direction" | "transition" | "x" | "y" | "z"> {
|
|
680
683
|
x: number | string;
|
|
681
684
|
y: number | string;
|
|
682
685
|
z: number | string;
|
|
@@ -694,6 +697,7 @@ interface CSSStyleDeclarationWithTransform extends Omit<CSSStyleDeclaration, "di
|
|
|
694
697
|
scaleZ: number;
|
|
695
698
|
skewX: number | string;
|
|
696
699
|
skewY: number | string;
|
|
700
|
+
transformPerspective: number;
|
|
697
701
|
}
|
|
698
702
|
type Transition<V = any> = StyleTransitions & SVGPathTransitions & SVGForcedAttrTransitions & SVGTransitions & VariableTransitions & ValueAnimationTransition<V> & {
|
|
699
703
|
default?: ValueTransition;
|
|
@@ -2438,9 +2442,9 @@ interface MotionNodeLayoutOptions {
|
|
|
2438
2442
|
layoutCrossfade?: boolean;
|
|
2439
2443
|
}
|
|
2440
2444
|
/**
|
|
2441
|
-
* @deprecated - Use MotionNodeDragHandlers
|
|
2445
|
+
* @deprecated - Use MotionNodeDragHandlers/MotionNodeDraggableOptions
|
|
2442
2446
|
*/
|
|
2443
|
-
interface DraggableProps extends MotionNodeDragHandlers {
|
|
2447
|
+
interface DraggableProps extends MotionNodeDragHandlers, MotionNodeDraggableOptions {
|
|
2444
2448
|
}
|
|
2445
2449
|
type TransformTemplate = (transform: TransformProperties, generatedTransform: string) => string;
|
|
2446
2450
|
interface MotionNodeAdvancedOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motion-dom",
|
|
3
|
-
"version": "12.19.3-alpha.
|
|
3
|
+
"version": "12.19.3-alpha.2",
|
|
4
4
|
"author": "Matt Perry",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/motiondivision/motion",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"maxSize": "1.8 kB"
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "bb68e2d2b2543357753996a6e675c27d38b34934"
|
|
40
40
|
}
|