tailwindcss/packages/@tailwindcss-upgrade/src
Robin Malfait fd8315bec7
Migrate from, via, and to arbitrary values to bare values (#14725)
This PR migrates arbitrary values for the `from-*`, `via-*` and `to-*`
utilities
to bare values.

Input:
```html
<div class="from-[28%]"></div>
<div class="via-[28%]"></div>
<div class="to-[28%]"></div>
```

Output:
```html
<div class="from-28%"></div>
<div class="via-28%"></div>
<div class="to-28%"></div>
```

---------

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2024-10-19 09:05:38 -04:00
..
codemods Migrate static plugins with options to CSS (#14700) 2024-10-18 15:16:27 +02:00
commands/help Add initial codemod tooling (#14434) 2024-09-18 16:45:43 +02:00
template Migrate from, via, and to arbitrary values to bare values (#14725) 2024-10-19 09:05:38 -04:00
utils Include simple config objects when extracting static plugins (#14699) 2024-10-18 15:10:21 +02:00
index.test.ts Add simple JS config migration (#14639) 2024-10-11 15:27:53 +02:00
index.ts Resolve theme keys when migrating JS config to CSS (#14675) 2024-10-17 16:36:47 -04:00
migrate-js-config.ts content rules from the JS config that are also covered by the automatic source detection should not be migrated to CSS (#14714) 2024-10-18 15:48:56 +02:00
migrate-postcss.ts Migrate simple PostCSS setup (#14612) 2024-10-10 15:09:14 +02:00
migrate.ts Migrate theme(…) to var(…) in CSS (#14695) 2024-10-17 11:50:27 +02:00
stylesheet.ts Migrate utilities in CSS files imported into layers (#14617) 2024-10-10 15:44:04 +02:00