From afeed6796b33313fd7884d4eb4f08a7280a26b9c Mon Sep 17 00:00:00 2001 From: wongjn <11310624+wongjn@users.noreply.github.com> Date: Sat, 25 Jan 2025 12:45:57 +0000 Subject: [PATCH 1/4] Remove `min-w/h-none` `none` is not a valid value for `min-width/height`. --- packages/tailwindcss/src/utilities.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/tailwindcss/src/utilities.ts b/packages/tailwindcss/src/utilities.ts index 8de82f4cbbad..99c8b4282a40 100644 --- a/packages/tailwindcss/src/utilities.ts +++ b/packages/tailwindcss/src/utilities.ts @@ -896,9 +896,7 @@ export function createUtilities(theme: Theme) { staticUtility(`min-h-screen`, [['min-height', '100vh']]) staticUtility(`max-h-screen`, [['max-height', '100vh']]) - staticUtility(`min-w-none`, [['min-width', 'none']]) staticUtility(`max-w-none`, [['max-width', 'none']]) - staticUtility(`min-h-none`, [['min-height', 'none']]) staticUtility(`max-h-none`, [['max-height', 'none']]) spacingUtility( From 27c590fefde25d93aa9479be1e3ba69dcf6e9315 Mon Sep 17 00:00:00 2001 From: wongjn <11310624+wongjn@users.noreply.github.com> Date: Sat, 25 Jan 2025 12:55:58 +0000 Subject: [PATCH 2/4] Update changelog --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cf05bf19e3e..c0bb238f8cd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet +### Removed + +- Remove invalid `min-w/h-none` utilities ([#15845](https://github.com/tailwindlabs/tailwindcss/pull/15845)) ## [4.0.0] - 2025-01-21 ## [4.0.0-beta.10] - 2025-01-21 From 227ca6d30d1f3a5458711e9a584306cfa26bebb3 Mon Sep 17 00:00:00 2001 From: wongjn <11310624+wongjn@users.noreply.github.com> Date: Sat, 25 Jan 2025 12:59:45 +0000 Subject: [PATCH 3/4] Update intellisense test snapshot --- .../tailwindcss/src/__snapshots__/intellisense.test.ts.snap | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap b/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap index 3f95c9fafcb1..203e52712f55 100644 --- a/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap +++ b/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap @@ -4719,7 +4719,6 @@ exports[`getClassList 1`] = ` "min-h-lvw", "min-h-max", "min-h-min", - "min-h-none", "min-h-px", "min-h-screen", "min-h-svh", @@ -4767,7 +4766,6 @@ exports[`getClassList 1`] = ` "min-w-lvw", "min-w-max", "min-w-min", - "min-w-none", "min-w-px", "min-w-screen", "min-w-svh", From 5d5dba2e22ae9ae7348d35ec14e508a3a27876a6 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Sat, 25 Jan 2025 12:02:22 -0500 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0bb238f8cd0..49fff091e19f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Removed +### Fixed - Remove invalid `min-w/h-none` utilities ([#15845](https://github.com/tailwindlabs/tailwindcss/pull/15845)) ## [4.0.0] - 2025-01-21 + ## [4.0.0-beta.10] - 2025-01-21 ### Added