@orchestrator-ui/orchestrator-ui-components 6.5.0 → 6.7.0

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.
Files changed (37) hide show
  1. package/.turbo/turbo-build.log +8 -8
  2. package/.turbo/turbo-lint.log +3 -6
  3. package/.turbo/turbo-test.log +6 -6
  4. package/CHANGELOG.md +28 -0
  5. package/dist/index.d.ts +837 -255
  6. package/dist/index.js +2738 -2371
  7. package/dist/index.js.map +1 -1
  8. package/package.json +2 -2
  9. package/src/components/WfoAgent/WfoAgent/WfoAgent.tsx +48 -39
  10. package/src/components/WfoAvailabilityCheck/WfoAvailabilityCheck.tsx +27 -0
  11. package/src/components/WfoAvailabilityCheck/index.ts +1 -0
  12. package/src/components/WfoBackendUnavailable/WfoBackendUnavailable.tsx +109 -0
  13. package/src/components/WfoBackendUnavailable/index.ts +1 -0
  14. package/src/components/WfoInlineEdit/WfoInlineEdit.tsx +5 -1
  15. package/src/components/WfoInlineNoteEdit/WfoSubscriptionDetailNoteEdit.tsx +1 -1
  16. package/src/components/WfoLogoSpinner/WfoLogoSpinner.tsx +2 -2
  17. package/src/components/WfoMetadata/WfoMetadataDescriptionField.tsx +3 -1
  18. package/src/components/WfoPydanticForm/WfoPydanticForm.tsx +7 -1
  19. package/src/components/WfoPydanticForm/fields/WfoArrayField/WfoArrayField.tsx +15 -6
  20. package/src/components/WfoPydanticForm/fields/WfoReactSelect/styles.ts +5 -1
  21. package/src/components/WfoSearchPage/WfoSearch/WfoSearch.tsx +9 -2
  22. package/src/components/WfoSubscription/WfoCustomerDescriptionsField.tsx +1 -1
  23. package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx +138 -46
  24. package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionsMenuItem.tsx +27 -33
  25. package/src/components/WfoSubscription/WfoSubscriptionActions/styles.ts +3 -1
  26. package/src/components/WfoSubscription/WfoTargetTypeIcon.tsx +37 -6
  27. package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +1 -0
  28. package/src/components/WfoWorkflowSteps/WfoStep/WfoStepForm.tsx +1 -0
  29. package/src/components/index.ts +2 -0
  30. package/src/configuration/version.ts +1 -1
  31. package/src/hooks/index.ts +1 -0
  32. package/src/hooks/useBackendAvailability.ts +72 -0
  33. package/src/messages/en-GB.json +39 -0
  34. package/src/messages/nl-NL.json +2 -0
  35. package/src/rtk/api.ts +5 -3
  36. package/src/rtk/endpoints/availability.ts +41 -0
  37. package/src/rtk/endpoints/index.ts +1 -0
@@ -1,12 +1,12 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@6.5.0 build
2
+ > @orchestrator-ui/orchestrator-ui-components@6.7.0 build
3
3
  > npm run generate-version && tsup src/index.ts
4
4
 
5
5
 
6
- > @orchestrator-ui/orchestrator-ui-components@6.5.0 generate-version
6
+ > @orchestrator-ui/orchestrator-ui-components@6.7.0 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 45ms
9
+ src/configuration/version.ts 36ms
10
10
  CLI Building entry: src/index.ts
11
11
  CLI Using tsconfig: tsconfig.build.json
12
12
  CLI tsup v8.5.0
@@ -14,8 +14,8 @@ src/configuration/version.ts 45ms
14
14
  CLI Target: es2020
15
15
  ESM Build start
16
16
  DTS Build start
17
- ESM dist/index.js 2.18 MB
18
- ESM dist/index.js.map 4.16 MB
19
- ESM ⚡️ Build success in 552ms
20
- DTS ⚡️ Build success in 20291ms
21
- DTS dist/index.d.ts 894.46 KB
17
+ ESM dist/index.js 2.19 MB
18
+ ESM dist/index.js.map 4.18 MB
19
+ ESM ⚡️ Build success in 563ms
20
+ DTS ⚡️ Build success in 20402ms
21
+ DTS dist/index.d.ts 920.94 KB
@@ -1,16 +1,13 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@6.5.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@6.7.0 lint
3
3
  > eslint
4
4
 
5
5
 
6
- /home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/components/WfoPydanticForm/WfoPydanticForm.tsx
7
- 331:8 warning React Hook useCallback has an unnecessary dependency: 'isTask'. Either exclude it or remove the dependency array react-hooks/exhaustive-deps
8
-
9
6
  /home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/components/WfoSearchPage/WfoSearch/WfoSearch.tsx
10
- 190:8 warning React Hook useEffect has missing dependencies: 'setSelectedRecordId' and 'setSelectedRecordIndex'. Either include them or remove the dependency array react-hooks/exhaustive-deps
7
+ 194:8 warning React Hook useEffect has missing dependencies: 'setSelectedRecordId' and 'setSelectedRecordIndex'. Either include them or remove the dependency array react-hooks/exhaustive-deps
11
8
 
12
9
  /home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/hooks/usePathAutoComplete.ts
13
10
  124:8 warning React Hook useEffect has a missing dependency: 'debouncedPrefix.length'. Either include it or remove the dependency array react-hooks/exhaustive-deps
14
11
 
15
- 3 problems (0 errors, 3 warnings)
12
+ 2 problems (0 errors, 2 warnings)
16
13
 
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@6.5.0 test
2
+ > @orchestrator-ui/orchestrator-ui-components@6.7.0 test
3
3
  > jest
4
4
 
5
5
  PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
@@ -21,20 +21,20 @@ PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllo
21
21
  PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
22
22
  PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
23
23
  PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
24
+ PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (5.454 s)
24
25
  PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts
25
- PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (5.832 s)
26
- PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
27
26
  PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
27
+ PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
28
28
  PASS Wfo-UI Tests src/utils/filterData.spec.ts
29
29
  PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
30
30
  PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
31
31
  PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
32
- PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
33
32
  PASS Wfo-UI Tests src/utils/uuid.spec.ts
33
+ PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
34
34
  PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
35
35
  PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
36
- PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
37
36
  PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
37
+ PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
38
38
  PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
39
39
  PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
40
40
  PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
@@ -42,5 +42,5 @@ PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spe
42
42
  Test Suites: 36 passed, 36 total
43
43
  Tests: 239 passed, 239 total
44
44
  Snapshots: 0 total
45
- Time: 9.213 s
45
+ Time: 8.914 s
46
46
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 6.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 600e5c0: Detect if search and agent endpoints are available. Show a message showing how to setup the routes correctly if they are not available.
8
+
9
+ ### Patch Changes
10
+
11
+ - 4fbc794: Updates to latest pydantic forms version. Fixes double onSuccess calls
12
+
13
+ ## 6.6.1
14
+
15
+ ### Patch Changes
16
+
17
+ - 91c8d8c: Updates to latest pydantic forms version
18
+
19
+ ## 6.6.0
20
+
21
+ ### Minor Changes
22
+
23
+ - e2f91b1: 2257 Show the minimum items in array field and min items number
24
+
25
+ ### Patch Changes
26
+
27
+ - aa16445: 2213 Remove border, fix opacity for WfoReactSelect
28
+ - f9ca18f: Improves subscription list menu actions
29
+ - 9fc90c1: 2236 Added width parameter to note column
30
+
3
31
  ## 6.5.0
4
32
 
5
33
  ### Minor Changes