motion-dom 12.19.3-alpha.0 → 12.19.3-alpha.1

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 +4 -3
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -676,7 +676,8 @@ type SVGPathKeyframesDefinition = {
676
676
  [K in keyof SVGPathProperties]?: ValueKeyframesDefinition;
677
677
  };
678
678
  type DOMKeyframesDefinition = StyleKeyframesDefinition & SVGKeyframesDefinition & SVGPathKeyframesDefinition & SVGForcedAttrKeyframesDefinition & VariableKeyframesDefinition;
679
- interface CSSStyleDeclarationWithTransform extends Omit<CSSStyleDeclaration, "direction" | "transition" | "x" | "y" | "z"> {
679
+ type OnlyStringKeys<T> = Pick<T, Extract<keyof T, string>>;
680
+ interface CSSStyleDeclarationWithTransform extends Omit<OnlyStringKeys<CSSStyleDeclaration>, "direction" | "transition" | "x" | "y" | "z"> {
680
681
  x: number | string;
681
682
  y: number | string;
682
683
  z: number | string;
@@ -2438,9 +2439,9 @@ interface MotionNodeLayoutOptions {
2438
2439
  layoutCrossfade?: boolean;
2439
2440
  }
2440
2441
  /**
2441
- * @deprecated - Use MotionNodeDragHandlers
2442
+ * @deprecated - Use MotionNodeDragHandlers/MotionNodeDraggableOptions
2442
2443
  */
2443
- interface DraggableProps extends MotionNodeDragHandlers {
2444
+ interface DraggableProps extends MotionNodeDragHandlers, MotionNodeDraggableOptions {
2444
2445
  }
2445
2446
  type TransformTemplate = (transform: TransformProperties, generatedTransform: string) => string;
2446
2447
  interface MotionNodeAdvancedOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motion-dom",
3
- "version": "12.19.3-alpha.0",
3
+ "version": "12.19.3-alpha.1",
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": "36401b617157a267f5dae0385d2385c73f3d00ba"
39
+ "gitHead": "411eb0f087a39d847b8095630246ad62c5d25fb5"
40
40
  }