7.16.1
mantinedev/mantine7.16.1Jan 19, 2025by rtivital
AI Summary
A bug fix and polish release improving Menu, Slider, NumberInput, and Chart components, along with fixes for form handling and testing environments.
Key Highlights
- Added `withInitialFocusPlaceholder` prop to Menu
- Added `chevronColor` prop to Select and MultiSelect for customization
- Fixed `onChange` behavior in NumberInput to prevent incorrect calls
- Fixed Modal Escape key support in old Safari versions
- Fixed `use-in-viewport` tracking when used with dnd libraries
New Features
- withInitialFocusPlaceholder prop support
- chevronColor prop support
Full Release Notes
## What's Changed - `[@mantine/core]` Menu: Add `withInitialFocusPlaceholder` prop support - `[@mantine/core]` Slider: Fix `onChangeEnd` being called when `disabled` prop is set - `[@mantine/core]` Add option to customize chevron color with `chevronColor` prop in Select and MultiSelect components - `[@mantine/core]` Fix incorrect styles of nested tables (#7354) - `[@mantine/core]`: NumberInput: Fix `onChange` being called in `onBlur` if the value has not been changed (#7383) - `[@mantine/core]` Menu: Add `data-disabled` prop handling to Menu.Item component (#7377) - `[@mantine/form]` Fix incorrect values handling in `form.resetDirty` (#7373) - `[@mantine/chart]` AreaChart: Fix `gridColor` and `textColor` props being passed as attributes to the DOM node (#7378) - `[@mantine/hooks]` use-in-viewport: Fix tracking being stopped when used with a dnd library (#7359) - `[@mantine/core]` MantineProvider: Fix jest tests not running in case there is incorrect `window.matchMedia` polyfill implementation (#7360) - `[@mantine/core]` Modal: Fix Escape key not working in old Safari versions (#7358) ## New Contributors * @kidonng made their first contribution in https://github.com/mantinedev/mantine/pull/7364 * @Benjaminsson made their first contribution in https://github.com/mantinedev/mantine/pull/7360 * @cameronrdecker made their first contribution in https://github.com/mantinedev/mantine/pull/7380 * @tomrehnstrom made their first contribution in https://github.com/mantinedev/mantine/pull/7373 **Full Changelog**: https://github.com/mantinedev/mantine/compare/7.16.0...7.16.1