7.15.2

mantinedev/mantine7.15.2Dec 23, 2024by rtivital

AI Summary

A maintenance release focusing on bug fixes for DatePicker, hooks, and charts, including React 19 compatibility updates.

Key Highlights

  • Fix DatePicker incorrect handling of partial value when type is range
  • Fix use-local-storage value not updating when key changes
  • Update react-textarea-autosize to support React 19
  • Add Tooltip middlewares prop support
  • Fix incorrect ref types in use-move hooks

Full Release Notes

## What's Changed
- `[@mantine/dates]` DatePicker: Fix incorrect handling of receiving partial value when `type="range"` (#7278)
- `[@mantine/hooks]` use-local-storage: Fix value not being updated when `key` changes (#7286)
- `[@mantine/charts]` Fix `gridColor` prop being passed down as attribute to html element (#7288)
- `[@mantine/core]` Update react-textarea-autosize to support React 19 (#7297)
- `[@mantine/core]` TypographyStylesProvider: Fix margin removal affecting non-typography elements (#7290)
- `[@mantine/core]` Tooltip: Add `middlewares` prop support (#7281)
- `[@mantine/core]` FloatingIndicator: Fix incorrect position calculations when the parent element has border (#7267)
- `[@mantine/core]` ScrollArea: Fix scrollbar not changing with the scroll position on first render (#7257, #7260)
- `[@mantine/tiptap]` Fix incorrect paragraph styles inside lists (#7255)
- `[@mantine/hooks]` Fix incorrect ref types in use-move, use-radial-move, use-in-viewport and use-scroll-into-view (#7252)
- `[@mantine/form]` Fix incorrect validators types (#7242)

## New Contributors
* @QuinnStraus made their first contribution in https://github.com/mantinedev/mantine/pull/7255
* @tamago324 made their first contribution in https://github.com/mantinedev/mantine/pull/7260
* @StyxOfDynamite made their first contribution in https://github.com/mantinedev/mantine/pull/7270
* @lamualfa made their first contribution in https://github.com/mantinedev/mantine/pull/7267
* @angristan made their first contribution in https://github.com/mantinedev/mantine/pull/7284

**Full Changelog**: https://github.com/mantinedev/mantine/compare/7.15.1...7.15.2