@camunda/ccma-saas-frontend 0.16.0 → 0.17.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.
Files changed (99) hide show
  1. package/lib/esm/components/c4-audit-log/c4-audit-log.js +53 -42
  2. package/lib/esm/components/c4-billing-page/c4-billing-page.js +5 -1
  3. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +8 -3
  4. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.d.ts +10 -0
  5. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +9 -1
  6. package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +13 -5
  7. package/lib/esm/components/c4-cluster-client-credentials/ds-credential-items.d.ts +14 -0
  8. package/lib/esm/components/c4-cluster-client-credentials/ds-credential-items.js +18 -0
  9. package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +18 -7
  10. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.js +2 -2
  11. package/lib/esm/components/c4-cluster-overview/applications.d.ts +16 -0
  12. package/lib/esm/components/c4-cluster-overview/applications.js +39 -1
  13. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.d.ts +5 -2
  14. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +8 -5
  15. package/lib/esm/components/c4-cluster-overview/cluster-details.js +10 -2
  16. package/lib/esm/components/c4-cluster-overview/cluster-load.d.ts +4 -3
  17. package/lib/esm/components/c4-cluster-overview/cluster-load.js +16 -13
  18. package/lib/esm/components/c4-cluster-overview/ds-section.d.ts +23 -0
  19. package/lib/esm/components/c4-cluster-overview/ds-section.js +19 -0
  20. package/lib/esm/components/c4-cluster-overview/ds-status-icon-text.js +1 -1
  21. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +7 -1
  22. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.d.ts +6 -1
  23. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +5 -2
  24. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.js +1 -3
  25. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.js +40 -15
  26. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +24 -4
  27. package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.d.ts +12 -0
  28. package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.js +2 -1
  29. package/lib/esm/components/c4-create-cluster-api-client-modal/scopes-description-text.d.ts +11 -0
  30. package/lib/esm/components/c4-create-cluster-api-client-modal/scopes-description-text.js +16 -0
  31. package/lib/esm/components/c4-inline-notification/c4-inline-notification.js +4 -1
  32. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +6 -2
  33. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.types.d.ts +6 -0
  34. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.js +1 -1
  35. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +1 -0
  36. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +1 -1
  37. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +13 -6
  38. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +24 -5
  39. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +4 -4
  40. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.js +1 -1
  41. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.d.ts +1 -1
  42. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js +3 -1
  43. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.d.ts +7 -1
  44. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +8 -4
  45. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.js +6 -1
  46. package/lib/esm/components/c4-management-settings/c4-management-settings.js +58 -42
  47. package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.js +4 -0
  48. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.js +11 -10
  49. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.types.d.ts +4 -0
  50. package/lib/esm/components/c4-pricing-card/c4-pricing-card.js +9 -1
  51. package/lib/esm/components/c4-tabs/c4-tabs.js +6 -1
  52. package/lib/esm/externalUrls.const.d.ts +1 -1
  53. package/lib/esm/externalUrls.const.js +1 -2
  54. package/lib/esm/i18n/en/modals/billing.json +2 -2
  55. package/lib/esm/i18n/en/modals/clusterclients.json +6 -6
  56. package/lib/esm/i18n/en/modals/invitations.json +1 -0
  57. package/lib/esm/i18n/en/modals/users.json +1 -0
  58. package/lib/esm/i18n/en/pages/clusterdetails.json +4 -1
  59. package/lib/esm/i18n/en/pages/createcluster.json +5 -0
  60. package/lib/esm/i18n/en/pages/dashboard.json +7 -5
  61. package/lib/esm/i18n/en/pages/orgmanagement.json +4 -0
  62. package/lib/esm/ui/ds-compact-code-block.d.ts +15 -0
  63. package/lib/esm/ui/ds-compact-code-block.js +33 -0
  64. package/lib/esm/ui/index.d.ts +13 -3
  65. package/lib/esm/ui/index.js +6 -0
  66. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +21 -3
  67. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +4 -2
  68. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.d.ts +1 -1
  69. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +29 -9
  70. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +5 -0
  71. package/lib/esm/widgets/cluster-details/cluster-region-code.d.ts +8 -0
  72. package/lib/esm/widgets/cluster-details/cluster-region-code.js +17 -0
  73. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +44 -6
  74. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +6 -4
  75. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.d.ts +7 -0
  76. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +20 -8
  77. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +11 -10
  78. package/lib/esm/widgets/cluster-details/upgrade-gate.d.ts +23 -0
  79. package/lib/esm/widgets/cluster-details/upgrade-gate.js +36 -0
  80. package/lib/esm/widgets/cluster-details/use-upgrade-gate.d.ts +24 -0
  81. package/lib/esm/widgets/cluster-details/use-upgrade-gate.js +73 -0
  82. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.d.ts +3 -0
  83. package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +38 -1
  84. package/lib/esm/widgets/dashboard/c4-dashboard-app.js +7 -5
  85. package/lib/esm/widgets/group-details/c4-group-details-page.d.ts +1 -1
  86. package/lib/esm/widgets/group-details/c4-group-details-page.js +10 -3
  87. package/lib/esm/widgets/group-details/c4-group-details-page.types.d.ts +5 -0
  88. package/lib/esm/widgets/management/c4-management-app.d.ts +1 -1
  89. package/lib/esm/widgets/management/c4-management-app.js +16 -4
  90. package/lib/esm/widgets/management/c4-management-app.types.d.ts +6 -0
  91. package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +1 -1
  92. package/lib/esm/widgets/management/tabs/c4-management-users-tab.d.ts +3 -1
  93. package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +2 -2
  94. package/lib/esm/widgets/user-details/c4-user-details-page.d.ts +1 -1
  95. package/lib/esm/widgets/user-details/c4-user-details-page.js +5 -2
  96. package/lib/esm/widgets/user-details/c4-user-details-page.types.d.ts +5 -0
  97. package/package.json +9 -9
  98. package/lib/esm/widgets/management/tabs/c4-management-groups-tab.d.ts +0 -13
  99. package/lib/esm/widgets/management/tabs/c4-management-groups-tab.js +0 -26
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/ccma-saas-frontend",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "Camunda Composite Components",
5
5
  "bugs": {
6
6
  "url": "https://github.com/camunda/camunda-cloud-management-apps/issues"
@@ -47,7 +47,7 @@
47
47
  "@playwright/test": "1.63.0",
48
48
  "@camunda/c4-identity": "0.0.45",
49
49
  "@camunda/camunda-composite-components": "0.25.4",
50
- "@camunda/design-system": "0.66.0",
50
+ "@camunda/design-system": "0.68.1",
51
51
  "@carbon/charts": "1.27.20",
52
52
  "@carbon/charts-react": "1.27.20",
53
53
  "@carbon/layout": "11.60.0",
@@ -57,7 +57,7 @@
57
57
  "@carbon/themes": "^11.74.0",
58
58
  "@carbon/type": "11.68.0",
59
59
  "recharts": "3.10.1",
60
- "@chromatic-com/storybook": "5.3.1",
60
+ "@chromatic-com/storybook": "5.4.0",
61
61
  "@mdx-js/react": "3.1.1",
62
62
  "@storybook/addon-docs": "10.6.1",
63
63
  "@storybook/addon-links": "10.6.1",
@@ -71,10 +71,10 @@
71
71
  "eslint-plugin-react-hooks": "7.1.1",
72
72
  "eslint-plugin-storybook": "10.6.1",
73
73
  "jsdom": "30.1.1",
74
- "lucide-react": "1.49.0",
75
- "react": "19.2.8",
76
- "react-dom": "19.2.8",
77
- "react-is": "19.2.8",
74
+ "lucide-react": "1.52.0",
75
+ "react": "19.3.0",
76
+ "react-dom": "19.3.0",
77
+ "react-is": "19.3.0",
78
78
  "rimraf": "6.1.3",
79
79
  "storybook": "10.6.1",
80
80
  "styled-components": "6.5.3"
@@ -96,8 +96,8 @@
96
96
  "react-markdown": "^8.0.7 || ^10.0.0"
97
97
  },
98
98
  "dependencies": {
99
- "@camunda/ccma-api": "4.0.0",
100
- "@camunda/ccma-shared-types": "6.0.0",
99
+ "@camunda/ccma-api": "5.0.0",
100
+ "@camunda/ccma-shared-types": "7.0.0",
101
101
  "@pactsafe/pactsafe-react-sdk": "2.15.0",
102
102
  "cron-parser": "5.10.1",
103
103
  "mobx": "6.16.1",
@@ -1,13 +0,0 @@
1
- import type { JSX } from 'react';
2
- export interface C4ManagementGroupsTabProps {
3
- orgId: string;
4
- groupsPermissions: {
5
- maySee: boolean;
6
- mayAssign: boolean;
7
- hasAtLeastOneIdentityIntegrationCluster: boolean;
8
- };
9
- introToIdentityDocsUrl?: string;
10
- identityAuthorizationsDocsUrl?: string;
11
- onGroupClick: (groupId: string) => void;
12
- }
13
- export declare const C4ManagementGroupsTab: (props: C4ManagementGroupsTabProps) => JSX.Element;
@@ -1,26 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, 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 { C4GroupsList } from '@camunda/c4-identity';
8
- import { Stack } from '../../../ui/index.js';
9
- export const C4ManagementGroupsTab = (props) => {
10
- return (_jsx(Stack, { gap: 3, children: _jsx(C4GroupsList, { docsPath: '/next/components/console/manage-organization/manage-user-groups/', onGroupClick: (groupId) => {
11
- props.onGroupClick(groupId);
12
- }, permissions: props.groupsPermissions, notification: {
13
- visible: true,
14
- title: 'Organization group management updates starting with 8.8 clusters',
15
- description: (_jsx(_Fragment, { children: _jsxs("p", { children: ["Starting with version 8.8, groups created in Console are no longer recommended for use; instead, user groups and authorizations must be managed in the", ' ', props.introToIdentityDocsUrl ? (_jsx("a", { href: props.introToIdentityDocsUrl, target: '_blank', rel: 'noopener noreferrer', children: "cluster's Admin component." })) : (_jsx("span", { children: "cluster's Admin component." }))] }) })),
16
- action: {
17
- label: 'Learn more',
18
- onClick: () => {
19
- if (!props.identityAuthorizationsDocsUrl) {
20
- return;
21
- }
22
- window.open(props.identityAuthorizationsDocsUrl, '_blank', 'noopener,noreferrer');
23
- },
24
- },
25
- } }) }));
26
- };