tailwindcss/packages
Robin Malfait 65bad11380
Do not migrate variant = 'outline' during upgrades (#18922)
This PR improves the upgrade tool for shadcn/ui projects where the
`variant = "outline"` is incorrectly migrated to `variant =
"outline-solid"`.

This PR also handles a few more cases:

```ts
// As default argument
function Button({ variant = "outline", ...props }: ButtonProps) { }

// With different kinds of quotes (single, double, backticks)
function Button({ variant = 'outline', ...props }: ButtonProps) { }

// Regardless of whitespace
function Button({ variant="outline", ...props }: ButtonProps) { }

// In JSX
<Button variant="outline" />

// With different quotes and using JavaScript expressions
<Button variant={'outline'} />

// As an object property
buttonVariants({ variant: "outline" })
```
2025-09-12 09:20:18 +00:00
..
@tailwindcss-browser Prepare v4.1.13 release (#18868) 2025-09-04 13:18:25 -04:00
@tailwindcss-cli Fix CLI watcher cleanup race (#18905) 2025-09-09 17:14:09 +02:00
@tailwindcss-node Prepare v4.1.13 release (#18868) 2025-09-04 13:18:25 -04:00
@tailwindcss-postcss Prepare v4.1.13 release (#18868) 2025-09-04 13:18:25 -04:00
@tailwindcss-standalone Prepare v4.1.13 release (#18868) 2025-09-04 13:18:25 -04:00
@tailwindcss-upgrade Do not migrate variant = 'outline' during upgrades (#18922) 2025-09-12 09:20:18 +00:00
@tailwindcss-vite Prepare v4.1.13 release (#18868) 2025-09-04 13:18:25 -04:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Proposal: Allow overwriting static utilities that have a namespace (#18056) 2025-09-11 12:21:50 +02:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00