@nice-digital/nds-grid 2.0.12-alpha.0 → 3.0.1
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 +3 -3
- package/scss/grid.scss +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice-digital/nds-grid",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Grid component for the NICE Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"grid"
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"url": "https://github.com/nice-digital/nice-design-system/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@nice-digital/nds-core": "^
|
|
40
|
+
"@nice-digital/nds-core": "^3.0.0",
|
|
41
41
|
"classnames": "^2.2.6",
|
|
42
42
|
"prop-types": "^15.7.2"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "^16 || ^17 || ^18"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "dc96e3b962a090caa87c2888d2e5133013138d4e"
|
|
48
48
|
}
|
package/scss/grid.scss
CHANGED
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
// Fallback to fixed gutter grid in IE11, but use CSS vars where supported.
|
|
44
44
|
// IE11 doesn't support custom properties: https://caniuse.com/css-variables
|
|
45
45
|
@supports ((--a: 0)) {
|
|
46
|
-
margin-left: calc(
|
|
47
|
-
margin-right: calc(
|
|
46
|
+
margin-left: calc(-0.5 * var(--nds-grid-gutter));
|
|
47
|
+
margin-right: calc(-0.5 * var(--nds-grid-gutter));
|
|
48
48
|
width: calc(100% + var(--nds-grid-gutter));
|
|
49
49
|
}
|
|
50
50
|
|