@inntechcorp/it-design 2.0.268 → 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/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.MemoExoticComponent<react__default.ForwardRefExoticComponent<RadioGroupProps$1 & react__default.RefAttributes<ITDImperativeFuncProps$1>>>;
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
- }) => JSX.Element;
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 | JSX.Element | undefined;
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 | JSX.Element;
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?: JSX.Element | null;
1419
- footer?: JSX.Element | null;
1418
+ extra?: React.ReactElement | null;
1419
+ footer?: React.ReactElement | null;
1420
1420
  fill?: boolean;
1421
1421
  autoCenter?: boolean;
1422
1422
  background?: boolean;