gregrickaby / local-weather

⛈ A weather app using Next.js, Mantine, Edge API Routes, and the OpenWeatherMap and Google Maps API's.
https://localwx.vercel.app
MIT License
51 stars 6 forks source link

Bump @mantine/next from 5.10.5 to 6.0.0 #265

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @mantine/next from 5.10.5 to 6.0.0.

Release notes

Sourced from @​mantine/next's releases.

6.0.0

View changelog with demos on mantine.dev website

Breaking changes

The following changes are breaking. Note that although we've tried to include all breaking changes with migration guides in the list you still may experience undocumented changes. If you think that these changes worth including in this list, let us know by opening an issue on GitHub.

Migration to rem/em units

All Mantine components now use rem units. 1rem is considered to be 16px with medium text size selected by user, all components will scale based on settings specified in browser. theme.spacing, theme.radius, theme.fontSizes and other theme properties overrides are now expected to be defined in rem. theme.breakpoints are expected to be defined in em units:

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

function Demo() { return ( <MantineProvider theme={{ spacing: { xs: "1rem", sm: "1.5rem" /* ... / }, fontSizes: { xs: "0.8rem", sm: "1.2rem" / ... / }, radius: { xs: "0.1rem", sm: "0.3rem" / ... / }, breakpoints: { xs: "20em", sm: "36em" / ... */ }, }} > <App /> </MantineProvider> ); }

You can no longer use addition, subtraction, division, multiplication and other math operations with theme values in createStyles and sx prop, use calc instead:

import { createStyles, rem } from '@mantine/core':

// 5.x expressions that will no longer work in 6.x createStyles((theme) => ({ demo: { // Values cannot longer be prepended with minus sign margin: -theme.spacing.xs,

// addition, subtraction, division, multiplication

</tr></table>

... (truncated)

Commits
  • 0b3744c [release] Version: 6.0.0
  • 4296005 [core] Prepare for major release
  • abce9df [release] Version: 6.0.0-alpha.8
  • 778d71b [release] Version: 6.0.0-alpha.7
  • a14314a [release] Version: 6.0.0-alpha.6
  • 3c5be6d [release] Version: 6.0.0-alpha.5
  • a7e2f96 [release] Version: 6.0.0-alpha.4
  • f90472c [release] Version: 6.0.0-alpha.3
  • 4ccaea5 [release] Version: 6.0.0-alpha.2
  • aa16e32 [release] Version: 6.0.0-alpha.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 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
local-weather ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 6, 2023 at 11:58AM (UTC)
dependabot[bot] commented 1 year ago

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