Skip to content

Commit b33f8bd

Browse files
nperez0111claude
andcommitted
feat(mantine): upgrade @mantine/core and @mantine/hooks to v9.0.2
Upgrades the @blocknote/mantine peer dependencies from Mantine v8 to v9 following the official 8.x → 9.x migration guide. - Bump @mantine/core, @mantine/hooks to ^9.0.2 across all packages, examples, playground, docs, tests/nextjs-test-app and the example template in dev-scripts - Drop unused @mantine/utils v6 dependency - Fix Loader ref-type regression: v9's Mantine Loader renders as an <svg>, so wrap it in a forwarded <div> in SuggestionMenuLoader and GridSuggestionMenuLoader to preserve the HTMLDivElement ref contract - Update template vite to ^8.0.3 / @vitejs/plugin-react to ^6.0.1 so regenerated examples no longer downgrade vite on gen:examples Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent cb51b28 commit b33f8bd

95 files changed

Lines changed: 553 additions & 896 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
"@liveblocks/react-tiptap": "^3.17.0",
4141
"@liveblocks/react-ui": "^3.17.0",
4242
"@mantine/core": "^8.3.11",
43-
"@mantine/hooks": "^8.3.11",
44-
"@mantine/utils": "^6.0.22",
43+
"@mantine/hooks": "^9.0.2",
4544
"@marsidev/react-turnstile": "^1.4.2",
4645
"@mui/icons-material": "^5.16.1",
4746
"@mui/material": "^5.16.1",

examples/01-basic/01-minimal/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/react": "latest",
1818
"@blocknote/shadcn": "latest",
19-
"@mantine/core": "^8.3.11",
20-
"@mantine/hooks": "^8.3.11",
21-
"@mantine/utils": "^6.0.22",
19+
"@mantine/core": "^9.0.2",
20+
"@mantine/hooks": "^9.0.2",
2221
"react": "^19.2.3",
2322
"react-dom": "^19.2.3"
2423
},

examples/01-basic/02-block-objects/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/react": "latest",
1818
"@blocknote/shadcn": "latest",
19-
"@mantine/core": "^8.3.11",
20-
"@mantine/hooks": "^8.3.11",
21-
"@mantine/utils": "^6.0.22",
19+
"@mantine/core": "^9.0.2",
20+
"@mantine/hooks": "^9.0.2",
2221
"react": "^19.2.3",
2322
"react-dom": "^19.2.3"
2423
},

examples/01-basic/03-multi-column/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/react": "latest",
1818
"@blocknote/shadcn": "latest",
19-
"@mantine/core": "^8.3.11",
20-
"@mantine/hooks": "^8.3.11",
21-
"@mantine/utils": "^6.0.22",
19+
"@mantine/core": "^9.0.2",
20+
"@mantine/hooks": "^9.0.2",
2221
"react": "^19.2.3",
2322
"react-dom": "^19.2.3",
2423
"@blocknote/xl-multi-column": "latest"

examples/01-basic/04-default-blocks/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/react": "latest",
1818
"@blocknote/shadcn": "latest",
19-
"@mantine/core": "^8.3.11",
20-
"@mantine/hooks": "^8.3.11",
21-
"@mantine/utils": "^6.0.22",
19+
"@mantine/core": "^9.0.2",
20+
"@mantine/hooks": "^9.0.2",
2221
"react": "^19.2.3",
2322
"react-dom": "^19.2.3"
2423
},

examples/01-basic/05-removing-default-blocks/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/react": "latest",
1818
"@blocknote/shadcn": "latest",
19-
"@mantine/core": "^8.3.11",
20-
"@mantine/hooks": "^8.3.11",
21-
"@mantine/utils": "^6.0.22",
19+
"@mantine/core": "^9.0.2",
20+
"@mantine/hooks": "^9.0.2",
2221
"react": "^19.2.3",
2322
"react-dom": "^19.2.3"
2423
},

examples/01-basic/06-block-manipulation/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/react": "latest",
1818
"@blocknote/shadcn": "latest",
19-
"@mantine/core": "^8.3.11",
20-
"@mantine/hooks": "^8.3.11",
21-
"@mantine/utils": "^6.0.22",
19+
"@mantine/core": "^9.0.2",
20+
"@mantine/hooks": "^9.0.2",
2221
"react": "^19.2.3",
2322
"react-dom": "^19.2.3"
2423
},

examples/01-basic/07-selection-blocks/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/react": "latest",
1818
"@blocknote/shadcn": "latest",
19-
"@mantine/core": "^8.3.11",
20-
"@mantine/hooks": "^8.3.11",
21-
"@mantine/utils": "^6.0.22",
19+
"@mantine/core": "^9.0.2",
20+
"@mantine/hooks": "^9.0.2",
2221
"react": "^19.2.3",
2322
"react-dom": "^19.2.3"
2423
},

examples/01-basic/08-ariakit/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/react": "latest",
1818
"@blocknote/shadcn": "latest",
19-
"@mantine/core": "^8.3.11",
20-
"@mantine/hooks": "^8.3.11",
21-
"@mantine/utils": "^6.0.22",
19+
"@mantine/core": "^9.0.2",
20+
"@mantine/hooks": "^9.0.2",
2221
"react": "^19.2.3",
2322
"react-dom": "^19.2.3"
2423
},

examples/01-basic/09-shadcn/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/react": "latest",
1818
"@blocknote/shadcn": "latest",
19-
"@mantine/core": "^8.3.11",
20-
"@mantine/hooks": "^8.3.11",
21-
"@mantine/utils": "^6.0.22",
19+
"@mantine/core": "^9.0.2",
20+
"@mantine/hooks": "^9.0.2",
2221
"react": "^19.2.3",
2322
"react-dom": "^19.2.3",
2423
"tailwindcss": "^4.1.14",

0 commit comments

Comments
 (0)