-
Notifications
You must be signed in to change notification settings - Fork 22
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
fix(deps): update mantine (major) #245
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
->7.15.1
4.2.12
->7.15.1
4.2.12
->6.0.22
4.0.0
->5.0.0
Release Notes
mantinedev/mantine (@mantine/core)
v7.15.1
Compare Source
What's Changed
[@mantine/dates]
Improve focus behavior of DatePickerInput, DateInput and other components[@mantine/form]
AddtouchTrigger
option support[@mantine/hooks]
Add option to specify prefix inrandonId
function[@mantine/core]
FixwithProps
function requiring all component props instead of partial[@mantine/core]
AdduseModalStackContext
anduseDrawerStackContext
hooks exports[@mantine/core]
ActionIcon: Addinput-*
autocomplete forsize
prop[@mantine/core]
AppShell: Fix incorrect defaultoffsetScrollbars
value forlayout="alt"
[@mantine/core]
FixvirtualColor
function not working in server components (#7184)[@mantine/core]
Checkbox: Fix incorrect Checkbox.Card behavior inside Checkbox.Group (#7187)[@mantine/core]
Checkbox: Fix incorrect Checkbox.Card behavior inside Checkbox.Group (#7187)[@mantine/core]
Slider: Add option to pass attributes down to thumb withthumbProps
(#7214)[@mantine/core]
Switch: Add data-checked attribute to the input (#7228)[@mantine/dates]
FixhasNextLevel
prop type leak to DatePicker component (#7229)[@mantine/dates]
Fix timezone not being applied to the formatted value (#7162)[@mantine/modals]
FixmodalId
being passed to the DOM node as attribute (#7189)[@mantine/core]
TypographyStylesProvider: Fix incorrect paragraphs inside lists styles (#7226)[@mantine/core]
Slider: Fix icon used as thumb child not being visible with the dark color scheme (#7231, #7232)[@mantine/tiptap]
Fix missing border in custom controls (#7239)New Contributors
Full Changelog: mantinedev/mantine@7.15.0...7.15.1
v7.15.0
: 💋Compare Source
View changelog with demos on mantine.dev website
Support Mantine development
You can now sponsor Mantine development with OpenCollective.
All funds will be used to improve Mantine and create new features and components.
use-radial-move hook
New use-radial-move hook can be used to create custom radial sliders:
BarChart color based on value
BarChart component now supports
getBarColor
prop to assign color based on value.getBarColor
function is called with two arguments: value and series object. It should return a colorstring (theme color reference or any valid CSS color value).
Button.GroupSection and ActionIcon.GroupSection
ActionIcon.GroupSection
andButton.GroupSection
are new components thatcan be used in
ActionIcon.Group
/Button.Group
to create sections that arenot
ActionIcon
/Button
components:Table vertical variant
Table component now support
variant="vertical"
:Table tabular numbers
Table component now supports
tabularNums
prop to render numbers in tabular style. It setsfont-variant-numeric: tabular-nums
which makes numbers to have equal width.This is useful when you have columns with numbers and you want them to be aligned:
Update function in modals manager
Modals manager now supports
modals.updateModal
andmodals.updateContextModal
function to update modal after it was opened:
useForm submitting state
use-form hook now supports
form.submitting
fieldand
form.setSubmitting
function to track form submission state.form.submitting
field will be set totrue
if function passed toform.onSubmit
returns a promise. After the promise is resolved or rejected,form.submitting
will be set tofalse
:You can also manually set
form.submitting
totrue
orfalse
:useForm onSubmitPreventDefault option
use-form hook now supports
onSubmitPreventDefault
option.This option is useful if you want to integrate
useForm
hook with server actions.By default,
event.preventDefault()
is called on the formonSubmit
handler.If you want to change this behavior, you can pass
onSubmitPreventDefault
optionto
useForm
hook. It can have the following values:always
(default) - always callevent.preventDefault()
never
- never callevent.preventDefault()
validation-failed
- callevent.preventDefault()
only if validation failedSubtle RichTextEditor variant
RichTextEditor component now supports
subtle
variant:onExitTransitionEnd and onEnterTransitionEnd
Modal and Drawer components now support
onExitTransitionEnd
andonEnterTransitionEnd
props,which can be used to run code after exit/enter transition is finished. For example, this is useful when you want to clear
data after modal is closed:
Week numbers in DatePicker
DatePicker and other components based on Calendar component now support
withWeekNumbers
prop to display week numbers:New demo: BarChart with overlay
Variants types augmentation
Custom variants types augmentation guide was added to the documentation.
Example of adding custom variant type to Button component:
Help Center updates
v7.14.3
Compare Source
What's Changed
[@mantine/core]
Slider: FixrestrictToMarks
prop not working with arrow and Home/End keys correctly[@mantine/core]
Checkbox: Fix Checkbox.Card component not working withform.getInputProps
[@mantine/core]
Tree: AddcheckOnSpace
prop support (#7132)[@mantine/core]
ScrollArea: Fix opacity style ofthumb
being too specific (#7149)[@mantine/dates]
AddwithWeekNumbers
prop support to all components based on Calendar (#7179)[@mantine/core]
Replace globalJSX
types withReact.JSX
to support React 19 types (#7178)New Contributors
Full Changelog: mantinedev/mantine@7.14.2...7.14.3
v7.14.2
Compare Source
What's Changed
[@mantine/core]
AddonEnterTranstionEnd
andonExitTransitionEnd
props support to Modal, Drawer and Popover components[@mantine/charts]
DonutChart: FixvalueFormatter
prop not working, addlabelsType
prop support (#7153)[@mantine/charts]
BarChart: Fix incorrect labels positions in some cases (#7160)[@mantine/core]
PasswordInput: FixvisibilityToggleButtonProps.variant
prop being ignored (#7144)[@mantine/core]
Improvewindow.matchMedia
usage to support test environments withoutmatchMedia
support (#7147)[@mantine/core]
Fix arrow overlaying Popover, Tooltip and HoverCard content in some cases (#7148)[@mantine/form]
AddonSubmitPreventDefault
option support (#7142)[@mantine/core]
TypographyStylesProvider: Fix incorrect lists styles[@mantine/notifications]
Fix notifications with bottom-right and top-right positions shifting when modal/drawer is opened[@mantine/core]
FileInput: Add missing placeholder Styles API reference[@mantine/core]
Update floating-ui, react-textarea-autosize and type-fest dependencies to the latest version[@mantine/modals]
AddupdateModal
andupdateContextModal
functions (#7104)[@mantine/tiptap]
Fix too specific styles that prevented controls border-radius override without !important[@mantine/tiptap]
Fix disabled controls having hover effects and pointer cursor[@mantine/core]
FileInput: Add missingcomponent
prop[@mantine/core]
AngleSlider: Fix page being scrolled when the value is being changed on mobile[@mantine/core]
NumberInput: Fix increment/decrement controls not being visible if the value is number like string[@mantine/core]
NavLink: Fix collapse for nested links being rendered even if there are no child links (#7133)[@mantine/dates]
FixdefaultDate
prop being ignore in YearPickerInput and MonthPickerInput components (#7108)[@mantine/dropzone]
Updatereact-dropzone-esm
to the latest versionNew Contributors
Full Changelog: mantinedev/mantine@7.14.1...7.14.2
v7.14.1
Compare Source
What's Changed
[@mantine/hooks]
use-hotkeys: Fix+
sign not being supported (syntax:shift+[plus]
) (#7123)[@mantine/core]
Popover: Fixstyles
prop being handled incorrectly (#7120)[@mantine/charts]
FixvalueFormatter
not working in point labels of LineChant, AreaChart and CompositeChart components (#6989)[@mantine/core]
Popover: FixonOpen
andonClose
callbacks being called on each render (#7022, #7111, #7115)[@mantine/core]
Menu: FixBlocked aria-hidden
warning when an interactive element is clicked outside of the Menu.Dropdown when the Menu is opened (#7035)[@mantine/core]
Fixtop
style prop not being conveted to rem (#7112)[@mantine/dates]
DateInput: FixdefaultDate
prop not working when the value is set tonull
(#4426)[@mantine/core]
NumberInput: Remove increment/decrement control if value cannot be safely incremented (is larger than Number.MAX_SAFE_INTEGER) (#7033)[@mantine/core]
NumberInput: Fix value being reverted to start value if intial component value is a string[@mantine/notifications]
FixNotificationData
type being too broad (#7097)[@mantine/core]
RingProgress: AddtransitionDuration
prop support (#7103)[@mantine/core]
TagsInput: Fix incorrect tag remove logic with duplicated tags (#7105)[@mantine/core]
Combobox: Fix incorrectaria-controls
attribute being set on the target element when the dropdown is closed (#7114)New Contributors
Full Changelog: mantinedev/mantine@7.14.0...7.14.1
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
Configuration
📅 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.