tailwindcss/packages
Philipp Spiess a636933cd4
Add discrete properties to the default list of transition properties (#17812)
This PR changes the `transition` utility to include five new properties:

- `display`
- `visibility`
- `content-visibility`
- `overlay`
- `pointer-eventes`

On its own, this change does nothing since these properties will apply
their change _immediately_. However, in combination with
`transition-discrete` this will ensure that you can now transition these
types without requiering `transition-all` or arbitrary transition
properties.

## Test plan

- Ensured this works in the Vite playground with native `<dialog>`
components


https://github.com/user-attachments/assets/89bf4a75-b681-4574-8bb4-845fffdec43b

Notice how:

- the backdrop stays open until the transition is over (that's because
of `overlay` in the property list)
- the dialog is displayed until the transition is over

---------

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2025-04-30 14:30:58 +02:00
..
@tailwindcss-browser Prepare v4.1.4 release (#17669) 2025-04-14 17:32:30 +02:00
@tailwindcss-cli Prepare v4.1.4 release (#17669) 2025-04-14 17:32:30 +02:00
@tailwindcss-node Prepare v4.1.4 release (#17669) 2025-04-14 17:32:30 +02:00
@tailwindcss-postcss PostCSS: Improve error recovery (#17754) 2025-04-25 12:02:10 +02:00
@tailwindcss-standalone Update bun 1.2.8 → 1.2.11 (patch) (#17816) 2025-04-29 17:58:01 +02:00
@tailwindcss-upgrade Do not sort and format stylesheets that didn't change (#17824) 2025-04-29 17:07:35 +00:00
@tailwindcss-vite Prepare v4.1.4 release (#17669) 2025-04-14 17:32:30 +02:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Add discrete properties to the default list of transition properties (#17812) 2025-04-30 14:30:58 +02:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00