@camunda/ccma-saas-frontend 0.18.11 → 0.19.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.
Files changed (260) hide show
  1. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.d.ts +4 -17
  2. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.js +5 -47
  3. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.types.d.ts +14 -6
  4. package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.js +1 -2
  5. package/lib/esm/components/c4-api-client-scope-picker/c4-api-client-scope-picker.js +4 -8
  6. package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.js +3 -2
  7. package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.types.d.ts +3 -0
  8. package/lib/esm/components/c4-async-modal/c4-async-modal.js +1 -1
  9. package/lib/esm/components/c4-audit-log/c4-audit-log.js +16 -32
  10. package/lib/esm/components/c4-billing-page/c4-billing-page.js +7 -15
  11. package/lib/esm/components/c4-billing-page/custom-styles.js +9 -9
  12. package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.js +9 -3
  13. package/lib/esm/components/c4-billing-page/elements/plan-details.js +3 -3
  14. package/lib/esm/components/c4-billing-page/elements/value-metric.d.ts +1 -1
  15. package/lib/esm/components/c4-billing-page/elements/value-metric.js +18 -46
  16. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +4 -10
  17. package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.d.ts +1 -1
  18. package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.js +4 -15
  19. package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.d.ts +1 -1
  20. package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +14 -41
  21. package/lib/esm/components/c4-charts-dashboard/elements/line-chart.d.ts +1 -1
  22. package/lib/esm/components/c4-charts-dashboard/elements/line-chart.js +1 -38
  23. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +5 -5
  24. package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +8 -22
  25. package/lib/esm/components/c4-cluster-client-credentials/ds-credential-items.d.ts +1 -1
  26. package/lib/esm/components/c4-cluster-client-credentials/ds-credential-items.js +1 -1
  27. package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +10 -28
  28. package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +2 -2
  29. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.js +2 -2
  30. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.js +4 -4
  31. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +2 -2
  32. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +20 -44
  33. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +8 -16
  34. package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.js +1 -1
  35. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.js +2 -2
  36. package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +35 -33
  37. package/lib/esm/components/c4-cluster-list/c4-cluster-expiry-tag.js +3 -7
  38. package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +38 -157
  39. package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +1 -1
  40. package/lib/esm/components/c4-cluster-overview/applications.d.ts +7 -8
  41. package/lib/esm/components/c4-cluster-overview/applications.js +71 -157
  42. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.d.ts +4 -18
  43. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +11 -50
  44. package/lib/esm/components/c4-cluster-overview/cluster-details.js +19 -36
  45. package/lib/esm/components/c4-cluster-overview/cluster-load.d.ts +2 -4
  46. package/lib/esm/components/c4-cluster-overview/cluster-load.js +16 -199
  47. package/lib/esm/components/c4-cluster-overview/ds-section.d.ts +2 -2
  48. package/lib/esm/components/c4-cluster-overview/ds-section.js +2 -2
  49. package/lib/esm/components/c4-cluster-overview/ds-status-icon-text.d.ts +3 -3
  50. package/lib/esm/components/c4-cluster-overview/ds-status-icon-text.js +2 -2
  51. package/lib/esm/components/c4-cluster-settings/elements/danger-zone.js +2 -5
  52. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +1 -1
  53. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.js +5 -5
  54. package/lib/esm/components/c4-cluster-settings/elements/secrets-filter-mode-toggle.js +1 -2
  55. package/lib/esm/components/c4-cluster-settings/elements/session-settings.js +2 -2
  56. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.d.ts +2 -2
  57. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +1 -3
  58. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.d.ts +1 -1
  59. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.js +12 -77
  60. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.types.d.ts +0 -1
  61. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.js +47 -52
  62. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.types.d.ts +1 -1
  63. package/lib/esm/components/c4-console-dashboard/elements/empty-state.d.ts +11 -2
  64. package/lib/esm/components/c4-console-dashboard/elements/empty-state.js +16 -4
  65. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.js +3 -4
  66. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.d.ts +2 -4
  67. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.js +20 -58
  68. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +157 -189
  69. package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.d.ts +1 -1
  70. package/lib/esm/components/c4-create-cluster-api-client-modal/scopes-description-text.d.ts +2 -3
  71. package/lib/esm/components/c4-create-cluster-api-client-modal/scopes-description-text.js +3 -10
  72. package/lib/esm/components/c4-data-table/c4-data-table-skeleton.d.ts +9 -10
  73. package/lib/esm/components/c4-data-table/c4-data-table-skeleton.js +3 -18
  74. package/lib/esm/components/c4-data-table/c4-data-table.d.ts +2 -2
  75. package/lib/esm/components/c4-data-table/c4-data-table.js +3 -17
  76. package/lib/esm/components/c4-delete-account-modal/c4-delete-account-modal.js +1 -2
  77. package/lib/esm/components/c4-divider/c4-divider.js +5 -13
  78. package/lib/esm/components/c4-empty-state/c4-empty-state.d.ts +6 -12
  79. package/lib/esm/components/c4-empty-state/c4-empty-state.js +1 -9
  80. package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.js +1 -2
  81. package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.d.ts +2 -2
  82. package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.js +2 -2
  83. package/lib/esm/components/c4-file-uploader/c4-file-uploader.d.ts +4 -18
  84. package/lib/esm/components/c4-file-uploader/c4-file-uploader.js +7 -33
  85. package/lib/esm/components/c4-help-center/help-center-placeholders.d.ts +1 -1
  86. package/lib/esm/components/c4-hub-upgrade-banner/c4-hub-upgrade-banner.js +2 -2
  87. package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.js +2 -2
  88. package/lib/esm/components/c4-inline-notification/c4-inline-notification.d.ts +15 -9
  89. package/lib/esm/components/c4-inline-notification/c4-inline-notification.js +7 -17
  90. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +6 -6
  91. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +0 -5
  92. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +1 -6
  93. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +0 -2
  94. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.js +2 -2
  95. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.d.ts +1 -3
  96. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +4 -56
  97. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.d.ts +1 -3
  98. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +9 -88
  99. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +12 -26
  100. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +3 -4
  101. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +2 -2
  102. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +0 -1
  103. package/lib/esm/components/c4-job-dashboard-shared/c4-background-fetching-indicator.js +1 -1
  104. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.d.ts +2 -3
  105. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js +2 -3
  106. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +4 -4
  107. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-table-heading-with-tooltip.js +3 -3
  108. package/lib/esm/components/c4-job-dashboard-shared/c4-timestamp-information.js +3 -3
  109. package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.js +25 -25
  110. package/lib/esm/components/c4-management-activity/c4-management-activity.d.ts +5 -1
  111. package/lib/esm/components/c4-management-activity/c4-management-activity.js +6 -39
  112. package/lib/esm/components/c4-management-activity/c4-management-activity.types.d.ts +1 -6
  113. package/lib/esm/components/c4-management-api/c4-management-api.js +4 -6
  114. package/lib/esm/components/c4-management-settings/c4-management-settings.js +24 -34
  115. package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.js +7 -3
  116. package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.js +3 -3
  117. package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.types.d.ts +6 -3
  118. package/lib/esm/components/c4-navigation/c4-navigation.d.ts +17 -33
  119. package/lib/esm/components/c4-navigation/c4-navigation.js +12 -25
  120. package/lib/esm/components/c4-number-input/c4-number-input.js +20 -6
  121. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.js +1 -4
  122. package/lib/esm/components/c4-org-cluster-defaults/c4-org-cluster-defaults.js +2 -2
  123. package/lib/esm/components/c4-page-layout/c4-page-layout.d.ts +2 -6
  124. package/lib/esm/components/c4-page-layout/c4-page-layout.js +3 -12
  125. package/lib/esm/components/c4-page-template/c4-page-template.d.ts +0 -3
  126. package/lib/esm/components/c4-page-template/c4-page-template.js +1 -11
  127. package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.js +14 -14
  128. package/lib/esm/components/c4-pricing/c4-pricing.js +1 -1
  129. package/lib/esm/components/c4-pricing-card/c4-pricing-card.js +5 -13
  130. package/lib/esm/components/c4-search/c4-search-results.js +44 -36
  131. package/lib/esm/components/c4-search/c4-search.js +5 -7
  132. package/lib/esm/components/c4-segmented-control/c4-segmented-control.d.ts +5 -19
  133. package/lib/esm/components/c4-segmented-control/c4-segmented-control.js +6 -18
  134. package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.d.ts +5 -8
  135. package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.js +5 -19
  136. package/lib/esm/components/c4-stateful-button/c4-stateful-button.js +12 -2
  137. package/lib/esm/components/c4-stateful-button/c4-stateful-button.types.d.ts +4 -1
  138. package/lib/esm/components/c4-structured-list/c4-structured-list.d.ts +33 -18
  139. package/lib/esm/components/c4-structured-list/c4-structured-list.js +15 -60
  140. package/lib/esm/components/c4-tabs/c4-tabs.js +4 -8
  141. package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.js +3 -3
  142. package/lib/esm/components/c4-toast-notification/c4-toast-notification.d.ts +13 -9
  143. package/lib/esm/components/c4-toast-notification/c4-toast-notification.js +3 -12
  144. package/lib/esm/components/c4-toggle/c4-toggle.js +1 -3
  145. package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.js +2 -2
  146. package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.js +3 -9
  147. package/lib/esm/components/c4-usage-history/c4-usage-history.js +4 -5
  148. package/lib/esm/components/c4-usage-history/elements/usage-history-charts.js +3 -40
  149. package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +4 -5
  150. package/lib/esm/components/c4-user-details/tabs/authorized-resources.js +1 -3
  151. package/lib/esm/components/shared-charts/ds-line-chart.d.ts +4 -6
  152. package/lib/esm/components/shared-charts/ds-line-chart.js +5 -7
  153. package/lib/esm/components/shared-charts/ds-meter-chart.d.ts +3 -5
  154. package/lib/esm/components/shared-charts/ds-meter-chart.js +8 -10
  155. package/lib/esm/components/shared-charts/recharts-tokens.d.ts +6 -7
  156. package/lib/esm/components/shared-charts/recharts-tokens.js +6 -7
  157. package/lib/esm/index.css +107 -74
  158. package/lib/esm/index.d.ts +1 -9
  159. package/lib/esm/index.js +1 -5
  160. package/lib/esm/runtime/c4-console-runtime-context.d.ts +3 -10
  161. package/lib/esm/runtime/c4-console-runtime-context.js +11 -23
  162. package/lib/esm/runtime/c4-console-runtime.types.d.ts +0 -8
  163. package/lib/esm/runtime/c4-user-theme.d.ts +4 -4
  164. package/lib/esm/runtime/c4-user-theme.js +4 -4
  165. package/lib/esm/runtime/index.d.ts +1 -1
  166. package/lib/esm/runtime/index.js +1 -1
  167. package/lib/esm/runtime/nav/use-webapp-nav-data.d.ts +2 -2
  168. package/lib/esm/runtime/nav/use-webapp-nav-data.js +2 -2
  169. package/lib/esm/ui/c4-cluster-tag.d.ts +1 -1
  170. package/lib/esm/ui/c4-cluster-tag.js +1 -1
  171. package/lib/esm/ui/c4-modal-dialog.d.ts +7 -11
  172. package/lib/esm/ui/c4-modal-dialog.js +18 -9
  173. package/lib/esm/ui/c4-password-input.d.ts +4 -8
  174. package/lib/esm/ui/c4-password-input.js +4 -8
  175. package/lib/esm/ui/c4-text-area.d.ts +19 -0
  176. package/lib/esm/ui/c4-text-area.js +30 -0
  177. package/lib/esm/ui/ds-compact-code-block.d.ts +1 -1
  178. package/lib/esm/ui/ds-compact-code-block.js +1 -1
  179. package/lib/esm/ui/families.d.ts +13 -46
  180. package/lib/esm/ui/families.js +8 -51
  181. package/lib/esm/ui/index.d.ts +11 -53
  182. package/lib/esm/ui/index.js +19 -152
  183. package/lib/esm/ui/tabs.d.ts +1 -21
  184. package/lib/esm/ui/tabs.js +1 -22
  185. package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +2 -2
  186. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +2 -3
  187. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +17 -99
  188. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +1 -1
  189. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +2 -3
  190. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +16 -58
  191. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +8 -16
  192. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +8 -9
  193. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +1 -1
  194. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +13 -51
  195. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +23 -22
  196. package/lib/esm/widgets/clusters/c4-clusters-page.js +1 -2
  197. package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +1 -1
  198. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +1 -1
  199. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +1 -1
  200. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.js +1 -1
  201. package/lib/esm/widgets/connector-management/c4-connector-management-page.js +1 -1
  202. package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +3 -4
  203. package/lib/esm/widgets/dashboard/c4-dashboard-app.types.d.ts +1 -1
  204. package/lib/esm/widgets/group-details/c4-group-details-page.js +2 -3
  205. package/lib/esm/widgets/management/c4-management-app.js +7 -10
  206. package/lib/esm/widgets/management/c4-management-app.types.d.ts +1 -1
  207. package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +1 -1
  208. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +2 -2
  209. package/lib/esm/widgets/management/tabs/c4-management-overview-tab.js +2 -2
  210. package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +1 -1
  211. package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +4 -12
  212. package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +12 -12
  213. package/lib/esm/widgets/user-details/c4-user-details-page.js +6 -6
  214. package/package.json +3 -14
  215. package/lib/esm/components/c4-sm-cluster-details/automation-components.d.ts +0 -3
  216. package/lib/esm/components/c4-sm-cluster-details/automation-components.js +0 -21
  217. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.d.ts +0 -3
  218. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.js +0 -22
  219. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.d.ts +0 -71
  220. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.js +0 -6
  221. package/lib/esm/components/c4-sm-cluster-details/custom-properties.d.ts +0 -4
  222. package/lib/esm/components/c4-sm-cluster-details/custom-properties.js +0 -25
  223. package/lib/esm/components/c4-sm-cluster-details/details.d.ts +0 -7
  224. package/lib/esm/components/c4-sm-cluster-details/details.js +0 -19
  225. package/lib/esm/components/c4-sm-cluster-details/zeebe-components.d.ts +0 -3
  226. package/lib/esm/components/c4-sm-cluster-details/zeebe-components.js +0 -44
  227. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.d.ts +0 -3
  228. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.js +0 -34
  229. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.d.ts +0 -40
  230. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.js +0 -6
  231. package/lib/esm/components/c4-sm-dashboard/cluster-tile.d.ts +0 -9
  232. package/lib/esm/components/c4-sm-dashboard/cluster-tile.js +0 -60
  233. package/lib/esm/components/c4-sm-dashboard/component-tile.d.ts +0 -14
  234. package/lib/esm/components/c4-sm-dashboard/component-tile.js +0 -46
  235. package/lib/esm/components/c4-sm-dashboard/explore.d.ts +0 -20
  236. package/lib/esm/components/c4-sm-dashboard/explore.js +0 -24
  237. package/lib/esm/components/c4-sm-dashboard/health-status.d.ts +0 -10
  238. package/lib/esm/components/c4-sm-dashboard/health-status.js +0 -60
  239. package/lib/esm/components/c4-sm-dashboard/overview.d.ts +0 -13
  240. package/lib/esm/components/c4-sm-dashboard/overview.js +0 -148
  241. package/lib/esm/components/c4-sm-dashboard/usage-tile.d.ts +0 -22
  242. package/lib/esm/components/c4-sm-dashboard/usage-tile.js +0 -36
  243. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.d.ts +0 -4
  244. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.js +0 -114
  245. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.d.ts +0 -45
  246. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.js +0 -6
  247. package/lib/esm/components/c4-telemetry-page/component-metrics.d.ts +0 -26
  248. package/lib/esm/components/c4-telemetry-page/component-metrics.js +0 -42
  249. package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.d.ts +0 -2
  250. package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.js +0 -6
  251. package/lib/esm/components/c4-telemetry-page/telemetry-for-component.d.ts +0 -50
  252. package/lib/esm/components/c4-telemetry-page/telemetry-for-component.js +0 -113
  253. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.d.ts +0 -3
  254. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.js +0 -80
  255. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.d.ts +0 -40
  256. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.js +0 -6
  257. package/lib/esm/ui/c4-definition-tooltip.d.ts +0 -15
  258. package/lib/esm/ui/c4-definition-tooltip.js +0 -43
  259. package/lib/esm/ui/switchable.d.ts +0 -14
  260. package/lib/esm/ui/switchable.js +0 -27
@@ -1,13 +1,7 @@
1
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 { useC3Profile, } from '@camunda/camunda-composite-components';
8
2
  import { SaaSJobsService, } from '@camunda/ccma-api';
9
3
  import { ADMIN_APP_RENAME_MIN_VERSION, ClusterPlanTypeAvailabilityClass, ClusterPlanTypeCategory, CONNECTORS_MANAGEMENT_LINK_MIN_VERSION, checkVersion, deriveConnectivityMessage, deriveConnectivityStatus, IDENTITY_AUTHORIZATION_MIN_VERSION, IDENTITY_AUTHORIZATION_NOTICE_MAX_VERSION, INTERNAL_CONNECTORS_MANAGEMENT_MIN_VERSION, isGenerationResumable, JOB_DASHBOARD_MIN_VERSION, LINE_8_9_MIN_VERSION, LINE_8_10_MIN_VERSION, MAX_HARDWARE_PACKAGE_COUNT, SWAGGER_MIN_VERSION, sortGenerationBySemverOfZeebe, stripSecfixPostfix, TASKLIST_V2_UPGRADE_MIN_VERSION, TASKLIST_V2_UPGRADE_TARGET_MIN_VERSION, VersionCheckOperator, } from '@camunda/ccma-shared-types';
10
- import { Api_1, ApiKey, CheckmarkFilled, Renew, Security, UserAccessLocked, } from '@carbon/react/icons/index.esm.js';
4
+ import { KeyRound, RefreshCw, ShieldCheck, UserLock, Webhook, } from 'lucide-react';
11
5
  import { observer } from 'mobx-react-lite';
12
6
  import { Fragment, useCallback, useEffect, useMemo, useRef, useState, } from 'react';
13
7
  import { normalizeClusterStatus } from '../../../components/c4-cluster-overview/applications.js';
@@ -20,10 +14,10 @@ import { C4OptimizeActivationModal } from '../../../components/c4-optimize-activ
20
14
  import { addC4ConsoleNotification } from '../../../notifications/c4-console-notifications-handle.js';
21
15
  import { buildClusterSwaggerUrl } from '../../../runtime/build-cluster-swagger-url.js';
22
16
  import { useC4ConsoleData } from '../../../runtime/c4-console-data-context.js';
23
- import { useC4ConsoleRuntime, useC4DesignSystem, useC4FeatureFlag, } from '../../../runtime/c4-console-runtime-context.js';
17
+ import { useC4ConsoleRuntime, useC4FeatureFlag, } from '../../../runtime/c4-console-runtime-context.js';
24
18
  import { CLUSTER_CREATION_BLOCKED_FLAG } from '../../../runtime/cluster-creation-blocked.js';
25
- import { Checkbox, ClusterTag, Link, Modal, Stack, Tag } from '../../../ui/index.js';
26
- import { useRadioFamily } from '../../../ui/families.js';
19
+ import { Button, Checkbox, DsText, Link, Modal, Stack } from '../../../ui/index.js';
20
+ import { RadioButton, RadioButtonGroup } from '../../../ui/families.js';
27
21
  import { safeTranslate } from '../../../utils/safe-translate.js';
28
22
  import { clusterHealthOverride } from '../../cluster-health-override.js';
29
23
  import { isClusterReconciliationPaused } from '../../is-cluster-reconciliation-paused.js';
@@ -49,10 +43,7 @@ function isUuidLike(value) {
49
43
  return /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(value);
50
44
  }
51
45
  const C4ClusterDetailsOverviewTabImpl = (props) => {
52
- const { RadioButton, RadioButtonGroup } = useRadioFamily();
53
- const c3Profile = useC3Profile();
54
46
  const runtime = useC4ConsoleRuntime();
55
- const designSystem = useC4DesignSystem();
56
47
  const wakeInFlight = useRef(false);
57
48
  const { cluster, clusterError, creationParameters, clustersOfOrg, clusterPlanTypeReservations, clusterLoadLatest, clusterLoadPerDay, clusterLoad24h, clusterLoadLoading, canSeeClusterLoad, canEditCluster, canWakeCluster, canSleepCluster, canManageUsers, canViewConnectorsLink, hasIdentityIntegration, orgId, clusterId, jobDashboardEnabled, upgradeDocsUrls, statisticsConfig, apiConfig, t, onReloadCluster, onReloadClusterLoad, onNavigate, ignoreGracePeriod, upgradeGate, clusterLoadDocsUrl, restoreInProgress, overviewSection, sectionVariant, } = props;
58
49
  const data = useC4ConsoleData();
@@ -346,27 +337,27 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
346
337
  steps.push({
347
338
  title: identityWizardTitle,
348
339
  label,
349
- content: (_jsx(UpdateCard, { heading: identityWizardHeading, icon: _jsx(UserAccessLocked, { height: '80px', width: '80px', fill: 'orange' }), title: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step1.title', 'New Admin component'), description: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step1.description', 'Permissions, roles, and authorizations are now managed in the Admin cluster component instead of the Console to improve flexibility and scalability for managing roles.'), content: _jsxs(_Fragment, { children: [_jsx("p", { children: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step1.content', 'These changes aim to provide more flexibility and security for managing cluster resources.') }), _jsxs("p", { children: ["Learn more about", ' ', _jsx("a", { href: upgradeDocsUrls?.whatsNewIn88, target: '_blank', rel: 'noreferrer', children: "updating to 8.8 guide" })] })] }) })),
340
+ content: (_jsx(UpdateCard, { heading: identityWizardHeading, icon: _jsx(UserLock, { size: 80, color: 'orange', "aria-hidden": true }), title: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step1.title', 'New Admin component'), description: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step1.description', 'Permissions, roles, and authorizations are now managed in the Admin cluster component instead of the Console to improve flexibility and scalability for managing roles.'), content: _jsxs(_Fragment, { children: [_jsx("p", { children: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step1.content', 'These changes aim to provide more flexibility and security for managing cluster resources.') }), _jsxs("p", { children: ["Learn more about", ' ', _jsx(Link, { inline: true, href: upgradeDocsUrls?.whatsNewIn88, target: '_blank', rel: 'noreferrer', children: "updating to 8.8 guide" })] })] }) })),
350
341
  buttons: baseButtons({ hasPrevious: false }),
351
342
  }, {
352
343
  title: identityWizardTitle,
353
344
  label,
354
- content: (_jsx(UpdateCard, { heading: identityWizardHeading, icon: _jsx(Security, { height: '80px', width: '80px', fill: 'orange' }), title: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step2.title', 'Updated authorizations'), description: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step2.description', 'This feature provides more precise access control, ensuring users and groups only access explicitly assigned resources and permissions. Updating to 8.8 will enable authorizations.'), content: _jsxs(_Fragment, { children: [_jsx("p", { children: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step2.content', 'These changes aim to provide more flexibility and security for managing cluster resources.') }), _jsxs("p", { children: ["Learn more about", ' ', _jsx("a", { href: upgradeDocsUrls?.whatsNewIn88, target: '_blank', rel: 'noreferrer', children: "updating to 8.8 guide" })] })] }) })),
345
+ content: (_jsx(UpdateCard, { heading: identityWizardHeading, icon: _jsx(ShieldCheck, { size: 80, color: 'orange', "aria-hidden": true }), title: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step2.title', 'Updated authorizations'), description: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step2.description', 'This feature provides more precise access control, ensuring users and groups only access explicitly assigned resources and permissions. Updating to 8.8 will enable authorizations.'), content: _jsxs(_Fragment, { children: [_jsx("p", { children: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step2.content', 'These changes aim to provide more flexibility and security for managing cluster resources.') }), _jsxs("p", { children: ["Learn more about", ' ', _jsx(Link, { inline: true, href: upgradeDocsUrls?.whatsNewIn88, target: '_blank', rel: 'noreferrer', children: "updating to 8.8 guide" })] })] }) })),
355
346
  buttons: baseButtons({ hasPrevious: true }),
356
347
  }, {
357
348
  title: identityWizardTitle,
358
349
  label,
359
- content: (_jsx(UpdateCard, { heading: identityWizardHeading, icon: _jsx(ApiKey, { height: '80px', width: '80px', fill: 'orange' }), title: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step3.title', 'Client ID privileges'), description: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step3.description', 'Client IDs require additional setup in the cluster identity app for resource access to ensure secure and tailored permissions for automated workflows.'), content: _jsxs(_Fragment, { children: [_jsx("p", { children: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step3.content', 'These changes aim to provide more flexibility and security for managing cluster resources.') }), _jsxs("p", { children: ["Learn more about", ' ', _jsx("a", { href: upgradeDocsUrls?.whatsNewIn88, target: '_blank', rel: 'noreferrer', children: "updating to 8.8 guide" })] })] }) })),
350
+ content: (_jsx(UpdateCard, { heading: identityWizardHeading, icon: _jsx(KeyRound, { size: 80, color: 'orange', "aria-hidden": true }), title: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step3.title', 'Client ID privileges'), description: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step3.description', 'Client IDs require additional setup in the cluster identity app for resource access to ensure secure and tailored permissions for automated workflows.'), content: _jsxs(_Fragment, { children: [_jsx("p", { children: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step3.content', 'These changes aim to provide more flexibility and security for managing cluster resources.') }), _jsxs("p", { children: ["Learn more about", ' ', _jsx(Link, { inline: true, href: upgradeDocsUrls?.whatsNewIn88, target: '_blank', rel: 'noreferrer', children: "updating to 8.8 guide" })] })] }) })),
360
351
  buttons: baseButtons({ hasPrevious: true }),
361
352
  }, {
362
353
  title: identityWizardTitle,
363
354
  label,
364
- content: (_jsx(UpdateCard, { heading: identityWizardHeading, icon: _jsx(Renew, { height: '80px', width: '80px', fill: 'orange' }), title: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step4.title', 'Automatic mapping of existing roles'), description: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step4.description', 'Existing users, groups, roles and permissions will be carried over and automatically mapped to authorizations in the Admin cluster component, minimizing setup effort during the update. It may take a few minutes after update until entities are fully visible in the Admin UI.'), content: _jsxs(_Fragment, { children: [_jsx("p", { children: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step4.content', 'These changes aim to provide more flexibility and security for managing cluster resources.') }), _jsxs("p", { children: ["Learn more about", ' ', _jsx("a", { href: upgradeDocsUrls?.whatsNewIn88, target: '_blank', rel: 'noreferrer', children: "updating to 8.8 guide" })] })] }) })),
355
+ content: (_jsx(UpdateCard, { heading: identityWizardHeading, icon: _jsx(RefreshCw, { size: 80, color: 'orange', "aria-hidden": true }), title: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step4.title', 'Automatic mapping of existing roles'), description: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step4.description', 'Existing users, groups, roles and permissions will be carried over and automatically mapped to authorizations in the Admin cluster component, minimizing setup effort during the update. It may take a few minutes after update until entities are fully visible in the Admin UI.'), content: _jsxs(_Fragment, { children: [_jsx("p", { children: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step4.content', 'These changes aim to provide more flexibility and security for managing cluster resources.') }), _jsxs("p", { children: ["Learn more about", ' ', _jsx(Link, { inline: true, href: upgradeDocsUrls?.whatsNewIn88, target: '_blank', rel: 'noreferrer', children: "updating to 8.8 guide" })] })] }) })),
365
356
  buttons: baseButtons({ hasPrevious: true }),
366
357
  }, {
367
358
  title: identityWizardTitle,
368
359
  label,
369
- content: (_jsx(UpdateCard, { heading: identityWizardHeading, icon: _jsx(Api_1, { height: '80px', width: '80px', fill: 'orange' }), title: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step5.title', 'API & client changes to review before upgrading.'), description: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step5.description', 'Camunda 8.8 comes with a unified Orchestration Cluster API and new client libraries, while some deprecated APIs have been removed.'), content: _jsxs(_Fragment, { children: [_jsx("p", { children: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step5.content', 'Please review how this may impact your deployed workers and clients before upgrading.') }), _jsxs("p", { children: ["Learn more about that in", ' ', _jsx("a", { href: upgradeDocsUrls?.announcementsApiTools, target: '_blank', rel: 'noreferrer', children: "API & Tools Release announcements" })] })] }) })),
360
+ content: (_jsx(UpdateCard, { heading: identityWizardHeading, icon: _jsx(Webhook, { size: 80, color: 'orange', "aria-hidden": true }), title: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step5.title', 'API & client changes to review before upgrading.'), description: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step5.description', 'Camunda 8.8 comes with a unified Orchestration Cluster API and new client libraries, while some deprecated APIs have been removed.'), content: _jsxs(_Fragment, { children: [_jsx("p", { children: safeTranslate(t, 'clustermodals:upgrade.identityWizard.step5.content', 'Please review how this may impact your deployed workers and clients before upgrading.') }), _jsxs("p", { children: ["Learn more about that in", ' ', _jsx(Link, { inline: true, href: upgradeDocsUrls?.announcementsApiTools, target: '_blank', rel: 'noreferrer', children: "API & Tools Release announcements" })] })] }) })),
370
361
  buttons: baseButtons({ hasPrevious: true }),
371
362
  });
372
363
  }
@@ -1031,7 +1022,6 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1031
1022
  return null;
1032
1023
  }
1033
1024
  const CLUSTER_LOAD_DOCS_URL = clusterLoadDocsUrl;
1034
- const chartTheme = c3Profile.resolvedTheme === 'dark' ? 'g100' : 'g10';
1035
1025
  const formatDate = (date) => {
1036
1026
  if (!date)
1037
1027
  return '-';
@@ -1382,7 +1372,6 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1382
1372
  });
1383
1373
  },
1384
1374
  },
1385
- theme: chartTheme,
1386
1375
  reload: () => {
1387
1376
  void onReloadClusterLoad();
1388
1377
  },
@@ -1593,11 +1582,9 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1593
1582
  if (hardwareBusy)
1594
1583
  return;
1595
1584
  setHardwareModalOpen(false);
1596
- }, onRequestSubmit: submitHardwarePackageChange, size: 'sm', children: _jsxs(Stack, { gap: 5, children: [hardwareError ? (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title: safeTranslate(t, 'clusterdetails:overview.hardwarePackageModal.error.title', 'Error updating cluster size'), subtitle: hardwareError, hideCloseButton: true })) : null, _jsx("p", { children: safeTranslate(t, 'clusterdetails:overview.hardwarePackageModal.description', 'Increase the cluster size to enhance performance and capacity. Each size increase uses an additional reservation slot.') }), _jsxs("div", { children: [_jsx("p", { className: 'cds--label', style: { marginBottom: '0.75rem' }, children: safeTranslate(t, 'clusterdetails:overview.clusterDetails.hardwarePackages', 'Number of allocated Hardware Packages') }), _jsx("div", { style: { display: 'flex', gap: '0.75rem', flexWrap: 'wrap' }, children: Array.from({ length: MAX_HARDWARE_PACKAGE_COUNT }, (_unused, index) => index + 1).map((value) => (_jsxs(Tag, { id: `allocatedHardwarePackages-${value}`, onClick: () => {
1585
+ }, onRequestSubmit: submitHardwarePackageChange, size: 'sm', children: _jsxs(Stack, { gap: 5, children: [hardwareError ? (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title: safeTranslate(t, 'clusterdetails:overview.hardwarePackageModal.error.title', 'Error updating cluster size'), subtitle: hardwareError, hideCloseButton: true })) : null, _jsx("p", { children: safeTranslate(t, 'clusterdetails:overview.hardwarePackageModal.description', 'Increase the cluster size to enhance performance and capacity. Each size increase uses an additional reservation slot.') }), _jsxs("div", { children: [_jsx(DsText, { as: 'p', variant: 'label-md', style: { marginBottom: '0.75rem' }, children: safeTranslate(t, 'clusterdetails:overview.clusterDetails.hardwarePackages', 'Number of allocated Hardware Packages') }), _jsx("div", { style: { display: 'flex', gap: '0.75rem', flexWrap: 'wrap' }, children: Array.from({ length: MAX_HARDWARE_PACKAGE_COUNT }, (_unused, index) => index + 1).map((value) => (_jsxs(Button, { id: `allocatedHardwarePackages-${value}`, size: 'sm', kind: selectedHardwarePackages === value ? 'primary' : 'tertiary', onClick: () => {
1597
1586
  setSelectedHardwarePackages(value);
1598
- }, type: selectedHardwarePackages === value
1599
- ? 'high-contrast'
1600
- : 'outline', style: { borderWidth: '0px' }, disabled: hardwareBusy ||
1587
+ }, disabled: hardwareBusy ||
1601
1588
  value > availableHardwarePackages ||
1602
1589
  !!restoreInProgress, children: [value, "x"] }, `allocatedHardwarePackages-${value}`))) })] }), !hardwareReservationsAvailable ? (_jsx(C4InlineNotification, { kind: 'info', lowContrast: true, title: safeTranslate(t, 'clusterdetails:overview.hardwarePackageModal.unavailable.title', 'Reservation data unavailable'), subtitle: safeTranslate(t, 'clusterdetails:overview.hardwarePackageModal.unavailable.subtitle', 'Larger sizes will be available once reservation data has loaded. You can keep the current size or choose a smaller size for now.'), hideCloseButton: true })) : availableHardwarePackages < MAX_HARDWARE_PACKAGE_COUNT ? (_jsx(C4InlineNotification, { kind: 'info', lowContrast: true, title: safeTranslate(t, 'clusterdetails:overview.hardwarePackageModal.info.title', 'Limited reservations'), subtitle: safeTranslate(t, 'clusterdetails:overview.hardwarePackageModal.info.subtitle', 'Increase your reservations to unlock more sizes.'), hideCloseButton: true })) : null] }) }), _jsx(Modal, { open: tagModalOpen, modalHeading: safeTranslate(t, 'clusterdetails:tags.modal.heading', 'Assign a cluster tag'), primaryButtonText: safeTranslate(t, 'clusterdetails:tags.modal.primary', 'Confirm'), secondaryButtonText: safeTranslate(t, 'clusterdetails:tags.modal.secondary', 'Cancel'), primaryButtonDisabled: tagBusy ||
1603
1590
  selectedTag === '' ||
@@ -1606,34 +1593,9 @@ const C4ClusterDetailsOverviewTabImpl = (props) => {
1606
1593
  if (tagBusy)
1607
1594
  return;
1608
1595
  setTagModalOpen(false);
1609
- }, onRequestSubmit: submitTagChange, children: _jsxs(Stack, { gap: 5, children: [tagError ? (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title: safeTranslate(t, 'clusterdetails:tags.modal.error', 'Error updating tag'), subtitle: tagError, hideCloseButton: true })) : null, _jsx("p", { children: safeTranslate(t, 'clusterdetails:tags.modal.description', 'Assign a tag to make it easier for team members to clearly distinguish between different stages of the software development lifecycle. Tags have no impact on performance and can be changed later.') }), designSystem === 'ds' ? (_jsx(C4ClusterTagSelector, { boxes: tagSelectorBoxes, isDevCluster: false, currentStage: selectedTag === '' ? undefined : selectedTag, onChange: setSelectedTag, save: {
1596
+ }, onRequestSubmit: submitTagChange, children: _jsxs(Stack, { gap: 5, children: [tagError ? (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title: safeTranslate(t, 'clusterdetails:tags.modal.error', 'Error updating tag'), subtitle: tagError, hideCloseButton: true })) : null, _jsx("p", { children: safeTranslate(t, 'clusterdetails:tags.modal.description', 'Assign a tag to make it easier for team members to clearly distinguish between different stages of the software development lifecycle. Tags have no impact on performance and can be changed later.') }), _jsx(C4ClusterTagSelector, { boxes: tagSelectorBoxes, isDevCluster: false, currentStage: selectedTag === '' ? undefined : selectedTag, onChange: setSelectedTag, save: {
1610
1597
  allowed: !tagBusy && canEditCluster && !restoreInProgress,
1611
- } })) : (_jsx("div", { style: {
1612
- display: 'grid',
1613
- gridTemplateColumns: 'repeat(2, minmax(0, 1fr))',
1614
- gap: '1rem',
1615
- }, children: stageOptions.map((option) => {
1616
- const isSelected = selectedTag === option.value;
1617
- return (_jsx("button", { type: 'button', disabled: tagBusy || !canEditCluster || !!restoreInProgress, onClick: () => {
1618
- setSelectedTag(option.value);
1619
- }, style: {
1620
- all: 'unset',
1621
- cursor: tagBusy || !canEditCluster ? 'not-allowed' : 'pointer',
1622
- border: `1px solid ${isSelected
1623
- ? 'var(--cds-border-interactive)'
1624
- : 'var(--cds-border-subtle-01)'}`,
1625
- padding: '1rem',
1626
- position: 'relative',
1627
- }, "aria-pressed": isSelected, children: _jsxs("div", { style: { display: 'grid', gap: '0.5rem' }, children: [_jsxs("div", { style: {
1628
- display: 'flex',
1629
- justifyContent: 'space-between',
1630
- alignItems: 'flex-start',
1631
- gap: '0.5rem',
1632
- }, children: [_jsx(ClusterTag, { stage: option.value }), isSelected ? (_jsx("span", { style: {
1633
- color: 'var(--cds-icon-primary)',
1634
- display: 'flex',
1635
- }, children: _jsx(CheckmarkFilled, {}) })) : null] }), _jsx("p", { children: option.description })] }) }, option.value));
1636
- }) }))] }) }), _jsx(C4ClusterOverview, { applications: {
1598
+ } })] }) }), _jsx(C4ClusterOverview, { applications: {
1637
1599
  title: safeTranslate(t, 'clusterdetails:overview.applications.title', 'Components'),
1638
1600
  variant: sectionVariant,
1639
1601
  applications: {
@@ -1,11 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { ConsoleSecureConnectivityService } from '@camunda/ccma-api';
3
3
  import { isValidAwsArn, isValidPrivateLinkRegion, PRIVATE_LINK_REGIONS, SECURE_CONNECTIVITY_ALLOWED_ENTRIES_LIMIT, SseEntity, } from '@camunda/ccma-shared-types';
4
- import { ButtonSet, InlineLoading, ProgressIndicator, ProgressStep, } from '@carbon/react';
5
- import { Checkmark, Close } from '@carbon/react/icons/index.esm.js';
4
+ import { Stepper, StepperStep } from '@camunda/design-system';
5
+ import { Check, X } from 'lucide-react';
6
6
  import { observer } from 'mobx-react-lite';
7
7
  import { useCallback, useEffect, useRef, useState } from 'react';
8
8
  import { C4ClusterDetailsSecureConnectivity } from '../../../components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js';
9
+ import { SpinningLoader } from '../../../components/c4-cluster-overview/ds-status-icon-text.js';
9
10
  import { C4InlineNotification } from '../../../components/c4-inline-notification/c4-inline-notification.js';
10
11
  import { C4StructuredListBody, C4StructuredListCell, C4StructuredListRow, C4StructuredListWrapper, } from '../../../components/c4-structured-list/c4-structured-list.js';
11
12
  import { useC4ConsoleData } from '../../../runtime/c4-console-data-context.js';
@@ -87,17 +88,17 @@ const C4ClusterDetailsSecureConnectivityTabImpl = (props) => {
87
88
  };
88
89
  const headingCompact01Style = {
89
90
  margin: 0,
90
- fontSize: 'var(--cds-heading-compact-01-font-size)',
91
- fontWeight: 'var(--cds-heading-compact-01-font-weight)',
92
- lineHeight: 'var(--cds-heading-compact-01-line-height)',
93
- letterSpacing: 'var(--cds-heading-compact-01-letter-spacing)',
91
+ fontSize: '0.875rem',
92
+ fontWeight: '600',
93
+ lineHeight: '1.28572',
94
+ letterSpacing: '0.16px',
94
95
  };
95
96
  const renderAllowedPrincipalsEditor = (telemetryContext) => {
96
97
  const isUpdateModal = telemetryContext === 'updateModal';
97
98
  return (_jsxs(Stack, { gap: 6, children: [_jsxs(Stack, { gap: 3, children: [_jsx("h4", { style: headingCompact01Style, children: "Principals that can connect to the service" }), _jsx("p", { style: { margin: 0 }, children: "Define the principals from your AWS that you trust to connect to the service." })] }), _jsxs("div", { style: {
98
99
  display: 'flex',
99
100
  flexDirection: 'row',
100
- gap: 'var(--cds-spacing-05)',
101
+ gap: '1rem',
101
102
  alignItems: 'flex-start',
102
103
  }, children: [_jsx(TextInput, { "data-modal-primary-focus": true, id: 'private-link-allowed-principal-input', placeholder: 'Enter principal id', invalidText: showAllowedPrincipalsLimitError
103
104
  ? allowedPrincipalsLimitText
@@ -111,12 +112,12 @@ const C4ClusterDetailsSecureConnectivityTabImpl = (props) => {
111
112
  setShowNoPrincipalsError(false);
112
113
  setSecureConnectivityMutationError('');
113
114
  setAllowedPrincipalInput(e.target.value);
114
- } }), _jsx(Button, { kind: 'tertiary', renderIcon: Checkmark, style: {
115
+ } }), _jsx(Button, { kind: 'tertiary', renderIcon: Check, style: {
115
116
  paddingTop: '11px',
116
117
  height: '41px',
117
118
  minHeight: '0px',
118
119
  whiteSpace: 'nowrap',
119
- marginTop: 'var(--cds-spacing-06)',
120
+ marginTop: '1.5rem',
120
121
  }, disabled: hasReachedAllowedPrincipalsLimit ||
121
122
  !allowedPrincipalInput ||
122
123
  !validateArn(allowedPrincipalInput) ||
@@ -137,13 +138,13 @@ const C4ClusterDetailsSecureConnectivityTabImpl = (props) => {
137
138
  margin: 0,
138
139
  fontSize: '0.875rem',
139
140
  fontWeight: 600,
140
- color: 'var(--cds-text-secondary)',
141
+ color: 'var(--neutral-foreground-subtle)',
141
142
  }, children: "Principals" }), _jsx(C4StructuredListWrapper, { isCondensed: true, isFlush: true, children: _jsx(C4StructuredListBody, { children: allowedPrincipals.length > 0 ? (allowedPrincipals.map((principal) => (_jsx(C4StructuredListRow, { children: _jsx(C4StructuredListCell, { children: _jsxs("div", { style: {
142
143
  display: 'flex',
143
144
  alignItems: 'center',
144
145
  justifyContent: 'space-between',
145
- gap: 'var(--cds-spacing-05)',
146
- }, children: [_jsx("span", { style: { flexGrow: 1 }, children: principal }), _jsx(Button, { kind: 'ghost', size: 'sm', hasIconOnly: true, renderIcon: Close, iconDescription: 'Remove principal', onClick: () => {
146
+ gap: '1rem',
147
+ }, children: [_jsx("span", { style: { flexGrow: 1 }, children: principal }), _jsx(Button, { kind: 'ghost', size: 'sm', hasIconOnly: true, renderIcon: X, iconDescription: 'Remove principal', onClick: () => {
147
148
  setSecureConnectivityMutationError('');
148
149
  setAllowedPrincipals(allowedPrincipals.filter((item) => item !== principal));
149
150
  } })] }) }) }, principal)))) : (_jsx(C4StructuredListRow, { children: _jsx(C4StructuredListCell, { children: _jsx("div", { style: {
@@ -160,7 +161,7 @@ const C4ClusterDetailsSecureConnectivityTabImpl = (props) => {
160
161
  label: region,
161
162
  }));
162
163
  const selectedRegionItems = regionItems.filter((region) => allowedRegions.includes(region.id));
163
- return (_jsxs(Stack, { gap: 6, children: [_jsxs(Stack, { gap: 3, children: [_jsx("h4", { style: headingCompact01Style, children: "Supported regions for the endpoint service" }), _jsx("p", { style: { margin: 0 }, children: "Define the supported regions for endpoint connections that can connect to the service. Use of cross regions may incur extra costs." })] }), _jsx(FilterableMultiSelect, { id: 'private-link-allowed-region-input', titleText: 'Region code', placeholder: 'Select region', helperText: 'Search and select one or more AWS regions.', direction: 'top', autoAlign: true, items: regionItems, itemToString: (item) => item?.label ?? '', selectedItems: selectedRegionItems, invalidText: showAllowedRegionsLimitError
164
+ return (_jsxs(Stack, { gap: 6, children: [_jsxs(Stack, { gap: 3, children: [_jsx("h4", { style: headingCompact01Style, children: "Supported regions for the endpoint service" }), _jsx("p", { style: { margin: 0 }, children: "Define the supported regions for endpoint connections that can connect to the service. Use of cross regions may incur extra costs." })] }), _jsx(FilterableMultiSelect, { id: 'private-link-allowed-region-input', titleText: 'Region code', placeholder: 'Select region', helperText: 'Search and select one or more AWS regions.', items: regionItems, itemToString: (item) => item?.label ?? '', selectedItems: selectedRegionItems, invalidText: showAllowedRegionsLimitError
164
165
  ? allowedRegionsLimitText
165
166
  : showNoRegionsError
166
167
  ? 'At least one region must be added.'
@@ -177,13 +178,13 @@ const C4ClusterDetailsSecureConnectivityTabImpl = (props) => {
177
178
  margin: 0,
178
179
  fontSize: '0.875rem',
179
180
  fontWeight: 600,
180
- color: 'var(--cds-text-secondary)',
181
+ color: 'var(--neutral-foreground-subtle)',
181
182
  }, children: "Selected regions" }), _jsx(C4StructuredListWrapper, { isCondensed: true, isFlush: true, children: _jsx(C4StructuredListBody, { children: allowedRegions.length > 0 ? (allowedRegions.map((region) => (_jsx(C4StructuredListRow, { children: _jsx(C4StructuredListCell, { children: _jsxs("div", { style: {
182
183
  display: 'flex',
183
184
  alignItems: 'center',
184
185
  justifyContent: 'space-between',
185
- gap: 'var(--cds-spacing-05)',
186
- }, children: [_jsx("span", { style: { flexGrow: 1 }, children: region }), _jsx(Button, { kind: 'ghost', size: 'sm', hasIconOnly: true, renderIcon: Close, iconDescription: 'Remove region', onClick: () => {
186
+ gap: '1rem',
187
+ }, children: [_jsx("span", { style: { flexGrow: 1 }, children: region }), _jsx(Button, { kind: 'ghost', size: 'sm', hasIconOnly: true, renderIcon: X, iconDescription: 'Remove region', onClick: () => {
187
188
  setShowAllowedRegionsLimitReached(false);
188
189
  setSecureConnectivityMutationError('');
189
190
  setAllowedRegions(allowedRegions.filter((item) => item !== region));
@@ -351,11 +352,11 @@ const C4ClusterDetailsSecureConnectivityTabImpl = (props) => {
351
352
  (secureConnectivityEditMode === 'principals' &&
352
353
  hasTooManyAllowedPrincipals) ||
353
354
  (secureConnectivityEditMode === 'regions' && hasTooManyAllowedRegions);
354
- const emptyDescription = (_jsxs(Stack, { gap: 6, children: [_jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.description0', 'Private networking allows you to connect privately to the cluster using inbound AWS PrivateLink.') }), _jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.description1', 'With inbound PrivateLink, traffic from your AWS VPC to Camunda cluster is routed privately and never traverses the public internet. This enables job workers and inbound connectors to run inside your own network while securely accessing Camunda.') }), showActivatingTile ? (_jsx(Tile, { light: true, children: _jsxs(Stack, { gap: 2, children: [_jsx(InlineLoading, { description: safeTranslate(t, 'clusterdetails:secureConnectivity.activatingTitle', 'Activating PrivateLink endpoint service…') }), _jsxs(Stack, { gap: 1, children: [_jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.activatingText0', 'This may take a few minutes.') }), _jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.activatingText1', 'You can leave this page. We will notify you when the endpoint service is ready.') })] })] }) })) : undefined] }));
355
+ const emptyDescription = (_jsxs(Stack, { gap: 6, children: [_jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.description0', 'Private networking allows you to connect privately to the cluster using inbound AWS PrivateLink.') }), _jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.description1', 'With inbound PrivateLink, traffic from your AWS VPC to Camunda cluster is routed privately and never traverses the public internet. This enables job workers and inbound connectors to run inside your own network while securely accessing Camunda.') }), showActivatingTile ? (_jsx(Tile, { light: true, children: _jsxs(Stack, { gap: 2, children: [_jsxs("div", { className: 'flex items-center gap-2', children: [_jsx(SpinningLoader, { size: 16, "aria-hidden": true }), _jsx("span", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.activatingTitle', 'Activating PrivateLink endpoint service…') })] }), _jsxs(Stack, { gap: 1, children: [_jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.activatingText0', 'This may take a few minutes.') }), _jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.activatingText1', 'You can leave this page. We will notify you when the endpoint service is ready.') })] })] }) })) : undefined] }));
355
356
  return (_jsxs(_Fragment, { children: [showActivePrivateLinkIpAllowlistConflict && (_jsx(C4InlineNotification, { kind: 'warning', lowContrast: true, hideCloseButton: true, title: ipAllowlistConflictTitle, subtitle: ipAllowlistConflictSubtitle, style: {
356
357
  maxWidth: '100%',
357
358
  width: '100%',
358
- marginBottom: 'var(--cds-spacing-05)',
359
+ marginBottom: '1rem',
359
360
  } })), _jsx(C4ClusterDetailsSecureConnectivity, { status: secureConnectivityStatus, privateEndpoints: privateEndpoints, connectInAwsUrl: 'https://docs.aws.amazon.com/vpc/latest/privatelink/create-interface-endpoint.html', isLoading: isSecureConnectivityLoadingVisible, isDeactivating: secureConnectivityDeactivating, text: {
360
361
  title: safeTranslate(t, 'clusterdetails:secureConnectivity.title', 'Private networking'),
361
362
  activatedTitle: safeTranslate(t, 'clusterdetails:secureConnectivity.title', 'Private networking'),
@@ -431,7 +432,7 @@ const C4ClusterDetailsSecureConnectivityTabImpl = (props) => {
431
432
  }
432
433
  closeActivateModal();
433
434
  return true;
434
- }, children: [_jsx(ModalHeader, { title: safeTranslate(t, 'clusterdetails:secureConnectivity.enableButton', 'Activate PrivateLink endpoint service') }), _jsx(ModalBody, { hasForm: true, children: _jsxs(Stack, { gap: 6, children: [hasIpAllowlist && (_jsx(C4InlineNotification, { kind: 'warning', lowContrast: true, hideCloseButton: true, title: ipAllowlistConflictTitle, subtitle: ipAllowlistConflictSubtitle })), secureConnectivityMutationError && (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title: 'Activation failed', subtitle: secureConnectivityMutationError, onCloseButtonClick: () => setSecureConnectivityMutationError('') })), _jsxs(ProgressIndicator, { currentIndex: secureConnectivityModalStep, spaceEqually: true, onChange: setSecureConnectivityModalStep, children: [_jsx(ProgressStep, { label: 'Allowed principals' }, 'private-link-step-0'), _jsx(ProgressStep, { label: 'Supported regions' }, 'private-link-step-1')] }), (() => {
435
+ }, children: [_jsx(ModalHeader, { title: safeTranslate(t, 'clusterdetails:secureConnectivity.enableButton', 'Activate PrivateLink endpoint service') }), _jsx(ModalBody, { hasForm: true, children: _jsxs(Stack, { gap: 6, children: [hasIpAllowlist && (_jsx(C4InlineNotification, { kind: 'warning', lowContrast: true, hideCloseButton: true, title: ipAllowlistConflictTitle, subtitle: ipAllowlistConflictSubtitle })), secureConnectivityMutationError && (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title: 'Activation failed', subtitle: secureConnectivityMutationError, onCloseButtonClick: () => setSecureConnectivityMutationError('') })), _jsxs(Stepper, { "aria-label": 'Secure connectivity activation steps', currentStep: secureConnectivityModalStep, onStepChange: setSecureConnectivityModalStep, children: [_jsx(StepperStep, { id: 'private-link-step-0', children: "Allowed principals" }), _jsx(StepperStep, { id: 'private-link-step-1', children: "Supported regions" })] }), (() => {
435
436
  switch (secureConnectivityModalStep) {
436
437
  case 0:
437
438
  return renderAllowedPrincipalsEditor('activateModal');
@@ -440,7 +441,7 @@ const C4ClusterDetailsSecureConnectivityTabImpl = (props) => {
440
441
  default:
441
442
  return _jsx(_Fragment, {});
442
443
  }
443
- })()] }) }), _jsx(ModalFooter, { children: _jsxs(ButtonSet, { style: { width: '100%' }, children: [_jsx(Button, { kind: 'secondary', disabled: secureConnectivityMutationBusy, onClick: () => {
444
+ })()] }) }), _jsx(ModalFooter, { children: _jsxs("div", { style: { display: 'flex', width: '100%' }, children: [_jsx(Button, { kind: 'secondary', disabled: secureConnectivityMutationBusy, onClick: () => {
444
445
  if (activateModalOpenRef.current &&
445
446
  !activateModalCompletedRef.current) {
446
447
  trackEvent('secureConnectivity:activateModal:close', 'Close Secure Connectivity Activate modal', {
@@ -523,7 +524,7 @@ const C4ClusterDetailsSecureConnectivityTabImpl = (props) => {
523
524
  return true;
524
525
  }, children: [_jsx(ModalHeader, { title: updateModalTitle }), _jsx(ModalBody, { hasForm: true, children: _jsxs(Stack, { gap: 6, children: [secureConnectivityMutationError && (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, title: updateModalErrorTitle, subtitle: secureConnectivityMutationError, onCloseButtonClick: () => setSecureConnectivityMutationError('') })), secureConnectivityEditMode === 'regions'
525
526
  ? renderAllowedRegionsEditor()
526
- : renderAllowedPrincipalsEditor('updateModal')] }) }), _jsx(ModalFooter, { children: _jsxs(ButtonSet, { style: { width: '100%' }, children: [_jsx(Button, { kind: 'secondary', disabled: secureConnectivityMutationBusy, onClick: closeUpdateModal, size: 'xl', style: { flex: 1, maxInlineSize: '100%' }, children: "Cancel" }), _jsx(Button, { kind: 'primary', disabled: isUpdateModalSaveDisabled, onClick: () => {
527
+ : renderAllowedPrincipalsEditor('updateModal')] }) }), _jsx(ModalFooter, { children: _jsxs("div", { style: { display: 'flex', width: '100%' }, children: [_jsx(Button, { kind: 'secondary', disabled: secureConnectivityMutationBusy, onClick: closeUpdateModal, size: 'xl', style: { flex: 1, maxInlineSize: '100%' }, children: "Cancel" }), _jsx(Button, { kind: 'primary', disabled: isUpdateModalSaveDisabled, onClick: () => {
527
528
  if (secureConnectivityEditMode === 'principals') {
528
529
  if (hasTooManyAllowedPrincipals) {
529
530
  setSecureConnectivityMutationError(allowedPrincipalsLimitText);
@@ -550,7 +551,7 @@ const C4ClusterDetailsSecureConnectivityTabImpl = (props) => {
550
551
  allowedRegionsCount: allowedRegions.length,
551
552
  });
552
553
  void submitSecureConnectivityUpdate();
553
- }, size: 'xl', style: { flex: 1, maxInlineSize: '100%' }, children: updateModalSaveLabel })] }) })] }), _jsx(Modal, { open: secureConnectivityDeactivateOpen, danger: true, size: 'sm', modalHeading: safeTranslate(t, 'clusterdetails:secureConnectivity.deactivateModalHeading', 'Deactivate the endpoint service'), primaryButtonText: secureConnectivityDeactivating ? (_jsx(InlineLoading, {})) : (safeTranslate(t, 'clusterdetails:secureConnectivity.deactivateModalConfirm', 'Deactivate')), secondaryButtonText: safeTranslate(t, 'clusterdetails:secureConnectivity.deactivateModalCancel', 'Cancel'), primaryButtonDisabled: secureConnectivityDeactivating, onRequestClose: () => {
554
+ }, size: 'xl', style: { flex: 1, maxInlineSize: '100%' }, children: updateModalSaveLabel })] }) })] }), _jsx(Modal, { open: secureConnectivityDeactivateOpen, danger: true, size: 'sm', modalHeading: safeTranslate(t, 'clusterdetails:secureConnectivity.deactivateModalHeading', 'Deactivate the endpoint service'), primaryButtonText: secureConnectivityDeactivating ? (_jsx(SpinningLoader, { size: 16, "aria-hidden": true })) : (safeTranslate(t, 'clusterdetails:secureConnectivity.deactivateModalConfirm', 'Deactivate')), secondaryButtonText: safeTranslate(t, 'clusterdetails:secureConnectivity.deactivateModalCancel', 'Cancel'), primaryButtonDisabled: secureConnectivityDeactivating, onRequestClose: () => {
554
555
  if (!secureConnectivityDeactivating) {
555
556
  setSecureConnectivityDeactivateOpen(false);
556
557
  }
@@ -16,7 +16,7 @@ import { useC4ConsoleRuntime, useC4FeatureFlag, } from '../../runtime/c4-console
16
16
  import { CLUSTER_CREATION_BLOCKED_FLAG } from '../../runtime/cluster-creation-blocked.js';
17
17
  import { toApiConfig } from '../../runtime/to-api-config.js';
18
18
  import { Checkbox, Modal, Stack, TextInput } from '../../ui/index.js';
19
- import { useSelectFamily } from '../../ui/families.js';
19
+ import { Select, SelectItem } from '../../ui/families.js';
20
20
  import { safeTranslate } from '../../utils/safe-translate.js';
21
21
  import { clusterHealthOverride } from '../cluster-health-override.js';
22
22
  import { isClusterReconciliationPaused } from '../is-cluster-reconciliation-paused.js';
@@ -267,7 +267,6 @@ function mergePermissions(base, override) {
267
267
  return { ...base, ...override };
268
268
  }
269
269
  export const C4ClustersPage = observer(({ orgId, scope = 'cluster', gettingStartedHref, onNavigate, translations, permissionsOverride, clusterCapMessage, isClusterPaused: isClusterPausedOverride, isRunningOnUnsupportedGeneration: isRunningOnUnsupportedGenerationOverride, onRequestAssignTag, onRequestDeleteCluster, onRequestWakeCluster, onRequestFailoverCluster, onNeedsReload, }) => {
270
- const { Select, SelectItem } = useSelectFamily();
271
270
  const resolvedGettingStartedHref = useMemo(() => getC4ClustersGettingStartedHref(gettingStartedHref), [gettingStartedHref]);
272
271
  const runtime = useC4ConsoleRuntime();
273
272
  const clusterCreationBlocked = useC4FeatureFlag(CLUSTER_CREATION_BLOCKED_FLAG);
@@ -17,7 +17,7 @@ export interface C4ClustersPageTranslations {
17
17
  title: string;
18
18
  createButton: string;
19
19
  searchLabel: string;
20
- /** ds mode only. See `C4ClusterListProps['translations']['filters']`. */
20
+ /** See `C4ClusterListProps['translations']['filters']`. */
21
21
  filters?: C4ClusterListProps['translations']['filters'];
22
22
  emptyState: {
23
23
  noClusters: string;
@@ -6,7 +6,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
6
6
  */
7
7
  import { C4ExecutableDetails } from '@camunda/c4-connectors';
8
8
  import { CONNECTOR_MANAGEMENT_METRICS_MIN_VERSION } from '@camunda/ccma-shared-types';
9
- import { ErrorBoundary } from '@carbon/react';
9
+ import { ErrorBoundary } from '@camunda/design-system/carbon-compat';
10
10
  import { observer } from 'mobx-react-lite';
11
11
  import { useMemo } from 'react';
12
12
  import { C4PageTemplate } from '../../components/c4-page-template/c4-page-template.js';
@@ -6,7 +6,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
6
6
  */
7
7
  import { C4ExecutablesTable } from '@camunda/c4-connectors';
8
8
  import { CONNECTOR_MANAGEMENT_METRICS_MIN_VERSION } from '@camunda/ccma-shared-types';
9
- import { ErrorBoundary } from '@carbon/react';
9
+ import { ErrorBoundary } from '@camunda/design-system/carbon-compat';
10
10
  import { observer } from 'mobx-react-lite';
11
11
  import { useMemo } from 'react';
12
12
  import { C4PageTemplate } from '../../components/c4-page-template/c4-page-template.js';
@@ -6,7 +6,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
6
6
  */
7
7
  import { C4OutboundConnectorDetails } from '@camunda/c4-connectors';
8
8
  import { CONNECTOR_MANAGEMENT_METRICS_MIN_VERSION } from '@camunda/ccma-shared-types';
9
- import { ErrorBoundary } from '@carbon/react';
9
+ import { ErrorBoundary } from '@camunda/design-system/carbon-compat';
10
10
  import { observer } from 'mobx-react-lite';
11
11
  import { useMemo } from 'react';
12
12
  import { C4PageTemplate } from '../../components/c4-page-template/c4-page-template.js';
@@ -6,7 +6,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
6
6
  */
7
7
  import { C4ConnectorsHome, C4InboundConnectorsTable, } from '@camunda/c4-connectors';
8
8
  import { CONNECTOR_MANAGEMENT_METRICS_MIN_VERSION } from '@camunda/ccma-shared-types';
9
- import { ErrorBoundary } from '@carbon/react';
9
+ import { ErrorBoundary } from '@camunda/design-system/carbon-compat';
10
10
  import { observer } from 'mobx-react-lite';
11
11
  import { useMemo } from 'react';
12
12
  import { C4PageTemplate } from '../../components/c4-page-template/c4-page-template.js';
@@ -12,7 +12,7 @@ import { C4_ASSET_URLS } from '../../assetUrls.js';
12
12
  import { C4EmptyState } from '../../components/c4-empty-state/c4-empty-state.js';
13
13
  import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
14
14
  import { useC4ConsoleData } from '../../runtime/c4-console-data-context.js';
15
- import { useC4ConsoleRuntime, useC4DesignSystem, } from '../../runtime/c4-console-runtime-context.js';
15
+ import { useC4ConsoleRuntime } from '../../runtime/c4-console-runtime-context.js';
16
16
  import { safeTranslate } from '../../utils/safe-translate.js';
17
17
  function isRecord(value) {
18
18
  return Boolean(value) && typeof value === 'object';
@@ -21,7 +21,6 @@ export function useConnectorManagementRuntime(options) {
21
21
  const { orgId, clusterId } = options;
22
22
  const runtime = useC4ConsoleRuntime();
23
23
  const data = useC4ConsoleData();
24
- const designSystem = useC4DesignSystem();
25
24
  useEffect(() => {
26
25
  if (!orgId) {
27
26
  return;
@@ -76,13 +75,13 @@ export function useConnectorManagementRuntime(options) {
76
75
  if (!connectorsUrl || !accessToken) {
77
76
  return _jsx(_Fragment, { children: children });
78
77
  }
79
- return (_jsx(C4ConnectorsContextProvider, { organizationId: orgId, apiBaseUrl: connectorsUrl, docsUrl: C4_EXTERNAL_URLS.docs.consoleManageConnectors, mode: designSystem, camundaAuth: {
78
+ return (_jsx(C4ConnectorsContextProvider, { organizationId: orgId, apiBaseUrl: connectorsUrl, docsUrl: C4_EXTERNAL_URLS.docs.consoleManageConnectors, mode: 'ds', camundaAuth: {
80
79
  token: accessToken,
81
80
  refreshTokenMethod: () => runtime.auth.getAccessToken(),
82
81
  }, children: children }));
83
82
  };
84
83
  return ProviderComponent;
85
- }, [accessToken, connectorsUrl, orgId, runtime.auth, designSystem]);
84
+ }, [accessToken, connectorsUrl, orgId, runtime.auth]);
86
85
  const isProviderReady = Boolean(connectorsUrl) && Boolean(accessToken);
87
86
  const checkClusterVersion = useCallback((minVersion) => {
88
87
  const connectorBridgeVersion = isRecord(cluster) &&
@@ -5,7 +5,7 @@ export interface C4DashboardAppProps {
5
5
  orgId: string;
6
6
  /**
7
7
  * When true, the host owns the outer page chrome. The "Send feedback"
8
- * button is hidden, and in DS mode the widget page padding is removed.
8
+ * button is hidden, and the widget page padding is removed.
9
9
  * Dashboard section headings stay visible. Defaults to false.
10
10
  */
11
11
  embedded?: boolean;
@@ -12,7 +12,7 @@ import { C4PageTemplate } from '../../components/c4-page-template/c4-page-templa
12
12
  import { getC4GroupDetailsExternalLinks } from '../../externalUrls.const.js';
13
13
  import { useC4ConsoleAuthz } from '../../runtime/c4-console-authz.js';
14
14
  import { useC4ConsoleData } from '../../runtime/c4-console-data-context.js';
15
- import { useC4ConsoleRuntime, useC4DesignSystem, } from '../../runtime/c4-console-runtime-context.js';
15
+ import { useC4ConsoleRuntime } from '../../runtime/c4-console-runtime-context.js';
16
16
  import { toIdentityApiBaseUrl } from '../../runtime/to-identity-api-base-url.js';
17
17
  import { safeTranslate } from '../../utils/safe-translate.js';
18
18
  function isRecord(value) {
@@ -26,7 +26,6 @@ function resolveLinks(links) {
26
26
  }
27
27
  export const C4GroupDetailsPage = observer(({ orgId, groupId, externalLinks, onNavigate, environmentsEnabled = false, }) => {
28
28
  const runtime = useC4ConsoleRuntime();
29
- const designSystem = useC4DesignSystem();
30
29
  const data = useC4ConsoleData();
31
30
  const authz = useC4ConsoleAuthz({ orgId });
32
31
  const t = runtime.i18n?.t;
@@ -197,5 +196,5 @@ export const C4GroupDetailsPage = observer(({ orgId, groupId, externalLinks, onN
197
196
  return (_jsx(C4IdentityContextProvider, { camundaAuth: {
198
197
  token: identityToken,
199
198
  refreshTokenMethod: () => runtime.auth.getAccessToken(),
200
- }, apiBaseUrl: identityApiBaseUrl, organizationId: orgId, docsUrl: links.docsUrl, designSystem: designSystem, children: content }));
199
+ }, apiBaseUrl: identityApiBaseUrl, organizationId: orgId, docsUrl: links.docsUrl, designSystem: 'ds', children: content }));
201
200
  });
@@ -16,7 +16,7 @@ import { C4ExtendTrialModal } from '../../components/c4-extend-trial-modal/c4-ex
16
16
  import { C4LeaveOrganizationModal } from '../../components/c4-leave-organization-modal/c4-leave-organization-modal.js';
17
17
  import { getC4ManagementUrls } from '../../externalUrls.const.js';
18
18
  import { useC4ConsoleData } from '../../runtime/c4-console-data-context.js';
19
- import { useC4ConsoleRuntime, useC4DesignSystem, useC4FeatureFlag, } from '../../runtime/c4-console-runtime-context.js';
19
+ import { useC4ConsoleRuntime, useC4FeatureFlag, } from '../../runtime/c4-console-runtime-context.js';
20
20
  import { ORG_CLUSTER_DEFAULTS_FLAG } from '../../runtime/org-cluster-defaults.js';
21
21
  import { toApiConfig } from '../../runtime/to-api-config.js';
22
22
  import { toIdentityApiBaseUrl } from '../../runtime/to-identity-api-base-url.js';
@@ -106,10 +106,9 @@ function getNestedBoolean(record, path) {
106
106
  // Usage charts render one line series (and one legend entry) per cluster. Orgs
107
107
  // with hundreds of clusters overflow the legend and break the layout, so cap the
108
108
  // number of distinct series to the top-N clusters by total value and roll the
109
- // rest into a single aggregated "Other" line. N is 12 because Carbon Charts'
110
- // largest categorical palette is 14 distinct colours; capping at 12 leaves room
111
- // for the "Other" series and a safety margin so every series gets its own colour
112
- // (the ds-mode palette is extended to match — see `recharts-tokens.ts`).
109
+ // rest into a single aggregated "Other" line. N is 12 so that the "Other" series
110
+ // and a safety margin still fit in the chart palette, and every series gets its
111
+ // own color (see `recharts-tokens.ts`).
113
112
  const TOP_N_CHART_CLUSTERS = 12;
114
113
  // Widest tenant-usage window accounts-backend serves (it clamps `days` to 366).
115
114
  //
@@ -548,7 +547,6 @@ function themeNameToClassName(theme) {
548
547
  }
549
548
  export const C4ManagementApp = observer(({ orgId, embedded = false, environmentsEnabled = false, desiredTabId, onTabChange, onNavigate, legacyTabs, userPersonaRole, isLicensingModel2025: isLicensingModel2025Prop, permissionsReworkEnabled = false, urls, onNeedsReload, }) => {
550
549
  const runtime = useC4ConsoleRuntime();
551
- const designSystem = useC4DesignSystem();
552
550
  const hubNaming = useHubApiNaming();
553
551
  const data = useC4ConsoleData();
554
552
  const apiConfig = useMemo(() => toApiConfig(runtime), [runtime]);
@@ -1685,8 +1683,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, environments
1685
1683
  const otherLabelFor = (otherClusterCount) => safeTranslate(t, 'orgmanagement:tabs.billing.usageTracking.usageHistory.charts.otherClusters', `Other (${otherClusterCount} cluster${otherClusterCount === 1 ? '' : 's'})`, { count: otherClusterCount });
1686
1684
  // Cap each chart's series to the top-N clusters (+ an aggregated "Other"
1687
1685
  // line) so the legend stays bounded for orgs with many clusters. Applied
1688
- // at the data-mapping site so both the Carbon and ds render paths consume
1689
- // the reduced group set.
1686
+ // at the data-mapping site so every chart consumes the reduced group set.
1690
1687
  const piCapped = capChartGroupsToTopN(pi, TOP_N_CHART_CLUSTERS, otherLabelFor);
1691
1688
  const diCapped = capChartGroupsToTopN(di, TOP_N_CHART_CLUSTERS, otherLabelFor);
1692
1689
  const tuCapped = capChartGroupsToTopN(tu, TOP_N_CHART_CLUSTERS, otherLabelFor);
@@ -3146,7 +3143,7 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, environments
3146
3143
  }
3147
3144
  : {
3148
3145
  title: 'Organization group management updates starting with 8.8 clusters',
3149
- 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", ' ', introToIdentityDocsUrl ? (_jsx("a", { href: introToIdentityDocsUrl, target: '_blank', rel: 'noopener noreferrer', children: "cluster\u2019s Admin component." })) : (_jsx("span", { children: "cluster\u2019s Admin component." }))] }) })),
3146
+ 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", ' ', introToIdentityDocsUrl ? (_jsx(Link, { inline: true, href: introToIdentityDocsUrl, target: '_blank', rel: 'noopener noreferrer', children: "cluster\u2019s Admin component." })) : (_jsx("span", { children: "cluster\u2019s Admin component." }))] }) })),
3150
3147
  }),
3151
3148
  action: {
3152
3149
  label: 'Learn more',
@@ -3510,5 +3507,5 @@ export const C4ManagementApp = observer(({ orgId, embedded = false, environments
3510
3507
  return (_jsx(C4IdentityContextProvider, { camundaAuth: {
3511
3508
  token: identityToken,
3512
3509
  refreshTokenMethod: runtime.auth.getAccessToken,
3513
- }, apiBaseUrl: identityApiBaseUrl, organizationId: orgId, docsUrl: 'https://docs.camunda.io/docs', designSystem: designSystem, children: content }));
3510
+ }, apiBaseUrl: identityApiBaseUrl, organizationId: orgId, docsUrl: 'https://docs.camunda.io/docs', designSystem: 'ds', children: content }));
3514
3511
  });
@@ -45,7 +45,7 @@ export interface C4ManagementAppProps {
45
45
  orgId: string;
46
46
  /**
47
47
  * When true, the host owns the outer page chrome. This removes the widget
48
- * title in both design systems and its page padding in DS mode. Defaults to
48
+ * title and its page padding. Defaults to
49
49
  * false.
50
50
  */
51
51
  embedded?: boolean;
@@ -560,7 +560,7 @@ export const C4ManagementApiTab = (props) => {
560
560
  setApiDeleteSaving(false);
561
561
  }
562
562
  })();
563
- }, size: 'sm', id: 'c4-delete-api-client-modal', children: _jsxs(Stack, { gap: 6, children: [_jsx("p", { children: safeTranslate(t, 'apiclients:delete.description', 'This action cannot be undone.') }), apiDeleteError ? (_jsx("p", { style: { color: 'var(--cds-text-error)' }, children: apiDeleteError })) : null] }) })) : null, apiDetailsModalOpen && apiDetailsTargetUuid ? (_jsx(Modal, { passiveModal: true, open: apiDetailsModalOpen, onRequestClose: () => setApiDetailsModalOpen(false), modalLabel: safeTranslate(t, 'apiclients:details.heading', 'API client details'), modalHeading: props.apiClientsByUuid.get(apiDetailsTargetUuid)?.name ?? '', size: 'md', id: 'c4-details-api-client-modal', children: (() => {
563
+ }, size: 'sm', id: 'c4-delete-api-client-modal', children: _jsxs(Stack, { gap: 6, children: [_jsx("p", { children: safeTranslate(t, 'apiclients:delete.description', 'This action cannot be undone.') }), apiDeleteError ? (_jsx("p", { style: { color: 'var(--danger-foreground-subtle)' }, children: apiDeleteError })) : null] }) })) : null, apiDetailsModalOpen && apiDetailsTargetUuid ? (_jsx(Modal, { passiveModal: true, open: apiDetailsModalOpen, onRequestClose: () => setApiDetailsModalOpen(false), modalLabel: safeTranslate(t, 'apiclients:details.heading', 'API client details'), modalHeading: props.apiClientsByUuid.get(apiDetailsTargetUuid)?.name ?? '', size: 'md', id: 'c4-details-api-client-modal', children: (() => {
564
564
  const client = props.apiClientsByUuid.get(apiDetailsTargetUuid);
565
565
  if (!client) {
566
566
  return null;
@@ -229,7 +229,7 @@ export const C4ManagementBillingTab = (props) => {
229
229
  };
230
230
  }),
231
231
  },
232
- }, isEnterpriseOrg: true }), props.billingError ? (_jsx("p", { style: { color: 'var(--cds-text-error)' }, children: props.billingError })) : null, usageAlertUpdateModalOpen && usageAlertUpdateTarget ? (_jsx(Modal, { open: usageAlertUpdateModalOpen, modalHeading: (() => {
232
+ }, isEnterpriseOrg: true }), props.billingError ? (_jsx("p", { style: { color: 'var(--danger-foreground-subtle)' }, children: props.billingError })) : null, usageAlertUpdateModalOpen && usageAlertUpdateTarget ? (_jsx(Modal, { open: usageAlertUpdateModalOpen, modalHeading: (() => {
233
233
  switch (usageAlertUpdateTarget.metric) {
234
234
  case UsageAlertMetric.DECISION_INSTANCES:
235
235
  return safeTranslate(props.t, 'usagealerts:update.heading.di', 'Update Decision Instances alert');
@@ -357,5 +357,5 @@ export const C4ManagementBillingTab = (props) => {
357
357
  setUsageAlertUpdateError(undefined);
358
358
  },
359
359
  },
360
- } }), usageAlertUpdateError ? (_jsx("p", { style: { color: 'var(--cds-text-error)' }, children: usageAlertUpdateError })) : null] }) })) : null] }));
360
+ } }), usageAlertUpdateError ? (_jsx("p", { style: { color: 'var(--danger-foreground-subtle)' }, children: usageAlertUpdateError })) : null] }) })) : null] }));
361
361
  };
@@ -4,7 +4,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
- import { Edit } from '@carbon/react/icons/index.esm.js';
7
+ import { Pencil } from 'lucide-react';
8
8
  import { useMemo, useState } from 'react';
9
9
  import { C4ManagementOverview } from '../../../components/c4-management-overview/c4-management-overview.js';
10
10
  import { Modal, Stack, TextInput } from '../../../ui/index.js';
@@ -22,7 +22,7 @@ export const C4ManagementOverviewTab = ({ orgId, orgName, salesPlan, ownerName,
22
22
  value: orgName,
23
23
  action: mayRename
24
24
  ? {
25
- renderIcon: Edit,
25
+ renderIcon: Pencil,
26
26
  iconDescription: safeTranslate(t, 'orgmanagement:tabs.overview.actions.rename', 'Rename'),
27
27
  kind: 'primary',
28
28
  action: () => {