@@ -1747,7 +1747,9 @@ test('variants can be defined as a function', () => {
1747
1747
borderWidth : ( { after } ) => after ( [ 'active' ] ) ,
1748
1748
backgroundImage : ( { after } ) => after ( [ 'disabled' ] , 'hover' ) ,
1749
1749
opacity : ( { after } ) => after ( [ 'hover' ] , 'focus' ) ,
1750
- cursor : ( { before, after } ) => before ( [ 'checked' ] , 'hover' , after ( [ 'hover' ] , 'focus' ) ) ,
1750
+ rotate : ( { without } ) => without ( [ 'hover' ] ) ,
1751
+ cursor : ( { before, after, without } ) =>
1752
+ without ( [ 'responsive' ] , before ( [ 'checked' ] , 'hover' , after ( [ 'hover' ] , 'focus' ) ) ) ,
1751
1753
} ,
1752
1754
}
1753
1755
@@ -1770,6 +1772,7 @@ test('variants can be defined as a function', () => {
1770
1772
borderWidth : [ 'responsive' , 'focus' ] ,
1771
1773
backgroundImage : [ 'responsive' , 'hover' , 'focus' ] ,
1772
1774
opacity : [ 'responsive' ] ,
1775
+ rotate : [ 'responsive' , 'hover' , 'focus' ] ,
1773
1776
cursor : [ 'responsive' , 'focus' ] ,
1774
1777
} ,
1775
1778
}
@@ -1789,7 +1792,8 @@ test('variants can be defined as a function', () => {
1789
1792
borderWidth : [ 'responsive' , 'focus' , 'active' ] ,
1790
1793
backgroundImage : [ 'responsive' , 'hover' , 'disabled' , 'focus' ] ,
1791
1794
opacity : [ 'hover' , 'responsive' ] ,
1792
- cursor : [ 'responsive' , 'focus' , 'checked' , 'hover' ] ,
1795
+ rotate : [ 'responsive' , 'focus' ] ,
1796
+ cursor : [ 'focus' , 'checked' , 'hover' ] ,
1793
1797
} ,
1794
1798
plugins : userConfig . plugins ,
1795
1799
} )
0 commit comments