@scm-manager/ui-components 4.0.0-REACT19 → 4.0.0-REACT19-20250825-073633

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": "@scm-manager/ui-components",
3
- "version": "4.0.0-REACT19",
3
+ "version": "4.0.0-REACT19-20250825-073633",
4
4
  "description": "UI Components for SCM-Manager and its plugins",
5
5
  "main": "src/index.ts",
6
6
  "files": [
@@ -37,10 +37,10 @@
37
37
  "@scm-manager/jest-preset": "^2.15.0-alpha1",
38
38
  "@scm-manager/prettier-config": "^2.12.0",
39
39
  "@scm-manager/tsconfig": "^2.13.0",
40
- "@scm-manager/ui-shortcuts": "4.0.0-REACT19",
41
- "@scm-manager/ui-syntaxhighlighting": "4.0.0-REACT19",
42
- "@scm-manager/ui-text": "4.0.0-REACT19",
43
- "@scm-manager/ui-types": "4.0.0-REACT19",
40
+ "@scm-manager/ui-shortcuts": "4.0.0-REACT19-20250825-073633",
41
+ "@scm-manager/ui-syntaxhighlighting": "4.0.0-REACT19-20250825-073633",
42
+ "@scm-manager/ui-text": "4.0.0-REACT19-20250825-073633",
43
+ "@scm-manager/ui-types": "4.0.0-REACT19-20250825-073633",
44
44
  "@storybook/addon-actions": "^9.0.8",
45
45
  "@storybook/addon-docs": "^9.1.5",
46
46
  "@storybook/addon-essentials": "^9.0.0-alpha.12",
@@ -67,12 +67,12 @@
67
67
  "storybook-addon-themes": "^6.1.0"
68
68
  },
69
69
  "dependencies": {
70
- "@scm-manager/ui-api": "4.0.0-REACT19",
71
- "@scm-manager/ui-buttons": "4.0.0-REACT19",
72
- "@scm-manager/ui-core": "4.0.0-REACT19",
73
- "@scm-manager/ui-extensions": "4.0.0-REACT19",
74
- "@scm-manager/ui-layout": "4.0.0-REACT19",
75
- "@scm-manager/ui-overlays": "4.0.0-REACT19",
70
+ "@scm-manager/ui-api": "4.0.0-REACT19-20250825-073633",
71
+ "@scm-manager/ui-buttons": "4.0.0-REACT19-20250825-073633",
72
+ "@scm-manager/ui-core": "4.0.0-REACT19-20250825-073633",
73
+ "@scm-manager/ui-extensions": "4.0.0-REACT19-20250825-073633",
74
+ "@scm-manager/ui-layout": "4.0.0-REACT19-20250825-073633",
75
+ "@scm-manager/ui-overlays": "4.0.0-REACT19-20250825-073633",
76
76
  "deepmerge": "^4.2.2",
77
77
  "hast-util-sanitize": "^3.0.2",
78
78
  "react-diff-view": "^2.4.10",
@@ -104,4 +104,4 @@
104
104
  "publishConfig": {
105
105
  "access": "public"
106
106
  }
107
- }
107
+ }
@@ -20,7 +20,6 @@ import { NavLink } from "../navigation";
20
20
  import { Route } from "react-router-dom";
21
21
  import { useTranslation, WithTranslation, withTranslation } from "react-i18next";
22
22
  import { Link, Links, Namespace, Repository } from "@scm-manager/ui-types";
23
- import { urls } from "@scm-manager/ui-api";
24
23
  import {
25
24
  TitledGlobalSettingComponent,
26
25
  TitledNamespaceSettingComponent,
@@ -58,7 +57,7 @@ class ConfigurationBinder {
58
57
  }
59
58
 
60
59
  route(path: string, Component: any) {
61
- return <Route path={urls.escapeUrlForRoute(path)} element={Component} />;
60
+ return <Route path={path} element={Component} />;
62
61
  }
63
62
 
64
63
  bindGlobal(to: string, labelI18nKey: string, linkName: string, ConfigurationComponent: any, sortKey?: string) {
@@ -105,7 +104,7 @@ class ConfigurationBinder {
105
104
 
106
105
  const AdminNavLink = withTranslation(this.i18nNamespace)(
107
106
  ({ t }: WithTranslation & extensionPoints.AdminNavigation["props"]) =>
108
- this.navLink(to, labelI18nKey, t, { icon }),
107
+ this.navLink("/admin/" + to, labelI18nKey, t, { icon }),
109
108
  );
110
109
  binder.bind("admin.navigation", AdminNavLink, predicate);
111
110