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
Update mantine monorepo (major) #338
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-mantine-monorepo
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 7, 2022 23:39
1ca4f7d
to
008927f
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 8, 2022 06:36
008927f
to
b866854
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 8, 2022 13:59
b866854
to
7058f9f
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 8, 2022 22:52
7058f9f
to
1e21218
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 10, 2022 09:53
1e21218
to
895046a
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 10, 2022 12:13
895046a
to
da6ad43
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 10, 2022 23:19
da6ad43
to
b3fd5b6
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 11, 2022 20:43
b3fd5b6
to
f8957f5
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 12, 2022 04:31
f8957f5
to
f86902d
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 12, 2022 12:37
f86902d
to
5cec152
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 12, 2022 15:57
5cec152
to
58ac237
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 12, 2022 22:21
58ac237
to
ec4e451
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 13, 2022 09:08
ec4e451
to
ada4077
Compare
renovate
bot
changed the title
Update mantine monorepo to v5 (major)
Update mantine monorepo to v5 (major) - autoclosed
Dec 13, 2022
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
October 2, 2023 19:53
44593fa
to
1b5bd1d
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
2 times, most recently
from
October 19, 2023 09:53
babba1f
to
aa49e7b
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
2 times, most recently
from
October 26, 2023 16:01
a676dfe
to
02fb0e2
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
3 times, most recently
from
November 13, 2023 14:25
6c82cec
to
911ba5b
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
2 times, most recently
from
December 7, 2023 16:46
3a5943e
to
7bbc72b
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
December 14, 2023 20:14
7bbc72b
to
dc7c3b2
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
2 times, most recently
from
January 9, 2024 08:18
468d632
to
d7cd5aa
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
January 17, 2024 20:08
d7cd5aa
to
eb9a791
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
2 times, most recently
from
February 1, 2024 10:11
868c339
to
414737f
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
2 times, most recently
from
February 16, 2024 09:46
35d369c
to
e13b092
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
2 times, most recently
from
February 27, 2024 11:24
24eaee1
to
939b9d7
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
2 times, most recently
from
March 13, 2024 03:27
3bdd9ab
to
077fe2f
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
2 times, most recently
from
March 29, 2024 11:04
b448a33
to
90c360a
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
2 times, most recently
from
April 12, 2024 15:46
3f22dbe
to
be9ca4a
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
April 23, 2024 14:35
be9ca4a
to
ecf6fd5
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
May 2, 2024 12:22
ecf6fd5
to
a9117ee
Compare
renovate
bot
force-pushed
the
renovate/major-mantine-monorepo
branch
from
May 8, 2024 10:31
a9117ee
to
d2564e2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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
->7.9.1
4.2.12
->7.9.1
5.10.2
->6.0.21
Release Notes
mantinedev/mantine (@mantine/core)
v7.9.1
Compare Source
What's Changed
[@mantine/core]
Fixtheme.scale
being ignored in Input, Paper and Table border styles[@mantine/core]
FixvirtualColor
function requringuse client
in Next.js[@mantine/core]
FloatingIndicator: Fix incorrect resize observer logic (#6129)[@mantine/core]
NumberInput: Fix incorrectallowNegative
handling with up/down arrows (#6170)[@mantine/core]
Fixerror={true}
prop set on Checkbox, Radio and Switch rendering unxpected error element with margin[@mantine/core]
SegmentedControl: Fixtheme.primaryColor
not being respected in the focus ring styles[@mantine/core]
CloseButton: Fix incorrect specificity of some selectors[@mantine/core]
Fix incorrectaria-label
handling in Select, Autocomplete, MultiSelect and TagsInputs components (#6123)[@mantine/core]
Modal: PreventonClose
from being called when modal is not opened (#6156)[@mantine/core]
PasswordInput: Fix duplicated password visibility icon in Edge browser (#6126)[@mantine/hooks]
use-hash: Fix hash value not being updated correctly (#6145)[@mantine/emotion]
Fix incorrect transform logic that was causing extra hooks to render (#6159)New Contributors
Full Changelog: mantinedev/mantine@7.9.0...7.9.1
v7.9.0
: ✨Compare Source
View changelog with demos on mantine.dev website
@mantine/emotion package
New @mantine/emotion package is now available to simplify migration
from 6.x to 7.x. It includes
createStyles
function and additionalfunctionality for
sx
andstyles
props for all components similar to what was availablein
@mantine/core
package in v6.If you still haven't migrated to 7.x because of the change in styling approach, you can now
have a smoother transition by using
@mantine/emotion
package. To learn more about the package,visit the documentation page and updated 6.x to 7.x migration guide.
React 18.3 support
All
@mantine/*
components and hooks have been updated to support React 18.3. It isrecommended to update your application as well to prepare for the upcoming React 19 release.
use-field hook
New use-field hook is now available in
@mantine/form
package.It can be used as a simpler alternative to use-form hook to manage state of a single input without the need to create a form.
The hook supports most of
use-form
hook features: validation with function, touched anddirty state, error message, validation on change/blur and more.
use-field
hook also supports async validation:Custom PostCSS mixins
You can now define custom mixins that are not included in mantine-postcss-preset by specifying them
in the
mixins
option. To learn about mixins syntax, follow postcss-mixins documentation.Note that this feature is available in
postcss-preset-mantine
starting from version 1.15.0.Example of adding
clearfix
andcircle
mixins:Then you can use these mixins in your styles:
use-matches hook
New
use-matches
hook exported from@mantine/core
is an alternative to use-media-queryif you need to match multiple media queries and values. It accepts an object with media queries as keys and
values at given breakpoint as values.
Note that
use-matches
hook uses the same logic as use-media-query under the hood,it is not recommended to be used as a primary source of responsive styles, especially if you have ssr in your application.
In the following example:
theme.breakpoints.lg
, color will bered.9
theme.breakpoints.sm
andtheme.breakpoints.lg
, color will beorange.9
theme.breakpoints.sm
, color will beblue.9
BarChart value label
BarChart now supports
withBarValueLabel
prop that allowsdisplaying value label on top of each bar:
Documentation updates
form.key()
functionOther changes
v7.8.1
Compare Source
Notes
Note that if you've already started using uncontrolled form mode introduced in 7.8.0, you need to include
form.key()
as described in the documentation.What's Changed
[@mantine/form]
AdddefaultValue
toform.getInputProps
return type[@mantine/form]
Replacekey
spread withform.getInputProps
withform.key()
function[@mantine/dropzone]
Fix keyboard activation not working (#6095)[@mantine/dates]
DatePicker: Fix date range being stuck in incorrect state when controlled state changes to an empty value (#6092)[@mantine/core]
Radio: Allownull
to be passed to Radio.Group value to clear the value (#6102)[@mantine/core]
NumberInput: Fix incorrect cursor position when backspace is pressed (#6072)[@mantine/core]
Fix incorrect empty string handling in style props (#6078)New Contributors
Full Changelog: mantinedev/mantine@7.8.0...7.8.1
v7.8.0
Compare Source
View changelog with demos on mantine.dev website
Auto convert px to rem in .css files
Start from version
1.14.4
postcss-preset-mantinesupports
autoRem
option that can be used to automatically convert allpx
valuesto
rem
units in.css
files.This option works similar to
rem
function. The following code:Will be transformed to:
Note that
autoRem
converts only CSS properties, values in@media
queries arenot converted automatically – you still need to use
em
function to convert them.autoRem
option does not convert values in the following cases:calc()
,var()
,clamp()
andurl()
functionscontent
propertyrgb()
,rgba()
,hsl()
,hsla()
colorsIf you want to convert above values to rem units, use
rem
function manually.Uncontrolled form mode
useForm hook now supports uncontrolled mode.
Uncontrolled mode provides a significant performance improvement by reducing
the number of re-renders and the amount of state updates almost to 0. Uncontrolled
mode is now the recommended way to use the
useForm
hook for almost all use cases.Example of uncontrolled form (
form.values
are not updated):form.getValues
With uncontrolled mode, you can not access
form.values
as a state variable,instead, you can use
form.getValues()
method to get current form values at any time:form.getValues()
always returns the latest form values, it is safe to use itafter state updates:
form.watch
form.watch
is an effect function that allows subscribing to changes of aspecific form field. It accepts field path and a callback function that is
called with new value, previous value, touched and dirty field states:
Customize Popover middlewares
You can now customize
middlewares
options in Popover component andin other components (Menu, Select, Combobox, etc.)
based on Popover.
To customize Floating UI middlewares options, pass them as
an object to the
middlewares
prop. For example, to change shiftmiddleware padding to
20px
use the following configuration:use-fetch hook
New use-fetch hook:
use-map hook
New use-map hook:
use-set hook
New use-set hook:
use-debounced-callback hook
New use-debounced-callback hook:
use-throttled-state hook
New use-throttled-state hook:
use-throttled-value hook
New use-throttled-value hook:
use-throttled-callback hook
New use-throttled-callback hook:
use-orientation hook
New use-orientation hook:
use-is-first-render hook
New use-is-first-render hook:
Documentation updates
Other changes
withKeyboardEvents={false}
to disable up/down arrow keys handlingv7.7.2
Compare Source
What's Changed
[@mantine/core]
CloseButton: Add missing disabled styles (#6044)[@mantine/core]
AppShell: Fix incorrect app safe area handling by AppShell.Footer (#6060)[@mantine/core]
NumberInput: Fix cursor position changing when the value is incremented/decremented (#6004)[@mantine/core]
TagsInput: Fix incorrect IME keyboard input handling forBackspace
key (#6011)[@mantine/charts]
Fix incorrect overflow styles of svg element (#6040)[@mantine/core]
PinInput: AddrootRef
prop support (#6032)[@mantine/core]
ScrollArea: FixviewportProps.onScroll
not working (#6055)[@mantine/core]
ScrollArea: Fix incorrect inset position of the horizontal scrollbar (#6059)[@mantine/hooks]
use-local-storage: Fix infinite rerendering with object values (#6022)New Contributors
Full Changelog: mantinedev/mantine@7.7.1...7.7.2
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: