Skip to content

Commit 92a6bac

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 92a6bac

13 files changed

+13
-13
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-componentss';
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-componentss';
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-componentss';
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-componentss';
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-componentss';
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-componentss';
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-componentss';
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-componentss';
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-componentss', () => ({
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-componentss';
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-componentss';
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-componentss';
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-componentss';
22

33
export type OkmsServiceKeyOptions = {
44
sorting: ColumnSort;

0 commit comments

Comments
 (0)