@nice-digital/nds-container 1.0.14-alpha.0 → 1.0.15-alpha.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/README.md +1 -1
- package/package.json +4 -4
- package/scss/container.scss +3 -2
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ A custom tag type for the container. Useful if the container covers the whole of
|
|
|
69
69
|
- Type: `boolean`
|
|
70
70
|
- Default: `false`
|
|
71
71
|
|
|
72
|
-
An option to override the default `max-width` of the container (`$
|
|
72
|
+
An option to override the default `max-width` of the container (`$container-max-width`), and set it to 98% of the parent (or viewport's) width.
|
|
73
73
|
|
|
74
74
|
### SCSS
|
|
75
75
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice-digital/nds-container",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15-alpha.0",
|
|
4
4
|
"description": "Container component for the NICE Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"container"
|
|
@@ -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": "^1.3.
|
|
40
|
+
"@nice-digital/nds-core": "^1.3.5-alpha.0",
|
|
41
41
|
"classnames": "^2.2.6",
|
|
42
42
|
"prop-types": "^15.7.2"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"react": "^16 || ^17 ^18"
|
|
45
|
+
"react": "^16 || ^17 || ^18"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "0ddae81edebd757a52ca6a2838610049a83acebd"
|
|
48
48
|
}
|
package/scss/container.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '@nice-digital/nds-core/scss/layout';
|
|
2
2
|
|
|
3
3
|
/// Container, used as a wrapper around sections within a page.
|
|
4
4
|
/// Usually used to house grids.
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
/// </div>
|
|
11
11
|
/// @since 0.1.0
|
|
12
12
|
.container {
|
|
13
|
-
@include
|
|
13
|
+
@include layout.container;
|
|
14
|
+
|
|
14
15
|
&--full {
|
|
15
16
|
max-width: 100%;
|
|
16
17
|
padding: 0 2%;
|