Closed renovate[bot] closed 8 months ago
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 7.x
releases. But if you manually upgrade to 7.x
then Renovate will re-enable minor
and patch
updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
This PR contains the following updates:
^5.10.0
->^7.0.0
^5.10.0
->^7.0.0
^5.10.0
->^7.0.0
^5.10.0
->^7.0.0
^5.10.0
->^7.0.0
Release Notes
mantinedev/mantine (@mantine/core)
### [`v7.3.2`](https://togithub.com/mantinedev/mantine/releases/tag/7.3.2) [Compare Source](https://togithub.com/mantinedev/mantine/compare/7.3.1...7.3.2) ##### What's Changed - `[@mantine/core]` Portal: Fix empty className string throwing error ([#5400](https://togithub.com/mantinedev/mantine/issues/5400)) - `[@mantine/core]` Select: Fix incorrect empty string as initial value handing - `[@mantine/core]` Fix error thrown in jest tests when autosize Textarea is used in Next.js application ([#5393](https://togithub.com/mantinedev/mantine/issues/5393)) - `[@mantine/core]` Loader: Fix default loaders not being available if custom loader was default with defaultProps on theme - `[@mantine/core]` Chip: Fix `color` prop not working without specifying variant - `[@mantine/core]` MultiSelect: Fix dropdown not being opened when Space key is pressed and the component is not searchable - `[@mantine/core]` NavLink: Add missing Space key handling for collapse/expand nested links - `[@mantine/dates]` DateInput: Fix incorrect clear button size - `[@mantine/core]` Fix text inside MultiSelect, TagsInput and PillsInput search field not being possible to select with mouse - `[@mantine/core]` Set cursor to `not-allowed` on disabled Checkbox, Radio and Switch - `[@mantine/core]` NumberInput: Improve disabled increment/decrement controls styles - `[@mantine/core]` Button: Fix incorrect alignment if button is used in the same container as other buttons with `component` prop - `[@mantine/core]` SegmentedControl: Improve readOnly styles - `[@mantine/core]` NumberInput: Fix incorrect controls text color in error state - `[@mantine/core]` Change divs to more semantic elements in Modal and Drawer - `[@mantine/core]` Make header height of Modal and Drawer consistent to prevent layout shift when `withCloseButton` prop is changed - `[@mantine/core]` Fix `onChange` not being called in Radio, Checkbox and Chip components if they are used inside `X.Group` - `[@mantine/core]` NumberInput: Fix incorrect negative decimal values input handing - `[@mantine/core]` Button: Fix incorrect Loader vertical alignment - `[@mantine/vanilla-extract]` Expose all primary colors values - `[@mantine/core]` Menu: Fix incorrect aria roles ([#5372](https://togithub.com/mantinedev/mantine/issues/5372)) - `[@mantine/core]` Table: Fix sticky header being overlayed by elements in table rows in some cases ([#5385](https://togithub.com/mantinedev/mantine/issues/5385)) - `[@mantine/core]` Combobox: Fix `rightSection` and `leftSection` nor being visible on `Combobox.Search` ([#5368](https://togithub.com/mantinedev/mantine/issues/5368)) - `[@mantine/core]` Tabs: Fix clipped border of outline variant ([#5370](https://togithub.com/mantinedev/mantine/issues/5370)) - `[@mantine/core]` Fix incorrect `rightSectionPointerEvents` in Select and MultiSelect components ([#5371](https://togithub.com/mantinedev/mantine/issues/5371)) - `[@mantine/core]` Alert: Fix incorrect margin if title is hidden - `[@mantine/core]` Overlay: Fix blur styles not working in old Safari ##### New Contributors - [@abdulbasithqb](https://togithub.com/abdulbasithqb) made their first contribution in [https://github.com/mantinedev/mantine/pull/5385](https://togithub.com/mantinedev/mantine/pull/5385) **Full Changelog**: https://github.com/mantinedev/mantine/compare/7.3.1...7.3.2 ### [`v7.3.1`](https://togithub.com/mantinedev/mantine/releases/tag/7.3.1) [Compare Source](https://togithub.com/mantinedev/mantine/compare/7.3.0...7.3.1) #### What's Changed - `[@mantine/core]` Fix broken default colors override - `[@mantine/core]` Menu: Improve `click-hover` trigger accessibility ([#5335](https://togithub.com/mantinedev/mantine/issues/5335)) - `[@mantine/core]` Fix incorrect `lineHeight` theme variables resolving ([#5375](https://togithub.com/mantinedev/mantine/issues/5375)) - `[@mantine/core]` Select: Fix error thrown if google translate changes labels ([#5377](https://togithub.com/mantinedev/mantine/issues/5377)) - `[@mantine/tiptap]` Add missing `control` Styles API selector to `RichTextEditor.Link` ([#5171](https://togithub.com/mantinedev/mantine/issues/5171)) - `[@mantine/core]` Grid: Fix incorrect Grid.Col auto span handing if one Grid is used inside another Grid ([#5278](https://togithub.com/mantinedev/mantine/issues/5278)) - `[@mantine/core]` Grid: Fix incorrect Grid.Col styles when the column is `auto` as base value and `content` as breakpoint value ([#5280](https://togithub.com/mantinedev/mantine/issues/5280)) - `[@mantine/core]` Fix various RTL issues ([#5250](https://togithub.com/mantinedev/mantine/issues/5250)) - `[@mantine/dates]` Fix `hideOutsideDates` now working if `@mantine/dates` is used as a headless library ([#5003](https://togithub.com/mantinedev/mantine/issues/5003)) - `[@mantine/core]` SegmentedControl: Remove animation during initialization ([#5182](https://togithub.com/mantinedev/mantine/issues/5182)) - `[@mantine/core]` Menu: Fix broken focus logic when `keepMounted` is set ([#4502](https://togithub.com/mantinedev/mantine/issues/4502)) - `[@mantine/tiptap]` Remove `@tabler/icons` dependency to improve bundling performance ([#5279](https://togithub.com/mantinedev/mantine/issues/5279)) - `[@mantine/core]` Fix inputs have incorrect left and right sections colors in error state ([#5304](https://togithub.com/mantinedev/mantine/issues/5304)) - `[@mantine/core]` Title: Add `lineClamp` support ([#5321](https://togithub.com/mantinedev/mantine/issues/5321)) - `[@mantine/core]` Grid: Change default overflow to visible ([#5276](https://togithub.com/mantinedev/mantine/issues/5276)) - `[@mantine/core]` ScrollArea: Fix incorrect scrollbars styles ([#4904](https://togithub.com/mantinedev/mantine/issues/4904)) - `[@mantine/core]` Expose `--mantine-primary-color-x` CSS variables ([#5331](https://togithub.com/mantinedev/mantine/issues/5331)) - `[@mantine/core]` Combobox: Fix incorrect Enter key handling when dropdown is opened and option is not selected ([#5348](https://togithub.com/mantinedev/mantine/issues/5348)) - `[@mantine/core]` NumberInput: Fix `startValue` nor working if `min` is set ([#5308](https://togithub.com/mantinedev/mantine/issues/5308)) - `[@mantine/core]` Collapse: Add missing Collapse.extend function ([#5313](https://togithub.com/mantinedev/mantine/issues/5313)) - `[@mantine/core]` Fix incorrect clamp() function handing in style props ([#5330](https://togithub.com/mantinedev/mantine/issues/5330)) - `[@mantine/core]` PinInput: Trim value on paste before validation ([#5340](https://togithub.com/mantinedev/mantine/issues/5340)) - `[@mantine/core]` PinInput: Fix incorrectly assigned ref ([#5365](https://togithub.com/mantinedev/mantine/issues/5365)) - `[@mantine/core]` Remove use client from createPolymorphicComponent factory ([#5367](https://togithub.com/mantinedev/mantine/issues/5367)) #### New Contributors - [@manuelbosi](https://togithub.com/manuelbosi) made their first contribution in [https://github.com/mantinedev/mantine/pull/5377](https://togithub.com/mantinedev/mantine/pull/5377) - [@riettsruff](https://togithub.com/riettsruff) made their first contribution in [https://github.com/mantinedev/mantine/pull/5375](https://togithub.com/mantinedev/mantine/pull/5375) **Full Changelog**: https://github.com/mantinedev/mantine/compare/7.3.0...7.3.1 ### [`v7.3.0`](https://togithub.com/mantinedev/mantine/releases/tag/7.3.0): 🌟 [Compare Source](https://togithub.com/mantinedev/mantine/compare/7.2.2...7.3.0) [View changelog with demos on mantine.dev website](https://mantine.dev/changelog/7-3-0) ##### smaller-than and larger-than mixins `smaller-than` and `larger-than` mixins can be used to create styles that will be applied only when the screen is smaller or larger than specified breakpoint. Note that to use these mixins, you need to update [postcss-preset-mantine](https://mantine.dev/styles/postcss-preset) to version `1.11.0` or higher. ```scss .demo { @mixin smaller-than 320px { color: red; } @mixin larger-than 320px { color: blue; } } ``` Will be transformed to: ```scss // Breakpoint values are converted to em units // In smaller-than mixin 0.1px is subtracted from breakpoint value // to avoid intersection with larger-than mixin @media (max-width: 19.99375em) { .demo { color: red; } } @media (min-width: 20em) { .demo { color: blue; } } ``` You can also use `smaller-than` and `larger-than` mixins with [mantine breakpoints](https://mantine.dev/styles/responsive/#breakpoints-variables-in-css-modules): ```scss .demo { @mixin smaller-than $mantine-breakpoint-sm { color: red; } @mixin larger-than $mantine-breakpoint-sm { color: blue; } } ``` ##### Form schema resolvers packages `@mantine/form` schema validation resolver packages are now available as [separate packages](https://mantine.dev/form/schema-validation). Moving resolvers to separate packages allows making them type-safe and fully tested. Old resolvers are still exported from `@mantine/form` package – you will be able to use them without any changes until 8.0.0 release. The new packages are drop-in replacements for old resolvers, they have the same API and can be used in the same way. Example of zod resolver: ```bash yarn add zod mantine-form-zod-resolver ``` ```tsx import { z } from 'zod'; import { useForm } from '@mantine/form'; import { zodResolver } from 'mantine-form-zod-resolver'; const schema = z.object({ name: z.string().min(2, { message: 'Name should have at least 2 letters' }), email: z.string().email({ message: 'Invalid email' }), age: z.number().min(18, { message: 'You must be at least 18 to create an account' }), }); const form = useForm({ initialValues: { name: '', email: '', age: 16, }, validate: zodResolver(schema), }); form.validate(); form.errors; // -> { // name: 'Name should have at least 2 letters', // email: 'Invalid email', // age: 'You must be at least 18 to create an account' // } ``` ##### rem/em functions improvements [rem and em](https://mantine.dev/styles/rem) function now support space-separated values. This feature is available both in `rem` function exported from `@mantine/core` package and [postcss-preset-mantine](https://mantine.dev/styles/postcss-preset). Note that you need to update [postcss-preset-mantine](https://mantine.dev/styles/postcss-preset) to `1.11.0` to use this feature. ```tsx import { rem } from '@mantine/core'; rem('16px 32px'); // -> calc(1rem * var(--mantine-scale)) calc(2rem * var(--mantine-scale)) ``` All components props that are converted to `rem` units now support space-separated values as well. For example, space-separated values can be used in `radius` prop of [Modal](https://mantine.dev/core/modal) component: ```tsx import { Modal } from '@mantine/core'; function Demo() { returnConfiguration
📅 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.