@orchestrator-ui/orchestrator-ui-components 1.20.0 → 1.22.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 (58) hide show
  1. package/.turbo/turbo-build.log +4 -4
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/.turbo/turbo-test.log +12 -11
  4. package/CHANGELOG.md +28 -0
  5. package/dist/index.d.ts +2145 -1937
  6. package/dist/index.js +1490 -1523
  7. package/package.json +1 -3
  8. package/src/components/WfoDiff/WfoDiff.tsx +8 -1
  9. package/src/components/WfoForms/UserInputForm.tsx +23 -12
  10. package/src/components/WfoForms/UserInputFormWizard.tsx +2 -2
  11. package/src/components/WfoForms/formFields/BoolField.tsx +5 -0
  12. package/src/components/WfoForms/formFields/CustomerField.tsx +4 -1
  13. package/src/components/WfoForms/formFields/LabelField.tsx +4 -0
  14. package/src/components/WfoForms/formFields/ListField.tsx +6 -0
  15. package/src/components/WfoForms/formFields/NumField.tsx +10 -0
  16. package/src/components/WfoForms/formFields/{SelectField.tsx → SelectField/SelectField.tsx} +8 -8
  17. package/src/components/WfoForms/formFields/SelectField/index.ts +1 -0
  18. package/src/components/WfoForms/formFields/{reactSelectStyles.ts → SelectField/styles.ts} +12 -5
  19. package/src/components/WfoForms/formFields/SubscriptionField.tsx +3 -4
  20. package/src/components/WfoForms/formFields/TextField.tsx +10 -0
  21. package/src/components/WfoForms/formFields/commonStyles.ts +21 -0
  22. package/src/components/WfoForms/formFields/deprecated/ContactPersonNameField.tsx +10 -1
  23. package/src/components/WfoForms/formFields/deprecated/ImsPortIdField.tsx +29 -52
  24. package/src/components/WfoForms/formFields/deprecated/IpNetworkField.tsx +5 -0
  25. package/src/components/WfoForms/formFields/deprecated/types.ts +10 -15
  26. package/src/components/WfoPageTemplate/WfoSidebar/WfoSidebar.tsx +2 -10
  27. package/src/components/WfoPageTemplate/WfoSidebar/index.ts +1 -0
  28. package/src/components/WfoPageTemplate/WfoSidebar/utils/index.ts +1 -0
  29. package/src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts +48 -0
  30. package/src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.ts +13 -0
  31. package/src/components/WfoRouteChangeListener/WfoRouteChangeListener.tsx +22 -0
  32. package/src/components/WfoRouteChangeListener/index.tsx +1 -0
  33. package/src/components/WfoSubscription/WfoInUseByRelations.tsx +1 -0
  34. package/src/components/WfoSubscription/WfoSubscription.tsx +1 -0
  35. package/src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx +26 -5
  36. package/src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoSubscriptionProductBlock.tsx +13 -7
  37. package/src/components/WfoSubscription/WfoSubscriptionProductBlock/styles.ts +9 -2
  38. package/src/components/WfoSubscription/styles.ts +2 -2
  39. package/src/components/WfoTable/WfoTableWithFilter/WfoTableWithFilter.tsx +1 -0
  40. package/src/components/WfoTree/WfoTreeNode.tsx +18 -10
  41. package/src/components/WfoTree/styles.ts +9 -2
  42. package/src/components/WfoTree/treeUtils.spec.ts +5 -0
  43. package/src/components/index.ts +1 -0
  44. package/src/contexts/OrchestratorConfigContext.tsx +0 -3
  45. package/src/contexts/index.ts +0 -1
  46. package/src/hooks/useWithOrchestratorTheme.ts +5 -3
  47. package/src/index.ts +0 -1
  48. package/src/messages/en-GB.json +5 -1
  49. package/src/messages/nl-NL.json +6 -2
  50. package/src/pages/processes/WfoProductInformationWithLink.tsx +5 -1
  51. package/src/pages/startPage/queryVariables.ts +17 -8
  52. package/src/rtk/api.ts +17 -2
  53. package/src/rtk/endpoints/formFields.ts +33 -37
  54. package/src/rtk/endpoints/productsSummary.ts +4 -2
  55. package/src/types/types.ts +1 -3
  56. package/src/api/axios.ts +0 -28
  57. package/src/api/index.ts +0 -218
  58. package/src/contexts/ApiClientContext.tsx +0 -34
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.20.0 build
2
+ > @orchestrator-ui/orchestrator-ui-components@1.22.0 build
3
3
  > tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,6 +9,6 @@
9
9
  ESM Build start
10
10
  DTS Build start
11
11
  ESM dist/index.js 2.14 MB
12
- ESM ⚡️ Build success in 703ms
13
- DTS ⚡️ Build success in 13822ms
14
- DTS dist/index.d.ts 173.47 KB
12
+ ESM ⚡️ Build success in 1001ms
13
+ DTS ⚡️ Build success in 13674ms
14
+ DTS dist/index.d.ts 171.59 KB
@@ -1,4 +1,4 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.20.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@1.22.0 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.20.0 test
2
+ > @orchestrator-ui/orchestrator-ui-components@1.22.0 test
3
3
  > jest
4
4
 
5
5
  PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
@@ -8,30 +8,31 @@ PASS Orchestrator UI Components Tests src/utils/date.spec.ts
8
8
  PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
9
9
  PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
10
10
  PASS Orchestrator UI Components Tests src/utils/string.spec.ts
11
+ PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
11
12
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
12
13
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
13
- PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
14
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
15
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
16
14
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
17
- PASS Orchestrator UI Components Tests src/utils/resultFlattener.spec.ts
15
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
16
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
18
17
  PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
18
+ PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
19
+ PASS Orchestrator UI Components Tests src/utils/resultFlattener.spec.ts
19
20
  PASS Orchestrator UI Components Tests src/utils/getToastMessage.spec.ts
20
21
  PASS Orchestrator UI Components Tests src/utils/optionalArray.spec.ts
21
22
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
22
- PASS Orchestrator UI Components Tests src/utils/filterData.spec.ts
23
23
  PASS Orchestrator UI Components Tests src/utils/sortObjectKeys.spec.ts
24
+ PASS Orchestrator UI Components Tests src/utils/filterData.spec.ts
24
25
  PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
25
- PASS Orchestrator UI Components Tests src/utils/environmentVariables.spec.ts
26
26
  PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
27
27
  PASS Orchestrator UI Components Tests src/utils/onlyUnique.spec.ts
28
+ PASS Orchestrator UI Components Tests src/utils/environmentVariables.spec.ts
29
+ PASS Orchestrator UI Components Tests src/utils/uuid.spec.ts
28
30
  PASS Orchestrator UI Components Tests src/utils/getTypedFieldFromObject.spec.ts
29
31
  PASS Orchestrator UI Components Tests src/utils/getQueryVariablesForExport.spec.ts
30
- PASS Orchestrator UI Components Tests src/utils/uuid.spec.ts
31
32
  PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
32
33
 
33
- Test Suites: 27 passed, 27 total
34
- Tests: 161 passed, 161 total
34
+ Test Suites: 28 passed, 28 total
35
+ Tests: 165 passed, 165 total
35
36
  Snapshots: 0 total
36
- Time: 3.82 s
37
+ Time: 3.813 s
37
38
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 1.22.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f6dc4fb: Replaces subscriptionsWithFilter REST call with a graphQL query
8
+ - d48df6b: Exports WFoUserInputForm
9
+
10
+ ### Patch Changes
11
+
12
+ - bcfe7de: 916 Exposes menuItemIsAllowed helper function
13
+ - 50e8f68: Fixes signOut modal showing in some cases
14
+ - 6a7264f: 1086 StartPage: Summary card with product counts ignores terminated instances
15
+ - aca21a5: 1085 Filters out current subscription from the related subscriptions list
16
+
17
+ ## 1.21.0
18
+
19
+ ### Minor Changes
20
+
21
+ - ae0d9a8: Removes some obsolete configuration
22
+ - 560cf74: Adds a different style if a productblock is outside the subscription boundary
23
+ - 5ee68fa: Signs user out when api calls fail because of expired token
24
+ - d4ac80a: Removed axios and react-query dependencies
25
+
26
+ ### Patch Changes
27
+
28
+ - 13d7c6d: Fixes missing aria-labels on icons
29
+ - b9680b8: 626 Applies dark theme to form fields
30
+
3
31
  ## 1.20.0
4
32
 
5
33
  ### Minor Changes