-
Couldn't load subscription status.
- Fork 21
fix(deps): update mantine (major) #245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
❌ Deploy Preview for operate-first-cloud failed.
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1573ddf to
b6994c9
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json |
|
This PR contains the following updates:
4.2.12->8.3.54.2.12->8.3.54.2.12->6.0.224.0.0->5.0.0Release Notes
mantinedev/mantine (@mantine/core)
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:Calendar headerControlsOrder
Calendar and other components based on it now support
headerControlsOrderprop.You can use
headerControlsOrderprop to change the order of header controls. The prop accepts an array of'next' | 'previous' | 'level. Note that each control can be used only once in the array.Popover middlewares improvements
Popover component now handles
shiftandflipFloating UIdifferently. Starting from 8.1.0 version, the popover dropdown position is not
changed when the popover is opened.
shiftandflipmiddlewares are used onlyonce to calculate the initial position of the dropdown.
This change fixes incorrect flipping/shifting behavior when there is dynamic content
in the dropdown. For example, searchable Select and DatePickerInput without
consistentWeeksoption.use-long-press hook
New use-long-press hook:
Reference area support in charts
BarChart, AreaChart and LineChart
components now support reference area. Reference area is a rectangular area
that can be used to highlight a specific region of the chart:
use-form resetField handler
use-form now has a
resetFieldmethod that resets field value to its initial value:TagsInput isDuplicate prop
You can now use
isDuplicateprop in TagsInput componentto control how duplicates are detected. It is a function that receives two arguments:
tag value and current tags. The function must return
trueif the value is duplicate.Example of using
isDuplicateto allow using the same value with different casing:Slider domain prop
Slider component now support
domainprop that allows settingthe possible range of values independently of the
minandmaxvalues:RangeSlider pushOnOverlap prop
RangeSlider component now supports
pushOnOverlapprop that defineswhether the slider should push the overlapping thumb when the user drags it.
Hooks types exports
@mantine/hookspackage now exports all types used in hooks options and return values.For example, you can now import use-uncontrolled types like this:
Types exported from the library:
zod v4 with use-form
You can now use zod v4 with use-form. To use zod 4:
mantine-form-zod-resolverto1.2.1or later version3.25.0or laterzodimports withzod/v4(only if you havezod@3in yourpackage.json)zodResolverwithzod4Resolverin your codeExample with zod v4:
Documentation updates
flushandflushOnUnmountfeaturesOther changes
bdrsstyle prop to set border radius.defaultTimeValuepropautoContrastprop.React.RefObject->React.RefCallback), required to fix incorrect ref handling in several cases. For more information, see the issue on GitHub – #7406.React.MutableRefObjecttype was replaced withReact.RefObjectin all packages to better support React 19 types.positionDependenciesprop is now deprecated in Tooltip, Popover and other components based on Popover. The prop is no longer required and can be safely removed.positionDependenciesprop will be removed in 9.0 release.v8.0.2Compare Source
What's Changed
[@mantine/dates]DateTimePicker: Fix incorrectonChangevalue type[@mantine/core]ScrollArea: FixonBottomReachednot being called when the container size has sub-pixel value[@mantine/dates]TimePicker: Improve leading zero input handling[@mantine/dates]TimePicker: Fix setting value to an empty string not reseting displayed time in some cases[@mantine/form]Fixform.reorderItemreordering only the first item (#7892)[@mantine/dates]DateInput: Fix selected month and year not being highlighted ([#7897](https://redirect.github.com/mantineConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.