Update Mantine to v5 (major) - autoclosed #121
Closed
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:
4.2.12
->5.10.5
4.2.12
->5.10.5
4.2.12
->5.10.5
4.2.12
->5.10.5
Release Notes
mantinedev/mantine
v5.10.5
Compare Source
What's Changed
[@mantine/dates]
FixinputWrapperOrder
not supported by TimeInput and TimeInputRange components (#3520)[@mantine/core]
Fix AppShell, Dialog, Drawer and Modal components incorrect style props type[@mantine/modals]
Fix centered modal jumping when closed (#3570)[@mantine/core]
Popover: Fix dropdown not following target element inside scrollable container whenwithinPortal
is set (#3576)[@mantine/core]
Tooltip: Fix incorrectdisabled
prop behavior in Tooltip.Floating (#3611)[@mantine/core]
Table: Fix incorrect th styles inside tbody (#3556)[@mantine/core]
Add ColSpan type exports (#3564)[@mantine/core]
PasswordInput: Fix typo in selector (#3553)New Contributors
Full Changelog: mantinedev/mantine@5.10.4...5.10.5
v5.10.4
Compare Source
What's Changed
[@mantine/core]
PasswordInput: Hide native browser password reveal button in Edge[@mantine/core]
Notification: Fix content overflow with very large children (#3540)[@mantine/core]
MakeuseInputProps
hook strongly typed (#3486)[@mantine/core]
MultiSelect: Add missing default value fordropdownPosition
(#3490)[@mantine/core]
Table: Fix styles forth
elements not working insidetbody
(#3504)[@mantine/modals]
Fix multiplecloseModal
issues (#3498)[@mantine/hooks]
use-disclosure: Memoize functions (#3513)[@mantine/hooks]
use-focus-trap: Fix aria-hidden not being removed from the body when target element changes (#3526)[@mantine/core]
Allow usage of read only arrays in Select and MulstiSelect components (#3542)[@mantine/core]
Text: Add option to truncate text from the start (#3550)New Contributors
Full Changelog: mantinedev/mantine@5.10.3...5.10.4
v5.10.3
Compare Source
What's Changed
[@mantine/core]
Add option to pass additional props to file input in FileButton and FileInput components[@mantine/form]
FixonBlur
missing in getInputProps type[@mantine/form]
Improve isEmail validation logic (#3443)[@mantine/core]
SimpleGrid: Fix zero spacing and vertical spacing nor working in breakpoints (#3453)[@mantine/dropzone]
Add avif image mime type (#3166)[@mantine/dates]
DateRangePicker: Fix incorrectopenDropdownOnClear
behavior (#3299)[@mantine/hooks]
use-hotkeys: Add additional configuration to allow hook usage with content editable elements (#3410)[@mantine/core]
Add hoverOnSearchChange prop to Autocomplete, Select and MultiSelect (#3102)[@mantine/styles]
Fix incorrectuseComponentDefaultProps
type (#3484)[@mantine/core]
MultiSelect: Allow to disable selected items filtering from the dropdown items list (#3104)[@mantine/form]
FixzodResolver
not being type safe with older versions of TypeScript (#3431)[@mantine/carousel]
Fix carousel with vertical orientation working incorrectly with RTL direction (#3438)[@mantine/core]
Fix dropdown position not being updated after Select, MultiSelect and Autocomplete dropdown was flipped and user started searching (#3439)[@mantine/core]
Pagination: Fixspacing={0}
not working (#3456)[@mantine/core]
Dependency: migrate@floating-ui/react-dom-interactions
to@floating-ui/react
(#3471)[@mantine/core]
Skeleton: Allow overflow when children are visible (#3475)[@mantine/core]
TransferList: addtransferAllMatchingFilter
prop (#3436)New Contributors
Full Changelog: mantinedev/mantine@5.10.2...5.10.3
v5.10.2
Compare Source
What's Changed
[@mantine/modals]
Fix modals closing issues (#3300)[@mantine/tiptap]
Update @tabler/icons installation instructions (#3415)New Contributors
Full Changelog: mantinedev/mantine@5.10.1...5.10.2
v5.10.1
Compare Source
What's Changed
[@mantine/core]
HoverCard: Add missing types for classNames, styles and unstyled props (#3257)[@mantine/modals]
Fix incorrect close modal logic (#3300)[@mantine/hooks]
use-set-state: Make setState fucntion stable across renders (#3357)[@mantine/tiptap]
Fix incorrect styles on placeholder component (#3382)[@mantine/hooks]
use-local-storage: Fix value not updated when local storage value is cleared (#3298)[@mantine/core]
Fix unexpected extra space added at the bottom of Switch, Radio and Checkbox components (#3303)[@mantine/hooks]
use-full-screen: Fix hook not working on iOS (#3327)[@mantine/core]
Stepper: Fix allowStepSelect not working on Stepper.Step component (#3340)[@mantine/form]
Fix useForm initialDirty stops form.isDirty from working as expected (#3372)[@mantine/core]
Stack: Fix incorrect default justify prop (#3293)New Contributors
Full Changelog: mantinedev/mantine@5.10.0...5.10.1
v5.10.0
Compare Source
View changelog with demos on Mantine website
Theme based default props
Default props on MantineProvider
can now subscribe to theme:
@mantine/form validators
@mantine/form
package now exportsisNotEmpty
,isEmail
,matches
,isInRange
andhasLength
functionsto simplify validation of common fields types:
Flagpack extension
New mantine-flagpack extension. It is a set of 4x3 flags as React components based on flagpack.
The package is tree shakable – all unused components are not included in the production bundle.
All flag components support style props.
Other changes
onColorSwatchClick
propcloseOnColorSwatchClick
propTransformedValues
type to get type of transformed values from the form objectrootColor
proptruncate
propallowSelectNextSteps
propsuperstructResolver
to allow schema based validation with superstructcapture
propNew Contributors
Full Changelog: mantinedev/mantine@5.9.6...5.10.0
v5.9.6
Compare Source
What's Changed
[@mantine/spotlight]
Allow overriding search input size (#3181)[@mantine/core]
Tooltip: Fix incorrect Tooltip.Floating Styles API name[@mantine/core]
ScrollArea: Add viewportProps support[@mantine/core]
Title: Removespan
propNew Contributors
Full Changelog: mantinedev/mantine@5.9.5...5.9.6
v5.9.5
Compare Source
What's Changed
[@mantine/tiptap]
Fix LinkControl not supporting custom icon (#3196)[@mantine/hooks]
use-network: Fix incorrect initial online/offline state detection (#3178)[@mantine/core]
Space: Add responsive values support to w and h props[@mantine/core]
FileInput: Fix value overflow when selected value name is too largeNew Contributors
Full Changelog: mantinedev/mantine@5.9.4...5.9.5
v5.9.4
Compare Source
What's Changed
[@mantine/core]
Switch: Fix incorrect alignment (#3082)[@mantine/dates]
Fix DateRangePicker and DatePicker components not supporting readOnly prop (#3089)[@mantine/hooks]
use-click-outside: Fix incorrect typescript definition for strict mode (#3119)[@mantine/core]
Input: Fix incorrect Input.Error role, connect Input.Description and Input.Error to the input element with aria-describedby (#3146)[@mantine/tiptap]
Fix control styles API working incorrectly for Link and Color control (#3148)[@mantine/modals]
Increase default zIndex to allow usage with Modal component (#3154)[@mantine/hooks]
use-click-outside: Fix incorrect outside clicks detection when click target is html element (#3143)Full Changelog: mantinedev/mantine@5.9.3...5.9.4
v5.9.3
Compare Source
What's Changed
[@mantine/core]
TypographyStylesProvider: Fix incorrect<code />
styles[@mantine/styles]
Allow createStyle to go to the original definition (#3108)[@mantine/core]
Menu: Change hovered item background-color to make it consistent with other components (#3109)[@mantine/tiptap]
Fix incorrect RichTextEditor ref type (#3142)[@mantine/form]
Fix typing issue with nested interfaces in passed type (#3157)New Contributors
Full Changelog: mantinedev/mantine@5.9.2...5.9.3
v5.9.2
Compare Source
What's Changed
[@mantine/form]
Fix incorrect values type in validation rules (#3110)[@mantine/core]
ScrollArea: Fix flickering[@mantine/core]
AppShell: Fix zIndex prop not being applied to Navbar and Header components[@mantine/dropzone]
Fix getFilesFromEvent error when files are droppped (#3115)[@mantine/core]
Collapse: Rollback axis prop as it breaks regular Collapse usageFull Changelog: mantinedev/mantine@5.9.1...5.9.2
v5.9.1
Compare Source
What's Changed
[@mantine/styles]
Add access to theme indefaultProps
(#2950)[@mantine/hooks]
use-hotkeys: Add option to specify tags that should be ignored (#3045)[@mantine/form]
Fix incorrect dirty state of the fields calculation after one of list actions was called (#3025)[@mantine/core]
Select: Fixlimit
prop not working when current value matches one of the items fromdata
(#3070)[@mantine/form]
Fix incorrectform.isValid
behavior when nested field has error (#3080)[@mantine/hooks]
use-hash: Fix unexpected rerendering with hash without#
(#3097)[@mantine/core]
AddarrowPosition
prop to Tooltip and Popover components to configure how the arrow is position relative to the target element (#3100)[@mantine/form]
Fix implicit any type in validation rules for strict TS mode (#3101)[@mantine/core]
TypographyStylesProvider: Add borderLeft to blockquote to make component look the same way as Blockquote component (#3103)[@mantine/core]
Table: Fix incorrect styles applied to td/th elements with borders and colspan/rowspan (#3106)[@mantine/spotlight]
Fix theme.defaultRadius not being respected[@mantine/core]
Select: Fix theme.defaultRadius not being respected by default item component[@mantine/core]
Radio: Automatically generate name if it was not provided via prop[@mantine/dropzone]
Add the getFilesFromEvent and validator props (#3053)[@mantine/hooks]
use-media-query: Fix given initialValue not being used (#3085)New Contributors
Full Changelog: mantinedev/mantine@5.9.0...5.9.1
v5.9.0
Compare Source
View changelog with demos on mantine.dev website
use-eye-dropper hook
New use-eye-dropper hook provides an interface to work with EyeDropper API.
It allows to pick color from any pixel on the screen. Currently, the API is supported in Chromium based desktop browsers.
ColorInput eye dropper
ColorInput component now supports
withEyeDropper
prop to display eye dropper icon in the right section.This feature depends on EyeDropper API,
the eye dropper will not be rendered if the API is not supported.
AppShell alt layout
AppShell component now supports placing
Navbar
andAside
components on top ofHeader
andFooter
withlayout="alt"
prop.Responsive Grid gutter
Grid component now supports
gutterXs
,gutterSm
,gutterMd
,gutterLg
,gutterXl
props:Static components default props
All static components now support default props on MantineProvider.
The following example demonstrates how to add default props to
Menu.Item
,Tabs.List
andRichTextEditor.Toolbar
components:Input.Placeholder component
Input.Placeholder
component can be used to add placeholder to Input and InputBase components that are based onbutton
elementor do not support placeholder property natively:
Other changes
maxRange
propcolor
proprightSectionWidth
andiconWidth
propsNew Contributors
Full Changelog: mantinedev/mantine@5.8.4...5.9.0
v5.8.4
Compare Source
What's Changed
[@mantine/tiptap]
Fix emotion warning produced by placeholder styles :first-child selector usage[@mantine/hooks]
use-move: Fix content on the page being selected when cursor moves over the target element (#3069)[@mantine/core]
Drawer: Add missing Styles API selector for body (#3056)[@mantine/carousel]
Carousel: fixed carousel indicator not changing when slidesToScroll value is changed (#3058)[@mantine/core]
Stepper: Fix last item being cut off when used inside flex container (#3062)[@mantine/core]
Fix incorrect arrow position for *-end and *-start positions in Tooltip, Popover, HoverCard and Menu components (#3065)[@mantine/tiptap]
Add ref forwarding (#3068)Full Changelog: mantinedev/mantine@5.8.3...5.8.4
v5.8.3
Compare Source
What's Changed
[@mantine/dropzone]
AddonDropAny
prop to capture both accepted and rejected files (#3010)[@mantine/tiptap]
Fix incorrect content border-radius[@mantine/tiptap]
Fix placeholder extension not working as expected[@mantine/core]
Drawer: Add missingaria-describedby
andaria-labelledby
attributes to the root element (#3027)[@mantine/core]
NumberInput: Fix value not being formatted correctly when precision changes (#3011)New Contributors
Full Changelog: mantinedev/mantine@5.8.2...5.8.3
v5.8.2
What's Changed
[@mantine/tiptap]
Fix incorrect hr control label[@mantine/tiptap]
Fix incorrecteditor
prop type[@mantine/tiptap]
Fix typo in strikethrough label (#3004)[@mantine/prism]
Fix colorScheme prop not being passed to Prism from Prism.Panel component[@mantine/core]
Pagination: Fix incorrect handling of negative and zero total[@mantine/hooks]
use-pagination: Fix incorrect handling of decimal values passed as total (#2979)[@mantine/core]
NumberInput: Fix readOnly prop not working correctly (#2956)[@mantine/hooks]
Allow usage of use-click-outside and use-focus-trap hooks with shadow DOMNew Contributors
Full Changelog: mantinedev/mantine@5.8.0...5.8.2
v5.8.0
Compare Source
View changelog with demos on mantine.dev website
Tiptap rich text editor
New @mantine/tiptap package is a replacement
for @mantine/rte package.
RichTextEditor
component is now based on Tiptap, it supports all of
Tiptap extensions and provides flexible components API.
@mantine/rte package deprecation
Quill based RichTextEditor is now deprecated.
@mantine/rte
package will no longer receive any updates, support for itwill be discontinued when 6.0.0 version is released. We recommend to switch
to Tiptap based editor as soon as possible.
Other changes
display
style prophexa
formatNew Contributors
Full Changelog: mantinedev/mantine@5.7.2...5.8.0
v5.7.2
Compare Source
What's Changed
[@mantine/core]
RangeSlider: Fix incorrect minRange handling for negative values (#2897)[@mantine/core]
Slider: Fix unexpected step behavior when min is set to odd number (#2855)[@mantine/core]
Prevent focus shifting from the input when clear button is pressed in Select and MultiSelect components[@mantine/core]
TypographyStylesProvider: Add mark styles[@mantine/core]
Image: Do not show placeholder when image is loading to avoid issues with ssr and rapidly changing src prop[@mantine/core]
Slider: Fix incorrect marks styles wheninverted
prop is set (#2894)[@mantine/core]
Fix incorrect label alignment in Checkbox, Radio and Switch components when label is a ReactNode (#2881)[@mantine/core]
Modal: Fix incorrect click outside behavior (#2896)[@mantine/core]
Radio: Fix size prop not being respected when used within Radio.Group (#2913)New Contributors
Full Changelog: mantinedev/mantine@5.7.1...5.7.2
v5.7.1
Compare Source
What's Changed
[@mantine/hooks]
use-window-event: Fix event listener not being updated when event type or function changes[@mantine/spotlight]
Allow overriding autoComplete prop with searchInputProps[@mantine/core]
Menu: Allow overriding Menu.Item button type[@mantine/hooks]
use-scroll-into-view: Fix parameters changes being ignored (#2866)[@mantine/hooks]
use-local-storage: Fix incorrect value returned ifdefaultValue
is not specified (#2872)[@mantine/styles]
Add missingright
style prop (#2887)[@mantine/form]
Add missingTransformValues
type tocreateFormContext
(#2893)New Contributors
Full Changelog: mantinedev/mantine@5.7.0...5.7.1
v5.7.0
Compare Source
View changelog with demos on mantine.dev website
Style props
All Mantine components now support responsive style props:
Flex component
Flex component is an alternative to Group and Stack components.
It supports new responsive style props:
Focus ring styles on theme
You can now customize focus ring styles for all components in MantineProvider:
Responsive Header and Footer height
Header and Footer components now support responsive height:
Other changes
axis
prop, it is now possible to animate widthloaderPosition="center"
onSlideChange
proponSubmit
can now be called without form eventwithKeyboardEvents
prop that allows to disable keyboard events handlingNew Contributors
Full Changelog: mantinedev/mantine@5.6.4...5.7.0
v5.6.4
Compare Source
What's Changed
[@mantine/core]
Slider: Fix incorrect min/max values handling (#2839)[@mantine/core]
ScrollArea: Fix incorrect ref usage in demosNew Contributors
Full Changelog: mantinedev/mantine@5.6.3...5.6.4
v5.6.3
Compare Source
What's Changed
[@mantine/core]
Fix incorrect focus ring styles in Chip, SegmentedControl and ColorPicker components (box-shadow was replaced with outline)[@mantine/core]
Drawer: FixtransitionDuration
not being respected for exit transition (#2820)[@mantine/core]
Pagination: Fixtheme.fontFamily
not being respected (#2796)[@mantine/form]
Fix required transform value type in UseFormInput (#2816)[@mantine/styles]
Setcolor-scheme
style in html element (#2808)[@mantine/core]
Add data-checked attribute to Checkbox, Radio and Switch when components are used within groups[@mantine/styles]
Fix incorrect styles params type in strict ts modeNew Contributors
Full Changelog: mantinedev/mantine@5.6.2...5.6.3
v5.6.2
Compare Source
What's Changed
[@mantine/core]
Modal: Fix modal not being centered because of scrollbars offset[@mantine/core]
MultiSelect: Fix poor selected values contrast with light color scheme and filled input variant[@mantine/dropzone]
Fix Dropzone.FullScreen opened when the user selects and drags text on the page[@mantine/core]
NativeSelect: Fix incorrect defaultValue handing in controlled components[@mantine/rte]
Fixtheme.defaultRadius
not being respected by some controls (#2781)[@mantine/styles]
Improve useComponentDefaultProps types (#2065)[@mantine/core]
AddarrowRadius
support to Tooltip and Popover (#2779)New Contributors
Full Changelog: mantinedev/mantine@5.6.1...5.6.2
v5.6.1
Compare Source
What's Changed
[@mantine/core]
Popover: Set default width to max-content to reduce position shift in some cases (#2500)[@mantine/core]
Popover: Add position fallback to reduce postion shift (#2500)[@mantine/core]
Slider: Fix incorrect min/max boundaries handling when step is larger than the difference between current value and min/max (#2656)[@mantine/hooks]
use-idle: Improve types for events (#2704)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.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.