@inntechcorp/it-design 2.0.42 → 2.0.43

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.
@@ -8,5 +8,5 @@ export type AccordionProps = {
8
8
  iconSize?: number;
9
9
  arrowSize?: number;
10
10
  onChange?: null | ((id: string) => void);
11
- children: ChildrenProps;
11
+ children?: ChildrenProps;
12
12
  };
@@ -1,2 +1,4 @@
1
1
  /// <reference types="react" />
2
- export type ChildrenProps = string | JSX.Element | JSX.Element[] | null | undefined;
2
+ type Element = string | JSX.Element | undefined;
3
+ export type ChildrenProps = Element | Element[] | null;
4
+ export {};
@@ -8,6 +8,7 @@ export type FlexProps = {
8
8
  wrap?: boolean;
9
9
  stretch?: boolean;
10
10
  style?: CSSProperties;
11
+ className?: string;
11
12
  children?: ChildrenProps;
12
13
  };
13
14
  export type FlexGapProps = "small" | "medium" | "large" | string | number;
@@ -10,7 +10,6 @@ declare const Label: import("styled-components/dist/types").IStyledComponentBase
10
10
  $showFocus: boolean;
11
11
  }>> & string;
12
12
  declare const IconsWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
13
- declare const Icons: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
14
13
  declare const CenterContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
15
14
  $width: number | string;
16
15
  $height: number | string;
@@ -37,4 +36,4 @@ declare const Failed: import("styled-components/dist/types").IStyledComponentBas
37
36
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
38
37
  }, never>> & string;
39
38
  declare const ErrorTooltip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
40
- export { Wrapper, FileContent, IconsWrapper, Icons, Label, CenterContent, Overlay, OverlayContent, Uploading, UploadStatusBox, ErrorBorder, ErrorTooltip, Failed };
39
+ export { Wrapper, FileContent, IconsWrapper, Label, CenterContent, Overlay, OverlayContent, Uploading, UploadStatusBox, ErrorBorder, ErrorTooltip, Failed };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "2.0.42",
3
+ "version": "2.0.43",
4
4
  "description": "All in one Design library for desktop applications.",
5
- "author": "Ali",
5
+ "author": "Inn.Tech",
6
6
  "license": "ISC",
7
7
  "main": "dist/index.cjs.js",
8
8
  "module": "dist/index.esm.js",