@inntechcorp/it-design 2.0.241 → 2.0.243

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
@@ -8,6 +8,8 @@ import { SelectValue as SelectValue$1 } from 'types/SelectProps';
8
8
  import { ModalState as ModalState$1, FormValidationTypes as FormValidationTypes$1 } from 'enums/enum';
9
9
  import moment$1 from 'moment';
10
10
  import { ModalProps as ModalProps$1 } from 'types/ModalProps';
11
+ import { RadioButtonProps, RadioGroupProps } from 'types/RadioProps';
12
+ import { ITDImperativeFuncProps as ITDImperativeFuncProps$1 } from 'types/ITDImperativeFuncProps';
11
13
  import { ResultProps as ResultProps$1 } from 'types/ResultProps';
12
14
 
13
15
  type ITDContextType = {
@@ -640,15 +642,15 @@ declare const Notification: {
640
642
  useNotifications: () => NotificationContextType;
641
643
  };
642
644
 
643
- declare const _default$2: react__default.MemoExoticComponent<react__default.ForwardRefExoticComponent<react__default.RefAttributes<any>>>;
645
+ declare function Button$1({ id, name, value, type, checked, hasError, children, icon, image, component, onChange }: RadioButtonProps): react_jsx_runtime.JSX.Element;
644
646
 
645
- declare function Button$1(props: any): react_jsx_runtime.JSX.Element;
647
+ declare const _default$2: react__default.MemoExoticComponent<react__default.ForwardRefExoticComponent<RadioGroupProps & react__default.RefAttributes<ITDImperativeFuncProps$1>>>;
646
648
 
647
- declare function Radio(): null;
648
- declare namespace Radio {
649
- export { _default$2 as Group };
650
- export { Button$1 as Button };
649
+ interface RadioComponent extends React.FC {
650
+ Group: typeof _default$2;
651
+ Button: typeof Button$1;
651
652
  }
653
+ declare const Radio: RadioComponent;
652
654
 
653
655
  declare const _default$1: react__default.MemoExoticComponent<({ value, checked, single, onChange, children }: {
654
656
  value?: string | undefined;
@@ -1319,6 +1321,7 @@ type ModalRefProps = {
1319
1321
  };
1320
1322
 
1321
1323
  type UploadProps = {
1324
+ id?: string;
1322
1325
  action?: string;
1323
1326
  filePath?: string | null;
1324
1327
  removeAction?: string;