@plasmicpkgs/commerce 0.0.38 → 0.0.39

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.
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
2
1
  import { ComponentMeta } from "@plasmicapp/host/registerComponent";
2
+ import React from "react";
3
3
  import { Registerable } from "./registerable";
4
4
  interface CategoryMediaProps {
5
5
  className: string;
6
6
  mediaIndex?: number;
7
7
  }
8
8
  export declare const categoryMediaMeta: ComponentMeta<CategoryMediaProps>;
9
- export declare function CategoryMedia(props: CategoryMediaProps): JSX.Element;
9
+ export declare const CategoryMedia: React.ForwardRefExoticComponent<CategoryMediaProps & React.RefAttributes<HTMLImageElement>>;
10
10
  export declare function registerCategoryMedia(loader?: Registerable, customCategoryMediaMeta?: ComponentMeta<CategoryMediaProps>): void;
11
11
  export {};
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ComponentMeta } from "@plasmicapp/host/registerComponent";
2
+ import React from "react";
3
3
  import { Registerable } from "./registerable";
4
4
  interface ProductMediaProps {
5
5
  className: string;
@@ -9,6 +9,6 @@ interface ProductMediaProps {
9
9
  }) => void;
10
10
  }
11
11
  export declare const productMediaMeta: ComponentMeta<ProductMediaProps>;
12
- export declare function ProductMedia(props: ProductMediaProps): JSX.Element;
12
+ export declare const ProductMedia: React.ForwardRefExoticComponent<ProductMediaProps & React.RefAttributes<HTMLImageElement>>;
13
13
  export declare function registerProductMedia(loader?: Registerable, customProductMediaMeta?: ComponentMeta<ProductMediaProps>): void;
14
14
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/commerce",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "description": "Plasmic registration calls for commerce components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,5 +40,5 @@
40
40
  "react-hook-form": "^7.28.0",
41
41
  "swr": "^1.2.2"
42
42
  },
43
- "gitHead": "8bc0e1dfe6de8426c549165739f96d285f975d40"
43
+ "gitHead": "a3407f57f8be83b969b5fd339c02429819b7db11"
44
44
  }