From 2dc412cf6b26034706d52e4eb168c4e6e8c63693 Mon Sep 17 00:00:00 2001 From: Germain Bergeron Date: Fri, 20 Dec 2024 16:11:59 -0500 Subject: [PATCH] chore: run react 19 codemods, bump mantine, fix type errors --- packages/mantine/package.json | 16 +- packages/mantine/src/__tests__/Utils.tsx | 2 +- .../button/ButtonWithDisabledTooltip.tsx | 31 +-- .../components/ellipsis-text/EllipsisText.tsx | 2 +- .../mantine/src/components/header/Header.tsx | 2 +- .../__snapshots__/Header.spec.tsx.snap | 73 ------- .../inline-confirm/InlineConfirm.tsx | 2 +- .../inline-confirm/InlineConfirmPrompt.tsx | 4 +- .../mantine/src/components/prompt/Prompt.tsx | 2 +- .../mantine/src/components/table/Table.tsx | 4 +- .../src/components/table/Table.types.ts | 6 +- .../src/components/table/TableContext.tsx | 4 +- .../table-actions/TableHeaderActions.tsx | 2 +- packages/mantine/src/hooks/useParentHeight.ts | 2 +- packages/website/package.json | 14 +- pnpm-lock.yaml | 196 +++++++++--------- 16 files changed, 147 insertions(+), 215 deletions(-) delete mode 100644 packages/mantine/src/components/header/__tests__/__snapshots__/Header.spec.tsx.snap diff --git a/packages/mantine/package.json b/packages/mantine/package.json index e00e30cc58..f103743b7a 100644 --- a/packages/mantine/package.json +++ b/packages/mantine/package.json @@ -55,14 +55,14 @@ "monaco-editor": "0.52.0" }, "devDependencies": { - "@mantine/carousel": "7.14.3", - "@mantine/code-highlight": "7.14.3", - "@mantine/core": "7.14.3", - "@mantine/dates": "7.14.3", - "@mantine/form": "7.14.3", - "@mantine/hooks": "7.14.3", - "@mantine/modals": "7.14.3", - "@mantine/notifications": "7.14.3", + "@mantine/carousel": "7.15.1", + "@mantine/code-highlight": "7.15.1", + "@mantine/core": "7.15.1", + "@mantine/dates": "7.15.1", + "@mantine/form": "7.15.1", + "@mantine/hooks": "7.15.1", + "@mantine/modals": "7.15.1", + "@mantine/notifications": "7.15.1", "@swc/cli": "0.5.2", "@swc/core": "1.9.3", "@testing-library/dom": "10.4.0", diff --git a/packages/mantine/src/__tests__/Utils.tsx b/packages/mantine/src/__tests__/Utils.tsx index fa9d646269..f95f2be31e 100644 --- a/packages/mantine/src/__tests__/Utils.tsx +++ b/packages/mantine/src/__tests__/Utils.tsx @@ -4,7 +4,7 @@ import {FunctionComponent, PropsWithChildren, ReactElement} from 'react'; import {Plasmantine} from '../theme'; -const customRender = (ui: ReactElement, options?: Omit): RenderResult => { +const customRender = (ui: ReactElement, options?: Omit): RenderResult => { const TestWrapper: FunctionComponent = ({children}) => ( {children} ); diff --git a/packages/mantine/src/components/button/ButtonWithDisabledTooltip.tsx b/packages/mantine/src/components/button/ButtonWithDisabledTooltip.tsx index 17cac51dd9..890fc43d16 100644 --- a/packages/mantine/src/components/button/ButtonWithDisabledTooltip.tsx +++ b/packages/mantine/src/components/button/ButtonWithDisabledTooltip.tsx @@ -1,5 +1,5 @@ import {Box, Tooltip, TooltipProps} from '@mantine/core'; -import {ReactNode, forwardRef} from 'react'; +import {FunctionComponent, ReactNode} from 'react'; import {createPolymorphicComponent} from '../../utils'; @@ -23,18 +23,23 @@ export interface ButtonWithDisabledTooltipProps { fullWidth?: boolean; } -const _ButtonWithDisabledTooltip = forwardRef( - ({disabledTooltip, disabled, children, disabledTooltipProps, fullWidth, ...others}, ref) => - disabledTooltip ? ( - - - {children} - - - ) : ( - <>{children} - ), -); +const _ButtonWithDisabledTooltip: FunctionComponent = ({ + disabledTooltip, + disabled, + children, + disabledTooltipProps, + fullWidth, + ...others +}) => + disabledTooltip ? ( + + + {children} + + + ) : ( + <>{children} + ); export const ButtonWithDisabledTooltip = createPolymorphicComponent<'div', ButtonWithDisabledTooltipProps>( _ButtonWithDisabledTooltip, diff --git a/packages/mantine/src/components/ellipsis-text/EllipsisText.tsx b/packages/mantine/src/components/ellipsis-text/EllipsisText.tsx index 2e5c3d99f6..0eed58b1af 100644 --- a/packages/mantine/src/components/ellipsis-text/EllipsisText.tsx +++ b/packages/mantine/src/components/ellipsis-text/EllipsisText.tsx @@ -52,7 +52,7 @@ export const EllipsisText = polymorphicFactory((props, ref) }); const [showTooltip, setShowTooltip] = useState(false); - const textRef = useRef(); + const textRef = useRef(null); const {className: rootClass, ...rootStyles} = getStyles('root'); const {className: textClass, ...textStyles} = getStyles('text'); diff --git a/packages/mantine/src/components/header/Header.tsx b/packages/mantine/src/components/header/Header.tsx index 903c6df8dd..45f7c65079 100644 --- a/packages/mantine/src/components/header/Header.tsx +++ b/packages/mantine/src/components/header/Header.tsx @@ -99,7 +99,7 @@ export const Header = factory((_props, ref) => { }); const stylesApiProps = {classNames, styles}; - const convertedChildren = Children.toArray(children) as ReactElement[]; + const convertedChildren = Children.toArray(children) as ReactElement[]; const breadcrumbs = convertedChildren.find((child) => child.type === HeaderBreadcrumbs); const actions = convertedChildren.find((child) => child.type === HeaderActions); const docAnchor = convertedChildren.find((child) => child.type === HeaderDocAnchor); diff --git a/packages/mantine/src/components/header/__tests__/__snapshots__/Header.spec.tsx.snap b/packages/mantine/src/components/header/__tests__/__snapshots__/Header.spec.tsx.snap deleted file mode 100644 index fcc83de27f..0000000000 --- a/packages/mantine/src/components/header/__tests__/__snapshots__/Header.spec.tsx.snap +++ /dev/null @@ -1,73 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`Header > renders the specified breadcrumbs above the title 1`] = ` -
- -
-
-
- - One - -
- / -
- - Two - -
- / -
- - Three - -
-

- Title -

-

-

-
-
-`; diff --git a/packages/mantine/src/components/inline-confirm/InlineConfirm.tsx b/packages/mantine/src/components/inline-confirm/InlineConfirm.tsx index 4affbb6c9b..b401db80ae 100644 --- a/packages/mantine/src/components/inline-confirm/InlineConfirm.tsx +++ b/packages/mantine/src/components/inline-confirm/InlineConfirm.tsx @@ -37,7 +37,7 @@ export const InlineConfirm = ((_props) => { const {children} = useProps('InlineConfirm', defaultProps, _props); const [confirmingId, setConfirmingId] = useState(null); - const convertedChildren = Children.toArray(children) as ReactElement[]; + const convertedChildren = Children.toArray(children) as ReactElement[]; const prompt = convertedChildren.find( (child) => child.type !== InlineConfirmTarget && child.props?.inlineConfirmId === confirmingId, ); diff --git a/packages/mantine/src/components/inline-confirm/InlineConfirmPrompt.tsx b/packages/mantine/src/components/inline-confirm/InlineConfirmPrompt.tsx index 0b9ef71f05..cc5770ef8d 100644 --- a/packages/mantine/src/components/inline-confirm/InlineConfirmPrompt.tsx +++ b/packages/mantine/src/components/inline-confirm/InlineConfirmPrompt.tsx @@ -17,13 +17,13 @@ interface InlineConfirmPromptProps extends Omit, InlineC * * @default */ - confirm?: ReactElement; + confirm?: ReactElement<{onClick?: () => void}>; /** * Cancel button element * * @default */ - cancel?: ReactElement; + cancel?: ReactElement<{onClick?: () => void}>; /** * Function called when the confirm button is clicked */ diff --git a/packages/mantine/src/components/prompt/Prompt.tsx b/packages/mantine/src/components/prompt/Prompt.tsx index d02bfb0d21..39357ed47e 100644 --- a/packages/mantine/src/components/prompt/Prompt.tsx +++ b/packages/mantine/src/components/prompt/Prompt.tsx @@ -92,7 +92,7 @@ export const Prompt = factory((_props, ref) => { }); const stylesApiProps = {classNames, styles}; - const convertedChildren = Children.toArray(children) as ReactElement[]; + const convertedChildren = Children.toArray(children) as ReactElement[]; const otherChildren = convertedChildren.filter((child) => child.type !== PromptFooter); const footer = convertedChildren.find((child) => child.type === PromptFooter); diff --git a/packages/mantine/src/components/table/Table.tsx b/packages/mantine/src/components/table/Table.tsx index 3eae22f9a9..331c32dc9c 100644 --- a/packages/mantine/src/components/table/Table.tsx +++ b/packages/mantine/src/components/table/Table.tsx @@ -125,7 +125,7 @@ export const Table = (props: TableProps & {ref?: ForwardedRef[]; const header = convertedChildren.find((child) => child.type === TableHeader); const footer = convertedChildren.find((child) => child.type === TableFooter); const lastUpdated = convertedChildren.find((child) => child.type === TableLastUpdated); @@ -213,7 +213,7 @@ export const Table = (props: TableProps & {ref?: ForwardedRef(); + const containerRef = useRef(null); useClickOutside( () => { if (!store.multiRowSelectionEnabled && store.getSelectedRows().length > 0) { diff --git a/packages/mantine/src/components/table/Table.types.ts b/packages/mantine/src/components/table/Table.types.ts index de5ef345c5..c0646bdd95 100644 --- a/packages/mantine/src/components/table/Table.types.ts +++ b/packages/mantine/src/components/table/Table.types.ts @@ -13,7 +13,7 @@ export type TableLayoutProps = Pick< TableProps['layoutProps']; export interface TableLayout { - (props: {children: ReactNode}): ReactElement; + (props: {children: ReactNode}): ReactElement; /** * Name of the layout. * Will be displayed in the layout control @@ -28,12 +28,12 @@ export interface TableLayout { * Header portion of the table. * In the standard row layout that is where column headers would be displayed. */ - Header: (props: TableLayoutProps) => ReactElement; + Header: (props: TableLayoutProps) => ReactElement; /** * Body portion of the table. * In the standard row layout that is where the rows would be displayed. */ - Body: (props: TableLayoutProps) => ReactElement; + Body: (props: TableLayoutProps) => ReactElement; } export interface TableProps extends BoxProps, StylesApiProps { diff --git a/packages/mantine/src/components/table/TableContext.tsx b/packages/mantine/src/components/table/TableContext.tsx index d01b837890..e3875744b1 100644 --- a/packages/mantine/src/components/table/TableContext.tsx +++ b/packages/mantine/src/components/table/TableContext.tsx @@ -1,6 +1,6 @@ import {createSafeContext, GetStylesApi} from '@mantine/core'; import {Table} from '@tanstack/table-core'; -import {MutableRefObject, ReactElement} from 'react'; +import {MutableRefObject, ReactElement, type JSX} from 'react'; import {type PlasmaTableFactory} from './Table'; import {TableAction, TableLayout} from './Table.types'; import {TableStore} from './use-table'; @@ -21,4 +21,4 @@ export interface TableProviderProps { export const [TableProvider, useTableContext] = createSafeContext( 'Table component was not found in the tree', -) as [(props: TableProviderProps) => ReactElement, () => TableContextValue]; +) as [(props: TableProviderProps) => ReactElement, () => TableContextValue]; diff --git a/packages/mantine/src/components/table/table-actions/TableHeaderActions.tsx b/packages/mantine/src/components/table/table-actions/TableHeaderActions.tsx index c582f5ab3b..c202fcc563 100644 --- a/packages/mantine/src/components/table/table-actions/TableHeaderActions.tsx +++ b/packages/mantine/src/components/table/table-actions/TableHeaderActions.tsx @@ -19,7 +19,7 @@ type TableHeaderActionsFactory = Factory<{ const defaultProps: Partial = {}; export const TableHeaderActions = factory( - (props: TableHeaderActionsProps, ref): ReactElement => { + (props: TableHeaderActionsProps, ref): ReactElement => { const {store, getStyles, getRowActions} = useTableContext(); const {style, className, classNames, styles, ...others} = useProps( 'PlasmaTableHeaderActions', diff --git a/packages/mantine/src/hooks/useParentHeight.ts b/packages/mantine/src/hooks/useParentHeight.ts index 08b529eaa7..2a1bd567c4 100644 --- a/packages/mantine/src/hooks/useParentHeight.ts +++ b/packages/mantine/src/hooks/useParentHeight.ts @@ -13,7 +13,7 @@ const getElementInnerHeight = (el: HTMLElement): number => { */ export const useParentHeight = (): [number, MutableRefObject] => { const [height, setHeight] = useState(-1); - const ref = useRef(); + const ref = useRef(null); useEffect(() => { if (ref.current) { diff --git a/packages/website/package.json b/packages/website/package.json index 160891d529..73ae914f38 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -19,13 +19,13 @@ "@coveord/plasma-react-icons": "workspace:*", "@coveord/plasma-tokens": "workspace:*", "@faker-js/faker": "9.3.0", - "@mantine/code-highlight": "7.14.3", - "@mantine/core": "7.14.3", - "@mantine/dates": "7.14.3", - "@mantine/form": "7.14.3", - "@mantine/hooks": "7.14.3", - "@mantine/modals": "7.14.3", - "@mantine/notifications": "7.14.3", + "@mantine/code-highlight": "7.15.1", + "@mantine/core": "7.15.1", + "@mantine/dates": "7.15.1", + "@mantine/form": "7.15.1", + "@mantine/hooks": "7.15.1", + "@mantine/modals": "7.15.1", + "@mantine/notifications": "7.15.1", "@mantinex/dev-icons": "1.0.2", "@stencil/core": "4.22.3", "@swc/helpers": "0.5.15", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a66a8c5ee7..31eab8bc6e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -236,29 +236,29 @@ importers: version: 0.52.0 devDependencies: '@mantine/carousel': - specifier: 7.14.3 - version: 7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(embla-carousel-react@7.1.0(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(embla-carousel-react@7.1.0(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@mantine/code-highlight': - specifier: 7.14.3 - version: 7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@mantine/core': - specifier: 7.14.3 - version: 7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@mantine/dates': - specifier: 7.14.3 - version: 7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(dayjs@1.11.13)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(dayjs@1.11.13)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@mantine/form': - specifier: 7.14.3 - version: 7.14.3(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(react@19.0.0) '@mantine/hooks': - specifier: 7.14.3 - version: 7.14.3(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(react@19.0.0) '@mantine/modals': - specifier: 7.14.3 - version: 7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@mantine/notifications': - specifier: 7.14.3 - version: 7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@swc/cli': specifier: 0.5.2 version: 0.5.2(@swc/core@1.9.3(@swc/helpers@0.5.15))(chokidar@3.6.0) @@ -490,29 +490,29 @@ importers: specifier: 9.3.0 version: 9.3.0 '@mantine/code-highlight': - specifier: 7.14.3 - version: 7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@mantine/core': - specifier: 7.14.3 - version: 7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@mantine/dates': - specifier: 7.14.3 - version: 7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(dayjs@1.11.13)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(dayjs@1.11.13)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@mantine/form': - specifier: 7.14.3 - version: 7.14.3(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(react@19.0.0) '@mantine/hooks': - specifier: 7.14.3 - version: 7.14.3(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(react@19.0.0) '@mantine/modals': - specifier: 7.14.3 - version: 7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@mantine/notifications': - specifier: 7.14.3 - version: 7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 7.15.1 + version: 7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@mantinex/dev-icons': specifier: 1.0.2 - version: 1.0.2(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 1.0.2(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@stencil/core': specifier: 4.22.3 version: 4.22.3(patch_hash=l4z4izduz5zse4eflkg54f45km) @@ -1267,67 +1267,67 @@ packages: '@kwsites/promise-deferred@1.1.1': resolution: {integrity: sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==} - '@mantine/carousel@7.14.3': - resolution: {integrity: sha512-NUa0Q834wxcCMMKCuaDz2UfFh1qeiJOCMQnaBLAkBhaL7Goi3bWU3aVSJQRf9vezqO4jVjy86TwvX10TuzgyDw==} + '@mantine/carousel@7.15.1': + resolution: {integrity: sha512-FQaxESq+uydaat4r3NC7x1/XKKGlr8PIawGEqkZXmzPLagOI6D+K3vSDzYK0n1fC6eIVPmd5bSiexBRVxXMm4Q==} peerDependencies: - '@mantine/core': 7.14.3 - '@mantine/hooks': 7.14.3 + '@mantine/core': 7.15.1 + '@mantine/hooks': 7.15.1 embla-carousel-react: '>=7.0.0' react: ^18.x || ^19.x react-dom: ^18.x || ^19.x - '@mantine/code-highlight@7.14.3': - resolution: {integrity: sha512-iTdirW7R4A8qhacwNJwzBRteLX3hlVlxc8TKEfBJ4KM9Ke5wZ7hrsclzXg3vsFDQHd+oKLtWUBsehecre4VR2Q==} + '@mantine/code-highlight@7.15.1': + resolution: {integrity: sha512-ByUWaRpnUALeCLQ+t5BXvPWuM4ZMtoEe3a9c3Iabw4Z8fn/mRq+ZpozA5amzggp2gb4z1c6qbCIViOXXVKglmw==} peerDependencies: - '@mantine/core': 7.14.3 - '@mantine/hooks': 7.14.3 + '@mantine/core': 7.15.1 + '@mantine/hooks': 7.15.1 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x - '@mantine/core@7.14.3': - resolution: {integrity: sha512-niAi+ZYBr4KrG+X2Mx+muvEzUOOHc/Rx0vsbIGYeNe7urwHSm/xNEGsaapmCqeRC0CSL4KI6TJOq8QhnSuQZcw==} + '@mantine/core@7.15.1': + resolution: {integrity: sha512-MKHrByqgpu+vzhauX0X9EH+BOgJqyjHwk4E0sfIIX9CXC9pziLMc4aL8pua0KaXiRuQiskTl/DuGX31saHBH5g==} peerDependencies: - '@mantine/hooks': 7.14.3 + '@mantine/hooks': 7.15.1 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x - '@mantine/dates@7.14.3': - resolution: {integrity: sha512-vE+eCbGkas4h1DP6og9nnatL/cBJUvDu0v5+ZH4YdI8mBpjuxmabvbGrpLoWuKocQOFdyCzrlYFQF8ai0jXABg==} + '@mantine/dates@7.15.1': + resolution: {integrity: sha512-3WXTq841Em4+e1VLm+t+1mQvfgNkgIAN8/puGg7lljf+Nl6moiI1qekjE1lg2q8EkqI+5uUOgLamlOYX411j5g==} peerDependencies: - '@mantine/core': 7.14.3 - '@mantine/hooks': 7.14.3 + '@mantine/core': 7.15.1 + '@mantine/hooks': 7.15.1 dayjs: '>=1.0.0' react: ^18.x || ^19.x react-dom: ^18.x || ^19.x - '@mantine/form@7.14.3': - resolution: {integrity: sha512-NquXVQz3IRCT5WTWCEdQjQzThMj7FpX/u0PDD+8XydiMPB7zJGPM9IdV88mWDI2ghT9vS6rBn22XWjTYsKa8+A==} + '@mantine/form@7.15.1': + resolution: {integrity: sha512-DA2syNlPsG1f+UtnbEG+pf4Pc/DoZUgcdvZn3LsCRxJZYNuwz8qQ16oL/wQ6UIk3klGlJI/RDzRJ9rvn6E28YQ==} peerDependencies: react: ^18.x || ^19.x - '@mantine/hooks@7.14.3': - resolution: {integrity: sha512-cU3R9b8GLs6aCvpsVC56ZOOJCUIoDqX3RcLWkcfpA5a47LjWa/rzegP4YWfNW6/E9vodPJT4AEbYXVffYlyNwA==} + '@mantine/hooks@7.15.1': + resolution: {integrity: sha512-jrpjA5JhVSgUi0expfZpvNplMgvwdvrCIcKiDjQ16p/KiWngvTVfmJMtBOVxQ6hWrn500nLmZIDEcTmV9Dvb7g==} peerDependencies: react: ^18.x || ^19.x - '@mantine/modals@7.14.3': - resolution: {integrity: sha512-wn2eMSROG7bPbeSH2OnTp8iVv1wH9L9tLeBt88mTEXLg3vIPfQtWD9g/kFrjhoCjygYYtyJeqMQFYPUkHQMXDw==} + '@mantine/modals@7.15.1': + resolution: {integrity: sha512-mKlnzkwqOHO1laeVfILbcPLITF2qRwKbf/aF3GZhHiJVTX0aSEQ5IBL7dBQHhETLsfNp/GLzmOHKyw3zdNUS5g==} peerDependencies: - '@mantine/core': 7.14.3 - '@mantine/hooks': 7.14.3 + '@mantine/core': 7.15.1 + '@mantine/hooks': 7.15.1 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x - '@mantine/notifications@7.14.3': - resolution: {integrity: sha512-7N9u4upi1On8TL94UvrUNhpDGxp1sAkbcgiNcu6zhvy4j29TPFapoXB5CRE9zzjAf3CYq3AigE96bXlCDm9xuQ==} + '@mantine/notifications@7.15.1': + resolution: {integrity: sha512-HcaePf1Ss0PuLugEsa57w8w5mxh9d/ZeByqn96DXWsN0HtRZ+ElqSFO9nY6G2zQGV7AzB0fqQXhGX4ffdz5zuA==} peerDependencies: - '@mantine/core': 7.14.3 - '@mantine/hooks': 7.14.3 + '@mantine/core': 7.15.1 + '@mantine/hooks': 7.15.1 react: ^18.x || ^19.x react-dom: ^18.x || ^19.x - '@mantine/store@7.14.3': - resolution: {integrity: sha512-o15vbTUNlLqD/yLOtEClnc4fY2ONDaCZiaL9REUy0xhCDbVTeeqnu9BV604yuym50ZH5mhMHix1TX3K9vGsWvA==} + '@mantine/store@7.15.1': + resolution: {integrity: sha512-+jwsCE0x0BoeNYhto/Y9PQtHu86BxBNsc3Jw+dNwPP2oeVCbpspopHN+JsTrLR9ZCvsy8N8hxOX7T3ZUGZLYFQ==} peerDependencies: react: ^18.x || ^19.x @@ -4812,8 +4812,8 @@ packages: '@types/react': optional: true - react-remove-scroll@2.6.1: - resolution: {integrity: sha512-jWEvWQidZ/C/FnFlUIB1mDLpY3r7uEb22WZ3uVeKj520caKDiaBsNDEB9J1gHJgpiLo+eTdPl2MVi0JitFTiFg==} + react-remove-scroll@2.6.2: + resolution: {integrity: sha512-KmONPx5fnlXYJQqC62Q+lwIeAk64ws/cUw6omIumRzMRPqgnYqhSSti99nbj0Ry13bv7dF+BKn7NB+OqkdZGTw==} engines: {node: '>=10'} peerDependencies: '@types/react': '*' @@ -5534,8 +5534,8 @@ packages: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} - type-fest@4.30.1: - resolution: {integrity: sha512-ojFL7eDMX2NF0xMbDwPZJ8sb7ckqtlAi1GsmgsFXvErT9kFTk1r0DuQKvrCh73M6D4nngeHJmvogF9OluXs7Hw==} + type-fest@4.30.2: + resolution: {integrity: sha512-UJShLPYi1aWqCdq9HycOL/gwsuqda1OISdBO3t8RlXQC4QvtuIz4b5FCfe2dQIWEpmlRExKmcTBfP1r9bhY7ig==} engines: {node: '>=16'} typed-array-buffer@1.0.2: @@ -5631,12 +5631,12 @@ packages: url@0.10.3: resolution: {integrity: sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==} - use-callback-ref@1.3.2: - resolution: {integrity: sha512-elOQwe6Q8gqZgDA8mrh44qRTQqpIHDcZ3hXTLjBe1i4ph8XpNJnO+aQf3NaG+lriLopI4HMx9VjQLfPQ6vhnoA==} + use-callback-ref@1.3.3: + resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==} engines: {node: '>=10'} peerDependencies: - '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 + '@types/react': '*' + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true @@ -6587,73 +6587,73 @@ snapshots: '@kwsites/promise-deferred@1.1.1': {} - '@mantine/carousel@7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(embla-carousel-react@7.1.0(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + '@mantine/carousel@7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(embla-carousel-react@7.1.0(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@mantine/core': 7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@mantine/hooks': 7.14.3(react@19.0.0) + '@mantine/core': 7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@mantine/hooks': 7.15.1(react@19.0.0) embla-carousel-react: 7.1.0(react@19.0.0) react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - '@mantine/code-highlight@7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + '@mantine/code-highlight@7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@mantine/core': 7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@mantine/hooks': 7.14.3(react@19.0.0) + '@mantine/core': 7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@mantine/hooks': 7.15.1(react@19.0.0) clsx: 2.1.1 highlight.js: 11.11.0 react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - '@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + '@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@floating-ui/react': 0.26.28(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@mantine/hooks': 7.14.3(react@19.0.0) + '@mantine/hooks': 7.15.1(react@19.0.0) clsx: 2.1.1 react: 19.0.0 react-dom: 19.0.0(react@19.0.0) react-number-format: 5.4.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - react-remove-scroll: 2.6.1(@types/react@19.0.1)(react@19.0.0) + react-remove-scroll: 2.6.2(@types/react@19.0.1)(react@19.0.0) react-textarea-autosize: 8.5.5(@types/react@19.0.1)(react@19.0.0) - type-fest: 4.30.1 + type-fest: 4.30.2 transitivePeerDependencies: - '@types/react' - '@mantine/dates@7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(dayjs@1.11.13)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + '@mantine/dates@7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(dayjs@1.11.13)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@mantine/core': 7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@mantine/hooks': 7.14.3(react@19.0.0) + '@mantine/core': 7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@mantine/hooks': 7.15.1(react@19.0.0) clsx: 2.1.1 dayjs: 1.11.13 react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - '@mantine/form@7.14.3(react@19.0.0)': + '@mantine/form@7.15.1(react@19.0.0)': dependencies: fast-deep-equal: 3.1.3 klona: 2.0.6 react: 19.0.0 - '@mantine/hooks@7.14.3(react@19.0.0)': + '@mantine/hooks@7.15.1(react@19.0.0)': dependencies: react: 19.0.0 - '@mantine/modals@7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + '@mantine/modals@7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@mantine/core': 7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@mantine/hooks': 7.14.3(react@19.0.0) + '@mantine/core': 7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@mantine/hooks': 7.15.1(react@19.0.0) react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - '@mantine/notifications@7.14.3(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + '@mantine/notifications@7.15.1(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@mantine/core': 7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@mantine/hooks': 7.14.3(react@19.0.0) - '@mantine/store': 7.14.3(react@19.0.0) + '@mantine/core': 7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@mantine/hooks': 7.15.1(react@19.0.0) + '@mantine/store': 7.15.1(react@19.0.0) react: 19.0.0 react-dom: 19.0.0(react@19.0.0) react-transition-group: 4.4.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@mantine/store@7.14.3(react@19.0.0)': + '@mantine/store@7.15.1(react@19.0.0)': dependencies: react: 19.0.0 @@ -6661,10 +6661,10 @@ snapshots: dependencies: react: 19.0.0 - '@mantinex/dev-icons@1.0.2(@mantine/core@7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.14.3(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + '@mantinex/dev-icons@1.0.2(@mantine/core@7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(@mantine/hooks@7.15.1(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@mantine/core': 7.14.3(@mantine/hooks@7.14.3(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@mantine/hooks': 7.14.3(react@19.0.0) + '@mantine/core': 7.15.1(@mantine/hooks@7.15.1(react@19.0.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@mantine/hooks': 7.15.1(react@19.0.0) react: 19.0.0 react-dom: 19.0.0(react@19.0.0) @@ -10436,13 +10436,13 @@ snapshots: optionalDependencies: '@types/react': 19.0.1 - react-remove-scroll@2.6.1(@types/react@19.0.1)(react@19.0.0): + react-remove-scroll@2.6.2(@types/react@19.0.1)(react@19.0.0): dependencies: react: 19.0.0 react-remove-scroll-bar: 2.3.8(@types/react@19.0.1)(react@19.0.0) react-style-singleton: 2.2.3(@types/react@19.0.1)(react@19.0.0) tslib: 2.8.1 - use-callback-ref: 1.3.2(@types/react@19.0.1)(react@19.0.0) + use-callback-ref: 1.3.3(@types/react@19.0.1)(react@19.0.0) use-sidecar: 1.1.3(@types/react@19.0.1)(react@19.0.0) optionalDependencies: '@types/react': 19.0.1 @@ -11265,7 +11265,7 @@ snapshots: type-fest@0.21.3: {} - type-fest@4.30.1: {} + type-fest@4.30.2: {} typed-array-buffer@1.0.2: dependencies: @@ -11388,7 +11388,7 @@ snapshots: punycode: 1.3.2 querystring: 0.2.0 - use-callback-ref@1.3.2(@types/react@19.0.1)(react@19.0.0): + use-callback-ref@1.3.3(@types/react@19.0.1)(react@19.0.0): dependencies: react: 19.0.0 tslib: 2.8.1