ui-mathilde-web 0.1.14 → 0.1.16

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.
@@ -83,9 +83,14 @@ export declare const DatePicker: ({ minDate, maxDate, }: {
83
83
  export declare const DateRangePicker: React.FC<DateRangePickerProps>;
84
84
 
85
85
  declare interface DateRangePickerProps {
86
+ value?: {
87
+ startDate: Date;
88
+ endDate: Date;
89
+ };
86
90
  onChange?: (start: Date, end: Date) => void;
87
91
  minData?: Date;
88
92
  maxData?: Date;
93
+ quickRanges?: QuickRange[];
89
94
  }
90
95
 
91
96
  export declare const Dropzone: React.FC<DropzoneProps>;
@@ -187,6 +192,14 @@ export declare const ProgressBar: ({ start, end, current, }: {
187
192
  current: number;
188
193
  }) => JSX_2.Element;
189
194
 
195
+ declare interface QuickRange {
196
+ label: string;
197
+ range: () => {
198
+ startDate: Date;
199
+ endDate: Date;
200
+ };
201
+ }
202
+
190
203
  export declare const SelectForm: ForwardRefExoticComponent<SelectFormProps & RefAttributes<HTMLSelectElement>>;
191
204
 
192
205
  declare interface SelectFormProps extends React.SelectHTMLAttributes<HTMLSelectElement> {