@cloudtower/eagle 0.32.26 → 0.32.28
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/coreX/DateRangePicker/common.js +7 -5
- package/dist/cjs/coreX/DateRangePicker/index.js +10 -5
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +3183 -3158
- package/dist/esm/coreX/DateRangePicker/common.js +7 -5
- package/dist/esm/coreX/DateRangePicker/index.js +10 -5
- package/dist/esm/stats1.html +1 -1
- package/dist/src/coreX/DateRangePicker/dateRangePicker.type.d.ts +6 -1
- package/dist/stories/docs/coreX/DateRangePicker.stories.d.ts +1 -0
- package/dist/style.css +2711 -2688
- package/package.json +4 -4
|
@@ -56,9 +56,14 @@ export type DateRangePickerProps = {
|
|
|
56
56
|
minDate?: string | Dayjs | undefined;
|
|
57
57
|
maxDate?: string | Dayjs | undefined;
|
|
58
58
|
onChange?: (type: "relative" | "absolute", time: DateRangePickerValue, range: PickerDateRange) => void;
|
|
59
|
+
onAbsoluteTimeChange?: (range: PickerDateRange) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Customize an array of relative time select options
|
|
62
|
+
*/
|
|
63
|
+
relativeTimeSelectOptions?: PastTime[];
|
|
59
64
|
};
|
|
60
65
|
export type PastTime = {
|
|
61
|
-
unit: "h" | "m" | "d";
|
|
66
|
+
unit: "h" | "m" | "d" | "M";
|
|
62
67
|
value: number;
|
|
63
68
|
disabled?: boolean;
|
|
64
69
|
};
|