vrfi-design-system 1.0.74 → 1.0.75

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
@@ -75,7 +75,6 @@ import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
75
75
  import { PropsWithChildren } from 'react';
76
76
  import { QueryParams } from '../../models/QueryParams/queryParams.model';
77
77
  import { QueryParams as QueryParams_2 } from '../../../models/QueryParams/queryParams.model';
78
- import { Radio as Radio_2 } from 'antd';
79
78
  import { RadioChangeEvent } from 'antd';
80
79
  import { RadioGroupProps } from 'antd';
81
80
  import { RadioProps as RadioProps_2 } from 'antd';
@@ -507,7 +506,7 @@ export declare const Modal: default_2.FC<ModalProps>;
507
506
 
508
507
  export declare interface ModalProps extends ModalProps_2 {
509
508
  children?: default_2.ReactNode;
510
- onClose: () => void;
509
+ onClose?: () => void;
511
510
  onOK?: () => void;
512
511
  visible: boolean;
513
512
  width?: number;
@@ -544,7 +543,7 @@ export declare interface NoRecordsProps {
544
543
  headingText?: string;
545
544
  }
546
545
 
547
- declare const Notification_2: ({ message, description, type }: INotification) => unknown;
546
+ declare const Notification_2: ({ message, description, type, }: INotification) => unknown;
548
547
  export { Notification_2 as Notification }
549
548
 
550
549
  export { NotificationTypes }
@@ -641,17 +640,9 @@ export declare interface ProfileDetailProps {
641
640
 
642
641
  export { QueryParams }
643
642
 
644
- export declare const Radio: (props: CustomInputProps & RadioProps_2) => default_2.JSX.Element;
645
-
646
- declare interface RadioButtonProps {
647
- label?: string;
648
- }
649
-
650
- export declare function RadioGroup({ name, required, label, options, customOnChange, ...rest }: RadioProps_3): default_2.JSX.Element;
651
-
652
- export declare type RadioProps = RadioButtonProps & ComponentProps<typeof Radio_2.Group>;
643
+ export declare function RadioGroup({ name, required, label, options, customOnChange, ...rest }: RadioProps): default_2.JSX.Element;
653
644
 
654
- declare interface RadioProps_3 extends RadioProps_2, Pick<RadioGroupProps, 'options'> {
645
+ declare interface RadioProps extends RadioProps_2, Pick<RadioGroupProps, 'options'> {
655
646
  name: string;
656
647
  label?: string;
657
648
  required?: boolean;