motion-v 0.11.0-beta.2 → 0.11.0-beta.3

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.
@@ -4,8 +4,10 @@ type ComponentProps<T> = T extends DefineComponent<ExtractPropTypes<infer Props>
4
4
  type MotionComponentProps = {
5
5
  create: <T extends DefineComponent>(T: any) => DefineComponent<MotionProps<any, unknown> & ComponentProps<T>>;
6
6
  };
7
- interface MotionNameSpace extends Record<keyof IntrinsicElementAttributes, DefineComponent<MotionProps<keyof IntrinsicElementAttributes, unknown>>> {
7
+ type MotionNameSpace = {
8
+ [K in keyof IntrinsicElementAttributes]: DefineComponent<MotionProps<K, unknown>>;
9
+ } & {
8
10
  create: MotionComponentProps['create'];
9
- }
11
+ };
10
12
  export declare const motion: MotionNameSpace;
11
13
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motion-v",
3
- "version": "0.11.0-beta.2",
3
+ "version": "0.11.0-beta.3",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "MIT",