Skip to content

Commit ba5e308

Browse files
committed
Equal number of grid columns and rows
Update test snapshots
1 parent fa9be73 commit ba5e308

File tree

5 files changed

+120
-0
lines changed

5 files changed

+120
-0
lines changed

stubs/config.full.js

+24
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,12 @@ module.exports = {
444444
'span-4': 'span 4 / span 4',
445445
'span-5': 'span 5 / span 5',
446446
'span-6': 'span 6 / span 6',
447+
'span-7': 'span 7 / span 7',
448+
'span-8': 'span 8 / span 8',
449+
'span-9': 'span 9 / span 9',
450+
'span-10': 'span 10 / span 10',
451+
'span-11': 'span 11 / span 11',
452+
'span-12': 'span 12 / span 12',
447453
'span-full': '1 / -1',
448454
},
449455
gridRowEnd: {
@@ -455,6 +461,12 @@ module.exports = {
455461
5: '5',
456462
6: '6',
457463
7: '7',
464+
8: '8',
465+
9: '9',
466+
10: '10',
467+
11: '11',
468+
12: '12',
469+
13: '13',
458470
},
459471
gridRowStart: {
460472
auto: 'auto',
@@ -465,6 +477,12 @@ module.exports = {
465477
5: '5',
466478
6: '6',
467479
7: '7',
480+
8: '8',
481+
9: '9',
482+
10: '10',
483+
11: '11',
484+
12: '12',
485+
13: '13',
468486
},
469487
gridTemplateColumns: {
470488
none: 'none',
@@ -489,6 +507,12 @@ module.exports = {
489507
4: 'repeat(4, minmax(0, 1fr))',
490508
5: 'repeat(5, minmax(0, 1fr))',
491509
6: 'repeat(6, minmax(0, 1fr))',
510+
7: 'repeat(7, minmax(0, 1fr))',
511+
8: 'repeat(8, minmax(0, 1fr))',
512+
9: 'repeat(9, minmax(0, 1fr))',
513+
10: 'repeat(10, minmax(0, 1fr))',
514+
11: 'repeat(11, minmax(0, 1fr))',
515+
12: 'repeat(12, minmax(0, 1fr))',
492516
},
493517
height: ({ theme }) => ({
494518
auto: 'auto',

tests/plugins/__snapshots__/gridRow.test.js.snap

+24
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ exports[`should test the 'gridRow' plugin 1`] = `
1818
grid-row: span 1 / span 1;
1919
}
2020
21+
.row-span-10 {
22+
grid-row: span 10 / span 10;
23+
}
24+
25+
.row-span-11 {
26+
grid-row: span 11 / span 11;
27+
}
28+
29+
.row-span-12 {
30+
grid-row: span 12 / span 12;
31+
}
32+
2133
.row-span-2 {
2234
grid-row: span 2 / span 2;
2335
}
@@ -38,6 +50,18 @@ exports[`should test the 'gridRow' plugin 1`] = `
3850
grid-row: span 6 / span 6;
3951
}
4052
53+
.row-span-7 {
54+
grid-row: span 7 / span 7;
55+
}
56+
57+
.row-span-8 {
58+
grid-row: span 8 / span 8;
59+
}
60+
61+
.row-span-9 {
62+
grid-row: span 9 / span 9;
63+
}
64+
4165
.row-span-full {
4266
grid-row: 1 / -1;
4367
}

tests/plugins/__snapshots__/gridRowEnd.test.js.snap

+24
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ exports[`should test the 'gridRowEnd' plugin 1`] = `
66
grid-row-end: 1;
77
}
88
9+
.row-end-10 {
10+
grid-row-end: 10;
11+
}
12+
13+
.row-end-11 {
14+
grid-row-end: 11;
15+
}
16+
17+
.row-end-12 {
18+
grid-row-end: 12;
19+
}
20+
21+
.row-end-13 {
22+
grid-row-end: 13;
23+
}
24+
925
.row-end-2 {
1026
grid-row-end: 2;
1127
}
@@ -30,6 +46,14 @@ exports[`should test the 'gridRowEnd' plugin 1`] = `
3046
grid-row-end: 7;
3147
}
3248
49+
.row-end-8 {
50+
grid-row-end: 8;
51+
}
52+
53+
.row-end-9 {
54+
grid-row-end: 9;
55+
}
56+
3357
.row-end-\\[123\\] {
3458
grid-row-end: 123;
3559
}

tests/plugins/__snapshots__/gridRowStart.test.js.snap

+24
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ exports[`should test the 'gridRowStart' plugin 1`] = `
66
grid-row-start: 1;
77
}
88
9+
.row-start-10 {
10+
grid-row-start: 10;
11+
}
12+
13+
.row-start-11 {
14+
grid-row-start: 11;
15+
}
16+
17+
.row-start-12 {
18+
grid-row-start: 12;
19+
}
20+
21+
.row-start-13 {
22+
grid-row-start: 13;
23+
}
24+
925
.row-start-2 {
1026
grid-row-start: 2;
1127
}
@@ -30,6 +46,14 @@ exports[`should test the 'gridRowStart' plugin 1`] = `
3046
grid-row-start: 7;
3147
}
3248
49+
.row-start-8 {
50+
grid-row-start: 8;
51+
}
52+
53+
.row-start-9 {
54+
grid-row-start: 9;
55+
}
56+
3357
.row-start-\\[123\\] {
3458
grid-row-start: 123;
3559
}

tests/plugins/__snapshots__/gridTemplateRows.test.js.snap

+24
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ exports[`should test the 'gridTemplateRows' plugin 1`] = `
66
grid-template-rows: repeat(1, minmax(0, 1fr));
77
}
88
9+
.grid-rows-10 {
10+
grid-template-rows: repeat(10, minmax(0, 1fr));
11+
}
12+
13+
.grid-rows-11 {
14+
grid-template-rows: repeat(11, minmax(0, 1fr));
15+
}
16+
17+
.grid-rows-12 {
18+
grid-template-rows: repeat(12, minmax(0, 1fr));
19+
}
20+
921
.grid-rows-2 {
1022
grid-template-rows: repeat(2, minmax(0, 1fr));
1123
}
@@ -26,6 +38,18 @@ exports[`should test the 'gridTemplateRows' plugin 1`] = `
2638
grid-template-rows: repeat(6, minmax(0, 1fr));
2739
}
2840
41+
.grid-rows-7 {
42+
grid-template-rows: repeat(7, minmax(0, 1fr));
43+
}
44+
45+
.grid-rows-8 {
46+
grid-template-rows: repeat(8, minmax(0, 1fr));
47+
}
48+
49+
.grid-rows-9 {
50+
grid-template-rows: repeat(9, minmax(0, 1fr));
51+
}
52+
2953
.grid-rows-\\[12\\] {
3054
grid-template-rows: 12px;
3155
}

0 commit comments

Comments
 (0)