Skip to content

Commit 82f1395

Browse files
authored
add help cursor (#3199)
1 parent fd45e31 commit 82f1395

5 files changed

+97
-0
lines changed

__tests__/fixtures/tailwind-output-flagged.css

+24
Original file line numberDiff line numberDiff line change
@@ -10770,6 +10770,10 @@ video {
1077010770
cursor: move;
1077110771
}
1077210772

10773+
.cursor-help {
10774+
cursor: help;
10775+
}
10776+
1077310777
.cursor-not-allowed {
1077410778
cursor: not-allowed;
1077510779
}
@@ -39362,6 +39366,10 @@ video {
3936239366
cursor: move;
3936339367
}
3936439368

39369+
.sm\:cursor-help {
39370+
cursor: help;
39371+
}
39372+
3936539373
.sm\:cursor-not-allowed {
3936639374
cursor: not-allowed;
3936739375
}
@@ -67911,6 +67919,10 @@ video {
6791167919
cursor: move;
6791267920
}
6791367921

67922+
.md\:cursor-help {
67923+
cursor: help;
67924+
}
67925+
6791467926
.md\:cursor-not-allowed {
6791567927
cursor: not-allowed;
6791667928
}
@@ -96460,6 +96472,10 @@ video {
9646096472
cursor: move;
9646196473
}
9646296474

96475+
.lg\:cursor-help {
96476+
cursor: help;
96477+
}
96478+
9646396479
.lg\:cursor-not-allowed {
9646496480
cursor: not-allowed;
9646596481
}
@@ -125009,6 +125025,10 @@ video {
125009125025
cursor: move;
125010125026
}
125011125027

125028+
.xl\:cursor-help {
125029+
cursor: help;
125030+
}
125031+
125012125032
.xl\:cursor-not-allowed {
125013125033
cursor: not-allowed;
125014125034
}
@@ -153558,6 +153578,10 @@ video {
153558153578
cursor: move;
153559153579
}
153560153580

153581+
.\32xl\:cursor-help {
153582+
cursor: help;
153583+
}
153584+
153561153585
.\32xl\:cursor-not-allowed {
153562153586
cursor: not-allowed;
153563153587
}

__tests__/fixtures/tailwind-output-important.css

+24
Original file line numberDiff line numberDiff line change
@@ -10770,6 +10770,10 @@ video {
1077010770
cursor: move !important;
1077110771
}
1077210772

10773+
.cursor-help {
10774+
cursor: help !important;
10775+
}
10776+
1077310777
.cursor-not-allowed {
1077410778
cursor: not-allowed !important;
1077510779
}
@@ -39362,6 +39366,10 @@ video {
3936239366
cursor: move !important;
3936339367
}
3936439368

39369+
.sm\:cursor-help {
39370+
cursor: help !important;
39371+
}
39372+
3936539373
.sm\:cursor-not-allowed {
3936639374
cursor: not-allowed !important;
3936739375
}
@@ -67911,6 +67919,10 @@ video {
6791167919
cursor: move !important;
6791267920
}
6791367921

67922+
.md\:cursor-help {
67923+
cursor: help !important;
67924+
}
67925+
6791467926
.md\:cursor-not-allowed {
6791567927
cursor: not-allowed !important;
6791667928
}
@@ -96460,6 +96472,10 @@ video {
9646096472
cursor: move !important;
9646196473
}
9646296474

96475+
.lg\:cursor-help {
96476+
cursor: help !important;
96477+
}
96478+
9646396479
.lg\:cursor-not-allowed {
9646496480
cursor: not-allowed !important;
9646596481
}
@@ -125009,6 +125025,10 @@ video {
125009125025
cursor: move !important;
125010125026
}
125011125027

125028+
.xl\:cursor-help {
125029+
cursor: help !important;
125030+
}
125031+
125012125032
.xl\:cursor-not-allowed {
125013125033
cursor: not-allowed !important;
125014125034
}
@@ -153558,6 +153578,10 @@ video {
153558153578
cursor: move !important;
153559153579
}
153560153580

153581+
.\32xl\:cursor-help {
153582+
cursor: help !important;
153583+
}
153584+
153561153585
.\32xl\:cursor-not-allowed {
153562153586
cursor: not-allowed !important;
153563153587
}

__tests__/fixtures/tailwind-output-no-color-opacity.css

+24
Original file line numberDiff line numberDiff line change
@@ -9208,6 +9208,10 @@ video {
92089208
cursor: move;
92099209
}
92109210

9211+
.cursor-help {
9212+
cursor: help;
9213+
}
9214+
92119215
.cursor-not-allowed {
92129216
cursor: not-allowed;
92139217
}
@@ -35244,6 +35248,10 @@ video {
3524435248
cursor: move;
3524535249
}
3524635250

35251+
.sm\:cursor-help {
35252+
cursor: help;
35253+
}
35254+
3524735255
.sm\:cursor-not-allowed {
3524835256
cursor: not-allowed;
3524935257
}
@@ -61237,6 +61245,10 @@ video {
6123761245
cursor: move;
6123861246
}
6123961247

61248+
.md\:cursor-help {
61249+
cursor: help;
61250+
}
61251+
6124061252
.md\:cursor-not-allowed {
6124161253
cursor: not-allowed;
6124261254
}
@@ -87230,6 +87242,10 @@ video {
8723087242
cursor: move;
8723187243
}
8723287244

87245+
.lg\:cursor-help {
87246+
cursor: help;
87247+
}
87248+
8723387249
.lg\:cursor-not-allowed {
8723487250
cursor: not-allowed;
8723587251
}
@@ -113223,6 +113239,10 @@ video {
113223113239
cursor: move;
113224113240
}
113225113241

113242+
.xl\:cursor-help {
113243+
cursor: help;
113244+
}
113245+
113226113246
.xl\:cursor-not-allowed {
113227113247
cursor: not-allowed;
113228113248
}
@@ -139216,6 +139236,10 @@ video {
139216139236
cursor: move;
139217139237
}
139218139238

139239+
.\32xl\:cursor-help {
139240+
cursor: help;
139241+
}
139242+
139219139243
.\32xl\:cursor-not-allowed {
139220139244
cursor: not-allowed;
139221139245
}

__tests__/fixtures/tailwind-output.css

+24
Original file line numberDiff line numberDiff line change
@@ -10770,6 +10770,10 @@ video {
1077010770
cursor: move;
1077110771
}
1077210772

10773+
.cursor-help {
10774+
cursor: help;
10775+
}
10776+
1077310777
.cursor-not-allowed {
1077410778
cursor: not-allowed;
1077510779
}
@@ -39362,6 +39366,10 @@ video {
3936239366
cursor: move;
3936339367
}
3936439368

39369+
.sm\:cursor-help {
39370+
cursor: help;
39371+
}
39372+
3936539373
.sm\:cursor-not-allowed {
3936639374
cursor: not-allowed;
3936739375
}
@@ -67911,6 +67919,10 @@ video {
6791167919
cursor: move;
6791267920
}
6791367921

67922+
.md\:cursor-help {
67923+
cursor: help;
67924+
}
67925+
6791467926
.md\:cursor-not-allowed {
6791567927
cursor: not-allowed;
6791667928
}
@@ -96460,6 +96472,10 @@ video {
9646096472
cursor: move;
9646196473
}
9646296474

96475+
.lg\:cursor-help {
96476+
cursor: help;
96477+
}
96478+
9646396479
.lg\:cursor-not-allowed {
9646496480
cursor: not-allowed;
9646596481
}
@@ -125009,6 +125025,10 @@ video {
125009125025
cursor: move;
125010125026
}
125011125027

125028+
.xl\:cursor-help {
125029+
cursor: help;
125030+
}
125031+
125012125032
.xl\:cursor-not-allowed {
125013125033
cursor: not-allowed;
125014125034
}
@@ -153558,6 +153578,10 @@ video {
153558153578
cursor: move;
153559153579
}
153560153580

153581+
.\32xl\:cursor-help {
153582+
cursor: help;
153583+
}
153584+
153561153585
.\32xl\:cursor-not-allowed {
153562153586
cursor: not-allowed;
153563153587
}

stubs/defaultConfig.stub.js

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ module.exports = {
141141
wait: 'wait',
142142
text: 'text',
143143
move: 'move',
144+
help: 'help',
144145
'not-allowed': 'not-allowed',
145146
},
146147
divideColor: (theme) => theme('borderColor'),

0 commit comments

Comments
 (0)