@orchestrator-ui/orchestrator-ui-components 1.38.2 → 2.0.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.
- package/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-lint.log +5 -2
- package/.turbo/turbo-test.log +12 -12
- package/CHANGELOG.md +18 -0
- package/dist/index.d.ts +246 -170
- package/dist/index.js +4350 -3504
- package/package.json +1 -1
- package/src/components/WfoForms/formFields/SubscriptionSummaryField.tsx +6 -5
- package/src/components/WfoPageTemplate/WfoPageHeader/WfoPageHeader.tsx +3 -1
- package/src/components/WfoPageTemplate/WfoSidebar/WfoCopyright.tsx +1 -1
- package/src/components/WfoProcessList/WfoProcessesList.tsx +52 -51
- package/src/components/WfoRadioDropdown/WfoRadioDropdown.tsx +88 -0
- package/src/components/WfoRadioDropdown/index.ts +1 -0
- package/src/components/WfoSubscription/WfoInSyncField.tsx +13 -9
- package/src/components/WfoSubscription/WfoInUseByRelations.tsx +4 -2
- package/src/components/WfoSubscription/WfoProcessesTimeline.tsx +76 -29
- package/src/components/WfoSubscription/WfoRelatedSubscriptions.tsx +50 -56
- package/src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx +17 -9
- package/src/components/WfoSubscription/WfoSubscriptionGeneral.tsx +18 -156
- package/src/components/WfoSubscription/WfoSubscriptionGeneralSections/WfoSubscriptionDetailSection.tsx +113 -0
- package/src/components/WfoSubscription/WfoSubscriptionGeneralSections/WfoSubscriptionFixedInputSection.tsx +28 -0
- package/src/components/WfoSubscription/WfoSubscriptionGeneralSections/WfoSubscriptionMetadataSection.tsx +29 -0
- package/src/components/WfoSubscription/WfoSubscriptionGeneralSections/WfoSubscriptionProductInfoSection.tsx +55 -0
- package/src/components/WfoSubscription/WfoSubscriptionGeneralSections/index.ts +4 -0
- package/src/components/WfoSubscription/index.ts +3 -0
- package/src/components/WfoSubscription/overrides/index.ts +1 -0
- package/src/components/WfoSubscription/styles.ts +4 -1
- package/src/components/WfoSubscription/utils/utils.spec.ts +0 -13
- package/src/components/WfoSubscription/utils/utils.ts +18 -5
- package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +105 -100
- package/src/components/WfoTable/{WfoTableWithFilter/WfoTableWithFilter.tsx → WfoAdvancedTable/WfoAdvancedTable.tsx} +65 -123
- package/src/components/WfoTable/WfoAdvancedTable/getRowDetailData.tsx +55 -0
- package/src/components/WfoTable/WfoAdvancedTable/index.ts +4 -0
- package/src/components/WfoTable/WfoAdvancedTable/toSortedTableColumnConfig.ts +12 -0
- package/src/components/WfoTable/WfoAdvancedTable/types.ts +23 -0
- package/src/components/WfoTable/WfoStatusColorField/WfoStatusColorField.tsx +16 -0
- package/src/components/WfoTable/WfoStatusColorField/index.ts +1 -0
- package/src/components/WfoTable/WfoStatusColorField/styles.ts +20 -0
- package/src/components/WfoTable/WfoTable/WfoExpandedRow.tsx +33 -0
- package/src/components/WfoTable/WfoTable/WfoGroupedTable/WfoExpandableRow.tsx +48 -0
- package/src/components/WfoTable/WfoTable/WfoGroupedTable/WfoExpandedGroupRow.tsx +71 -0
- package/src/components/WfoTable/WfoTable/WfoGroupedTable/WfoGroupedTable.tsx +100 -0
- package/src/components/WfoTable/WfoTable/WfoGroupedTable/WfoGroupedTableGroups.tsx +74 -0
- package/src/components/WfoTable/WfoTable/WfoGroupedTable/styles.ts +39 -0
- package/src/components/WfoTable/WfoTable/WfoGroupedTable/useGroupedTableConfig.tsx +184 -0
- package/src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts +133 -0
- package/src/components/WfoTable/WfoTable/WfoGroupedTable/utils.ts +41 -0
- package/src/components/WfoTable/WfoTable/WfoMultilineCell.tsx +13 -0
- package/src/components/WfoTable/WfoTable/WfoTable.tsx +201 -0
- package/src/components/WfoTable/WfoTable/WfoTableDataRows.tsx +112 -0
- package/src/components/WfoTable/{WfoBasicTable → WfoTable/WfoTableHeaderCell}/WfoSortDirectionIcon.tsx +3 -3
- package/src/components/WfoTable/{WfoBasicTable → WfoTable/WfoTableHeaderCell}/WfoTableHeaderCell.tsx +4 -3
- package/src/components/WfoTable/WfoTable/WfoTableHeaderCell/index.ts +2 -0
- package/src/components/WfoTable/WfoTable/WfoTableHeaderRow.tsx +114 -0
- package/src/components/WfoTable/WfoTable/WfoTruncateCell.tsx +23 -0
- package/src/components/WfoTable/WfoTable/constants.ts +1 -0
- package/src/components/WfoTable/WfoTable/index.ts +14 -0
- package/src/components/WfoTable/WfoTable/styles.ts +117 -0
- package/src/components/WfoTable/WfoTable/utils.spec.ts +79 -0
- package/src/components/WfoTable/WfoTable/utils.ts +78 -0
- package/src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.tsx +13 -12
- package/src/components/WfoTable/WfoTableWithFilter/index.ts +1 -1
- package/src/components/WfoTable/index.ts +4 -5
- package/src/components/WfoTable/utils/columns.ts +1 -48
- package/src/components/WfoTable/utils/tableUtils.ts +13 -10
- package/src/components/WfoTree/WfoTreeBranch.tsx +10 -1
- package/src/components/WfoTree/WfoTreeNode.tsx +8 -57
- package/src/components/WfoTree/WfoTreeNodeListItem.tsx +65 -0
- package/src/components/WfoTree/styles.ts +28 -4
- package/src/components/index.ts +1 -0
- package/src/configuration/policy-resources.ts +1 -0
- package/src/configuration/version.ts +1 -1
- package/src/icons/WfoXMarkSmall.tsx +29 -0
- package/src/messages/en-GB.json +4 -0
- package/src/messages/nl-NL.json +4 -0
- package/src/pages/metadata/WfoProductBlocksPage.tsx +42 -59
- package/src/pages/metadata/WfoProductsPage.tsx +41 -47
- package/src/pages/metadata/WfoResourceTypesPage.tsx +26 -35
- package/src/pages/metadata/WfoTasksPage.tsx +35 -33
- package/src/pages/metadata/WfoWorkflowsPage.tsx +33 -29
- package/src/pages/tasks/WfoTasksListPage.tsx +25 -19
- package/src/utils/getObjectKeys.ts +3 -0
- package/src/utils/index.ts +5 -3
- package/src/components/WfoTable/WfoBasicTable/WfoBasicTable.tsx +0 -194
- package/src/components/WfoTable/WfoBasicTable/WfoStatusColorField.tsx +0 -21
- package/src/components/WfoTable/WfoBasicTable/index.ts +0 -5
- package/src/components/WfoTable/WfoDataGridTable/WfoDataGridTable.stories.tsx +0 -136
- package/src/components/WfoTable/WfoDataGridTable/WfoDataGridTable.tsx +0 -146
- package/src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts +0 -113
- package/src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.ts +0 -81
- package/src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts +0 -52
- package/src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.ts +0 -23
- /package/src/components/WfoTable/{WfoBasicTable → WfoTable/WfoTableHeaderCell}/styles.ts +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@2.0.0 build
|
|
3
3
|
> npm run generate-version && tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
6
|
+
> @orchestrator-ui/orchestrator-ui-components@2.0.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
|
|
9
|
+
src/configuration/version.ts 51ms
|
|
10
10
|
[34mCLI[39m Building entry: src/index.ts
|
|
11
11
|
[34mCLI[39m Using tsconfig: tsconfig.build.json
|
|
12
12
|
[34mCLI[39m tsup v8.1.0
|
|
13
13
|
[34mCLI[39m Target: es6
|
|
14
14
|
[34mESM[39m Build start
|
|
15
|
-
[32mESM[39m [1mdist/index.js [22m[32m1.
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
15
|
+
[32mESM[39m [1mdist/index.js [22m[32m1.91 MB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 861ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 19929ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m178.99 KB[39m
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@2.0.0 lint
|
|
3
3
|
> eslint "src/**/*.ts*"
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
/home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/components/WfoForms/formFields/deprecated/VlanField.tsx
|
|
7
7
|
168:8 warning React Hook useEffect has missing dependencies: 'disabled' and 'value'. Either include them 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/WfoTable/WfoTable/WfoGroupedTable/useGroupedTableConfig.tsx
|
|
10
|
+
56:8 warning React Hook useEffect has missing dependencies: 'groups' and 'notifyParent'. Either include them or remove the dependency array. If 'notifyParent' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps
|
|
11
|
+
|
|
12
|
+
✖ 2 problems (0 errors, 2 warnings)
|
|
10
13
|
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@2.0.0 test
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts
|
|
6
5
|
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
6
|
+
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts
|
|
7
7
|
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
8
8
|
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
9
|
-
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
10
9
|
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
10
|
+
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
11
11
|
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
12
|
-
PASS Wfo-UI Tests src/components/WfoTable/
|
|
12
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
|
|
13
13
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
|
|
14
14
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
|
|
15
15
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
16
|
-
PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
|
|
17
16
|
PASS Wfo-UI Tests src/rtk/utils.spec.ts
|
|
18
|
-
PASS Wfo-UI Tests src/
|
|
19
|
-
PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
|
|
17
|
+
PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
|
|
20
18
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
|
|
19
|
+
PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
|
|
21
20
|
PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
|
|
22
21
|
PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
|
|
23
22
|
PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
|
|
@@ -26,16 +25,17 @@ PASS Wfo-UI Tests src/utils/filterData.spec.ts
|
|
|
26
25
|
PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
|
|
27
26
|
PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
|
|
28
27
|
PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
|
|
29
|
-
PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
|
|
30
28
|
PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
|
|
31
|
-
PASS Wfo-UI Tests src/utils/
|
|
29
|
+
PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
|
|
32
30
|
PASS Wfo-UI Tests src/utils/uuid.spec.ts
|
|
31
|
+
PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
|
|
33
32
|
PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
|
|
34
|
-
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
35
33
|
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
34
|
+
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
35
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (7.399 s)
|
|
36
36
|
|
|
37
37
|
Test Suites: 31 passed, 31 total
|
|
38
|
-
Tests:
|
|
38
|
+
Tests: 190 passed, 190 total
|
|
39
39
|
Snapshots: 0 total
|
|
40
|
-
Time:
|
|
40
|
+
Time: 10.863 s
|
|
41
41
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @orchestrator-ui/orchestrator-ui-components
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 7991a97: 1384 - (Breaking change) - Replaces WfoBasicTable and WfoTableWithFilter with WfoTable and WfoAdvancedTable. Both have slightly different interfaces compared with the previous components
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- ca01308: Refactor WfoSubscriptionGeneral, use WfoSubscriptionDetailSection in forms
|
|
12
|
+
- 0041a7c: 699, 1370 - Fix and update product block view
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 94ed80b: "649 Fixed a bug where details were shown based on index instead of unique id of a PB
|
|
17
|
+
- 5ce3e1f: 1363 Fixes labels in table settings modal
|
|
18
|
+
- 0fe9ad5: 1363 Adds WfoMultilineCell and WfoTruncateCell
|
|
19
|
+
- 88c4181: 1378 Add sorting for subscription details workflows tab
|
|
20
|
+
|
|
3
21
|
## 1.38.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|