7.4.1

mantinedev/mantine7.4.1Jan 9, 2024by rtivital

AI Summary

Patch release addressing bugs in Combobox, NumberInput, ColorPicker, and ScrollArea, along with TypeScript type improvements.

Key Highlights

  • Fixed Combobox numpad enter and onClose props
  • Fixed NumberInput support for numbers larger than MAX_SAFE_INTEGER
  • Improved TypeScript types for Autocomplete and TagsInput data prop
  • Fixed ScrollArea.Autosize working incorrectly with tables
  • Fixed Popover width prop type

New Features

  • Fixed Combobox numpad enter not working
  • Fixed NumberInput support for numbers larger than MAX_SAFE_INTEGER
  • Improved TypeScript types for Autocomplete and TagsInput

Full Release Notes

## What's Changed
- `[@mantine/core]` Combobox: Fix numpad enter not working (#5526)
- `[@mantine/core]` Combobox: Fix `onClose` prop not working (#5509)
- `[@mantine/core]` AppShell: Fix header height 0 not working (#5514)
- `[@mantine/core]` ColorPicker: Fix incorrect background gradient in AlphaSlider (#5518)
- `[@mantine/core]` Indicator: Fix `autoContrast` being passed to the dom node as attribute (#5508)
- `[@mantine/core]` NumberInput: Fix `allowLeadingZeros` prop not working
- `[@mantine/core]` NumberInput: Fix incorrect controls border color in disabled state
- `[@mantine/core]` NumberInput: Fix incorrect -0.0, -0.00, -0.000 ... inputs handling
- `[@mantine/core]` Popover: Improve `width` prop type
- `[@mantine/core]` Improve types of `data` prop in Autocomplete and TagsInput components
- `[@mantine/core]` MultiSelect: Fix `required` prop not displaying required asterisk
- `[@mantine/hooks]` use-scroll-into-view: Improve types (#5426)
- `[@mantine/core]` MultiSelect: Fix incorrect `pointer-events` style on the right section (#5472)
- `[@mantine/core]` Fix breakpoints defined in px being transformed into em when `visibleFrom` and `hiddenFrom` props are used (#5457)
- `[@mantine/core]` Rating: Improve `size` type (#5470)
- `[@mantine/core]` ScrollArea: Fix ScrollArea.Autosize working incorrectly with some tables (#5481)
- `[@mantine/core]` NumberInput: Add support for numbers that are larger than Number.MAX_SAFE_INTEGER (#5471)
- `[@mantine/core]` Combobox: Fix readonly data array not being supported (#5477)
- `[@mantine/charts]` Fix incorrect y-axis styles in RTL (#5505)

## New Contributors
* @hexcowboy made their first contribution in https://github.com/mantinedev/mantine/pull/5477
* @giveerr made their first contribution in https://github.com/mantinedev/mantine/pull/5471
* @ayovev made their first contribution in https://github.com/mantinedev/mantine/pull/5481
* @hirotomoyamada made their first contribution in https://github.com/mantinedev/mantine/pull/5518
* @buzzthedev made their first contribution in https://github.com/mantinedev/mantine/pull/5535
* @ID-JA made their first contribution in https://github.com/mantinedev/mantine/pull/5509

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