@openshift-migration-advisor/shared-components 0.0.0 → 0.21.0-8e9be07f572f

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
@@ -19,15 +19,6 @@ yarn workspace @openshift-migration-advisor/agent-ui add @openshift-migration-ad
19
19
  npm install @openshift-migration-advisor/shared-components
20
20
  ```
21
21
 
22
- ## Peer dependencies
23
-
24
- Consumers must provide:
25
-
26
- - `react` / `react-dom` (^18.3)
27
- - `@patternfly/react-core`, `@patternfly/react-charts` (^8), `@patternfly/react-icons`, `@patternfly/react-table`, `@patternfly/react-tokens`
28
- - `@emotion/css`
29
- - `react-hook-form` (for form components)
30
-
31
22
  ## Usage
32
23
 
33
24
  ```tsx
@@ -73,4 +64,4 @@ No npm token is stored in the repo; publish uses OIDC (`id-token: write`).
73
64
 
74
65
  ## License
75
66
 
76
- [Apache 2.0](LICENSE)
67
+ [Apache 2.0](LICENSE)
@@ -6,6 +6,18 @@
6
6
  export declare const chartColorSuccess: "#0066cc";
7
7
  export declare const chartColorFailure: "#dca614";
8
8
  export declare const REPORT_CARD_EMPTY_STATE_TITLES: {
9
+ readonly networks: "Network data not collected";
10
+ readonly nicCount: "NIC count data not collected";
11
+ readonly hosts: "Host data not collected";
12
+ readonly cpuMemory: "CPU and memory data not collected";
13
+ readonly cpu: "CPU data not collected";
14
+ readonly memory: "Memory data not collected";
15
+ readonly storage: "Storage data not collected";
16
+ readonly diskTypes: "Disk type data not collected";
17
+ readonly clusters: "Cluster data not collected";
18
+ readonly cpuOvercommitment: "CPU overcommitment data not collected";
9
19
  readonly operatingSystems: "Operating system data not collected";
20
+ readonly migrationStatus: "Migration status data not collected";
21
+ readonly issuesBreakdown: "Issues breakdown data not collected";
10
22
  };
11
23
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/report/constants.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,WAA6B,CAAC;AAC5D,eAAO,MAAM,iBAAiB,WAA+B,CAAC;AAE9D,eAAO,MAAM,8BAA8B;;CAEjC,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/report/constants.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,WAA6B,CAAC;AAC5D,eAAO,MAAM,iBAAiB,WAA+B,CAAC;AAE9D,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;CAcjC,CAAC"}
@@ -8,5 +8,17 @@ import { chart_color_yellow_300 } from "@patternfly/react-tokens/dist/esm/chart_
8
8
  export const chartColorSuccess = chart_color_blue_300.value;
9
9
  export const chartColorFailure = chart_color_yellow_300.value;
10
10
  export const REPORT_CARD_EMPTY_STATE_TITLES = {
11
+ networks: "Network data not collected",
12
+ nicCount: "NIC count data not collected",
13
+ hosts: "Host data not collected",
14
+ cpuMemory: "CPU and memory data not collected",
15
+ cpu: "CPU data not collected",
16
+ memory: "Memory data not collected",
17
+ storage: "Storage data not collected",
18
+ diskTypes: "Disk type data not collected",
19
+ clusters: "Cluster data not collected",
20
+ cpuOvercommitment: "CPU overcommitment data not collected",
11
21
  operatingSystems: "Operating system data not collected",
22
+ migrationStatus: "Migration status data not collected",
23
+ issuesBreakdown: "Issues breakdown data not collected",
12
24
  };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/shared-components",
3
- "version": "0.0.0",
3
+ "version": "0.21.0-8e9be07f572f",
4
4
  "description": "Shared React UI components for Migration Advisor apps (report charts, forms, OS support tiers)",
5
- "author": "Red Hat",
5
+ "author": "Montse Ortega <mortegag@redhat.com>",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "clean": "rm -rf node_modules dist .tmp",
36
36
  "check": "yarn run -T biome check .",
37
37
  "check:fix": "yarn run -T biome check --write .",
38
- "test": "yarn run -T vitest run",
38
+ "test": "echo 'No tests configured for this package'",
39
39
  "typecheck": "yarn run -T tsc -b --noEmit"
40
40
  },
41
41
  "files": [
@@ -43,21 +43,5 @@
43
43
  "src",
44
44
  "LICENSE",
45
45
  "README.md"
46
- ],
47
- "peerDependencies": {
48
- "@emotion/css": "^11.13.0",
49
- "@patternfly/react-charts": "^8.0.0",
50
- "@patternfly/react-core": "^6.5.0",
51
- "@patternfly/react-icons": "^6.5.0",
52
- "@patternfly/react-table": "^6.5.0",
53
- "@patternfly/react-tokens": "^6.5.0",
54
- "react": "^18.3.0",
55
- "react-dom": "^18.3.0",
56
- "react-hook-form": "^7.0.0"
57
- },
58
- "devDependencies": {
59
- "@testing-library/jest-dom": "^6.9.1",
60
- "@testing-library/react": "^16.3.2",
61
- "@testing-library/user-event": "^14.6.1"
62
- }
46
+ ]
63
47
  }
@@ -10,5 +10,17 @@ export const chartColorSuccess = chart_color_blue_300.value;
10
10
  export const chartColorFailure = chart_color_yellow_300.value;
11
11
 
12
12
  export const REPORT_CARD_EMPTY_STATE_TITLES = {
13
+ networks: "Network data not collected",
14
+ nicCount: "NIC count data not collected",
15
+ hosts: "Host data not collected",
16
+ cpuMemory: "CPU and memory data not collected",
17
+ cpu: "CPU data not collected",
18
+ memory: "Memory data not collected",
19
+ storage: "Storage data not collected",
20
+ diskTypes: "Disk type data not collected",
21
+ clusters: "Cluster data not collected",
22
+ cpuOvercommitment: "CPU overcommitment data not collected",
13
23
  operatingSystems: "Operating system data not collected",
24
+ migrationStatus: "Migration status data not collected",
25
+ issuesBreakdown: "Issues breakdown data not collected",
14
26
  } as const;