Skip to content

Commit 00df5f8

Browse files
feat(key-management-service): rename manager components lib
ref: MANAGER-14822 Signed-off-by: Alex Boungnaseng <alex.boungnaseng.ext@corp.ovh.com>
1 parent b4cc678 commit 00df5f8

14 files changed

+14
-14
lines changed

packages/manager/apps/key-management-service/src/components/dashboard/tile-item/tileItem.component.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { ODS_THEME_TYPOGRAPHY_SIZE } from '@ovhcloud/ods-common-theming';
3-
import { CommonTitle } from '@ovhcloud/manager-components';
3+
import { CommonTitle } from '@ovh-ux/manager-react-components';
44

55
type TileItemProps = {
66
title: string;

packages/manager/apps/key-management-service/src/components/dashboard/tile/tile.component.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { OsdsTile } from '@ovhcloud/ods-components/react';
22
import React from 'react';
3-
import { CommonTitle } from '@ovhcloud/manager-components';
3+
import { CommonTitle } from '@ovh-ux/manager-react-components';
44

55
export type TileProps = {
66
title: string;

packages/manager/apps/key-management-service/src/components/serviceKey/modals/ServiceKeyDeactivateModal.component.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
OdsSelectValueChangeEvent,
1616
} from '@ovhcloud/ods-components';
1717
import { ODS_THEME_COLOR_INTENT } from '@ovhcloud/ods-common-theming';
18-
import { useNotifications } from '@ovhcloud/manager-components';
18+
import { useNotifications } from '@ovh-ux/manager-react-components';
1919
import Modal from '@/components/Modal/Modal';
2020

2121
import { useUpdateOkmsServiceKey } from '@/data/hooks/useUpdateOkmsServiceKey';

packages/manager/apps/key-management-service/src/components/serviceKey/modals/ServiceKeyEditNameModal.component.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
OsdsInputCustomEvent,
1616
} from '@ovhcloud/ods-components';
1717
import { ODS_THEME_COLOR_INTENT } from '@ovhcloud/ods-common-theming';
18-
import { useNotifications } from '@ovhcloud/manager-components';
18+
import { useNotifications } from '@ovh-ux/manager-react-components';
1919
import Modal from '@/components/Modal/Modal';
2020

2121
import { useUpdateOkmsServiceKey } from '@/data/hooks/useUpdateOkmsServiceKey';

packages/manager/apps/key-management-service/src/data/api/okmsServiceKey.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ColumnSort } from '@ovhcloud/manager-components';
1+
import { ColumnSort } from '@ovh-ux/manager-react-components';
22
import apiClient from '@ovh-ux/manager-core-api';
33
import { defaultCompareFunctionSortKey } from './utils';
44
import {

packages/manager/apps/key-management-service/src/data/hooks/useCreateOkmsServiceKey.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ApiError } from '@ovh-ux/manager-core-api';
22
import { useTranslation } from 'react-i18next';
3-
import { useNotifications } from '@ovhcloud/manager-components';
3+
import { useNotifications } from '@ovh-ux/manager-react-components';
44
import { useMutation, useQueryClient } from '@tanstack/react-query';
55
import { OkmsServiceKeyPostPayload } from '@/types/okmsServiceKey.type';
66
import {

packages/manager/apps/key-management-service/src/data/hooks/useDeleteOkmsServiceKey.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ApiError } from '@ovh-ux/manager-core-api';
22
import { useTranslation } from 'react-i18next';
3-
import { useNotifications } from '@ovhcloud/manager-components';
3+
import { useNotifications } from '@ovh-ux/manager-react-components';
44
import { useMutation, useQueryClient } from '@tanstack/react-query';
55
import {
66
deleteOkmsServiceKeyResource,

packages/manager/apps/key-management-service/src/data/hooks/useUpdateOkmsServiceKey.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ApiError } from '@ovh-ux/manager-core-api';
22
import { useTranslation } from 'react-i18next';
3-
import { useNotifications } from '@ovhcloud/manager-components';
3+
import { useNotifications } from '@ovh-ux/manager-react-components';
44
import { useMutation, useQueryClient } from '@tanstack/react-query';
55
import { OkmsServiceKeyPutPayload } from '@/types/okmsServiceKey.type';
66
import {

packages/manager/apps/key-management-service/src/hooks/serviceKey/useServiceKeyActions.spec.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ vi.mock('react-i18next', () => ({
88
useTranslation: vi.fn(() => ({ t: vi.fn((key) => key) })),
99
}));
1010

11-
vi.mock('@ovhcloud/manager-components', () => ({
11+
vi.mock('@ovh-ux/manager-react-components', () => ({
1212
useNotifications: vi.fn(() => ({ addSuccess: vi.fn() })),
1313
}));
1414

packages/manager/apps/key-management-service/src/pages/dashboard/serviceKeyList/serviceKeyList.page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
import {
2020
Datagrid,
2121
useDatagridSearchParams,
22-
} from '@ovhcloud/manager-components';
22+
} from '@ovh-ux/manager-react-components';
2323
import {
2424
ODS_THEME_COLOR_INTENT,
2525
ODS_THEME_TYPOGRAPHY_LEVEL,

packages/manager/apps/key-management-service/src/pages/serviceKey/createKey.page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
ErrorBanner,
77
Notifications,
88
Subtitle,
9-
} from '@ovhcloud/manager-components';
9+
} from '@ovh-ux/manager-react-components';
1010
import { ODS_THEME_COLOR_INTENT } from '@ovhcloud/ods-common-theming';
1111
import {
1212
ODS_BUTTON_SIZE,

packages/manager/apps/key-management-service/src/pages/serviceKey/serviceKey.page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
BaseLayout,
66
ErrorBanner,
77
Notifications,
8-
} from '@ovhcloud/manager-components';
8+
} from '@ovh-ux/manager-react-components';
99
import { Outlet, useNavigate, useParams } from 'react-router-dom';
1010
import {
1111
OsdsButton,

packages/manager/apps/key-management-service/src/types/okmsServiceKey.type.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ColumnSort } from '@ovhcloud/manager-components';
1+
import { ColumnSort } from '@ovh-ux/manager-react-components';
22

33
export type OkmsServiceKeyOptions = {
44
sorting: ColumnSort;

yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -5116,7 +5116,7 @@
51165116
resolved "https://registry.yarnpkg.com/@ovh-ux/translate-async-loader/-/translate-async-loader-1.0.8.tgz#7cbdc3dfed1042f511206ff6bb9f14c33b8406ba"
51175117
integrity sha512-8yEhPeRTSxtEO9ODXRYZw6pzRQiV5ULCTi8mIzt39m/b9N2TcIF4ILTPsaa8xpE4npHKa/iYgL9z0HJUFi2LGQ==
51185118

5119-
"@ovh-ux/ui-kit@^6.10.4":
5119+
"@ovh-ux/ui-kit@^6.10.0", "@ovh-ux/ui-kit@^6.10.4":
51205120
version "6.10.4"
51215121
resolved "https://registry.yarnpkg.com/@ovh-ux/ui-kit/-/ui-kit-6.10.4.tgz#155fcba5c5243e1e37a890c5a306a4aabacca180"
51225122
integrity sha512-aIus51NKljGq3HfGhLO0XKXYgq6Atky2l+MOFDGIE96fIHM9T4ugB8qpTSo4lxTTnjX1bGg/ZKKyJeBBNFtk2A==

0 commit comments

Comments
 (0)