@nice-digital/global-nav 5.0.910 → 5.0.914-GN-201-update-type-d

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.
@@ -44,8 +44,6 @@ var SkipLink = /*#__PURE__*/function (_Component) {
44
44
  element.setAttribute("tabIndex", "-1");
45
45
  element.focus();
46
46
  window.scrollTo(0, this.getYOffset(element));
47
- } else {
48
- console.warn("Skip link target with id " + id + " doesn't exist");
49
47
  }
50
48
  }
51
49
  } // See https://stackoverflow.com/a/442474/486434
package/lib/Main/Main.js CHANGED
@@ -36,7 +36,7 @@ function Main(props) {
36
36
  Main.propTypes = {
37
37
  children: _propTypes["default"].oneOfType([_propTypes["default"].arrayOf(_propTypes["default"].node), _propTypes["default"].node]).isRequired,
38
38
  className: _propTypes["default"].string,
39
- withPadding: _propTypes["default"]["boolean"]
39
+ withPadding: _propTypes["default"].bool
40
40
  };
41
41
  var _default = Main;
42
42
  exports["default"] = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-digital/global-nav",
3
- "version": "5.0.910",
3
+ "version": "5.0.914-GN-201-update-type-d",
4
4
  "description": "Global header and footer components for NICE digital services",
5
5
  "main": "lib/index.js",
6
6
  "types": "./types.d.ts",
package/types.d.ts CHANGED
@@ -33,7 +33,7 @@ declare module "@nice-digital/global-nav" {
33
33
 
34
34
  export type Service =
35
35
  | "guidance"
36
- | "standards"
36
+ | "standards-and-indicators"
37
37
  | "evidence"
38
38
  | "bnf"
39
39
  | "bnfc"