@carbon/grid 10.23.0 → 10.25.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 +4 -4
- package/scss/_inlined/_mixins.scss +2 -0
- package/scss/_mixins.scss +2 -0
- package/scss/modules/_css-grid.scss +1 -1
- package/scss/vendor/@carbon/layout/_breakpoint.scss +10 -2
- package/scss/vendor/@carbon/layout/generated/_spacing.scss +13 -1
- package/scss/vendor/@carbon/layout/modules/generated/_spacing.scss +6 -0
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.25.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@carbon/import-once": "^10.6.0",
|
|
35
|
-
"@carbon/layout": "^10.
|
|
35
|
+
"@carbon/layout": "^10.23.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@carbon/cli": "^10.
|
|
38
|
+
"@carbon/cli": "^10.22.0",
|
|
39
39
|
"rimraf": "^3.0.0"
|
|
40
40
|
},
|
|
41
41
|
"eyeglass": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"sassDir": "scss",
|
|
45
45
|
"needs": "^1.3.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "05909da32a2ee6aa2fb1965eb57871ea77c81c0e"
|
|
48
48
|
}
|
package/scss/_mixins.scss
CHANGED
|
@@ -196,8 +196,16 @@ $carbon--grid-breakpoints: (
|
|
|
196
196
|
$max: if($is-number-upper, $upper, map-get($breakpoints, $upper));
|
|
197
197
|
|
|
198
198
|
@if $min and $max {
|
|
199
|
-
$min-width: if(
|
|
200
|
-
|
|
199
|
+
$min-width: if(
|
|
200
|
+
not $is-number-lower and $min,
|
|
201
|
+
map-get($min, width + 0.02),
|
|
202
|
+
$min
|
|
203
|
+
);
|
|
204
|
+
$max-width: if(
|
|
205
|
+
not $is-number-upper and $max,
|
|
206
|
+
map-get($max, width - 0.02),
|
|
207
|
+
$max
|
|
208
|
+
);
|
|
201
209
|
@media (min-width: $min-width) and (max-width: $max-width) {
|
|
202
210
|
@content;
|
|
203
211
|
}
|
|
@@ -66,6 +66,11 @@ $carbon--spacing-11: 5rem !default;
|
|
|
66
66
|
/// @group @carbon/layout
|
|
67
67
|
$carbon--spacing-12: 6rem !default;
|
|
68
68
|
|
|
69
|
+
/// @type Number
|
|
70
|
+
/// @access public
|
|
71
|
+
/// @group @carbon/layout
|
|
72
|
+
$carbon--spacing-13: 10rem !default;
|
|
73
|
+
|
|
69
74
|
/// @type List
|
|
70
75
|
/// @access public
|
|
71
76
|
/// @group @carbon/layout
|
|
@@ -81,7 +86,8 @@ $carbon--spacing: (
|
|
|
81
86
|
$carbon--spacing-09,
|
|
82
87
|
$carbon--spacing-10,
|
|
83
88
|
$carbon--spacing-11,
|
|
84
|
-
$carbon--spacing-12
|
|
89
|
+
$carbon--spacing-12,
|
|
90
|
+
$carbon--spacing-13
|
|
85
91
|
);
|
|
86
92
|
|
|
87
93
|
/// @type Number
|
|
@@ -155,3 +161,9 @@ $spacing-11: $carbon--spacing-11 !default;
|
|
|
155
161
|
/// @group @carbon/layout
|
|
156
162
|
/// @alias carbon--spacing-12
|
|
157
163
|
$spacing-12: $carbon--spacing-12 !default;
|
|
164
|
+
|
|
165
|
+
/// @type Number
|
|
166
|
+
/// @access public
|
|
167
|
+
/// @group @carbon/layout
|
|
168
|
+
/// @alias carbon--spacing-13
|
|
169
|
+
$spacing-13: $carbon--spacing-13 !default;
|
|
@@ -66,6 +66,11 @@ $spacing-11: 5rem !default;
|
|
|
66
66
|
/// @group @carbon/layout
|
|
67
67
|
$spacing-12: 6rem !default;
|
|
68
68
|
|
|
69
|
+
/// @type Number
|
|
70
|
+
/// @access public
|
|
71
|
+
/// @group @carbon/layout
|
|
72
|
+
$spacing-13: 10rem !default;
|
|
73
|
+
|
|
69
74
|
/// @type Map
|
|
70
75
|
/// @access public
|
|
71
76
|
/// @group @carbon/layout
|
|
@@ -82,4 +87,5 @@ $spacing: (
|
|
|
82
87
|
spacing-10: $spacing-10,
|
|
83
88
|
spacing-11: $spacing-11,
|
|
84
89
|
spacing-12: $spacing-12,
|
|
90
|
+
spacing-13: $spacing-13,
|
|
85
91
|
);
|