@orchestrator-ui/orchestrator-ui-components 7.5.0 → 7.5.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 +6 -6
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +9 -9
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +39 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/WfoPageTemplate/WfoSidebar/WfoMenuLink.tsx +10 -4
- package/src/components/WfoPageTemplate/WfoSidebar/styles.ts +28 -3
- package/src/components/WfoTree/styles.ts +1 -1
- package/src/configuration/version.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@7.5.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@7.5.1 build
|
|
3
3
|
> npm run generate-version && tsup src/index.ts
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @orchestrator-ui/orchestrator-ui-components@7.5.
|
|
6
|
+
> @orchestrator-ui/orchestrator-ui-components@7.5.1 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 48ms
|
|
10
10
|
[34mCLI[39m Building entry: src/index.ts
|
|
11
11
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
12
12
|
[34mCLI[39m tsup v8.5.1
|
|
@@ -14,9 +14,9 @@ src/configuration/version.ts 45ms
|
|
|
14
14
|
[34mCLI[39m Target: es2022
|
|
15
15
|
[34mCLI[39m Cleaning output folder
|
|
16
16
|
[34mESM[39m Build start
|
|
17
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
17
|
+
[32mESM[39m [1mdist/index.js [22m[32m810.00 KB[39m
|
|
18
18
|
[32mESM[39m [1mdist/index.js.map [22m[32m1.38 MB[39m
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 337ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 23887ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.48 MB[39m
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@7.5.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@7.5.1 test
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
6
|
-
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
7
5
|
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
8
|
-
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
9
6
|
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
10
|
-
PASS Wfo-UI Tests src/
|
|
7
|
+
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
8
|
+
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
11
9
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
10
|
+
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
11
|
+
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
12
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/utils/compareVersions.spec.ts
|
|
15
15
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
|
|
16
16
|
PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
|
|
17
|
-
PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
|
|
18
17
|
PASS Wfo-UI Tests src/rtk/utils.spec.ts
|
|
19
|
-
PASS Wfo-UI Tests src/
|
|
18
|
+
PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
|
|
20
19
|
PASS Wfo-UI Tests src/utils/getQueryParams.spec.ts
|
|
20
|
+
PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
|
|
21
21
|
PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
|
|
22
22
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
|
|
23
23
|
PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
|
|
@@ -36,10 +36,10 @@ PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
|
36
36
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
37
37
|
PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
|
|
38
38
|
PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
|
|
39
|
-
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.
|
|
39
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.497 s)
|
|
40
40
|
|
|
41
41
|
Test Suites: 35 passed, 35 total
|
|
42
42
|
Tests: 226 passed, 226 total
|
|
43
43
|
Snapshots: 0 total
|
|
44
|
-
Time:
|
|
44
|
+
Time: 8.191 s
|
|
45
45
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -27217,7 +27217,7 @@ declare const METADATA_RESOURCE_TYPE_ENDPOINT = "resource_types";
|
|
|
27217
27217
|
declare const METADATA_WORKFLOWS_ENDPOINT = "workflows";
|
|
27218
27218
|
declare const METADATA_SCHEDULES_ENDPOINT = "schedules";
|
|
27219
27219
|
|
|
27220
|
-
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "7.5.
|
|
27220
|
+
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "7.5.1";
|
|
27221
27221
|
|
|
27222
27222
|
declare const useGetTranslationMessages: (locale: string | undefined) => {
|
|
27223
27223
|
pydanticForms: {
|
package/dist/index.js
CHANGED
|
@@ -63,7 +63,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
|
|
|
63
63
|
})(PolicyResource || {});
|
|
64
64
|
|
|
65
65
|
// src/configuration/version.ts
|
|
66
|
-
var ORCHESTRATOR_UI_LIBRARY_VERSION = "7.5.
|
|
66
|
+
var ORCHESTRATOR_UI_LIBRARY_VERSION = "7.5.1";
|
|
67
67
|
|
|
68
68
|
// src/types/types.ts
|
|
69
69
|
var EngineStatus = /* @__PURE__ */ ((EngineStatus2) => {
|
|
@@ -4434,6 +4434,9 @@ var getCopyrightStyles = ({ theme }) => {
|
|
|
4434
4434
|
var getMenuStyles = ({ theme }) => {
|
|
4435
4435
|
const menuStyle = css5({
|
|
4436
4436
|
backgroundColor: theme.colors.backgroundBaseSubdued,
|
|
4437
|
+
".euiSideNavItem--trunk > .euiSideNavItem__items": {
|
|
4438
|
+
marginInline: theme.base
|
|
4439
|
+
},
|
|
4437
4440
|
".euiSideNavItem--branch": {
|
|
4438
4441
|
"&:after": {
|
|
4439
4442
|
backgroundColor: theme.colors.borderBaseSubdued,
|
|
@@ -4461,8 +4464,7 @@ var getMenuItemStyles = ({ theme, isDarkModeActive }) => {
|
|
|
4461
4464
|
color: theme.colors.textSubdued,
|
|
4462
4465
|
padding: `${theme.base * 0.5}px ${theme.base * 0.75}px`
|
|
4463
4466
|
};
|
|
4464
|
-
const
|
|
4465
|
-
...baseStyles,
|
|
4467
|
+
const subItemDash = {
|
|
4466
4468
|
":after": {
|
|
4467
4469
|
content: "''",
|
|
4468
4470
|
top: "50%",
|
|
@@ -4474,6 +4476,10 @@ var getMenuItemStyles = ({ theme, isDarkModeActive }) => {
|
|
|
4474
4476
|
transform: "translateY(-50%)"
|
|
4475
4477
|
}
|
|
4476
4478
|
};
|
|
4479
|
+
const baseSubMenuStyles = {
|
|
4480
|
+
...baseStyles,
|
|
4481
|
+
...subItemDash
|
|
4482
|
+
};
|
|
4477
4483
|
const menuItemStyle = css5({
|
|
4478
4484
|
...baseStyles
|
|
4479
4485
|
});
|
|
@@ -4503,17 +4509,34 @@ var getMenuItemStyles = ({ theme, isDarkModeActive }) => {
|
|
|
4503
4509
|
marginLeft: `${theme.size.xs}`,
|
|
4504
4510
|
paddingLeft: `${theme.size.s}`
|
|
4505
4511
|
});
|
|
4506
|
-
const
|
|
4512
|
+
const subMenuHeader = {
|
|
4507
4513
|
...baseStyles,
|
|
4508
4514
|
color: theme.colors.link,
|
|
4509
4515
|
fontWeight: theme.font.weight.medium
|
|
4516
|
+
};
|
|
4517
|
+
const subMenuHeaderStyle = css5({
|
|
4518
|
+
...subMenuHeader
|
|
4519
|
+
});
|
|
4520
|
+
const subMenuSubItemHeaderStyle = css5({
|
|
4521
|
+
...subMenuHeader,
|
|
4522
|
+
...{
|
|
4523
|
+
":after": {
|
|
4524
|
+
content: "''",
|
|
4525
|
+
left: 0,
|
|
4526
|
+
width: "4px",
|
|
4527
|
+
height: "1px",
|
|
4528
|
+
backgroundColor: theme.colors.borderBaseSubdued,
|
|
4529
|
+
position: "absolute"
|
|
4530
|
+
}
|
|
4531
|
+
}
|
|
4510
4532
|
});
|
|
4511
4533
|
return {
|
|
4512
4534
|
menuItemStyle,
|
|
4513
4535
|
selectedMenuItem,
|
|
4514
4536
|
selectedSubMenuItem,
|
|
4515
4537
|
subMenuItemStyle,
|
|
4516
|
-
subMenuHeaderStyle
|
|
4538
|
+
subMenuHeaderStyle,
|
|
4539
|
+
subMenuSubItemHeaderStyle
|
|
4517
4540
|
};
|
|
4518
4541
|
};
|
|
4519
4542
|
|
|
@@ -4937,12 +4960,19 @@ var WfoMenuItemLink = ({
|
|
|
4937
4960
|
isSubItem,
|
|
4938
4961
|
hasSubItems
|
|
4939
4962
|
}) => {
|
|
4940
|
-
const {
|
|
4963
|
+
const {
|
|
4964
|
+
menuItemStyle,
|
|
4965
|
+
selectedMenuItem,
|
|
4966
|
+
selectedSubMenuItem,
|
|
4967
|
+
subMenuHeaderStyle,
|
|
4968
|
+
subMenuItemStyle,
|
|
4969
|
+
subMenuSubItemHeaderStyle
|
|
4970
|
+
} = useWithOrchestratorTheme(getMenuItemStyles);
|
|
4941
4971
|
const getMenuItemStyle = () => {
|
|
4942
|
-
if (isSubItem) {
|
|
4972
|
+
if (isSubItem && (!hasSubItems || !isSelected)) {
|
|
4943
4973
|
return isSelected ? selectedSubMenuItem : subMenuItemStyle;
|
|
4944
4974
|
} else if (isSelected && hasSubItems) {
|
|
4945
|
-
return subMenuHeaderStyle;
|
|
4975
|
+
return isSubItem ? subMenuSubItemHeaderStyle : subMenuHeaderStyle;
|
|
4946
4976
|
} else {
|
|
4947
4977
|
return isSelected ? selectedMenuItem : menuItemStyle;
|
|
4948
4978
|
}
|
|
@@ -9999,7 +10029,7 @@ var getStyles7 = ({ theme, toSecondaryColor }) => {
|
|
|
9999
10029
|
cursor: "pointer"
|
|
10000
10030
|
};
|
|
10001
10031
|
const treeContainerStyle = {
|
|
10002
|
-
width:
|
|
10032
|
+
width: theme.size.m,
|
|
10003
10033
|
marginTop: theme.size.s,
|
|
10004
10034
|
marginRight: `-${theme.size.s}`
|
|
10005
10035
|
};
|