@goodhood-web/ui 1.9.0-development.4 → 1.9.0

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,4 @@
1
+ import { CheckboxInputProps } from './CheckboxInput.types';
2
+
3
+ export declare function CheckboxInput({ checked, disabled, id, label, onChange, size, }: CheckboxInputProps): import("react/jsx-runtime").JSX.Element | null;
4
+ export default CheckboxInput;
@@ -0,0 +1,12 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+
3
+ export declare enum CheckboxInputSizes {
4
+ medium = "body-large",
5
+ small = "body-semibold",
6
+ tiny = "detail-medium"
7
+ }
8
+ export interface CheckboxInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
9
+ id: string;
10
+ label: string;
11
+ size?: keyof typeof CheckboxInputSizes;
12
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "1.9.0-development.4",
3
+ "version": "1.9.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {