@binamik/components 0.2.8 → 0.2.9

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.
@@ -3,3 +3,8 @@ export declare const localeMap: {
3
3
  'en-US': any;
4
4
  'es-ES': any;
5
5
  };
6
+ export declare const clearLabelMap: {
7
+ 'pt-BR': string;
8
+ 'en-US': string;
9
+ 'es-ES': string;
10
+ };
@@ -1,2 +1,2 @@
1
1
  import { DatePickerProps } from './DatePicker.types';
2
- export declare function DatePicker({ onChange, onBlur, value, mode, locale, placeholder, maxDate, minDate, startMonth, customBtnClassName, disabled }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function DatePicker({ onChange, onClear, onBlur, value, mode, locale, placeholder, maxDate, minDate, startMonth, customBtnClassName, disabled }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,7 @@ import { DateRange } from 'react-day-picker';
2
2
  export declare type DatePickerValue = Date | DateRange | undefined;
3
3
  export interface DatePickerProps {
4
4
  onChange?: (value: DatePickerValue) => void;
5
+ onClear?: () => void;
5
6
  locale?: 'pt-BR' | 'en-US' | 'es-ES';
6
7
  placeholder?: string;
7
8
  maxDate?: DatePickerValue;