tailwindcss/packages
Robin Malfait 6c0c6a5941
Discard invalid variants and utilities with modifiers (#13977)
* ensure that static utilities do not take a `modifier`

* do not allow multiple segments for now

Right now, `bg-red-1/2/3` should not parse

* add tests for variants that don't accept a modifier

* ensure static variants do not accept a modifier

* do not accept a modifier for some variants

* add tests for utilities that don't accept a modifier

* do not accept a modifier for some utilities

* update changelog

* re-add sorting related test
2024-07-10 15:56:33 +02:00
..
@tailwindcss-cli Prep next release: 4.0.0-alpha.17 (#13951) 2024-07-04 19:08:10 +02:00
@tailwindcss-postcss Prep next release: 4.0.0-alpha.17 (#13951) 2024-07-04 19:08:10 +02:00
@tailwindcss-vite Prep next release: 4.0.0-alpha.17 (#13951) 2024-07-04 19:08:10 +02:00
tailwindcss Discard invalid variants and utilities with modifiers (#13977) 2024-07-10 15:56:33 +02:00
tsconfig.base.json introduce v4 codebase 2024-03-05 14:29:15 +01:00