7.11.2

mantinedev/mantine7.11.2Jul 13, 2024by rtivital

AI Summary

A patch release addressing various bugs in Combobox, Drawer, Carousel, Anchor, and Charts, including React 19 compatibility improvements.

Key Highlights

  • Fix Drawer overflow issues on mobile and double scrollbar appearance
  • Fix responsive `slideSize` values in Carousel
  • Fix Anchor `lineClamp` prop and text-decoration styles
  • Improve React 19 compatibility for FocusTrap

New Features

  • `autoInvoke` option added to `use-interval` hook

Full Release Notes

## What's Changed
- `[@mantine/core]` Combobox: Fix inconsistent horizontal dropdown padding
- `[@mantine/core]` Drawer: Fix content overflowing horizontally on mobile when `offset` is set
- `[@mantine/core]` Drawer: Fix double scrollbar appearing when `offset` and `scrollAreaComponent` props are set
- `[@mantine/carousel]` Fix responsive `slideSize` values working differently from other style props
- `[@mantine/hooks]` use-interval: Add `autoInvoke` option support
- `[@mantine/hooks]` use-interval: Fix updates to the function and interval timeout being ignored
- `[@mantine/core]` Anchor: Fix `lineClamp` prop not working
- `[@mantine/core]` Anchor: Fix text-decoration styles being inconsistent with `variant="gradient"`
- `[@mantine/dates]` DateInput: Fix value flickering with custom timezone (#6517)
- `[@mantine/core]` Burger: Fix `lineSize` being passed to the DOM node (#6520)
- `[@mantine/charts]` Add support for nested properties in `dataKey` (#5886)
- `[@mantine/core]` Fix Modal/Drawer headers overlaying custom scrollbar (#6175)
- `[@mantine/charts]` Sparkline: Fix incorrect `data` prop type (#6352)
- `[@mantine/charts]` Fix `strokeColor` prop being passed to the DOM element (#6507)
- `[@mantine/core]` FocusTrap: Improve compatibility with React 19 (#6492)
- `[@mantine/hooks]` use-os: Fix iOS being reported as MacOS in several cases (#6511)
- `[@mantine/emotion]` Fix incorrect types of `createStyles` classes (#6490)
- `[@mantine/core]` Tooltip: Fix `floatingStrategy="fixed"` not working (#6502)

## New Contributors
* @lwkchan made their first contribution in https://github.com/mantinedev/mantine/pull/6502
* @Sergio16T made their first contribution in https://github.com/mantinedev/mantine/pull/6517

**Full Changelog**: https://github.com/mantinedev/mantine/compare/7.11.1...7.11.2