@@ -50,6 +50,15 @@ test('the plugin generates some utilities and responsive variants by default', (
50
50
.hyphens-auto {
51
51
hyphens: auto;
52
52
}
53
+ .kerning {
54
+ font-kerning: normal;
55
+ }
56
+ .kerning-none {
57
+ font-kerning: none;
58
+ }
59
+ .kerning-auto {
60
+ font-kerning: auto;
61
+ }
53
62
.font-family-unset {
54
63
font-family: inherit;
55
64
}
@@ -168,6 +177,15 @@ test('the plugin generates some utilities and responsive variants by default', (
168
177
.sm\\:hyphens-auto {
169
178
hyphens: auto;
170
179
}
180
+ .sm\\:kerning {
181
+ font-kerning: normal;
182
+ }
183
+ .sm\\:kerning-none {
184
+ font-kerning: none;
185
+ }
186
+ .sm\\:kerning-auto {
187
+ font-kerning: auto;
188
+ }
171
189
.sm\\:font-family-unset {
172
190
font-family: inherit;
173
191
}
@@ -285,6 +303,7 @@ test('the font variant utilities can be disabled', () => {
285
303
variants : {
286
304
ellipsis : [ ] ,
287
305
hyphens : [ ] ,
306
+ kerning : [ ] ,
288
307
textUnset : [ ] ,
289
308
} ,
290
309
} ) . then ( css => {
@@ -304,6 +323,15 @@ test('the font variant utilities can be disabled', () => {
304
323
.hyphens-auto {
305
324
hyphens: auto;
306
325
}
326
+ .kerning {
327
+ font-kerning: normal;
328
+ }
329
+ .kerning-none {
330
+ font-kerning: none;
331
+ }
332
+ .kerning-auto {
333
+ font-kerning: auto;
334
+ }
307
335
.font-family-unset {
308
336
font-family: inherit;
309
337
}
@@ -345,6 +373,7 @@ test('the ellipsis, hyphens, and text unset utilities can be disabled', () => {
345
373
} , {
346
374
ellipsis : false ,
347
375
hyphens : false ,
376
+ kerning : false ,
348
377
textUnset : false ,
349
378
} ) . then ( css => {
350
379
expect ( css ) . toMatchCss ( `` ) ;
@@ -373,6 +402,7 @@ test('the text indent and text shadow utilities can be customized', () => {
373
402
} , {
374
403
ellipsis : false ,
375
404
hyphens : false ,
405
+ kerning : false ,
376
406
textUnset : false ,
377
407
} ) . then ( css => {
378
408
expect ( css ) . toMatchCss ( `
@@ -415,6 +445,7 @@ test('the font variant utilities can be extended', () => {
415
445
} , {
416
446
ellipsis : false ,
417
447
hyphens : false ,
448
+ kerning : false ,
418
449
textUnset : false ,
419
450
} ) . then ( css => {
420
451
expect ( css ) . toMatchCss ( `
@@ -540,6 +571,7 @@ test('text style components can be generated', () => {
540
571
} , {
541
572
ellipsis : false ,
542
573
hyphens : false ,
574
+ kerning : false ,
543
575
textUnset : false ,
544
576
} ) . then ( css => {
545
577
expect ( css ) . toMatchCss ( `
@@ -580,6 +612,7 @@ test('the component prefix can be customized', () => {
580
612
} , {
581
613
ellipsis : false ,
582
614
hyphens : false ,
615
+ kerning : false ,
583
616
textUnset : false ,
584
617
componentPrefix : '' ,
585
618
} ) . then ( css => {
@@ -634,6 +667,7 @@ test('text styles can extend other text styles', () => {
634
667
} , {
635
668
ellipsis : false ,
636
669
hyphens : false ,
670
+ kerning : false ,
637
671
textUnset : false ,
638
672
} ) . then ( css => {
639
673
expect ( css ) . toMatchCss ( `
@@ -712,6 +746,7 @@ test('text styles can extend more than one other text style', () => {
712
746
} , {
713
747
ellipsis : false ,
714
748
hyphens : false ,
749
+ kerning : false ,
715
750
textUnset : false ,
716
751
} ) . then ( css => {
717
752
expect ( css ) . toMatchCss ( `
@@ -807,6 +842,7 @@ test('text style components can style their children', () => {
807
842
} , {
808
843
ellipsis : false ,
809
844
hyphens : false ,
845
+ kerning : false ,
810
846
textUnset : false ,
811
847
} ) . then ( css => {
812
848
expect ( css ) . toMatchCss ( `
@@ -905,6 +941,7 @@ test('text styles can be responsive', () => {
905
941
} , {
906
942
ellipsis : false ,
907
943
hyphens : false ,
944
+ kerning : false ,
908
945
textUnset : false ,
909
946
} ) . then ( css => {
910
947
expect ( css ) . toMatchCss ( `
@@ -983,6 +1020,7 @@ test('text styles can be set to not be output', () => {
983
1020
} , {
984
1021
ellipsis : false ,
985
1022
hyphens : false ,
1023
+ kerning : false ,
986
1024
textUnset : false ,
987
1025
} ) . then ( css => {
988
1026
expect ( css ) . toMatchCss ( `
@@ -1098,6 +1136,7 @@ test('all these options can be used to generate a full-featured rich text compon
1098
1136
} , {
1099
1137
ellipsis : false ,
1100
1138
hyphens : false ,
1139
+ kerning : false ,
1101
1140
textUnset : false ,
1102
1141
} ) . then ( css => {
1103
1142
expect ( css ) . toMatchCss ( `
@@ -1175,6 +1214,7 @@ test('variants can be customized', () => {
1175
1214
variants : {
1176
1215
ellipsis : [ 'hover' ] ,
1177
1216
hyphens : [ 'active' ] ,
1217
+ kerning : [ 'focus' ] ,
1178
1218
textUnset : [ ] ,
1179
1219
fontVariantCaps : [ 'focus' , 'responsive' ] ,
1180
1220
fontVariantNumeric : [ 'group-hover' ] ,
@@ -1212,6 +1252,24 @@ test('variants can be customized', () => {
1212
1252
.active\\:hyphens-auto:active {
1213
1253
hyphens: auto;
1214
1254
}
1255
+ .kerning {
1256
+ font-kerning: normal;
1257
+ }
1258
+ .kerning-none {
1259
+ font-kerning: none;
1260
+ }
1261
+ .kerning-auto {
1262
+ font-kerning: auto;
1263
+ }
1264
+ .focus\\:kerning:focus {
1265
+ font-kerning: normal;
1266
+ }
1267
+ .focus\\:kerning-none:focus {
1268
+ font-kerning: none;
1269
+ }
1270
+ .focus\\:kerning-auto:focus {
1271
+ font-kerning: auto;
1272
+ }
1215
1273
.font-family-unset {
1216
1274
font-family: inherit;
1217
1275
}
0 commit comments