From 2a1a933b8c1c89ac99cb60e059b18d94af063177 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 07:40:33 +0200 Subject: [PATCH] Bump @mantine/notifications from 7.6.0 to 7.9.0 in /frontend (#704) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [@mantine/notifications](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/notifications) from 7.6.0 to 7.9.0.
Release notes

Sourced from @​mantine/notifications's releases.

7.9.0 ✨

View changelog with demos on mantine.dev website

@​mantine/emotion package

New @​mantine/emotion package is now available to simplify migration from 6.x to 7.x. It includes createStyles function and additional functionality for sx and styles props for all components similar to what was available in @mantine/core package in v6.

If you still haven't migrated to 7.x because of the change in styling approach, you can now have a smoother transition by using @mantine/emotion package. To learn more about the package, visit the documentation page and updated 6.x to 7.x migration guide.

import { rem } from '@mantine/core';
import { createStyles } from '@mantine/emotion';

const useStyles = createStyles((theme, _, u) => ({ wrapper: { maxWidth: rem(400), width: '100%', height: rem(180), display: 'flex', alignItems: 'center', justifyContent: 'center', marginLeft: 'auto', marginRight: 'auto', borderRadius: theme.radius.sm,

// Use light and dark selectors to change styles based on
color scheme
[u.light]: {
  backgroundColor: theme.colors.gray[1],
},

[u.dark]: {
  backgroundColor: theme.colors.dark[5],
},

// Reference theme.breakpoints in smallerThan and largerThan functions
[u.smallerThan('sm')]: {
  // Child reference in nested selectors via ref
  [`&amp; .${u.ref('child')}`]: {
    fontSize: theme.fontSizes.xs,
  },
},

},

child: { // Assign selector to a ref to reference it in other styles </tr></table>

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@mantine/notifications&package-manager=npm_and_yarn&previous-version=7.6.0&new-version=7.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) ---
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 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)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- frontend/package.json | 2 +- frontend/yarn.lock | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 8cb2e5ac7..9f9709111 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -27,7 +27,7 @@ "@mantine/form": "7.9.0", "@mantine/hooks": "7.6.0", "@mantine/next": "^6.0.21", - "@mantine/notifications": "7.6.0", + "@mantine/notifications": "7.9.0", "@mantine/spotlight": "7.6.0", "@next/bundle-analyzer": "^14.2.0", "@react-icons/all-files": "^4.1.0", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index fbb75a9b1..9d07c6fb7 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -862,12 +862,12 @@ "@mantine/ssr" "6.0.21" "@mantine/styles" "6.0.21" -"@mantine/notifications@7.6.0": - version "7.6.0" - resolved "https://registry.yarnpkg.com/@mantine/notifications/-/notifications-7.6.0.tgz#507a388406dd83d4ae9b507ddb60ee7c6c078111" - integrity sha512-zFo8Uyu8w7bdbkyWt4fNcHlhwm/UlFhdYflf5LFeEki5/ZxNvX1TDqEuaS2bDitnpzOi409BgCE9V0Shlj7RKw== +"@mantine/notifications@7.9.0": + version "7.9.0" + resolved "https://registry.yarnpkg.com/@mantine/notifications/-/notifications-7.9.0.tgz#2ff546c52d0da4289a61319ef9f06afbefb65174" + integrity sha512-jGwvPrLnHCQMmWuuiuLWr8mjVHnOoOlydqPSya9JB1FFJU+MJP+wP5ncKeIbAmu1h2VlOuGomToM6KzvxksUGw== dependencies: - "@mantine/store" "7.6.0" + "@mantine/store" "7.9.0" react-transition-group "4.4.5" "@mantine/spotlight@7.6.0": @@ -890,6 +890,11 @@ resolved "https://registry.yarnpkg.com/@mantine/store/-/store-7.6.0.tgz#ba9ea1f5f49ad4d8ad616a054bb803057a1bf46c" integrity sha512-S9QhuENdqLkwwsI9+KDFL64lY42FZqzQ55s2UTvV7jVDPkI3k13H76myL8X0IPSp952PuV3GwjOlh4RCWyk/4w== +"@mantine/store@7.9.0": + version "7.9.0" + resolved "https://registry.yarnpkg.com/@mantine/store/-/store-7.9.0.tgz#432c8dd7738ecefb815f51773895044d67ed5739" + integrity sha512-FzZkjdpy3PEh9sS6WgQ4cTVl9MvUbPRQ1nov8PV3JWWMlGOJHFuHeG6IYYGMc9f1oxu38/lryiKIYk3jcRgTSQ== + "@mantine/styles@6.0.21": version "6.0.21" resolved "https://registry.yarnpkg.com/@mantine/styles/-/styles-6.0.21.tgz#8ea097fc76cbb3ed55f5cfd719d2f910aff5031b"