@orchestrator-ui/orchestrator-ui-components 3.3.0 → 3.3.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.
- package/.turbo/turbo-build.log +6 -6
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +4 -4
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/WfoSummary/WfoSummaryCard.tsx +11 -3
- package/src/configuration/version.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@3.3.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@3.3.1 build
|
|
3
3
|
> npm run generate-version && tsup src/index.ts
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @orchestrator-ui/orchestrator-ui-components@3.3.
|
|
6
|
+
> @orchestrator-ui/orchestrator-ui-components@3.3.1 generate-version
|
|
7
7
|
> node -p "'export const ORCHESTRATOR_UI_LIBRARY_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'" > src/configuration/version.ts && prettier --write src/configuration/version.ts
|
|
8
8
|
|
|
9
|
-
src/configuration/version.ts
|
|
9
|
+
src/configuration/version.ts 128ms
|
|
10
10
|
[34mCLI[39m Building entry: src/index.ts
|
|
11
11
|
[34mCLI[39m Using tsconfig: tsconfig.build.json
|
|
12
12
|
[34mCLI[39m tsup v8.3.5
|
|
@@ -16,6 +16,6 @@ src/configuration/version.ts 143ms
|
|
|
16
16
|
[34mDTS[39m Build start
|
|
17
17
|
[32mESM[39m [1mdist/index.js [22m[32m1.93 MB[39m
|
|
18
18
|
[32mESM[39m [1mdist/index.js.map [22m[32m3.51 MB[39m
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m673.
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 468ms
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 15966ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m673.69 KB[39m
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@3.3.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@3.3.1 test
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
5
|
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
@@ -33,11 +33,11 @@ PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
|
|
|
33
33
|
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
34
34
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
35
35
|
PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
|
|
36
|
-
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.
|
|
37
|
-
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.
|
|
36
|
+
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.611 s)
|
|
37
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.147 s)
|
|
38
38
|
|
|
39
39
|
Test Suites: 33 passed, 33 total
|
|
40
40
|
Tests: 211 passed, 211 total
|
|
41
41
|
Snapshots: 0 total
|
|
42
|
-
Time: 7.
|
|
42
|
+
Time: 7.437 s
|
|
43
43
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -14458,11 +14458,12 @@ declare enum SummaryCardStatus {
|
|
|
14458
14458
|
type WfoSummaryCardProps = {
|
|
14459
14459
|
headerTitle: string;
|
|
14460
14460
|
headerValue: string | number;
|
|
14461
|
-
headerStatus: SummaryCardStatus;
|
|
14462
14461
|
listTitle: string;
|
|
14463
14462
|
listItems: SummaryCardListItem[];
|
|
14463
|
+
headerStatus?: SummaryCardStatus;
|
|
14464
14464
|
button?: SummaryCardButtonConfig;
|
|
14465
14465
|
isLoading?: boolean;
|
|
14466
|
+
headerBadge?: Pick<WfoSummaryCardHeaderProps, 'iconType' | 'iconColor'>;
|
|
14466
14467
|
};
|
|
14467
14468
|
declare const WfoSummaryCard: FC<WfoSummaryCardProps>;
|
|
14468
14469
|
|
|
@@ -14544,7 +14545,7 @@ declare const IPAM_FREE_SUBNETS_ENDPOINT = "surf/ipam/free_subnets";
|
|
|
14544
14545
|
declare const SUBSCRIPTION_ACTIONS_ENDPOINT = "subscriptions/workflows";
|
|
14545
14546
|
declare const CUSTOMER_DESCRIPTION_ENDPOINT = "/subscription_customer_descriptions";
|
|
14546
14547
|
|
|
14547
|
-
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "3.3.
|
|
14548
|
+
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "3.3.1";
|
|
14548
14549
|
|
|
14549
14550
|
declare const useGetTranslationMessages: (locale: string | undefined) => {
|
|
14550
14551
|
pydanticForms: {
|
package/dist/index.js
CHANGED
|
@@ -26793,7 +26793,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
|
|
|
26793
26793
|
})(PolicyResource || {});
|
|
26794
26794
|
|
|
26795
26795
|
// src/configuration/version.ts
|
|
26796
|
-
var ORCHESTRATOR_UI_LIBRARY_VERSION = "3.3.
|
|
26796
|
+
var ORCHESTRATOR_UI_LIBRARY_VERSION = "3.3.1";
|
|
26797
26797
|
|
|
26798
26798
|
// src/types/types.ts
|
|
26799
26799
|
var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
|
|
@@ -51937,7 +51937,8 @@ var WfoSummaryCard = ({
|
|
|
51937
51937
|
headerValue,
|
|
51938
51938
|
headerTitle,
|
|
51939
51939
|
listTitle,
|
|
51940
|
-
listItems
|
|
51940
|
+
listItems,
|
|
51941
|
+
headerBadge
|
|
51941
51942
|
}) => {
|
|
51942
51943
|
const { theme } = useOrchestratorTheme();
|
|
51943
51944
|
const { cardContainerStyle } = useWithOrchestratorTheme(
|
|
@@ -51956,11 +51957,15 @@ var WfoSummaryCard = ({
|
|
|
51956
51957
|
iconColor: theme.colors.danger
|
|
51957
51958
|
};
|
|
51958
51959
|
case "Neutral" /* Neutral */:
|
|
51959
|
-
default:
|
|
51960
51960
|
return {
|
|
51961
51961
|
iconType: "kubernetesPod",
|
|
51962
51962
|
iconColor: theme.colors.primary
|
|
51963
51963
|
};
|
|
51964
|
+
default:
|
|
51965
|
+
return headerBadge ?? {
|
|
51966
|
+
iconType: "kubernetesPod",
|
|
51967
|
+
iconColor: theme.colors.primary
|
|
51968
|
+
};
|
|
51964
51969
|
}
|
|
51965
51970
|
};
|
|
51966
51971
|
return /* @__PURE__ */ jsxs127(EuiFlexItem34, { css: cardContainerStyle, children: [
|