From 9e705dbb9940b5dffd4ecc4e85f2c6a14f530c43 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Sat, 3 Apr 2021 06:41:44 -0400 Subject: [PATCH] Remove justify-auto and place-items-auto These CSS values don't even exist. --- .../fixtures/tailwind-output-flagged.css | 48 ------------------- .../fixtures/tailwind-output-important.css | 48 ------------------- .../tailwind-output-no-color-opacity.css | 48 ------------------- __tests__/fixtures/tailwind-output.css | 48 ------------------- jit/corePlugins/justifyItems.js | 3 -- jit/corePlugins/placeItems.js | 3 -- src/plugins/justifyItems.js | 3 -- src/plugins/placeItems.js | 3 -- 8 files changed, 204 deletions(-) diff --git a/__tests__/fixtures/tailwind-output-flagged.css b/__tests__/fixtures/tailwind-output-flagged.css index 4cd852aac..82819e086 100644 --- a/__tests__/fixtures/tailwind-output-flagged.css +++ b/__tests__/fixtures/tailwind-output-flagged.css @@ -10892,10 +10892,6 @@ video { flex-wrap: nowrap; } -.place-items-auto { - place-items: auto; -} - .place-items-start { place-items: start; } @@ -11024,10 +11020,6 @@ video { align-self: stretch; } -.justify-items-auto { - justify-items: auto; -} - .justify-items-start { justify-items: start; } @@ -39504,10 +39496,6 @@ video { flex-wrap: nowrap; } - .sm\:place-items-auto { - place-items: auto; - } - .sm\:place-items-start { place-items: start; } @@ -39636,10 +39624,6 @@ video { align-self: stretch; } - .sm\:justify-items-auto { - justify-items: auto; - } - .sm\:justify-items-start { justify-items: start; } @@ -68073,10 +68057,6 @@ video { flex-wrap: nowrap; } - .md\:place-items-auto { - place-items: auto; - } - .md\:place-items-start { place-items: start; } @@ -68205,10 +68185,6 @@ video { align-self: stretch; } - .md\:justify-items-auto { - justify-items: auto; - } - .md\:justify-items-start { justify-items: start; } @@ -96642,10 +96618,6 @@ video { flex-wrap: nowrap; } - .lg\:place-items-auto { - place-items: auto; - } - .lg\:place-items-start { place-items: start; } @@ -96774,10 +96746,6 @@ video { align-self: stretch; } - .lg\:justify-items-auto { - justify-items: auto; - } - .lg\:justify-items-start { justify-items: start; } @@ -125211,10 +125179,6 @@ video { flex-wrap: nowrap; } - .xl\:place-items-auto { - place-items: auto; - } - .xl\:place-items-start { place-items: start; } @@ -125343,10 +125307,6 @@ video { align-self: stretch; } - .xl\:justify-items-auto { - justify-items: auto; - } - .xl\:justify-items-start { justify-items: start; } @@ -153780,10 +153740,6 @@ video { flex-wrap: nowrap; } - .\32xl\:place-items-auto { - place-items: auto; - } - .\32xl\:place-items-start { place-items: start; } @@ -153912,10 +153868,6 @@ video { align-self: stretch; } - .\32xl\:justify-items-auto { - justify-items: auto; - } - .\32xl\:justify-items-start { justify-items: start; } diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index d478b50a9..2b121175a 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -10892,10 +10892,6 @@ video { flex-wrap: nowrap !important; } -.place-items-auto { - place-items: auto !important; -} - .place-items-start { place-items: start !important; } @@ -11024,10 +11020,6 @@ video { align-self: stretch !important; } -.justify-items-auto { - justify-items: auto !important; -} - .justify-items-start { justify-items: start !important; } @@ -39504,10 +39496,6 @@ video { flex-wrap: nowrap !important; } - .sm\:place-items-auto { - place-items: auto !important; - } - .sm\:place-items-start { place-items: start !important; } @@ -39636,10 +39624,6 @@ video { align-self: stretch !important; } - .sm\:justify-items-auto { - justify-items: auto !important; - } - .sm\:justify-items-start { justify-items: start !important; } @@ -68073,10 +68057,6 @@ video { flex-wrap: nowrap !important; } - .md\:place-items-auto { - place-items: auto !important; - } - .md\:place-items-start { place-items: start !important; } @@ -68205,10 +68185,6 @@ video { align-self: stretch !important; } - .md\:justify-items-auto { - justify-items: auto !important; - } - .md\:justify-items-start { justify-items: start !important; } @@ -96642,10 +96618,6 @@ video { flex-wrap: nowrap !important; } - .lg\:place-items-auto { - place-items: auto !important; - } - .lg\:place-items-start { place-items: start !important; } @@ -96774,10 +96746,6 @@ video { align-self: stretch !important; } - .lg\:justify-items-auto { - justify-items: auto !important; - } - .lg\:justify-items-start { justify-items: start !important; } @@ -125211,10 +125179,6 @@ video { flex-wrap: nowrap !important; } - .xl\:place-items-auto { - place-items: auto !important; - } - .xl\:place-items-start { place-items: start !important; } @@ -125343,10 +125307,6 @@ video { align-self: stretch !important; } - .xl\:justify-items-auto { - justify-items: auto !important; - } - .xl\:justify-items-start { justify-items: start !important; } @@ -153780,10 +153740,6 @@ video { flex-wrap: nowrap !important; } - .\32xl\:place-items-auto { - place-items: auto !important; - } - .\32xl\:place-items-start { place-items: start !important; } @@ -153912,10 +153868,6 @@ video { align-self: stretch !important; } - .\32xl\:justify-items-auto { - justify-items: auto !important; - } - .\32xl\:justify-items-start { justify-items: start !important; } diff --git a/__tests__/fixtures/tailwind-output-no-color-opacity.css b/__tests__/fixtures/tailwind-output-no-color-opacity.css index a96554c2f..70bd7cf65 100644 --- a/__tests__/fixtures/tailwind-output-no-color-opacity.css +++ b/__tests__/fixtures/tailwind-output-no-color-opacity.css @@ -9330,10 +9330,6 @@ video { flex-wrap: nowrap; } -.place-items-auto { - place-items: auto; -} - .place-items-start { place-items: start; } @@ -9462,10 +9458,6 @@ video { align-self: stretch; } -.justify-items-auto { - justify-items: auto; -} - .justify-items-start { justify-items: start; } @@ -35386,10 +35378,6 @@ video { flex-wrap: nowrap; } - .sm\:place-items-auto { - place-items: auto; - } - .sm\:place-items-start { place-items: start; } @@ -35518,10 +35506,6 @@ video { align-self: stretch; } - .sm\:justify-items-auto { - justify-items: auto; - } - .sm\:justify-items-start { justify-items: start; } @@ -61399,10 +61383,6 @@ video { flex-wrap: nowrap; } - .md\:place-items-auto { - place-items: auto; - } - .md\:place-items-start { place-items: start; } @@ -61531,10 +61511,6 @@ video { align-self: stretch; } - .md\:justify-items-auto { - justify-items: auto; - } - .md\:justify-items-start { justify-items: start; } @@ -87412,10 +87388,6 @@ video { flex-wrap: nowrap; } - .lg\:place-items-auto { - place-items: auto; - } - .lg\:place-items-start { place-items: start; } @@ -87544,10 +87516,6 @@ video { align-self: stretch; } - .lg\:justify-items-auto { - justify-items: auto; - } - .lg\:justify-items-start { justify-items: start; } @@ -113425,10 +113393,6 @@ video { flex-wrap: nowrap; } - .xl\:place-items-auto { - place-items: auto; - } - .xl\:place-items-start { place-items: start; } @@ -113557,10 +113521,6 @@ video { align-self: stretch; } - .xl\:justify-items-auto { - justify-items: auto; - } - .xl\:justify-items-start { justify-items: start; } @@ -139438,10 +139398,6 @@ video { flex-wrap: nowrap; } - .\32xl\:place-items-auto { - place-items: auto; - } - .\32xl\:place-items-start { place-items: start; } @@ -139570,10 +139526,6 @@ video { align-self: stretch; } - .\32xl\:justify-items-auto { - justify-items: auto; - } - .\32xl\:justify-items-start { justify-items: start; } diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 4cd852aac..82819e086 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -10892,10 +10892,6 @@ video { flex-wrap: nowrap; } -.place-items-auto { - place-items: auto; -} - .place-items-start { place-items: start; } @@ -11024,10 +11020,6 @@ video { align-self: stretch; } -.justify-items-auto { - justify-items: auto; -} - .justify-items-start { justify-items: start; } @@ -39504,10 +39496,6 @@ video { flex-wrap: nowrap; } - .sm\:place-items-auto { - place-items: auto; - } - .sm\:place-items-start { place-items: start; } @@ -39636,10 +39624,6 @@ video { align-self: stretch; } - .sm\:justify-items-auto { - justify-items: auto; - } - .sm\:justify-items-start { justify-items: start; } @@ -68073,10 +68057,6 @@ video { flex-wrap: nowrap; } - .md\:place-items-auto { - place-items: auto; - } - .md\:place-items-start { place-items: start; } @@ -68205,10 +68185,6 @@ video { align-self: stretch; } - .md\:justify-items-auto { - justify-items: auto; - } - .md\:justify-items-start { justify-items: start; } @@ -96642,10 +96618,6 @@ video { flex-wrap: nowrap; } - .lg\:place-items-auto { - place-items: auto; - } - .lg\:place-items-start { place-items: start; } @@ -96774,10 +96746,6 @@ video { align-self: stretch; } - .lg\:justify-items-auto { - justify-items: auto; - } - .lg\:justify-items-start { justify-items: start; } @@ -125211,10 +125179,6 @@ video { flex-wrap: nowrap; } - .xl\:place-items-auto { - place-items: auto; - } - .xl\:place-items-start { place-items: start; } @@ -125343,10 +125307,6 @@ video { align-self: stretch; } - .xl\:justify-items-auto { - justify-items: auto; - } - .xl\:justify-items-start { justify-items: start; } @@ -153780,10 +153740,6 @@ video { flex-wrap: nowrap; } - .\32xl\:place-items-auto { - place-items: auto; - } - .\32xl\:place-items-start { place-items: start; } @@ -153912,10 +153868,6 @@ video { align-self: stretch; } - .\32xl\:justify-items-auto { - justify-items: auto; - } - .\32xl\:justify-items-start { justify-items: start; } diff --git a/jit/corePlugins/justifyItems.js b/jit/corePlugins/justifyItems.js index fddc1c8b6..ec098317c 100644 --- a/jit/corePlugins/justifyItems.js +++ b/jit/corePlugins/justifyItems.js @@ -1,9 +1,6 @@ const { createSimpleStaticUtilityPlugin } = require('../pluginUtils') module.exports = createSimpleStaticUtilityPlugin({ - '.justify-items-auto': { - 'justify-items': 'auto', - }, '.justify-items-start': { 'justify-items': 'start', }, diff --git a/jit/corePlugins/placeItems.js b/jit/corePlugins/placeItems.js index 2b9e7af73..abd1f61a2 100644 --- a/jit/corePlugins/placeItems.js +++ b/jit/corePlugins/placeItems.js @@ -1,9 +1,6 @@ const { createSimpleStaticUtilityPlugin } = require('../pluginUtils') module.exports = createSimpleStaticUtilityPlugin({ - '.place-items-auto': { - 'place-items': 'auto', - }, '.place-items-start': { 'place-items': 'start', }, diff --git a/src/plugins/justifyItems.js b/src/plugins/justifyItems.js index 9bcf1edf2..3a282fac5 100644 --- a/src/plugins/justifyItems.js +++ b/src/plugins/justifyItems.js @@ -2,9 +2,6 @@ export default function () { return function ({ addUtilities, variants }) { addUtilities( { - '.justify-items-auto': { - 'justify-items': 'auto', - }, '.justify-items-start': { 'justify-items': 'start', }, diff --git a/src/plugins/placeItems.js b/src/plugins/placeItems.js index 4af1b842f..df5d715a7 100644 --- a/src/plugins/placeItems.js +++ b/src/plugins/placeItems.js @@ -2,9 +2,6 @@ export default function () { return function ({ addUtilities, variants }) { addUtilities( { - '.place-items-auto': { - 'place-items': 'auto', - }, '.place-items-start': { 'place-items': 'start', },