@groupeactual/ui-kit 1.3.1 → 1.3.2

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,4 +1,5 @@
1
1
  import { DatePickerProps } from '@mui/x-date-pickers-pro';
2
+ import 'dayjs/locale/fr';
2
3
  interface Props<T> extends Omit<DatePickerProps<T>, 'onChange' | 'width'> {
3
4
  value: T;
4
5
  onChange: (value: T | null) => void;
@@ -6,6 +7,7 @@ interface Props<T> extends Omit<DatePickerProps<T>, 'onChange' | 'width'> {
6
7
  success?: boolean;
7
8
  helperText?: string;
8
9
  width?: string;
10
+ locale?: 'fr' | 'en';
9
11
  }
10
- declare const DatePicker: <T extends {}>({ value, onChange, error, success, helperText, width, ...props }: Props<T>) => import("react/jsx-runtime").JSX.Element;
12
+ declare const DatePicker: <T extends {}>({ value, onChange, error, success, helperText, width, locale, ...props }: Props<T>) => import("react/jsx-runtime").JSX.Element;
11
13
  export default DatePicker;
@@ -325,8 +325,9 @@ interface Props$3<T> extends Omit<DatePickerProps<T>, 'onChange' | 'width'> {
325
325
  success?: boolean;
326
326
  helperText?: string;
327
327
  width?: string;
328
+ locale?: 'fr' | 'en';
328
329
  }
329
- declare const DatePicker: <T extends {}>({ value, onChange, error, success, helperText, width, ...props }: Props$3<T>) => react_jsx_runtime.JSX.Element;
330
+ declare const DatePicker: <T extends {}>({ value, onChange, error, success, helperText, width, locale, ...props }: Props$3<T>) => react_jsx_runtime.JSX.Element;
330
331
 
331
332
  type Order = 'asc' | 'desc';
332
333
  interface SortInfo {