@ofgdev/ui-components 1.2.15 → 1.2.17

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.
@@ -1,12 +1,13 @@
1
+ import { default as React } from 'react';
1
2
  interface CalendarProps {
2
- className?: string;
3
- show?: boolean;
3
+ value?: string;
4
+ onChange?: (date: string) => void;
4
5
  minDate?: string;
5
6
  maxDate?: string;
6
7
  disabledDates?: string[];
7
- value?: string;
8
- onChange?: (date: string) => void;
9
- onError?: (error: string | false) => void;
8
+ show?: boolean;
9
+ className?: string;
10
+ yearRange?: [number, number];
10
11
  }
11
- export declare const Calendar: ({ className, show, minDate, maxDate, disabledDates, value, onChange, onError, }: CalendarProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const Calendar: React.FC<CalendarProps>;
12
13
  export {};
@@ -22,5 +22,5 @@ interface ModalProps {
22
22
  secondaryButtonVariant?: "primary" | "secondary" | "ghost-primary" | "ghost-secondary" | "ghost-tertiary" | "danger";
23
23
  size?: "sm" | "md" | "lg";
24
24
  }
25
- export declare const Modal: import('react').ForwardRefExoticComponent<ModalProps & import('react').RefAttributes<HTMLDivElement>>;
25
+ export declare const Modal: ({ className, bodyClassName, primaryButtonText, secondaryButtonText, onPrimaryButtonClick, onSecondaryButtonClick, secondaryButtonClassName, primaryButtonClassName, primaryButtonIsLoading, secondaryButtonIsLoading, children, title, titleClassName, isOpen, primaryButtonLoadingMessage, secondaryButtonLoadingMessage, onClose, size, showHeader, showFooter, primaryButtonVariant, secondaryButtonVariant, ...props }: ModalProps) => import("react/jsx-runtime").JSX.Element;
26
26
  export default Modal;