@os-team/profile 1.2.2 → 1.2.3

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
@@ -193,7 +193,7 @@ import {
193
193
  Navigation,
194
194
  NavigationItem,
195
195
  } from '@os-design/core';
196
- import { useLocation, Link } from 'react-router-dom';
196
+ import { useLocation, Link } from 'react-router';
197
197
  import {
198
198
  UserAvatarAddon,
199
199
  ProfileDrawer,
@@ -266,7 +266,7 @@ Wrap your app in `ProtectedWrapper` like this:
266
266
  import React, { Suspense } from 'react';
267
267
  import { GlobalStyles } from '@os-design/core';
268
268
  import { ThemeProvider } from '@os-design/theming';
269
- import { BrowserRouter } from 'react-router-dom';
269
+ import { BrowserRouter } from 'react-router';
270
270
  import { RelayEnvironmentProvider } from 'react-relay/hooks';
271
271
  import { ProtectedWrapper } from '@os-team/profile';
272
272
  import ErrorBoundary from '@os-design/error-boundary';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@os-team/profile",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "license": "UNLICENSED",
5
5
  "repository": "git@gitlab.com:os-team/libs/profile.git",
6
6
  "main": "./dist/index.js",
@@ -35,13 +35,13 @@
35
35
  "registry": "https://registry.npmjs.org"
36
36
  },
37
37
  "dependencies": {
38
- "@os-design/core": "^1.0.261",
39
- "@os-design/form": "^1.0.96",
40
- "@os-design/icons": "^1.0.64",
41
- "@os-design/media": "^1.0.29",
42
- "@os-design/styles": "^1.0.61",
43
- "@os-design/theming": "^1.0.57",
44
- "@os-design/utils": "^1.0.81",
38
+ "@os-design/core": "^1.0.262",
39
+ "@os-design/form": "^1.0.97",
40
+ "@os-design/icons": "^1.0.65",
41
+ "@os-design/media": "^1.0.30",
42
+ "@os-design/styles": "^1.0.62",
43
+ "@os-design/theming": "^1.0.58",
44
+ "@os-design/utils": "^1.0.82",
45
45
  "@os-team/plural-forms": "^1.0.14"
46
46
  },
47
47
  "devDependencies": {
@@ -54,7 +54,7 @@
54
54
  "@emotion/react": "^11.13.5",
55
55
  "@emotion/serialize": "^1.3.3",
56
56
  "@emotion/styled": "^11.13.5",
57
- "@os-team/prettier-config": "1.2.5",
57
+ "@os-team/prettier-config": "1.2.7",
58
58
  "@os-team/relay-network-creator": "^1.3.1",
59
59
  "@os-team/relay-network-mw-upload": "^1.2.24",
60
60
  "@types/jest": "^29.5.14",
@@ -62,13 +62,12 @@
62
62
  "@types/react": "^18.3.12",
63
63
  "@types/react-dom": "^18.3.1",
64
64
  "@types/react-relay": "^16.0.6",
65
- "@types/react-router-dom": "^5.3.3",
66
65
  "@typescript-eslint/eslint-plugin": "^8.15.0",
67
66
  "@typescript-eslint/parser": "^8.15.0",
68
67
  "babel-plugin-relay": "^18.2.0",
69
68
  "cross-env": "^7.0.3",
70
69
  "eslint": "^9.15.0",
71
- "eslint-config-os-team-react": "1.2.20",
70
+ "eslint-config-os-team-react": "1.2.22",
72
71
  "get-graphql-schema": "^2.1.2",
73
72
  "graphql": "^16.9.0",
74
73
  "husky": "^9.1.7",
@@ -85,7 +84,7 @@
85
84
  "react-dom": "^18.3.1",
86
85
  "react-i18next": "^15.1.1",
87
86
  "react-relay": "^18.2.0",
88
- "react-router-dom": "^7.0.1",
87
+ "react-router": "^7.0.1",
89
88
  "react-scripts": "^5.0.1",
90
89
  "react-test-renderer": "^18.3.1",
91
90
  "relay-compiler": "^18.2.0",
@@ -111,7 +110,7 @@
111
110
  "react-dom": "^18.2.0",
112
111
  "react-i18next": ">=11",
113
112
  "react-relay": "^14.1.0",
114
- "react-router-dom": ">=5",
113
+ "react-router": ">=5",
115
114
  "react-scripts": ">=5",
116
115
  "relay-compiler": ">=12",
117
116
  "relay-runtime": ">=12"
package/src/App.tsx CHANGED
@@ -1,7 +1,7 @@
1
1
  import React, { Suspense } from 'react';
2
2
  import { GlobalStyles } from '@os-design/core';
3
3
  import { ThemeProvider } from '@os-design/theming';
4
- import { BrowserRouter } from 'react-router-dom';
4
+ import { BrowserRouter } from 'react-router';
5
5
  import { RelayEnvironmentProvider } from 'react-relay';
6
6
  import { ErrorBoundary, type FallbackFn } from '@os-design/utils';
7
7
  import AppRouter from './AppRouter';
package/src/AppRouter.tsx CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Routes, Route, Navigate } from 'react-router-dom';
2
+ import { Routes, Route, Navigate } from 'react-router';
3
3
  import HomePage from './pages/HomePage';
4
4
 
5
5
  const AppRouter: React.FC = () => (
@@ -4,7 +4,7 @@ import {
4
4
  Navigation,
5
5
  NavigationItem,
6
6
  } from '@os-design/core';
7
- import { useLocation, Link } from 'react-router-dom';
7
+ import { useLocation, Link } from 'react-router';
8
8
  import { useTranslation } from 'react-i18next';
9
9
  import HomeIcon from './icons/HomeIcon';
10
10
  import {