Update mantine monorepo to v8.2.1 #742
Merged
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:
8.1.3
->8.2.1
8.1.3
->8.2.1
Release Notes
mantinedev/mantine (@mantine/core)
v8.2.1
Compare Source
v8.2.0
: 🔥Compare Source
View changelog with demos on mantine.dev website
Styles API attributes
You now can pass attributes to inner elements of all components that support Styles API with
attributes
prop.For example, it can be used to add data attributes for testing purposes:
Container grid strategy
Container now supports
strategy="grid"
prop which enables morefeatures.
Differences from the default
strategy="block"
:display: grid
instead ofdisplay: block
max-width
on the root element (uses grid template columns instead)Features supported by
strategy="grid"
:strategy="block"
data-breakout
attribute take the entire width of the container's parent elementdata-container
insidedata-breakout
have the same width as the main grid columnExample of using breakout feature:
Tooltip target
New Tooltip
target
prop is an alternative tochildren
. It accepts a string (selector),an HTML element or a ref object with HTML element. Use
target
prop when you donot render tooltip target as JSX element.
Example of using
target
prop with a string selector:HoverCard.Group
HoverCard now supports delay synchronization between multiple instances using
HoverCard.Group
component:use-selection hook
New use-selection hook:
autoSelectOnBlur prop
Select and Autocomplete components now support
autoSelectOnBlur
prop.Use it to automatically select the highlighted option when the input loses focus.
To see this feature in action: select an option with up/down arrows, then click outside the input:
Source edit mode in RichTextEditor
RichTextEditor now supports source edit mode:
Recharts 3 support
You can now use the latest Recharts 3 version with Mantine charts.
@mantine/charts
package was validated to work with both Recharts 2 and Recharts 3 versions.Note that, there might still be some minor issues with Recharts 3, you are welcome to report issues on GitHub.
Other changes
chevronSize
prop value was changed toauto
to allow using dynamic icon sizeschevronIconSize
prop to configure size of the default chevron icon@mantine/core
packageerrorProps
,labelProps
anddescriptionProps
props of all inputs now have stricter types and better IDE autocompleteTypographyStylesProvider
was renamed to justTypography
to simplify usage.TypographyStylesProvider
name is still available but marked as deprecated – it will be removed in9.0.0
release.mantinedev/mantine (@mantine/hooks)
v8.2.1
Compare Source
v8.2.0
: 🔥Compare Source
View changelog with demos on mantine.dev website
Styles API attributes
You now can pass attributes to inner elements of all components that support Styles API with
attributes
prop.For example, it can be used to add data attributes for testing purposes:
Container grid strategy
Container now supports
strategy="grid"
prop which enables morefeatures.
Differences from the default
strategy="block"
:display: grid
instead ofdisplay: block
max-width
on the root element (uses grid template columns instead)Features supported by
strategy="grid"
:strategy="block"
data-breakout
attribute take the entire width of the container's parent elementdata-container
insidedata-breakout
have the same width as the main grid columnExample of using breakout feature:
Tooltip target
New Tooltip
target
prop is an alternative tochildren
. It accepts a string (selector),an HTML element or a ref object with HTML element. Use
target
prop when you donot render tooltip target as JSX element.
Example of using
target
prop with a string selector:HoverCard.Group
HoverCard now supports delay synchronization between multiple instances using
HoverCard.Group
component:use-selection hook
New use-selection hook:
autoSelectOnBlur prop
Select and Autocomplete components now support
autoSelectOnBlur
prop.Use it to automatically select the highlighted option when the input loses focus.
To see this feature in action: select an option with up/down arrows, then click outside the input:
Source edit mode in RichTextEditor
RichTextEditor now supports source edit mode:
Recharts 3 support
You can now use the latest Recharts 3 version with Mantine charts.
@mantine/charts
package was validated to work with both Recharts 2 and Recharts 3 versions.Note that, there might still be some minor issues with Recharts 3, you are welcome to report issues on GitHub.
Other changes
chevronSize
prop value was changed toauto
to allow using dynamic icon sizeschevronIconSize
prop to configure size of the default chevron icon@mantine/core
packageerrorProps
,labelProps
anddescriptionProps
props of all inputs now have stricter types and better IDE autocompleteTypographyStylesProvider
was renamed to justTypography
to simplify usage.TypographyStylesProvider
name is still available but marked as deprecated – it will be removed in9.0.0
release.Configuration
📅 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.