paveg / blog

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

⬆️ Bump @mantine/hooks from 5.9.5 to 5.10.1 #58

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @mantine/hooks from 5.9.5 to 5.10.1.

Release notes

Sourced from @​mantine/hooks's releases.

5.10.1

What's Changed

  • [@mantine/core] HoverCard: Add missing types for classNames, styles and unstyled props (#3257)
  • [@mantine/modals] Fix incorrect close modal logic (#3300)
  • [@mantine/hooks] use-set-state: Make setState fucntion stable across renders (#3357)
  • [@mantine/tiptap] Fix incorrect styles on placeholder component (#3382)
  • [@mantine/hooks] use-local-storage: Fix value not updated when local storage value is cleared (#3298)
  • [@mantine/core] Fix unexpected extra space added at the bottom of Switch, Radio and Checkbox components (#3303)
  • [@mantine/hooks] use-full-screen: Fix hook not working on iOS (#3327)
  • [@mantine/core] Stepper: Fix allowStepSelect not working on Stepper.Step component (#3340)
  • [@mantine/form] Fix useForm initialDirty stops form.isDirty from working as expected (#3372)
  • [@mantine/core] Stack: Fix incorrect default justify prop (#3293)

New Contributors

Full Changelog: https://github.com/mantinedev/mantine/compare/5.10.0...5.10.1

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', }), }, }, }} </tr></table>

... (truncated)

Commits
  • a38d955 [release] Version: 5.10.1
  • 86b3733 [@​mantine/hooks] use-set-state: Make setState fucntion stable across renders ...
  • ac79a90 [@​mantine/hooks] use-local-storage: Reset value to defaultValue instead of null
  • 4c62aac [@​mantine/hooks] use-local-storage: Fix value not updated when local storage ...
  • a222961 [core] Fix formatting
  • 46dbaa3 [@​mantine/hooks] use-full-screen: Fix hook not working on iOS (#3327)
  • b4cf6ad [release] Version: 5.10.0
  • 75e4c73 [release] Version: 5.9.6
  • See full diff 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 21, 2023 at 8:11PM (UTC)
dependabot[bot] commented 1 year ago

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