tailwindcss/packages
Robin Malfait 924dd69bdb
Ensure @custom-variant foo () has a non-empty selector list (#16009)
This PR fixes an issue where an empty selector list was valid when
defining a `@custom-variant`.

Given this input:
```css
@custom-variant foo ();
```

If you then use it with a utility such as `foo:flex`, then the following
(incorrect) CSS was generated:

```css
.foo\:flex {
   {
    display: flex;
  }
}
```

Which is invalid CSS. This PR will now validate that that we have at
least _something_ and show an error accordingly.
2025-01-29 16:09:09 +01:00
..
@tailwindcss-browser Ensure browser package does not pollute global namespace (#15978) 2025-01-28 16:58:08 +01:00
@tailwindcss-cli Prepare v4.0.0 release (#15693) 2025-01-21 20:58:59 +00:00
@tailwindcss-node Prepare v4.0.0 release (#15693) 2025-01-21 20:58:59 +00:00
@tailwindcss-postcss Prepare v4.0.0 release (#15693) 2025-01-21 20:58:59 +00:00
@tailwindcss-standalone Revert "Update bun 1.1.43 → 1.2.0 (minor) (#15922)" 2025-01-28 17:03:17 +01:00
@tailwindcss-upgrade Correctly migrate leading-* classes (#16004) 2025-01-29 15:22:13 +01:00
@tailwindcss-vite Prepare v4.0.0 release (#15693) 2025-01-21 20:58:59 +00:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Ensure @custom-variant foo () has a non-empty selector list (#16009) 2025-01-29 16:09:09 +01:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00