From 6837c8f46de86ce6bcf400c146c67f116d81cda3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20K=C3=BCndig?= Date: Sun, 24 Dec 2017 13:47:13 +0100 Subject: [PATCH 1/2] Added .cursor-wait --- __tests__/fixtures/tailwind-output.css | 20 ++++++++++++++++++++ src/generators/cursor.js | 1 + 2 files changed, 21 insertions(+) diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index cf9ecd381..dd2d385b2 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -2183,6 +2183,10 @@ button, cursor: not-allowed; } +.cursor-wait { + cursor: wait; +} + .block { display: block; } @@ -6066,6 +6070,10 @@ button, cursor: not-allowed; } + .sm\:cursor-wait { + cursor: wait; + } + .sm\:block { display: block; } @@ -9942,6 +9950,10 @@ button, cursor: not-allowed; } + .md\:cursor-wait { + cursor: wait; + } + .md\:block { display: block; } @@ -13818,6 +13830,10 @@ button, cursor: not-allowed; } + .lg\:cursor-wait { + cursor: wait; + } + .lg\:block { display: block; } @@ -17694,6 +17710,10 @@ button, cursor: not-allowed; } + .xl\:cursor-wait { + cursor: wait; + } + .xl\:block { display: block; } diff --git a/src/generators/cursor.js b/src/generators/cursor.js index cd0e8f385..2409e9ea8 100644 --- a/src/generators/cursor.js +++ b/src/generators/cursor.js @@ -6,5 +6,6 @@ export default function() { 'cursor-default': { cursor: 'default' }, 'cursor-pointer': { cursor: 'pointer' }, 'cursor-not-allowed': { cursor: 'not-allowed' }, + 'cursor-wait': { cursor: 'wait' }, }) } From db11e99a2a13f4f6ffe790d388a8b20eaf127d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20K=C3=BCndig?= Date: Sun, 24 Dec 2017 13:49:36 +0100 Subject: [PATCH 2/2] Documented .cursor-wait --- docs/source/docs/cursor.blade.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/docs/cursor.blade.md b/docs/source/docs/cursor.blade.md index 44c0b9a58..df29e73ab 100644 --- a/docs/source/docs/cursor.blade.md +++ b/docs/source/docs/cursor.blade.md @@ -28,6 +28,11 @@ features: 'cursor: not-allowed;', "Set the mouse cursor to indicate that the action will not be executed.", ], + [ + '.cursor-wait', + 'cursor: wait;', + "Set the mouse cursor to indicate that an action is being executed.", + ], ] ])