tailwindcss/packages
Robin Malfait bd3d6bc09b
Migrate legacy classes to the v4 alternative (#14643)
This PR adds a mapping from legacy classes to new classes. For example,
the `flex-shrink-0` is still used in our projects, but is deprecated in
v3.

The migration does a tiny bit of parsing because we can't rely on
`designSystem.parseCandidate(…)` because this requires the utility to be
defined which is not the case for legacy classes.

This migration runs _after_ the migration where we handle prefixes, so
we don't have to worry about that. We do have to worry about the `!`
location, because the `important` migration also relies on the
`designSystem`.

| Old                 | New                    |
| ------------------- | ---------------------- |
| `overflow-clip`     | `text-clip`            |
| `overflow-ellipsis` | `text-ellipsis`        |
| `flex-grow-0`       | `grow-0`               |
| `flex-shrink-0`     | `shrink-0`             |
| `decoration-clone`  | `box-decoration-clone` |
| `decoration-slice`  | `box-decoration-slice` |
2024-10-11 14:22:55 +02:00
..
@tailwindcss-cli Fix CLI client crash when a file is removed before we process the change notification (#14616) 2024-10-09 14:56:08 +00:00
@tailwindcss-node release v4.0.0-alpha.26 2024-10-03 16:39:59 +02:00
@tailwindcss-postcss Don't set display: none on elements that use hidden="until-found" (#14631) 2024-10-09 13:55:58 +02:00
@tailwindcss-standalone Update bun 1.1.26 → 1.1.29 (patch) (#14608) 2024-10-07 11:24:59 +02:00
@tailwindcss-upgrade Migrate legacy classes to the v4 alternative (#14643) 2024-10-11 14:22:55 +02:00
@tailwindcss-vite release v4.0.0-alpha.26 2024-10-03 16:39:59 +02:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Pass options when using addComponents and matchComponents (#14590) 2024-10-10 12:56:59 +00:00
tsconfig.base.json introduce v4 codebase 2024-03-05 14:29:15 +01:00