7.13.5

mantinedev/mantine7.13.5Nov 8, 2024by rtivital

AI Summary

A maintenance release focusing on React 19 compatibility, ref handling in tooltips, and chart improvements.

Key Highlights

  • Update peer dependencies to allow React 19
  • Fix error in Next.js with React 19 related to ref prop usage
  • Fix NumberInput min/max value being bypassed
  • Add BarChart barLabelColor prop support
  • Fix RadarChart incorrect series prop type

New Features

  • BarChart barLabelColor prop

Full Release Notes

## What's Changed
- `[@mantine/core]` Update peer dependencies range for react to allow react and react-dom 19 as dependcy
- `[@mantine/core]` Fix error in Next.js with React 19 related to ref prop usage in Tooltip, Popover and Combobox components (#7028)
- `[@mantine/core]` FileButton: Fix `resetRef` throwing error if the component is contidionally rendered (#7025)
- `[@mantine/core]` Button: Fix incorrect focus styles of Button.Group (#6992)
- `[@mantine/charts]` CompositeCharts: Fix missing `key` prop error (#7020)
- `[@mantine/core]` NumberInput: Fix `min`/`max` value being bypassed if `0` has been entered as the first digit (#7021)
- `[@mantine/form]` Add useCallback wrapper to `form.resetDirty` (#7029)
- `[@mantine/core]` Combobox: Fix incorrect logic of selected options when the dropdown is closed without selecting value (#7039)
- `[@mantine/charts]` BarChart: Add `barLabelColor` prop support
- `[@mantine/charts]` BarChart: Fix bar label being positioned incorrectly with horizontal orientation (#7042)
- `[@mantine/charts]` RadarChart: Fix incorrect series prop type (#7046)
- `[@mantine/form]` Add additional type exports from the package (#7062)
- `[@mantine/core]` Tabs: Fix `tabIndex` not being overridden by Tabs.Tab props  (#7081)
- `[@mantine/dates]` DatePickerInput: Fix `nextLabel` and `previousLabel` props not being handled correctly (#7082)
- `[@mantine/charts]` Update recharts dependency to the latest version to improve Next.js 15 and React 19 support

## New Contributors
* @pfo-omicsstudio made their first contribution in https://github.com/mantinedev/mantine/pull/7062
* @zaphire12 made their first contribution in https://github.com/mantinedev/mantine/pull/7046
* @fsd-niraj made their first contribution in https://github.com/mantinedev/mantine/pull/7042
* @MariaBanaszkiewicz made their first contribution in https://github.com/mantinedev/mantine/pull/7039
* @anthony-dandrea made their first contribution in https://github.com/mantinedev/mantine/pull/7029
* @owenmoogk made their first contribution in https://github.com/mantinedev/mantine/pull/7021
* @mariakax3 made their first contribution in https://github.com/mantinedev/mantine/pull/7020

**Full Changelog**: https://github.com/mantinedev/mantine/compare/7.13.4...7.13.5