motion-dom 12.19.3-alpha.1 → 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -2
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -676,8 +676,10 @@ type SVGPathKeyframesDefinition = {
676
676
  [K in keyof SVGPathProperties]?: ValueKeyframesDefinition;
677
677
  };
678
678
  type DOMKeyframesDefinition = StyleKeyframesDefinition & SVGKeyframesDefinition & SVGPathKeyframesDefinition & SVGForcedAttrKeyframesDefinition & VariableKeyframesDefinition;
679
- type OnlyStringKeys<T> = Pick<T, Extract<keyof T, string>>;
680
- interface CSSStyleDeclarationWithTransform extends Omit<OnlyStringKeys<CSSStyleDeclaration>, "direction" | "transition" | "x" | "y" | "z"> {
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"> {
681
683
  x: number | string;
682
684
  y: number | string;
683
685
  z: number | string;
@@ -695,6 +697,7 @@ interface CSSStyleDeclarationWithTransform extends Omit<OnlyStringKeys<CSSStyleD
695
697
  scaleZ: number;
696
698
  skewX: number | string;
697
699
  skewY: number | string;
700
+ transformPerspective: number;
698
701
  }
699
702
  type Transition<V = any> = StyleTransitions & SVGPathTransitions & SVGForcedAttrTransitions & SVGTransitions & VariableTransitions & ValueAnimationTransition<V> & {
700
703
  default?: ValueTransition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motion-dom",
3
- "version": "12.19.3-alpha.1",
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": "411eb0f087a39d847b8095630246ad62c5d25fb5"
39
+ "gitHead": "bb68e2d2b2543357753996a6e675c27d38b34934"
40
40
  }