@financial-times/dotcom-ui-header 11.2.1 → 11.3.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.
@@ -13,7 +13,7 @@ const MobileNav = (props) => {
13
13
  };
14
14
  exports.MobileNav = MobileNav;
15
15
  const NavMobile = ({ items }) => {
16
- return (react_1.default.createElement("nav", { id: "o-header-nav-mobile", className: "o-header__row o-header__nav o-header__nav--mobile", "aria-hidden": "true", "data-trackable": "header-nav:mobile" },
16
+ return (react_1.default.createElement("nav", { id: "o-header-nav-mobile", className: "o-header__row o-header__nav o-header__nav--mobile", "data-trackable": "header-nav:mobile" },
17
17
  react_1.default.createElement("ul", { className: "o-header__nav-list" }, items.map((item, index) => {
18
18
  var _a;
19
19
  return (react_1.default.createElement("li", { className: "o-header__nav-item", key: `link-${index}` },
@@ -197,7 +197,7 @@
197
197
  "affectsGlobalScope": false
198
198
  },
199
199
  "../src/components/navigation/partials.tsx": {
200
- "version": "4490493cf4204f1c176bb27c8768968b6c03129e7665a9258e88ead48b0c2efe",
200
+ "version": "ea1f4512946d569a6c2f5e863cbbe3686ad9ff4c730609b306269fa1e2ab44a9",
201
201
  "signature": "fff57eecd77a2ff5847ac6a4139236fb1671b562d8f5b4f5aa16a2a101212dd0",
202
202
  "affectsGlobalScope": false
203
203
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/dotcom-ui-header",
3
- "version": "11.2.1",
3
+ "version": "11.3.0",
4
4
  "description": "",
5
5
  "browser": "browser.js",
6
6
  "main": "component.js",
@@ -15,21 +15,19 @@
15
15
  "build:node": "tsc",
16
16
  "build:svg-to-react": "node scripts/convertSvgsToReactComponents.js",
17
17
  "build": "npm run build:node",
18
- "dev": "npm run build:node -- --watch",
19
- "preinstall": "[ \"$INIT_CWD\" != \"$PWD\" ] || npm_config_yes=true npx check-engine"
18
+ "dev": "npm run build:node -- --watch"
20
19
  },
21
20
  "keywords": [],
22
21
  "author": "",
23
22
  "license": "MIT",
24
23
  "dependencies": {
25
- "@financial-times/dotcom-types-navigation": "^11.2.1",
24
+ "@financial-times/dotcom-types-navigation": "^11.3.0",
26
25
  "n-topic-search": "^8.0.5"
27
26
  },
28
27
  "devDependencies": {
29
28
  "@financial-times/logo-images": "^1.10.1",
30
29
  "@svgr/core": "^5.0.0",
31
- "camelcase": "^6.0.0",
32
- "check-engine": "^1.10.1"
30
+ "camelcase": "^6.0.0"
33
31
  },
34
32
  "peerDependencies": {
35
33
  "@financial-times/logo-images": "^1.10.1",
@@ -40,8 +38,7 @@
40
38
  "react-dom": "17.x || 18.x"
41
39
  },
42
40
  "engines": {
43
- "node": "18.x || 20.x",
44
- "npm": "8.x || 9.x || 10.x"
41
+ "node": "18.x || 20.x || 22.x"
45
42
  },
46
43
  "files": [
47
44
  "dist/",
@@ -22,7 +22,6 @@ const NavMobile = ({ items }: { items: TNavMenuItem[] }) => {
22
22
  <nav
23
23
  id="o-header-nav-mobile"
24
24
  className="o-header__row o-header__nav o-header__nav--mobile"
25
- aria-hidden="true"
26
25
  data-trackable="header-nav:mobile"
27
26
  >
28
27
  <ul className="o-header__nav-list">