@seeqdev/qomponents 0.0.7 → 0.0.8

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.
@@ -4,7 +4,7 @@ import { InputGroupPlacement } from '../types';
4
4
  export type Option = {
5
5
  label: string;
6
6
  value: string | number;
7
- };
7
+ } | any;
8
8
  export type GroupedOption = {
9
9
  label: string;
10
10
  options: Option[];
@@ -1,4 +1,4 @@
1
- import { FormControlElement } from '../types';
1
+ type FormControlElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
2
2
  export interface TextAreaProps {
3
3
  /** extra class names to be placed on the TextArea component */
4
4
  extraClassNames?: string;
@@ -25,3 +25,4 @@ export interface TextAreaProps {
25
25
  /** value of the TextArea */
26
26
  value?: string | string[] | number;
27
27
  }
28
+ export {};
@@ -1,4 +1,5 @@
1
- import { FormControlElement, InputGroupPlacement } from '../types';
1
+ import { InputGroupPlacement } from '../types';
2
+ type FormControlElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
2
3
  export interface TextFieldProps {
3
4
  readonly?: boolean;
4
5
  onChange?: React.ChangeEventHandler<FormControlElement>;
@@ -15,3 +16,4 @@ export interface TextFieldProps {
15
16
  inputGroup?: InputGroupPlacement;
16
17
  step?: number | string;
17
18
  }
19
+ export {};
package/dist/types.d.ts CHANGED
@@ -1,2 +1 @@
1
1
  export type InputGroupPlacement = 'left' | 'right' | undefined;
2
- export type FormControlElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seeqdev/qomponents",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.js",