7.15.1

mantinedev/mantine7.15.1Dec 12, 2024by rtivital

AI Summary

A patch release addressing focus behavior, form validation, and accessibility improvements, including fixes for React 19 server components.

Key Highlights

  • Improve focus behavior of DatePickerInput and DateInput
  • Add touchTrigger option support to form
  • Add useModalStackContext and useDrawerStackContext hooks
  • Fix virtualColor function not working in server components
  • Fix Checkbox.Card behavior inside Checkbox.Group

Full Release Notes

## What's Changed
- `[@mantine/dates]` Improve focus behavior of DatePickerInput, DateInput and other components
- `[@mantine/form]` Add `touchTrigger` option support
- `[@mantine/hooks]` Add option to specify prefix in `randonId` function
- `[@mantine/core]` Fix `withProps` function requiring all component props instead of partial
- `[@mantine/core]` Add `useModalStackContext` and `useDrawerStackContext` hooks exports
- `[@mantine/core]` ActionIcon: Add `input-*` autocomplete for `size` prop
- `[@mantine/core]` AppShell: Fix incorrect default `offsetScrollbars` value for `layout="alt"`
- `[@mantine/core]` Fix `virtualColor` function not working in server components (#7184)
- `[@mantine/core]` Checkbox: Fix incorrect Checkbox.Card behavior inside Checkbox.Group (#7187)
- `[@mantine/core]` Checkbox: Fix incorrect Checkbox.Card behavior inside Checkbox.Group (#7187)
- `[@mantine/core]` Slider: Add option to pass attributes down to thumb with `thumbProps` (#7214)
- `[@mantine/core]` Switch: Add data-checked attribute to the input (#7228)
- `[@mantine/dates]` Fix `hasNextLevel` prop type leak to DatePicker component (#7229)
- `[@mantine/dates]` Fix timezone not being applied to the formatted value (#7162)
- `[@mantine/modals]` Fix `modalId` being passed to the DOM node as attribute (#7189)
- `[@mantine/core]` TypographyStylesProvider: Fix incorrect paragraphs inside lists styles (#7226)
- `[@mantine/core]` Slider: Fix icon used as thumb child not being visible with the dark color scheme (#7231, #7232)
- `[@mantine/tiptap]` Fix missing border in custom controls (#7239)

## New Contributors
* @jnachtigall made their first contribution in https://github.com/mantinedev/mantine/pull/7238
* @onkar-deshpande made their first contribution in https://github.com/mantinedev/mantine/pull/7226
* @anthonyalayo made their first contribution in https://github.com/mantinedev/mantine/pull/7188
* @NyxinU made their first contribution in https://github.com/mantinedev/mantine/pull/7162

**Full Changelog**: https://github.com/mantinedev/mantine/compare/7.15.0...7.15.1