@nice-digital/nds-core 4.0.7 → 4.0.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-digital/nds-core",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
4
4
  "description": "Core code for the NICE Design System",
5
5
  "author": "Ian Routledge <ian.routledge@nice.org.uk>",
6
6
  "contributors": [
@@ -47,5 +47,5 @@
47
47
  "@types/node": "^18.11.9",
48
48
  "typescript": "^4.8.4"
49
49
  },
50
- "gitHead": "a7286ee7a795e1b01dc9356fd858bbae2dc5b2b9"
50
+ "gitHead": "3b51e48a6c3006fa350adf2b125d6cad9454d7c7"
51
51
  }
@@ -118,9 +118,10 @@ $full-bleed-text-image-dark: global.$white;
118
118
  $full-bleed-text-image-light: global.$nice-black;
119
119
 
120
120
  // Hero
121
- $hero-background: global.$nice-blue-tint-1;
122
- $hero-border: global.$nice-blue-tint-2;
123
- $hero-image-wash: global.$nice-black;
121
+ $hero-background-default: global.$nice-cream-3;
122
+ $hero-background-dark: global.$nice-blue;
123
+ $hero-text-default: global.$nice-black;
124
+ $hero-text-dark: global.$white;
124
125
 
125
126
  // Horizontal nav
126
127
  $horizontal-nav-list-border: global.$nice-black;
@@ -18,10 +18,16 @@ $readable-width: 66ch;
18
18
  @mixin container {
19
19
  margin: auto;
20
20
  max-width: utils.rem($container-max-width);
21
- width: 96%; // IE11 support for calc not consistent https://caniuse.com/calc (See "Known issues")
22
21
  width: calc(100% - #{utils.rem($container-gutter * 2)});
23
22
  }
24
23
 
24
+ /// A container within a full bleed/full width component. Need a narrower width to offset the negative margins
25
+ @mixin fullWidthContainer {
26
+ margin: auto;
27
+ max-width: utils.rem($container-max-width);
28
+ width: calc(100% - #{utils.rem($container-gutter * 3)});
29
+ }
30
+
25
31
  /// Make an element adapt its height to fit floated children, and clear floats in both directions.
26
32
  /// @since 0.1.0
27
33
  @mixin clearfix {