@openshift-migration-advisor/shared-components 0.21.0-7c891f79a5ac → 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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/report/constants.ts"],"names":[],"mappings":"
|
|
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"}
|
package/dist/report/constants.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { chart_color_blue_300
|
|
1
|
+
import { chart_color_blue_300 } from "@patternfly/react-tokens/dist/esm/chart_color_blue_300";
|
|
2
|
+
import { chart_color_yellow_300 } from "@patternfly/react-tokens/dist/esm/chart_color_yellow_300";
|
|
2
3
|
/**
|
|
3
4
|
* PatternFly chart color semantics (https://www.patternfly.org/charts/colors-for-charts/design-guidelines/#best-practices):
|
|
4
5
|
* Blue → success / migratable / supported
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"osSupportTier.d.ts","sourceRoot":"","sources":["../../src/report/osSupportTier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"osSupportTier.d.ts","sourceRoot":"","sources":["../../src/report/osSupportTier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAUzD;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;CAKd,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAA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AC,CAElC;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,WAAW,GAChB,qBAAqB,CAEvB"}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import { t_color_blue_20
|
|
1
|
+
import { t_color_blue_20 } from "@patternfly/react-tokens/dist/esm/t_color_blue_20";
|
|
2
|
+
import { t_color_blue_60 } from "@patternfly/react-tokens/dist/esm/t_color_blue_60";
|
|
3
|
+
import { t_color_green_20 } from "@patternfly/react-tokens/dist/esm/t_color_green_20";
|
|
4
|
+
import { t_color_green_60 } from "@patternfly/react-tokens/dist/esm/t_color_green_60";
|
|
5
|
+
import { t_color_orange_20 } from "@patternfly/react-tokens/dist/esm/t_color_orange_20";
|
|
6
|
+
import { t_color_orange_60 } from "@patternfly/react-tokens/dist/esm/t_color_orange_60";
|
|
7
|
+
import { t_color_yellow_20 } from "@patternfly/react-tokens/dist/esm/t_color_yellow_20";
|
|
8
|
+
import { t_color_yellow_60 } from "@patternfly/react-tokens/dist/esm/t_color_yellow_60";
|
|
2
9
|
/**
|
|
3
10
|
* Guest OS support tiers (matches agent-sdk / planner-sdk `OsInfoSupportTierEnum` values).
|
|
4
11
|
* Defined locally so this package stays SDK-agnostic.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openshift-migration-advisor/shared-components",
|
|
3
|
-
"version": "0.21.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
5
|
"author": "Montse Ortega <mortegag@redhat.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,8 +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": "
|
|
39
|
-
"test:watch": "yarn run -T vitest",
|
|
38
|
+
"test": "echo 'No tests configured for this package'",
|
|
40
39
|
"typecheck": "yarn run -T tsc -b --noEmit"
|
|
41
40
|
},
|
|
42
41
|
"files": [
|
package/src/report/constants.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
chart_color_yellow_300,
|
|
4
|
-
} from "@patternfly/react-tokens";
|
|
1
|
+
import { chart_color_blue_300 } from "@patternfly/react-tokens/dist/esm/chart_color_blue_300";
|
|
2
|
+
import { chart_color_yellow_300 } from "@patternfly/react-tokens/dist/esm/chart_color_yellow_300";
|
|
5
3
|
|
|
6
4
|
/**
|
|
7
5
|
* PatternFly chart color semantics (https://www.patternfly.org/charts/colors-for-charts/design-guidelines/#best-practices):
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import type { LabelProps } from "@patternfly/react-core";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
t_color_yellow_60,
|
|
11
|
-
} from "@patternfly/react-tokens";
|
|
2
|
+
import { t_color_blue_20 } from "@patternfly/react-tokens/dist/esm/t_color_blue_20";
|
|
3
|
+
import { t_color_blue_60 } from "@patternfly/react-tokens/dist/esm/t_color_blue_60";
|
|
4
|
+
import { t_color_green_20 } from "@patternfly/react-tokens/dist/esm/t_color_green_20";
|
|
5
|
+
import { t_color_green_60 } from "@patternfly/react-tokens/dist/esm/t_color_green_60";
|
|
6
|
+
import { t_color_orange_20 } from "@patternfly/react-tokens/dist/esm/t_color_orange_20";
|
|
7
|
+
import { t_color_orange_60 } from "@patternfly/react-tokens/dist/esm/t_color_orange_60";
|
|
8
|
+
import { t_color_yellow_20 } from "@patternfly/react-tokens/dist/esm/t_color_yellow_20";
|
|
9
|
+
import { t_color_yellow_60 } from "@patternfly/react-tokens/dist/esm/t_color_yellow_60";
|
|
12
10
|
|
|
13
11
|
/**
|
|
14
12
|
* Guest OS support tiers (matches agent-sdk / planner-sdk `OsInfoSupportTierEnum` values).
|