Update mantine monorepo to v7 (major) #275
Open
+125
−189
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:
6.0.22
->7.14.0
6.0.22
->7.14.0
6.0.22
->7.14.0
6.0.22
->7.14.0
6.0.22
->7.14.0
6.0.22
->7.14.0
Release Notes
mantinedev/mantine (@mantine/carousel)
v7.14.0
: 💋Compare Source
View changelog with demos on mantine.dev website
AngleSlider component
New AngleSlider component:
RadialBarChart component
New RadialBarChart component:
FunnelChart component
New FunnelChart component:
Modal.Stack and Drawer.Stack components
New Modal.Stack and Drawer.Stack components simplify usage of multiple modals/drawers at the same time.
Use
Modal.Stack
component to render multiple modals at the same time.Modal.Stack
keeps track of opened modals, manages z-index values, focus trappingand
closeOnEscape
behavior.Modal.Stack
is designed to be used withuseModalsStack
hook.Differences from using multiple
Modal
components:Modal.Stack
manages z-index values – modals that are opened later will always have higher z-index value disregarding their order in the DOMModal.Stack
disables focus trap andEscape
key handling for all modals except the one that is currently openedopacity: 0
andpointer-events: none
useModalsStack/useDrawersStack hooks
useModalsStack
hook provides an easy way to control multiple modals at the same time.It accepts an array of unique modals ids and returns an object with the following properties:
Example of using
useModalsStack
withModal
component:Restrict Slider selection to marks
Slider component now supports
restrictToMarks
prop that restricts slider value to marks only.Note that in this case
step
prop is ignored:BarChart SVG pattern fill
BarChart now can be used with SVG pattern fill:
Help center updates
Other changes
onNodeExpand
andonNodeCollapse
callbackscheckAllNodes
,uncheckAllNodes
andsetCheckedState
handlersgetTreeExpandedState
to generate expanded state based on the tree dataform.replaceListItem
handler to replace list item at given indexv7.13.5
Compare Source
What's Changed
[@mantine/core]
Update peer dependencies range for react to allow react and react-dom 19 as dependcy[@mantine/core]
Fix error in Next.js with React 19 related to ref prop usage in Tooltip, Popover and Combobox components (#7028)[@mantine/core]
FileButton: FixresetRef
throwing error if the component is contidionally rendered (#7025)[@mantine/core]
Button: Fix incorrect focus styles of Button.Group (#6992)[@mantine/charts]
CompositeCharts: Fix missingkey
prop error (#7020)[@mantine/core]
NumberInput: Fixmin
/max
value being bypassed if0
has been entered as the first digit (#7021)[@mantine/form]
Add useCallback wrapper toform.resetDirty
(#7029)[@mantine/core]
Combobox: Fix incorrect logic of selected options when the dropdown is closed without selecting value (#7039)[@mantine/charts]
BarChart: AddbarLabelColor
prop support[@mantine/charts]
BarChart: Fix bar label being positioned incorrectly with horizontal orientation (#7042)[@mantine/charts]
RadarChart: Fix incorrect series prop type (#7046)[@mantine/form]
Add additional type exports from the package (#7062)[@mantine/core]
Tabs: FixtabIndex
not being overridden by Tabs.Tab props (#7081)[@mantine/dates]
DatePickerInput: FixnextLabel
andpreviousLabel
props not being handled correctly (#7082)[@mantine/charts]
Update recharts dependency to the latest version to improve Next.js 15 and React 19 supportNew Contributors
Full Changelog: mantinedev/mantine@7.13.4...7.13.5
v7.13.4
Compare Source
Next.js 15 support
The documentation and templates have been updated to support Next.js 15 release, for more information visit – https://mantine.dev/guides/next/
Other changes
[@mantine/dates]
DatePickerInput: Fix dropdown staying opened after thedisabled
prop has been set (#7017)[@mantine/core]
NumberInput: Fix incorrect ref node type[@mantine/core]
Popover: FixonClose
event firing incorrectlyFull Changelog: mantinedev/mantine@7.13.3...7.13.4
v7.13.3
Compare Source
What's Changed
[@mantine/core]
Fix cqw, cqh, cqi, cqb, cqmax and cqmin size units not being handled correctly in style props[@mantine/dates]
DateTimePicker: RemovedefaultValue
andvalue
props fromtimeInputProps
types to avoid confusion (#6959)[@mantine/dropzone]
Setdata-disabled
attribute on the root element ifdisabled
prop is set (#6946)[@mantine/core]
Modal: Fix default Modal.Root transition being different from Modal component (#6967)[@mantine/core]
ColorInput: FixpopoverProps={{ opned: true }}
not working (#6968)[@mantine/charts]
FixvalueFormatter
prop not working correctly withorientation="vertical"
in BarChart, AreaChart and LineChart components (#6979)[@mantine/core]
Popover: FixonOpen
not being called with controlledopened
state (#6981)[@mantine/core]
NumberInput: Fix incorrectmin
prop handling for large numbers (#6985)[@mantine/dropzone]
Add HEIF image mime type (#6977)[@mantine/core]
PasswordInput: Fix cursor shifting when the visibility button is clicked on touch devices (#6971)New Contributors
Full Changelog: mantinedev/mantine@7.13.2...7.13.3
v7.13.2
Compare Source
What's Changed
[@mantine/dates]
DateInput: FixonClick
handler passed togetDayProps
not being called[@mantine/core]
Badge: Fix incorrect cursor styles[@mantine/core]
FileInput: AddresetRef
prop support[@mantine/core]
Popover: FixonClose
function being called twice with controlled state[@mantine/spotlight]
Fix selected index not being reset when the spotlight is closed (#6842)[@mantine/core]
Popover: Improve performance of scrolling when large number of closed Popovers are rendered on the same page (#6771)[@mantine/core]
Pagination: FixgetItemProps
not being able to override controlchildren
prop (#6789)[@mantine/core]
ScrollArea: FixonBottomReached
not being called if the viewport has decimal px height value (#6792)[@mantine/hooks]
use-in-viewport: Fix hook not reacting to node changes (#6926)[@mantine/core]
NumberInput: Fix incorrect handling of decimal numbers with more than 15 decimal places (#6823)[@mantine/core]
Slider: Fix marks not being aligned correctly (#6909)[@mantine/hooks]
use-fullscreen: Fix target node changes being ignored (#6923)[@mantine/core]
Badge: Fix incorrect sections alignment forvariant="dot"
[@mantine/core]
TagsInput: Fix incorrect logic of removing duplicate tags (#6922)[@mantine/core]
AppShell: Fix error when Suspense is rendered inside AppShell (#6927)[@mantine/core]
Menu: FixonKeyDown
prop not working in Menu.Dropdown component (#6910)New Contributors
Full Changelog: mantinedev/mantine@7.13.1...7.13.2
v7.13.1
Compare Source
What's Changed
[@mantine/chart]
PieChart: Remove unused CSS (#6903)[@mantine/core]
Menu: FixonKeyDown
not working when passed to Menu.Item (#6906)[@mantine/core]
TagsInput: Fix duplicated tags being deleted when one of tags with the same value is deleted (#6907)[@mantine/dates]
Fix hidden input value not respecting specified timezone (#6881)[@mantine/hooks]
use-hover: Fix events not being reattached when the target node changes (#6782)[@mantine/colors-generator]
Update chroma-js version to support the latest version (#6879)[@mantine/core]
PinInput: Fix incorrectBackspace
key handling on the first input (#6880)[@mantine/hooks]
use-state-history: Addreset
handler support (#6769)[@mantine/core]
ScrollArea: FixonTopReached
prop not being passed down in ScrollArea.Autosize component (#6747)[@mantine/chart]
Fix incorrect types for props passed down to recharts components (#6820)[@mantine/form]
Fix indices over 9 not working in form paths in some cases (#6794)[@mantine/chart]
BarChart: Fix BarLabel logging errors in the console (#6810)[@mantine/chart]
Fix error when chart tooltip label contains period (#6826)[@mantine/core]
Title: Add option to use Text font-size and line-height values withsize
prop (#6833)[@mantine/date]
Calendar: FixnextLabel
andpreviousLabel
props not working (#6847)[@mantine/core]
Fix2xl
and other similar values being treated as CSS value instead of theme value (#6855)[@mantine/core]
Breadcrumbs: Fix component with large number of values not wrapping on small screens (#6863)[@mantine/core]
Table: Fix thead being overlayed to td in some cases (#6860)New Contributors
Full Changelog: mantinedev/mantine@7.13.0...7.13.1
v7.13.0
: 🎇Compare Source
View changelog with demos on mantine.dev website
Container queries support in Grid
You can now use container queries
in Grid component. With container queries, all responsive values
are adjusted based on the container width, not the viewport width.
Example of using container queries. To see how the grid changes, resize the root element
of the demo with the resize handle located at the bottom right corner of the demo:
CompositeChart component
New CompositeChart component allows using
Line
,Area
andBar
charts together in a single chart:Points labels
LineChart and AreaChart now support
withPointLabels
prop to display labels on data points:ScatterChart also supports point labels, but also allows to control which axis should display labels with
pointLabels
prop:BarChart: Mixed stacks
You can now control how BarChart series are stacked by setting
stackId
property in series object:BarChart: Minimum bar size
BarChart now supports
minBarSize
prop to set the minimum size of the bar in px:Help Center updates
Other changes
maxBarWidth
prop to set the maximum width of each bar in pxv7.12.2
Compare Source
What's Changed
[@mantine/hooks]
use-idle: Fix idle countdown not starting if the user did non interact with the page (#6683)[@mantine/core]
ScrollArea: FixonBottomReached
prop not being available inScrollArea.Autosize
component[@mantine/core]
Removechildren
from Checkbox, Radio and Switch types to avoid accidental errors[@mantine/core]
TypographyStylesProvider: Fix incorrect table styles in dark color scheme[@mantine/form]
Fix error thrown for nullable values dirty status check (#6672)[@mantine/core]
Badge: Fix unexpected change to block layout, fix incorrect alignment when fixed width is set (#6698, #6680)[@mantine/core]
ScrollArea: Fix pointer-events being left asnone
after interaction with scrollbar (#6681)[@mantine/core]
Tabs: FixkeepMounted
prop being added as attribute toTabs.Panel
DOM element (#6711)[@mantine/core]
Tree: AddinitialCheckedState
support (#6697)[@mantine/spotlight]
FixSpotlightRoot
component not being exported (#6710)[@mantine/dropzone]
Add7z
andrar
mime types exports (#6702)[@mantine/dates]
DatePickerInput: Fix incorrect hovered date logic when the component receives value update with partial selected date range (#6718)[@mantine/dates]
FixvalueFormatter
prop being added to DateTimePicker types[@mantine/core]
Badge: Fix right/left sections height affecting the alignment of the label[@mantine/core]
Menu: Fix accessibility warning in devtools when the Menu is opened (#6644)New Contributors
Full Changelog: mantinedev/mantine@7.12.1...7.12.2
v7.12.1
Compare Source
What's Changed
[@mantine/dates]
DateInput: Fix default date being set to the current date whenminDate
is set to the future (#6646)[@mantine/core]
ScrollArea: Fix incorrect thumb::before styles[@mantine/core]
Fix incorrect active styles of buttons used inside disabled fieldset[@mantine/form]
Fixform.watch
callbacks not being fired whenform.initialize
is called (#6639)[@mantine/core]
Switch: Fix Switch shrinking when large label or description is used (#6531)[@mantine/core]
Combobox: FixCombobox.Search
overflow whenScrollArea
is used in the dropdown (#6562)[@mantine/core]
Accordion: Add missingwithProps
function (#6564)[@mantine/core]
Pill: Fix remove icon overflowing pill container if its background color was changed with Styles API (#6565)[@mantine/core]
PinInput: Allow passing props to individual input elements depending on index withgetInputProps
(#6588)[@mantine/charts]
: Fix LineChart Legend and Tooltip to support nested names (#6536)[@mantine/core]
Tooltip: Add missingTooltip.Group.extend
function (#6576)[@mantine/spotlight]
Fixlimit
prop not working correctly with actions groups (#6632)[@mantine/core]
Badge: Fix text overflow not being handled correctly (#6629)[@mantine/core]
SegmentedControl: Adddata-disabled
attribute to the root element to simplify styling with Styles API (#6625)[@mantine/core]
SegmentedControl: Fix initial position of indicator being broken when the component is used inside other element that has transitions on mount (#6622)[@mantine/core]
TagsInput: FixonKeyDown
prop not working (#6569)[@mantine/charts]
PieChart: FixvalueFormatter
not working on outside labels (#6616)[@mantine/core]
Popover: Fixapply
function ofsize
middleware not being handled correctly (#6598)[@mantine/core]
Chip: Fix incorrect checked padding forsize="xl"
(#6586)[@mantine/dates]
TimeInput: Fix incorrect focus styles of am/pm input (#6579)[@mantine/hook]
use-os: Fix incorrect iPadOS detection (#6535)[@mantine/core]
DatePickerInput: Fix incorrectaria-label
being set on the input element (#6530)[@mantine/core]
Menu: Fix incorrect Escape key handling inside Modal (#6580)New Contributors
Full Changelog: mantinedev/mantine@7.12.0...7.12.1
v7.12.0
: 🌟Compare Source
View changelog with demos on mantine.dev website
Notifications at any position
It is now possible to display notifications at any position on the screen
with @mantine/notifications package:
Subscribe to notifications state
You can now subscribe to notifications state changes with
useNotifications
hook:SemiCircleProgress component
New SemiCircleProgress component:
Tree checked state
Tree component now supports checked state:
Disable specific features in postcss-preset-mantine
You can now disable specific features of the postcss-preset-mantine
by setting them to
false
in the configuration object. This feature is available starting frompostcss-preset-mantine@1.17.0
.Help Center updates
Component.extend
usage in server components.input
selector is not used for actual input element.Text
component.Other changes
autoInvoke
option to start the interval automatically when the component mounts.mode="uncontrolled"
now triggers additional rerender when dirty state changes to allow subscribing to form state changes.onTopReached
andonBottomReached
props. The functions are called when the user scrolls to the top or bottom of the scroll area.onTransitionEnd
prop that is called when the panel animation completes.v7.11.2
Compare Source
What's Changed
[@mantine/core]
Combobox: Fix inconsistent horizontal dropdown padding[@mantine/core]
Drawer: Fix content overflowing horizontally on mobile whenoffset
is set[@mantine/core]
Drawer: Fix double scrollbar appearing whenoffset
andscrollAreaComponent
props are set[@mantine/carousel]
Fix responsiveslideSize
values working differently from other style props[@mantine/hooks]
use-interval: AddautoInvoke
option support[@mantine/hooks]
use-interval: Fix updates to the function and interval timeout being ignored[@mantine/core]
Anchor: FixlineClamp
prop not working[@mantine/core]
Anchor: Fix text-decoration styles being inconsistent withvariant="gradient"
[@mantine/dates]
DateInput: Fix value flickering with custom timezone (#6517)[@mantine/core]
Burger: FixlineSize
being passed to the DOM node (#6520)[@mantine/charts]
Add support for nested properties indataKey
(#5886)[@mantine/core]
Fix Modal/Drawer headers overlaying custom scrollbar (#6175)[@mantine/charts]
Sparkline: Fix incorrectdata
prop type (#6352)[@mantine/charts]
FixstrokeColor
prop being passed to the DOM element (#6507)[@mantine/core]
FocusTrap: Improve compatibility with React 19 (#6492)[@mantine/hooks]
use-os: Fix iOS being reported as MacOS in several cases (#6511)[@mantine/emotion]
Fix incorrect types ofcreateStyles
classes (#6490)[@mantine/core]
Tooltip: FixfloatingStrategy="fixed"
not working (#6502)New Contributors
Full Changelog: mantinedev/mantine@7.11.1...7.11.2
v7.11.1
Compare Source
What's Changed
[@mantine/core]
Add option to displaynothingFoundMessage
when data is empty in Select and MultiSelect components (#6477)[@mantine/core]
Tooltip: AdddefaultOpened
prop support (#6466)[@mantine/core]
PinInput: Fix incorrect rtl logic (#6382)[@mantine/core]
Popover: FixfloatingStrategy="fixed"
not havingposition:fixed
styles (#6419)[@mantine/spotlight]
Fix spotlight not working correctly with shadow DOM (#6400)[@mantine/form]
FixonValuesChange
using stale values (#6392)[@mantine/carousel]
FixonSlideChange
using stale props values (#6393)[@mantine/charts]
Fix unexpected padding on the right side of the chart in BarChart, AreaChart and LineChart components (#6467)[@mantine/core]
Select: FixonChange
being called with the already selected if it has been picked from the dropdown (#6468)[@mantine/dates]
DatePickerInput: FixhighlightToday
not working (#6471)[@mantine/core]
NumberInput: Fix incorrect handling of numbers larger than max safe integer on blur (#6407)[@mantine/core]
Tooltip: Fix tooltip arrow being incompatible with headless mode (#6458)[@mantine/core]
ActionIcon: Fix loading styles inconConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.