@entur-partner/common 9.3.3-alpha.2 → 9.3.3-alpha.4

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": "@entur-partner/common",
3
- "version": "9.3.3-alpha.2",
3
+ "version": "9.3.3-alpha.4",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/common.esm.js",
@@ -33,7 +33,6 @@
33
33
  "@entur/tooltip": ">=2.4.7 <6.0.0",
34
34
  "react": ">=18.0.0",
35
35
  "react-dom": ">=18.0.0",
36
- "react-helmet-async": ">=2.0.0 <3.0.0",
37
36
  "react-router-dom": "^6.22.0"
38
37
  },
39
38
  "dependencies": {
@@ -59,5 +58,5 @@
59
58
  "reportFile": "jest-sonar-report.xml",
60
59
  "indent": 4
61
60
  },
62
- "gitHead": "69f6ba79c7419d1903a812945300efba5b44b306"
61
+ "gitHead": "f43d055e200cc03274f11b099ee846eef93a11f4"
63
62
  }
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- type Props = {
3
- readonly pathname: string;
4
- readonly onBreadcrumbLookup: (path: string) => string | undefined;
5
- };
6
- /**
7
- * @deprecated Won't work with React 19, because of react-helmet-async
8
- * This component changes page title by using helmet and current path. It will translate subpaths, join them with a dash
9
- * and display it on browser tab.
10
- *
11
- * @param Props.pathname - The current path from react-router-dom.useLocation()
12
- * @param Props.onBreadcrumbLookup - A function that takes a path and returns a i18n translated string or undefined
13
- * @returns A Helmet component with updated title
14
- */
15
- export declare const LegacyPageTitle: ({ pathname, onBreadcrumbLookup }: Props) => React.JSX.Element;
16
- export {};