File tree 6 files changed +596
-558
lines changed
6 files changed +596
-558
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 25
25
"react-dom" : " ^17.0.0"
26
26
},
27
27
"dependencies" : {
28
- "@faceless-ui/window-info" : " ^1.2.7 "
28
+ "@faceless-ui/window-info" : " ^2.0.1 "
29
29
},
30
30
"devDependencies" : {
31
31
"@trbl/eslint-config" : " ^2.0.3" ,
Original file line number Diff line number Diff line change @@ -31,18 +31,18 @@ const Cell: React.FC<Props> = (props) => {
31
31
let colsToSpan = colsAvailable ;
32
32
33
33
if ( cols && cols < colsAvailable ) colsToSpan = cols ;
34
- if ( colsXL && breakpoints . xl ) colsToSpan = colsXL ;
35
- if ( colsL && breakpoints . l ) colsToSpan = colsL ;
36
- if ( colsM && breakpoints . m ) colsToSpan = colsM ;
37
- if ( colsS && breakpoints . s ) colsToSpan = colsS ;
34
+ if ( colsXL && breakpoints ? .xl ) colsToSpan = colsXL ;
35
+ if ( colsL && breakpoints ? .l ) colsToSpan = colsL ;
36
+ if ( colsM && breakpoints ? .m ) colsToSpan = colsM ;
37
+ if ( colsS && breakpoints ? .s ) colsToSpan = colsS ;
38
38
39
39
let colToStart = 0 ;
40
40
41
41
if ( start ) colToStart = start ;
42
- if ( typeof startXL === 'number' && breakpoints . xl ) colToStart = startXL ;
43
- if ( typeof startL === 'number' && breakpoints . l ) colToStart = startL ;
44
- if ( typeof startM === 'number' && breakpoints . m ) colToStart = startM ;
45
- if ( typeof startS === 'number' && breakpoints . s ) colToStart = startS ;
42
+ if ( typeof startXL === 'number' && breakpoints ? .xl ) colToStart = startXL ;
43
+ if ( typeof startL === 'number' && breakpoints ? .l ) colToStart = startL ;
44
+ if ( typeof startM === 'number' && breakpoints ? .m ) colToStart = startM ;
45
+ if ( typeof startS === 'number' && breakpoints ? .s ) colToStart = startS ;
46
46
47
47
const gridColumnStart = colToStart || undefined ;
48
48
You can’t perform that action at this time.
0 commit comments