7.12.1

mantinedev/mantine7.12.1Aug 12, 2024by rtivital

AI Summary

A patch release focusing on bug fixes for various components including DateInput, ScrollArea, Switch, Combobox, Accordion, PinInput, and Charts.

Key Highlights

  • Fix DateInput default date being set to current date when minDate is set
  • Fix ScrollArea thumb styles and Combobox overflow issues
  • Add missing `withProps` function to Accordion and Tooltip components
  • Fix PinInput to allow passing props to individual input elements via `getInputProps`

New Features

  • New `getInputProps` function for PinInput component
  • New `withProps` function for Accordion and Tooltip components

Full Release Notes

## What's Changed
- `[@mantine/dates]` DateInput: Fix default date being set to the current date when `minDate` is set to the future (#6646)
- `[@mantine/core]` ScrollArea: Fix incorrect thumb::before styles
- `[@mantine/core]` Fix incorrect active styles of buttons used inside disabled fieldset
- `[@mantine/form]` Fix `form.watch` callbacks not being fired when `form.initialize` is called (#6639)
- `[@mantine/core]` Switch: Fix Switch shrinking when large label or description is used (#6531)
- `[@mantine/core]` Combobox: Fix `Combobox.Search` overflow when `ScrollArea` is used in the dropdown (#6562)
- `[@mantine/core]` Accordion: Add missing `withProps` function (#6564)
- `[@mantine/core]` Pill: Fix remove icon overflowing pill container if its background color was changed with Styles API (#6565)
- `[@mantine/core]` PinInput: Allow passing props to individual input elements depending on index with `getInputProps` (#6588)
- `[@mantine/charts]`: Fix LineChart Legend and Tooltip to support nested names (#6536)
- `[@mantine/core]` Tooltip: Add missing `Tooltip.Group.extend` function (#6576)
- `[@mantine/spotlight]` Fix `limit` prop not working correctly with actions groups (#6632)
- `[@mantine/core]` Badge: Fix text overflow not being handled correctly (#6629)
- `[@mantine/core]` SegmentedControl: Add `data-disabled` attribute to the root element to simplify styling with Styles API (#6625)
- `[@mantine/core]` SegmentedControl: Fix initial position of indicator being broken when the component is used inside other element that has transitions on mount (#6622)
- `[@mantine/core]` TagsInput: Fix `onKeyDown` prop not working (#6569)
- `[@mantine/charts]` PieChart: Fix `valueFormatter` not working on outside labels (#6616)
- `[@mantine/core]` Popover: Fix `apply` function of `size` middleware not being handled correctly (#6598)
- `[@mantine/core]` Chip: Fix incorrect checked padding for `size="xl"` (#6586)
- `[@mantine/dates]` TimeInput: Fix incorrect focus styles of am/pm input (#6579)
- `[@mantine/hook]` use-os: Fix incorrect iPadOS detection (#6535)
- `[@mantine/core]` DatePickerInput: Fix incorrect `aria-label` being set on the input element (#6530)
- `[@mantine/core]` Menu: Fix incorrect Escape key handling inside Modal (#6580)

## New Contributors
* @vorant94 made their first contribution in https://github.com/mantinedev/mantine/pull/6530
* @hajimism made their first contribution in https://github.com/mantinedev/mantine/pull/6539
* @ziimakc made their first contribution in https://github.com/mantinedev/mantine/pull/6561
* @th3fallen made their first contribution in https://github.com/mantinedev/mantine/pull/6579
* @david-szabo97 made their first contribution in https://github.com/mantinedev/mantine/pull/6586
* @bastiankistner made their first contribution in https://github.com/mantinedev/mantine/pull/6607
* @inx-fldu made their first contribution in https://github.com/mantinedev/mantine/pull/6569
* @michaelperros made their first contribution in https://github.com/mantinedev/mantine/pull/6622
* @risen228 made their first contribution in https://github.com/mantinedev/mantine/pull/6625
* @ddoemonn made their first contribution in https://github.com/mantinedev/mantine/pull/6629
* @yorkeJohn made their first contribution in https://github.com/mantinedev/mantine/pull/6632
* @raulfpl made their first contribution in https://github.com/mantinedev/mantine/pull/6639
* @uriFrischman made their first contribution in https://github.com/mantinedev/mantine/pull/6645

**Full Changelog**: https://github.com/mantinedev/mantine/compare/7.12.0...7.12.1