-
-
Notifications
You must be signed in to change notification settings - Fork 2
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 & related (major) #388
base: dev
Are you sure you want to change the base?
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Here's the code health analysis summary for commits Analysis Summary
|
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR currently has a merge conflict. Please resolve this and then re-add the |
Important Auto Review SkippedBot user detected. To trigger a single review, invoke the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
|
This PR contains the following updates:
6.0.21
->7.7.1
6.0.21
->7.7.1
6.0.21
->7.7.1
6.0.21
->7.7.1
2.47.0
->3.1.0
7.1.0
->8.0.1
7.1.0
->8.0.1
Release Notes
mantinedev/mantine (@mantine/carousel)
v7.7.1
Compare Source
What's Changed
[@mantine/tiptap]
Improve toolbar items alignment for non-native elements (#5993)[@mantine/spotlight]
Fix incorrect down key handling when the spotlight is opened repeatedly (#5995)[@mantine/core]
Image: Fix ref not being assigned for fallback images (#5989)[@mantine/core]
PinInput: Fix incorrect focus logic (#5963)[@mantine/core]
Table: FixhighlightOnHoverColor
prop not working[@mantine/core]
AppShell: Adjust footer position to include env(safe-area-inset-bottom) (#5502)[@mantine/core]
PinInput: Fix placeholder not being visible on the element that had focus when the component becomes disabled (#5831)[@mantine/dates]
Calendar: Fix double timezone shift (#5916)[@mantine/hooks]
use-local-storage: Fix value not being updated when key is changed (#5910)[@mantine/charts]
Fix incorrect charts legends height for multiline values (#5923)[@mantine/core]
NumberInput: Fix incorrect increment/decrement functions logic whenstep
is a float value (#5926)[@mantine/core]
Combobox: Fix incorrect IME input handling (#5935)[@mantine/core]
Menu: Fix unexpected focus styles in the dropdown element in Firefox (#5957)[@mantine/core]
Fix incorrectdisabled
prop handling in TagsInput and MultiSelect (#5959)[@mantine/core]
FixrenderOption
not working for grouped items in Combobox-based components (#5952)[@mantine/core]
AppShell: Fix error when used inside Suspense (#5979)[@mantine/core]
Update CSS selectors hashing algorithm to prevent collisions with other libraries (#5968)[@mantine/carousel]
Fix specificity issues of some selectors (#5973)[@mantine/core]
AppShell: Fix missing Aside offset in Header and Footer forlayout=alt
(#5974)New Contributors
Full Changelog: mantinedev/mantine@7.7.0...7.7.1
v7.7.0
Compare Source
View changelog with demos on mantine.dev website
Virtual colors
Virtual color is a special color which values should be different for light and dark color schemes.
To define a virtual color, use
virtualColor
function which accepts an object with the followingproperties as a single argument:
name
– color name, must be the same as the key intheme.colors
objectlight
– a key oftheme.colors
object for light color schemedark
– a key oftheme.colors
object for dark color schemeTo see the demo in action, switch between light and dark color schemes (
Ctrl + J
):FloatingIndicator component
New FloatingIndicator component:
ScatterChart component
New ScatterChart component:
colorsTuple function
New
colorsTuple
function can be used to:use-mutation-observer hook
New useMutationObserver hook:
use-state-history hook
New useStateHistory hook:
Axis labels
AreaChart, BarChart and LineChart
components now support
xAxisLabel
andyAxisLabel
props:Documentation updates
mantine-hidden-from-{x}
andmantine-visible-from-{x}
classes.window.HTMLElement.prototype.scrollIntoView
Help center updates
New articles added to the help center:
Other changes
transform: scale()
.connectNulls
andareaProps
propsscrollAreaProps
prop to pass props down to the ScrollArea component in the dropdownfade-up
,fade-down
,fade-left
,fade-right
fade-down
. This change resolves issues with SegmentedControl indicator positioning when used inside modals.fz
andlh
style props withh1
,h2
,h3
,h4
,h5
,h6
valuesv7.6.2
Compare Source
What's Changed
[@mantine/hooks]
use-resize-observer: Fix types (#5847)[@mantine/hooks]
use-local-storage: Fixundefined
being written to the local storage whendefaultValue
is not defined (#5848)[@mantine/core]
NumberInput: FixonValueChange
not being called in increment/decrement functions (#5856)[@mantine/core]
InputWrapper: FixclassName
specified inlabelProps
,descriptionProps
anderrorProps
not being passed to the corresponding element (#5862)[@mantine/core]
Fix some functions not working correctly with TypeScript 5.4 (#5891)[@mantine/form]
FixonValuesChange
not using updated function (#5901)[@mantine/core]
Popover: Fix incorrect dropdown selectors (#5903)[@mantine/core]
Indicator: Fix processing animation in Safari (#5908)[@mantine/hooks]
use-headroom: Fix incorrect pinning logic when scrolling up (#5793)[@mantine/dropzone]
Add heic images format to default mime types (#5867)[@mantine/core]
Transition: Fix transitions resolving instantly in some cases (#5873)[@mantine/dropzone]
AddinputProps
prop support to pass props down to the underlying hidden input element (#5880)[@mantine/core]
Timeline: FixautoContrast
being passed to the dom node as attribute (#5890)New Contributors
Full Changelog: mantinedev/mantine@7.6.1...7.6.2
v7.6.1
Compare Source
What's Changed
[@mantine/core]
Fix incorrect focus ring styles in Button.Group and ActionIcon.Group components (#5736)[@mantine/core]
Progress: Fix incorrect border-radius with multiple sections[@mantine/dates]
DateTimePicker: FixminDate
andmaxDate
not being respected in time input (#5819)[@mantine/core]
Switch: Userole="switch"
for better accessibility (#5746)[@mantine/hooks]
use-resize-observer: Fix incorrect ref type (#5780)[@mantine/dates]
FixpopoverProps.onClose
overriding original component value in DatePickerInput and other similar components (#4105)[@mantine/core]
Fix incorrect Escape key handling in Modal and Drawer components in some cases (#2827)[@mantine/core]
Combobox: Fix incorrect Escape key handling in Modal, Drawer and Popover[@mantine/core]
Transition: Fix transition resolving instantly in some cases (#3126, #5193)[@mantine/core]
Remove loader from the DOM ifloading
prop is not set on ActionIcon and Button components (#5795)[@mantine/hooks]
use-local-storage: Fix inconsistent default value persistence ifgetInitialValueInEffect
is set (#5796)[@mantine/core]
Select: FixautoComplete
prop not working (#5813)[@mantine/core]
Tabs: Fix incorrect border styles in outline variant[@mantine/core]
Checkbox: Fix incorrectindeterminate
+disabled
styles for outline variant (#5806)[@mantine/core]
SegmentedControl: Fix indicator state not being updated correctly when controlled state changes to a value that is not present in the data array (#5689)[@mantine/core]
Fix incorrect label offset with left label position in Checkbox, Switch and Radio components (#5823)[@mantine/core]
PinInput: Fix updating controlled value to an empty string working incorrectly[@mantine/core]
Menu: Fix incorrect role of dropdown elementsNew Contributors
Full Changelog: mantinedev/mantine@7.6.0...7.6.1
v7.6.0
: 🌟Compare Source
View changelog with demos on mantine.dev website
Container queries support
You can now use container queries
with Mantine components.
rem
andem
functions from postcss-preset-mantineare available in container queries staring from
postcss-preset-mantine@1.13.0
.RadarChart component
New RadarChart component:
FocusTrap.InitialFocus component
FocusTrap.InitialFocus is a new component that adds a visually hidden
element which will receive the focus when the focus trap is activated.
Once
FocusTrap.InitialFocus
loses focus, it is removed from the tab order.For example, it is useful if you do not want to focus any elements inside the Modal when it is opened:
New MantineProvider props
MantineProvider now includes more props to control how styles
are generated and injected. These props are useful if you use Mantine as a headless library
and in test environments.
deduplicateCssVariables
deduplicateCssVariables
prop determines whether CSS variables should be deduplicated: if CSS variable has the same value as in default theme, it is not added in the runtime.By default, it is set to
true
. If set tofalse
, all Mantine CSS variables will be added in<style />
tageven if they have the same value as in the default theme.
withStaticClasses
withStaticClasses
determines whether components should have static classes, for example,mantine-Button-root
.By default, static classes are enabled, to disable them set
withStaticClasses
tofalse
:withGlobalClasses
withGlobalClasses
determines whether global classes should be added with<style />
tag.Global classes are required for
hiddenFrom
/visibleFrom
andlightHidden
/darkHidden
props to work.By default, global classes are enabled, to disable them set
withGlobalClasses
tofalse
. Note thatdisabling global classes may break styles of some components.
HeadlessMantineProvider
HeadlessMantineProvider
is an alternative to MantineProviderthat should be used when you want to use Mantine as a headless UI library. It removes all
features that are related to Mantine styles:
style
attributeLimitations of
HeadlessMantineProvider
:color
,radius
,size
, etc.) will have no effect.lightHidden
/darkHidden
,visibleFrom
/hiddenFrom
props will not work.mt="xs"
will not work, butmt={5}
will.To use
HeadlessMantineProvider
, follow getting started guide and replaceMantineProvider
withHeadlessMantineProvider
.Note that you do not need to use ColorSchemeScript in your application, it will not have any effect,
you can ignore this part of the guide.
Sparkline trendColors
Sparkline now supports
trendColors
prop to change chart color depending on the trend.The prop accepts an object with
positive
,negative
andneutral
properties:positive
- color for positive trend (first value is less than the last value indata
array)negative
- color for negative trend (first value is greater than the last value indata
array)neutral
- color for neutral trend (first and last values are equal)neutral
is optional, if not provided, the color will be the same aspositive
.RichTextEditor tasks extension
RichTextEditor now supports tasks tiptap extension:
renderOption prop
Select, MultiSelect, TagsInput and Autocomplete
components now support
renderOption
prop that allows to customize option rendering:Styles improvements
All Mantine components have been migrated to logical CSS properties
(as a replacement for rtl styles) and :where pseudo-class
(as a replacement for private CSS variables). These changes
should not impact the usage of Mantine components, but now Mantine CSS files have smaller size. For example,
@mantine/core/styles.css
now has ~ 8% smaller size (192kb -> 177kb).Pass props to inner recharts components
You can now pass props down to recharts Bar, Area and Line components
with
barProps
,areaProps
andlineProps
props on BarChart, AreaChart and LineChart components.All props accepts either an object with props or a function that receives
series data as an argument and returns an object with props.
PieChart percent labels
PieChart now supports
percent
labels:Documentation updates
Help center updates
New articles added to the help center:
Other changes
swap
handlerform.setFieldValue
now supports callback function as an argumentpx
,py
,mx
andmy
style props now use logical CSS propertiespadding-inline
,padding-block
,margin-inline
andmargin-block
instead ofpadding-left
,padding-right
, etc.me
,ms
,ps
,pe
style props to setmargin-inline-end
,margin-inline-start
,padding-inline-start
andpadding-inline-end
CSS propertiesPopover
now supportfloatingStrategy
prop to control Floating UI strategy@mantine/charts
components now supportchildren
prop which passes children to the root recharts componentonClear
prop, the function is called when clear button is clickedonRemove
prop, the function is called with removed item value when one of the items is deselectedv7.5.3
Compare Source
What's Changed
[@mantine/core]
NumberInput: Fix double border between controls appeared on low resolution screens (#5753)[@mantine/hooks]
use-hotkeys: Fix incorrectHotkeyItem
type (#5705)[@mantine/hooks]
use-resize-observer: Fix incorrect ref type (#5759)[@mantine/core]
ScrollArea: FixoffsetScrollbars
not working on y-axis (#5762)[@mantine/core]
NavLink: Addcollapse
Styles API selector (#5776)[@mantine/hooks]
Fixed initial value of theonline
attribute returned byuseNetwork()
in Firefox (#5766)[@mantine/core]
PinInput: Fix inputs not being updated withlength
prop changes[@mantine/core]
PinInput: Fix incorrectonComplete
behavior (#5774, #5771)[@mantine/core]
Card: Fix incorrect margins in first and last sections whenCardSection
component is used instead ofCard.Section
(#5742)[@mantine/core]
Tooltip: Fix multiline prop not working correctly inTooltip.Floating
componentNew Contributors
Full Changelog: mantinedev/mantine@7.5.2...7.5.3
v7.5.2
Compare Source
What's Changed
[@mantine/core]
ActionIcon: Fix icon width and height defined in % not working correctly[@mantine/core]
ScrollArea: FixoffsetScrollbars
not working (#5733)[@mantine/tiptap]
FixinitialExternal
onRichTextEditor.Link
control not working correctly[@mantine/core]
FileInput: Fix incorrectextend
function type[@mantine/core]
PinInput: Fix various issues related to user input and pasting into the input (#5704)[@mantine/form]
Add callback argument support toform.setFieldValue
handler (#5696)[@mantine/core]
Add explicit extension to exports to support NodeNext TypeScript resolution (#5697)[@mantine/hooks]
use-list-state: Addswap
handler support (#5716)[@mantine/core]
Fix NodeNext TypeScript resolution not working correctly for PolymorphicComponentProps and PolymorphicRef types (#5730)[@mantine/core]
Fix cjs builds unable to resolve third-party dependencies with certain TypeScript settings (#5741)[@mantine/core]
Transition: Fix skew-up transition not working (#5714)[@mantine/core]
Select: Fix active option not being scrolled into view when the dropdown opens[@mantine/core]
Menu: Fix unexpected focus trap when keepMounted is false (#4502)[@mantine/core]
ScrollArea: Fixstyle
prop not being passed to the element when used inviewportProps
(#5594)[@mantine/core]
Divider: Fix poor color contrast with light color scheme[@mantine/core]
Modal: Fix incorrect content border-radius whenfullScreen
prop is set[@mantine/core]
Modal: Fix scroll container not working correctly when ScrollArea is used as a scroll container for a full screen modal[@mantine/notifications]
Fix notifications handlers not allowing passing data-* attributes (#5640)New Contributors
Full Changelog: mantinedev/mantine@7.5.1...7.5.2
v7.5.1
Compare Source
What's Changed
[@mantine/core]
Indicator: Improve processing animation for lo-resolution monitors (#5682)[@mantine/hooks]
use-debounced-state: Fix incorrect type definition (#5665)[@mantine/hooks]
use-session-storage: Fix default value not being set in the storage on initial render (#5663)[@mantine/core]
Combobox: Fix incorrect dropdown styles with custom ScrollArea component (#5677)[@mantine/form]
Fix incorrect touch and dirty state handling inform.initialize
(#5623)[@mantine/core]
Chip: Fix error thrown when page is modified with Google Translate (#5586)[@mantine/form]
Add previous value as second argument toonValuesChange
(#5649)[@mantine/core]
FixautoContrast
defined on theme not working in some components (#5655)[@mantine/core]
Fix broken alignment in Checkbox, Radio and Switch (#5648)[@mantine/core-highlight]
AddwithCopyButton
prop support to CodeHighlightTabs (#5608)[@mantine/core]
UpdateuseComputedColorScheme
types to match definition with other similar hooks (#5588)[@mantine/core]
MultiSelect: Forbid select item removal if associated item becomes disabled (#5630)New Contributors
Full Changelog: mantinedev/mantine@7.5.0...7.5.1
v7.5.0
: ✨ 7.5.0Compare Source
View changelog with demos on mantine.dev website
DonutChart component
New DonutChart component:
PieChart component
New PieChart component:
@mantine/dates value formatter
DatePickerInput, MonthPickerInput and
YearPickerInput
Configuration
📅 Schedule: Branch creation - "before 4am on Monday,before 4am on Thursday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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 has been generated by Mend Renovate. View repository job log here.