tailwindcss/packages
Robin Malfait d325e70496
Convert , to in grid-cols-[…], grid-rows-[…], and object-[…] (#14927)
This PR converts legacy commas in arbitrary values to spaces.

In Tailwind CSS v3, we allowed commas in arbitrary values for
`grid-cols-[…]`, `grid-rows-[…]`, and `object-[…]` for backwards
compatibility. The underlying CSS value did use spaces instead of
commas.

This PR adds a code mod where convert the commas to spaces when we see
them.


Test plan:
---

Running this on Catalyst it goes from this:

<img width="393" alt="image"
src="https://github.com/user-attachments/assets/03cbda73-41f9-4601-b77a-5b511226b876">

To the expected value of:

<img width="376" alt="image"
src="https://github.com/user-attachments/assets/dd9bbe01-5eb1-4340-937b-70c435e7e4f0">

---------

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2024-11-11 10:26:37 -05:00
..
@tailwindcss-cli Optimize generated CSS output (#14873) 2024-11-06 11:39:09 +00:00
@tailwindcss-node Rewrite urls in CSS files when using Vite (#14877) 2024-11-07 09:51:58 -05:00
@tailwindcss-postcss Sort theme variables in a more intentional order (#14952) 2024-11-11 10:08:49 -05:00
@tailwindcss-standalone Prepare v4.0.0-alpha.31 release (#14823) 2024-10-30 07:53:51 -04:00
@tailwindcss-upgrade Convert , to in grid-cols-[…], grid-rows-[…], and object-[…] (#14927) 2024-11-11 10:26:37 -05:00
@tailwindcss-vite Vite: Support Tailwind in Svelte <style> blocks (#14151) 2024-11-08 20:01:16 +01:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Plugin API: Allow custom utilities to start with @ (#14793) 2024-11-11 15:11:44 +00:00
tsconfig.base.json introduce v4 codebase 2024-03-05 14:29:15 +01:00