tailwindcss/packages/@tailwindcss-upgrade/src/codemods
Adam Wathan 56288a318a
Remove input borders by default (#14929)
This PR reverts a change we made for v4 that added borders to inputs by
default. It feels like we have to go further than this for this to
actually be useful to anyone, and since there were no borders in v3 it's
also a breaking change.

If we wanted to make form elements look more "normal" out of the box I
think we need to do something more like this:

https://play.tailwindcss.com/icCwFLVp4z?file=css

But it's a huge rabbit hole and there are so many stupid details to get
right that it feels like an insurmountable task, and if we can't go all
the way with it it's better to just maximize compatibility with v3.

---------

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
2024-11-08 15:29:41 -05:00
..
fixtures Upgrade: Rewrite imports of relative files to use relative file paths (#14755) 2024-10-22 16:30:41 -04:00
format-nodes.test.ts Sort upgraded CSS (#14866) 2024-11-07 12:04:52 +00:00
format-nodes.ts Sort upgraded CSS (#14866) 2024-11-07 12:04:52 +00:00
migrate-at-apply.test.ts Ensure upgrade tool has access to a JS config (#14597) 2024-10-07 18:02:28 +02:00
migrate-at-apply.ts Ensure upgrade tool has access to a JS config (#14597) 2024-10-07 18:02:28 +02:00
migrate-at-layer-utilities.test.ts Sort upgraded CSS (#14866) 2024-11-07 12:04:52 +00:00
migrate-at-layer-utilities.ts Sort upgraded CSS (#14866) 2024-11-07 12:04:52 +00:00
migrate-border-compatibility.test.ts Remove input borders by default (#14929) 2024-11-08 15:29:41 -05:00
migrate-border-compatibility.ts Remove input borders by default (#14929) 2024-11-08 15:29:41 -05:00
migrate-config.ts Sort upgraded CSS (#14866) 2024-11-07 12:04:52 +00:00
migrate-import.test.ts Upgrade: Rewrite imports of relative files to use relative file paths (#14755) 2024-10-22 16:30:41 -04:00
migrate-import.ts Upgrade: Rewrite imports of relative files to use relative file paths (#14755) 2024-10-22 16:30:41 -04:00
migrate-media-screen.test.ts Sort upgraded CSS (#14866) 2024-11-07 12:04:52 +00:00
migrate-media-screen.ts Add codemod for migrating the @screen directive (#14749) 2024-10-22 16:09:56 +00:00
migrate-missing-layers.test.ts Sort upgraded CSS (#14866) 2024-11-07 12:04:52 +00:00
migrate-missing-layers.ts Inject @config "..." when a tailwind.config.{js,ts,...} is detected (#14635) 2024-10-10 14:02:42 +00:00
migrate-tailwind-directives.test.ts Sort upgraded CSS (#14866) 2024-11-07 12:04:52 +00:00
migrate-tailwind-directives.ts Add codemod for migrating @variants and @responsive directives (#14748) 2024-10-22 16:09:54 +00:00
migrate-theme-to-var.test.ts Sort upgraded CSS (#14866) 2024-11-07 12:04:52 +00:00
migrate-theme-to-var.ts Migrate theme(…) to var(…) in CSS (#14695) 2024-10-17 11:50:27 +02:00
migrate-variants-directive.test.ts Sort upgraded CSS (#14866) 2024-11-07 12:04:52 +00:00
migrate-variants-directive.ts Add codemod for migrating @variants and @responsive directives (#14748) 2024-10-22 16:09:54 +00:00
sort-buckets.ts Sort upgraded CSS (#14866) 2024-11-07 12:04:52 +00:00