7.6.2

mantinedev/mantine7.6.2Mar 12, 2024by rtivital

AI Summary

Focuses on fixing type definitions, input behaviors, and accessibility issues across core, hooks, and dates.

Key Highlights

  • Fixed `onValueChange` not being called in increment/decrement functions for NumberInput.
  • Fixed `className` specified in `labelProps` not being passed to corresponding elements.
  • Fixed TypeScript 5.4 compatibility issues with some functions.
  • Added HEIC image format to default mime types in Dropzone.

Full Release Notes

## What's Changed
- `[@mantine/hooks]` use-resize-observer: Fix types (#5847)
- `[@mantine/hooks]` use-local-storage: Fix `undefined` being written to the local storage when `defaultValue` is not defined (#5848)
- `[@mantine/core]` NumberInput: Fix `onValueChange` not being called in increment/decrement functions (#5856)
- `[@mantine/core]` InputWrapper: Fix `className` specified in `labelProps`, `descriptionProps` and `errorProps` not being passed to the corresponding element (#5862)
- `[@mantine/core]` Fix some functions not working correctly with TypeScript 5.4 (#5891)
- `[@mantine/form]` Fix `onValuesChange` not using updated function (#5901)
- `[@mantine/core]` Popover: Fix incorrect dropdown selectors (#5903)
- `[@mantine/core]` Indicator: Fix processing animation in Safari (#5908)
- `[@mantine/hooks]` use-headroom: Fix incorrect pinning logic when scrolling up (#5793)
- `[@mantine/dropzone]` Add heic images format to default mime types (#5867)
- `[@mantine/core]` Transition: Fix transitions resolving instantly in some cases (#5873)
- `[@mantine/dropzone]` Add `inputProps` prop support to pass props down to the underlying hidden input element (#5880)
- `[@mantine/core]` Timeline: Fix `autoContrast` being passed to the dom node as attribute (#5890)

## New Contributors
* @AdarshJais made their first contribution in https://github.com/mantinedev/mantine/pull/5833
* @Zachary-Kaye made their first contribution in https://github.com/mantinedev/mantine/pull/5890
* @redachl made their first contribution in https://github.com/mantinedev/mantine/pull/5867
* @timkrins made their first contribution in https://github.com/mantinedev/mantine/pull/5860
* @Alimobasheri made their first contribution in https://github.com/mantinedev/mantine/pull/5793

**Full Changelog**: https://github.com/mantinedev/mantine/compare/7.6.1...7.6.2