@agilant/toga-blox 1.0.154 → 1.0.156
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.
|
@@ -318,7 +318,7 @@ function SearchDatePickerInput({ themeBgColor = "bg-sky-500", lightThemeBg = "bg
|
|
|
318
318
|
}, [isDatePickerOpen]);
|
|
319
319
|
// Render the DayPicker – for both single and range modes.
|
|
320
320
|
const dayPicker = !toggleStatus
|
|
321
|
-
? isDatePickerOpen && (_jsxs("div", { className: "absolute
|
|
321
|
+
? isDatePickerOpen && (_jsxs("div", { className: "absolute p-4 top-16 w-auto z-50 shadow-lg bg-white", children: [_jsx("div", { onClick: handlePickerClose, className: "hover:cursor-pointer text-right pr-3", children: getFontAwesomeIcon("x", "regular") }), _jsx(DayPicker, { mode: "single", selected: parseUserDateInput(dateInputValue) || localDate, onSelect: (day) => {
|
|
322
322
|
if (day) {
|
|
323
323
|
setLocalDate(day);
|
|
324
324
|
setDateInputValue(formatDateAsMonthDayYear(day));
|
|
@@ -328,7 +328,7 @@ function SearchDatePickerInput({ themeBgColor = "bg-sky-500", lightThemeBg = "bg
|
|
|
328
328
|
setActiveInput(null);
|
|
329
329
|
} })] }))
|
|
330
330
|
: isDatePickerOpen &&
|
|
331
|
-
activeInput && (_jsx("div", { className: "absolute
|
|
331
|
+
activeInput && (_jsx("div", { className: "absolute p-4 top-16 w-auto z-50 shadow-lg", children: activeInput === "start" ? (_jsxs(_Fragment, { children: [_jsx("div", { onClick: handlePickerClose, className: "hover:cursor-pointer text-right pr-3", children: getFontAwesomeIcon("x", "regular") }), _jsx(DayPicker, { mode: "single", selected: parseUserDateInput(startDateInputValue) ||
|
|
332
332
|
localStartDate, onSelect: (day) => {
|
|
333
333
|
if (day) {
|
|
334
334
|
setLocalStartDate(day);
|