@ovh-ux/manager-pci-common 2.3.3 → 2.4.1

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.
@@ -36,8 +36,8 @@ export declare function useRegionSelector({ projectId, onSelectRegion, regionFil
36
36
  isPlaceholderData: boolean;
37
37
  isRefetching: boolean;
38
38
  isStale: boolean;
39
- refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("./useRegions").ProjectLocalisation, Error>>;
40
- fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
39
+ refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("./useRegions").ProjectLocalisation, Error>>;
40
+ fetchStatus: import("@tanstack/react-query").FetchStatus;
41
41
  } | {
42
42
  regions: TLocalisation[];
43
43
  continents: import("./useRegions").TContinent[];
@@ -70,8 +70,8 @@ export declare function useRegionSelector({ projectId, onSelectRegion, regionFil
70
70
  isPlaceholderData: boolean;
71
71
  isRefetching: boolean;
72
72
  isStale: boolean;
73
- refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("./useRegions").ProjectLocalisation, Error>>;
74
- fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
73
+ refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("./useRegions").ProjectLocalisation, Error>>;
74
+ fetchStatus: import("@tanstack/react-query").FetchStatus;
75
75
  } | {
76
76
  regions: TLocalisation[];
77
77
  continents: import("./useRegions").TContinent[];
@@ -104,8 +104,8 @@ export declare function useRegionSelector({ projectId, onSelectRegion, regionFil
104
104
  isPlaceholderData: boolean;
105
105
  isRefetching: boolean;
106
106
  isStale: boolean;
107
- refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("./useRegions").ProjectLocalisation, Error>>;
108
- fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
107
+ refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("./useRegions").ProjectLocalisation, Error>>;
108
+ fetchStatus: import("@tanstack/react-query").FetchStatus;
109
109
  } | {
110
110
  regions: TLocalisation[];
111
111
  continents: import("./useRegions").TContinent[];
@@ -138,8 +138,8 @@ export declare function useRegionSelector({ projectId, onSelectRegion, regionFil
138
138
  isPlaceholderData: boolean;
139
139
  isRefetching: boolean;
140
140
  isStale: boolean;
141
- refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("./useRegions").ProjectLocalisation, Error>>;
142
- fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
141
+ refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("./useRegions").ProjectLocalisation, Error>>;
142
+ fetchStatus: import("@tanstack/react-query").FetchStatus;
143
143
  } | {
144
144
  regions: TLocalisation[];
145
145
  continents: import("./useRegions").TContinent[];
@@ -172,7 +172,7 @@ export declare function useRegionSelector({ projectId, onSelectRegion, regionFil
172
172
  isPlaceholderData: boolean;
173
173
  isRefetching: boolean;
174
174
  isStale: boolean;
175
- refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("./useRegions").ProjectLocalisation, Error>>;
176
- fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
175
+ refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("./useRegions").ProjectLocalisation, Error>>;
176
+ fetchStatus: import("@tanstack/react-query").FetchStatus;
177
177
  };
178
178
  export {};
@@ -1,5 +1,5 @@
1
1
  import { TRegion } from '../../api/data/regions';
2
- export declare const useProjectRegions: (projectId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TRegion[], Error>;
2
+ export declare const useProjectRegions: (projectId: string) => import("@tanstack/react-query").UseQueryResult<TRegion[], Error>;
3
3
  export interface TContinent {
4
4
  id: string;
5
5
  code: string;
@@ -17,4 +17,4 @@ export interface ProjectLocalisation {
17
17
  regions: TLocalisation[];
18
18
  continents: TContinent[];
19
19
  }
20
- export declare const useProjectLocalisation: (projectId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<ProjectLocalisation, Error>;
20
+ export declare const useProjectLocalisation: (projectId: string) => import("@tanstack/react-query").UseQueryResult<ProjectLocalisation, Error>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type TShapesInputProps<T> = {
3
2
  items?: T[];
4
3
  value?: T;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type TabItemProps = {
3
2
  name: string;
4
3
  title: string | JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface Item {
3
2
  id: string;
4
3
  isDisabled?: boolean;
@@ -6,7 +6,7 @@ export declare const shellContext: {
6
6
  };
7
7
  shell: {
8
8
  navigation: {
9
- getURL: import("@vitest/spy").Mock<(...args: any[]) => any>;
9
+ getURL: import("vitest").Mock<(...args: any[]) => any>;
10
10
  };
11
11
  };
12
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovh-ux/manager-pci-common",
3
- "version": "2.3.3",
3
+ "version": "2.4.1",
4
4
  "private": false,
5
5
  "description": "Public Cloud Common components",
6
6
  "homepage": "https://github.com/ovh/manager/blob/master/packages/manager/modules/manager-pci-common/README.md",
@@ -42,9 +42,9 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@ovh-ux/manager-core-api": "^0.10.1",
45
- "@ovh-ux/manager-react-components": "^2.15.1",
45
+ "@ovh-ux/manager-react-components": "^2.16.0",
46
46
  "@ovh-ux/manager-react-shell-client": "^0.8.5",
47
- "@ovh-ux/manager-vite-config": "^0.9.2",
47
+ "@ovh-ux/manager-vite-config": "^0.9.3",
48
48
  "@ovhcloud/ods-components": "^18.4.1",
49
49
  "@ovhcloud/ods-themes": "^18.4.1",
50
50
  "@tanstack/react-query": "^5.51.21",
@@ -55,7 +55,7 @@
55
55
  "@types/react": "^18.2.55",
56
56
  "@types/react-dom": "^18.2.19",
57
57
  "@vitejs/plugin-react": "^4.2.1",
58
- "@vitest/coverage-v8": "^1.2.2",
58
+ "@vitest/coverage-v8": "^2.1.9",
59
59
  "element-internals-polyfill": "^1.3.11",
60
60
  "i18next": "^23.8.2",
61
61
  "react": "^18.2.0",