This repository was archived by the owner on Dec 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Update mantine monorepo to v8 (major) #794
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/major-mantine-monorepo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72b0d08 to
adb9874
Compare
adb9874 to
5084006
Compare
5084006 to
1173295
Compare
c6b813c to
1173295
Compare
1173295 to
5c687fe
Compare
5c687fe to
6d7f5f2
Compare
6d7f5f2 to
7eceb4a
Compare
7eceb4a to
dcbbcbc
Compare
dcbbcbc to
8ad1e89
Compare
8ad1e89 to
4cc2fed
Compare
fcb380d to
b761841
Compare
b761841 to
cb3dfdf
Compare
25764fa to
f6b2248
Compare
f6b2248 to
806c57c
Compare
3a7619c to
394faca
Compare
394faca to
63c7981
Compare
9317ef9 to
21ab894
Compare
21ab894 to
1cc3121
Compare
1cc3121 to
d26b908
Compare
5d77b30 to
ad340d6
Compare
ad340d6 to
dff9893
Compare
dff9893 to
a84ea4a
Compare
a84ea4a to
2a5e3d1
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.2.5->^8.0.0^5.2.5->^8.0.0Release Notes
mantinedev/mantine (@mantine/core)
v8.3.10Compare Source
What's Changed
[@mantine/hooks]use-focus-within: Fix event handlers not being cleaned up properly (#8507)[@mantine/core]Menu: Fix focus not being returned to the target element when the dropdown is closed (#8517)[@mantine/core]List: Fix incorrect marker gap withiconprop (#8519)[@mantine/core]Fix some global styles not being applied to shadow DOM:host(#8504)[@mantine/core]Fix SSR-related errors in Tooltip and Popover.Target when the children are defined withReact.lazy(#8522)[@mantine/tiptap]Fix missing z-index on the toolbar[@mantine/form]AddFormArrayElementtype export (#8486)[@mantine/dates]Fix children override not working in MonthsList/YearsListgetYearProps/getMonthPropsfunctions (#8488)[@mantine/emotion]ImproveCSSObjecttype increateStyles(#8500)[@mantine/core]Input: Fix description having incorrect cursor styles (#8503)[@mantine/hooks]use-in-viewport: Fix incorrect entry cheching in some cases (#8509)[@mantine/core]Popover: Fix incorrect dropdown position when the target element is not initially within the viewport (#8411)[@mantine/core]Fix incorrectly inheritedpointerprop type from base input in some componentsNew Contributors
Full Changelog: mantinedev/mantine@8.3.9...8.3.10
v8.3.9Compare Source
What's Changed
[@mantine/core]ColorInput: Fix incorrect action icon size (#8481)[@mantine/form]FixinsertListItemandreplaceListItemhandlers not being type safe (#8478)[@mantine/dates]DatePickerInput: FixplaceholderStyles API selector not working (#8405)[@mantine/core]ColorInput: Fix incorrect font-size ifsizeprop not set explicitly (#8472)[@mantine/emotion]AddmergeSxutility function (#8471)[@mantine/core]ActionIcon: Fix incorrect disabled state background-color for gradient variant[@mantine/modals]Fix breaking changes accidentally introduced in the previous patch (#8476)[@mantine/core]Combobox: AddwithAlignedLabelsprop support to offset selected check icon in the dropdown options (#8391)[@mantine/core]Badge: Fixcircleprop not working whenradiusprop is set explicitly (#8466)[@mantine/core]Checkbox: Fix incorrectindeterminatestate calculation (#8460)[@mantine/core]Radio: Fix Radio.Group switching from uncontrolled to controlled mode when value is explicitly set (#8453)New Contributors
Full Changelog: mantinedev/mantine@8.3.8...8.3.9
v8.3.8Compare Source
What's Changed
[@mantine/modals]Improve types of context modals (#8439)[@mantine/core]Combobox: Fix keyboard interactions not working when used in shadow DOM (#8438)[@mantine/core]NumberInput: Fix,decimal separator not being converted to.when entering value from mobile keyboard[@mantine/core]NumberInput: Fix incorrect keyboard displayed on iOS 26[@mantine/charts]Add cellProps prop support to DonutChart and PieChart (#8444)[@mantine/core]Alert: Allow overridingroleattribute (#8447)[@mantine/core]Menu: AddopenDelayprop support to Menu.Sub component (#8437)New Contributors
Full Changelog: mantinedev/mantine@8.3.7...8.3.8
v8.3.7Compare Source
What's Changed
[@mantine/modals]AddConfirmModalPropstype exports (#8414)[@mantine/core]AppShell: Fix unexpected Header transition when scrollbar becomes hidden via scroll lock (#8420)[@mantine/core]Adddisabledprop for Radio.Group, Checkbox.Group and Switch.Group (#8396)[@mantine/core]Fix missing sub Menu components exports (#8419)[@mantine/tiptap]Fix editor control being overridden by customonClickhandler (#8421)[@mantine/core]PasswordInput: Addaria-pressedattribute to the visibility toggle (#8425)[@mantine/tiptap]Fix bubble menu being overlapped by the toolbar (#8416)[@mantine/core]Chip: RemoveiconWrapperif icon is exlicitly disabled[@mantine/charts]AddlabelFormattersupport to the default tooltip (#8404)New Contributors
Full Changelog: mantinedev/mantine@8.3.6...8.3.7
v8.3.6Compare Source
What's Changed
[@mantine/charts]Add options to setcurveTypeper series in LineChart and AreaChart components (#8403)[@mantine/charts]Heatmap: Fix dates range being affected by the user timezone (#8371)[@mantine/core]Chip: Allow disabling icon by settingicon={null}(#8382)[@mantine/core]List: Fix unexpected padding withlistStyleType="none"(#8393)[@mantine/dates]TimePicker: Add option to change placeholders (#8387)[@mantine/core]Checkbox: Fix data-indeterminate not being set correctly (#8385)[@mantine/dates]TimePicker: Fix time being clamped incorrectly when onlyminormaxdefined[@mantine/core]NumberInput: Fix zero value represented as string being transformed to empty string on blur[@mantine/core]Chip: Fix incorrect size calculations forsize="xs"(#8367)New Contributors
Full Changelog: mantinedev/mantine@8.3.5...8.3.6
v8.3.5Compare Source
What's Changed
[@mantine/code-highlight]Add option to load custom shiki themes (#8356)[@mantine/form]Export more types (#8357)[@mantine/hooks]use-local-storage: Fix value not resetting to the default value when value is cleared from the local storage (#8361)[@mantine/core]Checkbox: Fix incorrect data-indeterminate attribute removal on state change (#8363)[@mantine/core]Alert: Fix invalidaria-describedbyandarialabelled-byif title or children props are not used (#8345)New Contributors
Full Changelog: mantinedev/mantine@8.3.4...8.3.5
v8.3.4Compare Source
What's Changed
[@mantine/core]Select: Allow overridingrightSectionwithnull(#8328)[@mantine/dates]Calendar: Fix incorrect props types forhasNextLevel(#8344)[@mantine/core]Transition: Fix some animations being blurry (#8070, #8324)[@mantine/dates]TimePicker: Fix custom amPmLabels being truncated in input and dropdown (#8336)[@mantine/dates]DatePicker: Add missingmultiplehandling toDatePickerPresettype (#8341)Full Changelog: mantinedev/mantine@8.3.3...8.3.4
v8.3.3Compare Source
What's Changed
[@mantine/core]Checkbox: FixiconColorprop not working as intended in some cases (#8271)[@mantine/spotlight]AddscrollareaPropsto pass props down to the actions list wrapper (#8300)[@mantine/core]Tabs: Fixaria-controlsnot being overriden by...others(#8248)[@mantine/dates]DateInput: Fix invalid datevaluecrashing component (#8290)[@mantine/hooks]use-did-update: Fix hook not working in react strict mode (#8306)[@mantine/core]Popover: Fix excessive dropdown position recalculations (#8308)[@mantine/core]AppShell: Fix performance issues on first render (#8287)New Contributors
Full Changelog: mantinedev/mantine@8.3.2...8.3.3
v8.3.2Compare Source
What's Changed
[@mantine/dates]FixgetDayPropsnot including types fordata-*attributes (#8275)[@mantine/date]DateInput: FixallowDeselectnot allowing to clear the input value withBackspacekey (#8229)[@mantine/date]DateInput: FixallowDeselectnot allowing to clear the input value withBackspacekey[@mantine/charts]Heatmap: Fix months displaying as splitted even ifsplitMonthsis not set[@mantine/hooks]use-click-outside: Pass event object as an argument to the callback function (#8282)[@mantine/core]NavLink: Fix passedonClick/onKeyDownpreventing expand/collapse of child nodes (#8294)[@mantine/hooks]use-window-scroll: Limit number of state updates withrequestAnimationFrame(#8287)[@mantine/dates]TimePicker: Fix page scrolling to the top on keyboard navigation (#8237)[@mantine/core]Menu: Add missingonChangetype toMenu.Sub(#8292)[@mantine/core]List: Fix nested list items overflowing parent list container (#8269)[@mantine/core]Input: Fix alignment of right section with clear button (#8254)[@mantine/form]Fixnodenextresolutions (#8260)[@mantine/spotlight]Improve group label encoding logic (#8264)New Contributors
Full Changelog: mantinedev/mantine@8.3.1...8.3.2
v8.3.1Compare Source
What's new
[@mantine/hooks]use-scroll-spy: Fix scroll events not being reassigned whenscrollHostchanges (#8251)[@mantine/modals]UpdateupdateModalto include types for confirm modal[@mantine/core]Tabs: Allow overriding aria attributes with...others[@mantine/core]Select: Fix clear button overlaying selected option (#8249)[@mantine/core]Combobox: UpdatefocusTargethandler to correctly handle missing DOM node (#8185)[@mantine/core]ColorPicker: Fix unexpected margin-top (#8247)[@mantine/core]Allow specifying generic component in default props in the theme object (#8188)[@mantine/form]Fix incorrect type ofmatchesFieldvalidator (#8201)[@mantine/modals]Fixdata-*attributes triggering type error (#8217)[@mantine/dates]DateInput: FixallowDeselectprop not working (#8229)[@mantine/charts]Fix long tooltip names overflowing on the series color swatch in the tooltip (#8230)v8.3.0: 🔥Compare Source
View changelog with demos on mantine.dev website
MiniCalendar component
New MiniCalendar component:
Progress vertical orientation
Progress now supports vertical orientation:
Heatmap splitMonths
Heatmap now supports
splitMonthsprop to visually separate months with a spacer column and render only days that belong to each month in its columns.Improved clearable prop handling
Select, MultiSelect, and other components with
clearableprop now allow displaying the clear button next to the right section:Tiptap 3 support
@mantine/tiptap now supports Tiptap 3. It is
recommended to update all
@tiptap/*packages to version 3.2.0 or later.Your application might require some modifications related to Tiptap 3.
If you want to update your application to TipTap 3, follow
migration guide.
LLMs.txt
You can now use LLMs.txt file with Cursor and other IDEs.
The file is automatically updated with each release and includes
every demo and documentation page from mantine.dev. It is about 1.8mb.
You can find the latest version of LLMs.txt here
and further documentation here.
Other changes
clearSearchOnChangeprop to clear search input when an item is selected.@hello-pangea/dndreverseTimeControlsListprop to reverse the order of time controls in the dropdown. Use this option if you want the order of controls to match keyboard controls (up and down arrow) direction.dirattribute mutations of the root element (usually<html />) and updates internal state automatically.dataprop.v8.2.8Compare Source
What's Changed
[@mantine/charts]LineChart: FixgridColorprop being passed down to the root DOM node[@mantine/carousel]Adddata-type="next"anddata-type="previous"to controls[@mantine/hooks]use-scroll-spy: Addoffsetprop support (#8209)[@mantine/core]ScrollArea: Fix incorrect horizontal size calculations in ScrollArea.Autosize (#8199)[@mantine/core]JsonInput: Fix font-size not scaling with size prop (#8206)[@mantine/hooks]Fix incorrect ESM exports fornodenextmodule resolution (#8211)[@mantine/hooks]use-document-visibility: Fix initial document visibility state not being set (#8215)[@mantine/dates]DateTimePicker: FixonDropdownClosenot working (#8212)New Contributors
Full Changelog: mantinedev/mantine@8.2.7...8.2.8
v8.2.7Compare Source
[@mantine/hooks]use-media-query: Fix hook crashing inside iframe in Safari (#8189)[@mantine/hooks]use-debounced-value: Makecancel a stable reference(#8181)[@mantine/core]Combobox: Fix incorrect flipping logic (#8179, #8194)[@mantine/core]InputBase: Fix broken padding in multiline inputs (#8177)v8.2.6Compare Source
v8.2.5Compare Source
What's Changed
[@mantine/core]ScrollArea: Fix ScrollArea.Autosize not resizing when width of children changes (#8160)[@mantine/core]ScrollArea: Fix scrollbars not resizing correctly with dynamic content (#8162)[@mantine/core]TagsInput: Fix backspace key removing values withreadOnlyprop set (#8066)[@mantine/core]NumberInput: Fix incorrect trailing zeros handling for decimal values (#8089)[@mantine/core]Fix incorrect padding of multiline inputs (#8156)[@mantine/hooks]use-list-state: Update types to allow state function initializer (#8157)New Contributors
Full Changelog: mantinedev/mantine@8.2.4...8.2.5
v8.2.4Compare Source
What's Changed
[@mantine/dates]DateInput: Fix disabled and clearable props collision (#8098)[@mantine/modals]Fix incorrectconfirmPropsandcancelPropstypes (#8099)[@mantine/dates]TimePicker: Fix controlled incorrect controlled value updates handling (#8108)[@mantine/core]NumberInput: Fix incorrect value sanitization in onBlur for max value clamping (#8114)[@mantine/core]Fix MultiSelect and TagsInput pills not being centered (#8145)[@mantine/core]Table: Fix 1px gap on thead withsticky+withTableBordercombination (#8109)[@mantine/core]Fix caret being invisible in some inputs (#8149)[@mantine/tiptap]Fix controls props being overridden by default props (#8148)[@mantine/code-highlight]Fixaria-labelnot being set on the copy button (#8130)[@mantine/code-highlight]Fix incorrect overscroll behaviorNew Contributors
Full Changelog: mantinedev/mantine@8.2.3...8.2.4
v8.2.3Compare Source
What's Changed
[@mantine/dates]DatePickerInput: Fix incorrect handling of multiline values (#8116)[@mantine/code-highlight]Fix gradient of expand button not being visible on mobile Safari[@mantine/core]Combobox: Fix Combobox.Group not havingaria-labelledbyattribute[@mantine/core]Switch: Fix tap highlight color not being disabled on touch devices[@mantine/core]Remove transition with loader in ActionIcon and Button components ifloadingprop is not set to improve performance[@mantine/core]Combobox: Fix unexpected closed dropdown position calculation reducing performance[@mantine/charts]Fix tooltip not being aligned for some fonts[@mantine/dates]DatePickerInput: Fix incorrect Styles API selectors[@mantine/core]Table: Fix missing border when rowspan is set (#8137)[@mantine/hooks]use-move: Fix error dsiplayed in console for touch devices (#8065)[@mantine/dates]Fix incorrect props assigned to CalendarAriaLables propsNew Contributors
Full Changelog: mantinedev/mantine@8.2.2...8.2.3
v8.2.2Compare Source
What's Changed
[@mantine/core]Menu: Fix incorrect overflow handling of submenu (#8123)[@mantine/hooks]use-merged-ref: Fix incorrect handling of React 19 cleanup ref callback (#8118)[@mantine/dates]TimePicker: Fix incorrect leading zero handling in 12h format (#8120)[@mantine/dates]TimePicker: Fix min/max values not being enforced for 12h time format (#8107)[@mantine/core]HoverCard: Improve outside clicks handling (#8097)[@mantine/dates]Add month and year switching with keyboard to Calendar-based components (#7959)[@mantine/core]ScrollArea: AddonOverflowChangeprop support toScrollArea.Autosize(#7972)[@mantine/core]MultiSelect: AddclearSearchOnChangeprop support (#8068)[@mantine/core]Select: Fix caret being visible in Firefox when the component is read only (#8063)New Contributors
Full Changelog: mantinedev/mantine@8.2.0...8.2.2
v8.2.1Compare Source
v8.2.0: 🔥Compare Source
View changelog with demos on mantine.dev website
Styles API attributes
You now can pass attributes to inner elements of all components that support Styles API with
attributesprop.For example, it can be used to add data attributes for testing purposes:
Container grid strategy
Container now supports
strategy="grid"prop which enables morefeatures.
Differences from the default
strategy="block":display: gridinstead ofdisplay: blockmax-widthon the root element (uses grid template columns instead)Features supported by
strategy="grid":strategy="block"data-breakoutattribute take the entire width of the container's parent elementdata-containerinsidedata-breakouthave the same width as the main grid columnExample of using breakout feature:
Tooltip target
New Tooltip
targetprop is an alternative tochildren. It accepts a string (selector),an HTML element or a ref object with HTML element. Use
targetprop when you donot render tooltip target as JSX element.
Example of using
targetprop with a string selector:HoverCard.Group
HoverCard now supports delay synchronization between multiple instances using
HoverCard.Groupcomponent:use-selection hook
New use-selection hook:
autoSelectOnBlur prop
Select and Autocomplete components now support
autoSelectOnBlurprop.Use it to automatically select the highlighted option when the input loses focus.
To see this feature in action: select an option with up/down arrows, then click outside the input:
Source edit mode in RichTextEditor
RichTextEditor now supports source edit mode:
Recharts 3 support
You can now use the latest Recharts 3 version with Mantine charts.
@mantine/chartspackage was validated to work with both Recharts 2 and Recharts 3 versions.Note that, there might still be some minor issues with Recharts 3, you are welcome to report issues on GitHub.
Other changes
chevronSizeprop value was changed toautoto allow using dynamic icon sizeschevronIconSizeprop to configure size of the default chevron icon@mantine/corepackageerrorProps,labelPropsanddescriptionPropsprops of all inputs now have stricter types and better IDE autocompleteTypographyStylesProviderwas renamed to justTypographyto simplify usage.TypographyStylesProvidername is still available but marked as deprecated – it will be removed in9.0.0release.v8.1.3Compare Source
What's Changed
[@mantine/core]Container: Fix base responsive props value not being handled correctly (#8054)[@mantine/form]Fix type errors with read only array types (#7950)[@mantine/core]Fix incorrect disabled border color of Checkbox, Radio and Slider (#8053)[@mantine/core]Combobox: Fixaria-expandedattribute not being assigned correctly to combobox target[@mantine/core]Menu: Fix SubMenu having visual arrow offset when default props are set for Popover on theme (#8027)[@mantine/form]Fixform.resetFieldnot updating DOM withmode: 'uncontrolled'(#8050)[@mantine/form]Add option to triggerwatchcallbacks when nested field value changes (#8026)[@mantine/hooks]use-move: Fix React 18 compatibility (#8018)[@mantine/dates]DateTimePicker: AdddefaultDateprop support (#8023)[@mantine/dates]DatePickerInput: Fixsize="xsbeing slightly different from other inputs[@mantine/dates]TimePicker: Fix dropdown being visible even whenwithDropdown={false}is set[@mantine/core]Popover: FixonClicknot firing on the child of Popover.Target[@mantine/spotlight]Fix incorrectqueryprop with empty string handling[@mantine/core]Text: Fix autocomplete not working forsizeprop[@mantine/hooks]use-debounced-callback: Fix incorrectleadingbehavior (#8021)[@mantine/core]Collapse: AddkeepMountedprop support (#8013)[@mantine/date]TimePicker: FixdisabledandreadOnlyprops not working (#8011)New Contributors
Full Changelog: mantinedev/mantine@8.1.2...8.1.3
v8.1.2Compare Source
What's Changed
[@mantine/dates]DatePickerInput: Fix incorrect presets handling[@mantine/dates]DatePickerInput: FixonDropdownClosenot being called in some cases[@mantine/hooks]use-scroll-spy: AddscrollHostoption support (#8003)[@mantine/core]PinInput: Fix incorrect default size (#7990)[@mantine/core]Fixbdrsprop not working (#7996)[@mantine/core]Fixenvprop not being available on HeadlessMantineProvider (#7992)[@mantine/core]Fix placeholder overflowing MultiSelect and TagsInput components[@mantine/core]Popover: fix autoUpdate triggering extra rerenders withkeepMounted(#7983)New Contributors
Full Changelog: mantinedev/mantine@8.1.1...8.1.2
v8.1.1Compare Source
What's Changed
[@mantine/hooks]use-set: Fixunionmethod not working correctly (#7981)[@mantine/core]Popover: Fix incorrect position handling (#7955, #7953)[@mantine/dates]TimePicker: Fix incorrect empty string handling (#7927)[@mantine/dates]DatePickerInput: Fix incorrectonChangetype (#7943)[@mantine/dates]TimePicker: Fix incorrect handling ofmin/maxvalues in some cases (#7904)[@mantine/hooks]use-hotkeys: Fix Escape key not being handled correctly in some browsers (#7928)[@mantine/core]Tree: Fix detached DOM nodes memory leak (#7940)[@mantine/hooks]use-debounced-callback: Addcancelmethod support (#7965)[@mantine/dates]DatePicker: Fix incorrect value type fortype="range" (#​7937)[@mantine/dates]DatePicker: FixclassNameandstyleprops not working whenpresetsprop is set (#7960)New Contributors
Full Changelog: mantinedev/mantine@8.1.0...8.1.1
v8.1.0Compare Source
View changelog with demos on mantine.dev website
DatePicker presets
DatePicker, DatePickerInput and DateTimePicker now support
presetsprop that allows you to add custom date presets. Presets are displayed next to the calendar: