@mirohq/design-system-calendar 2.5.7 → 2.5.8
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/main.js +4 -0
- package/dist/main.js.map +1 -1
- package/dist/module.js +4 -0
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +13 -13
package/dist/module.js
CHANGED
|
@@ -845,6 +845,8 @@ const Cell = (props) => {
|
|
|
845
845
|
const { cellProps, buttonProps, isSelected, formattedDate } = useCalendarCell(
|
|
846
846
|
{ date },
|
|
847
847
|
state,
|
|
848
|
+
// react-aria 3.3 types the ref without null: redundant under @types/react 18, required under 19.
|
|
849
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
848
850
|
ref
|
|
849
851
|
);
|
|
850
852
|
const isOutsideMonth = !isSameMonth(currentMonth, date);
|
|
@@ -1819,6 +1821,8 @@ const RangePickerContent = () => {
|
|
|
1819
1821
|
const { calendarProps, prevButtonProps, nextButtonProps } = useRangeCalendar(
|
|
1820
1822
|
{},
|
|
1821
1823
|
state,
|
|
1824
|
+
// react-aria 3.3 types the ref without null: redundant under @types/react 18, required under 19.
|
|
1825
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
1822
1826
|
ref
|
|
1823
1827
|
);
|
|
1824
1828
|
return /* @__PURE__ */ jsx(
|