From 82f13959971ea5d0e75e643ed2afac307f279fca Mon Sep 17 00:00:00 2001 From: Kevin Lang Date: Fri, 29 Jan 2021 15:01:05 -0500 Subject: [PATCH] add help cursor (#3199) --- .../fixtures/tailwind-output-flagged.css | 24 +++++++++++++++++++ .../fixtures/tailwind-output-important.css | 24 +++++++++++++++++++ .../tailwind-output-no-color-opacity.css | 24 +++++++++++++++++++ __tests__/fixtures/tailwind-output.css | 24 +++++++++++++++++++ stubs/defaultConfig.stub.js | 1 + 5 files changed, 97 insertions(+) diff --git a/__tests__/fixtures/tailwind-output-flagged.css b/__tests__/fixtures/tailwind-output-flagged.css index ae677221ffbb..4d90685caf94 100644 --- a/__tests__/fixtures/tailwind-output-flagged.css +++ b/__tests__/fixtures/tailwind-output-flagged.css @@ -10770,6 +10770,10 @@ video { cursor: move; } +.cursor-help { + cursor: help; +} + .cursor-not-allowed { cursor: not-allowed; } @@ -39362,6 +39366,10 @@ video { cursor: move; } + .sm\:cursor-help { + cursor: help; + } + .sm\:cursor-not-allowed { cursor: not-allowed; } @@ -67911,6 +67919,10 @@ video { cursor: move; } + .md\:cursor-help { + cursor: help; + } + .md\:cursor-not-allowed { cursor: not-allowed; } @@ -96460,6 +96472,10 @@ video { cursor: move; } + .lg\:cursor-help { + cursor: help; + } + .lg\:cursor-not-allowed { cursor: not-allowed; } @@ -125009,6 +125025,10 @@ video { cursor: move; } + .xl\:cursor-help { + cursor: help; + } + .xl\:cursor-not-allowed { cursor: not-allowed; } @@ -153558,6 +153578,10 @@ video { cursor: move; } + .\32xl\:cursor-help { + cursor: help; + } + .\32xl\:cursor-not-allowed { cursor: not-allowed; } diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index 28462f1e46f0..53d6b78ebe49 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -10770,6 +10770,10 @@ video { cursor: move !important; } +.cursor-help { + cursor: help !important; +} + .cursor-not-allowed { cursor: not-allowed !important; } @@ -39362,6 +39366,10 @@ video { cursor: move !important; } + .sm\:cursor-help { + cursor: help !important; + } + .sm\:cursor-not-allowed { cursor: not-allowed !important; } @@ -67911,6 +67919,10 @@ video { cursor: move !important; } + .md\:cursor-help { + cursor: help !important; + } + .md\:cursor-not-allowed { cursor: not-allowed !important; } @@ -96460,6 +96472,10 @@ video { cursor: move !important; } + .lg\:cursor-help { + cursor: help !important; + } + .lg\:cursor-not-allowed { cursor: not-allowed !important; } @@ -125009,6 +125025,10 @@ video { cursor: move !important; } + .xl\:cursor-help { + cursor: help !important; + } + .xl\:cursor-not-allowed { cursor: not-allowed !important; } @@ -153558,6 +153578,10 @@ video { cursor: move !important; } + .\32xl\:cursor-help { + cursor: help !important; + } + .\32xl\:cursor-not-allowed { cursor: not-allowed !important; } diff --git a/__tests__/fixtures/tailwind-output-no-color-opacity.css b/__tests__/fixtures/tailwind-output-no-color-opacity.css index 2cdc358a2855..39df0b1b742c 100644 --- a/__tests__/fixtures/tailwind-output-no-color-opacity.css +++ b/__tests__/fixtures/tailwind-output-no-color-opacity.css @@ -9208,6 +9208,10 @@ video { cursor: move; } +.cursor-help { + cursor: help; +} + .cursor-not-allowed { cursor: not-allowed; } @@ -35244,6 +35248,10 @@ video { cursor: move; } + .sm\:cursor-help { + cursor: help; + } + .sm\:cursor-not-allowed { cursor: not-allowed; } @@ -61237,6 +61245,10 @@ video { cursor: move; } + .md\:cursor-help { + cursor: help; + } + .md\:cursor-not-allowed { cursor: not-allowed; } @@ -87230,6 +87242,10 @@ video { cursor: move; } + .lg\:cursor-help { + cursor: help; + } + .lg\:cursor-not-allowed { cursor: not-allowed; } @@ -113223,6 +113239,10 @@ video { cursor: move; } + .xl\:cursor-help { + cursor: help; + } + .xl\:cursor-not-allowed { cursor: not-allowed; } @@ -139216,6 +139236,10 @@ video { cursor: move; } + .\32xl\:cursor-help { + cursor: help; + } + .\32xl\:cursor-not-allowed { cursor: not-allowed; } diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index ae677221ffbb..4d90685caf94 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -10770,6 +10770,10 @@ video { cursor: move; } +.cursor-help { + cursor: help; +} + .cursor-not-allowed { cursor: not-allowed; } @@ -39362,6 +39366,10 @@ video { cursor: move; } + .sm\:cursor-help { + cursor: help; + } + .sm\:cursor-not-allowed { cursor: not-allowed; } @@ -67911,6 +67919,10 @@ video { cursor: move; } + .md\:cursor-help { + cursor: help; + } + .md\:cursor-not-allowed { cursor: not-allowed; } @@ -96460,6 +96472,10 @@ video { cursor: move; } + .lg\:cursor-help { + cursor: help; + } + .lg\:cursor-not-allowed { cursor: not-allowed; } @@ -125009,6 +125025,10 @@ video { cursor: move; } + .xl\:cursor-help { + cursor: help; + } + .xl\:cursor-not-allowed { cursor: not-allowed; } @@ -153558,6 +153578,10 @@ video { cursor: move; } + .\32xl\:cursor-help { + cursor: help; + } + .\32xl\:cursor-not-allowed { cursor: not-allowed; } diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index 0c8eb73745d5..0b65837d6dac 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -141,6 +141,7 @@ module.exports = { wait: 'wait', text: 'text', move: 'move', + help: 'help', 'not-allowed': 'not-allowed', }, divideColor: (theme) => theme('borderColor'),