diff --git a/docs/package.json b/docs/package.json index b703803edf..f3b187a93f 100644 --- a/docs/package.json +++ b/docs/package.json @@ -40,7 +40,7 @@ "@liveblocks/react-blocknote": "3.7.1-tiptap3", "@liveblocks/react-tiptap": "3.7.1-tiptap3", "@liveblocks/react-ui": "3.7.1-tiptap3", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "@mui/icons-material": "^5.16.1", "@mui/material": "^5.16.1", "@polar-sh/better-auth": "^1.0.2", diff --git a/examples/03-ui-components/03-formatting-toolbar-block-type-items/.bnexample.json b/examples/03-ui-components/03-formatting-toolbar-block-type-items/.bnexample.json index b887d2cf3d..c966fee7c6 100644 --- a/examples/03-ui-components/03-formatting-toolbar-block-type-items/.bnexample.json +++ b/examples/03-ui-components/03-formatting-toolbar-block-type-items/.bnexample.json @@ -10,7 +10,7 @@ "Custom Schemas" ], "dependencies": { - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" } } diff --git a/examples/03-ui-components/03-formatting-toolbar-block-type-items/package.json b/examples/03-ui-components/03-formatting-toolbar-block-type-items/package.json index 95c439620c..7d28e02765 100644 --- a/examples/03-ui-components/03-formatting-toolbar-block-type-items/package.json +++ b/examples/03-ui-components/03-formatting-toolbar-block-type-items/package.json @@ -17,7 +17,7 @@ "@blocknote/shadcn": "latest", "react": "^19.1.0", "react-dom": "^19.1.0", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" }, "devDependencies": { diff --git a/examples/06-custom-schema/01-alert-block/.bnexample.json b/examples/06-custom-schema/01-alert-block/.bnexample.json index b7468665f3..fb6c8f0710 100644 --- a/examples/06-custom-schema/01-alert-block/.bnexample.json +++ b/examples/06-custom-schema/01-alert-block/.bnexample.json @@ -10,7 +10,7 @@ "Slash Menu" ], "dependencies": { - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" } } diff --git a/examples/06-custom-schema/01-alert-block/package.json b/examples/06-custom-schema/01-alert-block/package.json index 03e0d24a84..436274fd5c 100644 --- a/examples/06-custom-schema/01-alert-block/package.json +++ b/examples/06-custom-schema/01-alert-block/package.json @@ -17,7 +17,7 @@ "@blocknote/shadcn": "latest", "react": "^19.1.0", "react-dom": "^19.1.0", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" }, "devDependencies": { diff --git a/examples/06-custom-schema/04-pdf-file-block/.bnexample.json b/examples/06-custom-schema/04-pdf-file-block/.bnexample.json index 17ab6ffd3b..9310c2afcd 100644 --- a/examples/06-custom-schema/04-pdf-file-block/.bnexample.json +++ b/examples/06-custom-schema/04-pdf-file-block/.bnexample.json @@ -10,7 +10,7 @@ "Slash Menu" ], "dependencies": { - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" }, "pro": true diff --git a/examples/06-custom-schema/04-pdf-file-block/package.json b/examples/06-custom-schema/04-pdf-file-block/package.json index 256c961ab4..efa4f81848 100644 --- a/examples/06-custom-schema/04-pdf-file-block/package.json +++ b/examples/06-custom-schema/04-pdf-file-block/package.json @@ -17,7 +17,7 @@ "@blocknote/shadcn": "latest", "react": "^19.1.0", "react-dom": "^19.1.0", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" }, "devDependencies": { diff --git a/examples/06-custom-schema/05-alert-block-full-ux/.bnexample.json b/examples/06-custom-schema/05-alert-block-full-ux/.bnexample.json index 7d4aa972fc..6245a69f6d 100644 --- a/examples/06-custom-schema/05-alert-block-full-ux/.bnexample.json +++ b/examples/06-custom-schema/05-alert-block-full-ux/.bnexample.json @@ -11,7 +11,7 @@ "Slash Menu" ], "dependencies": { - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" } } diff --git a/examples/06-custom-schema/05-alert-block-full-ux/package.json b/examples/06-custom-schema/05-alert-block-full-ux/package.json index cbe2eee10b..fffb43e270 100644 --- a/examples/06-custom-schema/05-alert-block-full-ux/package.json +++ b/examples/06-custom-schema/05-alert-block-full-ux/package.json @@ -17,7 +17,7 @@ "@blocknote/shadcn": "latest", "react": "^19.1.0", "react-dom": "^19.1.0", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" }, "devDependencies": { diff --git a/examples/09-ai/01-minimal/.bnexample.json b/examples/09-ai/01-minimal/.bnexample.json index 6de9d7b5bd..8b48a591ec 100644 --- a/examples/09-ai/01-minimal/.bnexample.json +++ b/examples/09-ai/01-minimal/.bnexample.json @@ -5,7 +5,7 @@ "tags": ["AI", "llm"], "dependencies": { "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.3.15", "@ai-sdk/groq": "^1.2.9", "zustand": "^5.0.3" diff --git a/examples/09-ai/01-minimal/package.json b/examples/09-ai/01-minimal/package.json index 4a93e90a01..78957c9886 100644 --- a/examples/09-ai/01-minimal/package.json +++ b/examples/09-ai/01-minimal/package.json @@ -18,7 +18,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.3.15", "@ai-sdk/groq": "^1.2.9", "zustand": "^5.0.3" diff --git a/examples/09-ai/02-playground/.bnexample.json b/examples/09-ai/02-playground/.bnexample.json index 2e467271da..693c660679 100644 --- a/examples/09-ai/02-playground/.bnexample.json +++ b/examples/09-ai/02-playground/.bnexample.json @@ -5,7 +5,7 @@ "tags": ["AI", "llm"], "dependencies": { "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.3.15", "@ai-sdk/google": "^1.2.20", "@ai-sdk/openai": "^1.3.22", diff --git a/examples/09-ai/02-playground/package.json b/examples/09-ai/02-playground/package.json index f852c5da96..3e8f2880cb 100644 --- a/examples/09-ai/02-playground/package.json +++ b/examples/09-ai/02-playground/package.json @@ -18,7 +18,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.3.15", "@ai-sdk/google": "^1.2.20", "@ai-sdk/openai": "^1.3.22", diff --git a/examples/09-ai/03-custom-ai-menu-items/.bnexample.json b/examples/09-ai/03-custom-ai-menu-items/.bnexample.json index 23355c91be..4683f8c95a 100644 --- a/examples/09-ai/03-custom-ai-menu-items/.bnexample.json +++ b/examples/09-ai/03-custom-ai-menu-items/.bnexample.json @@ -5,7 +5,7 @@ "tags": ["AI", "llm"], "dependencies": { "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.1.0", "@ai-sdk/openai": "^1.1.0", "@ai-sdk/groq": "^1.1.0", diff --git a/examples/09-ai/03-custom-ai-menu-items/package.json b/examples/09-ai/03-custom-ai-menu-items/package.json index b347bcc3c7..681aa35934 100644 --- a/examples/09-ai/03-custom-ai-menu-items/package.json +++ b/examples/09-ai/03-custom-ai-menu-items/package.json @@ -18,7 +18,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.1.0", "@ai-sdk/openai": "^1.1.0", "@ai-sdk/groq": "^1.1.0", diff --git a/examples/09-ai/04-with-collaboration/.bnexample.json b/examples/09-ai/04-with-collaboration/.bnexample.json index fe40994365..bc4bacd9a4 100644 --- a/examples/09-ai/04-with-collaboration/.bnexample.json +++ b/examples/09-ai/04-with-collaboration/.bnexample.json @@ -5,7 +5,7 @@ "tags": ["AI", "llm"], "dependencies": { "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.3.15", "@ai-sdk/groq": "^1.2.9", "y-partykit": "^0.0.25", diff --git a/examples/09-ai/04-with-collaboration/package.json b/examples/09-ai/04-with-collaboration/package.json index 782e4ce5a5..a5dee74797 100644 --- a/examples/09-ai/04-with-collaboration/package.json +++ b/examples/09-ai/04-with-collaboration/package.json @@ -18,7 +18,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.3.15", "@ai-sdk/groq": "^1.2.9", "y-partykit": "^0.0.25", diff --git a/packages/mantine/package.json b/packages/mantine/package.json index ccb8701415..2c2256e61b 100644 --- a/packages/mantine/package.json +++ b/packages/mantine/package.json @@ -58,9 +58,9 @@ "dependencies": { "@blocknote/core": "0.39.1", "@blocknote/react": "0.39.1", - "@mantine/core": "^7.17.3", - "@mantine/hooks": "^7.17.3", - "@mantine/utils": "^6.0.21", + "@mantine/core": "^8.3.2", + "@mantine/hooks": "^8.3.2", + "@mantine/utils": "^6.0.22", "react-icons": "^5.2.1" }, "devDependencies": { diff --git a/packages/mantine/src/BlockNoteView.tsx b/packages/mantine/src/BlockNoteView.tsx index 09948c3ab9..37f40a1728 100644 --- a/packages/mantine/src/BlockNoteView.tsx +++ b/packages/mantine/src/BlockNoteView.tsx @@ -10,8 +10,8 @@ import { useBlockNoteContext, usePrefersColorScheme, } from "@blocknote/react"; -import { MantineProvider } from "@mantine/core"; -import React, { useCallback } from "react"; +import { MantineContext, MantineProvider } from "@mantine/core"; +import React, { useCallback, useContext } from "react"; import { applyBlockNoteCSSVariablesFromTheme, removeBlockNoteCSSVariables, @@ -20,11 +20,6 @@ import { import { components } from "./components.js"; import "./style.css"; -const mantineTheme = { - // Removes button press effect - activeClassName: "", -}; - export const BlockNoteView = < BSchema extends BlockSchema, ISchema extends InlineContentSchema, @@ -76,6 +71,8 @@ export const BlockNoteView = < [defaultColorScheme, theme], ); + const mantineContext = useContext(MantineContext); + const finalTheme = typeof theme === "string" ? theme @@ -83,27 +80,34 @@ export const BlockNoteView = < ? defaultColorScheme : "light"; - return ( + const view = ( - undefined} - > - - + ); + + if (mantineContext) { + return view; + } + + return ( + undefined} + > + {view} + + ); }; diff --git a/packages/mantine/src/mantineStyles.css b/packages/mantine/src/mantineStyles.css index a976a47c1e..da5d60f0ef 100644 --- a/packages/mantine/src/mantineStyles.css +++ b/packages/mantine/src/mantineStyles.css @@ -82,62 +82,51 @@ @import url("@mantine/core/styles/Timeline.css"); @import url("@mantine/core/styles/Title.css"); @import url("@mantine/core/styles/Tooltip.css"); -@import url("@mantine/core/styles/TypographyStylesProvider.css"); +@import url("@mantine/core/styles/Typography.css"); + +/* Mantine baseline styles, scoped to .bn-mantine element. */ +/* https://github.com/mantinedev/mantine/blob/8.3.1/packages/%40mantine/core/src/core/MantineProvider/baseline.css */ +.bn-mantine { + color-scheme: var(--mantine-color-scheme); +} -/* Mantine global styles, scoped to bn-container */ -/* Based on @mantine/core/styles/global.css - (src: https://github.com/mantinedev/mantine/blob/master/packages/%40mantine/core/src/core/MantineProvider/global.css) - but with styles set on `body` and `html` instead set on `bn-container`, as - well as other minor changes. */ .bn-mantine *, -.bn-mantine :after, -.bn-mantine :before { +.bn-mantine *::before, +.bn-mantine *::after { box-sizing: border-box; } +/* Fonts are already set in `style.css`, so not needed here. */ +/* .bn-mantine input, .bn-mantine button, +.bn-mantine textarea, .bn-mantine select { - text-transform: none; -} - -@media screen and (max-device-width: 500px) { - .bn-mantine { - -webkit-text-size-adjust: 100%; - } -} - -@media (prefers-reduced-motion: reduce) { - .bn-mantine [data-respect-reduced-motion] [data-reduce-motion] { - animation: none; - transition: none; - } -} + font: inherit; +} */ -.bn-mantine [data-mantine-color-scheme="dark"] .mantine-dark-hidden, -.bn-mantine [data-mantine-color-scheme="light"] .mantine-light-hidden { - display: none; -} - -.bn-mantine .mantine-focus-auto:focus-visible { - outline: calc(0.125rem * var(--mantine-scale)) solid - var(--mantine-primary-color-filled); - outline-offset: calc(0.125rem * var(--mantine-scale)); -} - -.bn-mantine .mantine-focus-always:focus { - outline: calc(0.125rem * var(--mantine-scale)) solid - var(--mantine-primary-color-filled); - outline-offset: calc(0.125rem * var(--mantine-scale)); +.bn-mantine button, +.bn-mantine select { + text-transform: none; } -.bn-mantine .mantine-focus-never:focus { - outline: none; -} +.bn-mantine { + /* Defaults for font, text color, etc are already set in `style.css` so they + aren't needed here. The `.bn-mantine` element also has a margin that we don't + want to remove, so that too is commented out (would normally just remove the + margin on `body`). */ + /* margin: 0; + font-family: var(--mantine-font-family); + font-size: var(--mantine-font-size-md); + line-height: var(--mantine-line-height); + background-color: var(--mantine-color-body); + color: var(--mantine-color-text); */ -.bn-mantine .mantine-active:active { - transform: translateY(calc(0.0625rem * var(--mantine-scale))); + -webkit-font-smoothing: var(--mantine-webkit-font-smoothing); + -moz-osx-font-smoothing: var(--mantine-moz-font-smoothing); } -.bn-mantine[dir="rtl"] .mantine-rotate-rtl { - transform: rotate(180deg); +@media screen and (max-device-width: em(500px)) { + .bn-mantine { + -webkit-text-size-adjust: 100%; + } } diff --git a/packages/mantine/src/menu/Menu.tsx b/packages/mantine/src/menu/Menu.tsx index b8bc9b29ca..f8d80fb4e1 100644 --- a/packages/mantine/src/menu/Menu.tsx +++ b/packages/mantine/src/menu/Menu.tsx @@ -2,19 +2,10 @@ import { CheckIcon as MantineCheckIcon, Menu as MantineMenu, } from "@mantine/core"; -import { mergeRefs } from "@mantine/hooks"; import { assertEmpty } from "@blocknote/core"; import { ComponentProps } from "@blocknote/react"; -import { - createContext, - forwardRef, - useCallback, - useContext, - useRef, - useState, -} from "react"; -import { HiChevronRight } from "react-icons/hi"; +import { createContext, forwardRef, useContext } from "react"; const SubMenuContext = createContext< | { @@ -24,128 +15,23 @@ const SubMenuContext = createContext< | undefined >(undefined); -// https://github.com/orgs/mantinedev/discussions/2307 -// Mantine does not officially support sub menus, so we have to use a workaround -// which uses an unconventional nesting structure: -// -// Conventional nesting structure (used by Ariakit/ShadCN): -// -// -// Find -// -// -// Undo -// Redo -// -// -// Find -// -// -// Find Next -// Find Previous -// -// -// -// -// -// Required structure for Mantine: -// -// -// Find -// -// -// Undo -// Redo -// -// -// -//
Find
-//
-// -// Find Next -// Find Previous -// -//
-//
-//
-//
-const SubMenu = forwardRef< - HTMLButtonElement, - ComponentProps["Generic"]["Menu"]["Root"] ->((props, ref) => { - const { - children, - onOpenChange, - position, - sub, // not used - ...rest - } = props; - - assertEmpty(rest); - - const [opened, setOpened] = useState(false); - - const itemRef = useRef(null); - - const menuCloseTimer = useRef | undefined>( - undefined, - ); - - const mouseLeave = useCallback(() => { - if (menuCloseTimer.current) { - clearTimeout(menuCloseTimer.current); - } - menuCloseTimer.current = setTimeout(() => { - setOpened(false); - }, 250); - }, []); - - const mouseOver = useCallback(() => { - if (menuCloseTimer.current) { - clearTimeout(menuCloseTimer.current); - } - setOpened(true); - }, []); - - return ( - - - - {children} - - - - ); -}); - export const Menu = (props: ComponentProps["Generic"]["Menu"]["Root"]) => { const { children, onOpenChange, position, sub, ...rest } = props; assertEmpty(rest); if (sub) { - return ; + return ( + + {children} + + ); } return ( @@ -173,17 +59,22 @@ export const MenuItem = forwardRef< if (subTrigger) { return ( -
{ - e.preventDefault(); - e.stopPropagation(); - }} + + ) : checked === false ? ( +
+ ) : null + } + onClick={onClick} {...rest} > {children} - -
+
); } @@ -218,6 +109,10 @@ export const MenuTrigger = ( assertEmpty(rest); + if (sub) { + return {children}; + } + return {children}; }; @@ -236,6 +131,19 @@ export const MenuDropdown = forwardRef< const ctx = useContext(SubMenuContext); + if (sub) { + return ( + + {children} + + ); + } + return ( .mantine-Menu-itemLabel - > div:not(.mantine-Menu-dropdown) { - align-items: center; - display: flex; - justify-content: space-between; -} - /* Comment styling */ .bn-mantine .bn-thread { background-color: var(--bn-colors-menu-background); diff --git a/playground/package.json b/playground/package.json index 877e00baaa..0cb8d424fc 100644 --- a/playground/package.json +++ b/playground/package.json @@ -39,7 +39,7 @@ "@liveblocks/react-blocknote": "3.7.1-tiptap3", "@liveblocks/react-tiptap": "3.7.1-tiptap3", "@liveblocks/react-ui": "3.7.1-tiptap3", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "@mui/icons-material": "^5.16.1", "@mui/material": "^5.16.1", "@uppy/core": "^3.13.1", diff --git a/playground/src/examples.gen.tsx b/playground/src/examples.gen.tsx index 2928ad3acf..8fce984f51 100644 --- a/playground/src/examples.gen.tsx +++ b/playground/src/examples.gen.tsx @@ -417,7 +417,7 @@ "Custom Schemas" ], "dependencies": { - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" } as any }, @@ -1142,7 +1142,7 @@ "Slash Menu" ], "dependencies": { - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" } as any }, @@ -1216,7 +1216,7 @@ "Slash Menu" ], "dependencies": { - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" } as any, "pro": true @@ -1245,7 +1245,7 @@ "Slash Menu" ], "dependencies": { - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "react-icons": "^5.2.1" } as any }, @@ -1576,7 +1576,7 @@ ], "dependencies": { "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.3.15", "@ai-sdk/groq": "^1.2.9", "zustand": "^5.0.3" @@ -1603,7 +1603,7 @@ ], "dependencies": { "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.3.15", "@ai-sdk/google": "^1.2.20", "@ai-sdk/openai": "^1.3.22", @@ -1635,7 +1635,7 @@ ], "dependencies": { "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.1.0", "@ai-sdk/openai": "^1.1.0", "@ai-sdk/groq": "^1.1.0", @@ -1664,7 +1664,7 @@ ], "dependencies": { "@blocknote/xl-ai": "latest", - "@mantine/core": "^7.17.3", + "@mantine/core": "^8.3.2", "ai": "^4.3.15", "@ai-sdk/groq": "^1.2.9", "y-partykit": "^0.0.25", diff --git a/playground/src/main.tsx b/playground/src/main.tsx index 9ee444b26c..a4c3dbf847 100644 --- a/playground/src/main.tsx +++ b/playground/src/main.tsx @@ -38,7 +38,9 @@ function Root() { return ( =10'} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-transition-group@4.4.5: resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==} peerDependencies: @@ -14496,6 +14515,10 @@ packages: resolution: {integrity: sha512-2dBz5D5ycHIoliLYLi0Q2V7KRaDlH0uWIvmk7TYlAg5slqwiPv1ezJdZm1QEM0xgk29oYWMCbIG7E6gHpvChlg==} engines: {node: '>=16'} + type-fest@4.41.0: + resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} + engines: {node: '>=16'} + typed-array-buffer@1.0.3: resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==} engines: {node: '>= 0.4'} @@ -17546,10 +17569,10 @@ snapshots: transitivePeerDependencies: - '@types/json-schema' - '@mantine/core@7.17.3(@mantine/hooks@7.17.3(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': + '@mantine/core@7.17.3(@mantine/hooks@8.3.2(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': dependencies: '@floating-ui/react': 0.26.28(react-dom@19.1.0(react@19.1.0))(react@19.1.0) - '@mantine/hooks': 7.17.3(react@19.1.0) + '@mantine/hooks': 8.3.2(react@19.1.0) clsx: 2.1.1 react: 19.1.0 react-dom: 19.1.0(react@19.1.0) @@ -17560,7 +17583,21 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mantine/hooks@7.17.3(react@19.1.0)': + '@mantine/core@8.3.2(@mantine/hooks@8.3.2(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': + dependencies: + '@floating-ui/react': 0.27.16(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + '@mantine/hooks': 8.3.2(react@19.1.0) + clsx: 2.1.1 + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + react-number-format: 5.4.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + react-remove-scroll: 2.7.1(@types/react@19.1.8)(react@19.1.0) + react-textarea-autosize: 8.5.9(@types/react@19.1.8)(react@19.1.0) + type-fest: 4.41.0 + transitivePeerDependencies: + - '@types/react' + + '@mantine/hooks@8.3.2(react@19.1.0)': dependencies: react: 19.1.0 @@ -25601,6 +25638,11 @@ snapshots: react: 19.1.0 react-dom: 19.1.0(react@19.1.0) + react-number-format@5.4.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0): + dependencies: + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + react-promise-suspense@0.3.4: dependencies: fast-deep-equal: 2.0.1 @@ -25668,6 +25710,15 @@ snapshots: transitivePeerDependencies: - '@types/react' + react-textarea-autosize@8.5.9(@types/react@19.1.8)(react@19.1.0): + dependencies: + '@babel/runtime': 7.28.4 + react: 19.1.0 + use-composed-ref: 1.4.0(@types/react@19.1.8)(react@19.1.0) + use-latest: 1.3.0(@types/react@19.1.8)(react@19.1.0) + transitivePeerDependencies: + - '@types/react' + react-transition-group@4.4.5(react-dom@19.1.0(react@19.1.0))(react@19.1.0): dependencies: '@babel/runtime': 7.27.0 @@ -25764,7 +25815,7 @@ snapshots: regenerator-transform@0.15.2: dependencies: - '@babel/runtime': 7.27.6 + '@babel/runtime': 7.28.4 regex-recursion@6.0.2: dependencies: @@ -26779,6 +26830,8 @@ snapshots: type-fest@4.38.0: {} + type-fest@4.41.0: {} + typed-array-buffer@1.0.3: dependencies: call-bound: 1.0.4 diff --git a/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-chromium-linux.png b/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-chromium-linux.png index efc7eb9d6a..b0652370ec 100644 Binary files a/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-chromium-linux.png and b/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-chromium-linux.png differ diff --git a/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-firefox-linux.png b/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-firefox-linux.png index 99d5b59f18..a0abb55378 100644 Binary files a/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-firefox-linux.png and b/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-firefox-linux.png differ diff --git a/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-webkit-linux.png b/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-webkit-linux.png index e14f0ce3d9..d5d3e47240 100644 Binary files a/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-webkit-linux.png and b/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlemenu-webkit-linux.png differ diff --git a/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-chromium-linux.png b/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-chromium-linux.png index aa96ae7316..350a80fd75 100644 Binary files a/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-chromium-linux.png and b/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-chromium-linux.png differ diff --git a/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-firefox-linux.png b/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-firefox-linux.png index c3140cf5d9..acb0b85c09 100644 Binary files a/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-firefox-linux.png and b/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-firefox-linux.png differ diff --git a/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-webkit-linux.png b/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-webkit-linux.png index cb5dd0eec8..22afa45951 100644 Binary files a/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-webkit-linux.png and b/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-drag-handle-menu-webkit-linux.png differ