Commit 85dc3db
This PR adds two new utilities for the `transition-behavior` property:
| Name | Definition |
| --- | --- |
| `transition-discrete` | `transition-behavior: allow-discrete` |
| `transition-normal` | `transition-behavior: normal` |
# Test plan
Not a lot too test here, but verified in the browser that these
properties generate correct CSS:
<img width="301" alt="image"
src="https://github.com/user-attachments/assets/db314750-e129-47d6-b605-d3b367ae81a4">
<img width="253" alt="image"
src="https://github.com/user-attachments/assets/24da5a6e-0b6a-48aa-a042-5ec19773bc6b">
---------
Co-authored-by: Adam Wathan <[email protected]>
1 parent 75deeca commit 85dc3db
File tree
5 files changed
+21
-0
lines changed- packages/tailwindcss/src
- __snapshots__
5 files changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7176 | 7176 | | |
7177 | 7177 | | |
7178 | 7178 | | |
| 7179 | + | |
7179 | 7180 | | |
| 7181 | + | |
7180 | 7182 | | |
7181 | 7183 | | |
7182 | 7184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14463 | 14463 | | |
14464 | 14464 | | |
14465 | 14465 | | |
| 14466 | + | |
| 14467 | + | |
| 14468 | + | |
| 14469 | + | |
| 14470 | + | |
| 14471 | + | |
| 14472 | + | |
| 14473 | + | |
| 14474 | + | |
| 14475 | + | |
| 14476 | + | |
| 14477 | + | |
| 14478 | + | |
| 14479 | + | |
14466 | 14480 | | |
14467 | 14481 | | |
14468 | 14482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3552 | 3552 | | |
3553 | 3553 | | |
3554 | 3554 | | |
| 3555 | + | |
| 3556 | + | |
| 3557 | + | |
3555 | 3558 | | |
3556 | 3559 | | |
3557 | 3560 | | |
| |||
0 commit comments