@inntechcorp/it-design 2.0.73 → 2.0.76

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
@@ -20,7 +20,8 @@ type ITDContextType = {
20
20
  changeLanguage: (value: string) => void;
21
21
  };
22
22
  type ITDProviderProps = {
23
- theme: string;
23
+ theme?: string;
24
+ language?: string;
24
25
  children: ChildrenProps$1;
25
26
  };
26
27
  declare const ITDContext: react.Context<ITDContextType>;
@@ -746,7 +747,7 @@ type SelectProps = {
746
747
  id?: string;
747
748
  defaultValue?: string | number;
748
749
  value?: string | number;
749
- label?: string | number;
750
+ label?: string;
750
751
  position?: string;
751
752
  direction?: string;
752
753
  mode?: string;
@@ -757,6 +758,7 @@ type SelectProps = {
757
758
  icon?: string;
758
759
  image?: string;
759
760
  disabled?: boolean;
761
+ showSearch?: boolean;
760
762
  locked?: boolean;
761
763
  floating?: boolean;
762
764
  children?: ReactElement<SelectOptionProps> | Array<ReactElement<SelectOptionProps>> | ChildrenProps;
@@ -765,17 +767,21 @@ type SelectProps = {
765
767
  };
766
768
  type SelectToggleProps = {
767
769
  id?: string;
768
- label: string | number | [];
770
+ label: string;
769
771
  value: string | number | [];
770
772
  errorMessage: string;
771
773
  isOpen: boolean;
774
+ showSearch: boolean;
772
775
  locked: boolean;
776
+ disabled: boolean;
773
777
  labelType: string;
774
778
  placeholder: string;
775
779
  icon: string;
776
780
  image: string;
777
781
  size: ITDSize;
778
782
  selected: SelectOptionProps;
783
+ onFocus: () => void;
784
+ onBlur: () => void;
779
785
  onChange: (open: boolean) => void;
780
786
  };
781
787
  type SelectVariant = "default" | "solid" | "filled" | "outline" | "custom";
@@ -1279,7 +1285,7 @@ declare enum FileTypes {
1279
1285
  declare enum FileExtensions {
1280
1286
  SVG = ".svg",
1281
1287
  PNG = ".png",
1282
- JPG = ".jpeg",
1288
+ JPG = ".jpg",
1283
1289
  GIF = ".gif",
1284
1290
  PDF = ".pdf",
1285
1291
  OTF = ".otf"
@@ -0,0 +1,5 @@
1
+
2
+
3
+
4
+
5
+