7.4.2

mantinedev/mantine7.4.2Jan 17, 2024by rtivital

AI Summary

Fixes for modal focus trapping, date picker placeholders, and various styling issues.

Key Highlights

  • Fixed `onClose` throwing error if `trapFocus: false` is passed to modals.
  • Added missing `placeholder` styles API selector to DatePickerInput and similar components.
  • Fixed MultiSelect `combobox.closeDropdown()` being called twice in `onBlur`.
  • Fixed `forceColorScheme={undefined}` handling.

Full Release Notes

## What's Changed
- `[@mantine/modals]` Fix `onClose` throwing error if `trapFocus: false` is passed to one of the modals (#5577)
- `[@mantine/dates]` Add missing `placeholder` styles api selector to DatePickerInput, MonthPickerInput and YearPickerInput components
- `[@mantine/tiptap]` Fix incorrect disabled controls in dark color scheme
- `[@mantine/core]` MultiSelect: Fix `combobox.closeDropdown()` called twice in `onBlur` method
- `[@mantine/tiptap]` Fix incorrect peer dependencies
- `[@mantine/core]` Fix incorrect colors resolving logic for `bg` style prop
- `[@mantine/core]` Remove global height styles from body and html
- `[@mantine/hooks]` use-media-query: Fix `getInitialValueInEffect` not working correctly when initial value is provided (#5575, #5549)
- `[@mantine/core]` Divider: Change default colors to match other components (#5480)
- `[@mantine/core]` Fix incorrect `forceColorScheme={undefined}` handling (#4959)
- `[@mantine/core]` Menu: Remove duplicated static class on the dropdown element (#5537)
- `[@mantine/core]` Add `/` support for rgba calculations (#5544)

## New Contributors
* @kjk7034 made their first contribution in https://github.com/mantinedev/mantine/pull/5544

**Full Changelog**: https://github.com/mantinedev/mantine/compare/7.4.1...7.4.2