From d449c9f7460d0e385eac9a4eb9130a8b895209a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 04:36:21 +0000 Subject: [PATCH] Bump @mantine/form from 7.14.0 to 7.15.0 in /frontend (#1049) 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.14.0 to 7.15.0.
Release notes

Sourced from @​mantine/form's releases.

7.15.0 đŸ’‹

View changelog with demos on mantine.dev website

Support Mantine development

You can now sponsor Mantine development with OpenCollective. All funds will be used to improve Mantine and create new features and components.

use-radial-move hook

New use-radial-move hook can be used to create custom radial sliders:

import { useState } from 'react';
import { Box } from '@mantine/core';
import { useRadialMove } from '@mantine/hooks';
import classes from './Demo.module.css';

function Demo() { const [value, setValue] = useState(115); const { ref } = useRadialMove(setValue);

return ( <Box className={classes.root} ref={ref} style={{ '--angle': ${value}deg }}> <div className={classes.value}>{value}°</div> <div className={classes.thumb} /> </Box> ); }

BarChart color based on value

BarChart component now supports getBarColor prop to assign color based on value. getBarColor function is called with two arguments: value and series object. It should return a color string (theme color reference or any valid CSS color value).

import { BarChart } from '@mantine/charts';
import { data } from './data';

function Demo() { return ( <BarChart h={300} data={data} dataKey="month" getBarColor={(value) => (value > 700 ? 'teal.8' : 'red.8')} series={[{ name: 'Laptops', color: 'gray.6' }]} /> </tr></table>

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@mantine/form&package-manager=npm_and_yarn&previous-version=7.14.0&new-version=7.15.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- frontend/package.json | 2 +- frontend/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index a8e31c20c..bdf1f6cf5 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -24,7 +24,7 @@ "@mantine/core": "7.12.1", "@mantine/dates": "7.12.1", "@mantine/dropzone": "7.12.1", - "@mantine/form": "7.14.0", + "@mantine/form": "7.15.0", "@mantine/hooks": "7.12.1", "@mantine/next": "^6.0.21", "@mantine/notifications": "7.12.1", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 486459416..aec2c2658 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -892,10 +892,10 @@ dependencies: react-dropzone-esm "15.0.1" -"@mantine/form@7.14.0": - version "7.14.0" - resolved "https://registry.yarnpkg.com/@mantine/form/-/form-7.14.0.tgz#991ecb3f600c599aa2f659c5b1138678dfecafe1" - integrity sha512-oZQuSiREcZLALTILUwovIc1GuNSQAZfFyhUCQE2MqF5tmjcy51HdeQ0kBtkjCylrc50v165KVtANuWhFwA/2dg== +"@mantine/form@7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@mantine/form/-/form-7.15.0.tgz#4894e2f79c0f2f563ef67b453eb109ce19a8cb6c" + integrity sha512-gTn68Y8zXGI8zRw9EdVA00tiS5V3nQ7VkGmyAC45ZOfOpP0H9bFhnqFLM8vQHEtnLCmI3oU93zyVBUgjwlF19A== dependencies: fast-deep-equal "^3.1.3" klona "^2.0.6"