@inntechcorp/it-design 2.0.269 → 2.1.0
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/alink/styled.d.ts +1 -3
- package/dist/button/styled.d.ts +1 -3
- package/dist/form/wrapper/FormWrapper.d.ts +1 -1
- package/dist/index.cjs.js +54 -54
- package/dist/index.d.ts +7 -7
- package/dist/index.esm.js +103 -103
- package/dist/input/styled.d.ts +5 -15
- package/dist/radio/group/Group.d.ts +1 -1
- package/dist/select/toggle/styled.d.ts +3 -9
- package/dist/table/index.d.ts +2 -2
- package/dist/textarea/styled.d.ts +3 -9
- package/dist/types/AccordionSubMenuProps.d.ts +1 -1
- package/dist/types/ChildrenProps.d.ts +1 -1
- package/dist/types/RadioProps.d.ts +1 -1
- package/dist/types/ResultProps.d.ts +2 -2
- package/dist/upload/styled.d.ts +1 -3
- package/package.json +43 -43
package/dist/index.d.ts
CHANGED
|
@@ -649,7 +649,7 @@ declare const Notification: {
|
|
|
649
649
|
|
|
650
650
|
declare function RadioButton({ id, name, value, type, buttonProps, checked, hasError, children, icon, image, component, onChange }: RadioButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
651
651
|
|
|
652
|
-
declare const _default$2: react__default.
|
|
652
|
+
declare const _default$2: react__default.NamedExoticComponent<RadioGroupProps$1 & react__default.RefAttributes<ITDImperativeFuncProps$1>>;
|
|
653
653
|
|
|
654
654
|
interface RadioComponent extends React.FC {
|
|
655
655
|
Group: typeof _default$2;
|
|
@@ -738,13 +738,13 @@ declare const Card: ({ title, titleSeparator, extra, tabs, onTabChange, minWidth
|
|
|
738
738
|
|
|
739
739
|
declare const Table: <T extends TableRow>(props: TableProps<T> & {
|
|
740
740
|
ref?: Ref<TableRefProps>;
|
|
741
|
-
}) =>
|
|
741
|
+
}) => react__default.ReactElement;
|
|
742
742
|
|
|
743
743
|
declare const Flex: ({ gap, justify, align, vertical, wrap, stretch, style, className, children }: FlexProps) => react_jsx_runtime.JSX.Element;
|
|
744
744
|
|
|
745
745
|
type QueryValueProps = string | number | boolean | string[] | number[];
|
|
746
746
|
|
|
747
|
-
type Element = string | number |
|
|
747
|
+
type Element = string | number | React.ReactNode | undefined;
|
|
748
748
|
type ChildrenProps = Element | Element[] | null;
|
|
749
749
|
|
|
750
750
|
type AccordionProps = {
|
|
@@ -763,7 +763,7 @@ type AccordionSubMenuProps = {
|
|
|
763
763
|
id: string;
|
|
764
764
|
link: string;
|
|
765
765
|
title: string;
|
|
766
|
-
icon?: string |
|
|
766
|
+
icon?: string | React.ReactElement;
|
|
767
767
|
isSelected?: boolean;
|
|
768
768
|
useLink?: boolean;
|
|
769
769
|
onlyOne?: boolean;
|
|
@@ -960,7 +960,7 @@ type RadioButtonProps = {
|
|
|
960
960
|
icon?: string | null;
|
|
961
961
|
image?: string | null;
|
|
962
962
|
onChange?: (value: string) => void;
|
|
963
|
-
component?: ReactElement | null;
|
|
963
|
+
component?: ReactElement<any> | null;
|
|
964
964
|
};
|
|
965
965
|
|
|
966
966
|
type SelectProps = {
|
|
@@ -1415,8 +1415,8 @@ type ResultProps = {
|
|
|
1415
1415
|
title: string;
|
|
1416
1416
|
description: string;
|
|
1417
1417
|
type?: string;
|
|
1418
|
-
extra?:
|
|
1419
|
-
footer?:
|
|
1418
|
+
extra?: React.ReactElement | null;
|
|
1419
|
+
footer?: React.ReactElement | null;
|
|
1420
1420
|
fill?: boolean;
|
|
1421
1421
|
autoCenter?: boolean;
|
|
1422
1422
|
background?: boolean;
|