@datability/8ui 1.1.1 → 1.1.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,5 +1,7 @@
1
+ import { Control } from 'react-hook-form';
1
2
  import { TOption } from '../..';
2
3
  export type PropsInputAutoComplete = {
4
+ control: Control<any>;
3
5
  name: string;
4
6
  label?: string;
5
7
  placeholder?: string;
@@ -1,4 +1,6 @@
1
+ import { Control } from 'react-hook-form';
1
2
  export type PropsInputBasic = {
3
+ control: Control<any>;
2
4
  name: string;
3
5
  label?: string;
4
6
  placeholder?: string;
@@ -1,4 +1,6 @@
1
+ import { Control } from 'react-hook-form';
1
2
  export type PropsInputCheckbox = {
3
+ control: Control<any>;
2
4
  name: string;
3
5
  label?: string;
4
6
  disabled?: boolean;
@@ -1,4 +1,6 @@
1
+ import { Control } from 'react-hook-form';
1
2
  export type PropsInputDate = {
3
+ control: Control<any>;
2
4
  name: string;
3
5
  label?: string;
4
6
  placeholder?: string;
@@ -1,4 +1,6 @@
1
+ import { Control } from 'react-hook-form';
1
2
  export type PropsInputDateRange = {
3
+ control: Control<any>;
2
4
  name: string;
3
5
  label?: string;
4
6
  placeholder?: string;
@@ -1,4 +1,6 @@
1
+ import { Control } from 'react-hook-form';
1
2
  export type PropsInputDateTime = {
3
+ control: Control<any>;
2
4
  name: string;
3
5
  label?: string;
4
6
  placeholder?: string;
@@ -1,4 +1,6 @@
1
+ import { Control } from 'react-hook-form';
1
2
  export type PropsInputNumber = {
3
+ control: Control<any>;
2
4
  name: string;
3
5
  label?: string;
4
6
  placeholder?: string;
@@ -1,4 +1,6 @@
1
+ import { Control } from 'react-hook-form';
1
2
  export type PropsInputPassword = {
3
+ control: Control<any>;
2
4
  name: string;
3
5
  label?: string;
4
6
  placeholder?: string;
@@ -1,4 +1,6 @@
1
+ import { Control } from 'react-hook-form';
1
2
  export type PropsInputRadio = {
3
+ control: Control<any>;
2
4
  name: string;
3
5
  label?: string;
4
6
  disabled?: boolean;
@@ -1,5 +1,7 @@
1
+ import { Control } from 'react-hook-form';
1
2
  import { TOption, TValueOption } from '../..';
2
3
  export type PropsInputSelect = {
4
+ control: Control<any>;
3
5
  name: string;
4
6
  label?: string;
5
7
  placeholder?: string;
@@ -1,4 +1,6 @@
1
+ import { Control } from 'react-hook-form';
1
2
  export type PropsInputSwitch = {
3
+ control: Control<any>;
2
4
  name: string;
3
5
  disabled?: boolean;
4
6
  };
@@ -1,4 +1,6 @@
1
+ import { Control } from 'react-hook-form';
1
2
  export type PropsInputTextarea = {
3
+ control: Control<any>;
2
4
  name: string;
3
5
  label?: string;
4
6
  placeholder?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datability/8ui",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {