@up42/up-components 4.1.0 → 4.2.0
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/cjs/index.js +2 -2
- package/dist/cjs/types/components/FormDatePickers/FormDateRangePickerList/FormDateRangePickerList.d.ts +6 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/components/FormDatePickers/FormDateRangePickerList/FormDateRangePickerList.d.ts +6 -2
- package/dist/index.d.ts +7 -90
- package/package.json +14 -18
|
@@ -12,6 +12,10 @@ export type FormDateRangePickerListProps = {
|
|
|
12
12
|
value: DateRange[];
|
|
13
13
|
onChange?: (value: DateRange[]) => void;
|
|
14
14
|
disabled?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Defines whether or not the user can input values and navigate in the calendars using the keyboard.
|
|
17
|
+
*/
|
|
18
|
+
allowKeyboard?: boolean;
|
|
15
19
|
/**
|
|
16
20
|
* Defines the minimum number of days after the "start date" that the "end date" can be selected.
|
|
17
21
|
*/
|
|
@@ -20,8 +24,8 @@ export type FormDateRangePickerListProps = {
|
|
|
20
24
|
* Defines the maximum number of days after the "start date" that the "end date" can be selected.
|
|
21
25
|
*/
|
|
22
26
|
maxEndDateOffset?: number;
|
|
23
|
-
} & DatePickerWrapperProps & Omit<DateRangePickerProps<DatePickerDateType | Date>, 'value'>;
|
|
27
|
+
} & DatePickerWrapperProps & Omit<DateRangePickerProps<DatePickerDateType | Date>, 'value' | 'onChange'>;
|
|
24
28
|
/**
|
|
25
29
|
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form-formdaterangepickerlist--docs
|
|
26
30
|
*/
|
|
27
|
-
export declare const FormDateRangePickerList: ({ value, onChange, label, helperText, error, startLabel, endLabel, disabled, minEndDateOffset, maxEndDateOffset, ...props }: FormDateRangePickerListProps) => React.JSX.Element;
|
|
31
|
+
export declare const FormDateRangePickerList: ({ value, onChange, label, helperText, error, startLabel, endLabel, disabled, minEndDateOffset, maxEndDateOffset, allowKeyboard, ...props }: FormDateRangePickerListProps) => React.JSX.Element;
|