8.2.8

mantinedev/mantine8.2.8Aug 31, 2025by rtivital

AI Summary

Bug fixes for Charts, Carousel, Hooks, ScrollArea, JsonInput, and Dates components.

Key Highlights

  • LineChart: Fix `gridColor` prop passing
  • Carousel: Add data attributes to controls
  • ScrollArea: Fix horizontal size calculations
  • JsonInput: Fix font scaling with size prop

Full Release Notes

## What's Changed
- `[@mantine/charts]` LineChart: Fix `gridColor` prop being passed down to the root DOM node
- `[@mantine/carousel]` Add `data-type="next"` and `data-type="previous"` to controls
- `[@mantine/hooks]` use-scroll-spy: Add `offset` prop support (#8209)
- `[@mantine/core]` ScrollArea: Fix incorrect horizontal size calculations in ScrollArea.Autosize (#8199)
- `[@mantine/core]` JsonInput: Fix font-size not scaling with size prop (#8206)
- `[@mantine/hooks]` Fix incorrect ESM exports for `nodenext` module resolution (#8211)
- `[@mantine/hooks]` use-document-visibility: Fix initial document visibility state not being set (#8215)
- `[@mantine/dates]` DateTimePicker: Fix `onDropdownClose` not working (#8212)

## New Contributors
* @k-utsumi made their first contribution in https://github.com/mantinedev/mantine/pull/8212
* @sky0014 made their first contribution in https://github.com/mantinedev/mantine/pull/8215
* @seanwu1105 made their first contribution in https://github.com/mantinedev/mantine/pull/8211
* @nayounsang made their first contribution in https://github.com/mantinedev/mantine/pull/8199
* @andreaspersson-sciber made their first contribution in https://github.com/mantinedev/mantine/pull/8209

**Full Changelog**: https://github.com/mantinedev/mantine/compare/8.2.7...8.2.8