@carbon/grid 10.37.0 → 10.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/scss/modules/_css-grid.scss +2 -10
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/grid",
|
|
3
3
|
"description": "Grid for digital and software products using the Carbon Design System",
|
|
4
|
-
"version": "10.
|
|
4
|
+
"version": "10.38.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"sassDir": "scss",
|
|
46
46
|
"needs": "^1.3.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "3c9fdbcc12116759c47605ad562aa4d3be78b9d5"
|
|
49
49
|
}
|
|
@@ -254,10 +254,6 @@
|
|
|
254
254
|
.#{$prefix}--col-start-#{$i} {
|
|
255
255
|
grid-column-start: $i;
|
|
256
256
|
}
|
|
257
|
-
|
|
258
|
-
.#{$prefix}--col-end-#{$i} {
|
|
259
|
-
grid-column-end: $i;
|
|
260
|
-
}
|
|
261
257
|
}
|
|
262
258
|
|
|
263
259
|
.#{$prefix}--col-start-auto {
|
|
@@ -272,17 +268,13 @@
|
|
|
272
268
|
$columns: map.get($value, columns);
|
|
273
269
|
|
|
274
270
|
@include breakpoint($name) {
|
|
275
|
-
// The `grid-column-
|
|
276
|
-
// It starts
|
|
271
|
+
// The `grid-column-start` property is *not* inclusive.
|
|
272
|
+
// It starts the column *at* the column, not *on* the column. We must
|
|
277
273
|
// ensure that there is one additional class available for each breakpoint.
|
|
278
274
|
@for $i from 1 through $columns + 1 {
|
|
279
275
|
.#{$prefix}--#{$name}\:col-start-#{$i} {
|
|
280
276
|
grid-column-start: $i;
|
|
281
277
|
}
|
|
282
|
-
|
|
283
|
-
.#{$prefix}--#{$name}\:col-end-#{$i} {
|
|
284
|
-
grid-column-end: $i;
|
|
285
|
-
}
|
|
286
278
|
}
|
|
287
279
|
|
|
288
280
|
.#{$prefix}--#{$name}\:col-start-auto {
|