@orchestrator-ui/orchestrator-ui-components 8.4.3 → 8.4.5
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 +5 -5
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +11 -8
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/components/WfoStartButton/WfoStartButtonComboBox.tsx +7 -3
- package/src/configuration/version.ts +1 -1
- package/src/types/types.ts +3 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@8.4.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@8.4.5 build
|
|
3
3
|
> npm run generate-version && tsup src/index.ts
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @orchestrator-ui/orchestrator-ui-components@8.4.
|
|
6
|
+
> @orchestrator-ui/orchestrator-ui-components@8.4.5 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 51ms
|
|
10
10
|
[34mCLI[39m Building entry: src/index.ts
|
|
11
11
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
12
12
|
[34mCLI[39m tsup v8.5.1
|
|
@@ -14,9 +14,9 @@ src/configuration/version.ts 43ms
|
|
|
14
14
|
[34mCLI[39m Target: es2022
|
|
15
15
|
[34mCLI[39m Cleaning output folder
|
|
16
16
|
[34mESM[39m Build start
|
|
17
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
17
|
+
[32mESM[39m [1mdist/index.js [22m[32m786.06 KB[39m
|
|
18
18
|
[32mESM[39m [1mdist/index.js.map [22m[32m1.34 MB[39m
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 310ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 21429ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.49 MB[39m
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@8.4.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@8.4.5 test
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
6
|
-
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
7
5
|
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
8
6
|
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
9
7
|
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
8
|
+
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
10
9
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
11
10
|
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
11
|
+
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
12
12
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
|
|
13
13
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
|
|
14
14
|
PASS Wfo-UI Tests src/utils/compareVersions.spec.ts
|
|
@@ -36,10 +36,10 @@ PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
|
36
36
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
37
37
|
PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
|
|
38
38
|
PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
|
|
39
|
-
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.
|
|
39
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.372 s)
|
|
40
40
|
|
|
41
41
|
Test Suites: 35 passed, 35 total
|
|
42
42
|
Tests: 227 passed, 227 total
|
|
43
43
|
Snapshots: 0 total
|
|
44
|
-
Time:
|
|
44
|
+
Time: 8.084 s
|
|
45
45
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @orchestrator-ui/orchestrator-ui-components
|
|
2
2
|
|
|
3
|
+
## 8.4.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f668ff0: Updates to latest pydantic-forms version
|
|
8
|
+
|
|
9
|
+
## 8.4.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 11f00ba: Fix product state filter not working correctly for non-active products
|
|
14
|
+
|
|
3
15
|
## 8.4.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -23675,9 +23675,9 @@ interface ProductBlockDefinition {
|
|
|
23675
23675
|
}
|
|
23676
23676
|
declare enum ProductLifecycleStatus {
|
|
23677
23677
|
ACTIVE = "active",
|
|
23678
|
-
PRE_PRODUCTION = "
|
|
23679
|
-
PHASE_OUT = "
|
|
23680
|
-
END_OF_LIFE = "
|
|
23678
|
+
PRE_PRODUCTION = "pre_production",
|
|
23679
|
+
PHASE_OUT = "phase_out",
|
|
23680
|
+
END_OF_LIFE = "end_of_life"
|
|
23681
23681
|
}
|
|
23682
23682
|
declare enum BadgeType {
|
|
23683
23683
|
WORKFLOW = "workflow",
|
|
@@ -27634,7 +27634,7 @@ declare const METADATA_WORKFLOWS_ENDPOINT = "workflows";
|
|
|
27634
27634
|
declare const METADATA_SCHEDULES_ENDPOINT = "schedules";
|
|
27635
27635
|
declare const SEARCH_QUERY_RESULTS_ENDPOINT = "search/queries";
|
|
27636
27636
|
|
|
27637
|
-
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "8.4.
|
|
27637
|
+
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "8.4.5";
|
|
27638
27638
|
|
|
27639
27639
|
declare const useGetTranslationMessages: (locale: string | undefined) => {
|
|
27640
27640
|
pydanticForms: {
|
package/dist/index.js
CHANGED
|
@@ -64,7 +64,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
|
|
|
64
64
|
})(PolicyResource || {});
|
|
65
65
|
|
|
66
66
|
// src/configuration/version.ts
|
|
67
|
-
var ORCHESTRATOR_UI_LIBRARY_VERSION = "8.4.
|
|
67
|
+
var ORCHESTRATOR_UI_LIBRARY_VERSION = "8.4.5";
|
|
68
68
|
|
|
69
69
|
// src/types/types.ts
|
|
70
70
|
var EngineStatus = /* @__PURE__ */ ((EngineStatus2) => {
|
|
@@ -81,9 +81,9 @@ var WorkerTypes = /* @__PURE__ */ ((WorkerTypes3) => {
|
|
|
81
81
|
})(WorkerTypes || {});
|
|
82
82
|
var ProductLifecycleStatus = /* @__PURE__ */ ((ProductLifecycleStatus2) => {
|
|
83
83
|
ProductLifecycleStatus2["ACTIVE"] = "active";
|
|
84
|
-
ProductLifecycleStatus2["PRE_PRODUCTION"] = "
|
|
85
|
-
ProductLifecycleStatus2["PHASE_OUT"] = "
|
|
86
|
-
ProductLifecycleStatus2["END_OF_LIFE"] = "
|
|
84
|
+
ProductLifecycleStatus2["PRE_PRODUCTION"] = "pre_production";
|
|
85
|
+
ProductLifecycleStatus2["PHASE_OUT"] = "phase_out";
|
|
86
|
+
ProductLifecycleStatus2["END_OF_LIFE"] = "end_of_life";
|
|
87
87
|
return ProductLifecycleStatus2;
|
|
88
88
|
})(ProductLifecycleStatus || {});
|
|
89
89
|
var BadgeType = /* @__PURE__ */ ((BadgeType2) => {
|
|
@@ -4602,6 +4602,9 @@ var getStyles = ({ theme }) => {
|
|
|
4602
4602
|
|
|
4603
4603
|
// src/components/WfoStartButton/WfoStartButtonComboBox.tsx
|
|
4604
4604
|
import { Fragment as Fragment3, jsx as jsx68, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
|
|
4605
|
+
var formatProductStatusLabel = (productStatus) => {
|
|
4606
|
+
return capitalize(productStatus.replace(/_/g, " "));
|
|
4607
|
+
};
|
|
4605
4608
|
var WfoStartButtonComboBox = ({
|
|
4606
4609
|
buttonText,
|
|
4607
4610
|
options,
|
|
@@ -4642,7 +4645,7 @@ var WfoStartButtonComboBox = ({
|
|
|
4642
4645
|
iconSide: "right",
|
|
4643
4646
|
iconType: () => /* @__PURE__ */ jsx68(WfoChevronDown, { height: 18, width: 18, color: "currentColor" }),
|
|
4644
4647
|
onClick: () => setFilterPopoverOpen((v) => !v),
|
|
4645
|
-
children: /* @__PURE__ */ jsx68("b", { children:
|
|
4648
|
+
children: /* @__PURE__ */ jsx68("b", { children: formatProductStatusLabel(selectedProductStatus ?? "active" /* ACTIVE */) })
|
|
4646
4649
|
}
|
|
4647
4650
|
),
|
|
4648
4651
|
isOpen: isFilterPopoverOpen,
|
|
@@ -4653,10 +4656,10 @@ var WfoStartButtonComboBox = ({
|
|
|
4653
4656
|
{
|
|
4654
4657
|
size: "xs",
|
|
4655
4658
|
onClick: () => {
|
|
4656
|
-
setSelectedProductStatus(productStatus);
|
|
4659
|
+
setSelectedProductStatus(productStatus.toUpperCase());
|
|
4657
4660
|
setFilterPopoverOpen(false);
|
|
4658
4661
|
},
|
|
4659
|
-
children:
|
|
4662
|
+
children: formatProductStatusLabel(productStatus ?? "active" /* ACTIVE */)
|
|
4660
4663
|
},
|
|
4661
4664
|
productStatus
|
|
4662
4665
|
) }, productStatus))
|
|
@@ -6540,7 +6543,7 @@ var WfoProductStatusBadge = ({ status }) => {
|
|
|
6540
6543
|
badgeColor: toSecondaryColor(success),
|
|
6541
6544
|
textColor: textSuccess
|
|
6542
6545
|
};
|
|
6543
|
-
case "
|
|
6546
|
+
case "end_of_life" /* END_OF_LIFE */:
|
|
6544
6547
|
return {
|
|
6545
6548
|
badgeColor: borderBaseSubdued,
|
|
6546
6549
|
textColor: textParagraph
|