@camunda/ccma-saas-frontend 0.7.0 → 0.7.2

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 (140) hide show
  1. package/lib/esm/components/c4-billing-page/elements/value-metric.js +2 -4
  2. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.d.ts +1 -1
  3. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +4 -4
  4. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.types.d.ts +6 -0
  5. package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +24 -10
  6. package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +2 -1
  7. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +10 -5
  8. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +4 -3
  9. package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +8 -3
  10. package/lib/esm/components/c4-cluster-list/c4-cluster-list.d.ts +1 -1
  11. package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +6 -4
  12. package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +7 -0
  13. package/lib/esm/components/c4-cluster-overview/applications.d.ts +8 -0
  14. package/lib/esm/components/c4-cluster-overview/applications.js +28 -23
  15. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.d.ts +1 -1
  16. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +5 -5
  17. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.types.d.ts +10 -0
  18. package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +7 -0
  19. package/lib/esm/components/c4-cluster-overview/cluster-details.js +5 -2
  20. package/lib/esm/components/c4-cluster-overview/cluster-load.d.ts +7 -0
  21. package/lib/esm/components/c4-cluster-overview/cluster-load.js +9 -5
  22. package/lib/esm/components/c4-cluster-settings/elements/danger-zone.js +2 -1
  23. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +2 -2
  24. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +2 -1
  25. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.js +2 -2
  26. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +4 -4
  27. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.js +1 -2
  28. package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.js +2 -2
  29. package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +1 -2
  30. package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.js +1 -2
  31. package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.js +1 -2
  32. package/lib/esm/components/c4-help-center/c4-help-center.js +3 -1
  33. package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.js +1 -1
  34. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +1 -1
  35. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +2 -2
  36. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +10 -0
  37. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.js +2 -1
  38. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +3 -2
  39. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.js +3 -2
  40. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.d.ts +1 -1
  41. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +7 -2
  42. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +8 -0
  43. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.d.ts +1 -1
  44. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +2 -2
  45. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +10 -0
  46. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +3 -2
  47. package/lib/esm/components/c4-link-button/c4-link-button.d.ts +1 -1
  48. package/lib/esm/components/c4-link-button/c4-link-button.js +2 -2
  49. package/lib/esm/components/c4-link-button/c4-link-button.types.d.ts +6 -0
  50. package/lib/esm/components/c4-management-api/c4-management-api.js +8 -3
  51. package/lib/esm/components/c4-page-template/c4-page-template.d.ts +13 -1
  52. package/lib/esm/components/c4-page-template/c4-page-template.js +3 -3
  53. package/lib/esm/components/c4-sm-dashboard/health-status.js +1 -1
  54. package/lib/esm/components/c4-usage-history/elements/usage-history-charts.d.ts +1 -1
  55. package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +3 -1
  56. package/lib/esm/components/shared-charts/ds-line-chart.js +25 -11
  57. package/lib/esm/components/shared-charts/recharts-tokens.d.ts +16 -0
  58. package/lib/esm/components/shared-charts/recharts-tokens.js +31 -0
  59. package/lib/esm/i18n/en/entities/orgroles.json +2 -2
  60. package/lib/esm/i18n/en/pages/clusterdetails.json +3 -0
  61. package/lib/esm/i18n/en/pages/job-dashboard.json +2 -0
  62. package/lib/esm/index.d.ts +13 -1
  63. package/lib/esm/index.js +7 -1
  64. package/lib/esm/runtime/build-cluster-swagger-url.js +2 -2
  65. package/lib/esm/runtime/index.d.ts +1 -0
  66. package/lib/esm/runtime/index.js +1 -0
  67. package/lib/esm/runtime/nav/camunda-apps.js +2 -2
  68. package/lib/esm/ui/c4-definition-tooltip.d.ts +15 -0
  69. package/lib/esm/ui/c4-definition-tooltip.js +43 -0
  70. package/lib/esm/ui/index.d.ts +6 -0
  71. package/lib/esm/ui/index.js +20 -3
  72. package/lib/esm/utils/role-labels.js +5 -4
  73. package/lib/esm/utils/safe-translate.d.ts +27 -0
  74. package/lib/esm/utils/safe-translate.js +56 -0
  75. package/lib/esm/utils/section-heading-style.d.ts +13 -0
  76. package/lib/esm/utils/section-heading-style.js +25 -0
  77. package/lib/esm/widgets/c4-widget-scope.types.d.ts +20 -0
  78. package/lib/esm/widgets/c4-widget-scope.types.js +6 -0
  79. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +5 -5
  80. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +26 -57
  81. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +27 -0
  82. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.d.ts +1 -1
  83. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +63 -19
  84. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +14 -0
  85. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +2 -2
  86. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +3 -2
  87. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.d.ts +9 -1
  88. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +8 -17
  89. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.d.ts +31 -2
  90. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +34 -24
  91. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +2 -2
  92. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +1 -2
  93. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.d.ts +16 -1
  94. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +23 -18
  95. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +13 -15
  96. package/lib/esm/widgets/clusters/c4-clusters-page.d.ts +1 -1
  97. package/lib/esm/widgets/clusters/c4-clusters-page.js +2 -2
  98. package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +7 -0
  99. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.d.ts +1 -1
  100. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +12 -6
  101. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.types.d.ts +9 -0
  102. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.d.ts +1 -1
  103. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +12 -6
  104. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.types.d.ts +9 -0
  105. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.d.ts +1 -1
  106. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.js +12 -6
  107. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.types.d.ts +9 -0
  108. package/lib/esm/widgets/connector-management/c4-connector-management-page.d.ts +1 -1
  109. package/lib/esm/widgets/connector-management/c4-connector-management-page.js +12 -6
  110. package/lib/esm/widgets/connector-management/c4-connector-management-page.types.d.ts +10 -0
  111. package/lib/esm/widgets/dashboard/c4-dashboard-app.js +177 -17
  112. package/lib/esm/widgets/dashboard/c4-dashboard-app.types.d.ts +15 -2
  113. package/lib/esm/widgets/environment/c4-cluster-api-clients-widget.d.ts +5 -0
  114. package/lib/esm/widgets/environment/c4-cluster-api-clients-widget.js +61 -0
  115. package/lib/esm/widgets/environment/c4-cluster-api-clients-widget.types.d.ts +21 -0
  116. package/lib/esm/widgets/environment/c4-cluster-api-clients-widget.types.js +6 -0
  117. package/lib/esm/widgets/environment/c4-cluster-connector-secrets-widget.d.ts +5 -0
  118. package/lib/esm/widgets/environment/c4-cluster-connector-secrets-widget.js +58 -0
  119. package/lib/esm/widgets/environment/c4-cluster-connector-secrets-widget.types.d.ts +22 -0
  120. package/lib/esm/widgets/environment/c4-cluster-connector-secrets-widget.types.js +6 -0
  121. package/lib/esm/widgets/environment/use-cluster-api-clients.d.ts +26 -0
  122. package/lib/esm/widgets/environment/use-cluster-api-clients.js +48 -0
  123. package/lib/esm/widgets/environment/use-cluster-swagger-url.d.ts +19 -0
  124. package/lib/esm/widgets/environment/use-cluster-swagger-url.js +44 -0
  125. package/lib/esm/widgets/environment/use-cluster-version-flags.d.ts +16 -0
  126. package/lib/esm/widgets/environment/use-cluster-version-flags.js +40 -0
  127. package/lib/esm/widgets/group-details/c4-group-details-page.js +2 -2
  128. package/lib/esm/widgets/job-worker/c4-job-worker-details-page.d.ts +1 -1
  129. package/lib/esm/widgets/job-worker/c4-job-worker-details-page.js +34 -25
  130. package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.d.ts +1 -1
  131. package/lib/esm/widgets/job-worker/c4-job-worker-overview-page.js +26 -21
  132. package/lib/esm/widgets/job-worker/c4-job-worker.helpers.d.ts +12 -0
  133. package/lib/esm/widgets/job-worker/c4-job-worker.helpers.js +6 -0
  134. package/lib/esm/widgets/job-worker/c4-job-worker.types.d.ts +19 -0
  135. package/lib/esm/widgets/management/c4-management-app.js +3 -3
  136. package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +1 -7
  137. package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +1 -2
  138. package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +7 -1
  139. package/lib/esm/widgets/user-details/c4-user-details-page.js +3 -3
  140. package/package.json +7 -7
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. Licensed under a commercial license.
4
+ * You may not use this file except in compliance with the commercial license.
5
+ */
6
+ export {};
@@ -0,0 +1,26 @@
1
+ import type { ConsoleClusterClientDto, RequestBaseParamsConfig } from '@camunda/ccma-api';
2
+ export interface ClusterApiClientsState {
3
+ clients: ConsoleClusterClientDto[];
4
+ loading: boolean;
5
+ /** True when the last load failed. The panel renders its own retry affordance. */
6
+ error: boolean;
7
+ reload: () => Promise<void>;
8
+ }
9
+ /**
10
+ * The cluster's API clients, with the load/error/reload state the clients panel
11
+ * needs.
12
+ *
13
+ * Extracted from `C4ClusterDetailsApp` so the standalone
14
+ * `C4ClusterApiClientsWidget` and the cluster-details page share one
15
+ * implementation — otherwise a host embedding the widget would silently drift
16
+ * from Console's own tab on every change here.
17
+ *
18
+ * `enabled: false` (the viewer may not read clients) resolves to an empty list
19
+ * without issuing a request, rather than surfacing a 403 as an error state.
20
+ */
21
+ export declare function useClusterApiClients(params: {
22
+ orgId: string;
23
+ clusterId: string;
24
+ apiConfig: RequestBaseParamsConfig;
25
+ enabled: boolean;
26
+ }): ClusterApiClientsState;
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. Licensed under a commercial license.
4
+ * You may not use this file except in compliance with the commercial license.
5
+ */
6
+ import { ConsoleClusterClientsService } from '@camunda/ccma-api';
7
+ import { useCallback, useState } from 'react';
8
+ /**
9
+ * The cluster's API clients, with the load/error/reload state the clients panel
10
+ * needs.
11
+ *
12
+ * Extracted from `C4ClusterDetailsApp` so the standalone
13
+ * `C4ClusterApiClientsWidget` and the cluster-details page share one
14
+ * implementation — otherwise a host embedding the widget would silently drift
15
+ * from Console's own tab on every change here.
16
+ *
17
+ * `enabled: false` (the viewer may not read clients) resolves to an empty list
18
+ * without issuing a request, rather than surfacing a 403 as an error state.
19
+ */
20
+ export function useClusterApiClients(params) {
21
+ const { orgId, clusterId, apiConfig, enabled } = params;
22
+ const [clients, setClients] = useState([]);
23
+ const [loading, setLoading] = useState(false);
24
+ const [error, setError] = useState(false);
25
+ const reload = useCallback(async () => {
26
+ if (!enabled) {
27
+ setClients([]);
28
+ setError(false);
29
+ return;
30
+ }
31
+ setLoading(true);
32
+ setError(false);
33
+ try {
34
+ const loaded = await ConsoleClusterClientsService.getAll({
35
+ config: apiConfig,
36
+ params: { orgId, clusterId },
37
+ });
38
+ setClients(loaded);
39
+ }
40
+ catch {
41
+ setError(true);
42
+ }
43
+ finally {
44
+ setLoading(false);
45
+ }
46
+ }, [apiConfig, clusterId, enabled, orgId]);
47
+ return { clients, loading, error, reload };
48
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The cluster's Swagger UI URL, or `undefined` when there isn't one.
3
+ *
4
+ * `undefined` covers four cases a host must handle the same way — hide the
5
+ * affordance: the cluster has swagger disabled, it has no `operateUrl` yet
6
+ * (still being created), it simply hasn't loaded into the data context, or
7
+ * its `operateUrl` fails to parse as a URL.
8
+ *
9
+ * This reads the cluster from the c4 data context — which fetches Console's
10
+ * internal API from the browser with the viewer's own token — so a host can
11
+ * offer "Open Swagger UI" in an environment view without the URL having to
12
+ * travel through its own backend.
13
+ *
14
+ * Requires a `C4ConsoleRuntimeProvider` and a `C4ConsoleDataProvider` above it.
15
+ */
16
+ export declare function useClusterSwaggerUrl(params: {
17
+ orgId: string;
18
+ clusterId: string;
19
+ }): string | undefined;
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. Licensed under a commercial license.
4
+ * You may not use this file except in compliance with the commercial license.
5
+ */
6
+ import { useEffect, useMemo } from 'react';
7
+ import { buildClusterSwaggerUrl } from '../../runtime/build-cluster-swagger-url.js';
8
+ import { useC4ConsoleData } from '../../runtime/c4-console-data-context.js';
9
+ import { useC4ConsoleRuntime } from '../../runtime/c4-console-runtime-context.js';
10
+ /**
11
+ * The cluster's Swagger UI URL, or `undefined` when there isn't one.
12
+ *
13
+ * `undefined` covers four cases a host must handle the same way — hide the
14
+ * affordance: the cluster has swagger disabled, it has no `operateUrl` yet
15
+ * (still being created), it simply hasn't loaded into the data context, or
16
+ * its `operateUrl` fails to parse as a URL.
17
+ *
18
+ * This reads the cluster from the c4 data context — which fetches Console's
19
+ * internal API from the browser with the viewer's own token — so a host can
20
+ * offer "Open Swagger UI" in an environment view without the URL having to
21
+ * travel through its own backend.
22
+ *
23
+ * Requires a `C4ConsoleRuntimeProvider` and a `C4ConsoleDataProvider` above it.
24
+ */
25
+ export function useClusterSwaggerUrl(params) {
26
+ const { orgId, clusterId } = params;
27
+ const runtime = useC4ConsoleRuntime();
28
+ const data = useC4ConsoleData();
29
+ useEffect(() => {
30
+ void data.fetchClusters(orgId);
31
+ }, [data, orgId]);
32
+ const cluster = data
33
+ .getClusters(orgId)
34
+ ?.find((candidate) => candidate.uuid === clusterId);
35
+ return useMemo(() => {
36
+ if (!cluster)
37
+ return undefined;
38
+ return buildClusterSwaggerUrl({
39
+ cluster,
40
+ clusterId,
41
+ stage: runtime.stage,
42
+ });
43
+ }, [cluster, clusterId, runtime.stage]);
44
+ }
@@ -0,0 +1,16 @@
1
+ import type { ConsoleClusterDto } from '@camunda/ccma-shared-types';
2
+ export interface ClusterVersionFlags {
3
+ /** Identity-backed authorizations, available from Zeebe 8.8.0-alpha5. */
4
+ hasIdentityIntegration: boolean;
5
+ /** 8.10+ renames "Connector secrets" to "Cluster secrets" in the UI. */
6
+ useClusterSecretsLabel: boolean;
7
+ }
8
+ /**
9
+ * Version-gated capability flags derived from a cluster's Zeebe version.
10
+ *
11
+ * Extracted from `C4ClusterDetailsApp` so the app and every standalone widget
12
+ * that needs one of these flags (`C4ClusterApiClientsWidget`,
13
+ * `C4ClusterConnectorSecretsWidget`) share one implementation — otherwise the
14
+ * same two version gates would be copied three times and could drift.
15
+ */
16
+ export declare function useClusterVersionFlags(cluster: ConsoleClusterDto | undefined): ClusterVersionFlags;
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. Licensed under a commercial license.
4
+ * You may not use this file except in compliance with the commercial license.
5
+ */
6
+ import { CLUSTER_SECRETS_LABEL_MIN_VERSION, checkVersion, IDENTITY_MANAGEMENT_MIN_VERSION, VersionCheckOperator, } from '@camunda/ccma-shared-types';
7
+ import { useMemo } from 'react';
8
+ /**
9
+ * Version-gated capability flags derived from a cluster's Zeebe version.
10
+ *
11
+ * Extracted from `C4ClusterDetailsApp` so the app and every standalone widget
12
+ * that needs one of these flags (`C4ClusterApiClientsWidget`,
13
+ * `C4ClusterConnectorSecretsWidget`) share one implementation — otherwise the
14
+ * same two version gates would be copied three times and could drift.
15
+ */
16
+ export function useClusterVersionFlags(cluster) {
17
+ const zeebeVersion = cluster?.generation?.versions?.zeebe;
18
+ const hasIdentityIntegration = useMemo(() => {
19
+ if (!zeebeVersion)
20
+ return false;
21
+ return checkVersion({
22
+ possiblyVersionOrDockerPath: zeebeVersion,
23
+ trueForSnapshot: true,
24
+ operator: VersionCheckOperator.GreaterThanOrEqual,
25
+ versionToCompareTo: IDENTITY_MANAGEMENT_MIN_VERSION,
26
+ trueOnInvalidVersion: false,
27
+ });
28
+ }, [zeebeVersion]);
29
+ const useClusterSecretsLabel = useMemo(() => {
30
+ if (!zeebeVersion)
31
+ return false;
32
+ return checkVersion({
33
+ possiblyVersionOrDockerPath: zeebeVersion,
34
+ trueForSnapshot: 'compare',
35
+ operator: VersionCheckOperator.GreaterThanOrEqual,
36
+ versionToCompareTo: CLUSTER_SECRETS_LABEL_MIN_VERSION,
37
+ });
38
+ }, [zeebeVersion]);
39
+ return { hasIdentityIntegration, useClusterSecretsLabel };
40
+ }
@@ -5,7 +5,7 @@ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
7
  import { C4GroupsDetails, C4IdentityContextProvider, } from '@camunda/c4-identity';
8
- import { checkVersion, OrganizationRole, VersionCheckOperator, } from '@camunda/ccma-shared-types';
8
+ import { checkVersion, IDENTITY_MANAGEMENT_MIN_VERSION, OrganizationRole, VersionCheckOperator, } from '@camunda/ccma-shared-types';
9
9
  import { observer } from 'mobx-react-lite';
10
10
  import { useEffect, useMemo, useState } from 'react';
11
11
  import { C4PageTemplate } from '../../components/c4-page-template/c4-page-template.js';
@@ -101,7 +101,7 @@ export const C4GroupDetailsPage = observer(({ orgId, groupId, externalLinks, onN
101
101
  possiblyVersionOrDockerPath: zeebe,
102
102
  trueForSnapshot: true,
103
103
  operator: VersionCheckOperator.GreaterThanOrEqual,
104
- versionToCompareTo: '8.8.0-alpha5',
104
+ versionToCompareTo: IDENTITY_MANAGEMENT_MIN_VERSION,
105
105
  });
106
106
  });
107
107
  }, [clusters]);
@@ -1,5 +1,5 @@
1
1
  import type { JSX } from 'react';
2
2
  import type { C4JobWorkerDetailsPageProps } from './c4-job-worker.types.js';
3
- export declare const C4JobWorkerDetailsPage: (({ orgId, clusterId, jobType: jobTypeProp, onNavigate, }: C4JobWorkerDetailsPageProps) => JSX.Element) & {
3
+ export declare const C4JobWorkerDetailsPage: (({ orgId, clusterId, jobType: jobTypeProp, onNavigate, scope, }: C4JobWorkerDetailsPageProps) => JSX.Element) & {
4
4
  displayName: string;
5
5
  };
@@ -10,8 +10,8 @@ import { useCallback, useEffect, useMemo, useState } from 'react';
10
10
  import { C4JobDashboardDetailsPage } from '../../components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js';
11
11
  import { useC4ConsoleRuntime } from '../../runtime/c4-console-runtime-context.js';
12
12
  import { toApiConfig } from '../../runtime/to-api-config.js';
13
- import { getRegion, latestUpdateTime, makeTr, safeDecodeURIComponent, safeT, toJobsError, } from './c4-job-worker.helpers.js';
14
- function buildDetailsTranslations(tr) {
13
+ import { getRegion, latestUpdateTime, makeScopedTr, makeTr, safeDecodeURIComponent, safeT, toJobsError, } from './c4-job-worker.helpers.js';
14
+ function buildDetailsTranslations(tr, trScoped) {
15
15
  return {
16
16
  title: tr('details.title', 'Job type details'),
17
17
  lastUpdated: tr('shared.lastUpdated', 'Last updated'),
@@ -75,7 +75,7 @@ function buildDetailsTranslations(tr) {
75
75
  },
76
76
  empty: {
77
77
  title: tr('shared.errorHandler.empty.title', 'No data available.'),
78
- description: tr('shared.errorHandler.empty.description', 'No data was found for this cluster.'),
78
+ description: trScoped('shared.errorHandler.empty.description', 'No data was found for this cluster.', 'No data was found for this environment.'),
79
79
  learnMoreLabel: tr('shared.errorHandler.empty.learnMoreLabel', 'Learn more about jobs and job workers'),
80
80
  },
81
81
  generalError: {
@@ -101,11 +101,12 @@ const INITIAL_JOB_DATA = {
101
101
  const INITIAL_WORKER_DATA = { items: [], isLoading: false };
102
102
  const INITIAL_TIME_SERIES = { items: [], isLoading: false };
103
103
  const INITIAL_ERROR_DATA = { items: [], isLoading: false };
104
- export const C4JobWorkerDetailsPage = observer(({ orgId, clusterId, jobType: jobTypeProp, onNavigate, }) => {
104
+ export const C4JobWorkerDetailsPage = observer(({ orgId, clusterId, jobType: jobTypeProp, onNavigate, scope = 'cluster', }) => {
105
105
  const runtime = useC4ConsoleRuntime();
106
106
  const apiConfig = useMemo(() => toApiConfig(runtime), [runtime]);
107
107
  const t = runtime.i18n?.t;
108
108
  const tr = useMemo(() => makeTr(t), [t]);
109
+ const trScoped = useMemo(() => makeScopedTr(tr, scope), [tr, scope]);
109
110
  const [cluster, setCluster] = useState();
110
111
  const [clusterLoading, setClusterLoading] = useState(false);
111
112
  const [config, setConfig] = useState();
@@ -284,26 +285,34 @@ export const C4JobWorkerDetailsPage = observer(({ orgId, clusterId, jobType: job
284
285
  useEffect(() => {
285
286
  void loadData();
286
287
  }, [loadData]);
287
- const translations = useMemo(() => buildDetailsTranslations(tr), [tr]);
288
- const breadcrumb = useMemo(() => ({
289
- elements: [
290
- {
291
- key: '1',
292
- label: safeT(t, 'c4console:clusters.list.title', 'Clusters'),
293
- onClick: () => onNavigate?.({ kind: 'clusters', orgId }),
294
- },
295
- {
296
- key: '2',
297
- label: cluster?.name ?? clusterId,
298
- onClick: () => onNavigate?.({ kind: 'clusterDetails', orgId, clusterId }),
299
- },
300
- {
301
- key: '3',
302
- label: safeT(t, 'c4console:clusters.details.jobDashboard', 'Job dashboard'),
303
- onClick: () => onNavigate?.({ kind: 'jobWorkerOverview', orgId, clusterId }),
304
- },
305
- ],
306
- }), [cluster?.name, clusterId, onNavigate, orgId, t]);
288
+ const translations = useMemo(() => buildDetailsTranslations(tr, trScoped), [tr, trScoped]);
289
+ // In environment scope the host page owns the breadcrumb, so this widget
290
+ // contributes no trail of its own.
291
+ const breadcrumb = useMemo(() => scope === 'environment'
292
+ ? { elements: [] }
293
+ : {
294
+ elements: [
295
+ {
296
+ key: '1',
297
+ label: safeT(t, 'c4console:clusters.list.title', 'Clusters'),
298
+ onClick: () => onNavigate?.({ kind: 'clusters', orgId }),
299
+ },
300
+ {
301
+ key: '2',
302
+ label: cluster?.name ?? clusterId,
303
+ onClick: () => onNavigate?.({ kind: 'clusterDetails', orgId, clusterId }),
304
+ },
305
+ {
306
+ key: '3',
307
+ label: safeT(t, 'c4console:clusters.details.jobDashboard', 'Job dashboard'),
308
+ onClick: () => onNavigate?.({
309
+ kind: 'jobWorkerOverview',
310
+ orgId,
311
+ clusterId,
312
+ }),
313
+ },
314
+ ],
315
+ }, [cluster?.name, clusterId, onNavigate, orgId, scope, t]);
307
316
  const operateBaseUrl = cluster?.status?.operateUrl ?? null;
308
- return (_jsx(C4JobDashboardDetailsPage, { jobType: safeDecodeURIComponent(jobTypeProp), config: config, isLoadingConfig: configLoading || clusterLoading, lastUpdatedAt: lastUpdatedAt, breadcrumb: breadcrumb, jobData: jobData, workerData: workerData, timeSeries: timeSeries, errorData: { ...errorData, operateBaseUrl }, onTimeRangeChange: setRange, translations: translations }));
317
+ return (_jsx(C4JobDashboardDetailsPage, { jobType: safeDecodeURIComponent(jobTypeProp), config: config, isLoadingConfig: configLoading || clusterLoading, lastUpdatedAt: lastUpdatedAt, breadcrumb: breadcrumb, jobData: jobData, workerData: workerData, timeSeries: timeSeries, errorData: { ...errorData, operateBaseUrl }, onTimeRangeChange: setRange, translations: translations, padding: scope === 'environment' ? 'none' : 'default' }));
309
318
  });
@@ -1,5 +1,5 @@
1
1
  import type { JSX } from 'react';
2
2
  import type { C4JobWorkerOverviewPageProps } from './c4-job-worker.types.js';
3
- export declare const C4JobWorkerOverviewPage: (({ orgId, clusterId, onNavigate, }: C4JobWorkerOverviewPageProps) => JSX.Element) & {
3
+ export declare const C4JobWorkerOverviewPage: (({ orgId, clusterId, onNavigate, scope, }: C4JobWorkerOverviewPageProps) => JSX.Element) & {
4
4
  displayName: string;
5
5
  };
@@ -10,11 +10,11 @@ import { useCallback, useEffect, useMemo, useState } from 'react';
10
10
  import { C4JobDashboardOverviewPage } from '../../components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js';
11
11
  import { useC4ConsoleRuntime } from '../../runtime/c4-console-runtime-context.js';
12
12
  import { toApiConfig } from '../../runtime/to-api-config.js';
13
- import { getRegion, latestUpdateTime, makeTr, safeT, toJobsError, } from './c4-job-worker.helpers.js';
14
- function buildOverviewTranslations(tr) {
13
+ import { getRegion, latestUpdateTime, makeScopedTr, makeTr, safeT, toJobsError, } from './c4-job-worker.helpers.js';
14
+ function buildOverviewTranslations(tr, trScoped) {
15
15
  return {
16
16
  title: tr('overview.title', 'Job types'),
17
- description: tr('overview.description', 'View all job types running against the cluster.'),
17
+ description: trScoped('overview.description', 'View all job types running against the cluster.', 'View all job types running against the environment.'),
18
18
  learnMoreLabel: tr('overview.learnMoreLabel', 'See more information about job types here.'),
19
19
  searchLabel: tr('overview.search.label', 'Search'),
20
20
  lastUpdated: tr('shared.lastUpdated', 'Last updated'),
@@ -42,7 +42,7 @@ function buildOverviewTranslations(tr) {
42
42
  },
43
43
  empty: {
44
44
  title: tr('shared.errorHandler.empty.title', 'No data available.'),
45
- description: tr('shared.errorHandler.empty.description', 'No data was found for this cluster.'),
45
+ description: trScoped('shared.errorHandler.empty.description', 'No data was found for this cluster.', 'No data was found for this environment.'),
46
46
  learnMoreLabel: tr('shared.errorHandler.empty.learnMoreLabel', 'Learn more about Jobs and Job workers'),
47
47
  },
48
48
  generalError: {
@@ -61,11 +61,12 @@ function buildOverviewTranslations(tr) {
61
61
  },
62
62
  };
63
63
  }
64
- export const C4JobWorkerOverviewPage = observer(({ orgId, clusterId, onNavigate, }) => {
64
+ export const C4JobWorkerOverviewPage = observer(({ orgId, clusterId, onNavigate, scope = 'cluster', }) => {
65
65
  const runtime = useC4ConsoleRuntime();
66
66
  const apiConfig = useMemo(() => toApiConfig(runtime), [runtime]);
67
67
  const t = runtime.i18n?.t;
68
68
  const tr = useMemo(() => makeTr(t), [t]);
69
+ const trScoped = useMemo(() => makeScopedTr(tr, scope), [tr, scope]);
69
70
  const [cluster, setCluster] = useState();
70
71
  const [clusterLoading, setClusterLoading] = useState(false);
71
72
  const [config, setConfig] = useState();
@@ -178,20 +179,24 @@ export const C4JobWorkerOverviewPage = observer(({ orgId, clusterId, onNavigate,
178
179
  useEffect(() => {
179
180
  void loadData();
180
181
  }, [loadData]);
181
- const translations = useMemo(() => buildOverviewTranslations(tr), [tr]);
182
- const breadcrumb = useMemo(() => ({
183
- elements: [
184
- {
185
- key: '1',
186
- label: safeT(t, 'c4console:clusters.list.title', 'Clusters'),
187
- onClick: () => onNavigate?.({ kind: 'clusters', orgId }),
188
- },
189
- {
190
- key: '2',
191
- label: cluster?.name ?? clusterId,
192
- onClick: () => onNavigate?.({ kind: 'clusterDetails', orgId, clusterId }),
193
- },
194
- ],
195
- }), [cluster?.name, clusterId, onNavigate, orgId, t]);
196
- return (_jsx(C4JobDashboardOverviewPage, { breadcrumb: breadcrumb, lastUpdatedAt: lastUpdatedAt, items: items, onTimeRangeChange: setRange, error: tableError, config: config, isIncomplete: isIncomplete, isLoadingConfig: configLoading || clusterLoading, isLoadingTable: tableLoading, translations: translations }));
182
+ const translations = useMemo(() => buildOverviewTranslations(tr, trScoped), [tr, trScoped]);
183
+ // In environment scope the host page owns the breadcrumb, so this widget
184
+ // contributes no trail of its own.
185
+ const breadcrumb = useMemo(() => scope === 'environment'
186
+ ? { elements: [] }
187
+ : {
188
+ elements: [
189
+ {
190
+ key: '1',
191
+ label: safeT(t, 'c4console:clusters.list.title', 'Clusters'),
192
+ onClick: () => onNavigate?.({ kind: 'clusters', orgId }),
193
+ },
194
+ {
195
+ key: '2',
196
+ label: cluster?.name ?? clusterId,
197
+ onClick: () => onNavigate?.({ kind: 'clusterDetails', orgId, clusterId }),
198
+ },
199
+ ],
200
+ }, [cluster?.name, clusterId, onNavigate, orgId, scope, t]);
201
+ return (_jsx(C4JobDashboardOverviewPage, { breadcrumb: breadcrumb, lastUpdatedAt: lastUpdatedAt, items: items, onTimeRangeChange: setRange, error: tableError, config: config, isIncomplete: isIncomplete, isLoadingConfig: configLoading || clusterLoading, isLoadingTable: tableLoading, translations: translations, padding: scope === 'environment' ? 'none' : 'default' }));
197
202
  });
@@ -1,7 +1,19 @@
1
1
  import type { ConsoleClusterDto } from '@camunda/ccma-shared-types';
2
2
  import type { JobsError } from '../../components/c4-job-dashboard-shared/c4-job-dashboard-shared.types.js';
3
+ import type { C4WidgetScope } from '../c4-widget-scope.types.js';
3
4
  export type TranslateFn = (key: string) => string;
4
5
  export type Tr = (key: string, fallback: string) => string;
6
+ /**
7
+ * Resolves a copy string that reads differently per scope. In `'cluster'` scope
8
+ * it resolves `key`; in `'environment'` scope it resolves
9
+ * `<key>_environment` so both wordings can be translated independently.
10
+ *
11
+ * Composes over `Tr` rather than the shared `scopedTranslate`, because `Tr`
12
+ * already applies this module's `jobDashboard:` namespace. The suffix itself
13
+ * comes from `utils/safe-translate` so the convention lives in one place.
14
+ */
15
+ export type ScopedTr = (key: string, clusterFallback: string, environmentFallback: string) => string;
16
+ export declare function makeScopedTr(tr: Tr, scope: C4WidgetScope): ScopedTr;
5
17
  export declare function makeTr(t: TranslateFn | undefined): Tr;
6
18
  export declare function safeT(t: TranslateFn | undefined, key: string, fallback: string): string;
7
19
  export declare function getRegion(cluster: ConsoleClusterDto): string;
@@ -3,6 +3,12 @@
3
3
  * under one or more contributor license agreements. Licensed under a commercial license.
4
4
  * You may not use this file except in compliance with the commercial license.
5
5
  */
6
+ import { ENVIRONMENT_KEY_SUFFIX } from '../../utils/safe-translate.js';
7
+ export function makeScopedTr(tr, scope) {
8
+ return (key, clusterFallback, environmentFallback) => scope === 'environment'
9
+ ? tr(`${key}${ENVIRONMENT_KEY_SUFFIX}`, environmentFallback)
10
+ : tr(key, clusterFallback);
11
+ }
6
12
  export function makeTr(t) {
7
13
  return (key, fallback) => {
8
14
  if (!t)
@@ -1,3 +1,4 @@
1
+ import type { C4WidgetScope } from '../c4-widget-scope.types.js';
1
2
  export type C4JobWorkerNavigateEvent = {
2
3
  kind: 'clusters';
3
4
  orgId: string;
@@ -19,10 +20,28 @@ export interface C4JobWorkerOverviewPageProps {
19
20
  orgId: string;
20
21
  clusterId: string;
21
22
  onNavigate?: (event: C4JobWorkerNavigateEvent) => void;
23
+ /**
24
+ * Surface this page is rendered on. Defaults to `'cluster'`.
25
+ *
26
+ * `'environment'` switches the copy that describes the surface to environment
27
+ * wording, and **suppresses the page's own breadcrumb and page padding** — on
28
+ * an environment page the host owns navigation and spacing, so the widget
29
+ * renders only its title and content.
30
+ */
31
+ scope?: C4WidgetScope;
22
32
  }
23
33
  export interface C4JobWorkerDetailsPageProps {
24
34
  orgId: string;
25
35
  clusterId: string;
26
36
  jobType: string;
27
37
  onNavigate?: (event: C4JobWorkerNavigateEvent) => void;
38
+ /**
39
+ * Surface this page is rendered on. Defaults to `'cluster'`.
40
+ *
41
+ * `'environment'` switches the copy that describes the surface to environment
42
+ * wording, and **suppresses the page's own breadcrumb and page padding** — on
43
+ * an environment page the host owns navigation and spacing, so the widget
44
+ * renders only its title and content.
45
+ */
46
+ scope?: C4WidgetScope;
28
47
  }
@@ -7,7 +7,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
7
7
  import { C4GroupsList, C4IdentityContextProvider } from '@camunda/c4-identity';
8
8
  import { useC3Profile } from '@camunda/camunda-composite-components';
9
9
  import { AuditLoggerService, ConsoleApiClientsService, ConsoleClusterParametersService, ConsoleValueMetricsService, EarlyAccessFeaturesService, HdpService, HttpError, OrganizationMembersService, OrgsService, UsageAlertsService, } from '@camunda/ccma-api';
10
- import { addMonthsClamped, checkVersion, diffInWholeMonths, getCurrentEnterpriseTerm, getDisplayedSalesPlan, getRevisitedSalesPlanName, OrganizationRole, peakWithinTerm, SseEntity, toUtcDayStartMs, VersionCheckOperator, } from '@camunda/ccma-shared-types';
10
+ import { addMonthsClamped, checkVersion, diffInWholeMonths, getCurrentEnterpriseTerm, getDisplayedSalesPlan, getRevisitedSalesPlanName, IDENTITY_MANAGEMENT_MIN_VERSION, NEW_CLUSTER_ROLES_MIN_VERSION, OrganizationRole, peakWithinTerm, SseEntity, toUtcDayStartMs, VersionCheckOperator, } from '@camunda/ccma-shared-types';
11
11
  import { observer } from 'mobx-react-lite';
12
12
  import { useCallback, useEffect, useMemo, useRef, useState, } from 'react';
13
13
  import { C4AiUsage } from '../../components/c4-ai-usage/c4-ai-usage.js';
@@ -1093,7 +1093,7 @@ export const C4ManagementApp = observer(({ orgId, desiredTabId, onTabChange, onN
1093
1093
  possiblyVersionOrDockerPath,
1094
1094
  trueForSnapshot: true,
1095
1095
  operator: VersionCheckOperator.GreaterThanOrEqual,
1096
- versionToCompareTo: '8.8.0-alpha5',
1096
+ versionToCompareTo: IDENTITY_MANAGEMENT_MIN_VERSION,
1097
1097
  });
1098
1098
  });
1099
1099
  setHasAtLeastOneIdentityIntegrationCluster(hasEnabledIdentityIntegration);
@@ -2873,7 +2873,7 @@ export const C4ManagementApp = observer(({ orgId, desiredTabId, onTabChange, onN
2873
2873
  possiblyVersionOrDockerPath: zeebe,
2874
2874
  trueForSnapshot: true,
2875
2875
  operator: VersionCheckOperator.GreaterThanOrEqual,
2876
- versionToCompareTo: '8.8.0-alpha4',
2876
+ versionToCompareTo: NEW_CLUSTER_ROLES_MIN_VERSION,
2877
2877
  });
2878
2878
  });
2879
2879
  })();
@@ -1,15 +1,9 @@
1
1
  import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
- /*
3
- * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
4
- * under one or more contributor license agreements. Licensed under a commercial license.
5
- * You may not use this file except in compliance with the commercial license.
6
- */
7
- import { Form, FormGroup } from '@carbon/react';
8
2
  import { useMemo, useState } from 'react';
9
3
  import { C4ClusterClientCredentialsModal } from '../../../components/c4-cluster-client-credentials/c4-cluster-client-credentials.js';
10
4
  import { C4ManagementApi } from '../../../components/c4-management-api/c4-management-api.js';
11
5
  import { C4StructuredListBody, C4StructuredListCell, C4StructuredListRow, C4StructuredListWrapper, } from '../../../components/c4-structured-list/c4-structured-list.js';
12
- import { Checkbox, Link, Modal, Stack, TextInput } from '../../../ui/index.js';
6
+ import { Checkbox, Form, FormGroup, Link, Modal, Stack, TextInput, } from '../../../ui/index.js';
13
7
  // Helper functions
14
8
  function isApiClientNameValid(name) {
15
9
  if (!name.trim()) {
@@ -5,10 +5,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
7
  import { getDisplayedSalesPlan, } from '@camunda/ccma-shared-types';
8
- import { DefinitionTooltip } from '@carbon/react';
9
8
  import { useMemo } from 'react';
10
9
  import { C4Pricing } from '../../../components/c4-pricing/c4-pricing.js';
11
- import { Link } from '../../../ui/index.js';
10
+ import { DefinitionTooltip, Link } from '../../../ui/index.js';
12
11
  function safeTranslate(t, key, fallback, options) {
13
12
  try {
14
13
  return t ? t(key, options) : fallback;
@@ -83,7 +83,13 @@ export const C4ManagementUsageTab = ({ loading, groupBy, onGroupByChange, perClu
83
83
  expansion: hasPerCluster ? (_jsx(ExpandedRow, { clusters: item.perCluster, text: text, isLicensingModel2025: isLicensingModel2025, showTenants: showTenants })) : null,
84
84
  };
85
85
  }), toolbar: toolbar, title: undefined }, `usage-history-${groupBy}`) }));
86
- return (_jsx("div", { style: {
86
+ return (
87
+ // Carbon needs overflowX:auto so the wide c3 table scrolls horizontally.
88
+ // The ds DataTable scrolls itself (overflow-x-auto internally), so the
89
+ // wrapper would be redundant — and `overflow-x: auto` promotes `overflow-y`
90
+ // to `auto` (CSS), adding a spurious vertical scrollbar (seen on the chart
91
+ // view). Keep it carbon-only.
92
+ _jsx("div", { style: {
87
93
  width: '100%',
88
94
  overflowX: designSystem === 'ds' ? 'visible' : 'auto',
89
95
  }, children: _jsxs(Stack, { gap: 8, children: [error ? (_jsx("p", { style: { color: 'var(--cds-text-error)' }, children: error })) : null, _jsx(C4UsageHistory, { title: '', description: '', descriptionTooltip: '', loading: loading, data: {
@@ -5,7 +5,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
7
  import { OrganizationMembersService } from '@camunda/ccma-api';
8
- import { checkVersion, OrganizationRole, VersionCheckOperator, } from '@camunda/ccma-shared-types';
8
+ import { checkVersion, IDENTITY_MANAGEMENT_MIN_VERSION, NEW_CLUSTER_ROLES_MIN_VERSION, OrganizationRole, VersionCheckOperator, } from '@camunda/ccma-shared-types';
9
9
  import { observer } from 'mobx-react-lite';
10
10
  import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
11
11
  import { C4InlineNotification } from '../../components/c4-inline-notification/c4-inline-notification.js';
@@ -127,7 +127,7 @@ export const C4UserDetailsPage = observer(({ orgId, userEmail, externalLinks, on
127
127
  possiblyVersionOrDockerPath: zeebe,
128
128
  trueForSnapshot: true,
129
129
  operator: VersionCheckOperator.GreaterThanOrEqual,
130
- versionToCompareTo: '8.8.0-alpha5',
130
+ versionToCompareTo: IDENTITY_MANAGEMENT_MIN_VERSION,
131
131
  });
132
132
  });
133
133
  }, [clusters]);
@@ -186,7 +186,7 @@ export const C4UserDetailsPage = observer(({ orgId, userEmail, externalLinks, on
186
186
  possiblyVersionOrDockerPath: zeebe,
187
187
  trueForSnapshot: true,
188
188
  operator: VersionCheckOperator.GreaterThanOrEqual,
189
- versionToCompareTo: '8.8.0-alpha4',
189
+ versionToCompareTo: NEW_CLUSTER_ROLES_MIN_VERSION,
190
190
  });
191
191
  });
192
192
  }, [clusters, orgId]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/ccma-saas-frontend",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "Camunda Composite Components",
5
5
  "bugs": {
6
6
  "url": "https://github.com/camunda/camunda-cloud-management-apps/issues"
@@ -46,7 +46,8 @@
46
46
  "@camunda/c4-connectors": "1.10.3",
47
47
  "@playwright/test": "1.62.0",
48
48
  "@camunda/c4-identity": "0.0.45",
49
- "@camunda/design-system": "0.46.1",
49
+ "@camunda/camunda-composite-components": "0.25.4",
50
+ "@camunda/design-system": "0.48.0",
50
51
  "@carbon/charts": "1.27.17",
51
52
  "@carbon/charts-react": "1.27.16",
52
53
  "@carbon/layout": "11.55.0",
@@ -76,8 +77,7 @@
76
77
  "react-is": "19.2.8",
77
78
  "rimraf": "6.1.3",
78
79
  "storybook": "10.5.5",
79
- "styled-components": "6.4.4",
80
- "@camunda/camunda-composite-components": "0.25.4"
80
+ "styled-components": "6.4.4"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@camunda/c4-connectors": "1.x",
@@ -96,13 +96,13 @@
96
96
  "react-markdown": "^8.0.7 || ^10.0.0"
97
97
  },
98
98
  "dependencies": {
99
+ "@camunda/ccma-api": "0.5.3",
100
+ "@camunda/ccma-shared-types": "0.7.0",
99
101
  "@pactsafe/pactsafe-react-sdk": "2.15.0",
100
102
  "cron-parser": "5.6.2",
101
103
  "mobx": "6.16.1",
102
104
  "mobx-react-lite": "4.1.1",
103
- "mobx-state-tree": "7.3.1",
104
- "@camunda/ccma-api": "0.5.2",
105
- "@camunda/ccma-shared-types": "0.6.0"
105
+ "mobx-state-tree": "7.3.1"
106
106
  },
107
107
  "scripts": {
108
108
  "clean": "rimraf lib/",