@tap-payments/os-micro-frontend-shared 0.1.218-test.5 → 0.1.218-test.6
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.
|
@@ -63,8 +63,9 @@ function RangeCalender({ defaultDate, onDateChange, mode = 'gregorian', onCalend
|
|
|
63
63
|
return startSelectedTime === endSelectedTime && !noTimezone ? startSelectedTime : `${startSelectedTime} - ${endSelectedTime}`;
|
|
64
64
|
};
|
|
65
65
|
const onChange = (newDate) => {
|
|
66
|
+
var _a;
|
|
66
67
|
if (newDate.length < 2 || !maxDateRange) {
|
|
67
|
-
setValues(
|
|
68
|
+
setValues([newDate === null || newDate === void 0 ? void 0 : newDate[0], (_a = newDate === null || newDate === void 0 ? void 0 : newDate[1]) !== null && _a !== void 0 ? _a : newDate === null || newDate === void 0 ? void 0 : newDate[0]]);
|
|
68
69
|
return;
|
|
69
70
|
}
|
|
70
71
|
const startDate = getStartOfDate(newDate[0]).toDate();
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tap-payments/os-micro-frontend-shared",
|
|
3
3
|
"description": "Shared components and utilities for Tap Payments micro frontends",
|
|
4
|
-
"version": "0.1.218-test.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.218-test.6",
|
|
5
|
+
"testVersion": 6,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|