@plasmicapp/loader-react 1.0.51 → 1.0.52

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/loader.d.ts CHANGED
@@ -109,6 +109,7 @@ export declare class PlasmicComponentLoader {
109
109
  */
110
110
  registerComponent<T extends React.ComponentType<any>>(component: T, name: ComponentLookupSpec): void;
111
111
  private warnedRegisterComponent;
112
+ registerContext<T extends React.ComponentType<any>>(context: T, meta: ContextMeta<React.ComponentProps<T>>): void;
112
113
  /**
113
114
  * Pre-fetches component data needed to for PlasmicLoader to render
114
115
  * these components. Should be passed into PlasmicRootProvider as
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/loader-react",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "module": "dist/loader-react.esm.js",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -21,9 +21,9 @@
21
21
  "analyze": "size-limit --why"
22
22
  },
23
23
  "dependencies": {
24
- "@plasmicapp/host": "0.0.50",
25
- "@plasmicapp/loader-core": "1.0.40",
26
- "@plasmicapp/query": "0.1.8",
24
+ "@plasmicapp/host": "1.0.0",
25
+ "@plasmicapp/loader-core": "1.0.41",
26
+ "@plasmicapp/query": "0.1.9",
27
27
  "pascalcase": "^1.0.0",
28
28
  "react-is": "^17.0.2",
29
29
  "react-ssr-prepass": "^1.4.0"