@nice-digital/global-nav 4.1.707-GN-165-IconsDep → 4.1.711

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.
@@ -7,7 +7,7 @@
7
7
  background: $colour-footer-background;
8
8
  box-sizing: border-box;
9
9
  color: $colour-footer-text;
10
- contain-intrinsic-size: 350px; /* stylelint-disable-line */
10
+ contain-intrinsic-size: 100vw rem(1090); /* stylelint-disable-line */
11
11
  content-visibility: auto; /* stylelint-disable-line */
12
12
  font-family: unquote($nds-font-family-sans);
13
13
  margin: rem($nds-spacing-large 0 0 0);
@@ -23,6 +23,20 @@
23
23
  a {
24
24
  font-weight: normal; // To override Pathways global anchor style
25
25
  }
26
+
27
+ // Estimates of intrinsic height across breakpoints
28
+ @include mq($from: xs) {
29
+ contain-intrinsic-height: rem(930);
30
+ }
31
+ @include mq($from: sm) {
32
+ contain-intrinsic-height: rem(540);
33
+ }
34
+ @include mq($from: md) {
35
+ contain-intrinsic-height: rem(450);
36
+ }
37
+ @include mq($from: lg) {
38
+ contain-intrinsic-height: rem(495);
39
+ }
26
40
  }
27
41
 
28
42
  .container {
@@ -122,7 +122,7 @@
122
122
 
123
123
  @include mq($from: md) {
124
124
  .scrim {
125
- background: rgba(0, 0, 0, 70%);
125
+ background: rgba(0, 0, 0, 0.7);
126
126
  display: block;
127
127
  left: 0;
128
128
  min-height: 100vh;
@@ -2,7 +2,7 @@
2
2
 
3
3
  // Mostly copied from nds-button
4
4
 
5
- $nds-button-shadow-colour: rgba(0, 0, 0, 20%);
5
+ $nds-button-shadow-colour: rgba(0, 0, 0, 0.2);
6
6
  $nds-button-border-radius: em(3px);
7
7
 
8
8
  .button {
@@ -28,7 +28,7 @@ button.link {
28
28
  .dropdown {
29
29
  background-color: $nds-colour-body;
30
30
  box-shadow: 0 rem($nds-spacing-small) rem($nds-spacing-small) 0
31
- rgba(0, 0, 0, 10%);
31
+ rgba(0, 0, 0, 0.1);
32
32
  display: none;
33
33
  left: 0;
34
34
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-digital/global-nav",
3
- "version": "4.1.707-GN-165-IconsDep",
3
+ "version": "4.1.711",
4
4
  "description": "Global header and footer components for NICE digital services",
5
5
  "main": "lib/index.js",
6
6
  "types": "./types.d.ts",