paveg / blog

https://www.funailog.com
MIT License
0 stars 0 forks source link

⬆️ Bump @mantine/core from 5.9.5 to 5.10.0 #45

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @mantine/core from 5.9.5 to 5.10.0.

Release notes

Sourced from @​mantine/core's releases.

5.10.0

View changelog with demos on Mantine website

Theme based default props

Default props on MantineProvider can now subscribe to theme:

import { MantineProvider, Button } from '@mantine/core';

function Demo() { return ( <MantineProvider inherit theme={{ components: { Button: { defaultProps: (theme) => ({ color: theme.colorScheme === 'dark' ? 'orange' : 'cyan', }), }, }, }} > <Button>Demo button</Button> </MantineProvider> ); }

@​mantine/form validators

@mantine/form package now exports isNotEmpty, isEmail, matches, isInRange and hasLength functions to simplify validation of common fields types:

import { useForm, isNotEmpty, isEmail, isInRange, hasLength, matches } from '@mantine/form';
import { Button, Group, TextInput, NumberInput, Box } from '@mantine/core';

function Demo() { const form = useForm({ initialValues: { name: '', job: '', email: '', favoriteColor: '', age: 18, }, </tr></table>

... (truncated)

Commits
  • b4cf6ad [release] Version: 5.10.0
  • 5d1f837 [@​mantine/core] ColorInput: Hide eye dropper when input is disabled or read only
  • a3ec67b [@​mantine/core] Add capture prop support to FileInput and FileButton components
  • 460c410 Merge branch 'master' of github.com:mantinedev/mantine into dev
  • 75e4c73 [release] Version: 5.9.6
  • 58a096e [@​mantine/core] Tooltip: Fix incorrect Tooltip.Floating Styles API name
  • 6177896 [@​mantine/core] ScrollArea: Add viewportProps support
  • 8706fd2 [@​mantine/core] Title: Remove span prop
  • 159f5bd Merge branch 'master' of github.com:mantinedev/mantine into dev
  • d4fccdf [@​mantine/core] Stepper: Add allowSelectNextSteps and `StepFragmentCompone...
  • 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 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)
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
blog ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 16, 2023 at 8:21PM (UTC)
dependabot[bot] commented 1 year ago

Looks like @mantine/core is up-to-date now, so this is no longer needed.