@up42/up-components 4.3.0 → 4.4.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 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/components/FormDatePickers/FormDateRangePickerList/FormDateRangePickerList.d.ts +6 -1
- package/dist/index.d.ts +220 -224
- package/package.json +1 -1
|
@@ -24,8 +24,13 @@ export type FormDateRangePickerListProps = {
|
|
|
24
24
|
* Defines the maximum number of days after the "start date" that the "end date" can be selected.
|
|
25
25
|
*/
|
|
26
26
|
maxEndDateOffset?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Defines the text to display in the action button to add a new Date Range.
|
|
29
|
+
* It defaults to "Add new date".
|
|
30
|
+
*/
|
|
31
|
+
addButtonText?: string;
|
|
27
32
|
} & DatePickerWrapperProps & Omit<DateRangePickerProps<DatePickerDateType | Date>, 'value' | 'onChange'>;
|
|
28
33
|
/**
|
|
29
34
|
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form-formdaterangepickerlist--docs
|
|
30
35
|
*/
|
|
31
|
-
export declare const FormDateRangePickerList: ({ value, onChange, label, helperText, error, startLabel, endLabel, disabled, minEndDateOffset, maxEndDateOffset, allowKeyboard, ...props }: FormDateRangePickerListProps) => React.JSX.Element;
|
|
36
|
+
export declare const FormDateRangePickerList: ({ value, onChange, label, helperText, error, startLabel, endLabel, disabled, minEndDateOffset, maxEndDateOffset, allowKeyboard, addButtonText, ...props }: FormDateRangePickerListProps) => React.JSX.Element;
|