@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/README.md +1 -1
- package/dist/flex/index.d.ts +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.d.ts +5 -3
- package/dist/index.esm.js +2 -2
- package/dist/types/AccordionProps.d.ts +1 -1
- package/dist/types/ChildrenProps.d.ts +3 -1
- package/dist/types/FlexProps.d.ts +1 -0
- package/dist/upload/styled.d.ts +1 -2
- package/dist/utils/GetSizeBySizeSlug.d.ts +1 -1
- package/package.json +2 -2
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
|
|
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
|
|
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;
|