@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/checkbox/styled.d.ts +1 -0
- package/dist/context/ITDContext.d.ts +2 -1
- package/dist/context/styled.d.ts +3 -0
- package/dist/enums/enum.d.ts +1 -1
- package/dist/index.cjs.css +5 -0
- package/dist/index.cjs.js +51 -51
- package/dist/index.d.ts +10 -4
- package/dist/index.esm.css +5 -0
- package/dist/index.esm.js +36 -36
- package/dist/output-IEkM2RRB.css +286 -0
- package/dist/output-LWZ75260.css +286 -0
- package/dist/select/style.settings.d.ts +17 -8
- package/dist/select/toggle/Toggle.d.ts +1 -1
- package/dist/select/toggle/label/single/SingleLabel.d.ts +12 -3
- package/dist/select/toggle/label/single/styled.d.ts +3 -4
- package/dist/stories/root/index.d.ts +1 -1
- package/dist/types/SelectProps.d.ts +7 -2
- package/package.json +2 -1
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
|
|
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
|
|
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
|
|
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 = ".
|
|
1288
|
+
JPG = ".jpg",
|
|
1283
1289
|
GIF = ".gif",
|
|
1284
1290
|
PDF = ".pdf",
|
|
1285
1291
|
OTF = ".otf"
|