Commit 5134ffb
committed
feat(mantine)!: upgrade to Mantine 9
Bumps @mantine/core and @mantine/code-highlight peers from ^8.3.17 to
^9.0.0 (dev-tested against 9.4.1) and declares @mantine/hooks
explicitly — core@9 pins its hooks peer exactly, and the previously
auto-installed 8.3.17 could no longer satisfy it.
Zero code changes required: the package's API surface (Typography,
MantineProvider, useComputedColorScheme, ActionIcon/CopyButton/Flex/
Tooltip, CodeHighlight adapter family) survives every 9.0 breaking
change — the source already used the Typography name, no removed props
or split hooks are referenced, and the SCSS only overrides CSS
variables v9 retains. Consumers inherit v9's visual defaults (radius
md, solid light-variant colors) and its React 19.2 floor.
Verified: SSR smoke suite, full preflight, and a live storybook pass
(CodeHighlightTabs with collapse/copy, JSON deep-parse, mermaid with
ActionIcons, KaTeX, tables — zero console errors).
BREAKING CHANGE: peer dependencies now require @mantine/core ^9.0.0
and @mantine/code-highlight ^9.0.0 (which require react >=19.2).1 parent edcb14f commit 5134ffb
2 files changed
Lines changed: 33 additions & 103 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments