7.12.2
mantinedev/mantine7.12.2Aug 30, 2024by rtivital
AI Summary
This release fixes various bugs in ScrollArea, Tabs, and Dropzone, adds support for Tree initial state, and removes the `children` prop from Checkbox, Radio, and Switch types.
Key Highlights
- Added `initialCheckedState` support to Tree component
- Fixed `SpotlightRoot` export issue
- Added `7z` and `rar` mime type exports
- Fixed Badge alignment and layout
- Fixed Menu accessibility warnings
Breaking Changes
- Removed `children` prop from Checkbox, Radio, and Switch types
New Features
- initialCheckedState support
- 7z and rar mime type exports
Full Release Notes
## What's Changed - `[@mantine/hooks]` use-idle: Fix idle countdown not starting if the user did non interact with the page (#6683) - `[@mantine/core]` ScrollArea: Fix `onBottomReached` prop not being available in `ScrollArea.Autosize` component - `[@mantine/core]` Remove `children` from Checkbox, Radio and Switch types to avoid accidental errors - `[@mantine/core]` TypographyStylesProvider: Fix incorrect table styles in dark color scheme - `[@mantine/form]` Fix error thrown for nullable values dirty status check (#6672) - `[@mantine/core]` Badge: Fix unexpected change to block layout, fix incorrect alignment when fixed width is set (#6698, #6680) - `[@mantine/core]` ScrollArea: Fix pointer-events being left as `none` after interaction with scrollbar (#6681) - `[@mantine/core]` Tabs: Fix `keepMounted` prop being added as attribute to `Tabs.Panel` DOM element (#6711) - `[@mantine/core]` Tree: Add `initialCheckedState` support (#6697) - `[@mantine/spotlight]` Fix `SpotlightRoot` component not being exported (#6710) - `[@mantine/dropzone]` Add `7z` and `rar` mime types exports (#6702) - `[@mantine/dates]` DatePickerInput: Fix incorrect hovered date logic when the component receives value update with partial selected date range (#6718) - `[@mantine/dates]` Fix `valueFormatter` prop being added to DateTimePicker types - `[@mantine/core]` Badge: Fix right/left sections height affecting the alignment of the label - `[@mantine/core]` Menu: Fix accessibility warning in devtools when the Menu is opened (#6644) ## New Contributors * @timesince made their first contribution in https://github.com/mantinedev/mantine/pull/6654 * @tokyojack made their first contribution in https://github.com/mantinedev/mantine/pull/6718 * @Streusel made their first contribution in https://github.com/mantinedev/mantine/pull/6702 * @fredgig made their first contribution in https://github.com/mantinedev/mantine/pull/6697 * @chimericdream made their first contribution in https://github.com/mantinedev/mantine/pull/6683 * @Aybrea made their first contribution in https://github.com/mantinedev/mantine/pull/6724 **Full Changelog**: https://github.com/mantinedev/mantine/compare/7.12.1...7.12.2