Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 10, 2024

Bumps @mantine/form from 7.3.2 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
  • aae7b81 [release] Version: 7.15.0
  • d0e70b6 Merge branch master into 7.15
  • 29f5df2 [release] Version: 7.14.3
  • 44407db [@​mantine/core] Replace global JSX types with React.JSX to support React ...
  • 1f4bb71 Merge branch master into 7.15
  • c83f5b0 [release] Version: 7.14.2
  • b07b275 [@​mantine/form] Add submitting state support
  • 7fad3d6 [@​mantine/form] Add onSubmitPreventDefault option support (#7142)
  • 79280aa [release] Version: 7.14.2-alpha.0
  • 12adf69 [release] Version: 7.14.1
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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 <dependency name> 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)

Bumps [@mantine/form](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/form) from 7.3.2 to 7.15.0.
- [Release notes](https://github.com/mantinedev/mantine/releases)
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mantinedev/mantine/commits/7.15.0/packages/@mantine/form)

---
updated-dependencies:
- dependency-name: "@mantine/form"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 10, 2024
Copy link

DryRun Security Summary

The pull request updates the "@mantine/form" dependency from version 7.3.2 to 7.15.0, which is likely a positive change for application security and functionality, though it's recommended to review the release notes for potential breaking changes.

Expand for full summary

Summary:

The key change in this pull request is the update of the "@mantine/form" dependency from version 7.3.2 to version 7.15.0. From an application security perspective, this update is generally positive, as it likely includes bug fixes, security improvements, and new features. Keeping dependencies up-to-date is an important aspect of maintaining a secure application.

However, it's always important to review the release notes and change logs for any major version updates to understand the specific changes and ensure there are no breaking changes or security vulnerabilities introduced. In this case, the Mantine library is a popular and well-maintained library, so the update is likely safe, but it's still a good practice to review the changes. Overall, this code change looks reasonable and should not introduce any major security concerns.

Files Changed:

  • package.json: The key change in this file is the update of the "@mantine/form" dependency from version 7.3.2 to version 7.15.0.

Code Analysis

We ran 9 analyzers against 2 files and 1 analyzer had findings. 8 analyzers had no findings.

Analyzer Findings
Sensitive Files Analyzer 1 finding

View PR in the DryRun Dashboard.

Copy link
Author

dependabot bot commented on behalf of github Dec 12, 2024

Superseded by #123.

@dependabot dependabot bot closed this Dec 12, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mantine/form-7.15.0 branch December 12, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants