chore(deps): update all dependencies #107
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:
7.23.6
->7.23.7
18.4.3
->18.4.4
18.4.3
->18.4.4
7.3.2
->7.4.0
7.3.2
->7.4.0
5.15.0
->5.17.1
5.15.0
->5.17.1
18.2.42
->18.2.46
6.16.0
->6.17.0
6.16.0
->6.17.0
1.1.0
->1.1.2
1.6.3
->1.6.4
2.0.0
->2.1.0
0.20.0
->0.21.0
8.4.32
->8.4.33
1.12.2
->1.12.3
0.5.9
->0.5.10
4.8.3
->4.9.0
1.1.0
->1.1.2
Release Notes
babel/babel (@babel/core)
v7.23.7
Compare Source
🐛 Bug Fix
babel-traverse
Program
(@liuxingbaoyu)babel-helpers
,babel-plugin-proposal-decorators
ctx.kind
is wrong (@liuxingbaoyu)babel-plugin-proposal-decorators
babel-core
unhandledRejection
events (@nicolo-ribaudo)🏠 Internal
babel-helper-create-class-features-plugin
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
conventional-changelog/commitlint (@commitlint/cli)
v18.4.4
Compare Source
Note: Version bump only for package @commitlint/cli
conventional-changelog/commitlint (@commitlint/config-conventional)
v18.4.4
Compare Source
Note: Version bump only for package @commitlint/config-conventional
mantinedev/mantine (@mantine/core)
v7.4.0
: ⭐Compare Source
View changelog with demos on mantine.dev website
@mantine/charts
New @mantine/charts package provides a set of components
to build charts and graphs. All components are based on recharts.
Currently, the package provides AreaChart, BarChart,
LineChart and Sparkline components.
More components will be added in the next minor releases.
AreaChart component
New AreaChart component:
LineChart component
New LineChart component:
BarChart component
New BarChart component:
Sparkline component
New Sparkline component:
OKLCH colors support
You can now use OKLCH colors in
theme.colors
.OKLCH color model has 88.18% browser support,
it is supported in all modern browsers. OKLCH model provides 30% more colors than HSL model and
has several other advantages.
Example of adding OKLCH color to the theme:
autoContrast
New
theme.autoContrast
property controls whether text color should be changed based on the givencolor
propin the following components:
variant="filled"
onlyvariant="filled"
onlyvariant="filled"
onlyvariant="filled"
onlyvariant="filled"
onlyvariant="filled"
onlyvariant="filled"
onlyvariant="filled"
onlyvariant="filled"
onlyvariant="filled"
onlyvariant="pills"
onlyautoContrast
can be set globally on the theme level or individually for each component viaautoContrast
prop,except for Spotlight and @mantine/dates components, which only support global theme setting.
autoContrast
checks whether the given color luminosity is above or below theluminanceThreshold
valueand changes text color to either
theme.white
ortheme.black
accordingly:Color functions improvements
alpha
,lighten
anddarken
functions now support CSS variables (with color-mix) and OKLCH colors.All functions are available both in
@mantine/core
(.ts
/.js
files) and postcss-preset-mantine (.css
files, requires version 1.12.0 or higher).In
.css
files:Will be transformed to:
In
.ts
/.js
files:Note that
alpha
function is a replacement forrgba
. It was renamed tohave a more clear meaning, as it can now be used with CSS variables and OKLCH colors.
rgba
function is still available as an alias foralpha
function.enhanceGetInputProps
@mantine/form
now supports enhanceGetInputProps.enhanceGetInputProps
is a function that can be used to add additional props to the object returned byform.getInputProps
.You can define it in
useForm
hook options. Its argument is an object with the following properties:inputProps
– object returned byform.getInputProps
by defaultfield
– field path, first argument ofform.getInputProps
, for examplename
,user.email
,users.0.name
options
– second argument ofform.getInputProps
, for example{ type: 'checkbox' }
, can be used to pass additionaloptions to
enhanceGetInputProps
functionform
– form instanceExample of using
enhanceGetInputProps
to disable input based on field path:Example of using
enhanceGetInputProps
to add additional props to the input based on option passed toform.getInputProps
:form.initialize
@mantine/form
now supportsform.initialize
handler.When called
form.initialize
handler setsinitialValues
andvalues
to the same valueand marks form as initialized. It can be used only once, next
form.initialize
callsare ignored.
form.initialize
is useful when you want to sync form values with backend API response:Example with TanStack Query (react-query):
Note that
form.initialize
will erase all values that were set before it was called.It is usually a good idea to set
readOnly
ordisabled
on all form fields beforeform.initialize
is called to prevent data loss. You can implement this withenhanceGetInputProps:
valibot form resolver
@mantine/form
now supports validbot schema resolver:Basic fields validation:
Nested fields validation
List fields validation:
ScrollArea scrollbars prop
ScrollArea now supports
scrollbars
prop, which allows controlling directions at which scrollbars should be rendered.Supported values are
x
,y
andxy
. Ifscrollbars="y"
is set, only the vertical scrollbar will be rendered, and it will not be possible to scroll horizontally:Title lineClamp prop
Title component now supports
lineClamp
prop, which allows truncating text after a specified number of lines:Primary color CSS variables
CSS variables for primary color are now available, you can use the following variables in your styles:
Help center
Help center is a new website with guides, tutorials and frequently
asked questions. Currently, it has 14 questions, more FAQs will be added in the next releases.
Documentation updates
form.getInputProps
,enhanceGetInputProps
and how to integrateform.getInputProps
with custom inputs.@mantine/hooks
package. It is planned to document functions from other packages in next releases.variantColorsResolver
demos have been added to ActionIcon, ThemeIcon and Badge components.Other changes
@tabler/icons
package. It is no longer required to install@tabler/icons
package to useRichTextEditor
component. Icons used in the editor are now a part of the@mantine/tiptap
package. This change improves bundling performance in several cases (mostly when usingRichTextEditor
in Next.js apps).circle
prop which makes the badge round.ff
style prop withmono
,text
andheading
values:<Box ff="mono" />
.RichTextEditor.Undo
andRichTextEditor.Redo
controls.luminance
color function was added. It returns color luminance as a number between 0 and 1.flex
style prop which allows settingflex
CSS property on the root element.stepHoldDelay
andstepHoldInterval
props have been added to NumberInput.errorPriority
configuration which allows controlling the order of errors specified in the schema. This feature requires updatingmantine-form-zod-resolver
to version 1.1.0 or higher.icon
prop, which allows overriding default icon. It is useful when it is not possible to replaceCloseButton
, for example, in Drawer component.onChange
with an additional argument – option object. It containslabel
,value
and optionaldisabled
properties.styles
prop of all components.TanStack/query (@tanstack/react-query)
v5.17.1
Compare Source
Version 5.17.1 - 1/3/2024, 2:07 PM
Changes
Fix
07d40df
) by ArnoudChore
e6cb6df
) by Lachlan CollinsPackages
v5.17.0
Compare Source
Version 5.17.0 - 12/31/2023, 12:30 PM
Changes
Feat
3265ec3
) by @NathanHuismanChore
50230c5
) by Lachlan Collinsa8d7bd2
) by Lachlan Collins4957e54
) by @manudelientries
field from script config (#6615) (eb25c7b
) by Lachlan CollinsPackages
v5.15.5
Compare Source
Version 5.15.5 - 12/29/2023, 11:10 PM
Changes
Fix
6ec6ee8
) by Dominik DorfmeisterPackages
v5.15.4
Compare Source
Version 5.15.4 - 12/29/2023, 9:42 PM
Changes
Fix
639c725
) by Dominik DorfmeisterPackages
v5.15.3
Compare Source
Version 5.15.3 - 12/29/2023, 10:27 AM
Changes
Fix
vue-tsc
to test types (#6610) (2ed4779
) by Lachlan CollinsChore
425aaf6
) by Lachlan Collinsddf5539
) by Lachlan CollinsDocs
9973e8d
) by @beomya83c5a2
) by @Mini-ghostPackages
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v6.17.0
Compare Source
Bug Fixes
patterns
orpaths
in options are empty (#8108) (675e987)Features
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), 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 has been generated by Mend Renovate. View repository job log here.