@orchestrator-ui/orchestrator-ui-components 0.3.0 → 0.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.
Files changed (143) hide show
  1. package/.turbo/turbo-build.log +9 -8
  2. package/.turbo/turbo-lint.log +4 -1
  3. package/.turbo/turbo-test.log +13 -9
  4. package/CHANGELOG.md +11 -0
  5. package/dist/index.d.ts +484 -239
  6. package/dist/index.js +4255 -2987
  7. package/package.json +31 -26
  8. package/src/api/axios.ts +2 -8
  9. package/src/api/index.ts +4 -4
  10. package/src/components/WfoBadges/WfoBadge/WfoBadge.tsx +4 -1
  11. package/src/components/WfoBadges/index.ts +1 -0
  12. package/src/components/WfoError/WfoError.stories.tsx +26 -0
  13. package/src/components/WfoError/WfoError.tsx +19 -0
  14. package/src/components/WfoError/index.ts +1 -0
  15. package/src/components/WfoFilterTabs/WfoFilterTabs.tsx +4 -2
  16. package/src/components/WfoForms/UserInputForm.tsx +14 -2
  17. package/src/components/WfoForms/formFields/SplitPrefix.tsx +2 -1
  18. package/src/components/WfoForms/formFields/SubscriptionField.tsx +8 -3
  19. package/src/components/WfoForms/formFields/utils.spec.ts +88 -9
  20. package/src/components/WfoKeyValueTable/WfoValueCell.tsx +2 -2
  21. package/src/components/WfoOptionalLink/WfoOptionalLink.tsx +20 -0
  22. package/src/components/WfoOptionalLink/index.ts +1 -0
  23. package/src/components/WfoPageTemplate/WfoBreadcrumbs/WfoBreadcrumbs.tsx +5 -2
  24. package/src/components/WfoPageTemplate/WfoPageHeader/WfoAppLogo.tsx +28 -0
  25. package/src/components/WfoPageTemplate/WfoPageHeader/WfoPageHeader.tsx +19 -16
  26. package/src/components/WfoPageTemplate/WfoPageHeader/styles.ts +29 -0
  27. package/src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts +12 -0
  28. package/src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.ts +5 -0
  29. package/src/components/WfoPageTemplate/WfoSidebar/WfoStartCreateWorkflowButtonComboBox.tsx +0 -3
  30. package/src/components/WfoProcessList/{WfoProcessList.tsx → WfoProcessesList.tsx} +32 -28
  31. package/src/components/WfoProcessList/index.ts +1 -1
  32. package/src/components/WfoProcessList/processListObjectMappers.ts +1 -1
  33. package/src/components/WfoSettings/WfoFlushSettings.tsx +16 -6
  34. package/src/components/WfoSettings/WfoModifySettings.tsx +1 -1
  35. package/src/components/WfoSettingsModal/WfoSubmitModal.tsx +61 -0
  36. package/src/components/WfoSettingsModal/index.tsx +1 -0
  37. package/src/components/WfoStartTaskButtonComboBox/WfoStartTaskButtonComboBox.tsx +0 -3
  38. package/src/components/WfoSubscription/WfoRelatedSubscriptions.tsx +4 -1
  39. package/src/components/WfoSubscription/WfoSubscription.tsx +38 -66
  40. package/src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx +2 -6
  41. package/src/components/WfoSubscription/WfoSubscriptionProductBlock.tsx +2 -1
  42. package/src/components/WfoSubscription/subscriptionDetailTabs.tsx +29 -0
  43. package/src/components/WfoSubscription/utils/utils.ts +5 -5
  44. package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +28 -14
  45. package/src/components/WfoSubscriptionsList/index.ts +1 -1
  46. package/src/components/WfoSubscriptionsList/{mapGrapghQlSubscriptionsResultToSubscriptionListItems.ts → mapGraphQlSubscriptionsResultToSubscriptionListItems.ts} +8 -1
  47. package/src/components/WfoSubscriptionsList/subscriptionListTabs.ts +8 -30
  48. package/src/components/WfoSummary/WfoSummaryCardHeader/WfoSummaryCardHeader.tsx +55 -0
  49. package/src/components/WfoSummary/WfoSummaryCardHeader/index.ts +1 -0
  50. package/src/components/WfoSummary/WfoSummaryCardHeader/styles.ts +26 -0
  51. package/src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardList.tsx +86 -0
  52. package/src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardListItem.tsx +59 -0
  53. package/src/components/WfoSummary/WfoSummaryCardList/index.ts +2 -0
  54. package/src/components/WfoSummary/WfoSummaryCardList/styles.ts +52 -0
  55. package/src/components/WfoSummary/WfoSummaryCards.tsx +111 -0
  56. package/src/components/WfoSummary/getNumberOfColumns.ts +14 -0
  57. package/src/components/WfoSummary/index.ts +4 -0
  58. package/src/components/WfoSummary/styles.ts +13 -0
  59. package/src/components/WfoTable/WfoBasicTable/WfoBasicTable.tsx +18 -16
  60. package/src/components/WfoTable/WfoBasicTable/WfoTableHeaderCell.tsx +2 -2
  61. package/src/components/WfoTable/WfoBasicTable/index.ts +1 -0
  62. package/src/components/WfoTable/WfoBasicTable/styles.ts +28 -2
  63. package/src/components/WfoTable/WfoFirstPartUUID/WfoFirstPartUUID.tsx +12 -3
  64. package/src/components/WfoTable/WfoFirstPartUUID/styles.ts +12 -0
  65. package/src/components/WfoTable/WfoTableWithFilter/WfoTableWithFilter.tsx +12 -4
  66. package/src/components/WfoTable/index.ts +2 -0
  67. package/src/components/WfoTable/utils/columns.ts +21 -15
  68. package/src/components/WfoTable/utils/constants.ts +4 -2
  69. package/src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.ts +5 -3
  70. package/src/components/WfoTree/WfoTreeNode.tsx +1 -4
  71. package/src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx +4 -3
  72. package/src/components/WfoWorkflowSteps/index.ts +1 -0
  73. package/src/components/index.ts +3 -1
  74. package/src/contexts/ApiClientContext.tsx +5 -1
  75. package/src/contexts/OrchestratorConfigContext.tsx +0 -3
  76. package/src/contexts/ToastContext.tsx +1 -1
  77. package/src/contexts/TreeContext.tsx +1 -1
  78. package/src/graphqlQueries/customersQuery.ts +2 -1
  79. package/src/graphqlQueries/processListQuery.ts +46 -6
  80. package/src/graphqlQueries/productBlocksQuery.ts +3 -1
  81. package/src/graphqlQueries/productsQuery.ts +40 -9
  82. package/src/graphqlQueries/resourceTypesQuery.ts +3 -1
  83. package/src/graphqlQueries/subscriptionDetailQuery.ts +4 -1
  84. package/src/graphqlQueries/subscriptionsDropdownOptionsQuery.ts +2 -1
  85. package/src/graphqlQueries/subscriptionsListQuery.ts +41 -4
  86. package/src/graphqlQueries/workflows/workflowsQuery.ts +3 -1
  87. package/src/graphqlQueries/workflows/workflowsQueryForDropdownList.ts +3 -6
  88. package/src/hooks/DataFetchHooks.ts +17 -63
  89. package/src/hooks/surf/useGetSubscriptionDropdownOptions.ts +1 -0
  90. package/src/hooks/surf/useIsTaggedPort.ts +1 -2
  91. package/src/hooks/useOrchestratorConfig.ts +0 -3
  92. package/src/hooks/useQueryWithGraphql.ts +25 -13
  93. package/src/hooks/useSessionWithToken.ts +3 -5
  94. package/src/hooks/useSubscriptionActions.ts +8 -2
  95. package/src/icons/WfoBell.tsx +34 -0
  96. package/src/icons/WfoContactEnvelopeFill.tsx +29 -0
  97. package/src/icons/WfoPencil.tsx +21 -0
  98. package/src/icons/WfoSideMenu.stories.tsx +13 -0
  99. package/src/icons/WfoSideMenu.tsx +39 -0
  100. package/src/icons/WfoStatistic.tsx +3 -3
  101. package/src/icons/WfoViewList.tsx +24 -0
  102. package/src/icons/index.ts +6 -0
  103. package/src/messages/en-GB.json +32 -2
  104. package/src/messages/nl-NL.json +34 -4
  105. package/src/pages/index.ts +2 -1
  106. package/src/pages/metadata/WfoProductBlocksPage.tsx +6 -10
  107. package/src/pages/metadata/WfoProductsPage.tsx +7 -10
  108. package/src/pages/metadata/WfoResourceTypesPage.tsx +5 -9
  109. package/src/pages/metadata/WfoWorkflowsPage.tsx +7 -10
  110. package/src/pages/processes/WfoProcessDetail.tsx +5 -1
  111. package/src/pages/processes/WfoProcessDetailPage.tsx +31 -15
  112. package/src/pages/processes/WfoStartProcessPage.tsx +41 -17
  113. package/src/pages/startPage/WfoStartPage.tsx +239 -0
  114. package/src/pages/startPage/index.ts +1 -0
  115. package/src/pages/subscriptions/WfoSubscriptionsListPage.tsx +22 -26
  116. package/src/pages/tasks/{WfoTaskListPage.tsx → WfoTasksListPage.tsx} +67 -44
  117. package/src/pages/tasks/getTasksListTabTypeFromString.ts +19 -0
  118. package/src/pages/tasks/index.ts +3 -1
  119. package/src/pages/tasks/tabConfig.ts +51 -0
  120. package/src/pages/{workflow/WfoWorkflowListPage.tsx → workflows/WfoWorkflowsListPage.tsx} +18 -19
  121. package/src/pages/workflows/getWorkflowsListTabTypeFromString.ts +19 -0
  122. package/src/pages/workflows/index.ts +1 -0
  123. package/src/pages/{workflow → workflows}/tabConfig.ts +9 -9
  124. package/src/theme/defaultOrchestratorTheme.ts +8 -0
  125. package/src/types/types.ts +8 -53
  126. package/src/utils/date.ts +39 -0
  127. package/src/utils/getDefaultTableConfig.ts +19 -9
  128. package/tsconfig.json +4 -4
  129. package/src/components/WfoStartPage/WfoFrequentlyUsed.stories.tsx +0 -16
  130. package/src/components/WfoStartPage/WfoFrequentlyUsed.tsx +0 -21
  131. package/src/components/WfoStartPage/WfoListItemStartPage.stories.tsx +0 -40
  132. package/src/components/WfoStartPage/WfoListItemStartPage.tsx +0 -95
  133. package/src/components/WfoStartPage/WfoListStartPage.stories.tsx +0 -98
  134. package/src/components/WfoStartPage/WfoListStartPage.tsx +0 -45
  135. package/src/components/WfoStartPage/WfoMultiListSection.stories.tsx +0 -90
  136. package/src/components/WfoStartPage/WfoMultiListSection.tsx +0 -25
  137. package/src/components/WfoStartPage/WfoNewProcessPanel.stories.tsx +0 -13
  138. package/src/components/WfoStartPage/WfoNewProcessPanel.tsx +0 -45
  139. package/src/components/WfoStartPage/WfoStatCards.stories.tsx +0 -13
  140. package/src/components/WfoStartPage/WfoStatCards.tsx +0 -75
  141. package/src/components/WfoStartPage/index.ts +0 -6
  142. package/src/pages/workflow/getWorkflowListTabTypeFromString.ts +0 -19
  143. package/src/pages/workflow/index.ts +0 -1
@@ -1,13 +1,14 @@
1
- yarn run v1.22.21
2
- $ tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
1
+
2
+ > @orchestrator-ui/orchestrator-ui-components@0.3.1 build
3
+ > tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
4
+
3
5
  CLI Building entry: src/index.ts
4
6
  CLI Using tsconfig: tsconfig.build.json
5
7
  CLI tsup v8.0.1
6
- CLI Target: node16
8
+ CLI Target: es6
7
9
  ESM Build start
8
10
  DTS Build start
9
- ESM dist/index.js 1.88 MB
10
- ESM ⚡️ Build success in 697ms
11
- DTS ⚡️ Build success in 9754ms
12
- DTS dist/index.d.ts 87.74 KB
13
- Done in 10.95s.
11
+ ESM dist/index.js 1.92 MB
12
+ ESM ⚡️ Build success in 723ms
13
+ DTS ⚡️ Build success in 10252ms
14
+ DTS dist/index.d.ts 98.49 KB
@@ -1 +1,4 @@
1
- $ eslint "src/**/*.ts*"
1
+
2
+ > @orchestrator-ui/orchestrator-ui-components@0.3.1 lint
3
+ > eslint "src/**/*.ts*"
4
+
@@ -1,26 +1,30 @@
1
- $ jest
2
- PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
3
- PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
1
+
2
+ > @orchestrator-ui/orchestrator-ui-components@0.3.1 test
3
+ > jest
4
+
4
5
  PASS Orchestrator UI Components Tests src/utils/date.spec.ts
6
+ PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
7
+ PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
5
8
  PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
6
9
  PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
7
10
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
8
- PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
9
11
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
12
+ PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
10
13
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
11
14
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
12
15
  PASS Orchestrator UI Components Tests src/utils/string.spec.ts
13
16
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
14
17
  PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
15
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
16
18
  PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
19
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
17
20
  PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
18
21
  PASS Orchestrator UI Components Tests src/utils/environmentVariables.spec.ts
19
- PASS Orchestrator UI Components Tests src/utils/getTypedFieldFromObject.spec.ts
20
22
  PASS Orchestrator UI Components Tests src/utils/uuid.spec.ts
23
+ PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
24
+ PASS Orchestrator UI Components Tests src/utils/getTypedFieldFromObject.spec.ts
21
25
 
22
- Test Suites: 19 passed, 19 total
23
- Tests: 122 passed, 122 total
26
+ Test Suites: 20 passed, 20 total
27
+ Tests: 128 passed, 128 total
24
28
  Snapshots: 0 total
25
- Time: 8.692 s
29
+ Time: 11.523 s
26
30
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d824a58: fix uuid in breadcrumb
8
+ - cb3142a: - expand the root product block card by default
9
+ - change tree icon of root product block
10
+ - open other subscription detail page opens in new tab
11
+ - use title of root product block in tree like the other product blocks
12
+ - e6aaef7: 598 Fixes invisible email in step list
13
+
3
14
  ## 0.3.0
4
15
 
5
16
  ### Minor Changes