tailwindcss/packages
Robin Malfait 57be02a983
Improve in-* variant migrations (#15054)
While testing the codemods on some projects, I noticed some issues with
the migration to the new `in-*` variant.

One such example is that we checked for `&` at the end, instead of ` &`
(the whitespace is significant).

This meant that `[figure>&]:my-0` was converted to `in-[figure>]:my-0`
which is wrong. In this case, we want to keep it as `[figure>&]:my-0`.

Additionally this PR brings back the migration from `group-[]:flex` to
`in-[.group]:flex`. If you are using a prefix, then `group-[]:tw-flex`
is migrated to `tw:in-[.tw\:group]:flex`.

Last but not least, this does some internal refactors to group
migrations logically together.
2024-11-20 15:47:26 +01:00
..
@tailwindcss-cli Prepare v4.0.0-alpha.35 release (#15052) 2024-11-20 11:12:32 +00:00
@tailwindcss-node Prepare v4.0.0-alpha.35 release (#15052) 2024-11-20 11:12:32 +00:00
@tailwindcss-postcss Prepare v4.0.0-alpha.35 release (#15052) 2024-11-20 11:12:32 +00:00
@tailwindcss-standalone Prepare v4.0.0-alpha.35 release (#15052) 2024-11-20 11:12:32 +00:00
@tailwindcss-upgrade Improve in-* variant migrations (#15054) 2024-11-20 15:47:26 +01:00
@tailwindcss-vite Prepare v4.0.0-alpha.35 release (#15052) 2024-11-20 11:12:32 +00:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Prepare v4.0.0-alpha.35 release (#15052) 2024-11-20 11:12:32 +00:00
tsconfig.base.json introduce v4 codebase 2024-03-05 14:29:15 +01:00