adaptui / react-tailwind

React UI built with @adaptui/react, ariakit & tailwind
https://adaptui-react-tailwind.vercel.app
MIT License
37 stars 8 forks source link

chore(deps): ⬆️ update prod dependencies (minor) - autoclosed #350

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@react-aria/live-announcer 3.1.1 -> 3.3.1 age adoption passing confidence
ariakit (source) 2.0.0-next.38 -> 2.0.0-next.44 age adoption passing confidence
ariakit-utils (source) 0.17.0-next.24 -> 0.17.0-next.27 age adoption passing confidence
tailwind-merge 1.5.1 -> 1.14.0 age adoption passing confidence

Release Notes

adobe/react-spectrum (@​react-aria/live-announcer) ### [`v3.3.1`](https://togithub.com/adobe/react-spectrum/compare/@react-aria/label@3.3.0...@react-aria/label@3.3.1) [Compare Source](https://togithub.com/adobe/react-spectrum/compare/@react-aria/live-announcer@3.3.0...@react-aria/live-announcer@3.3.1) ### [`v3.3.0`](https://togithub.com/adobe/react-spectrum/compare/@react-aria/spinbutton@3.2.1...@react-aria/spinbutton@3.3.0) [Compare Source](https://togithub.com/adobe/react-spectrum/compare/@react-aria/live-announcer@3.2.0...@react-aria/live-announcer@3.3.0) ### [`v3.2.0`](https://togithub.com/adobe/react-spectrum/compare/@react-aria/dialog@3.1.9...@react-aria/dialog@3.2.0) [Compare Source](https://togithub.com/adobe/react-spectrum/compare/@react-aria/live-announcer@3.1.2...@react-aria/live-announcer@3.2.0) ### [`v3.1.2`](https://togithub.com/adobe/react-spectrum/compare/@react-aria/spinbutton@3.1.1...@react-aria/spinbutton@3.1.2) [Compare Source](https://togithub.com/adobe/react-spectrum/compare/@react-aria/live-announcer@3.1.1...@react-aria/live-announcer@3.1.2)
ariakit/ariakit (ariakit) ### [`v2.0.0-next.44`](https://togithub.com/ariakit/ariakit/releases/tag/ariakit%402.0.0-next.44) [Compare Source](https://togithub.com/ariakit/ariakit/compare/ariakit@2.0.0-next.43...ariakit@2.0.0-next.44) ##### Patch Changes - Fixed `Checkbox` with a string `value` prop used in combination with the `useCheckboxState` hook. ([#​2223](https://togithub.com/ariakit/ariakit/pull/2223)) ### [`v2.0.0-next.43`](https://togithub.com/ariakit/ariakit/releases/tag/ariakit%402.0.0-next.43) [Compare Source](https://togithub.com/ariakit/ariakit/compare/ariakit@2.0.0-next.42...ariakit@2.0.0-next.43) ##### Patch Changes - Fixed infinite loop when rendering `` with no tabbable elements inside. ([#​2170](https://togithub.com/ariakit/ariakit/pull/2170)) ### [`v2.0.0-next.42`](https://togithub.com/ariakit/ariakit/releases/tag/ariakit%402.0.0-next.42) [Compare Source](https://togithub.com/ariakit/ariakit/compare/ariakit@2.0.0-next.41...ariakit@2.0.0-next.42) ##### Patch Changes - Extracted React specific utilities from the `ariakit-utils` package to the `ariakit-react-utils` package. ([#​1819](https://togithub.com/ariakit/ariakit/pull/1819)) - Fixed type errors in TypeScript v4.8. ([#​1885](https://togithub.com/ariakit/ariakit/pull/1885)) - **TypeScript**: Renamed types to have unique names matching their pattern. ([#​2153](https://togithub.com/ariakit/ariakit/pull/2153)) - Updated dependencies: `ariakit-utils@0.17.0-next.27`, `ariakit-react-utils@0.17.0-next.27`. ### [`v2.0.0-next.41`](https://togithub.com/ariakit/ariakit/releases/tag/ariakit%402.0.0-next.41) [Compare Source](https://togithub.com/ariakit/ariakit/compare/ariakit@2.0.0-next.40...ariakit@2.0.0-next.41) ##### Minor Changes - Improved `Combobox` with `autoSelect` behavior. ([#​1821](https://togithub.com/ariakit/ariakit/pull/1821)) Before, when `autoSelect` was enabled, the first item would be selected only on text insertion. That is, deleting or pasting text was ignored. Now, the first item is selected on any change to the input value, including programmatic changes. - Updated the behavior of `autoComplete="inline"` and `autoComplete="both"` on `Combobox` so the completion string is only appended and highlighted when the caret is at the end of the input. ([#​1823](https://togithub.com/ariakit/ariakit/pull/1823)) - Added `moveOnKeyPress` prop to `CompositeItem`. ([#​1821](https://togithub.com/ariakit/ariakit/pull/1821)) - Added `moveOnKeyPress` prop to `Composite`. ([#​1821](https://togithub.com/ariakit/ariakit/pull/1821)) ##### Patch Changes - Fixed scroll jump on `Combobox` when pressing modifier keys. ([#​1826](https://togithub.com/ariakit/ariakit/pull/1826)) ### [`v2.0.0-next.40`](https://togithub.com/ariakit/ariakit/releases/tag/ariakit%402.0.0-next.40) [Compare Source](https://togithub.com/ariakit/ariakit/compare/ariakit@2.0.0-next.39...ariakit@2.0.0-next.40) ##### Minor Changes - Activating `CompositeItem` elements rendered as links with Cmd/Ctrl+Enter now correctly opens the new tab in the background instead of bringing it to front. ([#​1771](https://togithub.com/ariakit/ariakit/pull/1771)) - Added support for clicking on `CompositeItem` elements rendered as links with Alt+Enter to start a download. ([#​1771](https://togithub.com/ariakit/ariakit/pull/1771)) - Improved `CompositeTypeahead` runtime performance. ([#​1792](https://togithub.com/ariakit/ariakit/pull/1792)) - Added `displayName` to components in development. ([#​1791](https://togithub.com/ariakit/ariakit/pull/1791)) ##### Patch Changes - Fixed `Combobox` with `autoComplete="inline"` or `autoComplete="both"` not allowing text selection in some cases. ([#​1773](https://togithub.com/ariakit/ariakit/pull/1773)) - Fixed `onFocusVisible` timing on the `Focusable` component so it waits for any logic in focus/keydown events to be performed before applying the `data-focus-visible` attribute. ([#​1774](https://togithub.com/ariakit/ariakit/pull/1774)) - Fixed stale validity state on `FormField`. ([#​1778](https://togithub.com/ariakit/ariakit/pull/1778)) - Fixed nested `Menu` prematurely hiding when moving the mouse to it on Safari. ([#​1764](https://togithub.com/ariakit/ariakit/pull/1764)) - Fixed `Popover` blurred pixels when trying to fit viewport. ([#​1793](https://togithub.com/ariakit/ariakit/pull/1793)) - Fixed `portalRef` prop type on `Portal` not accepting mutable refs with initial value set to `null`. - Fixed `Select` not getting focus when some browser extensions (like 1password) automatically moves focus to the next form element. ([#​1777](https://togithub.com/ariakit/ariakit/pull/1777)) - Updated dependencies: `ariakit-utils@0.17.0-next.26`. ### [`v2.0.0-next.39`](https://togithub.com/ariakit/ariakit/releases/tag/ariakit%402.0.0-next.39) [Compare Source](https://togithub.com/ariakit/ariakit/compare/ariakit@2.0.0-next.38...ariakit@2.0.0-next.39) ##### Minor Changes - Improved support for `CompositeItem` rendered as a link. This includes `ComboboxItem`, `MenuItem`, and `SelectItem` components. ([#​1736](https://togithub.com/ariakit/ariakit/pull/1736)) Now clicking on `` items with a mouse or keyboard while pressing `metaKey` (macOS) or `ctrlKey` (PC) opens the link in a new tab as expected. Popovers won't close and `Select`/`Combobox` values won't change when clicking with those modifiers. - The `role` attribute on `MenuButton`, when inside another menu, is now based on the popover role instead of being always `menuitem`. ([#​1728](https://togithub.com/ariakit/ariakit/pull/1728)) ##### Patch Changes - Fixed `Collection` items order when adding items from start. ([#​1748](https://togithub.com/ariakit/ariakit/pull/1748)) - Fixed `Combobox` not calling the `onKeyDown` prop when pressing printable keys. ([#​1739](https://togithub.com/ariakit/ariakit/pull/1739)) - Fixed `Hovercard` prematurely hiding when moving mouse to it when the card is positioned diagonally to the anchor. ([#​1742](https://togithub.com/ariakit/ariakit/pull/1742)) - Fixed `aria-labelledby` attribute on `Menu` not pointing to the correct element when using `MenuHeading`. ([#​1737](https://togithub.com/ariakit/ariakit/pull/1737)) - Fixed `Tab` with `defaultSelectedId` on React 17. ([#​1724](https://togithub.com/ariakit/ariakit/pull/1724)) - Updated dependencies: `ariakit-utils@0.17.0-next.25`.
dcastil/tailwind-merge (tailwind-merge) ### [`v1.14.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.14.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.13.2...v1.14.0) ##### New Features - Improve support for arbitrary values by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/263](https://togithub.com/dcastil/tailwind-merge/pull/263) - Previously, tailwind-merge checked the content of the arbitrary value portion of a class in most cases to understand whether the type of the arbitrary value is correct (e.g. it checked for number followed by length unit for the length type). That lead to the issue that a class like `mt-[calc(theme(fontSize.4xl)/1.125)]` would not be recognized correctly because no length unit is present in the arbitrary value. - I changed the check of the arbitrary value to also pass when a `calc()`, `min()`, `max()` and `clamp()` function is used in the arbitrary value. - In ambiguous cases, you can use data type labels to mark the type of a class. [Read more](https://togithub.com/dcastil/tailwind-merge/blob/v1.14.0/docs/features.md#supports-arbitrary-values) - Moreover, I removed the check where the type of the arbitrary value is unambiguous. In the class `mt-[…]` the arbitrary value can only be a length, so I don't check for it. A consequence of this is that if you use non-Tailwind classes like `mt-[this-is-totally-not-tailwind]`, tailwind-merge will recognize it as a Tailwind class from now on. **Please don't use classes that look like Tailwind classes with arbitrary value but aren't Tailwind classes with tailwind-merge (in default config) to prevent incorrect merging behavior**. ##### Bug Fixes - Fix `col-span-full` class missing in default config by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/267](https://togithub.com/dcastil/tailwind-merge/pull/267) - Fix arbitrary value with no present length unit not being recognized by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/263](https://togithub.com/dcastil/tailwind-merge/pull/263) ##### Documentation - Add missing info about where to call config functions to docs by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/264](https://togithub.com/dcastil/tailwind-merge/pull/264) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.13.2...v1.14.0 ### [`v1.13.2`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.13.2) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.13.1...v1.13.2) ##### Bug Fixes - Fix TypeScript issue when using `moduleResolution: node16` by [@​LiamMartens](https://togithub.com/LiamMartens) in [https://github.com/dcastil/tailwind-merge/pull/245](https://togithub.com/dcastil/tailwind-merge/pull/245) ##### Documentation - Fix grammar and typos in docs by [@​jmmarco](https://togithub.com/jmmarco) in [https://github.com/dcastil/tailwind-merge/pull/249](https://togithub.com/dcastil/tailwind-merge/pull/249) - Add tailwind-merge-php to similar packages in docs by [@​JamesHemery](https://togithub.com/JamesHemery) in [https://github.com/dcastil/tailwind-merge/pull/246](https://togithub.com/dcastil/tailwind-merge/pull/246) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.13.1...v1.13.2 Thanks to [@​bluetch](https://togithub.com/bluetch) for sponsoring tailwind-merge! ❤️ ### [`v1.13.1`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.13.1) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.13.0...v1.13.1) ##### Bug Fixes - Fix `basis-auto` and `basis-full` not being merged correctly by [@​lukasz-kapica](https://togithub.com/lukasz-kapica) in [https://github.com/dcastil/tailwind-merge/pull/242](https://togithub.com/dcastil/tailwind-merge/pull/242) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.13.0...v1.13.1 ### [`v1.13.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.13.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.12.0...v1.13.0) This release focuses on improvements to the docs. ##### Bug Fixes - Fix arbitrary length `0` without unit not being recognized by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/237](https://togithub.com/dcastil/tailwind-merge/pull/237) - Fix typo in comment in default-config.ts by [@​CrutchTheClutch](https://togithub.com/CrutchTheClutch) in [https://github.com/dcastil/tailwind-merge/pull/227](https://togithub.com/dcastil/tailwind-merge/pull/227) ##### Documentation - Add intro video from Simon Vrachliotis to docs by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/239](https://togithub.com/dcastil/tailwind-merge/pull/239) - [@​simonswiss](https://togithub.com/simonswiss) made an intro video to tailwind-merge which I added to the docs. Check it out [here](https://togithub.com/dcastil/tailwind-merge/blob/v1.13.0/docs/what-is-it-for.md#video-introduction)! - Add docs about when to use tailwind-merge by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/230](https://togithub.com/dcastil/tailwind-merge/pull/230) - I added a new page to the docs about [when and how to use tailwind-merge](https://togithub.com/dcastil/tailwind-merge/blob/v1.13.0/docs/when-and-how-to-use-it.md) which should help you to decide whether you should use it and what alternative approaches exist. - Make it clearer in docs that tailwind-merge supports composition of class strings by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/229](https://togithub.com/dcastil/tailwind-merge/pull/229) ##### Other - Add npm package provenance by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/219](https://togithub.com/dcastil/tailwind-merge/pull/219) - GitHub introduced a new security feature to verify which source commit and build file were used for a specific npm package version. tailwind-merge now publishes provenance signatures alongside all releases on npm. [Read more on the GitHub blog.](https://github.blog/2023-04-19-introducing-npm-package-provenance/) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.12.0...v1.13.0 ### [`v1.12.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.12.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.11.0...v1.12.0) With this release tailwind-merge supports all features introduced in [Tailwind CSS v3.3](https://tailwindcss.com/blog/tailwindcss-v3-3). ##### New Features - Add support for postfix modifier by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/214](https://togithub.com/dcastil/tailwind-merge/pull/214) - This adds support for `line-height` modifiers in `font-size` utilities like `text-lg/7` and more potential postfix modifiers in the future ([learn more](https://togithub.com/dcastil/tailwind-merge/blob/v1.12.0/docs/features.md#supports-postfix-modifiers)). - All classes are checked for postfix modifiers since there will be more in the future and they'll be configurable with plugins. - tailwind-merge can't know from the class syntax alone whether something is a modifier or not. E.g. there is `w-1/2` which doesn't contain a modifier. So tailwind-merge always checks whether class without potential modifier exists and if it doesn't it checks for full class. This behavior might get reversed in the next major version as a breaking change ([learn more](https://togithub.com/dcastil/tailwind-merge/issues/215)). - Added `conflictingClassGroupModifiers` object to tailwind-merge config ([learn more](https://togithub.com/dcastil/tailwind-merge/blob/v1.12.0/docs/configuration.md#postfix-modifiers-conflicting-with-class-groups)). **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.11.0...v1.12.0 ### [`v1.11.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.11.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.10.0...v1.11.0) ##### New Features - Add support for Tailwind CSS v3.3 except line-height shorthand by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/210](https://togithub.com/dcastil/tailwind-merge/pull/210) - The line-height shorthand in font-size utilities (`text-lg/7`) [introduced in Tailwind CSS v3.3](https://tailwindcss.com/blog/tailwindcss-v3-3#new-line-height-shorthand-for-font-size-utilities) is not yet supported in tailwind-merge because that feature is a bit more involved. I'll add support for it in a future release. More info in [https://github.com/dcastil/tailwind-merge/issues/211](https://togithub.com/dcastil/tailwind-merge/issues/211). - Added new [validator](https://togithub.com/dcastil/tailwind-merge/blob/v1.11.0/docs/api-reference.md#validators) `isPercent` which is needed internally for the default scale of color stop positions. - New [theme](https://togithub.com/dcastil/tailwind-merge/blob/v1.11.0/docs/configuration.md#theme) key `gradientColorStopPositions` supported in tailwind-merge. - New logical properties like `ps-0` (`padding-inline-start: 0px;`) are de-duplicated away when using the matching property for all sides afterwards like in this case `p-0`, but not when using single axis sides like `px-0` because `padding-inline-start` can also be the top or bottom padding depending on writing mode. - Basically `twMerge('ps-0 p-0') === 'p-0' && twMerge('ps-0 px-0') === 'ps-0 px-0'`. - If you want to use logical properties and know which writing modes your app is limited to, add the right conflicts yourself to your tailwind-merge config. **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.10.0...v1.11.0 Thanks to [@​brandonmcconnell](https://togithub.com/brandonmcconnell) for sponsoring tailwind-merge! ❤️ ### [`v1.10.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.10.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.9.1...v1.10.0) ##### New Features - Add support for container query length units in arbitrary values by [@​LesnoyPudge](https://togithub.com/LesnoyPudge) in [https://github.com/dcastil/tailwind-merge/pull/204](https://togithub.com/dcastil/tailwind-merge/pull/204) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.9.1...v1.10.0 ### [`v1.9.1`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.9.1) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.9.0...v1.9.1) ##### Bug Fixes - Fix arbitrary floats not supported in opacity, scale, etc. by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/196](https://togithub.com/dcastil/tailwind-merge/pull/196) - Up until now classes like `opacity-50 opacity-[.025]` weren't merged correctly. You might not have noticed since classes with arbitrary values are defined after the default ones in the output stylesheet, but merging it the other way around (`opacity-[.025] opacity-50`) would have led to a styling bug. - This fix led to a new [validator](https://togithub.com/dcastil/tailwind-merge/blob/v1.9.1/docs/api-reference.md#validators) `isNumber`. - Fix arbitrary border color value being merged incorrectly by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/195](https://togithub.com/dcastil/tailwind-merge/pull/195) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.9.0...v1.9.1 ### [`v1.9.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.9.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.8.1...v1.9.0) ##### New Features - Support decimals in T-shirt sizes by [@​farreldarian](https://togithub.com/farreldarian) in [https://github.com/dcastil/tailwind-merge/pull/189](https://togithub.com/dcastil/tailwind-merge/pull/189) ##### Documentation - Fixes typo in recipes docs by [@​nicklemmon](https://togithub.com/nicklemmon) in [https://github.com/dcastil/tailwind-merge/pull/181](https://togithub.com/dcastil/tailwind-merge/pull/181) ##### Other - Added test case by [@​chuanyu0201](https://togithub.com/chuanyu0201) in [https://github.com/dcastil/tailwind-merge/pull/186](https://togithub.com/dcastil/tailwind-merge/pull/186) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.8.1...v1.9.0 ### [`v1.8.1`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.8.1) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.8.0...v1.8.1) ##### Bug Fixes - Fix incorrect class group conflicts in grid-related classes by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/177](https://togithub.com/dcastil/tailwind-merge/pull/177) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.8.0...v1.8.1 Thanks to [@​aniravi24](https://togithub.com/aniravi24) for sponsoring tailwind-merge! ❤️ ### [`v1.8.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.8.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.7.0...v1.8.0) ##### New Features - Add support for custom separator by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/168](https://togithub.com/dcastil/tailwind-merge/pull/168) - Add support for dynamic viewport units in arbitrary lengths by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/166](https://togithub.com/dcastil/tailwind-merge/pull/166) - Rename `join` to `twJoin` by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/161](https://togithub.com/dcastil/tailwind-merge/pull/161) - I deprecated the [`join`](https://togithub.com/dcastil/tailwind-merge/blob/v1.7.0/docs/api-reference.md#join) function and renamed it to [`twJoin`](https://togithub.com/dcastil/tailwind-merge/blob/v1.8.0/docs/api-reference.md#twjoin) to make replacing it via search and replace easier since `join` is a common function name. You don't need to change anything right now, but if you have some spare time, rename join → twJoin in your code since the `join` function will be removed in the next major release. **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.7.0...v1.8.0 Thanks to [@​gjtorikian](https://togithub.com/gjtorikian) for sponsoring tailwind-merge! ❤️ ### [`v1.7.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.7.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.6.2...v1.7.0) ##### New Features - Add support for Tailwind CSS v3.2 by [@​dcastil](https://togithub.com/dcastil) and [@​brandonmcconnell](https://togithub.com/brandonmcconnell) in [https://github.com/dcastil/tailwind-merge/pull/159](https://togithub.com/dcastil/tailwind-merge/pull/159) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.6.2...v1.7.0 ### [`v1.6.2`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.6.2) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.6.1...v1.6.2) ##### Bug Fixes - Fix arbitrary numbers not working in stroke-width by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/153](https://togithub.com/dcastil/tailwind-merge/pull/153) - Now tailwind-merge handles classes like `stroke-[3]` correctly. - I deprecated the [validator](https://togithub.com/dcastil/tailwind-merge/blob/v1.6.2/docs/api-reference.md#validators) `isArbitraryWeight` and renamed it to `isArbitraryNumber` to reflect its broader use case. You don't need to change anything right now, but if you have some spare time, rename `isArbitraryWeight` → `isArbitraryNumber` in your code since `isArbitraryWeight` will be removed in the next major release. ##### Other - Add package version number to dev releases by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/154](https://togithub.com/dcastil/tailwind-merge/pull/154) - Now dev releases don't start with `0.0.0-dev` anymore and instead have the version number of the last release, like `1.6.1-dev`. That makes it easier for tools like [Renovate](https://renovatebot.com/) to understand which package version you're using in case you use dev releases. **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.6.1...v1.6.2 ### [`v1.6.1`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.6.1) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.6.0...v1.6.1) ##### Bug Fixes - Fix h-min not working by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/146](https://togithub.com/dcastil/tailwind-merge/pull/146) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.6.0...v1.6.1 ### [`v1.6.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v1.6.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.5.1...v1.6.0) ##### New Features - Add support for arrays as argument by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/127](https://togithub.com/dcastil/tailwind-merge/pull/127) - You can now use arbitrarily nested arrays as arguments to `twMerge`. That's especially handy for nested conditions. ```js twMerge('…', someBool && ['…', anotherBool && '…']) ``` - The joining of arguments is done with a new `join` function which [is present in the tailwind-merge exports](https://togithub.com/dcastil/tailwind-merge/blob/v1.6.0/docs/api-reference.md#join) as well. It has the same functionality as [clsx](https://togithub.com/lukeed/clsx) but without support for objects as arguments which makes it a little faster. - Why no objects as arguments? You can read about my reasoning in [https://github.com/dcastil/tailwind-merge/discussions/137#discussioncomment-3481605](https://togithub.com/dcastil/tailwind-merge/discussions/137#discussioncomment-3481605). ##### Bug Fixes - Replace matchAll with exec by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/133](https://togithub.com/dcastil/tailwind-merge/pull/133) - This makes tailwind-merge work in older browsers which don't support `String.prototype.matchAll()` ##### Other - Add recipes section to docs by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/134](https://togithub.com/dcastil/tailwind-merge/pull/134) - Split docs into multiple files by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/131](https://togithub.com/dcastil/tailwind-merge/pull/131) - Add comments to released PRs and their related issues by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/130](https://togithub.com/dcastil/tailwind-merge/pull/130) - Add tests to check actual CJS and ESM package exports by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/129](https://togithub.com/dcastil/tailwind-merge/pull/129) - Remove ts files from npm package by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/128](https://togithub.com/dcastil/tailwind-merge/pull/128) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.5.1...v1.6.0 Thanks to [@​charkour](https://togithub.com/charkour) for sponsoring tailwind-merge! ❤️

Configuration

📅 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.

👻 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.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-tailwind ❌ Failed (Inspect) Jul 16, 2023 4:42pm