@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.
- package/.turbo/turbo-build.log +9 -8
- package/.turbo/turbo-lint.log +4 -1
- package/.turbo/turbo-test.log +13 -9
- package/CHANGELOG.md +11 -0
- package/dist/index.d.ts +484 -239
- package/dist/index.js +4255 -2987
- package/package.json +31 -26
- package/src/api/axios.ts +2 -8
- package/src/api/index.ts +4 -4
- package/src/components/WfoBadges/WfoBadge/WfoBadge.tsx +4 -1
- package/src/components/WfoBadges/index.ts +1 -0
- package/src/components/WfoError/WfoError.stories.tsx +26 -0
- package/src/components/WfoError/WfoError.tsx +19 -0
- package/src/components/WfoError/index.ts +1 -0
- package/src/components/WfoFilterTabs/WfoFilterTabs.tsx +4 -2
- package/src/components/WfoForms/UserInputForm.tsx +14 -2
- package/src/components/WfoForms/formFields/SplitPrefix.tsx +2 -1
- package/src/components/WfoForms/formFields/SubscriptionField.tsx +8 -3
- package/src/components/WfoForms/formFields/utils.spec.ts +88 -9
- package/src/components/WfoKeyValueTable/WfoValueCell.tsx +2 -2
- package/src/components/WfoOptionalLink/WfoOptionalLink.tsx +20 -0
- package/src/components/WfoOptionalLink/index.ts +1 -0
- package/src/components/WfoPageTemplate/WfoBreadcrumbs/WfoBreadcrumbs.tsx +5 -2
- package/src/components/WfoPageTemplate/WfoPageHeader/WfoAppLogo.tsx +28 -0
- package/src/components/WfoPageTemplate/WfoPageHeader/WfoPageHeader.tsx +19 -16
- package/src/components/WfoPageTemplate/WfoPageHeader/styles.ts +29 -0
- package/src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts +12 -0
- package/src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.ts +5 -0
- package/src/components/WfoPageTemplate/WfoSidebar/WfoStartCreateWorkflowButtonComboBox.tsx +0 -3
- package/src/components/WfoProcessList/{WfoProcessList.tsx → WfoProcessesList.tsx} +32 -28
- package/src/components/WfoProcessList/index.ts +1 -1
- package/src/components/WfoProcessList/processListObjectMappers.ts +1 -1
- package/src/components/WfoSettings/WfoFlushSettings.tsx +16 -6
- package/src/components/WfoSettings/WfoModifySettings.tsx +1 -1
- package/src/components/WfoSettingsModal/WfoSubmitModal.tsx +61 -0
- package/src/components/WfoSettingsModal/index.tsx +1 -0
- package/src/components/WfoStartTaskButtonComboBox/WfoStartTaskButtonComboBox.tsx +0 -3
- package/src/components/WfoSubscription/WfoRelatedSubscriptions.tsx +4 -1
- package/src/components/WfoSubscription/WfoSubscription.tsx +38 -66
- package/src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx +2 -6
- package/src/components/WfoSubscription/WfoSubscriptionProductBlock.tsx +2 -1
- package/src/components/WfoSubscription/subscriptionDetailTabs.tsx +29 -0
- package/src/components/WfoSubscription/utils/utils.ts +5 -5
- package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +28 -14
- package/src/components/WfoSubscriptionsList/index.ts +1 -1
- package/src/components/WfoSubscriptionsList/{mapGrapghQlSubscriptionsResultToSubscriptionListItems.ts → mapGraphQlSubscriptionsResultToSubscriptionListItems.ts} +8 -1
- package/src/components/WfoSubscriptionsList/subscriptionListTabs.ts +8 -30
- package/src/components/WfoSummary/WfoSummaryCardHeader/WfoSummaryCardHeader.tsx +55 -0
- package/src/components/WfoSummary/WfoSummaryCardHeader/index.ts +1 -0
- package/src/components/WfoSummary/WfoSummaryCardHeader/styles.ts +26 -0
- package/src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardList.tsx +86 -0
- package/src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardListItem.tsx +59 -0
- package/src/components/WfoSummary/WfoSummaryCardList/index.ts +2 -0
- package/src/components/WfoSummary/WfoSummaryCardList/styles.ts +52 -0
- package/src/components/WfoSummary/WfoSummaryCards.tsx +111 -0
- package/src/components/WfoSummary/getNumberOfColumns.ts +14 -0
- package/src/components/WfoSummary/index.ts +4 -0
- package/src/components/WfoSummary/styles.ts +13 -0
- package/src/components/WfoTable/WfoBasicTable/WfoBasicTable.tsx +18 -16
- package/src/components/WfoTable/WfoBasicTable/WfoTableHeaderCell.tsx +2 -2
- package/src/components/WfoTable/WfoBasicTable/index.ts +1 -0
- package/src/components/WfoTable/WfoBasicTable/styles.ts +28 -2
- package/src/components/WfoTable/WfoFirstPartUUID/WfoFirstPartUUID.tsx +12 -3
- package/src/components/WfoTable/WfoFirstPartUUID/styles.ts +12 -0
- package/src/components/WfoTable/WfoTableWithFilter/WfoTableWithFilter.tsx +12 -4
- package/src/components/WfoTable/index.ts +2 -0
- package/src/components/WfoTable/utils/columns.ts +21 -15
- package/src/components/WfoTable/utils/constants.ts +4 -2
- package/src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.ts +5 -3
- package/src/components/WfoTree/WfoTreeNode.tsx +1 -4
- package/src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx +4 -3
- package/src/components/WfoWorkflowSteps/index.ts +1 -0
- package/src/components/index.ts +3 -1
- package/src/contexts/ApiClientContext.tsx +5 -1
- package/src/contexts/OrchestratorConfigContext.tsx +0 -3
- package/src/contexts/ToastContext.tsx +1 -1
- package/src/contexts/TreeContext.tsx +1 -1
- package/src/graphqlQueries/customersQuery.ts +2 -1
- package/src/graphqlQueries/processListQuery.ts +46 -6
- package/src/graphqlQueries/productBlocksQuery.ts +3 -1
- package/src/graphqlQueries/productsQuery.ts +40 -9
- package/src/graphqlQueries/resourceTypesQuery.ts +3 -1
- package/src/graphqlQueries/subscriptionDetailQuery.ts +4 -1
- package/src/graphqlQueries/subscriptionsDropdownOptionsQuery.ts +2 -1
- package/src/graphqlQueries/subscriptionsListQuery.ts +41 -4
- package/src/graphqlQueries/workflows/workflowsQuery.ts +3 -1
- package/src/graphqlQueries/workflows/workflowsQueryForDropdownList.ts +3 -6
- package/src/hooks/DataFetchHooks.ts +17 -63
- package/src/hooks/surf/useGetSubscriptionDropdownOptions.ts +1 -0
- package/src/hooks/surf/useIsTaggedPort.ts +1 -2
- package/src/hooks/useOrchestratorConfig.ts +0 -3
- package/src/hooks/useQueryWithGraphql.ts +25 -13
- package/src/hooks/useSessionWithToken.ts +3 -5
- package/src/hooks/useSubscriptionActions.ts +8 -2
- package/src/icons/WfoBell.tsx +34 -0
- package/src/icons/WfoContactEnvelopeFill.tsx +29 -0
- package/src/icons/WfoPencil.tsx +21 -0
- package/src/icons/WfoSideMenu.stories.tsx +13 -0
- package/src/icons/WfoSideMenu.tsx +39 -0
- package/src/icons/WfoStatistic.tsx +3 -3
- package/src/icons/WfoViewList.tsx +24 -0
- package/src/icons/index.ts +6 -0
- package/src/messages/en-GB.json +32 -2
- package/src/messages/nl-NL.json +34 -4
- package/src/pages/index.ts +2 -1
- package/src/pages/metadata/WfoProductBlocksPage.tsx +6 -10
- package/src/pages/metadata/WfoProductsPage.tsx +7 -10
- package/src/pages/metadata/WfoResourceTypesPage.tsx +5 -9
- package/src/pages/metadata/WfoWorkflowsPage.tsx +7 -10
- package/src/pages/processes/WfoProcessDetail.tsx +5 -1
- package/src/pages/processes/WfoProcessDetailPage.tsx +31 -15
- package/src/pages/processes/WfoStartProcessPage.tsx +41 -17
- package/src/pages/startPage/WfoStartPage.tsx +239 -0
- package/src/pages/startPage/index.ts +1 -0
- package/src/pages/subscriptions/WfoSubscriptionsListPage.tsx +22 -26
- package/src/pages/tasks/{WfoTaskListPage.tsx → WfoTasksListPage.tsx} +67 -44
- package/src/pages/tasks/getTasksListTabTypeFromString.ts +19 -0
- package/src/pages/tasks/index.ts +3 -1
- package/src/pages/tasks/tabConfig.ts +51 -0
- package/src/pages/{workflow/WfoWorkflowListPage.tsx → workflows/WfoWorkflowsListPage.tsx} +18 -19
- package/src/pages/workflows/getWorkflowsListTabTypeFromString.ts +19 -0
- package/src/pages/workflows/index.ts +1 -0
- package/src/pages/{workflow → workflows}/tabConfig.ts +9 -9
- package/src/theme/defaultOrchestratorTheme.ts +8 -0
- package/src/types/types.ts +8 -53
- package/src/utils/date.ts +39 -0
- package/src/utils/getDefaultTableConfig.ts +19 -9
- package/tsconfig.json +4 -4
- package/src/components/WfoStartPage/WfoFrequentlyUsed.stories.tsx +0 -16
- package/src/components/WfoStartPage/WfoFrequentlyUsed.tsx +0 -21
- package/src/components/WfoStartPage/WfoListItemStartPage.stories.tsx +0 -40
- package/src/components/WfoStartPage/WfoListItemStartPage.tsx +0 -95
- package/src/components/WfoStartPage/WfoListStartPage.stories.tsx +0 -98
- package/src/components/WfoStartPage/WfoListStartPage.tsx +0 -45
- package/src/components/WfoStartPage/WfoMultiListSection.stories.tsx +0 -90
- package/src/components/WfoStartPage/WfoMultiListSection.tsx +0 -25
- package/src/components/WfoStartPage/WfoNewProcessPanel.stories.tsx +0 -13
- package/src/components/WfoStartPage/WfoNewProcessPanel.tsx +0 -45
- package/src/components/WfoStartPage/WfoStatCards.stories.tsx +0 -13
- package/src/components/WfoStartPage/WfoStatCards.tsx +0 -75
- package/src/components/WfoStartPage/index.ts +0 -6
- package/src/pages/workflow/getWorkflowListTabTypeFromString.ts +0 -19
- package/src/pages/workflow/index.ts +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
[34mCLI[39m Building entry: src/index.ts
|
|
4
6
|
[34mCLI[39m Using tsconfig: tsconfig.build.json
|
|
5
7
|
[34mCLI[39m tsup v8.0.1
|
|
6
|
-
[34mCLI[39m Target:
|
|
8
|
+
[34mCLI[39m Target: es6
|
|
7
9
|
[34mESM[39m Build start
|
|
8
10
|
[34mDTS[39m Build start
|
|
9
|
-
[32mESM[39m [1mdist/index.js [22m[32m1.
|
|
10
|
-
[32mESM[39m ⚡️ Build success in
|
|
11
|
-
[32mDTS[39m ⚡️ Build success in
|
|
12
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
13
|
-
Done in 10.95s.
|
|
11
|
+
[32mESM[39m [1mdist/index.js [22m[32m1.92 MB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 723ms
|
|
13
|
+
[32mDTS[39m ⚡️ Build success in 10252ms
|
|
14
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m98.49 KB[39m
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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:
|
|
23
|
-
Tests:
|
|
26
|
+
Test Suites: 20 passed, 20 total
|
|
27
|
+
Tests: 128 passed, 128 total
|
|
24
28
|
Snapshots: 0 total
|
|
25
|
-
Time:
|
|
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
|