From 78b0e5e35a5ebc8199b076e6bc6cb52bbc0f96b3 Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 14:45:47 +0400 Subject: [PATCH 01/33] [@mantine/dropzone] Update `react-dropzone-esm` to the latest version --- apps/mantine.dev/package.json | 2 +- package.json | 2 +- packages/@mantine/dropzone/package.json | 2 +- yarn.lock | 14 +++++++------- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/mantine.dev/package.json b/apps/mantine.dev/package.json index fa1773c686..cd4e486180 100644 --- a/apps/mantine.dev/package.json +++ b/apps/mantine.dev/package.json @@ -71,7 +71,7 @@ "next-sitemap": "^4.2.3", "react": "^18.3.1", "react-dom": "^18.3.1", - "react-dropzone-esm": "15.0.1", + "react-dropzone-esm": "15.2.0", "react-number-format": "^5.4.2", "recharts": "^2.13.3", "remark-slug": "^7.0.1", diff --git a/package.json b/package.json index ddbd360da0..8f08773a35 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "klona": "^2.0.6", "lowlight": "^3.1.0", "react": "^18.3.1", - "react-dropzone-esm": "15.0.1", + "react-dropzone-esm": "15.2.0", "react-imask": "^7.6.1", "react-number-format": "^5.4.2", "react-remove-scroll": "^2.6.0", diff --git a/packages/@mantine/dropzone/package.json b/packages/@mantine/dropzone/package.json index 64349ff74d..c718e82956 100644 --- a/packages/@mantine/dropzone/package.json +++ b/packages/@mantine/dropzone/package.json @@ -50,7 +50,7 @@ "react-dom": "^18.x || ^19.x" }, "dependencies": { - "react-dropzone-esm": "15.0.1" + "react-dropzone-esm": "15.2.0" }, "devDependencies": { "@mantine-tests/core": "workspace:*", diff --git a/yarn.lock b/yarn.lock index a099f7e8e6..b43b670c23 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4130,7 +4130,7 @@ __metadata: "@mantine-tests/core": "workspace:*" "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" - react-dropzone-esm: "npm:15.0.1" + react-dropzone-esm: "npm:15.2.0" peerDependencies: "@mantine/core": 7.14.1 "@mantine/hooks": 7.14.1 @@ -10176,7 +10176,7 @@ __metadata: next-sitemap: "npm:^4.2.3" react: "npm:^18.3.1" react-dom: "npm:^18.3.1" - react-dropzone-esm: "npm:15.0.1" + react-dropzone-esm: "npm:15.2.0" react-number-format: "npm:^5.4.2" recharts: "npm:^2.13.3" remark-slug: "npm:^7.0.1" @@ -15585,7 +15585,7 @@ __metadata: prettier: "npm:^3.3.3" react: "npm:^18.3.1" react-dom: "npm:^18.3.1" - react-dropzone-esm: "npm:15.0.1" + react-dropzone-esm: "npm:15.2.0" react-imask: "npm:^7.6.1" react-number-format: "npm:^5.4.2" react-remove-scroll: "npm:^2.6.0" @@ -18978,14 +18978,14 @@ __metadata: languageName: node linkType: hard -"react-dropzone-esm@npm:15.0.1": - version: 15.0.1 - resolution: "react-dropzone-esm@npm:15.0.1" +"react-dropzone-esm@npm:15.2.0": + version: 15.2.0 + resolution: "react-dropzone-esm@npm:15.2.0" dependencies: prop-types: "npm:^15.8.1" peerDependencies: react: ">= 16.8 || 18.0.0" - checksum: 10c0/4bd7054a78a9d8b98d13f0abfbdec334e647c681ccb62c5c38fce72e1bace4cdb7d5eb22675ab2ce63f6cca11ec40c0e2081a28a725a38f331cf930abb170e7d + checksum: 10c0/a82dce547746f29214fa396e4060930250dd1b5f15c81e761035a05a09a1354493a90f79c1125c6341aee4b6226444bc7c7d29fc54ad266c149dfff170ef47a9 languageName: node linkType: hard From 836280e44de118a47f0d4c9759c6f3cde91187d2 Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 14:49:29 +0400 Subject: [PATCH 02/33] [@mantine/dates] Fix `defaultDate` prop being ignore in YearPickerInput and MonthPickerInput components (#7108) --- .../components/MonthPickerInput/MonthPickerInput.story.tsx | 3 +-- .../src/components/MonthPickerInput/MonthPickerInput.tsx | 5 +++-- .../src/components/YearPickerInput/YearPickerInput.story.tsx | 4 +--- .../dates/src/components/YearPickerInput/YearPickerInput.tsx | 5 +++-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/packages/@mantine/dates/src/components/MonthPickerInput/MonthPickerInput.story.tsx b/packages/@mantine/dates/src/components/MonthPickerInput/MonthPickerInput.story.tsx index e06f25df40..65b383f8bd 100644 --- a/packages/@mantine/dates/src/components/MonthPickerInput/MonthPickerInput.story.tsx +++ b/packages/@mantine/dates/src/components/MonthPickerInput/MonthPickerInput.story.tsx @@ -9,8 +9,7 @@ export function Usage() { ); diff --git a/packages/@mantine/dates/src/components/MonthPickerInput/MonthPickerInput.tsx b/packages/@mantine/dates/src/components/MonthPickerInput/MonthPickerInput.tsx index e59b056e2a..9e8f73763f 100644 --- a/packages/@mantine/dates/src/components/MonthPickerInput/MonthPickerInput.tsx +++ b/packages/@mantine/dates/src/components/MonthPickerInput/MonthPickerInput.tsx @@ -136,9 +136,10 @@ export const MonthPickerInput: MonthPickerInputComponent = factory ); diff --git a/packages/@mantine/dates/src/components/YearPickerInput/YearPickerInput.tsx b/packages/@mantine/dates/src/components/YearPickerInput/YearPickerInput.tsx index d8b82350e1..40124277b6 100644 --- a/packages/@mantine/dates/src/components/YearPickerInput/YearPickerInput.tsx +++ b/packages/@mantine/dates/src/components/YearPickerInput/YearPickerInput.tsx @@ -131,10 +131,11 @@ export const YearPickerInput: YearPickerInputComponent = factory Date: Tue, 19 Nov 2024 14:51:33 +0400 Subject: [PATCH 03/33] [@mantine/core] NavLink: Fix collapse for nested links being rendered even if there are no child links (#7133) --- packages/@mantine/core/src/components/NavLink/NavLink.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/@mantine/core/src/components/NavLink/NavLink.tsx b/packages/@mantine/core/src/components/NavLink/NavLink.tsx index 1450fa56f6..6111e062f5 100644 --- a/packages/@mantine/core/src/components/NavLink/NavLink.tsx +++ b/packages/@mantine/core/src/components/NavLink/NavLink.tsx @@ -223,9 +223,11 @@ export const NavLink = polymorphicFactory((_props, ref) => { )} - -
{children}
-
+ {withChildren && ( + +
{children}
+
+ )} ); }); From 21b6789518f9e2f8ec42129d590e5e5584973adb Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 15:01:20 +0400 Subject: [PATCH 04/33] [mantine.dev] Fix All releases link appearing twice in search --- apps/mantine.dev/src/mdx/data/mdx-meta-data.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/mantine.dev/src/mdx/data/mdx-meta-data.ts b/apps/mantine.dev/src/mdx/data/mdx-meta-data.ts index 949f5eedaa..57e323a7b3 100644 --- a/apps/mantine.dev/src/mdx/data/mdx-meta-data.ts +++ b/apps/mantine.dev/src/mdx/data/mdx-meta-data.ts @@ -187,5 +187,6 @@ export const MDX_META_DATA: Record = { title: 'All releases', slug: '/changelog/all-releases', hideHeader: true, + hideInSearch: true, }, }; From f3c72d6e7920d5deddc6e552ff49d087b459b36c Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 15:04:56 +0400 Subject: [PATCH 05/33] [mantine.dev] Add controlled rich text editor example --- apps/mantine.dev/src/pages/x/tiptap.mdx | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/apps/mantine.dev/src/pages/x/tiptap.mdx b/apps/mantine.dev/src/pages/x/tiptap.mdx index a3ea065b4a..f436d90099 100644 --- a/apps/mantine.dev/src/pages/x/tiptap.mdx +++ b/apps/mantine.dev/src/pages/x/tiptap.mdx @@ -32,6 +32,48 @@ you should look for documentation on [tiptap.dev](https://tiptap.dev/) website. +## Controlled + +To control editor state, create a wrapper component and pass `onChange` handler +to `useEditor` hook: + +```tsx +import { useEditor } from '@tiptap/react'; +import StarterKit from '@tiptap/starter-kit'; +import { RichTextEditor as MantineRichTextEditor } from '@mantine/tiptap'; + +interface RichTextEditorProps { + value: string; + onChange: (value: string) => void; +} + +export function RichTextEditor({ + value, + onChange, +}: RichTextEditorProps) { + const editor = useEditor({ + extensions: [StarterKit], + content: value, + onUpdate: ({ editor }) => { + onChange(editor.getHTML()); + }, + }); + + return ( + + + + + + + + + + + ); +} +``` + ## Controls and extensions Some controls require installation of additional [Tiptap extensions](https://tiptap.dev/extensions). From 951388c018ab5288c4166d6b7fb5162f4719de0e Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 15:06:44 +0400 Subject: [PATCH 06/33] [mantine.dev] Fix duplicated 7.11.1 version in all versions list --- packages/@mantinex/mantine-meta/src/versions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@mantinex/mantine-meta/src/versions.ts b/packages/@mantinex/mantine-meta/src/versions.ts index 9ab07f1407..119fc6c2f5 100644 --- a/packages/@mantinex/mantine-meta/src/versions.ts +++ b/packages/@mantinex/mantine-meta/src/versions.ts @@ -58,7 +58,7 @@ export const allVersions = [ date: 'August 12, 2024', }, { - version: '7.11.1', + version: '7.11.2', date: 'August 30, 2024', }, ], From 57906b9325a07ebdf9c66994f7136ca5ba86aeaf Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 15:08:32 +0400 Subject: [PATCH 07/33] [mantine.dev] Add help center link to footer --- apps/mantine.dev/src/components/Footer/data.ts | 4 ++-- packages/@mantinex/mantine-meta/src/meta.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/mantine.dev/src/components/Footer/data.ts b/apps/mantine.dev/src/components/Footer/data.ts index ffd69c0d9e..a1d25aac4a 100644 --- a/apps/mantine.dev/src/components/Footer/data.ts +++ b/apps/mantine.dev/src/components/Footer/data.ts @@ -8,7 +8,7 @@ export const FOOTER_LINKS_DATA: LinksGroupProps[] = [ { type: 'next', label: 'Contribute', link: '/contribute' }, { type: 'next', label: 'About Mantine', link: '/about' }, { type: 'next', label: 'Changelog', link: '/changelog/previous-versions' }, - { type: 'link', label: 'Releases', link: meta.gitHubLinks.releases }, + { type: 'link', label: 'GitHub Releases', link: meta.gitHubLinks.releases }, ], }, @@ -29,7 +29,7 @@ export const FOOTER_LINKS_DATA: LinksGroupProps[] = [ title: 'Project', data: [ { type: 'link', label: 'Mantine UI', link: meta.uiLink }, - { type: 'link', label: 'Documentation', link: meta.docsLink }, + { type: 'link', label: 'Help Center', link: meta.helpCenterLink }, { type: 'link', label: 'Github organization', link: meta.gitHubLinks.organization }, { type: 'link', label: 'npm organization', link: meta.npmLink }, ], diff --git a/packages/@mantinex/mantine-meta/src/meta.ts b/packages/@mantinex/mantine-meta/src/meta.ts index 96b79da68d..cd2bbc51f6 100644 --- a/packages/@mantinex/mantine-meta/src/meta.ts +++ b/packages/@mantinex/mantine-meta/src/meta.ts @@ -1,6 +1,7 @@ export const meta = { docsLink: 'https://mantine.dev', uiLink: 'https://ui.mantine.dev/', + helpCenterLink: 'https://help.mantine.dev', discordLink: 'https://discord.gg/wbH82zuWMN', twitterLink: 'https://x.com/mantinedev', From 66d4c8bfd968c4f518a5fff1e1fe42fc7aac95ab Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 15:10:14 +0400 Subject: [PATCH 08/33] [mantine.dev] Improve virtual colors demo --- .../demos/src/demos/theming/Theming.demo.virtualColors.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/@docs/demos/src/demos/theming/Theming.demo.virtualColors.tsx b/packages/@docs/demos/src/demos/theming/Theming.demo.virtualColors.tsx index 8bc6e8cbac..22cd569e3a 100644 --- a/packages/@docs/demos/src/demos/theming/Theming.demo.virtualColors.tsx +++ b/packages/@docs/demos/src/demos/theming/Theming.demo.virtualColors.tsx @@ -4,7 +4,7 @@ import { MantineDemo } from '@mantinex/demo'; const code = ` import { Box } from '@mantine/core'; -function Demo() { +export function Demo() { return ( This box has virtual background color, @@ -16,6 +16,7 @@ function Demo() { const appCode = ` import { createTheme, MantineProvider, virtualColor } from '@mantine/core'; +import { Demo } from './Demo'; const theme = createTheme({ colors: { @@ -30,7 +31,7 @@ const theme = createTheme({ function App() { return ( - {/* Your app here */} + ); } From e2d18ce561a8c309bf23591f7f432a9d102324fc Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 15:12:42 +0400 Subject: [PATCH 09/33] [@mantine/core] NumberInput: Fix increment/decrement controls not being visible if the value is number like string --- .../core/src/components/NumberInput/NumberInput.story.tsx | 2 +- .../@mantine/core/src/components/NumberInput/NumberInput.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@mantine/core/src/components/NumberInput/NumberInput.story.tsx b/packages/@mantine/core/src/components/NumberInput/NumberInput.story.tsx index 75f373ac4b..95269b0289 100644 --- a/packages/@mantine/core/src/components/NumberInput/NumberInput.story.tsx +++ b/packages/@mantine/core/src/components/NumberInput/NumberInput.story.tsx @@ -9,7 +9,7 @@ import { NumberInput, NumberInputHandlers } from './NumberInput'; export default { title: 'NumberInput' }; export function Usage() { - const [value, setValue] = useState(''); + const [value, setValue] = useState('133'); return (
Date: Tue, 19 Nov 2024 15:17:04 +0400 Subject: [PATCH 10/33] [@mantine/core] AngleSlider: Fix page being scrolled when the value is being changed on mobile --- .../@mantine/core/src/components/AngleSlider/AngleSlider.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/@mantine/core/src/components/AngleSlider/AngleSlider.tsx b/packages/@mantine/core/src/components/AngleSlider/AngleSlider.tsx index 22071392e5..f7c494f228 100644 --- a/packages/@mantine/core/src/components/AngleSlider/AngleSlider.tsx +++ b/packages/@mantine/core/src/components/AngleSlider/AngleSlider.tsx @@ -187,6 +187,7 @@ export const AngleSlider = factory((_props, ref) => { }, []); const handleTouchMove = useCallback((event: TouchEvent) => { + event.preventDefault(); update(event.touches[0] as any); }, []); @@ -196,6 +197,7 @@ export const AngleSlider = factory((_props, ref) => { }, []); const handleTouchStart = (event: React.TouchEvent) => { + event.preventDefault(); onTouchStart?.(event); beginTracking(); }; @@ -203,7 +205,7 @@ export const AngleSlider = factory((_props, ref) => { const beginTracking = () => { document.addEventListener('mousemove', handleMouseMove, false); document.addEventListener('mouseup', handleMouseUp, false); - document.addEventListener('touchmove', handleTouchMove, false); + document.addEventListener('touchmove', handleTouchMove, { passive: false }); document.addEventListener('touchend', handleTouchEnd, false); }; From 8cffda0267bab0529c5e371c5d8d182173e40377 Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 15:19:37 +0400 Subject: [PATCH 11/33] [@mantine/core] FileInput: Add missing `component` prop --- .../@mantine/core/src/components/FileInput/FileInput.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/@mantine/core/src/components/FileInput/FileInput.tsx b/packages/@mantine/core/src/components/FileInput/FileInput.tsx index 99c58d3079..7a3bcedecd 100644 --- a/packages/@mantine/core/src/components/FileInput/FileInput.tsx +++ b/packages/@mantine/core/src/components/FileInput/FileInput.tsx @@ -11,6 +11,8 @@ export interface FileInputProps __BaseInputProps, StylesApiProps, ElementProps<'button', 'value' | 'defaultValue' | 'onChange' | 'placeholder'> { + component?: any; + /** Called when value changes */ onChange?: (payload: Multiple extends true ? File[] : File | null) => void; @@ -95,6 +97,7 @@ const _FileInput = factory((_props, ref) => { rightSection, size, placeholder, + component, resetRef: resetRefProp, ...others } = props; @@ -144,7 +147,7 @@ const _FileInput = factory((_props, ref) => { > {(fileButtonProps) => ( Date: Tue, 19 Nov 2024 15:21:03 +0400 Subject: [PATCH 12/33] [@mantine/tiptap] Fix disabled controls having hover effects and pointer cursor --- packages/@mantine/tiptap/src/RichTextEditor.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@mantine/tiptap/src/RichTextEditor.module.css b/packages/@mantine/tiptap/src/RichTextEditor.module.css index 08a0065374..b6cf267f0e 100644 --- a/packages/@mantine/tiptap/src/RichTextEditor.module.css +++ b/packages/@mantine/tiptap/src/RichTextEditor.module.css @@ -185,7 +185,7 @@ } } - &:where([data-interactive]) { + &:where([data-interactive]:not([data-disabled])) { cursor: pointer; @mixin hover { From 83cd3aa9c27cf309ccc59d0548237a1d4e08138e Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 15:23:47 +0400 Subject: [PATCH 13/33] [@mantine/tiptap] Fix too specific styles that prevented controls border-radius override without !important --- packages/@mantine/tiptap/src/RichTextEditor.module.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/@mantine/tiptap/src/RichTextEditor.module.css b/packages/@mantine/tiptap/src/RichTextEditor.module.css index b6cf267f0e..04ff886199 100644 --- a/packages/@mantine/tiptap/src/RichTextEditor.module.css +++ b/packages/@mantine/tiptap/src/RichTextEditor.module.css @@ -213,19 +213,19 @@ display: flex; background-color: var(--mantine-color-body); - & [data-rich-text-editor-control] { + & :where([data-rich-text-editor-control]) { border-radius: 0; - &:not(:last-of-type) { + &:where(:not(:last-of-type)) { border-inline-end-width: 0; } - &:last-of-type { + &:where(:last-of-type) { border-start-end-radius: var(--mantine-radius-default); border-end-end-radius: var(--mantine-radius-default); } - &:first-of-type { + &:where(:first-of-type) { border-start-start-radius: var(--mantine-radius-default); border-end-start-radius: var(--mantine-radius-default); } From 07fed8cd247855f71c1afad0cb62ef169f24a593 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 19 Nov 2024 14:30:37 +0100 Subject: [PATCH 14/33] [@mantine/modals] Add `updateModal` and `updateContextModal` functions (#7104) * Update index.ts * add updateModal and updateContextModal * update storybook example * update formatting with prettier * open modal documentation * Update events.ts * Update events.ts * Update events.ts * Update Modals.demo.updateModal.tsx * update modal docs * wip context modal documentation * finish context modal documentation * Update Modals.demo.updateContextModal.tsx * formatting --- .../ModalsProviderDemo/ModalsProviderDemo.tsx | 27 +++- apps/mantine.dev/src/pages/x/modals.mdx | 12 +- .../modals/Modals.demo.updateContextModal.tsx | 116 ++++++++++++++++++ .../demos/modals/Modals.demo.updateModal.tsx | 65 ++++++++++ .../src/demos/modals/Modals.demos.story.tsx | 10 ++ .../@docs/demos/src/demos/modals/index.ts | 2 + packages/@mantine/modals/src/Modals.story.tsx | 100 ++++++++++++++- .../@mantine/modals/src/ModalsProvider.tsx | 22 ++++ packages/@mantine/modals/src/context.ts | 2 + packages/@mantine/modals/src/events.ts | 50 ++++++-- packages/@mantine/modals/src/index.ts | 2 + packages/@mantine/modals/src/reducer.ts | 56 ++++++++- 12 files changed, 444 insertions(+), 20 deletions(-) create mode 100644 packages/@docs/demos/src/demos/modals/Modals.demo.updateContextModal.tsx create mode 100644 packages/@docs/demos/src/demos/modals/Modals.demo.updateModal.tsx diff --git a/apps/mantine.dev/src/components/ModalsProviderDemo/ModalsProviderDemo.tsx b/apps/mantine.dev/src/components/ModalsProviderDemo/ModalsProviderDemo.tsx index 80d7d65f12..631af52303 100644 --- a/apps/mantine.dev/src/components/ModalsProviderDemo/ModalsProviderDemo.tsx +++ b/apps/mantine.dev/src/components/ModalsProviderDemo/ModalsProviderDemo.tsx @@ -1,4 +1,5 @@ -import { Button, Text } from '@mantine/core'; +import { IconCheck } from '@tabler/icons-react'; +import { Button, Center, Loader, rem, Stack, Text } from '@mantine/core'; import { ContextModalProps, ModalsProvider } from '@mantine/modals'; interface ModalsProviderDemoProps { @@ -18,11 +19,33 @@ const demonstrationModal = ({ ); +const asyncDemonstrationModal = ({ + context, + id, + innerProps, +}: ContextModalProps<{ modalBody: string; loading: boolean }>) => ( + <> + + {innerProps.modalBody} +
+ {innerProps.loading ? ( + + ) : ( + + )} +
+
+ + +); + export function ModalsProviderDemo({ children }: ModalsProviderDemoProps) { return ( {children} diff --git a/apps/mantine.dev/src/pages/x/modals.mdx b/apps/mantine.dev/src/pages/x/modals.mdx index ebc855c39b..285ed0e7f4 100644 --- a/apps/mantine.dev/src/pages/x/modals.mdx +++ b/apps/mantine.dev/src/pages/x/modals.mdx @@ -175,10 +175,12 @@ props: ## Dynamic Content and the modals manager -Note that when using the Modals manager, dynamic content is not supported. -Once modal is opened, a snapshot is saved into internal state and cannot be updated. +The Modals manager allows you to dynamically update the content and properties of both standard and context modals after they are opened. -If you intend to have dynamic content in modals, either: +To update regular modals, use the `modals.updateModal` function: -- Use internal component state, or -- Use the modal component instead of modals manager + + +Context modals can also be updated dynamically using `modals.updateContextModal`: + + diff --git a/packages/@docs/demos/src/demos/modals/Modals.demo.updateContextModal.tsx b/packages/@docs/demos/src/demos/modals/Modals.demo.updateContextModal.tsx new file mode 100644 index 0000000000..edf1ddd3aa --- /dev/null +++ b/packages/@docs/demos/src/demos/modals/Modals.demo.updateContextModal.tsx @@ -0,0 +1,116 @@ +import { Button } from '@mantine/core'; +import { modals } from '@mantine/modals'; +import { MantineDemo } from '@mantinex/demo'; + +const code = ` +import { Button, Text, Stack, Center, Loader, rem } from '@mantine/core'; +import { modals, ContextModalProps, ModalsProvider } from '@mantine/modals'; +import { IconCheck } from '@tabler/icons-react'; + +const TestModal = ({ + context, + id, + innerProps, +}: ContextModalProps<{ modalBody: string, loading: boolean }>) => ( + <> + + {innerProps.modalBody} +
+ {innerProps.loading ? ( + + ): ( + + )} +
+
+ + +); + +function Demo() { + return ( + + + + ); +} +`; + +function Demo() { + return ( + + ); +} + +export const updateContextModal: MantineDemo = { + type: 'code', + centered: true, + component: Demo, + code, +}; diff --git a/packages/@docs/demos/src/demos/modals/Modals.demo.updateModal.tsx b/packages/@docs/demos/src/demos/modals/Modals.demo.updateModal.tsx new file mode 100644 index 0000000000..926d3f35de --- /dev/null +++ b/packages/@docs/demos/src/demos/modals/Modals.demo.updateModal.tsx @@ -0,0 +1,65 @@ +import { Button, Text } from '@mantine/core'; +import { modals } from '@mantine/modals'; +import { MantineDemo } from '@mantinex/demo'; + +const code = ` +import { Button } from '@mantine/core'; +import { modals } from '@mantine/modals'; + +function Demo() { + return ( + + ); +} +`; + +function Demo() { + return ( + + ); +} + +export const updateModal: MantineDemo = { + type: 'code', + centered: true, + component: Demo, + code, +}; diff --git a/packages/@docs/demos/src/demos/modals/Modals.demos.story.tsx b/packages/@docs/demos/src/demos/modals/Modals.demos.story.tsx index 217a47cde8..8e52eecc64 100644 --- a/packages/@docs/demos/src/demos/modals/Modals.demos.story.tsx +++ b/packages/@docs/demos/src/demos/modals/Modals.demos.story.tsx @@ -32,3 +32,13 @@ export const Demo_modalProps = { name: '⭐ Demo: modalProps', render: renderDemo(demos.modalProps), }; + +export const Demo_updateModal = { + name: '⭐ Demo: updateModal', + render: renderDemo(demos.updateModal), +}; + +export const Demo_updateContextModal = { + name: '⭐ Demo: updateContextModal', + render: renderDemo(demos.updateContextModal), +}; diff --git a/packages/@docs/demos/src/demos/modals/index.ts b/packages/@docs/demos/src/demos/modals/index.ts index bf1fce4d07..707b7e419e 100644 --- a/packages/@docs/demos/src/demos/modals/index.ts +++ b/packages/@docs/demos/src/demos/modals/index.ts @@ -4,3 +4,5 @@ export { confirmCustomize } from './Modals.demo.confirmCustomize'; export { multipleSteps } from './Modals.demo.multipleSteps'; export { content } from './Modals.demo.content'; export { modalProps } from './Modals.demo.modalProps'; +export { updateModal } from './Modals.demo.updateModal'; +export { updateContextModal } from './Modals.demo.updateContextModal'; diff --git a/packages/@mantine/modals/src/Modals.story.tsx b/packages/@mantine/modals/src/Modals.story.tsx index f7a297d2de..a781ebc7c6 100644 --- a/packages/@mantine/modals/src/Modals.story.tsx +++ b/packages/@mantine/modals/src/Modals.story.tsx @@ -71,7 +71,7 @@ export function Usage() { confirmProps: { color: 'red' }, closeOnConfirm: false, children: ( - + Lorem ipsum dolor sit amet consectetur adipisicing elit. Ratione magnam modi vitae molestias unde tempora exercitationem fugit, ex repellat doloribus maiores facilis quo quis, itaque temporibus obcaecati vel iusto praesentium. @@ -175,3 +175,101 @@ export function closeAll() { ); } + +const AsyncProcessingModal = ({ + context, + id, + innerProps, +}: ContextModalProps<{ modalBody: string; disabled: boolean }>) => ( + <> + + {innerProps.modalBody} + + + +); + +function UpdateContextModal() { + const modals = useModals(); + + const handleOpenAsyncConfirmModal = () => { + const modalId = modals.openContextModal('asyncProcessing', { + title: 'Processing...', + innerProps: { + modalBody: 'You cannot close the modal during this operation.', + disabled: true, + }, + closeButtonProps: { disabled: true }, + closeOnEscape: false, + closeOnClickOutside: false, + onClose: () => console.log('Async context modal closed'), + }); + + setTimeout(() => { + modals.updateContextModal({ + modalId, + title: 'Processing Complete!', + closeButtonProps: { disabled: false }, + closeOnEscape: true, + closeOnClickOutside: true, + innerProps: { + modalBody: 'Processing complete. You can now close the modal.', + disabled: false, + }, + }); + }, 2000); + }; + + return ( + + ); +} + +function UpdateModal() { + const modals = useModals(); + + const handleOpenUpdatableModal = () => { + const modalId = modals.openModal({ + title: 'Initial Modal Title', + children: ( + + This modal will update after 2 seconds. + + ), + onClose: () => console.log('Modal closed'), + }); + + setTimeout(() => { + modals.updateModal({ + modalId, + title: 'Updated Modal Title', + children: ( + + Huzzah! The text and title updated. + + ), + }); + }, 2000); + }; + + return ( + + ); +} + +export function UpdateExample() { + return ( + + + + + + + ); +} diff --git a/packages/@mantine/modals/src/ModalsProvider.tsx b/packages/@mantine/modals/src/ModalsProvider.tsx index 3aae5d866b..5fa59d7925 100644 --- a/packages/@mantine/modals/src/ModalsProvider.tsx +++ b/packages/@mantine/modals/src/ModalsProvider.tsx @@ -136,6 +136,24 @@ export function ModalsProvider({ children, modalProps, labels, modals }: ModalsP [stateRef, dispatch] ); + const updateModal = useCallback( + ({ modalId, ...newProps }: Partial & { modalId: string }) => { + dispatch({ + type: 'UPDATE', + modalId, + newProps, + }); + }, + [dispatch] + ); + + const updateContextModal = useCallback( + (payload: { modalId: string } & Partial>) => { + dispatch({ type: 'UPDATE', modalId: payload.modalId, newProps: payload }); + }, + [dispatch] + ); + useModalsEvents({ openModal, openConfirmModal, @@ -143,6 +161,8 @@ export function ModalsProvider({ children, modalProps, labels, modals }: ModalsP closeModal, closeContextModal: closeModal, closeAllModals: closeAll, + updateModal, + updateContextModal, }); const ctx: ModalsContextProps = { @@ -153,6 +173,8 @@ export function ModalsProvider({ children, modalProps, labels, modals }: ModalsP closeModal, closeContextModal: closeModal, closeAll, + updateModal, + updateContextModal, }; const getCurrentModal = () => { diff --git a/packages/@mantine/modals/src/context.ts b/packages/@mantine/modals/src/context.ts index 479735e044..2445481948 100644 --- a/packages/@mantine/modals/src/context.ts +++ b/packages/@mantine/modals/src/context.ts @@ -34,6 +34,8 @@ export interface ModalsContextProps { closeModal: (id: string, canceled?: boolean) => void; closeContextModal: (id: TKey, canceled?: boolean) => void; closeAll: () => void; + updateModal: (payload: { modalId: string } & Partial) => void; + updateContextModal: (payload: { modalId: string } & Partial>) => void; } export interface MantineModalsOverride {} diff --git a/packages/@mantine/modals/src/events.ts b/packages/@mantine/modals/src/events.ts index 42c16cf65f..071d840547 100644 --- a/packages/@mantine/modals/src/events.ts +++ b/packages/@mantine/modals/src/events.ts @@ -1,4 +1,5 @@ import { createUseExternalEvents } from '@mantine/core'; +import { randomId } from '@mantine/hooks'; import { MantineModal, MantineModals, @@ -8,29 +9,54 @@ import { } from './context'; type ModalsEvents = { - openModal: (payload: ModalSettings) => void; + openModal: (payload: ModalSettings) => string; + openConfirmModal: (payload: OpenConfirmModal) => string; + openContextModal: ( + payload: OpenContextModal[0]['innerProps']> & { modal: TKey } + ) => string; closeModal: (id: string) => void; closeContextModal: (id: TKey) => void; closeAllModals: () => void; - openConfirmModal: (payload: OpenConfirmModal) => void; - openContextModal: ( - payload: OpenContextModal[0]['innerProps']> & { modal: TKey } - ) => void; + updateModal: (payload: { modalId: string } & Partial) => void; + updateContextModal: (payload: { modalId: string } & Partial>) => void; }; export const [useModalsEvents, createEvent] = createUseExternalEvents('mantine-modals'); -export const openModal = createEvent('openModal'); +export const openModal: ModalsEvents['openModal'] = (payload) => { + const id = payload.modalId || randomId(); + createEvent('openModal')({ ...payload, modalId: id }); + return id; +}; + +export const openConfirmModal: ModalsEvents['openConfirmModal'] = (payload) => { + const id = payload.modalId || randomId(); + createEvent('openConfirmModal')({ ...payload, modalId: id }); + return id; +}; + +export const openContextModal: ModalsEvents['openContextModal'] = ( + payload: OpenContextModal[0]['innerProps']> & { modal: TKey } +) => { + const id = payload.modalId || randomId(); + createEvent('openContextModal')({ ...payload, modalId: id }); + return id; +}; + export const closeModal = createEvent('closeModal'); + export const closeContextModal: ModalsEvents['closeContextModal'] = ( id: TKey ) => createEvent('closeContextModal')(id); + export const closeAllModals = createEvent('closeAllModals'); -export const openConfirmModal = createEvent('openConfirmModal'); -export const openContextModal: ModalsEvents['openContextModal'] = ( - payload: OpenContextModal[0]['innerProps']> & { modal: TKey } -) => createEvent('openContextModal')(payload); + +export const updateModal = (payload: { modalId: string } & Partial) => + createEvent('updateModal')(payload); + +export const updateContextModal = (payload: { modalId: string } & Partial>) => + createEvent('updateContextModal')(payload); export const modals: { open: ModalsEvents['openModal']; @@ -38,10 +64,14 @@ export const modals: { closeAll: ModalsEvents['closeAllModals']; openConfirmModal: ModalsEvents['openConfirmModal']; openContextModal: ModalsEvents['openContextModal']; + updateModal: ModalsEvents['updateModal']; + updateContextModal: ModalsEvents['updateContextModal']; } = { open: openModal, close: closeModal, closeAll: closeAllModals, openConfirmModal, openContextModal, + updateModal, + updateContextModal, }; diff --git a/packages/@mantine/modals/src/index.ts b/packages/@mantine/modals/src/index.ts index f7b143aced..6129650f59 100644 --- a/packages/@mantine/modals/src/index.ts +++ b/packages/@mantine/modals/src/index.ts @@ -6,6 +6,8 @@ export { closeAllModals, openConfirmModal, openContextModal, + updateModal, + updateContextModal, modals, } from './events'; diff --git a/packages/@mantine/modals/src/reducer.ts b/packages/@mantine/modals/src/reducer.ts index d2091abd68..abfe6bd9aa 100644 --- a/packages/@mantine/modals/src/reducer.ts +++ b/packages/@mantine/modals/src/reducer.ts @@ -1,4 +1,4 @@ -import { ModalState } from './context'; +import { ModalSettings, ModalState, OpenContextModal } from './context'; interface ModalsState { modals: ModalState[]; @@ -26,6 +26,12 @@ interface CloseAllAction { canceled?: boolean; } +interface UpdateAction { + type: 'UPDATE'; + modalId: string; + newProps: Partial; +} + function handleCloseModal(modal: ModalState, canceled?: boolean) { if (canceled && modal.type === 'confirm') { modal.props.onCancel?.(); @@ -36,7 +42,7 @@ function handleCloseModal(modal: ModalState, canceled?: boolean) { export function modalsReducer( state: ModalsState, - action: OpenAction | CloseAction | CloseAllAction + action: OpenAction | CloseAction | CloseAllAction | UpdateAction ): ModalsState { switch (action.type) { case 'OPEN': { @@ -78,6 +84,52 @@ export function modalsReducer( modals: [], }; } + case 'UPDATE': { + const { modalId, newProps } = action; + + const updatedModals = state.modals.map((modal) => { + if (modal.id !== modalId) { + return modal; + } + + if (modal.type === 'content' || modal.type === 'confirm') { + return { + ...modal, + props: { + ...modal.props, + ...newProps, + }, + }; + } + + if (modal.type === 'context') { + return { + ...modal, + props: { + ...modal.props, + ...newProps, + innerProps: { + ...modal.props.innerProps, + ...(newProps as Partial>).innerProps, + }, + }, + }; + } + + return modal; + }); + + const currentModal = + state.current?.id === modalId + ? updatedModals.find((modal) => modal.id === modalId) || state.current + : state.current; + + return { + ...state, + modals: updatedModals, + current: currentModal, + }; + } default: { return state; } From 6166177bdc2005970f77a9e40d6b0db5baaa6fdd Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 17:39:33 +0400 Subject: [PATCH 15/33] [core] Replace execa with zx --- package.json | 4 +- scripts/build/generate-dts.ts | 4 +- scripts/plop/index.ts | 4 +- scripts/publish/publish-package.ts | 6 +- scripts/release/index.ts | 4 +- yarn.lock | 123 +++++++---------------------- 6 files changed, 38 insertions(+), 107 deletions(-) diff --git a/package.json b/package.json index 8f08773a35..21a55be70d 100644 --- a/package.json +++ b/package.json @@ -151,7 +151,6 @@ "eslint-plugin-jest": "^28.9.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.2", - "execa": "^8.0.1", "fast-glob": "^3.3.2", "fs-extra": "^11.2.0", "gh-pages": "^6.2.0", @@ -193,7 +192,8 @@ "version-next": "^1.0.2", "webpack": "^5.96.1", "wrangler": "^3.84.1", - "yargs": "^17.7.2" + "yargs": "^17.7.2", + "zx": "^8.2.2" }, "resolutions": { "prosemirror-model": "1.18.1", diff --git a/scripts/build/generate-dts.ts b/scripts/build/generate-dts.ts index 46fae8be63..5d17843f33 100644 --- a/scripts/build/generate-dts.ts +++ b/scripts/build/generate-dts.ts @@ -1,9 +1,9 @@ import path from 'node:path'; -import { execa } from 'execa'; import fs from 'fs-extra'; +import { $ } from 'zx'; export async function generateDts(packagePath: string) { - await execa('yarn', ['tsc', '--project', path.join(packagePath, 'tsconfig.build.json')]); + await $`yarn tsc --project ${path.join(packagePath, 'tsconfig.build.json')}`; // Duplicate the type definitions for ESM await fs.copy( diff --git a/scripts/plop/index.ts b/scripts/plop/index.ts index b2b06ab8d2..8240335fdb 100644 --- a/scripts/plop/index.ts +++ b/scripts/plop/index.ts @@ -1,8 +1,8 @@ import path from 'node:path'; import chalk from 'chalk'; -import { execa } from 'execa'; import fs from 'fs-extra'; import { argv } from 'yargs'; +import { $ } from 'zx'; import { getPath } from '../utils/get-path'; import { createLogger } from '../utils/signale'; @@ -54,4 +54,4 @@ fs.writeFileSync(path.join(packagePath, 'tsconfig.build.json'), replacePlacehold logger.success(`Package ${chalk.cyan(packageName)} has been created`); -execa('yarn'); +$`yarn`; diff --git a/scripts/publish/publish-package.ts b/scripts/publish/publish-package.ts index 578ddf8385..665a5d6856 100644 --- a/scripts/publish/publish-package.ts +++ b/scripts/publish/publish-package.ts @@ -1,5 +1,5 @@ import chalk from 'chalk'; -import { execa } from 'execa'; +import { $ } from 'zx'; import { createLogger } from '../utils/signale'; const logger = createLogger('publish-package'); @@ -12,9 +12,7 @@ interface PublishPackage { export async function publishPackage({ packagePath, name, tag }: PublishPackage) { try { - await execa('npm', ['publish', '--access', 'public', '--tag', tag], { - cwd: packagePath, - }); + $`cd ${packagePath} && npm publish --access public --tag ${tag}`; logger.success(`Package ${chalk.cyan(name)} has been published`); } catch (error: any) { logger.error(`Failed to publish package ${chalk.red(name)}`); diff --git a/scripts/release/index.ts b/scripts/release/index.ts index e0137d0164..4e62ba0fb1 100644 --- a/scripts/release/index.ts +++ b/scripts/release/index.ts @@ -1,9 +1,9 @@ import chalk from 'chalk'; -import { execa } from 'execa'; import simpleGit from 'simple-git'; import { getNextVersion } from 'version-next'; import { hideBin } from 'yargs/helpers'; import yargs from 'yargs/yargs'; +import { $ } from 'zx'; import packageJson from '../../package.json'; import { buildAllPackages } from '../build/build-all-packages'; import { getMantinePackagesList } from '../packages/get-packages-list'; @@ -65,7 +65,7 @@ async function release() { logger.success('All packages have been published successfully'); - await execa('yarn'); + await $`yarn`; await git.add([ getPath('packages'), getPath('package.json'), diff --git a/yarn.lock b/yarn.lock index b43b670c23..c1363bdc8b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6191,7 +6191,7 @@ __metadata: languageName: node linkType: hard -"@types/fs-extra@npm:^11.0.4": +"@types/fs-extra@npm:>=11, @types/fs-extra@npm:^11.0.4": version: 11.0.4 resolution: "@types/fs-extra@npm:11.0.4" dependencies: @@ -6473,6 +6473,15 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:>=20, @types/node@npm:^22.0.0": + version: 22.9.0 + resolution: "@types/node@npm:22.9.0" + dependencies: + undici-types: "npm:~6.19.8" + checksum: 10c0/3f46cbe0a49bab4ba30494025e4c8a6e699b98ac922857aa1f0209ce11a1313ee46e6808b8f13fe5b8b960a9d7796b77c8d542ad4e9810e85ef897d5593b5d51 + languageName: node + linkType: hard + "@types/node@npm:^20.9.0": version: 20.9.0 resolution: "@types/node@npm:20.9.0" @@ -6482,15 +6491,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^22.0.0": - version: 22.9.0 - resolution: "@types/node@npm:22.9.0" - dependencies: - undici-types: "npm:~6.19.8" - checksum: 10c0/3f46cbe0a49bab4ba30494025e4c8a6e699b98ac922857aa1f0209ce11a1313ee46e6808b8f13fe5b8b960a9d7796b77c8d542ad4e9810e85ef897d5593b5d51 - languageName: node - linkType: hard - "@types/parse-json@npm:^4.0.0": version: 4.0.0 resolution: "@types/parse-json@npm:4.0.0" @@ -11533,23 +11533,6 @@ __metadata: languageName: node linkType: hard -"execa@npm:^8.0.1": - version: 8.0.1 - resolution: "execa@npm:8.0.1" - dependencies: - cross-spawn: "npm:^7.0.3" - get-stream: "npm:^8.0.1" - human-signals: "npm:^5.0.0" - is-stream: "npm:^3.0.0" - merge-stream: "npm:^2.0.0" - npm-run-path: "npm:^5.1.0" - onetime: "npm:^6.0.0" - signal-exit: "npm:^4.1.0" - strip-final-newline: "npm:^3.0.0" - checksum: 10c0/2c52d8775f5bf103ce8eec9c7ab3059909ba350a5164744e9947ed14a53f51687c040a250bda833f906d1283aa8803975b84e6c8f7a7c42f99dc8ef80250d1af - languageName: node - linkType: hard - "exit-hook@npm:^2.2.1": version: 2.2.1 resolution: "exit-hook@npm:2.2.1" @@ -12312,13 +12295,6 @@ __metadata: languageName: node linkType: hard -"get-stream@npm:^8.0.1": - version: 8.0.1 - resolution: "get-stream@npm:8.0.1" - checksum: 10c0/5c2181e98202b9dae0bb4a849979291043e5892eb40312b47f0c22b9414fc9b28a3b6063d2375705eb24abc41ecf97894d9a51f64ff021511b504477b27b4290 - languageName: node - linkType: hard - "get-symbol-description@npm:^1.0.0": version: 1.0.0 resolution: "get-symbol-description@npm:1.0.0" @@ -13116,13 +13092,6 @@ __metadata: languageName: node linkType: hard -"human-signals@npm:^5.0.0": - version: 5.0.0 - resolution: "human-signals@npm:5.0.0" - checksum: 10c0/5a9359073fe17a8b58e5a085e9a39a950366d9f00217c4ff5878bd312e09d80f460536ea6a3f260b5943a01fe55c158d1cea3fc7bee3d0520aeef04f6d915c82 - languageName: node - linkType: hard - "iconv-lite@npm:0.6.3, iconv-lite@npm:^0.6.2": version: 0.6.3 resolution: "iconv-lite@npm:0.6.3" @@ -13863,13 +13832,6 @@ __metadata: languageName: node linkType: hard -"is-stream@npm:^3.0.0": - version: 3.0.0 - resolution: "is-stream@npm:3.0.0" - checksum: 10c0/eb2f7127af02ee9aa2a0237b730e47ac2de0d4e76a4a905a50a11557f2339df5765eaea4ceb8029f1efa978586abe776908720bfcb1900c20c6ec5145f6f29d8 - languageName: node - linkType: hard - "is-string@npm:^1.0.5": version: 1.0.6 resolution: "is-string@npm:1.0.6" @@ -15559,7 +15521,6 @@ __metadata: eslint-plugin-jest: "npm:^28.9.0" eslint-plugin-jsx-a11y: "npm:^6.10.2" eslint-plugin-react: "npm:^7.37.2" - execa: "npm:^8.0.1" fast-deep-equal: "npm:^3.1.3" fast-glob: "npm:^3.3.2" fs-extra: "npm:^11.2.0" @@ -15617,6 +15578,7 @@ __metadata: webpack: "npm:^5.96.1" wrangler: "npm:^3.84.1" yargs: "npm:^17.7.2" + zx: "npm:^8.2.2" languageName: unknown linkType: soft @@ -16349,13 +16311,6 @@ __metadata: languageName: node linkType: hard -"mimic-fn@npm:^4.0.0": - version: 4.0.0 - resolution: "mimic-fn@npm:4.0.0" - checksum: 10c0/de9cc32be9996fd941e512248338e43407f63f6d497abe8441fa33447d922e927de54d4cc3c1a3c6d652857acd770389d5a3823f311a744132760ce2be15ccbf - languageName: node - linkType: hard - "min-indent@npm:^1.0.0, min-indent@npm:^1.0.1": version: 1.0.1 resolution: "min-indent@npm:1.0.1" @@ -16949,15 +16904,6 @@ __metadata: languageName: node linkType: hard -"npm-run-path@npm:^5.1.0": - version: 5.1.0 - resolution: "npm-run-path@npm:5.1.0" - dependencies: - path-key: "npm:^4.0.0" - checksum: 10c0/ff6d77514489f47fa1c3b1311d09cd4b6d09a874cc1866260f9dea12cbaabda0436ed7f8c2ee44d147bf99a3af29307c6f63b0f83d242b0b6b0ab25dff2629e3 - languageName: node - linkType: hard - "nth-check@npm:^2.0.1": version: 2.1.1 resolution: "nth-check@npm:2.1.1" @@ -17161,15 +17107,6 @@ __metadata: languageName: node linkType: hard -"onetime@npm:^6.0.0": - version: 6.0.0 - resolution: "onetime@npm:6.0.0" - dependencies: - mimic-fn: "npm:^4.0.0" - checksum: 10c0/4eef7c6abfef697dd4479345a4100c382d73c149d2d56170a54a07418c50816937ad09500e1ed1e79d235989d073a9bade8557122aee24f0576ecde0f392bb6c - languageName: node - linkType: hard - "open@npm:^10.1.0": version: 10.1.0 resolution: "open@npm:10.1.0" @@ -17533,13 +17470,6 @@ __metadata: languageName: node linkType: hard -"path-key@npm:^4.0.0": - version: 4.0.0 - resolution: "path-key@npm:4.0.0" - checksum: 10c0/794efeef32863a65ac312f3c0b0a99f921f3e827ff63afa5cb09a377e202c262b671f7b3832a4e64731003fa94af0263713962d317b9887bd1e0c48a342efba3 - languageName: node - linkType: hard - "path-parse@npm:^1.0.6, path-parse@npm:^1.0.7": version: 1.0.7 resolution: "path-parse@npm:1.0.7" @@ -20508,13 +20438,6 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^4.1.0": - version: 4.1.0 - resolution: "signal-exit@npm:4.1.0" - checksum: 10c0/41602dce540e46d599edba9d9860193398d135f7ff72cab629db5171516cfae628d21e7bfccde1bbfdf11c48726bc2a6d1a8fb8701125852fbfda7cf19c6aa83 - languageName: node - linkType: hard - "signale@npm:^1.4.0": version: 1.4.0 resolution: "signale@npm:1.4.0" @@ -21149,13 +21072,6 @@ __metadata: languageName: node linkType: hard -"strip-final-newline@npm:^3.0.0": - version: 3.0.0 - resolution: "strip-final-newline@npm:3.0.0" - checksum: 10c0/a771a17901427bac6293fd416db7577e2bc1c34a19d38351e9d5478c3c415f523f391003b42ed475f27e33a78233035df183525395f731d3bfb8cdcbd4da08ce - languageName: node - linkType: hard - "strip-indent@npm:^3.0.0": version: 3.0.0 resolution: "strip-indent@npm:3.0.0" @@ -23449,3 +23365,20 @@ __metadata: checksum: 10c0/3c7830cdd3378667e058ffdb4cf2bb78ac5711214e2725900873accb23f3dfe5f9e7e5a06dcdc5f29605da976fc45c26d9a13ca334d6eea2245a15e77b8fc06e languageName: node linkType: hard + +"zx@npm:^8.2.2": + version: 8.2.2 + resolution: "zx@npm:8.2.2" + dependencies: + "@types/fs-extra": "npm:>=11" + "@types/node": "npm:>=20" + dependenciesMeta: + "@types/fs-extra": + optional: true + "@types/node": + optional: true + bin: + zx: build/cli.js + checksum: 10c0/68c2fd54cd10e2c3b32ae7db62cc0004808b7ece6aad2c87838e354174bd9868918cc1a6e067d6a7647cfb1180253e6a362f8b57aabb4b2895c8f6c0e92a62cd + languageName: node + linkType: hard From 79280aa4f0d188e302eb12f507e5bef16241bab8 Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Tue, 19 Nov 2024 17:40:40 +0400 Subject: [PATCH 16/33] [release] Version: 7.14.2-alpha.0 --- package.json | 2 +- packages/@mantine/carousel/package.json | 6 +- packages/@mantine/charts/package.json | 6 +- packages/@mantine/code-highlight/package.json | 6 +- .../@mantine/colors-generator/package.json | 2 +- packages/@mantine/core/package.json | 4 +- packages/@mantine/dates/package.json | 6 +- packages/@mantine/dropzone/package.json | 6 +- packages/@mantine/emotion/package.json | 6 +- packages/@mantine/form/package.json | 2 +- packages/@mantine/hooks/package.json | 2 +- packages/@mantine/modals/package.json | 6 +- packages/@mantine/notifications/package.json | 8 +-- packages/@mantine/nprogress/package.json | 8 +-- packages/@mantine/spotlight/package.json | 8 +-- packages/@mantine/store/package.json | 2 +- packages/@mantine/tiptap/package.json | 6 +- .../@mantine/vanilla-extract/package.json | 4 +- yarn.lock | 56 +++++++++---------- 19 files changed, 73 insertions(+), 73 deletions(-) diff --git a/package.json b/package.json index 21a55be70d..081df9ca5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mantine-a91763c0e2", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Mantine Components Monorepo", "packageManager": "yarn@4.5.1", "license": "MIT", diff --git a/packages/@mantine/carousel/package.json b/packages/@mantine/carousel/package.json index c27581f64a..cf05d178b1 100644 --- a/packages/@mantine/carousel/package.json +++ b/packages/@mantine/carousel/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/carousel", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Embla based carousel", "homepage": "https://mantine.dev/x/carousel/", "license": "MIT", @@ -44,8 +44,8 @@ "directory": "packages/@mantine/carousel" }, "peerDependencies": { - "@mantine/core": "7.14.1", - "@mantine/hooks": "7.14.1", + "@mantine/core": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2-alpha.0", "embla-carousel-react": ">=7.0.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" diff --git a/packages/@mantine/charts/package.json b/packages/@mantine/charts/package.json index 85d6f61032..4612a2a1d1 100644 --- a/packages/@mantine/charts/package.json +++ b/packages/@mantine/charts/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/charts", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Charts components built with recharts and Mantine", "homepage": "https://mantine.dev/", "license": "MIT", @@ -35,8 +35,8 @@ "directory": "packages/@mantine/charts" }, "peerDependencies": { - "@mantine/core": "7.14.1", - "@mantine/hooks": "7.14.1", + "@mantine/core": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2-alpha.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x", "recharts": "^2.13.3" diff --git a/packages/@mantine/code-highlight/package.json b/packages/@mantine/code-highlight/package.json index 5cb52a6840..ad0ad4ecb7 100644 --- a/packages/@mantine/code-highlight/package.json +++ b/packages/@mantine/code-highlight/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/code-highlight", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Code highlight with Mantine theme", "homepage": "https://mantine.dev/x/code-highlight/", "license": "MIT", @@ -45,8 +45,8 @@ "directory": "packages/@mantine/code-highlight" }, "peerDependencies": { - "@mantine/core": "7.14.1", - "@mantine/hooks": "7.14.1", + "@mantine/core": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2-alpha.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, diff --git a/packages/@mantine/colors-generator/package.json b/packages/@mantine/colors-generator/package.json index 55609ab165..1b20544c9e 100644 --- a/packages/@mantine/colors-generator/package.json +++ b/packages/@mantine/colors-generator/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/colors-generator", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "A library to generate 10 shades of color based on provided color value", "homepage": "https://mantine.dev", "license": "MIT", diff --git a/packages/@mantine/core/package.json b/packages/@mantine/core/package.json index e68ab0f363..395db4b717 100644 --- a/packages/@mantine/core/package.json +++ b/packages/@mantine/core/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/core", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "React components library focused on usability, accessibility and developer experience", "homepage": "https://mantine.dev/", "license": "MIT", @@ -43,7 +43,7 @@ "directory": "packages/@mantine/core" }, "peerDependencies": { - "@mantine/hooks": "7.14.1", + "@mantine/hooks": "7.14.2-alpha.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, diff --git a/packages/@mantine/dates/package.json b/packages/@mantine/dates/package.json index 82967118f0..8896b468d6 100644 --- a/packages/@mantine/dates/package.json +++ b/packages/@mantine/dates/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/dates", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Calendars, date and time pickers based on Mantine components", "homepage": "https://mantine.dev/dates/getting-started/", "license": "MIT", @@ -45,8 +45,8 @@ "directory": "packages/@mantine/dates" }, "peerDependencies": { - "@mantine/core": "7.14.1", - "@mantine/hooks": "7.14.1", + "@mantine/core": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2-alpha.0", "dayjs": ">=1.0.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" diff --git a/packages/@mantine/dropzone/package.json b/packages/@mantine/dropzone/package.json index c718e82956..0abdfb5d6e 100644 --- a/packages/@mantine/dropzone/package.json +++ b/packages/@mantine/dropzone/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/dropzone", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Dropzone component built with Mantine theme and components", "homepage": "https://mantine.dev/x/dropzone/", "license": "MIT", @@ -44,8 +44,8 @@ "directory": "packages/@mantine/dropzone" }, "peerDependencies": { - "@mantine/core": "7.14.1", - "@mantine/hooks": "7.14.1", + "@mantine/core": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2-alpha.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, diff --git a/packages/@mantine/emotion/package.json b/packages/@mantine/emotion/package.json index 299c65dcff..444057bb73 100644 --- a/packages/@mantine/emotion/package.json +++ b/packages/@mantine/emotion/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/emotion", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Emotion bindings for Mantine", "homepage": "https://mantine.dev/", "license": "MIT", @@ -35,8 +35,8 @@ "@emotion/react": "^11.11.4", "@emotion/serialize": "^1.1.4", "@emotion/utils": "^1.2.1", - "@mantine/core": "7.14.1", - "@mantine/hooks": "7.14.1", + "@mantine/core": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2-alpha.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, diff --git a/packages/@mantine/form/package.json b/packages/@mantine/form/package.json index 8104c6afba..a293e180cd 100644 --- a/packages/@mantine/form/package.json +++ b/packages/@mantine/form/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/form", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Mantine form management library", "homepage": "https://mantine.dev", "license": "MIT", diff --git a/packages/@mantine/hooks/package.json b/packages/@mantine/hooks/package.json index 2571ac1b05..5ccdb638d4 100644 --- a/packages/@mantine/hooks/package.json +++ b/packages/@mantine/hooks/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/hooks", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "A collection of 50+ hooks for state and UI management", "homepage": "https://mantine.dev", "license": "MIT", diff --git a/packages/@mantine/modals/package.json b/packages/@mantine/modals/package.json index ea3255c4e2..a3bfac7946 100644 --- a/packages/@mantine/modals/package.json +++ b/packages/@mantine/modals/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/modals", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Modals manager based on Mantine components", "homepage": "https://mantine.dev/x/modals/", "license": "MIT", @@ -39,8 +39,8 @@ "directory": "packages/@mantine/modals" }, "peerDependencies": { - "@mantine/core": "7.14.1", - "@mantine/hooks": "7.14.1", + "@mantine/core": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2-alpha.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, diff --git a/packages/@mantine/notifications/package.json b/packages/@mantine/notifications/package.json index 616efcda65..6f56b8cb04 100644 --- a/packages/@mantine/notifications/package.json +++ b/packages/@mantine/notifications/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/notifications", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Mantine notifications system", "homepage": "https://mantine.dev", "license": "MIT", @@ -44,13 +44,13 @@ "directory": "packages/@mantine/notifications" }, "peerDependencies": { - "@mantine/core": "7.14.1", - "@mantine/hooks": "7.14.1", + "@mantine/core": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2-alpha.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, "dependencies": { - "@mantine/store": "7.14.1", + "@mantine/store": "7.14.2-alpha.0", "react-transition-group": "4.4.5" }, "devDependencies": { diff --git a/packages/@mantine/nprogress/package.json b/packages/@mantine/nprogress/package.json index d0a103cfb5..55c39a82fd 100644 --- a/packages/@mantine/nprogress/package.json +++ b/packages/@mantine/nprogress/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/nprogress", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Navigation progress bar", "homepage": "https://mantine.dev/x/nprogress/", "license": "MIT", @@ -43,13 +43,13 @@ "directory": "packages/@mantine/nprogress" }, "peerDependencies": { - "@mantine/core": "7.14.1", - "@mantine/hooks": "7.14.1", + "@mantine/core": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2-alpha.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, "dependencies": { - "@mantine/store": "7.14.1" + "@mantine/store": "7.14.2-alpha.0" }, "devDependencies": { "@mantine-tests/core": "workspace:*", diff --git a/packages/@mantine/spotlight/package.json b/packages/@mantine/spotlight/package.json index 32b4cf84b8..bf49aad372 100644 --- a/packages/@mantine/spotlight/package.json +++ b/packages/@mantine/spotlight/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/spotlight", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Command center components for react and Mantine", "homepage": "https://mantine.dev", "license": "MIT", @@ -41,13 +41,13 @@ "directory": "packages/@mantine/spotlight" }, "peerDependencies": { - "@mantine/core": "7.14.1", - "@mantine/hooks": "7.14.1", + "@mantine/core": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2-alpha.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, "dependencies": { - "@mantine/store": "7.14.1" + "@mantine/store": "7.14.2-alpha.0" }, "devDependencies": { "@mantine-tests/core": "workspace:*", diff --git a/packages/@mantine/store/package.json b/packages/@mantine/store/package.json index 6d7d4f8889..8f65ceb979 100644 --- a/packages/@mantine/store/package.json +++ b/packages/@mantine/store/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/store", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "A library to sync external React state updates", "homepage": "https://mantine.dev", "license": "MIT", diff --git a/packages/@mantine/tiptap/package.json b/packages/@mantine/tiptap/package.json index 3642a261fb..412d5ef2de 100644 --- a/packages/@mantine/tiptap/package.json +++ b/packages/@mantine/tiptap/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/tiptap", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Rich text editor based on tiptap", "homepage": "https://mantine.dev/x/tiptap", "license": "MIT", @@ -44,8 +44,8 @@ "directory": "packages/@mantine/tiptap" }, "peerDependencies": { - "@mantine/core": "7.14.1", - "@mantine/hooks": "7.14.1", + "@mantine/core": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2-alpha.0", "@tiptap/extension-link": ">=2.1.12", "@tiptap/react": ">=2.1.12", "react": "^18.x || ^19.x", diff --git a/packages/@mantine/vanilla-extract/package.json b/packages/@mantine/vanilla-extract/package.json index c719bd1276..9a2b9f681c 100644 --- a/packages/@mantine/vanilla-extract/package.json +++ b/packages/@mantine/vanilla-extract/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/vanilla-extract", - "version": "7.14.1", + "version": "7.14.2-alpha.0", "description": "Vanilla Extract integration for Mantine theme", "homepage": "https://mantine.dev", "license": "MIT", @@ -35,6 +35,6 @@ "directory": "packages/@mantine/vanilla-extract" }, "peerDependencies": { - "@mantine/core": "7.14.1" + "@mantine/core": "7.14.2-alpha.0" } } diff --git a/yarn.lock b/yarn.lock index c1363bdc8b..be7b1ed012 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4037,8 +4037,8 @@ __metadata: "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" peerDependencies: - "@mantine/core": 7.14.1 - "@mantine/hooks": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2-alpha.0 embla-carousel-react: ">=7.0.0" react: ^18.x || ^19.x react-dom: ^18.x || ^19.x @@ -4053,8 +4053,8 @@ __metadata: "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" peerDependencies: - "@mantine/core": 7.14.1 - "@mantine/hooks": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2-alpha.0 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x recharts: ^2.13.3 @@ -4071,8 +4071,8 @@ __metadata: clsx: "npm:^2.1.1" highlight.js: "npm:^11.10.0" peerDependencies: - "@mantine/core": 7.14.1 - "@mantine/hooks": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2-alpha.0 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4099,7 +4099,7 @@ __metadata: react-textarea-autosize: "npm:8.5.4" type-fest: "npm:^4.26.1" peerDependencies: - "@mantine/hooks": 7.14.1 + "@mantine/hooks": 7.14.2-alpha.0 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4115,8 +4115,8 @@ __metadata: "@mantine/hooks": "workspace:*" clsx: "npm:^2.1.1" peerDependencies: - "@mantine/core": 7.14.1 - "@mantine/hooks": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2-alpha.0 dayjs: ">=1.0.0" react: ^18.x || ^19.x react-dom: ^18.x || ^19.x @@ -4132,8 +4132,8 @@ __metadata: "@mantine/hooks": "workspace:*" react-dropzone-esm: "npm:15.2.0" peerDependencies: - "@mantine/core": 7.14.1 - "@mantine/hooks": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2-alpha.0 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4152,8 +4152,8 @@ __metadata: "@emotion/react": ^11.11.4 "@emotion/serialize": ^1.1.4 "@emotion/utils": ^1.2.1 - "@mantine/core": 7.14.1 - "@mantine/hooks": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2-alpha.0 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4185,8 +4185,8 @@ __metadata: "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" peerDependencies: - "@mantine/core": 7.14.1 - "@mantine/hooks": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2-alpha.0 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4199,11 +4199,11 @@ __metadata: "@mantine-tests/core": "workspace:*" "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" - "@mantine/store": "npm:7.14.1" + "@mantine/store": "npm:7.14.2-alpha.0" react-transition-group: "npm:4.4.5" peerDependencies: - "@mantine/core": 7.14.1 - "@mantine/hooks": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2-alpha.0 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4216,10 +4216,10 @@ __metadata: "@mantine-tests/core": "workspace:*" "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" - "@mantine/store": "npm:7.14.1" + "@mantine/store": "npm:7.14.2-alpha.0" peerDependencies: - "@mantine/core": 7.14.1 - "@mantine/hooks": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2-alpha.0 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4232,16 +4232,16 @@ __metadata: "@mantine-tests/core": "workspace:*" "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" - "@mantine/store": "npm:7.14.1" + "@mantine/store": "npm:7.14.2-alpha.0" peerDependencies: - "@mantine/core": 7.14.1 - "@mantine/hooks": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2-alpha.0 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown linkType: soft -"@mantine/store@npm:7.14.1, @mantine/store@workspace:*, @mantine/store@workspace:packages/@mantine/store": +"@mantine/store@npm:7.14.2-alpha.0, @mantine/store@workspace:*, @mantine/store@workspace:packages/@mantine/store": version: 0.0.0-use.local resolution: "@mantine/store@workspace:packages/@mantine/store" peerDependencies: @@ -4257,8 +4257,8 @@ __metadata: "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" peerDependencies: - "@mantine/core": 7.14.1 - "@mantine/hooks": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2-alpha.0 "@tiptap/extension-link": ">=2.1.12" "@tiptap/react": ">=2.1.12" react: ^18.x || ^19.x @@ -4270,7 +4270,7 @@ __metadata: version: 0.0.0-use.local resolution: "@mantine/vanilla-extract@workspace:packages/@mantine/vanilla-extract" peerDependencies: - "@mantine/core": 7.14.1 + "@mantine/core": 7.14.2-alpha.0 languageName: unknown linkType: soft From f65998b951c96cb850057817617fb533618a54ad Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Wed, 20 Nov 2024 08:48:00 +0400 Subject: [PATCH 17/33] [core] Update dependencies to the latest version --- apps/help.mantine.dev/package.json | 2 +- apps/mantine.dev/package.json | 2 +- package.json | 24 +- packages/@docs/demos/package.json | 2 +- packages/@mantinex/demo/package.json | 2 +- packages/@mantinex/shiki/package.json | 2 +- yarn.lock | 892 +++++++++++++++----------- 7 files changed, 551 insertions(+), 375 deletions(-) diff --git a/apps/help.mantine.dev/package.json b/apps/help.mantine.dev/package.json index 015207fdbf..efd972fba4 100644 --- a/apps/help.mantine.dev/package.json +++ b/apps/help.mantine.dev/package.json @@ -31,7 +31,7 @@ "react-dom": "^18.3.1", "react-imask": "^7.6.1", "remark-slug": "^7.0.1", - "shiki": "^1.1.7" + "shiki": "^1.23.1" }, "devDependencies": { "@mdx-js/loader": "^3.0.0", diff --git a/apps/mantine.dev/package.json b/apps/mantine.dev/package.json index cd4e486180..fa22f91b1f 100644 --- a/apps/mantine.dev/package.json +++ b/apps/mantine.dev/package.json @@ -75,7 +75,7 @@ "react-number-format": "^5.4.2", "recharts": "^2.13.3", "remark-slug": "^7.0.1", - "shiki": "^1.1.7", + "shiki": "^1.23.1", "typescript": "5.6.3" }, "devDependencies": { diff --git a/package.json b/package.json index 081df9ca5b..d6883d38f1 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "react-textarea-autosize": "8.5.4", "react-transition-group": "4.4.5", "recharts": "^2.13.3", - "shiki": "^1.1.7", + "shiki": "^1.23.1", "type-fest": "^4.26.1" }, "devDependencies": { @@ -114,15 +114,15 @@ "@babel/preset-env": "7.26.0", "@babel/preset-react": "^7.25.9", "@babel/preset-typescript": "7.26.0", - "@eslint/js": "^9.14.0", + "@eslint/js": "^9.15.0", "@hello-pangea/dnd": "^16.3.0", - "@ianvs/prettier-plugin-sort-imports": "^4.3.1", + "@ianvs/prettier-plugin-sort-imports": "^4.4.0", "@rollup/plugin-alias": "^5.1.1", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-replace": "^6.0.1", "@storybook/addon-styling-webpack": "^1.0.1", - "@storybook/nextjs": "^8.4.2", - "@storybook/react": "^8.4.2", + "@storybook/nextjs": "^8.4.4", + "@storybook/react": "^8.4.4", "@testing-library/dom": "10.4.0", "@testing-library/jest-dom": "6.6.3", "@testing-library/react": "16.0.1", @@ -146,7 +146,7 @@ "css-loader": "^7.1.2", "esbuild": "^0.24.0", "esbuild-jest": "^0.5.0", - "eslint": "^9.14.0", + "eslint": "^9.15.0", "eslint-config-mantine": "^4.0.3", "eslint-plugin-jest": "^28.9.0", "eslint-plugin-jsx-a11y": "^6.10.2", @@ -164,7 +164,7 @@ "new-github-release-url": "^2.0.0", "next": "14.2.12", "open": "^10.1.0", - "postcss": "^8.4.47", + "postcss": "^8.4.49", "postcss-loader": "^8.1.1", "postcss-preset-mantine": "1.17.0", "postcss-simple-vars": "^7.0.1", @@ -172,26 +172,26 @@ "react-dom": "^18.3.1", "react-virtuoso": "^4.12.0", "rimraf": "^6.0.1", - "rollup": "^4.24.4", + "rollup": "^4.27.3", "rollup-plugin-banner2": "^1.3.0", "rollup-plugin-esbuild": "^6.1.1", "rollup-plugin-postcss": "^4.0.2", "signale": "^1.4.0", "simple-git": "^3.27.0", - "storybook": "^8.4.2", + "storybook": "^8.4.4", "storybook-dark-mode": "^4.0.2", "style-loader": "^4.0.0", "stylelint": "^16.10.0", "stylelint-config-standard-scss": "^13.1.0", "syncpack": "^13.0.0", "ts-node": "^10.9.2", - "tsconfig-paths-webpack-plugin": "^4.1.0", + "tsconfig-paths-webpack-plugin": "^4.2.0", "tsx": "^4.19.2", "typescript": "5.6.3", - "typescript-eslint": "^8.13.0", + "typescript-eslint": "^8.15.0", "version-next": "^1.0.2", "webpack": "^5.96.1", - "wrangler": "^3.84.1", + "wrangler": "^3.88.0", "yargs": "^17.7.2", "zx": "^8.2.2" }, diff --git a/packages/@docs/demos/package.json b/packages/@docs/demos/package.json index a30ea0bc60..11385c27f2 100644 --- a/packages/@docs/demos/package.json +++ b/packages/@docs/demos/package.json @@ -44,7 +44,7 @@ "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x", "recharts": "^2.13.3", - "shiki": "^1.1.7" + "shiki": "^1.23.1" }, "devDependencies": { "@docs/styles-api": "workspace:*", diff --git a/packages/@mantinex/demo/package.json b/packages/@mantinex/demo/package.json index 7b344368df..f31bb30b52 100644 --- a/packages/@mantinex/demo/package.json +++ b/packages/@mantinex/demo/package.json @@ -41,7 +41,7 @@ "@mantinex/shiki": ">=1.0.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x", - "shiki": "^1.1.7" + "shiki": "^1.23.1" }, "devDependencies": { "@mantine-tests/core": "workspace:*", diff --git a/packages/@mantinex/shiki/package.json b/packages/@mantinex/shiki/package.json index 2dbb55130d..f26536712e 100644 --- a/packages/@mantinex/shiki/package.json +++ b/packages/@mantinex/shiki/package.json @@ -39,7 +39,7 @@ "@mantine/hooks": ">=7.0.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x", - "shiki": "^1.1.7" + "shiki": "^1.23.1" }, "devDependencies": { "@mantine-tests/core": "workspace:*", diff --git a/yarn.lock b/yarn.lock index be7b1ed012..83701ba621 100644 --- a/yarn.lock +++ b/yarn.lock @@ -133,19 +133,6 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.23.6, @babel/generator@npm:^7.25.9, @babel/generator@npm:^7.26.0": - version: 7.26.2 - resolution: "@babel/generator@npm:7.26.2" - dependencies: - "@babel/parser": "npm:^7.26.2" - "@babel/types": "npm:^7.26.0" - "@jridgewell/gen-mapping": "npm:^0.3.5" - "@jridgewell/trace-mapping": "npm:^0.3.25" - jsesc: "npm:^3.0.2" - checksum: 10c0/167ebce8977142f5012fad6bd91da51ac52bcd752f2261a54b7ab605d928aebe57e21636cdd2a9c7757e552652c68d9fcb5d40b06fcb66e02d9ee7526e118a5c - languageName: node - linkType: hard - "@babel/generator@npm:^7.24.5": version: 7.24.5 resolution: "@babel/generator@npm:7.24.5" @@ -158,6 +145,19 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.25.9, @babel/generator@npm:^7.26.0, @babel/generator@npm:^7.26.2": + version: 7.26.2 + resolution: "@babel/generator@npm:7.26.2" + dependencies: + "@babel/parser": "npm:^7.26.2" + "@babel/types": "npm:^7.26.0" + "@jridgewell/gen-mapping": "npm:^0.3.5" + "@jridgewell/trace-mapping": "npm:^0.3.25" + jsesc: "npm:^3.0.2" + checksum: 10c0/167ebce8977142f5012fad6bd91da51ac52bcd752f2261a54b7ab605d928aebe57e21636cdd2a9c7757e552652c68d9fcb5d40b06fcb66e02d9ee7526e118a5c + languageName: node + linkType: hard + "@babel/generator@npm:^7.7.2": version: 7.15.8 resolution: "@babel/generator@npm:7.15.8" @@ -808,7 +808,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.24.0, @babel/parser@npm:^7.24.5": +"@babel/parser@npm:^7.24.5": version: 7.24.5 resolution: "@babel/parser@npm:7.24.5" bin: @@ -2137,7 +2137,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.24.0, @babel/traverse@npm:^7.25.9": +"@babel/traverse@npm:^7.25.9": version: 7.25.9 resolution: "@babel/traverse@npm:7.25.9" dependencies: @@ -2253,48 +2253,48 @@ __metadata: languageName: node linkType: hard -"@cloudflare/workerd-darwin-64@npm:1.20241022.0": - version: 1.20241022.0 - resolution: "@cloudflare/workerd-darwin-64@npm:1.20241022.0" +"@cloudflare/workerd-darwin-64@npm:1.20241106.1": + version: 1.20241106.1 + resolution: "@cloudflare/workerd-darwin-64@npm:1.20241106.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@cloudflare/workerd-darwin-arm64@npm:1.20241022.0": - version: 1.20241022.0 - resolution: "@cloudflare/workerd-darwin-arm64@npm:1.20241022.0" +"@cloudflare/workerd-darwin-arm64@npm:1.20241106.1": + version: 1.20241106.1 + resolution: "@cloudflare/workerd-darwin-arm64@npm:1.20241106.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@cloudflare/workerd-linux-64@npm:1.20241022.0": - version: 1.20241022.0 - resolution: "@cloudflare/workerd-linux-64@npm:1.20241022.0" +"@cloudflare/workerd-linux-64@npm:1.20241106.1": + version: 1.20241106.1 + resolution: "@cloudflare/workerd-linux-64@npm:1.20241106.1" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@cloudflare/workerd-linux-arm64@npm:1.20241022.0": - version: 1.20241022.0 - resolution: "@cloudflare/workerd-linux-arm64@npm:1.20241022.0" +"@cloudflare/workerd-linux-arm64@npm:1.20241106.1": + version: 1.20241106.1 + resolution: "@cloudflare/workerd-linux-arm64@npm:1.20241106.1" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"@cloudflare/workerd-windows-64@npm:1.20241022.0": - version: 1.20241022.0 - resolution: "@cloudflare/workerd-windows-64@npm:1.20241022.0" +"@cloudflare/workerd-windows-64@npm:1.20241106.1": + version: 1.20241106.1 + resolution: "@cloudflare/workerd-windows-64@npm:1.20241106.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@cloudflare/workers-shared@npm:0.7.0": - version: 0.7.0 - resolution: "@cloudflare/workers-shared@npm:0.7.0" +"@cloudflare/workers-shared@npm:0.7.1": + version: 0.7.1 + resolution: "@cloudflare/workers-shared@npm:0.7.1" dependencies: mime: "npm:^3.0.0" zod: "npm:^3.22.3" - checksum: 10c0/ec80183c8627ff977f990e4183524a85c25c81df39036d28c1172d8adf0196e503583e2bd8d29fba52998d1efdcef9c370b14170a94c8ceb7a1000acab56b53c + checksum: 10c0/c4b8d67d3a12bca187a956533aed93f0e6ccb19f671bf5982edb883087d4b9e21bc01e1ad6cfb1340655e6a59ea05232a112bbea3fbfb175d3e6fb7949b34632 languageName: node linkType: hard @@ -2390,7 +2390,7 @@ __metadata: react: ^18.x || ^19.x react-dom: ^18.x || ^19.x recharts: ^2.13.3 - shiki: ^1.1.7 + shiki: ^1.23.1 languageName: unknown linkType: soft @@ -3132,27 +3132,27 @@ __metadata: languageName: node linkType: hard -"@eslint/config-array@npm:^0.18.0": - version: 0.18.0 - resolution: "@eslint/config-array@npm:0.18.0" +"@eslint/config-array@npm:^0.19.0": + version: 0.19.0 + resolution: "@eslint/config-array@npm:0.19.0" dependencies: "@eslint/object-schema": "npm:^2.1.4" debug: "npm:^4.3.1" minimatch: "npm:^3.1.2" - checksum: 10c0/0234aeb3e6b052ad2402a647d0b4f8a6aa71524bafe1adad0b8db1dfe94d7f5f26d67c80f79bb37ac61361a1d4b14bb8fb475efe501de37263cf55eabb79868f + checksum: 10c0/def23c6c67a8f98dc88f1b87e17a5668e5028f5ab9459661aabfe08e08f2acd557474bbaf9ba227be0921ae4db232c62773dbb7739815f8415678eb8f592dbf5 languageName: node linkType: hard -"@eslint/core@npm:^0.7.0": - version: 0.7.0 - resolution: "@eslint/core@npm:0.7.0" - checksum: 10c0/3cdee8bc6cbb96ac6103d3ead42e59830019435839583c9eb352b94ed558bd78e7ffad5286dc710df21ec1e7bd8f52aa6574c62457a4dd0f01f3736fa4a7d87a +"@eslint/core@npm:^0.9.0": + version: 0.9.0 + resolution: "@eslint/core@npm:0.9.0" + checksum: 10c0/6d8e8e0991cef12314c49425d8d2d9394f5fb1a36753ff82df7c03185a4646cb7c8736cf26638a4a714782cedf4b23cfc17667d282d3e5965b3920a0e7ce20d4 languageName: node linkType: hard -"@eslint/eslintrc@npm:^3.1.0": - version: 3.1.0 - resolution: "@eslint/eslintrc@npm:3.1.0" +"@eslint/eslintrc@npm:^3.2.0": + version: 3.2.0 + resolution: "@eslint/eslintrc@npm:3.2.0" dependencies: ajv: "npm:^6.12.4" debug: "npm:^4.3.2" @@ -3163,14 +3163,14 @@ __metadata: js-yaml: "npm:^4.1.0" minimatch: "npm:^3.1.2" strip-json-comments: "npm:^3.1.1" - checksum: 10c0/5b7332ed781edcfc98caa8dedbbb843abfb9bda2e86538529c843473f580e40c69eb894410eddc6702f487e9ee8f8cfa8df83213d43a8fdb549f23ce06699167 + checksum: 10c0/43867a07ff9884d895d9855edba41acf325ef7664a8df41d957135a81a477ff4df4196f5f74dc3382627e5cc8b7ad6b815c2cea1b58f04a75aced7c43414ab8b languageName: node linkType: hard -"@eslint/js@npm:9.14.0, @eslint/js@npm:^9.14.0": - version: 9.14.0 - resolution: "@eslint/js@npm:9.14.0" - checksum: 10c0/a423dd435e10aa3b461599aa02f6cbadd4b5128cb122467ee4e2c798e7ca4f9bb1fce4dcea003b29b983090238cf120899c1af657cf86300b399e4f996b83ddc +"@eslint/js@npm:9.15.0, @eslint/js@npm:^9.15.0": + version: 9.15.0 + resolution: "@eslint/js@npm:9.15.0" + checksum: 10c0/56552966ab1aa95332f70d0e006db5746b511c5f8b5e0c6a9b2d6764ff6d964e0b2622731877cbc4e3f0e74c5b39191290d5f48147be19175292575130d499ab languageName: node linkType: hard @@ -3181,12 +3181,12 @@ __metadata: languageName: node linkType: hard -"@eslint/plugin-kit@npm:^0.2.0": - version: 0.2.2 - resolution: "@eslint/plugin-kit@npm:0.2.2" +"@eslint/plugin-kit@npm:^0.2.3": + version: 0.2.3 + resolution: "@eslint/plugin-kit@npm:0.2.3" dependencies: levn: "npm:^0.4.1" - checksum: 10c0/ec533ccc99f2ab003d6f64495cff853730fb7d8bc0eaf031ffccc68de7c34c74a2eda50dfa759cacfb409f014c98d306714c995348d5383c9d3140f9f80a5895 + checksum: 10c0/89a8035976bb1780e3fa8ffe682df013bd25f7d102d991cecd3b7c297f4ce8c1a1b6805e76dd16465b5353455b670b545eff2b4ec3133e0eab81a5f9e99bd90f languageName: node linkType: hard @@ -3305,22 +3305,21 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/retry@npm:^0.4.0": +"@humanwhocodes/retry@npm:^0.4.1": version: 0.4.1 resolution: "@humanwhocodes/retry@npm:0.4.1" checksum: 10c0/be7bb6841c4c01d0b767d9bb1ec1c9359ee61421ce8ba66c249d035c5acdfd080f32d55a5c9e859cdd7868788b8935774f65b2caf24ec0b7bd7bf333791f063b languageName: node linkType: hard -"@ianvs/prettier-plugin-sort-imports@npm:^4.3.1": - version: 4.3.1 - resolution: "@ianvs/prettier-plugin-sort-imports@npm:4.3.1" +"@ianvs/prettier-plugin-sort-imports@npm:^4.4.0": + version: 4.4.0 + resolution: "@ianvs/prettier-plugin-sort-imports@npm:4.4.0" dependencies: - "@babel/core": "npm:^7.24.0" - "@babel/generator": "npm:^7.23.6" - "@babel/parser": "npm:^7.24.0" - "@babel/traverse": "npm:^7.24.0" - "@babel/types": "npm:^7.24.0" + "@babel/generator": "npm:^7.26.2" + "@babel/parser": "npm:^7.26.2" + "@babel/traverse": "npm:^7.25.9" + "@babel/types": "npm:^7.26.0" semver: "npm:^7.5.2" peerDependencies: "@vue/compiler-sfc": 2.7.x || 3.x @@ -3328,7 +3327,7 @@ __metadata: peerDependenciesMeta: "@vue/compiler-sfc": optional: true - checksum: 10c0/2e997fe88da3b6d8288b83aa708afde427e48be55d432dd1657ef8d28a9eb1c329afdf331f46bcfb1f3ce26d3f335598814512902e4644414b4d0ba47b9c416b + checksum: 10c0/8578ae3de4c965e59196388c2ce5d06cb16cbb445c3ba9ce301cf167facfdf9049cfcc343cacc3e383e2bda051b73c1620c8d18812decf1a3a17acacc1dee61b languageName: node linkType: hard @@ -4289,7 +4288,7 @@ __metadata: "@mantinex/shiki": ">=1.0.0" react: ^18.x || ^19.x react-dom: ^18.x || ^19.x - shiki: ^1.1.7 + shiki: ^1.23.1 languageName: unknown linkType: soft @@ -4367,7 +4366,7 @@ __metadata: "@mantine/hooks": ">=7.0.0" react: ^18.x || ^19.x react-dom: ^18.x || ^19.x - shiki: ^1.1.7 + shiki: ^1.23.1 languageName: unknown linkType: soft @@ -4735,136 +4734,181 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.24.4" +"@rollup/rollup-android-arm-eabi@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.27.3" conditions: os=android & cpu=arm languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-android-arm64@npm:4.24.4" +"@rollup/rollup-android-arm64@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-android-arm64@npm:4.27.3" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-darwin-arm64@npm:4.24.4" +"@rollup/rollup-darwin-arm64@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-darwin-arm64@npm:4.27.3" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-darwin-x64@npm:4.24.4" +"@rollup/rollup-darwin-x64@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-darwin-x64@npm:4.27.3" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-freebsd-arm64@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-freebsd-arm64@npm:4.24.4" +"@rollup/rollup-freebsd-arm64@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-freebsd-arm64@npm:4.27.3" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-freebsd-x64@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-freebsd-x64@npm:4.24.4" +"@rollup/rollup-freebsd-x64@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-freebsd-x64@npm:4.27.3" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.24.4" +"@rollup/rollup-linux-arm-gnueabihf@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.27.3" conditions: os=linux & cpu=arm & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.24.4" +"@rollup/rollup-linux-arm-musleabihf@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.27.3" conditions: os=linux & cpu=arm & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.24.4" +"@rollup/rollup-linux-arm64-gnu@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.27.3" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.24.4" +"@rollup/rollup-linux-arm64-musl@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.27.3" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.4" +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.27.3" conditions: os=linux & cpu=ppc64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.24.4" +"@rollup/rollup-linux-riscv64-gnu@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.27.3" conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.24.4" +"@rollup/rollup-linux-s390x-gnu@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.27.3" conditions: os=linux & cpu=s390x & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.24.4" +"@rollup/rollup-linux-x64-gnu@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.27.3" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.24.4" +"@rollup/rollup-linux-x64-musl@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.27.3" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.24.4" +"@rollup/rollup-win32-arm64-msvc@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.27.3" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.24.4" +"@rollup/rollup-win32-ia32-msvc@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.27.3" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.24.4": - version: 4.24.4 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.24.4" +"@rollup/rollup-win32-x64-msvc@npm:4.27.3": + version: 4.27.3 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.27.3" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@shikijs/core@npm:1.1.7": - version: 1.1.7 - resolution: "@shikijs/core@npm:1.1.7" - checksum: 10c0/ee59b88d4c81422792651c0ca52ff378c3035f9d1e4907b58c1d6da06fad02d530775a2e6f43bb033832cd3d2a5f69c9aa4eb5b6b05311396acc503f15442f37 +"@shikijs/core@npm:1.23.1": + version: 1.23.1 + resolution: "@shikijs/core@npm:1.23.1" + dependencies: + "@shikijs/engine-javascript": "npm:1.23.1" + "@shikijs/engine-oniguruma": "npm:1.23.1" + "@shikijs/types": "npm:1.23.1" + "@shikijs/vscode-textmate": "npm:^9.3.0" + "@types/hast": "npm:^3.0.4" + hast-util-to-html: "npm:^9.0.3" + checksum: 10c0/3f0d343322aad8ecdaa3dd416e613113bd9fce608495e5c3c0e3e492abcd8f5c7011bf939d3fc11a907e0b402921df2d3dee985fac2e2b3e6013fe29709f81cf + languageName: node + linkType: hard + +"@shikijs/engine-javascript@npm:1.23.1": + version: 1.23.1 + resolution: "@shikijs/engine-javascript@npm:1.23.1" + dependencies: + "@shikijs/types": "npm:1.23.1" + "@shikijs/vscode-textmate": "npm:^9.3.0" + oniguruma-to-es: "npm:0.4.1" + checksum: 10c0/a8e3b941c9016a8ad62590a551a9f613b45f3267855880773eb61309e6d2b3bfc6248a1812b80b95b6335fb25ae5ad433eb3e6308d6061860865e9f882850621 + languageName: node + linkType: hard + +"@shikijs/engine-oniguruma@npm:1.23.1": + version: 1.23.1 + resolution: "@shikijs/engine-oniguruma@npm:1.23.1" + dependencies: + "@shikijs/types": "npm:1.23.1" + "@shikijs/vscode-textmate": "npm:^9.3.0" + checksum: 10c0/834f64cb66c844763ae44f481d55c361f851ae0deec0edfb00e1de05959b6672cbfd9189a1c5943beacfb66468d6a2c788b8f5874360e80dc417109117e86d3a + languageName: node + linkType: hard + +"@shikijs/types@npm:1.23.1": + version: 1.23.1 + resolution: "@shikijs/types@npm:1.23.1" + dependencies: + "@shikijs/vscode-textmate": "npm:^9.3.0" + "@types/hast": "npm:^3.0.4" + checksum: 10c0/5360e5ff777e5945137ca6bf9aab8ea5d30632ccf648825e67908d1840cac7ab9fc25b5bc321e99a7120f454cf3639a8ab252568010c7dc5a260744bfa0a5352 + languageName: node + linkType: hard + +"@shikijs/vscode-textmate@npm:^9.3.0": + version: 9.3.0 + resolution: "@shikijs/vscode-textmate@npm:9.3.0" + checksum: 10c0/6aa80798b7d7f8be8029bb397ce1b9b75c0d0963d6aa444b9ae165595ceee931cf3767ca1681ba71a6e27484eeccab584bd38db3420da477f1a8d745040b1b1f languageName: node linkType: hard @@ -4911,11 +4955,11 @@ __metadata: languageName: node linkType: hard -"@storybook/builder-webpack5@npm:8.4.2": - version: 8.4.2 - resolution: "@storybook/builder-webpack5@npm:8.4.2" +"@storybook/builder-webpack5@npm:8.4.4": + version: 8.4.4 + resolution: "@storybook/builder-webpack5@npm:8.4.4" dependencies: - "@storybook/core-webpack": "npm:8.4.2" + "@storybook/core-webpack": "npm:8.4.4" "@types/node": "npm:^22.0.0" "@types/semver": "npm:^7.3.4" browser-assert: "npm:^1.2.1" @@ -4941,11 +4985,11 @@ __metadata: webpack-hot-middleware: "npm:^2.25.1" webpack-virtual-modules: "npm:^0.6.0" peerDependencies: - storybook: ^8.4.2 + storybook: ^8.4.4 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/5785e8df5ed1d2e624059079eacbc7a2569071beb9b6a30673cb42011434b6ddb3e64c541f4da23d98c3707dd6772cb40c1ee03f88e3914b8ecd3964174f4051 + checksum: 10c0/6669db22a8a875c0bd883b5a22e181a97aed00122484ad79f15fe86a88e1e2523d552f602c613f0a87cd5063a3f2a0c0b75102d6c96f00791922053a3c0b0200 languageName: node linkType: hard @@ -4971,12 +5015,12 @@ __metadata: languageName: node linkType: hard -"@storybook/components@npm:8.4.2": - version: 8.4.2 - resolution: "@storybook/components@npm:8.4.2" +"@storybook/components@npm:8.4.4": + version: 8.4.4 + resolution: "@storybook/components@npm:8.4.4" peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 - checksum: 10c0/36ffb5f73dceb481e76fa6e006118f382c23c8081cf47500f0eea8566e902a11d3fd219b599a9f622358f17652c445f71bc8d7a80e0d43f28cd85d60f7b4a15f + checksum: 10c0/fd87c6e38d62a72256fea85a3ff4a865c5f8357dc02ee6a0f09be8e9897c0bfbc886460126b1d277e8642d438241ad76f83d01035278989eac6f6a0c23f13f5a languageName: node linkType: hard @@ -5009,21 +5053,21 @@ __metadata: languageName: node linkType: hard -"@storybook/core-webpack@npm:8.4.2": - version: 8.4.2 - resolution: "@storybook/core-webpack@npm:8.4.2" +"@storybook/core-webpack@npm:8.4.4": + version: 8.4.4 + resolution: "@storybook/core-webpack@npm:8.4.4" dependencies: "@types/node": "npm:^22.0.0" ts-dedent: "npm:^2.0.0" peerDependencies: - storybook: ^8.4.2 - checksum: 10c0/02d394f4eb8e456345e716afa5fa4d6412c5f7b2a2c813e790e034953567ba4943000c440b84ffdbe0fe2692781fa99431ba67c79658f69f6966682044572733 + storybook: ^8.4.4 + checksum: 10c0/d774d66f231492274574da80f4973e35eee086fa61b6ae4a3d7f2b37ed7d34afffceceeb95f27c616ab8e9aa6623b27c5172f8e79fd179edb2a59271f3aed4fd languageName: node linkType: hard -"@storybook/core@npm:8.4.2": - version: 8.4.2 - resolution: "@storybook/core@npm:8.4.2" +"@storybook/core@npm:8.4.4": + version: 8.4.4 + resolution: "@storybook/core@npm:8.4.4" dependencies: "@storybook/csf": "npm:^0.1.11" better-opn: "npm:^3.0.2" @@ -5041,7 +5085,7 @@ __metadata: peerDependenciesMeta: prettier: optional: true - checksum: 10c0/75a9a9e00d98bb77d171a2738fdc0e9ab1cfbd760410b95c286368c7f25bbb756b61bd23b89d512707a02e450b81ecbdc72bf05e63fb18ea35509a2a806b0e21 + checksum: 10c0/101bb9c13bc339572c071215bb9d2e5a7c514c67f6957dba1d0ed28ec993d6b1f8bd0d367fb3b49c80b5489131c744647878f6701695b868dfd5dbd73581a82c languageName: node linkType: hard @@ -5080,24 +5124,24 @@ __metadata: languageName: node linkType: hard -"@storybook/instrumenter@npm:8.4.2": - version: 8.4.2 - resolution: "@storybook/instrumenter@npm:8.4.2" +"@storybook/instrumenter@npm:8.4.4": + version: 8.4.4 + resolution: "@storybook/instrumenter@npm:8.4.4" dependencies: "@storybook/global": "npm:^5.0.0" "@vitest/utils": "npm:^2.1.1" peerDependencies: - storybook: ^8.4.2 - checksum: 10c0/465686b1688d1058e71d1dc32217472832ee4ec46661d7cba8eb17828e678bd8ff96992c8ffbac3fc67767d786a7a35d3ec94adf3886905b65ba1c5f1423f9de + storybook: ^8.4.4 + checksum: 10c0/75045f4f52675b0014f34a73aeb8636a42e2ebc0d26e4df6e2942da6fadce4eaf47f3e1f3a6d445f36b83a8b5e71f97b2ecc756ae0dd12c23466fd754e97a56c languageName: node linkType: hard -"@storybook/manager-api@npm:8.4.2": - version: 8.4.2 - resolution: "@storybook/manager-api@npm:8.4.2" +"@storybook/manager-api@npm:8.4.4": + version: 8.4.4 + resolution: "@storybook/manager-api@npm:8.4.4" peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 - checksum: 10c0/306e16af4a4babf18d7b32335f974ac969a3f9139534f37e3ce238462f69f1ad52e3091a45bf76b1cbdd8f3cf989836c8433cad6cbb2c3eb4dcbc7ccb0f8ae82 + checksum: 10c0/00d83105b8cd451c7b420d96eefaa8918254a9c362d852f8e825dd02a861994b0e80fc190f6bfab95d742a947319178587bbccb64d9051ad8f1b36533e7cb4ed languageName: node linkType: hard @@ -5124,9 +5168,9 @@ __metadata: languageName: node linkType: hard -"@storybook/nextjs@npm:^8.4.2": - version: 8.4.2 - resolution: "@storybook/nextjs@npm:8.4.2" +"@storybook/nextjs@npm:^8.4.4": + version: 8.4.4 + resolution: "@storybook/nextjs@npm:8.4.4" dependencies: "@babel/core": "npm:^7.24.4" "@babel/plugin-syntax-bigint": "npm:^7.8.3" @@ -5142,10 +5186,10 @@ __metadata: "@babel/preset-typescript": "npm:^7.24.1" "@babel/runtime": "npm:^7.24.4" "@pmmmwh/react-refresh-webpack-plugin": "npm:^0.5.11" - "@storybook/builder-webpack5": "npm:8.4.2" - "@storybook/preset-react-webpack": "npm:8.4.2" - "@storybook/react": "npm:8.4.2" - "@storybook/test": "npm:8.4.2" + "@storybook/builder-webpack5": "npm:8.4.4" + "@storybook/preset-react-webpack": "npm:8.4.4" + "@storybook/react": "npm:8.4.4" + "@storybook/test": "npm:8.4.4" "@types/node": "npm:^22.0.0" "@types/semver": "npm:^7.3.4" babel-loader: "npm:^9.1.3" @@ -5168,10 +5212,10 @@ __metadata: tsconfig-paths: "npm:^4.0.0" tsconfig-paths-webpack-plugin: "npm:^4.0.1" peerDependencies: - next: ^13.5.0 || ^14.0.0 + next: ^13.5.0 || ^14.0.0 || ^15.0.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - storybook: ^8.4.2 + storybook: ^8.4.4 webpack: ^5.0.0 dependenciesMeta: sharp: @@ -5181,7 +5225,7 @@ __metadata: optional: true webpack: optional: true - checksum: 10c0/be31f26a7797ec2fc99f95d828a1d6de570308e78bb7bd86c4a62c12078498bed3453280cab3333ef5ccdfa0d41c84f204cf31e3a85a33244b87dbcc82149797 + checksum: 10c0/d7da1d3e60cafb83fddcbd829c32dc6cbba12d461cf1d84853373efa158b9cc18aa650503096ff59e6033b34f4f73f6741a1af97a10bf78bc94b110564606562 languageName: node linkType: hard @@ -5192,12 +5236,12 @@ __metadata: languageName: node linkType: hard -"@storybook/preset-react-webpack@npm:8.4.2": - version: 8.4.2 - resolution: "@storybook/preset-react-webpack@npm:8.4.2" +"@storybook/preset-react-webpack@npm:8.4.4": + version: 8.4.4 + resolution: "@storybook/preset-react-webpack@npm:8.4.4" dependencies: - "@storybook/core-webpack": "npm:8.4.2" - "@storybook/react": "npm:8.4.2" + "@storybook/core-webpack": "npm:8.4.4" + "@storybook/react": "npm:8.4.4" "@storybook/react-docgen-typescript-plugin": "npm:1.0.6--canary.9.0c3f3b7.0" "@types/node": "npm:^22.0.0" "@types/semver": "npm:^7.3.4" @@ -5211,20 +5255,20 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - storybook: ^8.4.2 + storybook: ^8.4.4 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/0192b19b6d26c035df43ef06646742b6076d91358e2eb865d77313c9ff1f9e380d1e1e6e9659973d28ba1b8726d2ae97135524eb1915225f0ba09d45b3ebe1f9 + checksum: 10c0/c7e9b9b28e0247b5fb6cb92cc28c07a8d7b4d13dc17fb3806da1c9900625a7e56bdb20e3235f1acc0851ee263ec0d42a892ce9114dab766daa7c0b1726dbf71d languageName: node linkType: hard -"@storybook/preview-api@npm:8.4.2": - version: 8.4.2 - resolution: "@storybook/preview-api@npm:8.4.2" +"@storybook/preview-api@npm:8.4.4": + version: 8.4.4 + resolution: "@storybook/preview-api@npm:8.4.4" peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 - checksum: 10c0/7b54c1962d27d32f29a3839660098ad8995cfcf31d4bde3662cff69d7a06cc4d315dad92f565901e3b0ebd7bf12fa8995cc625a71f13c34d82a4529412d8f83c + checksum: 10c0/7adc0a4adde3a55cdd18fe645428a239c4d3802b92afdb17914719201893be8aec7cbd53203c9914c532ecd8970469df745f0097b677a04326e696470bc110cd languageName: node linkType: hard @@ -5246,39 +5290,39 @@ __metadata: languageName: node linkType: hard -"@storybook/react-dom-shim@npm:8.4.2": - version: 8.4.2 - resolution: "@storybook/react-dom-shim@npm:8.4.2" +"@storybook/react-dom-shim@npm:8.4.4": + version: 8.4.4 + resolution: "@storybook/react-dom-shim@npm:8.4.4" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - storybook: ^8.4.2 - checksum: 10c0/f4cc8d3cb557c8e84f62047680af926570f170a87aec7775830b91c4793c7afee84092ef6cd9c518dbd0ab9311139a4698f1477f35d21bc4d1462c6bd54105c5 + storybook: ^8.4.4 + checksum: 10c0/112467460ce65d23311bd9f559f5c6af1343287f98ab765695e4dda5d17f3d7acb696d96457087285b8781f20bd8e0ace26eb00624affdc2620b9699a9b28591 languageName: node linkType: hard -"@storybook/react@npm:8.4.2, @storybook/react@npm:^8.4.2": - version: 8.4.2 - resolution: "@storybook/react@npm:8.4.2" +"@storybook/react@npm:8.4.4, @storybook/react@npm:^8.4.4": + version: 8.4.4 + resolution: "@storybook/react@npm:8.4.4" dependencies: - "@storybook/components": "npm:8.4.2" + "@storybook/components": "npm:8.4.4" "@storybook/global": "npm:^5.0.0" - "@storybook/manager-api": "npm:8.4.2" - "@storybook/preview-api": "npm:8.4.2" - "@storybook/react-dom-shim": "npm:8.4.2" - "@storybook/theming": "npm:8.4.2" + "@storybook/manager-api": "npm:8.4.4" + "@storybook/preview-api": "npm:8.4.4" + "@storybook/react-dom-shim": "npm:8.4.4" + "@storybook/theming": "npm:8.4.4" peerDependencies: - "@storybook/test": 8.4.2 + "@storybook/test": 8.4.4 react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta - storybook: ^8.4.2 + storybook: ^8.4.4 typescript: ">= 4.2.x" peerDependenciesMeta: "@storybook/test": optional: true typescript: optional: true - checksum: 10c0/a5ce045dae71c2a039c1ac4411c07b4a51574a6f607c6c6f105e87147410b32e7d882b3f225d6fa78ddc29423881aee76727826d2b960a61f913f7d849fdcc1f + checksum: 10c0/aabbfeb09efca705ee23673b62673760bbfa60307ca0f36d562b3541cbd999f943d4c5537971b67bc84ad513f53e82a0be56b418d5777ea499c33c04c7ca935d languageName: node linkType: hard @@ -5293,21 +5337,21 @@ __metadata: languageName: node linkType: hard -"@storybook/test@npm:8.4.2": - version: 8.4.2 - resolution: "@storybook/test@npm:8.4.2" +"@storybook/test@npm:8.4.4": + version: 8.4.4 + resolution: "@storybook/test@npm:8.4.4" dependencies: "@storybook/csf": "npm:^0.1.11" "@storybook/global": "npm:^5.0.0" - "@storybook/instrumenter": "npm:8.4.2" + "@storybook/instrumenter": "npm:8.4.4" "@testing-library/dom": "npm:10.4.0" "@testing-library/jest-dom": "npm:6.5.0" "@testing-library/user-event": "npm:14.5.2" "@vitest/expect": "npm:2.0.5" "@vitest/spy": "npm:2.0.5" peerDependencies: - storybook: ^8.4.2 - checksum: 10c0/6431020dd98ae2eaea70ced1e1ae2c8d3bf006b0d7607d7020fe226f9971983b8ec91e1dc360624560e1517764a40d78a23a231d889faf000bdfbd5f66fb268f + storybook: ^8.4.4 + checksum: 10c0/9e02947a02664f9ba6d67b37515c8cc994c572a64274f2d50f68dfff212112aeafee6c870efbfb234ee09437bd4167616835254042a0eee89b914d9d6565d91e languageName: node linkType: hard @@ -5331,12 +5375,12 @@ __metadata: languageName: node linkType: hard -"@storybook/theming@npm:8.4.2": - version: 8.4.2 - resolution: "@storybook/theming@npm:8.4.2" +"@storybook/theming@npm:8.4.4": + version: 8.4.4 + resolution: "@storybook/theming@npm:8.4.4" peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 - checksum: 10c0/8765a25952273f87f65018159228fa448a0bb6fa38486650344ddc076cd895546ab3b88d35a6e7f80d3223635e28d59f82510922c589a36a7c6afc33c5bcc0d7 + checksum: 10c0/29b58bc6ef5ca7e2231f171ab360c12b3eeeac22747bed53cd61749f85cbe3f91c3cc6e3abf144f194043f624e79b3caa2ec6c77a0ea2584d7771b96061eb55e languageName: node linkType: hard @@ -6253,6 +6297,15 @@ __metadata: languageName: node linkType: hard +"@types/hast@npm:^3.0.4": + version: 3.0.4 + resolution: "@types/hast@npm:3.0.4" + dependencies: + "@types/unist": "npm:*" + checksum: 10c0/3249781a511b38f1d330fd1e3344eed3c4e7ea8eff82e835d35da78e637480d36fad37a78be5a7aed8465d237ad0446abc1150859d0fde395354ea634decf9f7 + languageName: node + linkType: hard + "@types/hoist-non-react-statics@npm:^3.3.1": version: 3.3.1 resolution: "@types/hoist-non-react-statics@npm:3.3.1" @@ -6731,15 +6784,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.13.0": - version: 8.13.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.13.0" +"@typescript-eslint/eslint-plugin@npm:8.15.0": + version: 8.15.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.15.0" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.13.0" - "@typescript-eslint/type-utils": "npm:8.13.0" - "@typescript-eslint/utils": "npm:8.13.0" - "@typescript-eslint/visitor-keys": "npm:8.13.0" + "@typescript-eslint/scope-manager": "npm:8.15.0" + "@typescript-eslint/type-utils": "npm:8.15.0" + "@typescript-eslint/utils": "npm:8.15.0" + "@typescript-eslint/visitor-keys": "npm:8.15.0" graphemer: "npm:^1.4.0" ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" @@ -6750,35 +6803,35 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/ee96515e9def17b0d1b8d568d4afcd21c5a8a1bc01bf2f30c4d1f396b41a2f49de3508f79c6231a137ca06943dd6933ac00032652190ab99a4e935ffef44df0b + checksum: 10c0/90ef10cc7d37a81abec4f4a3ffdfc3a0da8e99d949e03c75437e96e8ab2e896e34b85ab64718690180a7712581031b8611c5d8e7666d6ed4d60b9ace834d58e3 languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.13.0": - version: 8.13.0 - resolution: "@typescript-eslint/parser@npm:8.13.0" +"@typescript-eslint/parser@npm:8.15.0": + version: 8.15.0 + resolution: "@typescript-eslint/parser@npm:8.15.0" dependencies: - "@typescript-eslint/scope-manager": "npm:8.13.0" - "@typescript-eslint/types": "npm:8.13.0" - "@typescript-eslint/typescript-estree": "npm:8.13.0" - "@typescript-eslint/visitor-keys": "npm:8.13.0" + "@typescript-eslint/scope-manager": "npm:8.15.0" + "@typescript-eslint/types": "npm:8.15.0" + "@typescript-eslint/typescript-estree": "npm:8.15.0" + "@typescript-eslint/visitor-keys": "npm:8.15.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/fa04f6c417c0f72104e148f1d7ff53e04108d383550365a556fbfae5d2283484696235db522189e17bc49039946977078e324100cef991ca01f78704182624ad + checksum: 10c0/19c25aea0dc51faa758701a5319a89950fd30494d9d645db8ced84fb60714c5e7d4b51fc4ee8ccb07ddefec88c51ee307ee7e49addd6330ee8f3e7ee9ba329fc languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.13.0": - version: 8.13.0 - resolution: "@typescript-eslint/scope-manager@npm:8.13.0" +"@typescript-eslint/scope-manager@npm:8.15.0": + version: 8.15.0 + resolution: "@typescript-eslint/scope-manager@npm:8.15.0" dependencies: - "@typescript-eslint/types": "npm:8.13.0" - "@typescript-eslint/visitor-keys": "npm:8.13.0" - checksum: 10c0/1924b3e740e244d98f8a99740b4196d23ae3263303b387c66db94e140455a3132e603a130f3f70fc71e37f4bda5d0c0c67224ae3911908b097ef3f972c136be4 + "@typescript-eslint/types": "npm:8.15.0" + "@typescript-eslint/visitor-keys": "npm:8.15.0" + checksum: 10c0/c27dfdcea4100cc2d6fa967f857067cbc93155b55e648f9f10887a1b9372bb76cf864f7c804f3fa48d7868d9461cdef10bcea3dab7637d5337e8aa8042dc08b9 languageName: node linkType: hard @@ -6792,25 +6845,27 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.13.0": - version: 8.13.0 - resolution: "@typescript-eslint/type-utils@npm:8.13.0" +"@typescript-eslint/type-utils@npm:8.15.0": + version: 8.15.0 + resolution: "@typescript-eslint/type-utils@npm:8.15.0" dependencies: - "@typescript-eslint/typescript-estree": "npm:8.13.0" - "@typescript-eslint/utils": "npm:8.13.0" + "@typescript-eslint/typescript-estree": "npm:8.15.0" + "@typescript-eslint/utils": "npm:8.15.0" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.3.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/65319084616f3aea3d9f8dfab30c9b0a70de7314b445805016fdf0d0e39fe073eef2813c3e16c3e1c6a40462ba8eecfdbb12ab1e8570c3407a1cccdb69d4bc8b + checksum: 10c0/20f09c79c83b38a962cf7eff10d47a2c01bcc0bab7bf6d762594221cd89023ef8c7aec26751c47b524f53f5c8d38bba55a282529b3df82d5f5ab4350496316f9 languageName: node linkType: hard -"@typescript-eslint/types@npm:8.13.0": - version: 8.13.0 - resolution: "@typescript-eslint/types@npm:8.13.0" - checksum: 10c0/bd3f88b738a92b2222f388bcf831357ef8940a763c2c2eb1947767e1051dd2f8bee387020e8cf4c2309e4142353961b659abc2885e30679109a0488b0bfefc23 +"@typescript-eslint/types@npm:8.15.0": + version: 8.15.0 + resolution: "@typescript-eslint/types@npm:8.15.0" + checksum: 10c0/84abc6fd954aff13822a76ac49efdcb90a55c0025c20eee5d8cebcfb68faff33b79bbc711ea524e0209cecd90c5ee3a5f92babc7083c081d3a383a0710264a41 languageName: node linkType: hard @@ -6821,12 +6876,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.13.0": - version: 8.13.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.13.0" +"@typescript-eslint/typescript-estree@npm:8.15.0": + version: 8.15.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.15.0" dependencies: - "@typescript-eslint/types": "npm:8.13.0" - "@typescript-eslint/visitor-keys": "npm:8.13.0" + "@typescript-eslint/types": "npm:8.15.0" + "@typescript-eslint/visitor-keys": "npm:8.15.0" debug: "npm:^4.3.4" fast-glob: "npm:^3.3.2" is-glob: "npm:^4.0.3" @@ -6836,7 +6891,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/2d45bc5ed4ac352bea927167ac28ef23bd13b6ae352ff50e85cddfdc4b06518f1dd4ae5f2495e30d6f62d247987677a4e807065d55829ba28963908a821dc96d + checksum: 10c0/3af5c129532db3575349571bbf64d32aeccc4f4df924ac447f5d8f6af8b387148df51965eb2c9b99991951d3dadef4f2509d7ce69bf34a2885d013c040762412 languageName: node linkType: hard @@ -6859,17 +6914,20 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.13.0": - version: 8.13.0 - resolution: "@typescript-eslint/utils@npm:8.13.0" +"@typescript-eslint/utils@npm:8.15.0": + version: 8.15.0 + resolution: "@typescript-eslint/utils@npm:8.15.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.13.0" - "@typescript-eslint/types": "npm:8.13.0" - "@typescript-eslint/typescript-estree": "npm:8.13.0" + "@typescript-eslint/scope-manager": "npm:8.15.0" + "@typescript-eslint/types": "npm:8.15.0" + "@typescript-eslint/typescript-estree": "npm:8.15.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - checksum: 10c0/3fc5a7184a949df5f5b64f6af039a1d21ef7fe15f3d88a5d485ccbb535746d18514751143993a5aee287228151be3e326baf8f899a0a0a93368f6f20857ffa6d + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/65743f51845a1f6fd2d21f66ca56182ba33e966716bdca73d30b7a67c294e47889c322de7d7b90ab0818296cd33c628e5eeeb03cec7ef2f76c47de7a453eeda2 languageName: node linkType: hard @@ -6887,13 +6945,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.13.0": - version: 8.13.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.13.0" +"@typescript-eslint/visitor-keys@npm:8.15.0": + version: 8.15.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.15.0" dependencies: - "@typescript-eslint/types": "npm:8.13.0" - eslint-visitor-keys: "npm:^3.4.3" - checksum: 10c0/50b35f3cf673aaed940613f0007f7c4558a89ebef15c49824e65b6f084b700fbf01b01a4e701e24bbe651297a39678645e739acd255255f1603867a84bef0383 + "@typescript-eslint/types": "npm:8.15.0" + eslint-visitor-keys: "npm:^4.2.0" + checksum: 10c0/02a954c3752c4328482a884eb1da06ca8fb72ae78ef28f1d854b18f3779406ed47263af22321cf3f65a637ec7584e5f483e34a263b5c8cec60ec85aebc263574 languageName: node linkType: hard @@ -8810,6 +8868,15 @@ __metadata: languageName: node linkType: hard +"chokidar@npm:^4.0.1": + version: 4.0.1 + resolution: "chokidar@npm:4.0.1" + dependencies: + readdirp: "npm:^4.0.1" + checksum: 10c0/4bb7a3adc304059810bb6c420c43261a15bb44f610d77c35547addc84faa0374265c3adc67f25d06f363d9a4571962b02679268c40de07676d260de1986efea9 + languageName: node + linkType: hard + "chownr@npm:^2.0.0": version: 2.0.0 resolution: "chownr@npm:2.0.0" @@ -9322,7 +9389,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" dependencies: @@ -9333,6 +9400,17 @@ __metadata: languageName: node linkType: hard +"cross-spawn@npm:^7.0.5": + version: 7.0.6 + resolution: "cross-spawn@npm:7.0.6" + dependencies: + path-key: "npm:^3.1.0" + shebang-command: "npm:^2.0.0" + which: "npm:^2.0.1" + checksum: 10c0/053ea8b2135caff68a9e81470e845613e374e7309a47731e81639de3eaeb90c3d01af0e0b44d2ab9d50b43467223b88567dfeb3262db942dc063b9976718ffc1 + languageName: node + linkType: hard + "crypto-browserify@npm:^3.12.0": version: 3.12.0 resolution: "crypto-browserify@npm:3.12.0" @@ -10180,7 +10258,7 @@ __metadata: react-number-format: "npm:^5.4.2" recharts: "npm:^2.13.3" remark-slug: "npm:^7.0.1" - shiki: "npm:^1.1.7" + shiki: "npm:^1.23.1" typescript: "npm:5.6.3" languageName: unknown linkType: soft @@ -10454,6 +10532,13 @@ __metadata: languageName: node linkType: hard +"emoji-regex-xs@npm:^1.0.0": + version: 1.0.0 + resolution: "emoji-regex-xs@npm:1.0.0" + checksum: 10c0/1082de006991eb05a3324ef0efe1950c7cdf66efc01d4578de82b0d0d62add4e55e97695a8a7eeda826c305081562dc79b477ddf18d886da77f3ba08c4b940a0 + languageName: node + linkType: hard + "emoji-regex@npm:^10.3.0": version: 10.4.0 resolution: "emoji-regex@npm:10.4.0" @@ -11262,25 +11347,25 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^9.14.0": - version: 9.14.0 - resolution: "eslint@npm:9.14.0" +"eslint@npm:^9.15.0": + version: 9.15.0 + resolution: "eslint@npm:9.15.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.12.1" - "@eslint/config-array": "npm:^0.18.0" - "@eslint/core": "npm:^0.7.0" - "@eslint/eslintrc": "npm:^3.1.0" - "@eslint/js": "npm:9.14.0" - "@eslint/plugin-kit": "npm:^0.2.0" + "@eslint/config-array": "npm:^0.19.0" + "@eslint/core": "npm:^0.9.0" + "@eslint/eslintrc": "npm:^3.2.0" + "@eslint/js": "npm:9.15.0" + "@eslint/plugin-kit": "npm:^0.2.3" "@humanfs/node": "npm:^0.16.6" "@humanwhocodes/module-importer": "npm:^1.0.1" - "@humanwhocodes/retry": "npm:^0.4.0" + "@humanwhocodes/retry": "npm:^0.4.1" "@types/estree": "npm:^1.0.6" "@types/json-schema": "npm:^7.0.15" ajv: "npm:^6.12.4" chalk: "npm:^4.0.0" - cross-spawn: "npm:^7.0.2" + cross-spawn: "npm:^7.0.5" debug: "npm:^4.3.2" escape-string-regexp: "npm:^4.0.0" eslint-scope: "npm:^8.2.0" @@ -11300,7 +11385,6 @@ __metadata: minimatch: "npm:^3.1.2" natural-compare: "npm:^1.4.0" optionator: "npm:^0.9.3" - text-table: "npm:^0.2.0" peerDependencies: jiti: "*" peerDependenciesMeta: @@ -11308,7 +11392,7 @@ __metadata: optional: true bin: eslint: bin/eslint.js - checksum: 10c0/e1cbf571b75519ad0b24c27e66a6575e57cab2671ef5296e7b345d9ac3adc1a549118dcc74a05b651a7a13a5e61ebb680be6a3e04a80e1f22eba1931921b5187 + checksum: 10c0/d0d7606f36bfcccb1c3703d0a24df32067b207a616f17efe5fb1765a91d13f085afffc4fc97ecde4ab9c9f4edd64d9b4ce750e13ff7937a25074b24bee15b20f languageName: node linkType: hard @@ -12788,6 +12872,25 @@ __metadata: languageName: node linkType: hard +"hast-util-to-html@npm:^9.0.3": + version: 9.0.3 + resolution: "hast-util-to-html@npm:9.0.3" + dependencies: + "@types/hast": "npm:^3.0.0" + "@types/unist": "npm:^3.0.0" + ccount: "npm:^2.0.0" + comma-separated-tokens: "npm:^2.0.0" + hast-util-whitespace: "npm:^3.0.0" + html-void-elements: "npm:^3.0.0" + mdast-util-to-hast: "npm:^13.0.0" + property-information: "npm:^6.0.0" + space-separated-tokens: "npm:^2.0.0" + stringify-entities: "npm:^4.0.0" + zwitch: "npm:^2.0.4" + checksum: 10c0/af938a03034727f6c944d3855732d72f71a3bcd920d36b9ba3e083df2217faf81713740934db64673aca69d76b60abe80052e47c0702323fd0bd5dce03b67b8d + languageName: node + linkType: hard + "hast-util-to-jsx-runtime@npm:^2.0.0": version: 2.2.0 resolution: "hast-util-to-jsx-runtime@npm:2.2.0" @@ -12853,7 +12956,7 @@ __metadata: react-dom: "npm:^18.3.1" react-imask: "npm:^7.6.1" remark-slug: "npm:^7.0.1" - shiki: "npm:^1.1.7" + shiki: "npm:^1.23.1" typescript: "npm:5.6.3" languageName: unknown linkType: soft @@ -12991,6 +13094,13 @@ __metadata: languageName: node linkType: hard +"html-void-elements@npm:^3.0.0": + version: 3.0.0 + resolution: "html-void-elements@npm:3.0.0" + checksum: 10c0/a8b9ec5db23b7c8053876dad73a0336183e6162bf6d2677376d8b38d654fdc59ba74fdd12f8812688f7db6fad451210c91b300e472afc0909224e0a44c8610d2 + languageName: node + linkType: hard + "html-webpack-plugin@npm:^5.5.0": version: 5.5.3 resolution: "html-webpack-plugin@npm:5.5.3" @@ -15458,16 +15568,16 @@ __metadata: "@emotion/serialize": "npm:^1.3.2" "@emotion/server": "npm:^11.11.0" "@emotion/utils": "npm:^1.4.1" - "@eslint/js": "npm:^9.14.0" + "@eslint/js": "npm:^9.15.0" "@floating-ui/react": "npm:^0.26.27" "@hello-pangea/dnd": "npm:^16.3.0" - "@ianvs/prettier-plugin-sort-imports": "npm:^4.3.1" + "@ianvs/prettier-plugin-sort-imports": "npm:^4.4.0" "@rollup/plugin-alias": "npm:^5.1.1" "@rollup/plugin-node-resolve": "npm:^15.3.0" "@rollup/plugin-replace": "npm:^6.0.1" "@storybook/addon-styling-webpack": "npm:^1.0.1" - "@storybook/nextjs": "npm:^8.4.2" - "@storybook/react": "npm:^8.4.2" + "@storybook/nextjs": "npm:^8.4.4" + "@storybook/react": "npm:^8.4.4" "@tabler/icons-react": "npm:^3.3.0" "@testing-library/dom": "npm:10.4.0" "@testing-library/jest-dom": "npm:6.6.3" @@ -15516,7 +15626,7 @@ __metadata: embla-carousel-react: "npm:^7.1.0" esbuild: "npm:^0.24.0" esbuild-jest: "npm:^0.5.0" - eslint: "npm:^9.14.0" + eslint: "npm:^9.15.0" eslint-config-mantine: "npm:^4.0.3" eslint-plugin-jest: "npm:^28.9.0" eslint-plugin-jsx-a11y: "npm:^6.10.2" @@ -15539,7 +15649,7 @@ __metadata: new-github-release-url: "npm:^2.0.0" next: "npm:14.2.12" open: "npm:^10.1.0" - postcss: "npm:^8.4.47" + postcss: "npm:^8.4.49" postcss-loader: "npm:^8.1.1" postcss-preset-mantine: "npm:1.17.0" postcss-simple-vars: "npm:^7.0.1" @@ -15555,28 +15665,28 @@ __metadata: react-virtuoso: "npm:^4.12.0" recharts: "npm:^2.13.3" rimraf: "npm:^6.0.1" - rollup: "npm:^4.24.4" + rollup: "npm:^4.27.3" rollup-plugin-banner2: "npm:^1.3.0" rollup-plugin-esbuild: "npm:^6.1.1" rollup-plugin-postcss: "npm:^4.0.2" - shiki: "npm:^1.1.7" + shiki: "npm:^1.23.1" signale: "npm:^1.4.0" simple-git: "npm:^3.27.0" - storybook: "npm:^8.4.2" + storybook: "npm:^8.4.4" storybook-dark-mode: "npm:^4.0.2" style-loader: "npm:^4.0.0" stylelint: "npm:^16.10.0" stylelint-config-standard-scss: "npm:^13.1.0" syncpack: "npm:^13.0.0" ts-node: "npm:^10.9.2" - tsconfig-paths-webpack-plugin: "npm:^4.1.0" + tsconfig-paths-webpack-plugin: "npm:^4.2.0" tsx: "npm:^4.19.2" type-fest: "npm:^4.26.1" typescript: "npm:5.6.3" - typescript-eslint: "npm:^8.13.0" + typescript-eslint: "npm:^8.15.0" version-next: "npm:^1.0.2" webpack: "npm:^5.96.1" - wrangler: "npm:^3.84.1" + wrangler: "npm:^3.88.0" yargs: "npm:^17.7.2" zx: "npm:^8.2.2" languageName: unknown @@ -16318,9 +16428,9 @@ __metadata: languageName: node linkType: hard -"miniflare@npm:3.20241022.0": - version: 3.20241022.0 - resolution: "miniflare@npm:3.20241022.0" +"miniflare@npm:3.20241106.0": + version: 3.20241106.0 + resolution: "miniflare@npm:3.20241106.0" dependencies: "@cspotcode/source-map-support": "npm:0.8.1" acorn: "npm:^8.8.0" @@ -16330,13 +16440,13 @@ __metadata: glob-to-regexp: "npm:^0.4.1" stoppable: "npm:^1.1.0" undici: "npm:^5.28.4" - workerd: "npm:1.20241022.0" - ws: "npm:^8.17.1" + workerd: "npm:1.20241106.1" + ws: "npm:^8.18.0" youch: "npm:^3.2.2" zod: "npm:^3.22.3" bin: miniflare: bootstrap.js - checksum: 10c0/fb6a19a67dd25645fbbfeaf6ca8413b0b775e99fc0e13b1131c03b329d5a855819d8e736c43a7ee4862f00aaac1fdccbf05846bf6c8655173afe1e35812d513b + checksum: 10c0/b3d01509def845f52084661c39e4c158aafada23ba205ddaf1a96797a590e68ddf2d6c1c1a7ebef28aa3bbdbdcb0122be56d6f26d7b6682995bd20551845f396 languageName: node linkType: hard @@ -17107,6 +17217,17 @@ __metadata: languageName: node linkType: hard +"oniguruma-to-es@npm:0.4.1": + version: 0.4.1 + resolution: "oniguruma-to-es@npm:0.4.1" + dependencies: + emoji-regex-xs: "npm:^1.0.0" + regex: "npm:^5.0.0" + regex-recursion: "npm:^4.2.1" + checksum: 10c0/342ca92840f62be23252d9834ba07e85bf1a8d2962fef348d0fd0d49038776be338796662665ff602ee452215d01ab0cad92b4454cd7310e33a8c32c0e1d3dec + languageName: node + linkType: hard + "open@npm:^10.1.0": version: 10.1.0 resolution: "open@npm:10.1.0" @@ -17563,7 +17684,7 @@ __metadata: languageName: node linkType: hard -"picocolors@npm:^1.0.1, picocolors@npm:^1.1.0": +"picocolors@npm:^1.0.1, picocolors@npm:^1.1.0, picocolors@npm:^1.1.1": version: 1.1.1 resolution: "picocolors@npm:1.1.1" checksum: 10c0/e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58 @@ -18293,6 +18414,17 @@ __metadata: languageName: node linkType: hard +"postcss@npm:^8.4.49": + version: 8.4.49 + resolution: "postcss@npm:8.4.49" + dependencies: + nanoid: "npm:^3.3.7" + picocolors: "npm:^1.1.1" + source-map-js: "npm:^1.2.1" + checksum: 10c0/f1b3f17aaf36d136f59ec373459f18129908235e65dbdc3aee5eef8eba0756106f52de5ec4682e29a2eab53eb25170e7e871b3e4b52a8f1de3d344a514306be3 + languageName: node + linkType: hard + "prelude-ls@npm:^1.2.1": version: 1.2.1 resolution: "prelude-ls@npm:1.2.1" @@ -19189,6 +19321,13 @@ __metadata: languageName: node linkType: hard +"readdirp@npm:^4.0.1": + version: 4.0.2 + resolution: "readdirp@npm:4.0.2" + checksum: 10c0/a16ecd8ef3286dcd90648c3b103e3826db2b766cdb4a988752c43a83f683d01c7059158d623cbcd8bdfb39e65d302d285be2d208e7d9f34d022d912b929217dd + languageName: node + linkType: hard + "readdirp@npm:~3.6.0": version: 3.6.0 resolution: "readdirp@npm:3.6.0" @@ -19344,6 +19483,31 @@ __metadata: languageName: node linkType: hard +"regex-recursion@npm:^4.2.1": + version: 4.2.1 + resolution: "regex-recursion@npm:4.2.1" + dependencies: + regex-utilities: "npm:^2.3.0" + checksum: 10c0/6dee0bccfe1e687da4a51a22526aa72c74ca4fcca55851428fe89b040e45d763933833652727e5074a1c704b7313d77304fe1cdba67382e2d97db62bbe701096 + languageName: node + linkType: hard + +"regex-utilities@npm:^2.3.0": + version: 2.3.0 + resolution: "regex-utilities@npm:2.3.0" + checksum: 10c0/78c550a80a0af75223244fff006743922591bd8f61d91fef7c86b9b56cf9bbf8ee5d7adb6d8991b5e304c57c90103fc4818cf1e357b11c6c669b782839bd7893 + languageName: node + linkType: hard + +"regex@npm:^5.0.0": + version: 5.0.2 + resolution: "regex@npm:5.0.2" + dependencies: + regex-utilities: "npm:^2.3.0" + checksum: 10c0/a9bc88a4b4cfb14a1c273312bb81c1bea5869648810bfb66353aa1ba6ce8bc8967559203eff3e20992c2696af41ed161872b9c49885503ea1c78f8433a9def81 + languageName: node + linkType: hard + "regexp.prototype.flags@npm:^1.5.1": version: 1.5.1 resolution: "regexp.prototype.flags@npm:1.5.1" @@ -19841,28 +20005,28 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.24.4": - version: 4.24.4 - resolution: "rollup@npm:4.24.4" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.24.4" - "@rollup/rollup-android-arm64": "npm:4.24.4" - "@rollup/rollup-darwin-arm64": "npm:4.24.4" - "@rollup/rollup-darwin-x64": "npm:4.24.4" - "@rollup/rollup-freebsd-arm64": "npm:4.24.4" - "@rollup/rollup-freebsd-x64": "npm:4.24.4" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.24.4" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.24.4" - "@rollup/rollup-linux-arm64-gnu": "npm:4.24.4" - "@rollup/rollup-linux-arm64-musl": "npm:4.24.4" - "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.24.4" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.24.4" - "@rollup/rollup-linux-s390x-gnu": "npm:4.24.4" - "@rollup/rollup-linux-x64-gnu": "npm:4.24.4" - "@rollup/rollup-linux-x64-musl": "npm:4.24.4" - "@rollup/rollup-win32-arm64-msvc": "npm:4.24.4" - "@rollup/rollup-win32-ia32-msvc": "npm:4.24.4" - "@rollup/rollup-win32-x64-msvc": "npm:4.24.4" +"rollup@npm:^4.27.3": + version: 4.27.3 + resolution: "rollup@npm:4.27.3" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.27.3" + "@rollup/rollup-android-arm64": "npm:4.27.3" + "@rollup/rollup-darwin-arm64": "npm:4.27.3" + "@rollup/rollup-darwin-x64": "npm:4.27.3" + "@rollup/rollup-freebsd-arm64": "npm:4.27.3" + "@rollup/rollup-freebsd-x64": "npm:4.27.3" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.27.3" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.27.3" + "@rollup/rollup-linux-arm64-gnu": "npm:4.27.3" + "@rollup/rollup-linux-arm64-musl": "npm:4.27.3" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.27.3" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.27.3" + "@rollup/rollup-linux-s390x-gnu": "npm:4.27.3" + "@rollup/rollup-linux-x64-gnu": "npm:4.27.3" + "@rollup/rollup-linux-x64-musl": "npm:4.27.3" + "@rollup/rollup-win32-arm64-msvc": "npm:4.27.3" + "@rollup/rollup-win32-ia32-msvc": "npm:4.27.3" + "@rollup/rollup-win32-x64-msvc": "npm:4.27.3" "@types/estree": "npm:1.0.6" fsevents: "npm:~2.3.2" dependenciesMeta: @@ -19906,7 +20070,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 10c0/8e9e9ce4dc8cc48acf258a26519ed1bbbbdac99fd701e89d11c31271e01b4663fe61d839f7906a49c0983b1a49e2acc622948d7665ff0f57ecc48d872835d1ce + checksum: 10c0/789885d3f852ed7ca45bed14194a2ac7a2cf16b6b62b54f691c79e27d5557d31a2d612d3680c26c527a1957e0bd6811806ddd765e0dae589404cf24544ff2838 languageName: node linkType: hard @@ -20385,12 +20549,17 @@ __metadata: languageName: node linkType: hard -"shiki@npm:^1.1.7": - version: 1.1.7 - resolution: "shiki@npm:1.1.7" +"shiki@npm:^1.23.1": + version: 1.23.1 + resolution: "shiki@npm:1.23.1" dependencies: - "@shikijs/core": "npm:1.1.7" - checksum: 10c0/536f8dec961d7938f6d3a63dd6be64be082b56c1433380eda0a82cb57b5789759097947d9ef1726e521d4054a6fe2b73639e94bedaccea2044fa640667167501 + "@shikijs/core": "npm:1.23.1" + "@shikijs/engine-javascript": "npm:1.23.1" + "@shikijs/engine-oniguruma": "npm:1.23.1" + "@shikijs/types": "npm:1.23.1" + "@shikijs/vscode-textmate": "npm:^9.3.0" + "@types/hast": "npm:^3.0.4" + checksum: 10c0/7c2bcc800fb986a1856a9859c694194d22449bc0a7f964e1fad8a713246257a58606b0a0e35d25b07a51f52d51737f1415d882090e74a94672ebb6d9bbe2cf88 languageName: node linkType: hard @@ -20766,11 +20935,11 @@ __metadata: languageName: node linkType: hard -"storybook@npm:^8.4.2": - version: 8.4.2 - resolution: "storybook@npm:8.4.2" +"storybook@npm:^8.4.4": + version: 8.4.4 + resolution: "storybook@npm:8.4.4" dependencies: - "@storybook/core": "npm:8.4.2" + "@storybook/core": "npm:8.4.4" peerDependencies: prettier: ^2 || ^3 peerDependenciesMeta: @@ -20780,7 +20949,7 @@ __metadata: getstorybook: ./bin/index.cjs sb: ./bin/index.cjs storybook: ./bin/index.cjs - checksum: 10c0/54791f44de53d465a74c44ec16255ebe5248156eee54b768fdcc12a7556e1b6e2a23c9c5c5eec0c3fcc71c3820398999ede5042f711a851b0ca9c71e65c8ab19 + checksum: 10c0/cf680b8451fc4941812af91844b332fec83aa71739e1ce528bb6de623d89b119b7db6c4a3f6b4e600604d39e3c4e04f0cc6d500815c473da7ee676208fa3c782 languageName: node linkType: hard @@ -21600,13 +21769,6 @@ __metadata: languageName: node linkType: hard -"text-table@npm:^0.2.0": - version: 0.2.0 - resolution: "text-table@npm:0.2.0" - checksum: 10c0/02805740c12851ea5982686810702e2f14369a5f4c5c40a836821e3eefc65ffeec3131ba324692a37608294b0fd8c1e55a2dd571ffed4909822787668ddbee5c - languageName: node - linkType: hard - "through2@npm:~0.4.1": version: 0.4.2 resolution: "through2@npm:0.4.2" @@ -21860,7 +22022,7 @@ __metadata: languageName: node linkType: hard -"tsconfig-paths-webpack-plugin@npm:^4.0.1, tsconfig-paths-webpack-plugin@npm:^4.1.0": +"tsconfig-paths-webpack-plugin@npm:^4.0.1": version: 4.1.0 resolution: "tsconfig-paths-webpack-plugin@npm:4.1.0" dependencies: @@ -21871,6 +22033,18 @@ __metadata: languageName: node linkType: hard +"tsconfig-paths-webpack-plugin@npm:^4.2.0": + version: 4.2.0 + resolution: "tsconfig-paths-webpack-plugin@npm:4.2.0" + dependencies: + chalk: "npm:^4.1.0" + enhanced-resolve: "npm:^5.7.0" + tapable: "npm:^2.2.1" + tsconfig-paths: "npm:^4.1.2" + checksum: 10c0/495c5ab7c1cb079217d98fe25d61def01e4bab38047c7ab25ec11876cc8c697ff01f43ea6c9933181875e51e49835407fc71afd92ea6cca1ba1bebf513dfb510 + languageName: node + linkType: hard + "tsconfig-paths@npm:^4.0.0, tsconfig-paths@npm:^4.1.2, tsconfig-paths@npm:^4.2.0": version: 4.2.0 resolution: "tsconfig-paths@npm:4.2.0" @@ -22087,17 +22261,19 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:^8.13.0": - version: 8.13.0 - resolution: "typescript-eslint@npm:8.13.0" +"typescript-eslint@npm:^8.15.0": + version: 8.15.0 + resolution: "typescript-eslint@npm:8.15.0" dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.13.0" - "@typescript-eslint/parser": "npm:8.13.0" - "@typescript-eslint/utils": "npm:8.13.0" + "@typescript-eslint/eslint-plugin": "npm:8.15.0" + "@typescript-eslint/parser": "npm:8.15.0" + "@typescript-eslint/utils": "npm:8.15.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/a84958e7602360c4cb2e6227fd9aae19dd18cdf1a2cfd9ece2a81d54098f80454b5707e861e98547d0b2e5dae552b136aa6733b74f0dd743ca7bfe178083c441 + checksum: 10c0/589aebf0d0b9b79db1cd0b7c2ea08c6b5727c1db095d39077d070c332066c7d549a0eb2ef60b0d41619720c317c1955236c5c8ee6320bc7c6ae475add7223b55 languageName: node linkType: hard @@ -22170,15 +22346,15 @@ __metadata: languageName: node linkType: hard -"unenv@npm:unenv-nightly@2.0.0-20241024-111401-d4156ac": - version: 2.0.0-20241024-111401-d4156ac - resolution: "unenv-nightly@npm:2.0.0-20241024-111401-d4156ac" +"unenv@npm:unenv-nightly@2.0.0-20241111-080453-894aa31": + version: 2.0.0-20241111-080453-894aa31 + resolution: "unenv-nightly@npm:2.0.0-20241111-080453-894aa31" dependencies: defu: "npm:^6.1.4" ohash: "npm:^1.1.4" pathe: "npm:^1.1.2" ufo: "npm:^1.5.4" - checksum: 10c0/22c0d93fd72629d94f3a2730790cda817d63813b9d349147c611cfcc0e489416b5dba926e1b8e517e6c7a992016edb6267446a9c26a79c3bb7e90ec899be98e3 + checksum: 10c0/08ca9bd6549144f6fc635de2cf5d3016082e69fef32668bc297dfb49b3323aeebbbb4b9ef2d2a11b7206add9a62103a2187eda8ea57b3f68ae7d0894efb86388 languageName: node linkType: hard @@ -23062,15 +23238,15 @@ __metadata: languageName: node linkType: hard -"workerd@npm:1.20241022.0": - version: 1.20241022.0 - resolution: "workerd@npm:1.20241022.0" +"workerd@npm:1.20241106.1": + version: 1.20241106.1 + resolution: "workerd@npm:1.20241106.1" dependencies: - "@cloudflare/workerd-darwin-64": "npm:1.20241022.0" - "@cloudflare/workerd-darwin-arm64": "npm:1.20241022.0" - "@cloudflare/workerd-linux-64": "npm:1.20241022.0" - "@cloudflare/workerd-linux-arm64": "npm:1.20241022.0" - "@cloudflare/workerd-windows-64": "npm:1.20241022.0" + "@cloudflare/workerd-darwin-64": "npm:1.20241106.1" + "@cloudflare/workerd-darwin-arm64": "npm:1.20241106.1" + "@cloudflare/workerd-linux-64": "npm:1.20241106.1" + "@cloudflare/workerd-linux-arm64": "npm:1.20241106.1" + "@cloudflare/workerd-windows-64": "npm:1.20241106.1" dependenciesMeta: "@cloudflare/workerd-darwin-64": optional: true @@ -23084,36 +23260,36 @@ __metadata: optional: true bin: workerd: bin/workerd - checksum: 10c0/00e38402d9e76f186442d7fc6ea1646b2eadc78a33ecbd8e2408dbf9b9165f0974814d9fd4c437ec2d8ba8c5ad97a81b614882d15dfd777433aa5b1577c7132d + checksum: 10c0/5a3fee9081af3ab40471248941c094703540ac2d338099825b782820545fd1a792a09f8eb0698870e61cefdc735cd30328d37298ea9a62cf25a4223adae11503 languageName: node linkType: hard -"wrangler@npm:^3.84.1": - version: 3.84.1 - resolution: "wrangler@npm:3.84.1" +"wrangler@npm:^3.88.0": + version: 3.88.0 + resolution: "wrangler@npm:3.88.0" dependencies: "@cloudflare/kv-asset-handler": "npm:0.3.4" - "@cloudflare/workers-shared": "npm:0.7.0" + "@cloudflare/workers-shared": "npm:0.7.1" "@esbuild-plugins/node-globals-polyfill": "npm:^0.2.3" "@esbuild-plugins/node-modules-polyfill": "npm:^0.2.2" blake3-wasm: "npm:^2.1.5" - chokidar: "npm:^3.5.3" + chokidar: "npm:^4.0.1" date-fns: "npm:^4.1.0" esbuild: "npm:0.17.19" fsevents: "npm:~2.3.2" itty-time: "npm:^1.0.6" - miniflare: "npm:3.20241022.0" + miniflare: "npm:3.20241106.0" nanoid: "npm:^3.3.3" path-to-regexp: "npm:^6.3.0" resolve: "npm:^1.22.8" resolve.exports: "npm:^2.0.2" selfsigned: "npm:^2.0.1" source-map: "npm:^0.6.1" - unenv: "npm:unenv-nightly@2.0.0-20241024-111401-d4156ac" - workerd: "npm:1.20241022.0" + unenv: "npm:unenv-nightly@2.0.0-20241111-080453-894aa31" + workerd: "npm:1.20241106.1" xxhash-wasm: "npm:^1.0.1" peerDependencies: - "@cloudflare/workers-types": ^4.20241022.0 + "@cloudflare/workers-types": ^4.20241106.0 dependenciesMeta: fsevents: optional: true @@ -23123,7 +23299,7 @@ __metadata: bin: wrangler: bin/wrangler.js wrangler2: bin/wrangler.js - checksum: 10c0/7ac877b2c3dc569cad51a9c458f8eb5de05b95f90c37fd433c3a6b6d2ffe2a81a64ebf1676accd5e10e7fe074f40c27d9ddc2b761b55c467ff2cc4226d69f119 + checksum: 10c0/88e063f8347133c172d493e33edac9a15918418bf0c61e1471d30d7e4ff9d591c8645b5741a289be99a4a6b18f1f98f1c3ddcfb9e3783c375a73d77f9b918c69 languageName: node linkType: hard @@ -23203,7 +23379,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.17.1": +"ws@npm:^8.18.0": version: 8.18.0 resolution: "ws@npm:8.18.0" peerDependencies: @@ -23359,7 +23535,7 @@ __metadata: languageName: node linkType: hard -"zwitch@npm:^2.0.0": +"zwitch@npm:^2.0.0, zwitch@npm:^2.0.4": version: 2.0.4 resolution: "zwitch@npm:2.0.4" checksum: 10c0/3c7830cdd3378667e058ffdb4cf2bb78ac5711214e2725900873accb23f3dfe5f9e7e5a06dcdc5f29605da976fc45c26d9a13ca334d6eea2245a15e77b8fc06e From e75e7c78ec36aa7ad15eeef909983a6a7ef55210 Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Wed, 20 Nov 2024 08:52:38 +0400 Subject: [PATCH 18/33] [@mantine/core] Update floating-ui, react-textarea-autosize and type-fest dependencies to the latest version --- apps/mantine.dev/package.json | 2 +- package.json | 6 ++--- packages/@mantine/core/package.json | 6 ++--- yarn.lock | 38 ++++++++++++++--------------- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/apps/mantine.dev/package.json b/apps/mantine.dev/package.json index fa22f91b1f..803e73a0f5 100644 --- a/apps/mantine.dev/package.json +++ b/apps/mantine.dev/package.json @@ -14,7 +14,7 @@ "dependencies": { "@docs/demos": "workspace:*", "@docs/styles-api": "workspace:*", - "@floating-ui/react": "^0.26.27", + "@floating-ui/react": "^0.26.28", "@hello-pangea/dnd": "^16.3.0", "@mantine/carousel": "workspace:*", "@mantine/charts": "workspace:*", diff --git a/package.json b/package.json index d6883d38f1..4c9ea44cb5 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "@emotion/serialize": "^1.3.2", "@emotion/server": "^11.11.0", "@emotion/utils": "^1.4.1", - "@floating-ui/react": "^0.26.27", + "@floating-ui/react": "^0.26.28", "@tabler/icons-react": "^3.3.0", "@tiptap/core": "^2.9.1", "@tiptap/extension-code-block": "^2.9.1", @@ -103,11 +103,11 @@ "react-imask": "^7.6.1", "react-number-format": "^5.4.2", "react-remove-scroll": "^2.6.0", - "react-textarea-autosize": "8.5.4", + "react-textarea-autosize": "8.5.5", "react-transition-group": "4.4.5", "recharts": "^2.13.3", "shiki": "^1.23.1", - "type-fest": "^4.26.1" + "type-fest": "^4.27.0" }, "devDependencies": { "@babel/core": "7.26.0", diff --git a/packages/@mantine/core/package.json b/packages/@mantine/core/package.json index 395db4b717..2ed723ca2e 100644 --- a/packages/@mantine/core/package.json +++ b/packages/@mantine/core/package.json @@ -48,12 +48,12 @@ "react-dom": "^18.x || ^19.x" }, "dependencies": { - "@floating-ui/react": "^0.26.27", + "@floating-ui/react": "^0.26.28", "clsx": "^2.1.1", "react-number-format": "^5.4.2", "react-remove-scroll": "^2.6.0", - "react-textarea-autosize": "8.5.4", - "type-fest": "^4.26.1" + "react-textarea-autosize": "8.5.5", + "type-fest": "^4.27.0" }, "devDependencies": { "@mantine-tests/core": "workspace:*", diff --git a/yarn.lock b/yarn.lock index 83701ba621..10d59ef885 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3228,9 +3228,9 @@ __metadata: languageName: node linkType: hard -"@floating-ui/react@npm:^0.26.27": - version: 0.26.27 - resolution: "@floating-ui/react@npm:0.26.27" +"@floating-ui/react@npm:^0.26.28": + version: 0.26.28 + resolution: "@floating-ui/react@npm:0.26.28" dependencies: "@floating-ui/react-dom": "npm:^2.1.2" "@floating-ui/utils": "npm:^0.2.8" @@ -3238,7 +3238,7 @@ __metadata: peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 10c0/6a27fadeb04862ecdb192f8e5428185ab0217b0c084e5464b2c218697f317a437dbfa47a7fb44332d505f047c17721e00f3705cb20e61b406117fea1ba2995b2 + checksum: 10c0/a42df129e1e976fe8ba3f4c8efdda265a0196c1b66b83f2b9b27423d08dcc765406f893aeff9d830e70e3f14a9d4c490867eb4c32983317cbaa33863b0fae6f6 languageName: node linkType: hard @@ -4089,14 +4089,14 @@ __metadata: version: 0.0.0-use.local resolution: "@mantine/core@workspace:packages/@mantine/core" dependencies: - "@floating-ui/react": "npm:^0.26.27" + "@floating-ui/react": "npm:^0.26.28" "@mantine-tests/core": "workspace:*" "@mantine/hooks": "workspace:*" clsx: "npm:^2.1.1" react-number-format: "npm:^5.4.2" react-remove-scroll: "npm:^2.6.0" - react-textarea-autosize: "npm:8.5.4" - type-fest: "npm:^4.26.1" + react-textarea-autosize: "npm:8.5.5" + type-fest: "npm:^4.27.0" peerDependencies: "@mantine/hooks": 7.14.2-alpha.0 react: ^18.x || ^19.x @@ -10195,7 +10195,7 @@ __metadata: dependencies: "@docs/demos": "workspace:*" "@docs/styles-api": "workspace:*" - "@floating-ui/react": "npm:^0.26.27" + "@floating-ui/react": "npm:^0.26.28" "@hello-pangea/dnd": "npm:^16.3.0" "@mantine/carousel": "workspace:*" "@mantine/charts": "workspace:*" @@ -15569,7 +15569,7 @@ __metadata: "@emotion/server": "npm:^11.11.0" "@emotion/utils": "npm:^1.4.1" "@eslint/js": "npm:^9.15.0" - "@floating-ui/react": "npm:^0.26.27" + "@floating-ui/react": "npm:^0.26.28" "@hello-pangea/dnd": "npm:^16.3.0" "@ianvs/prettier-plugin-sort-imports": "npm:^4.4.0" "@rollup/plugin-alias": "npm:^5.1.1" @@ -15660,7 +15660,7 @@ __metadata: react-imask: "npm:^7.6.1" react-number-format: "npm:^5.4.2" react-remove-scroll: "npm:^2.6.0" - react-textarea-autosize: "npm:8.5.4" + react-textarea-autosize: "npm:8.5.5" react-transition-group: "npm:4.4.5" react-virtuoso: "npm:^4.12.0" recharts: "npm:^2.13.3" @@ -15681,7 +15681,7 @@ __metadata: ts-node: "npm:^10.9.2" tsconfig-paths-webpack-plugin: "npm:^4.2.0" tsx: "npm:^4.19.2" - type-fest: "npm:^4.26.1" + type-fest: "npm:^4.27.0" typescript: "npm:5.6.3" typescript-eslint: "npm:^8.15.0" version-next: "npm:^1.0.2" @@ -19213,16 +19213,16 @@ __metadata: languageName: node linkType: hard -"react-textarea-autosize@npm:8.5.4": - version: 8.5.4 - resolution: "react-textarea-autosize@npm:8.5.4" +"react-textarea-autosize@npm:8.5.5": + version: 8.5.5 + resolution: "react-textarea-autosize@npm:8.5.5" dependencies: "@babel/runtime": "npm:^7.20.13" use-composed-ref: "npm:^1.3.0" use-latest: "npm:^1.2.1" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/ea92fda2128983c1a8e84c74706ffb4b8bfa1a19c803d210868ec031c1ac3b8ceee8028766ef5d91017265da2bdccf6a85e5b6e5d553005e839f0c47e5758b43 + checksum: 10c0/d708a31b39a409d0246cd8afbd956ce51db58ce0b6411b9d4e1dc876ce93c329d20875933ce5d337662fdcd3699596966dc630149236fee2835d74e302404c98 languageName: node linkType: hard @@ -22146,10 +22146,10 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^4.26.1": - version: 4.26.1 - resolution: "type-fest@npm:4.26.1" - checksum: 10c0/d2719ff8d380befe8a3c61068f37f28d6fa2849fd140c5d2f0f143099e371da6856aad7c97e56b83329d45bfe504afe9fd936a7cff600cc0d46aa9ffb008d6c6 +"type-fest@npm:^4.27.0": + version: 4.27.0 + resolution: "type-fest@npm:4.27.0" + checksum: 10c0/30c8ebe1219725021f5b5006081bd828c4e915de0de65e9a87065f566a96ece706846b2c874ac04c0dcfdfe6b4ae47ad15d3285c9aab162cb79c026dfb2e7556 languageName: node linkType: hard From 822cf3e99551f6a728973a5f47d1727230e4d24d Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Wed, 20 Nov 2024 08:57:12 +0400 Subject: [PATCH 19/33] [core] Update chroma-js to the latest version --- apps/mantine.dev/package.json | 2 +- package.json | 2 +- yarn.lock | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/mantine.dev/package.json b/apps/mantine.dev/package.json index 803e73a0f5..94fd4a3c12 100644 --- a/apps/mantine.dev/package.json +++ b/apps/mantine.dev/package.json @@ -59,7 +59,7 @@ "@tiptap/starter-kit": "^2.9.1", "@types/node": "^20.9.0", "@types/react": "18.3.12", - "chroma-js": ">=2.4.2", + "chroma-js": "^3.1.2", "dayjs": "^1.11.13", "embla-carousel": "^7.1.0", "embla-carousel-autoplay": "^7.1.0", diff --git a/package.json b/package.json index 4c9ea44cb5..df54d11eba 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "@tiptap/pm": "^2.9.1", "@tiptap/react": "^2.9.1", "@tiptap/starter-kit": "^2.9.1", - "chroma-js": ">=2.4.2", + "chroma-js": "^3.1.2", "clsx": "^2.1.1", "dayjs": "^1.11.13", "embla-carousel": "^7.1.0", diff --git a/yarn.lock b/yarn.lock index 10d59ef885..2cc42b90f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8884,10 +8884,10 @@ __metadata: languageName: node linkType: hard -"chroma-js@npm:>=2.4.2": - version: 3.1.1 - resolution: "chroma-js@npm:3.1.1" - checksum: 10c0/fb5e3cd958a954b8cd44017f70aff42ae37bc561cdcea0ebeeb6d2df5989e7402e02c674274af2eefd1478ee172e05ce51ac353e3cbe1db139f599b338523339 +"chroma-js@npm:^3.1.2": + version: 3.1.2 + resolution: "chroma-js@npm:3.1.2" + checksum: 10c0/145ce9aea91dac81c6158082675084778e8c83e6959032e37fd4ba9b01db9f5c29c520453ec4bab7e87689f12756fcc63821e3c6b866e083ea41d341c7b2bf71 languageName: node linkType: hard @@ -10242,7 +10242,7 @@ __metadata: "@types/github-slugger": "npm:^2.0.0" "@types/node": "npm:^20.9.0" "@types/react": "npm:18.3.12" - chroma-js: "npm:>=2.4.2" + chroma-js: "npm:^3.1.2" dayjs: "npm:^1.11.13" embla-carousel: "npm:^7.1.0" embla-carousel-autoplay: "npm:^7.1.0" @@ -15617,7 +15617,7 @@ __metadata: "@types/yargs": "npm:^17.0.33" babel-loader: "npm:^9.2.1" chalk: "npm:^5.3.0" - chroma-js: "npm:>=2.4.2" + chroma-js: "npm:^3.1.2" clsx: "npm:^2.1.1" css-loader: "npm:^7.1.2" dayjs: "npm:^1.11.13" From 4b1da1caf0daa21660aea435ecf8d0ec05e941c9 Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Wed, 20 Nov 2024 09:02:35 +0400 Subject: [PATCH 20/33] [core] Add ncu script --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index df54d11eba..09a8920b25 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,10 @@ "syncpack": "syncpack list-mismatches", "syncpack:format": "syncpack format", "prettier:test": "prettier --check \"**/*.{ts,tsx,mdx,css}\"", - "prettier:write": "prettier --write \"**/*.{ts,tsx,mdx,css}\"" + "prettier:write": "prettier --write \"**/*.{ts,tsx,mdx,css}\"", + "ncu:docs": "npx npm-check-updates --packageFile './apps/*/package.json' -x @tabler/icons-react", + "ncu:root": "npx npm-check-updates --packageFile './package.json' -x @tabler/icons-react", + "ncu": "npm run ncu:docs && npm run ncu:root" }, "dependencies": { "@emotion/cache": "^11.13.1", From 8b2497d69402281c1597a7a3fdb71aef7fee0e47 Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Wed, 20 Nov 2024 11:20:42 +0400 Subject: [PATCH 21/33] [@mantine/core] FileInput: Add missing placeholder Styles API reference --- .../src/data/FileInput.styles-api.ts | 1 + .../components/FileInput/FileInput.test.tsx | 3 +- .../src/components/FileInput/FileInput.tsx | 29 +++++++++++++++++-- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/packages/@docs/styles-api/src/data/FileInput.styles-api.ts b/packages/@docs/styles-api/src/data/FileInput.styles-api.ts index 5a95289267..27219161e5 100644 --- a/packages/@docs/styles-api/src/data/FileInput.styles-api.ts +++ b/packages/@docs/styles-api/src/data/FileInput.styles-api.ts @@ -6,6 +6,7 @@ export const FileInputStylesApi: StylesApiData = { selectors: { ...InputStylesApi.selectors, ...InputWrapperStylesApi.selectors, + placeholder: 'Placeholder text', }, vars: {}, diff --git a/packages/@mantine/core/src/components/FileInput/FileInput.test.tsx b/packages/@mantine/core/src/components/FileInput/FileInput.test.tsx index 5e8a1b1e6a..57dc897180 100644 --- a/packages/@mantine/core/src/components/FileInput/FileInput.test.tsx +++ b/packages/@mantine/core/src/components/FileInput/FileInput.test.tsx @@ -4,12 +4,13 @@ import { FileInput, FileInputProps } from './FileInput'; const defaultProps: FileInputProps = { ...inputDefaultProps, + placeholder: 'test-placeholder', }; describe('@mantine/core/FileInput', () => { tests.axe([]); - tests.itSupportsSystemProps({ + tests.itSupportsSystemProps({ component: FileInput, props: defaultProps, mod: true, diff --git a/packages/@mantine/core/src/components/FileInput/FileInput.tsx b/packages/@mantine/core/src/components/FileInput/FileInput.tsx index 7a3bcedecd..cee4bb71ba 100644 --- a/packages/@mantine/core/src/components/FileInput/FileInput.tsx +++ b/packages/@mantine/core/src/components/FileInput/FileInput.tsx @@ -1,6 +1,14 @@ import { useEffect, useRef } from 'react'; import { useMergedRef, useUncontrolled } from '@mantine/hooks'; -import { BoxProps, ElementProps, factory, Factory, StylesApiProps, useProps } from '../../core'; +import { + BoxProps, + ElementProps, + factory, + Factory, + StylesApiProps, + useProps, + useResolvedStylesApi, +} from '../../core'; import { CloseButton } from '../CloseButton'; import { FileButton } from '../FileButton'; import { __BaseInputProps, __InputStylesNames, Input, InputVariant } from '../Input'; @@ -62,7 +70,7 @@ export interface FileInputProps export type FileInputFactory = Factory<{ props: FileInputProps; ref: HTMLButtonElement; - stylesNames: __InputStylesNames; + stylesNames: __InputStylesNames | 'placeholder'; variant: InputVariant; }>; @@ -99,10 +107,17 @@ const _FileInput = factory((_props, ref) => { placeholder, component, resetRef: resetRefProp, + classNames, + styles, ...others } = props; const resetRef = useRef<() => void>(null); + const { resolvedClassNames, resolvedStyles } = useResolvedStylesApi({ + classNames, + styles, + props, + }); const [_value, setValue] = useUncontrolled({ value, @@ -159,9 +174,17 @@ const _FileInput = factory((_props, ref) => { __stylesApiProps={props} unstyled={unstyled} size={size} + classNames={classNames} + styles={styles} > {!hasValue ? ( - {placeholder} + + {placeholder} + ) : ( )} From e0bd74c3afe476167448907a2f7fc78ff233216c Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Wed, 20 Nov 2024 11:25:32 +0400 Subject: [PATCH 22/33] [@mantine/notifications] Fix notifications with bottom-right and top-right positions shifting when modal/drawer is opened --- .../@mantine/notifications/src/Notifications.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/@mantine/notifications/src/Notifications.tsx b/packages/@mantine/notifications/src/Notifications.tsx index 58f443dbd6..d277b77695 100644 --- a/packages/@mantine/notifications/src/Notifications.tsx +++ b/packages/@mantine/notifications/src/Notifications.tsx @@ -15,6 +15,7 @@ import { OptionalPortal, PortalProps, rem, + RemoveScroll, StylesApiProps, useMantineTheme, useProps, @@ -222,11 +223,19 @@ export const Notifications = factory((_props, ref) => { {groupedComponents['top-left']} - + {groupedComponents['top-right']} - + {groupedComponents['bottom-right']} From 5e03fa3817484613eb0bf488ba0b0173d422478b Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Wed, 20 Nov 2024 11:32:11 +0400 Subject: [PATCH 23/33] [@mantine/core] TypographyStylesProvider: Fix incorrect lists styles --- .../TypographyStylesProvider.module.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/@mantine/core/src/components/TypographyStylesProvider/TypographyStylesProvider.module.css b/packages/@mantine/core/src/components/TypographyStylesProvider/TypographyStylesProvider.module.css index 729fec331c..612851a3f9 100644 --- a/packages/@mantine/core/src/components/TypographyStylesProvider/TypographyStylesProvider.module.css +++ b/packages/@mantine/core/src/components/TypographyStylesProvider/TypographyStylesProvider.module.css @@ -174,11 +174,8 @@ & :where(ul, ol):not([data-type='taskList']) { margin-bottom: var(--mantine-spacing-md); - padding-inline-start: 38px; - - & :where(li) { - margin-bottom: var(--mantine-spacing-xs); - } + padding-inline-start: var(--mantine-spacing-lg); + list-style-position: inside; } & :where(table) { From 7fad3d6160d96bf3b3056c8e49f28ee9fd49f97d Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Wed, 20 Nov 2024 13:16:53 +0400 Subject: [PATCH 24/33] [@mantine/form] Add `onSubmitPreventDefault` option support (#7142) --- apps/mantine.dev/src/pages/form/use-form.mdx | 19 +++++++++++++++++++ packages/@mantine/form/src/types.ts | 1 + packages/@mantine/form/src/use-form.ts | 10 +++++++++- 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/apps/mantine.dev/src/pages/form/use-form.mdx b/apps/mantine.dev/src/pages/form/use-form.mdx index 3873d26796..6e42a4d84b 100644 --- a/apps/mantine.dev/src/pages/form/use-form.mdx +++ b/apps/mantine.dev/src/pages/form/use-form.mdx @@ -200,6 +200,25 @@ function Demo() { } ``` +## onSubmitPreventDefault option + +By default, `event.preventDefault()` is called on the form `onSubmit` handler. +If you want to change this behavior, you can pass `onSubmitPreventDefault` option +to `useForm` hook. It can have the following values: + +- `always` (default) - always call `event.preventDefault()` +- `never` - never call `event.preventDefault()` +- `validation-failed` - call `event.preventDefault()` only if validation failed + +```tsx +import { useForm } from '@mantine/form'; + +const form = useForm({ + mode: 'uncontrolled', + onSubmitPreventDefault: 'never', +}); +``` + ### Touched and dirty [Touched & dirty guide](/form/status/) diff --git a/packages/@mantine/form/src/types.ts b/packages/@mantine/form/src/types.ts index b8a8568e78..e5778b22bb 100644 --- a/packages/@mantine/form/src/types.ts +++ b/packages/@mantine/form/src/types.ts @@ -206,6 +206,7 @@ export interface UseFormInput< options: GetInputPropsOptions; form: UseFormReturnType; }) => Record | undefined | void; + onSubmitPreventDefault?: 'always' | 'never' | 'validation-failed'; } export interface UseFormReturnType< diff --git a/packages/@mantine/form/src/use-form.ts b/packages/@mantine/form/src/use-form.ts index 4d9e2b4b67..c397ee7c98 100644 --- a/packages/@mantine/form/src/use-form.ts +++ b/packages/@mantine/form/src/use-form.ts @@ -44,6 +44,7 @@ export function useForm< transformValues = ((values: Values) => values) as any, enhanceGetInputProps, validate: rules, + onSubmitPreventDefault = 'always', }: UseFormInput = {}): UseFormReturnType { const $errors = useFormErrors(initialErrors); const $values = useFormValues({ initialValues, onValuesChange, mode }); @@ -202,10 +203,17 @@ export function useForm< const onSubmit: OnSubmit = (handleSubmit, handleValidationFailure) => (event) => { - event?.preventDefault(); + if (onSubmitPreventDefault === 'always') { + event?.preventDefault(); + } + const results = validate(); if (results.hasErrors) { + if (onSubmitPreventDefault === 'validation-failed') { + event?.preventDefault(); + } + handleValidationFailure?.(results.errors, $values.refValues.current, event); } else { handleSubmit?.(transformValues($values.refValues.current) as any, event); From 1e23e6f2e724ae56269387948d2b3be9cc583131 Mon Sep 17 00:00:00 2001 From: Clark Tomlinson Date: Sat, 23 Nov 2024 05:38:31 -0500 Subject: [PATCH 25/33] [@mantine/core] Fix arrow overlaying Popover, Tooltip and HoverCard content in some cases (#7148) Add clip paths to floating arrow to prevent larger arrow sizes from being visible when hovering a child component (like in menus) --- .../Floating/FloatingArrow/get-arrow-position-styles.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/@mantine/core/src/components/Floating/FloatingArrow/get-arrow-position-styles.ts b/packages/@mantine/core/src/components/Floating/FloatingArrow/get-arrow-position-styles.ts index 096f0a47a5..593887798c 100644 --- a/packages/@mantine/core/src/components/Floating/FloatingArrow/get-arrow-position-styles.ts +++ b/packages/@mantine/core/src/components/Floating/FloatingArrow/get-arrow-position-styles.ts @@ -96,6 +96,7 @@ export function getArrowPositionStyles({ right: arrowPlacement, borderLeftColor: 'transparent', borderBottomColor: 'transparent', + clipPath: 'polygon(100% 0, 0 0, 100% 100%)', }; } @@ -106,6 +107,7 @@ export function getArrowPositionStyles({ left: arrowPlacement, borderRightColor: 'transparent', borderTopColor: 'transparent', + clipPath: 'polygon(0 100%, 0 0, 100% 100%)', }; } @@ -116,6 +118,7 @@ export function getArrowPositionStyles({ bottom: arrowPlacement, borderTopColor: 'transparent', borderLeftColor: 'transparent', + clipPath: 'polygon(0 100%, 100% 100%, 100% 0)', }; } @@ -126,6 +129,7 @@ export function getArrowPositionStyles({ top: arrowPlacement, borderBottomColor: 'transparent', borderRightColor: 'transparent', + clipPath: 'polygon(0 100%, 0 0, 100% 0)', }; } From bad9bc5f0a6aece6c7eace2bb99b5ac39968f49c Mon Sep 17 00:00:00 2001 From: Luke Sanwick Date: Sat, 23 Nov 2024 02:40:45 -0800 Subject: [PATCH 26/33] [@mantine/core] Improve `window.matchMedia` usage to support test environments without `matchMedia` support (#7147) --- .../use-mantine-color-scheme.test.tsx | 11 +++++++++++ .../use-provider-color-scheme.ts | 16 ++++++++++------ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/packages/@mantine/core/src/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.test.tsx b/packages/@mantine/core/src/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.test.tsx index 6c9f9b5e51..e4e14c2aa1 100644 --- a/packages/@mantine/core/src/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.test.tsx +++ b/packages/@mantine/core/src/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.test.tsx @@ -11,4 +11,15 @@ describe('@mantine/core/MantineProvider/use-mantine-color-scheme', () => { const { result } = renderHook(() => useMantineColorScheme(), { wrapper: Wrapper }); expect(result.current.colorScheme).toBe('dark'); }); + + describe('with default values', () => { + function DefaultWrapper({ children }: { children: React.ReactNode }) { + return {children}; + } + + it('returns the correct color schema based on prefers-color-scheme', () => { + const { result } = renderHook(() => useMantineColorScheme(), { wrapper: DefaultWrapper }); + expect(result.current.colorScheme).toBe('light'); + }); + }); }); diff --git a/packages/@mantine/core/src/core/MantineProvider/use-mantine-color-scheme/use-provider-color-scheme.ts b/packages/@mantine/core/src/core/MantineProvider/use-mantine-color-scheme/use-provider-color-scheme.ts index 2dfd065ad1..54fc864bae 100644 --- a/packages/@mantine/core/src/core/MantineProvider/use-mantine-color-scheme/use-provider-color-scheme.ts +++ b/packages/@mantine/core/src/core/MantineProvider/use-mantine-color-scheme/use-provider-color-scheme.ts @@ -7,12 +7,13 @@ function setColorSchemeAttribute( colorScheme: MantineColorScheme, getRootElement: () => HTMLElement | undefined ) { + const hasDarkColorScheme = + typeof window !== 'undefined' && + 'matchMedia' in window && + window.matchMedia('(prefers-color-scheme: dark)').matches; + const computedColorScheme = - colorScheme !== 'auto' - ? colorScheme - : window.matchMedia('(prefers-color-scheme: dark)').matches - ? 'dark' - : 'light'; + colorScheme !== 'auto' ? colorScheme : hasDarkColorScheme ? 'dark' : 'light'; getRootElement()?.setAttribute('data-mantine-color-scheme', computedColorScheme); } @@ -71,7 +72,10 @@ export function useProviderColorScheme({ setColorSchemeAttribute(value, getRootElement); } - media.current = window.matchMedia('(prefers-color-scheme: dark)'); + if (typeof window !== 'undefined' && 'matchMedia' in window) { + media.current = window.matchMedia('(prefers-color-scheme: dark)'); + } + const listener: MediaQueryCallback = (event) => { if (value === 'auto') { setColorSchemeAttribute(event.matches ? 'dark' : 'light', getRootElement); From b78faa0c79b2daff14891203fd2168092c76ff6f Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 23 Nov 2024 11:41:55 +0100 Subject: [PATCH 27/33] [@mantine/core] PasswordInput: Fix `visibilityToggleButtonProps.variant` prop being ignored (#7144) --- .../core/src/components/PasswordInput/PasswordInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@mantine/core/src/components/PasswordInput/PasswordInput.tsx b/packages/@mantine/core/src/components/PasswordInput/PasswordInput.tsx index 4a8ecef9d6..a490c25553 100644 --- a/packages/@mantine/core/src/components/PasswordInput/PasswordInput.tsx +++ b/packages/@mantine/core/src/components/PasswordInput/PasswordInput.tsx @@ -152,7 +152,7 @@ export const PasswordInput = factory((_props, ref) => { aria-hidden={!visibilityToggleButtonProps} tabIndex={-1} {...visibilityToggleButtonProps} - variant="subtle" + variant={visibilityToggleButtonProps?.variant ?? 'subtle'} color="gray" unstyled={unstyled} onTouchEnd={(event) => { From 931565c7d240a8efb730fcafa4cbe0c66bf3bec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=95=EF=B8=8F=20mino?= <1515069+minosss@users.noreply.github.com> Date: Sun, 24 Nov 2024 17:56:48 +0800 Subject: [PATCH 28/33] [@mantine/charts] BarChart: Fix incorrect labels positions in some cases (#7160) * [@mantine/charts] BarChart: Use `LabelList` instead of `BarLabel`, and add `valueLabelProps` option support. * [@mantine/charts] BarChart: Simplify position logic for LabelList based on orientation * [@mantine/charts] prettier format --- .../src/pages/charts/bar-chart.mdx | 9 ++++ .../BarChart.demo.valueLabelProps.tsx | 53 +++++++++++++++++++ .../charts/BarChart/BarChart.demos.story.tsx | 5 ++ .../demos/src/demos/charts/BarChart/index.ts | 1 + .../@mantine/charts/src/BarChart/BarChart.tsx | 27 +++++++--- .../@mantine/charts/src/BarChart/BarLabel.tsx | 23 -------- .../src/CompositeChart/CompositeChart.tsx | 14 +++-- .../@mantine/charts/src/grid-chart.module.css | 4 -- 8 files changed, 98 insertions(+), 38 deletions(-) create mode 100644 packages/@docs/demos/src/demos/charts/BarChart/BarChart.demo.valueLabelProps.tsx delete mode 100644 packages/@mantine/charts/src/BarChart/BarLabel.tsx diff --git a/apps/mantine.dev/src/pages/charts/bar-chart.mdx b/apps/mantine.dev/src/pages/charts/bar-chart.mdx index 43b75611bb..67546588c7 100644 --- a/apps/mantine.dev/src/pages/charts/bar-chart.mdx +++ b/apps/mantine.dev/src/pages/charts/bar-chart.mdx @@ -237,3 +237,12 @@ rendered behind the chart. To display value above each bar, set `withBarValueLabel`: + +## Bar value label props + +You can pass props down to recharts [LabelList](https://recharts.org/en-US/api/LabelList) +component with `valueLabelProps` prop. `valueLabelProps` accepts either an object with props +or a function that receives series data as an argument and returns an object with +props. + + diff --git a/packages/@docs/demos/src/demos/charts/BarChart/BarChart.demo.valueLabelProps.tsx b/packages/@docs/demos/src/demos/charts/BarChart/BarChart.demo.valueLabelProps.tsx new file mode 100644 index 0000000000..002b8fe05f --- /dev/null +++ b/packages/@docs/demos/src/demos/charts/BarChart/BarChart.demo.valueLabelProps.tsx @@ -0,0 +1,53 @@ +import { BarChart } from '@mantine/charts'; +import { MantineDemo } from '@mantinex/demo'; +import { data, dataCode } from './_data'; + +const code = ` +import { BarChart } from '@mantine/charts'; +import { data } from './data'; + +function Demo() { + return ( + new Intl.NumberFormat('en-US').format(value)} + withBarValueLabel + valueLabelProps={{ position: 'inside', fill: 'white' }} + series={[ + { name: 'Smartphones', color: 'violet.6' }, + { name: 'Laptops', color: 'blue.6' }, + { name: 'Tablets', color: 'teal.6' }, + ]} + /> + ); +} +`; + +function Demo() { + return ( + new Intl.NumberFormat('en-US').format(value)} + withBarValueLabel + valueLabelProps={{ position: 'inside', fill: 'white' }} + series={[ + { name: 'Smartphones', color: 'violet.6' }, + { name: 'Laptops', color: 'blue.6' }, + { name: 'Tablets', color: 'teal.6' }, + ]} + /> + ); +} + +export const valueLabelProps: MantineDemo = { + type: 'code', + component: Demo, + code: [ + { code, language: 'tsx', fileName: 'Demo.tsx' }, + { code: dataCode, language: 'tsx', fileName: 'data.ts' }, + ], +}; diff --git a/packages/@docs/demos/src/demos/charts/BarChart/BarChart.demos.story.tsx b/packages/@docs/demos/src/demos/charts/BarChart/BarChart.demos.story.tsx index 282c46773e..c796617200 100644 --- a/packages/@docs/demos/src/demos/charts/BarChart/BarChart.demos.story.tsx +++ b/packages/@docs/demos/src/demos/charts/BarChart/BarChart.demos.story.tsx @@ -128,6 +128,11 @@ export const Demo_barValueLabel = { render: renderDemo(demos.barValueLabel), }; +export const Demo_valueLabelProps = { + name: '⭐ Demo: valueLabelProps', + render: renderDemo(demos.valueLabelProps), +}; + export const Demo_minBarSize = { name: '⭐ Demo: minBarSize', render: renderDemo(demos.minBarSize), diff --git a/packages/@docs/demos/src/demos/charts/BarChart/index.ts b/packages/@docs/demos/src/demos/charts/BarChart/index.ts index dc1b258fc3..999eb3ce02 100644 --- a/packages/@docs/demos/src/demos/charts/BarChart/index.ts +++ b/packages/@docs/demos/src/demos/charts/BarChart/index.ts @@ -26,3 +26,4 @@ export { barValueLabel } from './BarChart.demo.barValueLabel'; export { minBarSize } from './BarChart.demo.minBarSize'; export { mixedStack } from './BarChart.demo.mixedStack'; export { stripes } from './BarChart.demo.stripes'; +export { valueLabelProps } from './BarChart.demo.valueLabelProps'; diff --git a/packages/@mantine/charts/src/BarChart/BarChart.tsx b/packages/@mantine/charts/src/BarChart/BarChart.tsx index ebe2e552e7..6de3605b6d 100644 --- a/packages/@mantine/charts/src/BarChart/BarChart.tsx +++ b/packages/@mantine/charts/src/BarChart/BarChart.tsx @@ -5,6 +5,8 @@ import { CartesianGrid, Cell, Label, + LabelList, + LabelListProps, Legend, BarChart as ReChartsBarChart, ReferenceLine, @@ -31,7 +33,6 @@ import { import { ChartLegend, ChartLegendStylesNames } from '../ChartLegend'; import { ChartTooltip, ChartTooltipStylesNames } from '../ChartTooltip'; import type { BaseChartStylesNames, ChartSeries, GridChartBaseProps } from '../types'; -import { BarLabel } from './BarLabel'; import classes from '../grid-chart.module.css'; function valueToPercent(value: number) { @@ -92,6 +93,11 @@ export interface BarChartProps /** Determines whether a label with bar value should be displayed on top of each bar, incompatible with `type="stacked"` and `type="percent"`, `false` by default */ withBarValueLabel?: boolean; + /** Props passed down to recharts `LabelList` component */ + valueLabelProps?: + | ((series: BarChartSeries) => Partial>, 'ref'>>) + | Partial>>; + /** Sets minimum height of the bar in px, `0` by default */ minBarSize?: number; @@ -202,6 +208,7 @@ export const BarChart = factory((_props, ref) => { xAxisLabel, yAxisLabel, withBarValueLabel, + valueLabelProps, withRightYAxis, rightYAxisLabel, rightYAxisProps, @@ -217,6 +224,8 @@ export const BarChart = factory((_props, ref) => { const [highlightedArea, setHighlightedArea] = useState(null); const shouldHighlight = highlightedArea !== null; const stacked = type === 'stacked' || type === 'percent'; + const tickFormatter = type === 'percent' ? valueToPercent : valueFormatter; + const handleMouseLeave = (event: React.MouseEvent) => { setHighlightedArea(null); onMouseLeave?.(event); @@ -258,11 +267,6 @@ export const BarChart = factory((_props, ref) => { fillOpacity={dimmed ? 0.1 : fillOpacity} strokeOpacity={dimmed ? 0.2 : 0} stackId={stacked ? 'stack' : item.stackId || undefined} - label={ - withBarValueLabel ? ( - - ) : undefined - } yAxisId={item.yAxisId || 'left'} minPointSize={minBarSize} {...(typeof barProps === 'function' ? barProps(item) : barProps)} @@ -275,6 +279,15 @@ export const BarChart = factory((_props, ref) => { } /> ))} + {withBarValueLabel && ( + + )} ); }); @@ -299,8 +312,6 @@ export const BarChart = factory((_props, ref) => { ); }); - const tickFormatter = type === 'percent' ? valueToPercent : valueFormatter; - const sharedYAxisProps = { axisLine: false, ...(orientation === 'vertical' diff --git a/packages/@mantine/charts/src/BarChart/BarLabel.tsx b/packages/@mantine/charts/src/BarChart/BarLabel.tsx deleted file mode 100644 index 1986569601..0000000000 --- a/packages/@mantine/charts/src/BarChart/BarLabel.tsx +++ /dev/null @@ -1,23 +0,0 @@ -export function BarLabel({ - value, - valueFormatter, - textBreakAll, - parentViewBox, - orientation, - viewBox, - width, - height, - ...others -}: Record) { - return ( - - {typeof valueFormatter === 'function' ? valueFormatter(value) : value} - - ); -} diff --git a/packages/@mantine/charts/src/CompositeChart/CompositeChart.tsx b/packages/@mantine/charts/src/CompositeChart/CompositeChart.tsx index f1e2b5ce73..d23f23f609 100644 --- a/packages/@mantine/charts/src/CompositeChart/CompositeChart.tsx +++ b/packages/@mantine/charts/src/CompositeChart/CompositeChart.tsx @@ -7,6 +7,7 @@ import { CartesianGrid, DotProps, Label, + LabelList, Legend, Line, LineProps, @@ -31,7 +32,6 @@ import { useResolvedStylesApi, useStyles, } from '@mantine/core'; -import { BarLabel } from '../BarChart/BarLabel'; import { ChartLegend, ChartLegendStylesNames } from '../ChartLegend'; import { ChartTooltip, ChartTooltipStylesNames } from '../ChartTooltip'; import { PointLabel } from '../PointLabel/PointLabel'; @@ -340,11 +340,19 @@ export const CompositeChart = factory((_props, ref) => { isAnimationActive={false} fillOpacity={dimmed ? 0.1 : 1} strokeOpacity={dimmed ? 0.2 : 0} - label={withBarValueLabel ? : undefined} yAxisId={item.yAxisId || 'left'} minPointSize={minBarSize} {...(typeof barProps === 'function' ? barProps(item) : barProps)} - /> + > + {withBarValueLabel && ( + + )} + ); } diff --git a/packages/@mantine/charts/src/grid-chart.module.css b/packages/@mantine/charts/src/grid-chart.module.css index 4cb85c31d5..9a0a40fd4e 100644 --- a/packages/@mantine/charts/src/grid-chart.module.css +++ b/packages/@mantine/charts/src/grid-chart.module.css @@ -22,10 +22,6 @@ font-family: var(--mantine-font-family); color: var(--chart-text-color, var(--mantine-color-dimmed)); } - - &:where([data-orientation='vertical']) { - --chart-bar-label-color: var(--mantine-color-white); - } } .container { From d2c0f1befcedd117a8c22c771e775ef9d5e3e58a Mon Sep 17 00:00:00 2001 From: GR Date: Sun, 24 Nov 2024 10:57:58 +0100 Subject: [PATCH 29/33] [@mantine/charts] DonutChart: Fix `valueFormatter` prop not working, add `labelsType` prop support (#7153) * [DonutChart] Add render label function * remove export * prettier --write --- .../charts/src/DonutChart/DonutChart.tsx | 50 +++++++++++++++---- 1 file changed, 41 insertions(+), 9 deletions(-) diff --git a/packages/@mantine/charts/src/DonutChart/DonutChart.tsx b/packages/@mantine/charts/src/DonutChart/DonutChart.tsx index dd8279b058..f0ec6a2316 100644 --- a/packages/@mantine/charts/src/DonutChart/DonutChart.tsx +++ b/packages/@mantine/charts/src/DonutChart/DonutChart.tsx @@ -1,6 +1,7 @@ import { Cell, Pie, + PieLabel, PieProps, PieChart as ReChartsPieChart, ResponsiveContainer, @@ -98,6 +99,9 @@ export interface DonutChartProps /** Props passed down to recharts `PieChart` component */ pieChartProps?: React.ComponentPropsWithoutRef; + /** Type of labels to display, `'value'` by default */ + labelsType?: 'value' | 'percent'; + /** A function to format values inside the tooltip */ valueFormatter?: (value: number) => string; } @@ -118,6 +122,7 @@ const defaultProps: Partial = { strokeWidth: 1, startAngle: 0, endAngle: 360, + labelsType: 'value', tooltipDataSource: 'all', }; @@ -131,6 +136,40 @@ const varsResolver = createVarsResolver( }) ); +const getLabelValue = ( + labelsType: DonutChartProps['labelsType'], + value: number, + percent: number, + valueFormatter?: DonutChartProps['valueFormatter'] +) => { + if (labelsType === 'percent') { + return `${(percent * 100).toFixed(0)}%`; + } + + if (typeof valueFormatter === 'function') { + return valueFormatter(value); + } + + return value; +}; + +const getLabel = + (labelsType: 'value' | 'percent', valueFormatter?: DonutChartProps['valueFormatter']): PieLabel => + ({ x, y, cx, cy, percent, value }) => ( + cx ? 'start' : 'end'} + fill="var(--chart-labels-color, var(--mantine-color-dimmed))" + fontFamily="var(--mantine-font-family)" + fontSize={12} + > + {getLabelValue(labelsType, value, percent, valueFormatter)} + + ); + export const DonutChart = factory((_props, ref) => { const props = useProps('DonutChart', defaultProps, _props); const { @@ -159,6 +198,7 @@ export const DonutChart = factory((_props, ref) => { pieChartProps, valueFormatter, strokeColor, + labelsType, ...others } = props; @@ -205,15 +245,7 @@ export const DonutChart = factory((_props, ref) => { paddingAngle={paddingAngle} startAngle={startAngle} endAngle={endAngle} - label={ - withLabels - ? { - fill: 'var(--chart-labels-color, var(--mantine-color-dimmed))', - fontSize: 12, - fontFamily: 'var(--mantine-font-family)', - } - : false - } + label={withLabels ? getLabel(labelsType || 'value', valueFormatter) : false} labelLine={ withLabelsLine ? { From 7aac29f99be9fded08b91cd663f56ba8bb11e7ab Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Sun, 24 Nov 2024 14:00:23 +0400 Subject: [PATCH 30/33] [refactor] Fix incorrect tiptap styles for paragraphs in lists --- packages/@mantine/tiptap/src/RichTextEditor.module.css | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@mantine/tiptap/src/RichTextEditor.module.css b/packages/@mantine/tiptap/src/RichTextEditor.module.css index 04ff886199..cb99bdc633 100644 --- a/packages/@mantine/tiptap/src/RichTextEditor.module.css +++ b/packages/@mantine/tiptap/src/RichTextEditor.module.css @@ -17,6 +17,7 @@ margin: 0; & li > p { + display: inline-block; margin: 0; } From 12ef5d8436f7cbae0797c1d98fff6e4d7e71937a Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Sun, 24 Nov 2024 14:03:20 +0400 Subject: [PATCH 31/33] [mantine.dev] Add `labelsType` prop to DonutChart demo --- .../charts/DonutChart/DonutChart.demo.withLabels.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/@docs/demos/src/demos/charts/DonutChart/DonutChart.demo.withLabels.tsx b/packages/@docs/demos/src/demos/charts/DonutChart/DonutChart.demo.withLabels.tsx index 62b89b5c00..2dc1ee08c6 100644 --- a/packages/@docs/demos/src/demos/charts/DonutChart/DonutChart.demo.withLabels.tsx +++ b/packages/@docs/demos/src/demos/charts/DonutChart/DonutChart.demo.withLabels.tsx @@ -23,5 +23,14 @@ export const withLabels: MantineDemo = { { fileName: 'data.ts', code: dataCode, language: 'tsx' }, ], centered: true, - controls: [{ type: 'boolean', prop: 'withLabelsLine', initialValue: true, libraryValue: '__' }], + controls: [ + { type: 'boolean', prop: 'withLabelsLine', initialValue: true, libraryValue: '__' }, + { + type: 'segmented', + prop: 'labelsType', + initialValue: 'value', + libraryValue: '__', + data: ['value', 'percent'], + }, + ], }; From c2481311edb2887275ee9e94b4ae0ff9f29202e1 Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Sun, 24 Nov 2024 14:18:16 +0400 Subject: [PATCH 32/33] [@mantine/core] Add `onEnterTranstionEnd` and `onExitTransitionEnd` props support to Modal, Drawer and Popover components --- .../core/src/components/Modal/Modal.story.tsx | 9 ++++++++- .../components/ModalBase/ModalBase.context.ts | 2 ++ .../src/components/ModalBase/ModalBase.tsx | 10 ++++++++++ .../components/ModalBase/ModalBaseContent.tsx | 8 ++++++++ .../src/components/Popover/Popover.story.tsx | 7 ++++++- .../core/src/components/Popover/Popover.tsx | 20 ++++++++++++++++++- 6 files changed, 53 insertions(+), 3 deletions(-) diff --git a/packages/@mantine/core/src/components/Modal/Modal.story.tsx b/packages/@mantine/core/src/components/Modal/Modal.story.tsx index e1de48a762..a7c8706119 100644 --- a/packages/@mantine/core/src/components/Modal/Modal.story.tsx +++ b/packages/@mantine/core/src/components/Modal/Modal.story.tsx @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ import { useDisclosure } from '@mantine/hooks'; import { Button } from '../Button'; import { Menu } from '../Menu'; @@ -31,7 +32,13 @@ export function Usage() { {content} - + console.log('onExited') }} + onExitTransitionEnd={() => console.log('onExitTransitionEnd')} + >
diff --git a/packages/@mantine/core/src/components/ModalBase/ModalBase.context.ts b/packages/@mantine/core/src/components/ModalBase/ModalBase.context.ts index fe0547f989..e63da6c257 100644 --- a/packages/@mantine/core/src/components/ModalBase/ModalBase.context.ts +++ b/packages/@mantine/core/src/components/ModalBase/ModalBase.context.ts @@ -10,6 +10,8 @@ interface ModalBaseContextValue { getTitleId: () => string; getBodyId: () => string; transitionProps: Partial | undefined; + onExitTransitionEnd: (() => void) | undefined; + onEnterTransitionEnd: (() => void) | undefined; zIndex: string | number | undefined; opened: boolean; diff --git a/packages/@mantine/core/src/components/ModalBase/ModalBase.tsx b/packages/@mantine/core/src/components/ModalBase/ModalBase.tsx index be6d993008..4f3bda434f 100644 --- a/packages/@mantine/core/src/components/ModalBase/ModalBase.tsx +++ b/packages/@mantine/core/src/components/ModalBase/ModalBase.tsx @@ -54,6 +54,12 @@ export interface ModalBaseProps extends BoxProps, ElementProps<'div', 'title'> { /** Props added to the `Transition` component that used to animate overlay and body, use to configure duration and animation type, `{ duration: 200, transition: 'pop' }` by default */ transitionProps?: TransitionOverride; + /** Called when exit transition ends */ + onExitTransitionEnd?: () => void; + + /** Called when enter transition ends */ + onEnterTransitionEnd?: () => void; + /** Determines whether `onClose` should be called when user presses the escape key, `true` by default */ closeOnEscape?: boolean; @@ -84,6 +90,8 @@ export const ModalBase = forwardRef( onClose, id, transitionProps, + onExitTransitionEnd, + onEnterTransitionEnd, trapFocus, closeOnEscape, returnFocus, @@ -114,6 +122,8 @@ export const ModalBase = forwardRef( opened, onClose, closeOnClickOutside, + onExitTransitionEnd, + onEnterTransitionEnd, transitionProps: { ...transitionProps, keepMounted }, getTitleId: () => `${_id}-title`, getBodyId: () => `${_id}-body`, diff --git a/packages/@mantine/core/src/components/ModalBase/ModalBaseContent.tsx b/packages/@mantine/core/src/components/ModalBase/ModalBaseContent.tsx index 3ead27f149..306e9a84a3 100644 --- a/packages/@mantine/core/src/components/ModalBase/ModalBaseContent.tsx +++ b/packages/@mantine/core/src/components/ModalBase/ModalBaseContent.tsx @@ -31,6 +31,14 @@ export const ModalBaseContent = forwardRef { + ctx.onExitTransitionEnd?.(); + ctx.transitionProps?.onExited?.(); + }} + onEntered={() => { + ctx.onEnterTransitionEnd?.(); + ctx.transitionProps?.onEntered?.(); + }} {...transitionProps} > {(transitionStyles) => ( diff --git a/packages/@mantine/core/src/components/Popover/Popover.story.tsx b/packages/@mantine/core/src/components/Popover/Popover.story.tsx index c71d3627fa..7801af3cd5 100644 --- a/packages/@mantine/core/src/components/Popover/Popover.story.tsx +++ b/packages/@mantine/core/src/components/Popover/Popover.story.tsx @@ -28,7 +28,12 @@ export function Uncontrolled() { }} >
- console.log('closed')} onOpen={() => console.log('opened')}> + console.log('closed')} + onOpen={() => console.log('opened')} + onExitTransitionEnd={() => console.log('exited')} + onEnterTransitionEnd={() => console.log('entered')} + > diff --git a/packages/@mantine/core/src/components/Popover/Popover.tsx b/packages/@mantine/core/src/components/Popover/Popover.tsx index 855c3c83df..e4df18fafc 100644 --- a/packages/@mantine/core/src/components/Popover/Popover.tsx +++ b/packages/@mantine/core/src/components/Popover/Popover.tsx @@ -61,6 +61,12 @@ export interface __PopoverProps { /** Props passed down to the `Transition` component that used to animate dropdown presence, use to configure duration and animation type, `{ duration: 150, transition: 'fade' }` by default */ transitionProps?: TransitionOverride; + /** Called when exit transition ends */ + onExitTransitionEnd?: () => void; + + /** Called when enter transition ends */ + onEnterTransitionEnd?: () => void; + /** Dropdown width, or `'target'` to make dropdown width the same as target element, `'max-content'` by default */ width?: PopoverWidth; @@ -186,6 +192,8 @@ export function Popover(_props: PopoverProps) { positionDependencies, opened, transitionProps, + onExitTransitionEnd, + onEnterTransitionEnd, width, middlewares, withArrow, @@ -279,6 +287,16 @@ export function Popover(_props: PopoverProps) { [popover.floating.refs.setFloating] ); + const onExited = useCallback(() => { + transitionProps?.onExited?.(); + onExitTransitionEnd?.(); + }, [transitionProps?.onExited, onExitTransitionEnd]); + + const onEntered = useCallback(() => { + transitionProps?.onEntered?.(); + onEnterTransitionEnd?.(); + }, [transitionProps?.onEntered, onEnterTransitionEnd]); + return ( Date: Sun, 24 Nov 2024 14:22:33 +0400 Subject: [PATCH 33/33] [release] Version: 7.14.2 --- package.json | 2 +- packages/@mantine/carousel/package.json | 6 +- packages/@mantine/charts/package.json | 6 +- packages/@mantine/code-highlight/package.json | 6 +- .../@mantine/colors-generator/package.json | 2 +- packages/@mantine/core/package.json | 4 +- packages/@mantine/dates/package.json | 6 +- packages/@mantine/dropzone/package.json | 6 +- packages/@mantine/emotion/package.json | 6 +- packages/@mantine/form/package.json | 2 +- packages/@mantine/hooks/package.json | 2 +- packages/@mantine/modals/package.json | 6 +- packages/@mantine/notifications/package.json | 8 +-- packages/@mantine/nprogress/package.json | 8 +-- packages/@mantine/spotlight/package.json | 8 +-- packages/@mantine/store/package.json | 2 +- packages/@mantine/tiptap/package.json | 6 +- .../@mantine/vanilla-extract/package.json | 4 +- yarn.lock | 56 +++++++++---------- 19 files changed, 73 insertions(+), 73 deletions(-) diff --git a/package.json b/package.json index 09a8920b25..5248432aa2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mantine-a91763c0e2", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Mantine Components Monorepo", "packageManager": "yarn@4.5.1", "license": "MIT", diff --git a/packages/@mantine/carousel/package.json b/packages/@mantine/carousel/package.json index cf05d178b1..6213049de1 100644 --- a/packages/@mantine/carousel/package.json +++ b/packages/@mantine/carousel/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/carousel", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Embla based carousel", "homepage": "https://mantine.dev/x/carousel/", "license": "MIT", @@ -44,8 +44,8 @@ "directory": "packages/@mantine/carousel" }, "peerDependencies": { - "@mantine/core": "7.14.2-alpha.0", - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/core": "7.14.2", + "@mantine/hooks": "7.14.2", "embla-carousel-react": ">=7.0.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" diff --git a/packages/@mantine/charts/package.json b/packages/@mantine/charts/package.json index 4612a2a1d1..b2e4f0b42c 100644 --- a/packages/@mantine/charts/package.json +++ b/packages/@mantine/charts/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/charts", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Charts components built with recharts and Mantine", "homepage": "https://mantine.dev/", "license": "MIT", @@ -35,8 +35,8 @@ "directory": "packages/@mantine/charts" }, "peerDependencies": { - "@mantine/core": "7.14.2-alpha.0", - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/core": "7.14.2", + "@mantine/hooks": "7.14.2", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x", "recharts": "^2.13.3" diff --git a/packages/@mantine/code-highlight/package.json b/packages/@mantine/code-highlight/package.json index ad0ad4ecb7..9b49eb8218 100644 --- a/packages/@mantine/code-highlight/package.json +++ b/packages/@mantine/code-highlight/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/code-highlight", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Code highlight with Mantine theme", "homepage": "https://mantine.dev/x/code-highlight/", "license": "MIT", @@ -45,8 +45,8 @@ "directory": "packages/@mantine/code-highlight" }, "peerDependencies": { - "@mantine/core": "7.14.2-alpha.0", - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/core": "7.14.2", + "@mantine/hooks": "7.14.2", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, diff --git a/packages/@mantine/colors-generator/package.json b/packages/@mantine/colors-generator/package.json index 1b20544c9e..3d9fe0aa40 100644 --- a/packages/@mantine/colors-generator/package.json +++ b/packages/@mantine/colors-generator/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/colors-generator", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "A library to generate 10 shades of color based on provided color value", "homepage": "https://mantine.dev", "license": "MIT", diff --git a/packages/@mantine/core/package.json b/packages/@mantine/core/package.json index 2ed723ca2e..fe4818931e 100644 --- a/packages/@mantine/core/package.json +++ b/packages/@mantine/core/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/core", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "React components library focused on usability, accessibility and developer experience", "homepage": "https://mantine.dev/", "license": "MIT", @@ -43,7 +43,7 @@ "directory": "packages/@mantine/core" }, "peerDependencies": { - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/hooks": "7.14.2", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, diff --git a/packages/@mantine/dates/package.json b/packages/@mantine/dates/package.json index 8896b468d6..cb19080326 100644 --- a/packages/@mantine/dates/package.json +++ b/packages/@mantine/dates/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/dates", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Calendars, date and time pickers based on Mantine components", "homepage": "https://mantine.dev/dates/getting-started/", "license": "MIT", @@ -45,8 +45,8 @@ "directory": "packages/@mantine/dates" }, "peerDependencies": { - "@mantine/core": "7.14.2-alpha.0", - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/core": "7.14.2", + "@mantine/hooks": "7.14.2", "dayjs": ">=1.0.0", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" diff --git a/packages/@mantine/dropzone/package.json b/packages/@mantine/dropzone/package.json index 0abdfb5d6e..314057eb12 100644 --- a/packages/@mantine/dropzone/package.json +++ b/packages/@mantine/dropzone/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/dropzone", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Dropzone component built with Mantine theme and components", "homepage": "https://mantine.dev/x/dropzone/", "license": "MIT", @@ -44,8 +44,8 @@ "directory": "packages/@mantine/dropzone" }, "peerDependencies": { - "@mantine/core": "7.14.2-alpha.0", - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/core": "7.14.2", + "@mantine/hooks": "7.14.2", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, diff --git a/packages/@mantine/emotion/package.json b/packages/@mantine/emotion/package.json index 444057bb73..41c26e2374 100644 --- a/packages/@mantine/emotion/package.json +++ b/packages/@mantine/emotion/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/emotion", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Emotion bindings for Mantine", "homepage": "https://mantine.dev/", "license": "MIT", @@ -35,8 +35,8 @@ "@emotion/react": "^11.11.4", "@emotion/serialize": "^1.1.4", "@emotion/utils": "^1.2.1", - "@mantine/core": "7.14.2-alpha.0", - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/core": "7.14.2", + "@mantine/hooks": "7.14.2", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, diff --git a/packages/@mantine/form/package.json b/packages/@mantine/form/package.json index a293e180cd..baebe3fba6 100644 --- a/packages/@mantine/form/package.json +++ b/packages/@mantine/form/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/form", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Mantine form management library", "homepage": "https://mantine.dev", "license": "MIT", diff --git a/packages/@mantine/hooks/package.json b/packages/@mantine/hooks/package.json index 5ccdb638d4..952020286a 100644 --- a/packages/@mantine/hooks/package.json +++ b/packages/@mantine/hooks/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/hooks", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "A collection of 50+ hooks for state and UI management", "homepage": "https://mantine.dev", "license": "MIT", diff --git a/packages/@mantine/modals/package.json b/packages/@mantine/modals/package.json index a3bfac7946..aced72117a 100644 --- a/packages/@mantine/modals/package.json +++ b/packages/@mantine/modals/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/modals", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Modals manager based on Mantine components", "homepage": "https://mantine.dev/x/modals/", "license": "MIT", @@ -39,8 +39,8 @@ "directory": "packages/@mantine/modals" }, "peerDependencies": { - "@mantine/core": "7.14.2-alpha.0", - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/core": "7.14.2", + "@mantine/hooks": "7.14.2", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, diff --git a/packages/@mantine/notifications/package.json b/packages/@mantine/notifications/package.json index 6f56b8cb04..4ec05591d4 100644 --- a/packages/@mantine/notifications/package.json +++ b/packages/@mantine/notifications/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/notifications", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Mantine notifications system", "homepage": "https://mantine.dev", "license": "MIT", @@ -44,13 +44,13 @@ "directory": "packages/@mantine/notifications" }, "peerDependencies": { - "@mantine/core": "7.14.2-alpha.0", - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/core": "7.14.2", + "@mantine/hooks": "7.14.2", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, "dependencies": { - "@mantine/store": "7.14.2-alpha.0", + "@mantine/store": "7.14.2", "react-transition-group": "4.4.5" }, "devDependencies": { diff --git a/packages/@mantine/nprogress/package.json b/packages/@mantine/nprogress/package.json index 55c39a82fd..b2cf8b9fc1 100644 --- a/packages/@mantine/nprogress/package.json +++ b/packages/@mantine/nprogress/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/nprogress", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Navigation progress bar", "homepage": "https://mantine.dev/x/nprogress/", "license": "MIT", @@ -43,13 +43,13 @@ "directory": "packages/@mantine/nprogress" }, "peerDependencies": { - "@mantine/core": "7.14.2-alpha.0", - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/core": "7.14.2", + "@mantine/hooks": "7.14.2", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, "dependencies": { - "@mantine/store": "7.14.2-alpha.0" + "@mantine/store": "7.14.2" }, "devDependencies": { "@mantine-tests/core": "workspace:*", diff --git a/packages/@mantine/spotlight/package.json b/packages/@mantine/spotlight/package.json index bf49aad372..e10f5427ea 100644 --- a/packages/@mantine/spotlight/package.json +++ b/packages/@mantine/spotlight/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/spotlight", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Command center components for react and Mantine", "homepage": "https://mantine.dev", "license": "MIT", @@ -41,13 +41,13 @@ "directory": "packages/@mantine/spotlight" }, "peerDependencies": { - "@mantine/core": "7.14.2-alpha.0", - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/core": "7.14.2", + "@mantine/hooks": "7.14.2", "react": "^18.x || ^19.x", "react-dom": "^18.x || ^19.x" }, "dependencies": { - "@mantine/store": "7.14.2-alpha.0" + "@mantine/store": "7.14.2" }, "devDependencies": { "@mantine-tests/core": "workspace:*", diff --git a/packages/@mantine/store/package.json b/packages/@mantine/store/package.json index 8f65ceb979..df27345644 100644 --- a/packages/@mantine/store/package.json +++ b/packages/@mantine/store/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/store", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "A library to sync external React state updates", "homepage": "https://mantine.dev", "license": "MIT", diff --git a/packages/@mantine/tiptap/package.json b/packages/@mantine/tiptap/package.json index 412d5ef2de..adcdcf80cb 100644 --- a/packages/@mantine/tiptap/package.json +++ b/packages/@mantine/tiptap/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/tiptap", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Rich text editor based on tiptap", "homepage": "https://mantine.dev/x/tiptap", "license": "MIT", @@ -44,8 +44,8 @@ "directory": "packages/@mantine/tiptap" }, "peerDependencies": { - "@mantine/core": "7.14.2-alpha.0", - "@mantine/hooks": "7.14.2-alpha.0", + "@mantine/core": "7.14.2", + "@mantine/hooks": "7.14.2", "@tiptap/extension-link": ">=2.1.12", "@tiptap/react": ">=2.1.12", "react": "^18.x || ^19.x", diff --git a/packages/@mantine/vanilla-extract/package.json b/packages/@mantine/vanilla-extract/package.json index 9a2b9f681c..eb774451d3 100644 --- a/packages/@mantine/vanilla-extract/package.json +++ b/packages/@mantine/vanilla-extract/package.json @@ -1,6 +1,6 @@ { "name": "@mantine/vanilla-extract", - "version": "7.14.2-alpha.0", + "version": "7.14.2", "description": "Vanilla Extract integration for Mantine theme", "homepage": "https://mantine.dev", "license": "MIT", @@ -35,6 +35,6 @@ "directory": "packages/@mantine/vanilla-extract" }, "peerDependencies": { - "@mantine/core": "7.14.2-alpha.0" + "@mantine/core": "7.14.2" } } diff --git a/yarn.lock b/yarn.lock index 2cc42b90f3..e1cf8ebbb3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4036,8 +4036,8 @@ __metadata: "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" peerDependencies: - "@mantine/core": 7.14.2-alpha.0 - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 + "@mantine/hooks": 7.14.2 embla-carousel-react: ">=7.0.0" react: ^18.x || ^19.x react-dom: ^18.x || ^19.x @@ -4052,8 +4052,8 @@ __metadata: "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" peerDependencies: - "@mantine/core": 7.14.2-alpha.0 - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 + "@mantine/hooks": 7.14.2 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x recharts: ^2.13.3 @@ -4070,8 +4070,8 @@ __metadata: clsx: "npm:^2.1.1" highlight.js: "npm:^11.10.0" peerDependencies: - "@mantine/core": 7.14.2-alpha.0 - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 + "@mantine/hooks": 7.14.2 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4098,7 +4098,7 @@ __metadata: react-textarea-autosize: "npm:8.5.5" type-fest: "npm:^4.27.0" peerDependencies: - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/hooks": 7.14.2 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4114,8 +4114,8 @@ __metadata: "@mantine/hooks": "workspace:*" clsx: "npm:^2.1.1" peerDependencies: - "@mantine/core": 7.14.2-alpha.0 - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 + "@mantine/hooks": 7.14.2 dayjs: ">=1.0.0" react: ^18.x || ^19.x react-dom: ^18.x || ^19.x @@ -4131,8 +4131,8 @@ __metadata: "@mantine/hooks": "workspace:*" react-dropzone-esm: "npm:15.2.0" peerDependencies: - "@mantine/core": 7.14.2-alpha.0 - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 + "@mantine/hooks": 7.14.2 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4151,8 +4151,8 @@ __metadata: "@emotion/react": ^11.11.4 "@emotion/serialize": ^1.1.4 "@emotion/utils": ^1.2.1 - "@mantine/core": 7.14.2-alpha.0 - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 + "@mantine/hooks": 7.14.2 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4184,8 +4184,8 @@ __metadata: "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" peerDependencies: - "@mantine/core": 7.14.2-alpha.0 - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 + "@mantine/hooks": 7.14.2 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4198,11 +4198,11 @@ __metadata: "@mantine-tests/core": "workspace:*" "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" - "@mantine/store": "npm:7.14.2-alpha.0" + "@mantine/store": "npm:7.14.2" react-transition-group: "npm:4.4.5" peerDependencies: - "@mantine/core": 7.14.2-alpha.0 - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 + "@mantine/hooks": 7.14.2 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4215,10 +4215,10 @@ __metadata: "@mantine-tests/core": "workspace:*" "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" - "@mantine/store": "npm:7.14.2-alpha.0" + "@mantine/store": "npm:7.14.2" peerDependencies: - "@mantine/core": 7.14.2-alpha.0 - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 + "@mantine/hooks": 7.14.2 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown @@ -4231,16 +4231,16 @@ __metadata: "@mantine-tests/core": "workspace:*" "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" - "@mantine/store": "npm:7.14.2-alpha.0" + "@mantine/store": "npm:7.14.2" peerDependencies: - "@mantine/core": 7.14.2-alpha.0 - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 + "@mantine/hooks": 7.14.2 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x languageName: unknown linkType: soft -"@mantine/store@npm:7.14.2-alpha.0, @mantine/store@workspace:*, @mantine/store@workspace:packages/@mantine/store": +"@mantine/store@npm:7.14.2, @mantine/store@workspace:*, @mantine/store@workspace:packages/@mantine/store": version: 0.0.0-use.local resolution: "@mantine/store@workspace:packages/@mantine/store" peerDependencies: @@ -4256,8 +4256,8 @@ __metadata: "@mantine/core": "workspace:*" "@mantine/hooks": "workspace:*" peerDependencies: - "@mantine/core": 7.14.2-alpha.0 - "@mantine/hooks": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 + "@mantine/hooks": 7.14.2 "@tiptap/extension-link": ">=2.1.12" "@tiptap/react": ">=2.1.12" react: ^18.x || ^19.x @@ -4269,7 +4269,7 @@ __metadata: version: 0.0.0-use.local resolution: "@mantine/vanilla-extract@workspace:packages/@mantine/vanilla-extract" peerDependencies: - "@mantine/core": 7.14.2-alpha.0 + "@mantine/core": 7.14.2 languageName: unknown linkType: soft