From 06ab5ebac8f5c084b533eb5cd5c585ade6f7e042 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 28 Jun 2024 09:25:29 +0200 Subject: [PATCH] Bump @mantine/spotlight from 7.10.0 to 7.11.0 in /frontend (#791) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [@mantine/spotlight](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/spotlight) from 7.10.0 to 7.11.0.
Release notes

Sourced from @​mantine/spotlight's releases.

7.11.0 👁️

View changelog with demos on mantine.dev website

withProps function

All Mantine components now have withProps static function that can be used to add default props to the component:

import { IMaskInput } from 'react-imask';
import { Button, InputBase } from '@mantine/core';

const LinkButton = Button.withProps({ component: 'a', target: '_blank', rel: 'noreferrer', variant: 'subtle', });

const PhoneInput = InputBase.withProps({ mask: '+7 (000) 000-0000', component: IMaskInput, label: 'Your phone number', placeholder: 'Your phone number', });

function Demo() { return ( <> {/* You can pass additional props to components created with withProps */} <LinkButton href="https://mantine.dev&quot;&gt;Mantine website</LinkButton>

 {/* Component props override default props defined in
`withProps` */}
&lt;PhoneInput placeholder=&quot;Personal phone&quot;
/&gt;
&lt;/&gt;

); }

Avatar initials

Avatar component now supports displaying initials with auto generated color based on the given name value. To display initials instead of the default placeholder, set name prop to the name of the person, for example, name="John Doe". If the name is set, you can use color="initials" to generate color based on the name:

import { Avatar, Group } from '@mantine/core';

const names = [ </tr></table>

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@mantine/spotlight&package-manager=npm_and_yarn&previous-version=7.10.0&new-version=7.11.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, 6 insertions(+), 11 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 26204f85..f6164b3d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -28,7 +28,7 @@ "@mantine/hooks": "7.6.0", "@mantine/next": "^6.0.21", "@mantine/notifications": "7.11.0", - "@mantine/spotlight": "7.10.0", + "@mantine/spotlight": "7.11.0", "@next/bundle-analyzer": "^14.2.0", "@react-icons/all-files": "^4.1.0", "@tabler/icons-react": "^3.7.0", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 16819788..a50156d0 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -870,12 +870,12 @@ "@mantine/store" "7.11.0" react-transition-group "4.4.5" -"@mantine/spotlight@7.10.0": - version "7.10.0" - resolved "https://registry.yarnpkg.com/@mantine/spotlight/-/spotlight-7.10.0.tgz#dcf65ae9d85bcf35a694e48251ec2deb3500d2c2" - integrity sha512-gkoBdd+GbAZ3heKxBm3MRdVwEYEgAxc3F5va3i/4X+AbyJ9ZeutCcyA2SL6++ZDNrb3bmWJG4zfLwdKI799dXg== +"@mantine/spotlight@7.11.0": + version "7.11.0" + resolved "https://registry.yarnpkg.com/@mantine/spotlight/-/spotlight-7.11.0.tgz#3fed75aa2947eb7db717c2cd6363d6218e57a0bb" + integrity sha512-MKlm/JApbs08MIcaGHjGCKWygNLLY8Gz35rfjps4PP2fFENpqwMi5MDONU6B7ZpLzX0GRo1wV15HWbuk8n9BEA== dependencies: - "@mantine/store" "7.10.0" + "@mantine/store" "7.11.0" "@mantine/ssr@6.0.21": version "6.0.21" @@ -885,11 +885,6 @@ "@mantine/styles" "6.0.21" html-react-parser "1.4.12" -"@mantine/store@7.10.0": - version "7.10.0" - resolved "https://registry.yarnpkg.com/@mantine/store/-/store-7.10.0.tgz#68368c6ca5b75cfb331220e06a3235be753df055" - integrity sha512-B6AyUX0cA97/hI9v0att7eJJnQTcUG7zBlTdWhOsptBV5UoDNrzdv3DDWIFxrA8h+nhNKGBh6Dif5HWh1+QLeA== - "@mantine/store@7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@mantine/store/-/store-7.11.0.tgz#2b8921730486931fc0cd88a52886f11aebd858d9"