@inntechcorp/it-design 2.0.255 → 2.0.256
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.cjs.js +2 -2
- package/dist/index.d.ts +5 -3
- package/dist/index.esm.js +17 -17
- package/dist/select/toggle/Toggle.d.ts +1 -1
- package/dist/select/toggle/label/single/SingleLabel.d.ts +1 -2
- package/dist/types/SelectProps.d.ts +5 -3
- package/dist/utils/GetSizeBySizeSlug.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -907,7 +907,7 @@ type SelectProps = {
|
|
|
907
907
|
id?: string;
|
|
908
908
|
defaultValue?: SelectValue;
|
|
909
909
|
value?: SelectValue;
|
|
910
|
-
label?:
|
|
910
|
+
label?: string | number;
|
|
911
911
|
position?: SelectPosition;
|
|
912
912
|
direction?: SelectDirection;
|
|
913
913
|
multi?: boolean;
|
|
@@ -915,6 +915,7 @@ type SelectProps = {
|
|
|
915
915
|
variant?: SelectVariant;
|
|
916
916
|
className?: string;
|
|
917
917
|
placeholder?: string;
|
|
918
|
+
prefix?: ChildrenProps;
|
|
918
919
|
icon?: string;
|
|
919
920
|
image?: string;
|
|
920
921
|
disabled?: boolean;
|
|
@@ -928,7 +929,7 @@ type SelectProps = {
|
|
|
928
929
|
};
|
|
929
930
|
type SelectToggleProps = {
|
|
930
931
|
id?: string;
|
|
931
|
-
label?:
|
|
932
|
+
label?: string | number;
|
|
932
933
|
value?: SelectValue | null;
|
|
933
934
|
errorMessage: string;
|
|
934
935
|
multi: boolean;
|
|
@@ -939,6 +940,7 @@ type SelectToggleProps = {
|
|
|
939
940
|
labelType: string;
|
|
940
941
|
placeholder: string;
|
|
941
942
|
icon?: string;
|
|
943
|
+
prefix?: ChildrenProps;
|
|
942
944
|
image?: string;
|
|
943
945
|
size: ITDSize;
|
|
944
946
|
onFocus: () => void;
|
|
@@ -948,7 +950,7 @@ type SelectToggleProps = {
|
|
|
948
950
|
onChange: (open: boolean) => void;
|
|
949
951
|
};
|
|
950
952
|
type SelectOptionProps = {
|
|
951
|
-
label:
|
|
953
|
+
label: string | number;
|
|
952
954
|
value: SelectValue;
|
|
953
955
|
icon?: ChildrenProps;
|
|
954
956
|
image?: string;
|