@nice-digital/nds-container 1.0.13-alpha.0 → 2.0.0-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 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 (`$nds-container-max-width`), and set it to 98% of the parent (or viewport's) width.
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.13-alpha.0",
3
+ "version": "2.0.0-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.3-alpha.0",
40
+ "@nice-digital/nds-core": "^2.0.0-alpha.0",
41
41
  "classnames": "^2.2.6",
42
42
  "prop-types": "^15.7.2"
43
43
  },
44
44
  "peerDependencies": {
45
- "react": "^16 || ^17"
45
+ "react": "^16 || ^17 || ^18"
46
46
  },
47
- "gitHead": "8624fdff10d45cdd07dec7f2eda7d2f4db68c474"
47
+ "gitHead": "66fbcb1c0c01b0afc6b51b0f3fe4719be92996b0"
48
48
  }
@@ -1,4 +1,4 @@
1
- @import '~@nice-digital/nds-core/scss/core';
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 nds-container;
13
+ @include layout.container;
14
+
14
15
  &--full {
15
16
  max-width: 100%;
16
17
  padding: 0 2%;