@inntechcorp/it-design 2.0.256 → 2.0.257

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
@@ -929,7 +929,7 @@ type SelectProps = {
929
929
  };
930
930
  type SelectToggleProps = {
931
931
  id?: string;
932
- label?: string | number;
932
+ label?: string | number | ChildrenProps;
933
933
  value?: SelectValue | null;
934
934
  errorMessage: string;
935
935
  multi: boolean;
@@ -950,7 +950,7 @@ type SelectToggleProps = {
950
950
  onChange: (open: boolean) => void;
951
951
  };
952
952
  type SelectOptionProps = {
953
- label: string | number;
953
+ label: string | number | ChildrenProps;
954
954
  value: SelectValue;
955
955
  icon?: ChildrenProps;
956
956
  image?: string;
@@ -1,11 +1,12 @@
1
1
  import { SelectValue } from 'types/SelectProps';
2
+ import { ChildrenProps } from 'types/ChildrenProps';
2
3
  export type SingleLabelRefObject = {
3
4
  setFocus: () => void;
4
5
  };
5
6
  type SingleLabelProps = {
6
7
  id?: string;
7
8
  value?: SelectValue | null;
8
- label?: string | number;
9
+ label?: string | number | ChildrenProps;
9
10
  placeholder?: string;
10
11
  size: string;
11
12
  isOpen: boolean;
@@ -27,7 +27,7 @@ export type SelectProps = {
27
27
  };
28
28
  export type SelectToggleProps = {
29
29
  id?: string;
30
- label?: string | number;
30
+ label?: string | number | ChildrenProps;
31
31
  value?: SelectValue | null;
32
32
  errorMessage: string;
33
33
  multi: boolean;
@@ -48,7 +48,7 @@ export type SelectToggleProps = {
48
48
  onChange: (open: boolean) => void;
49
49
  };
50
50
  export type SelectOptionProps = {
51
- label: string | number;
51
+ label: string | number | ChildrenProps;
52
52
  value: SelectValue;
53
53
  icon?: ChildrenProps;
54
54
  image?: string;
@@ -1,2 +1,2 @@
1
1
  import { ITDSizeSlug } from "../index";
2
- export default function GetSizeBySizeSlug(size: ITDSizeSlug): "x-small" | "small" | "medium" | "default" | "large" | "x-large" | "df";
2
+ export default function GetSizeBySizeSlug(size: ITDSizeSlug): "large" | "small" | "x-small" | "medium" | "default" | "x-large" | "df";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "2.0.256",
3
+ "version": "2.0.257",
4
4
  "description": "All in one Design library for web applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",