Skip to content

Bring back max-w-screen-* utilities#15013

Merged
adamwathan merged 7 commits into
nextfrom
feat/max-w-screen
Nov 16, 2024
Merged

Bring back max-w-screen-* utilities#15013
adamwathan merged 7 commits into
nextfrom
feat/max-w-screen

Conversation

@philipp-spiess

@philipp-spiess philipp-spiess commented Nov 15, 2024

Copy link
Copy Markdown
Contributor

This PR brings back the max-w-screen-* utilities from v3 that read from the --breakpoint namespace.

Since these utilities are only added back for compatibility reasons, it's put into the compatibility layer.

Note that this does not do Intellisense recommendations for the functional utility.

Test Plan

Unit tests are upgraded including some from the compat test that extends the --breakpoint namespace from screen keys. Also tested this in the Vite playground.

@philipp-spiess philipp-spiess marked this pull request as ready for review November 15, 2024 16:37
@philipp-spiess philipp-spiess requested a review from a team as a code owner November 15, 2024 16:37
Comment thread packages/tailwindcss/src/compat/legacy-utilities.ts

@thecrypticace thecrypticace left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a note

Comment thread CHANGELOG.md Outdated
Comment thread packages/tailwindcss/src/compat/legacy-utilities.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants