@orchestrator-ui/orchestrator-ui-components 8.4.3 → 8.4.4

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,12 +1,12 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@8.4.3 build
2
+ > @orchestrator-ui/orchestrator-ui-components@8.4.4 build
3
3
  > npm run generate-version && tsup src/index.ts
4
4
 
5
5
 
6
- > @orchestrator-ui/orchestrator-ui-components@8.4.3 generate-version
6
+ > @orchestrator-ui/orchestrator-ui-components@8.4.4 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 43ms
9
+ src/configuration/version.ts 39ms
10
10
  CLI Building entry: src/index.ts
11
11
  CLI Using tsconfig: tsconfig.json
12
12
  CLI tsup v8.5.1
@@ -14,9 +14,9 @@ src/configuration/version.ts 43ms
14
14
  CLI Target: es2022
15
15
  CLI Cleaning output folder
16
16
  ESM Build start
17
- ESM dist/index.js 785.86 KB
17
+ ESM dist/index.js 786.06 KB
18
18
  ESM dist/index.js.map 1.34 MB
19
- ESM ⚡️ Build success in 289ms
19
+ ESM ⚡️ Build success in 296ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 21424ms
21
+ DTS ⚡️ Build success in 19954ms
22
22
  DTS dist/index.d.ts 1.49 MB
@@ -1,4 +1,4 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@8.4.3 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@8.4.4 lint
3
3
  > eslint
4
4
 
@@ -1,20 +1,20 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@8.4.3 test
2
+ > @orchestrator-ui/orchestrator-ui-components@8.4.4 test
3
3
  > jest
4
4
 
5
5
  PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
6
6
  PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
7
- PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
8
- 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/utils/date.spec.ts
10
9
  PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
10
+ PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
11
11
  PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.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
15
15
  PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
16
- PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
17
16
  PASS Wfo-UI Tests src/rtk/utils.spec.ts
17
+ PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
18
18
  PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
19
19
  PASS Wfo-UI Tests src/utils/getQueryParams.spec.ts
20
20
  PASS Wfo-UI Tests src/messages/getTranslationMessages.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.027 s)
39
+ PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.04 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: 7.531 s
44
+ Time: 7.68 s
45
45
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 8.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 11f00ba: Fix product state filter not working correctly for non-active products
8
+
3
9
  ## 8.4.3
4
10
 
5
11
  ### 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 = "pre production",
23679
- PHASE_OUT = "phase out",
23680
- END_OF_LIFE = "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.3";
27637
+ declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "8.4.4";
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.3";
67
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "8.4.4";
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"] = "pre production";
85
- ProductLifecycleStatus2["PHASE_OUT"] = "phase out";
86
- ProductLifecycleStatus2["END_OF_LIFE"] = "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: capitalize(selectedProductStatus) })
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: capitalize(productStatus)
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 "end of life" /* END_OF_LIFE */:
6546
+ case "end_of_life" /* END_OF_LIFE */:
6544
6547
  return {
6545
6548
  badgeColor: borderBaseSubdued,
6546
6549
  textColor: textParagraph