ruiaraujo012 / fx-clash-stats-web

https://ruiaraujo012.github.io/fx-clash-stats-web/
11 stars 5 forks source link

fix(deps): update dependency tailwind-merge to v2 #57

Open renovate[bot] opened 10 months ago

renovate[bot] commented 10 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
tailwind-merge ^1.13.2 -> ^2.0.0 age adoption passing confidence

Release Notes

dcastil/tailwind-merge (tailwind-merge) ### [`v2.5.2`](https://togithub.com/dcastil/tailwind-merge/compare/v2.5.1...a72f2f474fbba41c9940d3c9737cd3ad431d68da) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.5.1...v2.5.2) ### [`v2.5.1`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.5.1) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.5.0...v2.5.1) ##### Bug Fixes - Fx space at beginning of input causing infinite loop by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/457](https://togithub.com/dcastil/tailwind-merge/pull/457) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.5.0...v2.5.1 Thanks to [@​brandonmcconnell](https://togithub.com/brandonmcconnell), [@​manavm1990](https://togithub.com/manavm1990), [@​langy](https://togithub.com/langy), [@​jamesreaco](https://togithub.com/jamesreaco) and [@​jamaluddinrumi](https://togithub.com/jamaluddinrumi) for sponsoring tailwind-merge! ❤️ ### [`v2.5.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.5.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.4.0...v2.5.0) ##### New Features - Performance improvements in mergeClassList by [@​XantreDev](https://togithub.com/XantreDev) in [https://github.com/dcastil/tailwind-merge/pull/450](https://togithub.com/dcastil/tailwind-merge/pull/450) and [@​rortan134](https://togithub.com/rortan134) in [https://github.com/dcastil/tailwind-merge/pull/445](https://togithub.com/dcastil/tailwind-merge/pull/445) - Use arrow functions where possible to help with minification by [@​VIKTORVAV99](https://togithub.com/VIKTORVAV99) in [https://github.com/dcastil/tailwind-merge/pull/449](https://togithub.com/dcastil/tailwind-merge/pull/449) ##### Bug Fixes - Fix bg-opacity arbitrary percentages not being recognized properly by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/451](https://togithub.com/dcastil/tailwind-merge/pull/451) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.4.0...v2.5.0 Thanks to [@​brandonmcconnell](https://togithub.com/brandonmcconnell), [@​manavm1990](https://togithub.com/manavm1990), [@​langy](https://togithub.com/langy) and [@​jamesreaco](https://togithub.com/jamesreaco) for sponsoring tailwind-merge! ❤️ ### [`v2.4.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.4.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0) ##### New Features - Allow hooking into class parsing logic (experimental) by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/444](https://togithub.com/dcastil/tailwind-merge/pull/444) - There is no info to this in the docs because this is experimental, but there is a new `experimentalParseClassName` property in the config that allows you to customize how tailwind-merge recognizes classes. If you're interested, you can read how to use it in the [inline JSDocs](https://togithub.com/dcastil/tailwind-merge/pull/444/files#diff-b8b77f5be18cf56dca425b3a5b8e9d2e754dd37fe0e3612b95cd4e9bccda08a5) and subscribe to [https://github.com/dcastil/tailwind-merge/issues/385](https://togithub.com/dcastil/tailwind-merge/issues/385) for upcoming more powerful low-level functionality. - Create security policy by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/439](https://togithub.com/dcastil/tailwind-merge/pull/439) - Added documentation on how to report potential vulnerabilities - Avoid `@babel/runtime` dependency by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/431](https://togithub.com/dcastil/tailwind-merge/pull/431) - Now no dependencies in tailwind-merge anymore. This dependency was only used in the `tailwind-merge/es5` bundle anyway which I don't optimize for. ##### Documentation - Comment/typo fixes by [@​barvian](https://togithub.com/barvian) in [https://github.com/dcastil/tailwind-merge/pull/443](https://togithub.com/dcastil/tailwind-merge/pull/443) - Fix typo in doc/recipes.md by [@​dsernst](https://togithub.com/dsernst) in [https://github.com/dcastil/tailwind-merge/pull/428](https://togithub.com/dcastil/tailwind-merge/pull/428) - docs: add tailwind-merge-dotnet to similar packages by [@​desmondinho](https://togithub.com/desmondinho) in [https://github.com/dcastil/tailwind-merge/pull/415](https://togithub.com/dcastil/tailwind-merge/pull/415) ##### Other - Added GitHub Action that adds context-v2 label to every issue, discussion and PR by [@​Pritam1211](https://togithub.com/Pritam1211) in [https://github.com/dcastil/tailwind-merge/pull/434](https://togithub.com/dcastil/tailwind-merge/pull/434) - Replace size-limit action with own metrics-report action by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/433](https://togithub.com/dcastil/tailwind-merge/pull/433) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0 Thanks to [@​brandonmcconnell](https://togithub.com/brandonmcconnell), [@​manavm1990](https://togithub.com/manavm1990), [@​langy](https://togithub.com/langy), [@​jamesreaco](https://togithub.com/jamesreaco) and [@​microsoft](https://togithub.com/microsoft) for sponsoring tailwind-merge! ❤️ ### [`v2.3.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.3.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.2.2...v2.3.0) ##### New Features - Add support for mix-blend-plus-darker utility by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/403](https://togithub.com/dcastil/tailwind-merge/pull/403) - Added support for bigint in ClassNameValue type by [@​LarsArtmann](https://togithub.com/LarsArtmann) in [https://github.com/dcastil/tailwind-merge/pull/402](https://togithub.com/dcastil/tailwind-merge/pull/402) ##### Documentation - Add tailwind-merge-go to similar packages in docs by [@​Oudwins](https://togithub.com/Oudwins) in [https://github.com/dcastil/tailwind-merge/pull/396](https://togithub.com/dcastil/tailwind-merge/pull/396) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.2.2...v2.3.0 Thanks to [@​brandonmcconnell](https://togithub.com/brandonmcconnell), [@​manavm1990](https://togithub.com/manavm1990), [@​langy](https://togithub.com/langy) and [@​jamesreaco](https://togithub.com/jamesreaco) for sponsoring tailwind-merge! ❤️ ### [`v2.2.2`](https://togithub.com/dcastil/tailwind-merge/compare/v2.2.1...dac08e4973b881d2f36a840ebf787ad4a4548562) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.2.1...v2.2.2) ### [`v2.2.1`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.2.1) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.2.0...v2.2.1) ##### Bug Fixes - Fix stroke-color being incorrectly detected as stroke-width by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/371](https://togithub.com/dcastil/tailwind-merge/pull/371) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.2.0...v2.2.1 Thanks to [@​brandonmcconnell](https://togithub.com/brandonmcconnell), [@​manavm1990](https://togithub.com/manavm1990) and [@​langy](https://togithub.com/langy) for sponsoring tailwind-merge! ❤️ ### [`v2.2.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.2.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.1.0...v2.2.0) ##### New Features - Add support for Tailwind CSS v3.4 by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/360](https://togithub.com/dcastil/tailwind-merge/pull/360) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.1.0...v2.2.0 Thanks to [@​brandonmcconnell](https://togithub.com/brandonmcconnell), [@​manavm1990](https://togithub.com/manavm1990), [@​ErwinAI](https://togithub.com/ErwinAI) and [@​langy](https://togithub.com/langy) for sponsoring tailwind-merge! ❤️ ### [`v2.1.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.1.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.0.0...v2.1.0) ##### New Features - Add `ClassValidator` type to package exports by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/348](https://togithub.com/dcastil/tailwind-merge/pull/348) ##### Bug Fixes - Fix display class not removed when it precedes line-clamp class by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/347](https://togithub.com/dcastil/tailwind-merge/pull/347) ##### Documentation - Fix curly bracket typo in config docs by [@​Kosai106](https://togithub.com/Kosai106) in [https://github.com/dcastil/tailwind-merge/pull/349](https://togithub.com/dcastil/tailwind-merge/pull/349) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.0.0...v2.1.0 Thanks to [@​brandonmcconnell](https://togithub.com/brandonmcconnell), [@​manavm1990](https://togithub.com/manavm1990), [@​ErwinAI](https://togithub.com/ErwinAI) and [@​langy](https://togithub.com/langy) for sponsoring tailwind-merge! ❤️ ### [`v2.0.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.0.0) [Compare Source](https://togithub.com/dcastil/tailwind-merge/compare/v1.14.0...v2.0.0) The tailwind-merge v2 release has been sitting here almost finished for 2 months already. But the timing was never quite right, especially thinking about the increased support needed after the release. In the meantime, the product of the company I work at [launched in public beta](https://medium.com/@​risecal/meet-rise-the-calendar-that-works-for-you-were-launching-the-public-beta-today-bc07555a2191) and I married. Thank you for your patience. This release focuses on making it easier to configure the library for new users. Check out the [migration guide](https://togithub.com/dcastil/tailwind-merge/blob/v2.0.0/docs/changelog/v1-to-v2-migration.md) and if you have any questions, feel free to [create an issue](https://togithub.com/dcastil/tailwind-merge/issues/new/choose). ##### Breaking Changes - Fix `background-image` and `background-position` being merged incorrectly by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/300](https://togithub.com/dcastil/tailwind-merge/pull/300) - Values for `background-position` and `background-size` can look very similar and Tailwind CSS uses the same `bg-` prefix for both groups. This results in some [limitations](https://togithub.com/dcastil/tailwind-merge/blob/v2.0.0/docs/limitations.md) for tailwind-merge. If you use background position or background size with arbitrary values, please read [this section](https://togithub.com/dcastil/tailwind-merge/blob/v2.0.0/docs/limitations.md#you-need-to-use-label-in-arbitrary-background-position-and-background-size-classes) about how to use them. - Make types of available keys more strict and configurable through generics by [@​kachkaev](https://togithub.com/kachkaev) in [https://github.com/dcastil/tailwind-merge/pull/279](https://togithub.com/dcastil/tailwind-merge/pull/279) - Make it possible to override elements with `extendTailwindMerge` by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/294](https://togithub.com/dcastil/tailwind-merge/pull/294) - Separate validators better by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/292](https://togithub.com/dcastil/tailwind-merge/pull/292) - Make `conflictingClassGroupModifiers` in config non-optional by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/291](https://togithub.com/dcastil/tailwind-merge/pull/291) - Move separator to config by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/290](https://togithub.com/dcastil/tailwind-merge/pull/290) - Remove `module` field from package.json by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/289](https://togithub.com/dcastil/tailwind-merge/pull/289) - Remove deprecated exports by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/288](https://togithub.com/dcastil/tailwind-merge/pull/288) - Transpile lib to more modern JS by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/287](https://togithub.com/dcastil/tailwind-merge/pull/287) ##### New Features - Make types of available keys more strict and configurable through generics by [@​kachkaev](https://togithub.com/kachkaev) in [https://github.com/dcastil/tailwind-merge/pull/279](https://togithub.com/dcastil/tailwind-merge/pull/279) - Make it possible to override elements with `extendTailwindMerge` by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/294](https://togithub.com/dcastil/tailwind-merge/pull/294) - Separate validators better by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/292](https://togithub.com/dcastil/tailwind-merge/pull/292) - Make `conflictingClassGroupModifiers` in config non-optional by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/291](https://togithub.com/dcastil/tailwind-merge/pull/291) - Move separator to config by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/290](https://togithub.com/dcastil/tailwind-merge/pull/290) - Remove `module` field from package.json by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/289](https://togithub.com/dcastil/tailwind-merge/pull/289) - Remove deprecated exports by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/288](https://togithub.com/dcastil/tailwind-merge/pull/288) - Transpile lib to more modern JS by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/287](https://togithub.com/dcastil/tailwind-merge/pull/287) - Add ES5 bundle by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/286](https://togithub.com/dcastil/tailwind-merge/pull/286) ##### Bug Fixes - Fix touch action classes overriding each other incorrectly by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/313](https://togithub.com/dcastil/tailwind-merge/pull/313) - Fix `background-image` and `background-position` being merged incorrectly by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/300](https://togithub.com/dcastil/tailwind-merge/pull/300) - Fix number validators accidentally returning `true` for empty strings by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/295](https://togithub.com/dcastil/tailwind-merge/pull/295) - Rename lazy-initializaton.test.ts to lazy-initialization.test.ts by [@​CrutchTheClutch](https://togithub.com/CrutchTheClutch) in [https://github.com/dcastil/tailwind-merge/pull/284](https://togithub.com/dcastil/tailwind-merge/pull/284) ##### Documentation - Explain limitations of arbitrary values in `bg-size` and `bg-position` class groups in docs by [@​dcastil](https://togithub.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/328](https://togithub.com/dcastil/tailwind-merge/pull/328) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.14.0...v2.0.0 Thanks to [@​quezlatch](https://togithub.com/quezlatch), [@​brandonmcconnell](https://togithub.com/brandonmcconnell), [@​manavm1990](https://togithub.com/manavm1990) and [@​ErwinAI](https://togithub.com/ErwinAI) for sponsoring 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

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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.