@plasmicpkgs/plasmic-chakra-ui 0.0.2 → 0.0.4

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.
@@ -0,0 +1,5 @@
1
+ import { ChakraProviderProps } from "@chakra-ui/react";
2
+ import { GlobalContextMeta } from "@plasmicapp/host";
3
+ import { Registerable } from "./registerable";
4
+ export declare const chakraProviderMeta: GlobalContextMeta<ChakraProviderProps>;
5
+ export declare function registerChakraProvider(loader?: Registerable, customChakraProviderMeta?: GlobalContextMeta<ChakraProviderProps>): void;
@@ -1,4 +1,6 @@
1
1
  import registerComponent from "@plasmicapp/host/registerComponent";
2
+ import registerGlobalContext from "@plasmicapp/host/registerGlobalContext";
2
3
  export declare type Registerable = {
3
4
  registerComponent: typeof registerComponent;
5
+ registerGlobalContext: typeof registerGlobalContext;
4
6
  };
@@ -0,0 +1,13 @@
1
+ export declare const CHAKRA_UI_IMPORT_PATH = "@chakra-ui/react";
2
+ export declare const getPlasmicComponentName: (componentName: string) => string;
3
+ export declare const getDisplayComponentName: (componentName: string) => string;
4
+ export declare const getComponentNameAndImportMeta: (componentName: string, parentComponentName?: string | undefined, opts?: {
5
+ displayName?: string | undefined;
6
+ importPath?: string | undefined;
7
+ } | undefined) => {
8
+ parentComponentName?: string;
9
+ name: string;
10
+ displayName: string;
11
+ importPath: string;
12
+ importName: string;
13
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/plasmic-chakra-ui",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Plasmic registration calls for chakra ui components.",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -48,5 +48,5 @@
48
48
  "@plasmicapp/host": "1.0.76",
49
49
  "react": ">=16.8.0"
50
50
  },
51
- "gitHead": "cfd0d5f9e9a8b06ebaeaf58966eb8bf8bcb2d7c9"
51
+ "gitHead": "31561357f22a2033cb00454d1926fc2de8c1d2d0"
52
52
  }