@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.
@@ -1,12 +1,12 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@3.3.0 build
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.0 generate-version
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 143ms
9
+ src/configuration/version.ts 128ms
10
10
  CLI Building entry: src/index.ts
11
11
  CLI Using tsconfig: tsconfig.build.json
12
12
  CLI tsup v8.3.5
@@ -16,6 +16,6 @@ src/configuration/version.ts 143ms
16
16
  DTS Build start
17
17
  ESM dist/index.js 1.93 MB
18
18
  ESM dist/index.js.map 3.51 MB
19
- ESM ⚡️ Build success in 475ms
20
- DTS ⚡️ Build success in 16086ms
21
- DTS dist/index.d.ts 673.61 KB
19
+ ESM ⚡️ Build success in 468ms
20
+ DTS ⚡️ Build success in 15966ms
21
+ DTS dist/index.d.ts 673.69 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@3.3.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@3.3.1 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
5
5
 
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@3.3.0 test
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.565 s)
37
- PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.112 s)
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.378 s
42
+ Time: 7.437 s
43
43
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 3.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 56bdc1d: 1705 Added prop for custom icon summary card
8
+
3
9
  ## 3.3.0
4
10
 
5
11
  ### Minor Changes
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.0";
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.0";
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: [