@plasmicpkgs/plasmic-chakra-ui 0.0.1 → 0.0.2

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,13 +1,14 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from "@chakra-ui/react";
2
3
  import { ComponentMeta } from "@plasmicapp/host/registerComponent";
3
4
  import { Registerable } from "./registerable";
4
5
  export declare const selectMeta: ComponentMeta<SelectProps>;
5
6
  export declare function registerSelect(loader?: Registerable, customSelectMeta?: ComponentMeta<SelectProps>): void;
6
- interface OptionProps {
7
+ export interface OptionProps {
7
8
  value: string;
8
9
  className?: string;
9
10
  children: any;
10
11
  }
12
+ export declare function Option(props: OptionProps): JSX.Element;
11
13
  export declare const optionMeta: ComponentMeta<OptionProps>;
12
14
  export declare function registerOption(loader?: Registerable, customOptionMeta?: ComponentMeta<OptionProps>): void;
13
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/plasmic-chakra-ui",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
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": "79229294f39acd90386b96d28306e25e320921b4"
51
+ "gitHead": "cfd0d5f9e9a8b06ebaeaf58966eb8bf8bcb2d7c9"
52
52
  }
package/dist/option.d.ts DELETED
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- import { HTMLChakraProps } from "@chakra-ui/system";
3
- export declare function Option({ value, className, children, }: {
4
- value: string;
5
- className?: string;
6
- children: any;
7
- }): JSX.Element;
8
- interface RootProps extends Omit<HTMLChakraProps<"div">, "color"> {
9
- }
10
- export interface OptionProps {
11
- /**
12
- * Props to forward to the root `div` element
13
- */
14
- rootProps?: RootProps;
15
- }
16
- export {};