7.3.2

mantinedev/mantine7.3.2Dec 14, 2023by rtivital

AI Summary

Bug fix release focusing on accessibility, Portal, Select, and Modal/Drawer components.

Key Highlights

  • Fixed Portal className error and Select initial value handling
  • Fixed text selection in MultiSelect search fields
  • Improved Modal and Drawer header height consistency
  • Fixed sticky header overlay in Table

New Features

  • Set cursor to not-allowed on disabled inputs
  • Fixed text selection in MultiSelect search fields

Full Release Notes

## What's Changed
- `[@mantine/core]` Portal: Fix empty className string throwing error (#5400)
- `[@mantine/core]` Select: Fix incorrect empty string as initial value handing
- `[@mantine/core]` Fix error thrown in jest tests when autosize Textarea is used in Next.js application (#5393)
- `[@mantine/core]` Loader: Fix default loaders not being available if custom loader was default with defaultProps on theme
- `[@mantine/core]` Chip: Fix `color` prop not working without specifying variant
- `[@mantine/core]` MultiSelect: Fix dropdown not being opened when Space key is pressed and the component is not searchable
- `[@mantine/core]` NavLink: Add missing Space key handling for collapse/expand nested links
- `[@mantine/dates]` DateInput: Fix incorrect clear button size
- `[@mantine/core]` Fix text inside MultiSelect, TagsInput and PillsInput search field not being possible to select with mouse
- `[@mantine/core]` Set cursor to `not-allowed` on disabled Checkbox, Radio and Switch
- `[@mantine/core]` NumberInput: Improve disabled increment/decrement controls styles
- `[@mantine/core]` Button: Fix incorrect alignment if button is used in the same container as other buttons with `component` prop
- `[@mantine/core]` SegmentedControl: Improve readOnly styles
- `[@mantine/core]` NumberInput: Fix incorrect controls text color in error state
- `[@mantine/core]` Change divs to more semantic elements in Modal and Drawer
- `[@mantine/core]` Make header height of Modal and Drawer consistent to prevent layout shift when `withCloseButton` prop is changed
- `[@mantine/core]` Fix `onChange` not being called in Radio, Checkbox and Chip components if they are used inside `X.Group`
- `[@mantine/core]` NumberInput: Fix incorrect negative decimal values input handing
- `[@mantine/core]` Button: Fix incorrect Loader vertical alignment
- `[@mantine/vanilla-extract]` Expose all primary colors values
- `[@mantine/core]` Menu: Fix incorrect aria roles (#5372)
- `[@mantine/core]` Table: Fix sticky header being overlayed by elements in table rows in some cases (#5385)
- `[@mantine/core]` Combobox: Fix `rightSection` and `leftSection` nor being visible on `Combobox.Search` (#5368)
- `[@mantine/core]` Tabs: Fix clipped border of outline variant (#5370)
- `[@mantine/core]` Fix incorrect `rightSectionPointerEvents` in Select and MultiSelect components (#5371)
- `[@mantine/core]` Alert: Fix incorrect margin if title is hidden
- `[@mantine/core]` Overlay: Fix blur styles not working in old Safari

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

**Full Changelog**: https://github.com/mantinedev/mantine/compare/7.3.1...7.3.2