7.10.1

mantinedev/mantine7.10.1May 30, 2024by rtivital

AI Summary

A patch release adding BarChart waterfall type and fixing various bugs in form handling, NumberInput, ScrollArea, and hooks.

Key Highlights

  • BarChart waterfall type added
  • Fix form.setFieldError behavior inside onSubmit
  • Fix NumberInput decimal and leading zeros handling
  • Fix ScrollArea scrollbar flickering

New Features

  • BarChart waterfall type
  • Input `inputSize` prop

Full Release Notes

## What's Changed
- `[@mantine/charts]` BarChart: Add waterfall type (#6231)
- `[@mantine/form]` Fix `form.setFieldError` called inside `form.onSubmit` not working correctly in some cases (#6101)
- `[@mantine/core]` SegmentedControl: Fix false error reported by React 18.3+ for incorrect key prop usage
- `[@mantine/hooks]` use-fetch: Fix incorrect error handling (#6278)
- `[@mantine/core]` Fix `bd` style prop not being applied in some components (#6282)
- `[@mantine/core]` NumberInput: Fix incorrect leading zeros handling (#6232)
- `[@mantine/core]` NumberInput: Fix incorrect logic while editing decimal values (#6232)
- `[@mantine/core]` ScrollArea: Fix scrollbar flickering on reveal with hover and scroll types (#6218)
- `[@mantine/hooks]` Update use-throttled-* hooks to emit updates on trailing edges (#6257)
- `[@mantine/core]` Input: Add `inputSize` prop to set `size` html attribute on the input element

## New Contributors
* @a-kon made their first contribution in https://github.com/mantinedev/mantine/pull/6265
* @dfaust made their first contribution in https://github.com/mantinedev/mantine/pull/6257
* @ElTupac made their first contribution in https://github.com/mantinedev/mantine/pull/6278

**Full Changelog**: https://github.com/mantinedev/mantine/compare/7.10.0...7.10.1