@orchestrator-ui/orchestrator-ui-components 7.3.0 → 7.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@7.3.0 build
2
+ > @orchestrator-ui/orchestrator-ui-components@7.3.1 build
3
3
  > npm run generate-version && tsup src/index.ts
4
4
 
5
5
 
6
- > @orchestrator-ui/orchestrator-ui-components@7.3.0 generate-version
6
+ > @orchestrator-ui/orchestrator-ui-components@7.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 120ms
9
+ src/configuration/version.ts 123ms
10
10
  CLI Building entry: src/index.ts
11
11
  CLI Using tsconfig: tsconfig.json
12
12
  CLI tsup v8.5.0
@@ -14,9 +14,9 @@ src/configuration/version.ts 120ms
14
14
  CLI Target: es2022
15
15
  CLI Cleaning output folder
16
16
  ESM Build start
17
- ESM dist/index.js 846.32 KB
17
+ ESM dist/index.js 846.31 KB
18
18
  ESM dist/index.js.map 1.59 MB
19
- ESM ⚡️ Build success in 275ms
19
+ ESM ⚡️ Build success in 283ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 21534ms
21
+ DTS ⚡️ Build success in 21887ms
22
22
  DTS dist/index.d.ts 1.47 MB
@@ -1,10 +1,10 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@7.3.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@7.3.1 lint
3
3
  > eslint
4
4
 
5
5
 
6
6
  /home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/components/WfoPageTemplate/WfoPageTemplate/WfoPageTemplate.tsx
7
- 56:8 warning React Hook useEffect has a missing dependency: 'handleColorModeSwitch'. Either include it or remove the dependency array react-hooks/exhaustive-deps
7
+ 54:8 warning React Hook useEffect has a missing dependency: 'handleColorModeSwitch'. Either include it or remove the dependency array react-hooks/exhaustive-deps
8
8
 
9
9
  /home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/components/WfoSearchPage/WfoSearch/WfoSearch.tsx
10
10
  194:8 warning React Hook useEffect has missing dependencies: 'setSelectedRecordId' and 'setSelectedRecordIndex'. Either include them or remove the dependency array react-hooks/exhaustive-deps
@@ -1,15 +1,15 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@7.3.0 test
2
+ > @orchestrator-ui/orchestrator-ui-components@7.3.1 test
3
3
  > jest
4
4
 
5
- PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
6
5
  PASS Wfo-UI Tests src/utils/date.spec.ts
7
6
  PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
8
7
  PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
9
8
  PASS Wfo-UI Tests src/utils/string.spec.ts
9
+ PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
10
10
  PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
11
- PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
12
11
  PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
12
+ PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
13
13
  PASS Wfo-UI Tests src/utils/compareVersions.spec.ts
14
14
  PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
15
15
  PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
@@ -35,11 +35,11 @@ PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
35
35
  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
- PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts
39
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.452 s)
40
40
 
41
41
  Test Suites: 35 passed, 35 total
42
42
  Tests: 226 passed, 226 total
43
43
  Snapshots: 0 total
44
- Time: 7.273 s
44
+ Time: 8.029 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
+ ## 7.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - a092d98: Changes how colorMode state is passed up
8
+
3
9
  ## 7.3.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -24106,10 +24106,8 @@ interface WfoPageTemplateProps {
24106
24106
  overrideMenuItems?: (defaultMenuItems: EuiSideNavItemType<object>[]) => EuiSideNavItemType<object>[];
24107
24107
  overrideStartWorkflowFilters?: (ProductLifecycleStatus | string)[];
24108
24108
  children: ReactNode;
24109
- colorModeState: [
24110
- EuiThemeColorMode,
24111
- React__default.Dispatch<React__default.SetStateAction<EuiThemeColorMode>>
24112
- ];
24109
+ colorMode: EuiThemeColorMode;
24110
+ setColorMode: React__default.Dispatch<React__default.SetStateAction<EuiThemeColorMode>>;
24113
24111
  }
24114
24112
  declare const WfoPageTemplate: FC<WfoPageTemplateProps>;
24115
24113
 
@@ -27116,7 +27114,7 @@ declare const METADATA_RESOURCE_TYPE_ENDPOINT = "resource_types";
27116
27114
  declare const METADATA_WORKFLOWS_ENDPOINT = "workflows";
27117
27115
  declare const METADATA_SCHEDULES_ENDPOINT = "schedules";
27118
27116
 
27119
- declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "7.3.0";
27117
+ declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "7.3.1";
27120
27118
 
27121
27119
  declare const useGetTranslationMessages: (locale: string | undefined) => {
27122
27120
  pydanticForms: {
package/dist/index.js CHANGED
@@ -66,7 +66,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
66
66
  })(PolicyResource || {});
67
67
 
68
68
  // src/configuration/version.ts
69
- var ORCHESTRATOR_UI_LIBRARY_VERSION = "7.3.0";
69
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "7.3.1";
70
70
 
71
71
  // src/types/types.ts
72
72
  var EngineStatus = /* @__PURE__ */ ((EngineStatus2) => {
@@ -5609,7 +5609,7 @@ var wfoThemeModifications = {
5609
5609
  // src/components/WfoPageTemplate/WfoPageTemplate/WfoPageTemplate.tsx
5610
5610
  import { Fragment as Fragment2, jsx as jsx67, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
5611
5611
  var WfoPageTemplate = (props) => {
5612
- const [colorMode, setColorMode] = props.colorModeState;
5612
+ const { colorMode, setColorMode } = props;
5613
5613
  const handleColorModeSwitch = (newColorMode) => {
5614
5614
  setColorMode(newColorMode);
5615
5615
  localStorage.setItem("colorMode", newColorMode);