Skip to content

Conversation

@RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Jul 9, 2024

This PR adds missing utilities that exist in v3:

  • resize, we had resize-both but renamed it to just resize
  • fill-none
  • accent-auto
  • blur-0
  • backdrop-blur-0
  • drop-shadow-none
  • negative hue-rotate utilities
  • negative backdrop-hue-rotate utilities
  • max-w-screen-* utilities

@RobinMalfait RobinMalfait force-pushed the feat/add-missing-utilities-from-v3 branch from 6e84be0 to 0c68e89 Compare July 9, 2024 12:13
@RobinMalfait RobinMalfait added the v4 label Jul 9, 2024
@adamwathan
Copy link
Member

Few things!

  • The max-w-screen stuff was removed deliberately because we aren't really using screen terminology anymore. Should make sure we capture this in a breaking change list and consider offering a codemod to migrate to max-w-[var(--breakpoint-xl)] type of syntax instead.
  • blur-0 and backdrop-blur-0 were considered deprecated when we introduced the none values instead, and aren't documented in our docs, so I think these should be removed and captured in a breaking change list.

Otherwise looks good to me 👍

@RobinMalfait
Copy link
Member Author

@adamwathan aha good catch! Reverted those commits, and tracked those as breaking changes in the breaking changes list.

@RobinMalfait RobinMalfait force-pushed the feat/add-missing-utilities-from-v3 branch from d08f9d9 to fff7cb7 Compare July 10, 2024 08:12
@RobinMalfait RobinMalfait force-pushed the feat/add-missing-utilities-from-v3 branch 2 times, most recently from d43317c to 3791883 Compare July 10, 2024 13:59
@RobinMalfait RobinMalfait merged commit f7686e1 into next Jul 10, 2024
@RobinMalfait RobinMalfait deleted the feat/add-missing-utilities-from-v3 branch July 10, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants