@inntechcorp/it-design 2.0.42 → 2.0.44

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
@@ -638,9 +638,10 @@ declare const Card: ({ title, titleSeparator, extra, tabs, onTabChange, minWidth
638
638
 
639
639
  declare const Table: <T>({ columns, data, size, headless, bordered, dashed, noGaps }: TableProps<T>) => react_jsx_runtime.JSX.Element;
640
640
 
641
- declare const Flex: ({ gap, justify, align, vertical, wrap, stretch, style, children }: FlexProps) => react_jsx_runtime.JSX.Element;
641
+ declare const Flex: ({ gap, justify, align, vertical, wrap, stretch, style, className, children }: FlexProps) => react_jsx_runtime.JSX.Element;
642
642
 
643
- type ChildrenProps = string | JSX.Element | JSX.Element[] | null | undefined;
643
+ type Element = string | JSX.Element | undefined;
644
+ type ChildrenProps = Element | Element[] | null;
644
645
 
645
646
  type AccordionProps = {
646
647
  useLink?: boolean;
@@ -651,7 +652,7 @@ type AccordionProps = {
651
652
  iconSize?: number;
652
653
  arrowSize?: number;
653
654
  onChange?: null | ((id: string) => void);
654
- children: ChildrenProps;
655
+ children?: ChildrenProps;
655
656
  };
656
657
 
657
658
  type AccordionSubMenuProps = {
@@ -1227,6 +1228,7 @@ type FlexProps = {
1227
1228
  wrap?: boolean;
1228
1229
  stretch?: boolean;
1229
1230
  style?: CSSProperties;
1231
+ className?: string;
1230
1232
  children?: ChildrenProps$1;
1231
1233
  };
1232
1234
  type FlexGapProps = "small" | "medium" | "large" | string | number;