7.11.1
mantinedev/mantine7.11.1Jul 2, 2024by rtivital
AI Summary
A patch release fixing issues in Select, Tooltip, Popover, Spotlight, and various form and chart components, including React 19 compatibility.
Key Highlights
- Fix Select `onChange` logic and Modal `removeScrollProps` React 19 compatibility
- Fix Tooltip `defaultOpened` prop and arrow styling
- Fix Popover fixed positioning styles
- Fix PieChart key error for duplicated names
New Features
- `defaultOpened` prop support for Tooltip
- `nothingFoundMessage` option for Select and MultiSelect
Full Release Notes
## What's Changed - `[@mantine/core]` Add option to display `nothingFoundMessage` when data is empty in Select and MultiSelect components (#6477) - `[@mantine/core]` Tooltip: Add `defaultOpened` prop support (#6466) - `[@mantine/core]` PinInput: Fix incorrect rtl logic (#6382) - `[@mantine/core]` Popover: Fix `floatingStrategy="fixed"` not having `position:fixed` styles (#6419) - `[@mantine/spotlight]` Fix spotlight not working correctly with shadow DOM (#6400) - `[@mantine/form]` Fix `onValuesChange` using stale values (#6392) - `[@mantine/carousel]` Fix `onSlideChange` using stale props values (#6393) - `[@mantine/charts]` Fix unexpected padding on the right side of the chart in BarChart, AreaChart and LineChart components (#6467) - `[@mantine/core]` Select: Fix `onChange` being called with the already selected if it has been picked from the dropdown (#6468) - `[@mantine/dates]` DatePickerInput: Fix `highlightToday` not working (#6471) - `[@mantine/core]` NumberInput: Fix incorrect handling of numbers larger than max safe integer on blur (#6407) - `[@mantine/core]` Tooltip: Fix tooltip arrow being incompatible with headless mode (#6458) - `[@mantine/core]` ActionIcon: Fix loading styles inconsistency with Button component (#6460) - `[@mantine/charts]` PieChart: Fix key error for duplicated `name` data (#6067) - `[@mantine/core]` Modal: Fix `removeScrollProps.ref` not being compatible with React 19 (#6446) - `[@mantine/core]` TagsInput: Fix `selectFirstOptionOnChange` prop not working (#6337) - `[@mantine/hooks]` use-eye-dropper: Fix Opera being incorrectly detected as a supported browser (#6307) - `[@mantine/core]` Fix `:host` selector now working correctly in `cssVariablesSelector` of MantineProvider (#6404) - `[@mantine/core]` TagsInput: Fix `onChange` being called twice when Enter key is pressed in some cases (#6416) - `[@mantine/modals]` Fix Modal overrides type augmentation not working with TypeScript 5.5 (#6443) - `[@mantine/core]` Tree: Fix `levelOffset` prop being added to the root DOM element (#6461) ## New Contributors * @bsl-zcs made their first contribution in https://github.com/mantinedev/mantine/pull/6461 * @florisdg made their first contribution in https://github.com/mantinedev/mantine/pull/6443 * @snlacks made their first contribution in https://github.com/mantinedev/mantine/pull/6425 * @lid0a made their first contribution in https://github.com/mantinedev/mantine/pull/6415 * @Knamer95 made their first contribution in https://github.com/mantinedev/mantine/pull/6416 * @yyytae0 made their first contribution in https://github.com/mantinedev/mantine/pull/6404 * @toanxyz made their first contribution in https://github.com/mantinedev/mantine/pull/6388 * @viktorkasap made their first contribution in https://github.com/mantinedev/mantine/pull/6307 * @alexlapp made their first contribution in https://github.com/mantinedev/mantine/pull/6337 * @brycefranzen made their first contribution in https://github.com/mantinedev/mantine/pull/6446 * @marcobiedermann made their first contribution in https://github.com/mantinedev/mantine/pull/6442 * @mullwar made their first contribution in https://github.com/mantinedev/mantine/pull/6067 * @gruschis made their first contribution in https://github.com/mantinedev/mantine/pull/6400 * @jpranays made their first contribution in https://github.com/mantinedev/mantine/pull/6466 **Full Changelog**: https://github.com/mantinedev/mantine/compare/7.11.0...7.11.1