@nice-digital/global-nav 4.1.805 → 4.1.808-GN-181-fix-console-e

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
@@ -707,12 +707,16 @@ This renders with the default configuration. See [the configuration section belo
707
707
 
708
708
  > Note: you can reference the non-minified version by removing _.min_ from the filename.
709
709
 
710
- Reference a specific version of the global nav by including the build number as a sub folder. This is useful for testing, or in case of a breaking change, for example:
710
+ Reference a specific version of the global nav by including the build number as a sub folder. This is useful for testing, in case of a breaking change, or in case of needing to roll back for a hotfix, for example:
711
711
 
712
712
  ```html
713
- <script src="//alpha-cdn.nice.org.uk/global-nav/1.2.3-r1a2b3c/global-nav.min.js"></script>
713
+ <script src="//alpha-cdn.nice.org.uk/global-nav/4.1.806-GN-180-FixInDev/global-nav.min.js"></script>
714
+ or
715
+ <script src="//cdn.nice.org.uk/global-nav/4.1.805%2Br6D13311/global-nav.min.js"></script>
714
716
  ```
715
717
 
718
+ Note the production build needs the `+` character in the build metadata encoding as `%2B` to avoid browsers interpreting it as a space in the URL.
719
+
716
720
  > See the [IE8](#supporting-ie8) section below if you're supporting IE8.
717
721
 
718
722
  #### Container IDs
package/lib/Main/Main.js CHANGED
@@ -29,7 +29,6 @@ function Main(props) {
29
29
  withPadding = _props$withPadding === void 0 ? true : _props$withPadding,
30
30
  rest = (0, _objectWithoutPropertiesLoose2["default"])(props, _excluded);
31
31
  return /*#__PURE__*/_react["default"].createElement("main", (0, _extends2["default"])({
32
- withPadding: withPadding,
33
32
  className: (0, _classnames["default"])([_MainModule["default"].main, className], withPadding && _MainModule["default"].withPadding)
34
33
  }, rest), children, /*#__PURE__*/_react["default"].createElement(_BackToTop.BackToTop, null));
35
34
  }
package/lib/services.json CHANGED
@@ -152,6 +152,7 @@
152
152
  "text": "NICE In development",
153
153
  "id": "indev",
154
154
  "dropdown": false,
155
+ "header": true,
155
156
  "links": [
156
157
  {
157
158
  "text": "Guidance projects",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-digital/global-nav",
3
- "version": "4.1.805",
3
+ "version": "4.1.808-GN-181-fix-console-e",
4
4
  "description": "Global header and footer components for NICE digital services",
5
5
  "main": "lib/index.js",
6
6
  "types": "./types.d.ts",