Skip to content

Commit 3f9eab2

Browse files
Bump @mantine/form from 7.15.0 to 7.16.0 in /frontend (#1082)
Bumps [@mantine/form](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/form) from 7.15.0 to 7.16.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mantinedev/mantine/releases"><code>@​mantine/form</code>'s releases</a>.</em></p> <blockquote> <h2>7.16.0 🌶️</h2> <p><a href="https://mantine.dev/changelog/7-16-0">View changelog with demos on mantine.dev website</a></p> <h2>use-scroll-spy hook</h2> <p>New <a href="https://mantine.dev/hooks/use-scroll-spy">use-scroll-spy</a> hook tracks scroll position and returns index of the element that is currently in the viewport. It is useful for creating table of contents components (like in mantine.dev sidebar on the right side) and similar features.</p> <pre lang="tsx"><code>import { Text, UnstyledButton } from '@mantine/core'; import { useScrollSpy } from '@mantine/hooks'; <p>function Demo() { const spy = useScrollSpy({ selector: '#mdx :is(h1, h2, h3, h4, h5, h6)', });</p> <p>const headings = spy.data.map((heading, index) =&gt; ( &lt;li key={heading.id} style={{ listStylePosition: 'inside', paddingInlineStart: heading.depth * 20, background: index === spy.active ? 'var(--mantine-color-blue-light)' : undefined, }} &gt; &lt;UnstyledButton onClick={() =&gt; heading.getNode().scrollIntoView()}&gt; {heading.value} &lt;/UnstyledButton&gt; &lt;/li&gt; ));</p> <p>return ( &lt;div&gt; &lt;Text&gt;Scroll to heading:&lt;/Text&gt; &lt;ul style={{ margin: 0, padding: 0 }}&gt;{headings}&lt;/ul&gt; &lt;/div&gt; ); } </code></pre></p> <h2>TableOfContents component</h2> <p>New <a href="https://mantine.dev/core/table-of-contents">TableOfContents</a> component is built on top of <code>use-scroll-spy</code> hook and can be used to create table of contents components like the one on the right side of mantine.dev documentation sidebar:</p> <pre lang="tsx"><code>&lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mantinedev/mantine/commit/e8f7b01f85149e6f7d9776ef41703bab739f5d4d"><code>e8f7b01</code></a> [release] Version: 7.16.0</li> <li><a href="https://github.com/mantinedev/mantine/commit/75d2c252fb38b02420206cf270471d356488a740"><code>75d2c25</code></a> [release] Version: 7.15.3</li> <li><a href="https://github.com/mantinedev/mantine/commit/41b8186aee53aa84d62d3a602f39ac041c10aeef"><code>41b8186</code></a> [release] Version: 7.15.2</li> <li><a href="https://github.com/mantinedev/mantine/commit/296fb8f3a9b5ccf16f71d8beb499251027ca69ab"><code>296fb8f</code></a> [<code>@​mantine/form</code>] Fix incorrect validators types (<a href="https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/form/issues/7242">#7242</a>)</li> <li><a href="https://github.com/mantinedev/mantine/commit/7f47aef1953a197b0066cd7c26ea5e5a976cf052"><code>7f47aef</code></a> [release] Version: 7.15.1</li> <li><a href="https://github.com/mantinedev/mantine/commit/9b6524d5ae4181a67282b7a574958a742b5e7a23"><code>9b6524d</code></a> [<code>@​mantine/form</code>] Add <code>touchTrigger</code> option support</li> <li>See full diff in <a href="https://github.com/mantinedev/mantine/commits/7.16.0/packages/@mantine/form">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@mantine/form&package-manager=npm_and_yarn&previous-version=7.15.0&new-version=7.16.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) --- <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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 1afc177 commit 3f9eab2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@mantine/core": "7.12.1",
2525
"@mantine/dates": "7.12.1",
2626
"@mantine/dropzone": "7.12.1",
27-
"@mantine/form": "7.15.0",
27+
"@mantine/form": "7.16.0",
2828
"@mantine/hooks": "7.12.1",
2929
"@mantine/next": "^6.0.21",
3030
"@mantine/notifications": "7.12.1",

frontend/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -892,10 +892,10 @@
892892
dependencies:
893893
react-dropzone-esm "15.0.1"
894894

895-
"@mantine/form@7.15.0":
896-
version "7.15.0"
897-
resolved "https://registry.yarnpkg.com/@mantine/form/-/form-7.15.0.tgz#4894e2f79c0f2f563ef67b453eb109ce19a8cb6c"
898-
integrity sha512-gTn68Y8zXGI8zRw9EdVA00tiS5V3nQ7VkGmyAC45ZOfOpP0H9bFhnqFLM8vQHEtnLCmI3oU93zyVBUgjwlF19A==
895+
"@mantine/form@7.16.0":
896+
version "7.16.0"
897+
resolved "https://registry.yarnpkg.com/@mantine/form/-/form-7.16.0.tgz#13da5b5fe9dc5b952b9d4ee16e626e65cd3987e8"
898+
integrity sha512-PUxX5v8XMoNwjFdZbns4dDcQf8U9lIfagFsDGz3KKStgsuBcgnn97/MDP6SpsOHV3g7AGEJoF65+ax1fMOkkNA==
899899
dependencies:
900900
fast-deep-equal "^3.1.3"
901901
klona "^2.0.6"

0 commit comments

Comments
 (0)