From a642fc3e3082327da92b76ee235194b89cc5c77e Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 3 May 2024 08:12:17 +0200
Subject: [PATCH] Bump @mantine/form from 7.8.0 to 7.9.0 in /frontend (#681)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps
[@mantine/form](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/form)
from 7.8.0 to 7.9.0.
Sourced from View changelog with
demos on mantine.dev website New If you still haven't migrated to 7.x because of the change in styling
approach, you can now
have a smoother transition by using const useStyles = createStyles((theme, _, u) => ({
wrapper: {
maxWidth: rem(400),
width: '100%',
height: rem(180),
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
marginLeft: 'auto',
marginRight: 'auto',
borderRadius: theme.radius.sm, }, child: {
// Assign selector to a ref to reference it in other styles
</tr></table>
Release notes
@mantine/form's
releases.
7.9.0 ✨
@mantine/emotion package@mantine/emotion
package is now available to simplify migration
from 6.x to 7.x. It
includes createStyles function and additional
functionality for sx and styles props for all
components similar to what was available
in @mantine/core package in v6.@mantine/emotion
package. To learn more about the package,
visit the documentation
page and updated 6.x
to 7.x migration guide.import { rem } from '@mantine/core';
import { createStyles } from '@mantine/emotion';
// Use light and dark selectors to change styles based on
color scheme
[u.light]: {
backgroundColor: theme.colors.gray[1],
},
[u.dark]: {
backgroundColor: theme.colors.dark[5],
},
// Reference theme.breakpoints in smallerThan and largerThan functions
[u.smallerThan('sm')]: {
// Child reference in nested selectors via ref
[`& .${u.ref('child')}`]: {
fontSize: theme.fontSizes.xs,
},
},
... (truncated)
94c053e
[release] Version: 7.9.0faf096f
[core] Remove additional React imports97eb4d4
[core] Init new jsx transform53213be
[mantine.dev] Add use-field documentatione0e6b18
[@mantine/form] Add all tests and types to use-fieldf7ea555
[@mantine/form] Fix several issues with uncontrolled
use-fieldb6a2f0f
[@mantine/form] Fix several issues in use-fieldc17d1c4
[@mantine/form] Add use-field type exports2daca60
[@mantine/form] Add getInputProps tests to use-field
hook8b3e0ef
[@mantine/form] Add validation, value and error tests to
use-field