8.0.2

mantinedev/mantine8.0.2May 27, 2025by rtivital

AI Summary

Bug fix release for version 8.0.1 addressing DateTimePicker value types, ScrollArea behavior, and adding support for zod v4.

Key Highlights

  • Fix DateTimePicker incorrect onChange value type
  • Add zod v4 support
  • Fix ScrollArea onBottomReached behavior
  • Fix DateInput selected month and year highlighting
  • Fix leftover timezone issues after 8.0 strings migration

Full Release Notes

## What's Changed
- `[@mantine/dates]` DateTimePicker: Fix incorrect `onChange` value type
- `[@mantine/core]` ScrollArea: Fix `onBottomReached` not being called when the container size has sub-pixel value
- `[@mantine/dates]` TimePicker: Improve leading zero input handling
- `[@mantine/dates]` TimePicker: Fix setting value to an empty string not reseting displayed time in some cases
- `[@mantine/form]` Fix `form.reorderItem` reordering only the first item (#7892)
- `[@mantine/dates]` DateInput: Fix selected month and year not being highlighted (#7897)
- `[@mantine/hooks]` use-local-storage: Add `queueMicrotask` for dispatching update events to fix multiple hook instances synchonization (#7874)
- `[@mantine/dates]` Fix leftover timezone issues after 8.0 strings migration (#7878)
- `[@mantine/form]` Add zod v4 support (#7871)
- `[@mantine/core]` Popover: Fix `onOpen`/`onClose` being called when `disabled` prop is set (#7868)
- `[@mantine/spotlight]` Fix labels containing single quote passed to `Spotlight.ActionGroup` not working (#7865)
- `[@mantine/core]` Collapse: Fix `inert` prop not being compatible with React 18 (#7864)
- `[@mantine/core]` List: Fix incorrect types when `type="unordered"` (#7861)
 - `[@mantine/core]` AngleSlider: Fix incorrect arrow events handling (#7862)
- `[@mantine/dates]` DateInput: Fix Escape key not closing dropdown (#7857)
- `[@mantine/hooks]` use-shallow-effect: Fix `NaN` value not being handled correctly (#7851)

## New Contributors
* @gentunian made their first contribution in https://github.com/mantinedev/mantine/pull/7869
* @sungpaks made their first contribution in https://github.com/mantinedev/mantine/pull/7891
* @akoll made their first contribution in https://github.com/mantinedev/mantine/pull/7874
* @parsadotsh made their first contribution in https://github.com/mantinedev/mantine/pull/7899

**Full Changelog**: https://github.com/mantinedev/mantine/compare/8.0.1...8.0.2