Ukraine-Relief-Efforts / host-a-refugee

Mobile-first website to match refugees with available hosts
https://host-a-refugee.vercel.app
MIT License
14 stars 4 forks source link

Bump @mantine/core from 4.0.5 to 4.1.0 #101

Open dependabot[bot] opened 2 years ago

dependabot[bot] commented 2 years ago

Bumps @mantine/core from 4.0.5 to 4.1.0.

Release notes

Sourced from @​mantine/core's releases.

4.1.0

View changelog with demos on Mantine website

@​mantine/notifications improvements

Events based functions

Notifications system functions were migrated to custom events, they are no longer depend on context and can be called in any part of application. Old way with useNotifications hook will work until version 5.0 release.

@mantine/notifications now exports the following functions:

  • showNotification – adds given notification to notifications list or queue depending on current state and limit
  • updateNotification – updates notification that was previously added to the state or queue
  • hideNotification – removes notification with given id from notifications state and queue
  • cleanNotifications – removes all notifications from notifications state and queue
  • cleanNotificationsQueue – removes all notifications from queue

classNames prop on MantineProvider

Same as with styles you can now add classes to all components with classNames prop on MantineProvider. This approach is useful when you want to styles components with utility based CSS libraries.

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

function App() { return ( <MantineProvider classNames={{ Button: { root: 'button-root', label: 'button-label' } }}> <Button>All Button components will have the classes above</Button> </MantineProvider> ); }

Mantine CSS variables

You can now set withCSSVariables prop on MantineProvider to add Mantine CSS variables from theme to :root. This option is useful when you want to use Mantine theme values with CSS/SCSS or css-in-js libraries that do not have Mantine theme context.

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

function App() { return ( <MantineProvider withCSSVariables> </tr></table>

... (truncated)

Commits
  • 5483279 [release] Version: 4.1.0
  • f8239f4 Merge branch 'master' of github.com:mantinedev/mantine into next-minor
  • 5f900f0 [@​mantine/core] Add Home and End keys handling to Select and MultiSelect comp...
  • 0947ce5 [@​mantine/core] Tooltip: Cleanup FloatingTooltip folder structure
  • 7a882af [@​mantine/core] Tooltip: Cleanup FloatingTooltip demos
  • 2a343b9 [@​mantine/core] Tooltip: Add FloatingTooltip component (#1103)
  • 93d6396 [@​mantine/core] Add Array support to sx
  • 750a8f1 Merge branch 'master' into next-minor
  • 30ddc33 [release] Version: 4.0.9
  • c2d9bc7 [@​mantine/core] ColorInput: Add less strict value validation to allow input c...
  • 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 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/seth-mckilla/host-a-refugee/FvcqC9heKJ2MaKPZL9vgVpk4xfx6
✅ Preview: Failed