mirror of
https://github.com/evroon/bracket.git
synced 2026-03-09 10:40:43 -04:00
Bumps [@mantine/dates](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/dates) from 7.10.0 to 7.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mantinedev/mantine/releases"><code>@mantine/dates</code>'s releases</a>.</em></p> <blockquote> <h2>7.11.0 👁️</h2> <p><a href="https://mantine.dev/changelog/7-11-0">View changelog with demos on mantine.dev website</a></p> <h2>withProps function</h2> <p>All Mantine components now have <code>withProps</code> static function that can be used to add default props to the component:</p> <pre lang="tsx"><code>import { IMaskInput } from 'react-imask'; import { Button, InputBase } from '@mantine/core'; <p>const LinkButton = Button.withProps({ component: 'a', target: '_blank', rel: 'noreferrer', variant: 'subtle', });</p> <p>const PhoneInput = InputBase.withProps({ mask: '+7 (000) 000-0000', component: IMaskInput, label: 'Your phone number', placeholder: 'Your phone number', });</p> <p>function Demo() { return ( <> {/* You can pass additional props to components created with <code>withProps</code> */} <LinkButton href="<a href="https://mantine.dev&quot;&gt;Mantine">https://mantine.dev&quot;&gt;Mantine</a> website</LinkButton></p> <pre><code> {/* Component props override default props defined in `withProps` */} &lt;PhoneInput placeholder=&quot;Personal phone&quot; /&gt; &lt;/&gt; </code></pre> <p>); } </code></pre></p> <h2>Avatar initials</h2> <p><a href="https://mantine.dev/core/avatar">Avatar</a> component now supports displaying initials with auto generated color based on the given <code>name</code> value. To display initials instead of the default placeholder, set <code>name</code> prop to the name of the person, for example, <code>name="John Doe"</code>. If the name is set, you can use <code>color="initials"</code> to generate color based on the name:</p> <pre lang="tsx"><code>import { Avatar, Group } from '@mantine/core'; <p>const names = [ </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="4b58cb8097"><code>4b58cb8</code></a> [release] Version: 7.11.0</li> <li><a href="67e66d7eab"><code>67e66d7</code></a> [<code>@mantine/dates</code>] Add <code>highlightToday</code> prop support</li> <li><a href="2414345106"><code>2414345</code></a> [<code>@mantine/core</code>] Add Component.withProps support to all components</li> <li><a href="29f24e31d9"><code>29f24e3</code></a> [release] Version: 7.10.2</li> <li><a href="c659c3283f"><code>c659c32</code></a> [release] Version: 7.10.1</li> <li><a href="101a87c799"><code>101a87c</code></a> [mantine.dev] Fix typo (<a href="https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/dates/issues/6265">#6265</a>)</li> <li>See full diff in <a href="https://github.com/mantinedev/mantine/commits/7.11.0/packages/@mantine/dates">compare view</a></li> </ul> </details> <br /> [](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) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>