@inntechcorp/it-design 2.0.127 → 2.0.129
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.
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import react__default, { MutableRefObject, RefObject, Context, ReactNode, Forwar
|
|
|
4
4
|
import { ChildrenProps as ChildrenProps$1 } from 'types/ChildrenProps';
|
|
5
5
|
import { IStyledComponent } from 'styled-components';
|
|
6
6
|
import { Cancel, AxiosProgressEvent } from 'axios';
|
|
7
|
+
import { SelectValue as SelectValue$1 } from 'types/SelectProps';
|
|
7
8
|
import { ModalState as ModalState$1, FormValidationTypes } from 'enums/enum';
|
|
8
9
|
import moment$1 from 'moment';
|
|
9
10
|
import { ModalProps as ModalProps$1 } from 'types/ModalProps';
|
|
@@ -345,16 +346,15 @@ type IconProps = {
|
|
|
345
346
|
declare const NoData: ({ className, height, width }: IconProps) => react_jsx_runtime.JSX.Element;
|
|
346
347
|
|
|
347
348
|
type OptionsRefProps = {
|
|
348
|
-
getValue: () =>
|
|
349
|
+
getValue: () => SelectValue$1;
|
|
349
350
|
};
|
|
350
351
|
type OptionsProps = {
|
|
351
352
|
icon?: string;
|
|
352
353
|
image?: string;
|
|
353
|
-
value?:
|
|
354
|
-
|
|
354
|
+
value?: SelectValue$1;
|
|
355
|
+
multi?: boolean;
|
|
355
356
|
checked?: false;
|
|
356
|
-
|
|
357
|
-
onChange?: (value: string, checked: boolean, children: ChildrenProps$1) => null;
|
|
357
|
+
onChange?: (value: SelectValue$1, checked: boolean, children: ChildrenProps$1) => null;
|
|
358
358
|
children?: ChildrenProps$1;
|
|
359
359
|
};
|
|
360
360
|
declare const _default$3: react.MemoExoticComponent<react.ForwardRefExoticComponent<OptionsProps & react.RefAttributes<OptionsRefProps>>>;
|
|
@@ -820,7 +820,7 @@ type SelectProps = {
|
|
|
820
820
|
label?: string;
|
|
821
821
|
position?: SelectPosition;
|
|
822
822
|
direction?: SelectDirection;
|
|
823
|
-
|
|
823
|
+
multi?: boolean;
|
|
824
824
|
size?: ITDSize;
|
|
825
825
|
variant?: SelectVariant;
|
|
826
826
|
className?: string;
|
|
@@ -839,7 +839,7 @@ type SelectProps = {
|
|
|
839
839
|
type SelectToggleProps = {
|
|
840
840
|
id?: string;
|
|
841
841
|
label: string;
|
|
842
|
-
value
|
|
842
|
+
value?: SelectValue;
|
|
843
843
|
errorMessage: string;
|
|
844
844
|
isOpen: boolean;
|
|
845
845
|
showSearch: boolean;
|