@camunda/ccma-saas-frontend 0.18.10 → 0.19.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 (259) 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-details/c4-cluster-details-app.types.d.ts +2 -3
  186. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +17 -99
  187. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +1 -1
  188. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +2 -3
  189. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +16 -58
  190. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +8 -16
  191. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +4 -5
  192. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +1 -1
  193. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +13 -51
  194. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +23 -22
  195. package/lib/esm/widgets/clusters/c4-clusters-page.js +1 -2
  196. package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +1 -1
  197. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +1 -1
  198. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +1 -1
  199. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.js +1 -1
  200. package/lib/esm/widgets/connector-management/c4-connector-management-page.js +1 -1
  201. package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +3 -4
  202. package/lib/esm/widgets/dashboard/c4-dashboard-app.types.d.ts +1 -1
  203. package/lib/esm/widgets/group-details/c4-group-details-page.js +2 -3
  204. package/lib/esm/widgets/management/c4-management-app.js +6 -9
  205. package/lib/esm/widgets/management/c4-management-app.types.d.ts +1 -1
  206. package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +1 -1
  207. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +2 -2
  208. package/lib/esm/widgets/management/tabs/c4-management-overview-tab.js +2 -2
  209. package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +1 -1
  210. package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +4 -12
  211. package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +12 -12
  212. package/lib/esm/widgets/user-details/c4-user-details-page.js +6 -6
  213. package/package.json +3 -14
  214. package/lib/esm/components/c4-sm-cluster-details/automation-components.d.ts +0 -3
  215. package/lib/esm/components/c4-sm-cluster-details/automation-components.js +0 -21
  216. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.d.ts +0 -3
  217. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.js +0 -22
  218. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.d.ts +0 -71
  219. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.js +0 -6
  220. package/lib/esm/components/c4-sm-cluster-details/custom-properties.d.ts +0 -4
  221. package/lib/esm/components/c4-sm-cluster-details/custom-properties.js +0 -25
  222. package/lib/esm/components/c4-sm-cluster-details/details.d.ts +0 -7
  223. package/lib/esm/components/c4-sm-cluster-details/details.js +0 -19
  224. package/lib/esm/components/c4-sm-cluster-details/zeebe-components.d.ts +0 -3
  225. package/lib/esm/components/c4-sm-cluster-details/zeebe-components.js +0 -44
  226. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.d.ts +0 -3
  227. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.js +0 -34
  228. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.d.ts +0 -40
  229. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.js +0 -6
  230. package/lib/esm/components/c4-sm-dashboard/cluster-tile.d.ts +0 -9
  231. package/lib/esm/components/c4-sm-dashboard/cluster-tile.js +0 -60
  232. package/lib/esm/components/c4-sm-dashboard/component-tile.d.ts +0 -14
  233. package/lib/esm/components/c4-sm-dashboard/component-tile.js +0 -46
  234. package/lib/esm/components/c4-sm-dashboard/explore.d.ts +0 -20
  235. package/lib/esm/components/c4-sm-dashboard/explore.js +0 -24
  236. package/lib/esm/components/c4-sm-dashboard/health-status.d.ts +0 -10
  237. package/lib/esm/components/c4-sm-dashboard/health-status.js +0 -60
  238. package/lib/esm/components/c4-sm-dashboard/overview.d.ts +0 -13
  239. package/lib/esm/components/c4-sm-dashboard/overview.js +0 -148
  240. package/lib/esm/components/c4-sm-dashboard/usage-tile.d.ts +0 -22
  241. package/lib/esm/components/c4-sm-dashboard/usage-tile.js +0 -36
  242. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.d.ts +0 -4
  243. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.js +0 -114
  244. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.d.ts +0 -45
  245. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.js +0 -6
  246. package/lib/esm/components/c4-telemetry-page/component-metrics.d.ts +0 -26
  247. package/lib/esm/components/c4-telemetry-page/component-metrics.js +0 -42
  248. package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.d.ts +0 -2
  249. package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.js +0 -6
  250. package/lib/esm/components/c4-telemetry-page/telemetry-for-component.d.ts +0 -50
  251. package/lib/esm/components/c4-telemetry-page/telemetry-for-component.js +0 -113
  252. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.d.ts +0 -3
  253. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.js +0 -80
  254. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.d.ts +0 -40
  255. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.js +0 -6
  256. package/lib/esm/ui/c4-definition-tooltip.d.ts +0 -15
  257. package/lib/esm/ui/c4-definition-tooltip.js +0 -43
  258. package/lib/esm/ui/switchable.d.ts +0 -14
  259. package/lib/esm/ui/switchable.js +0 -27
@@ -1,16 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
3
2
  import { DsText } from '../../ui/index.js';
4
3
  /**
5
- * A paragraph of the Scopes description in a create cluster client dialog. ds
6
- * mode uses the DS `Text` body style, like the other dialog text. Carbon mode
7
- * keeps its bare element.
4
+ * A paragraph of the Scopes description in a create cluster client dialog. It
5
+ * uses the DS `Text` body style, like the other dialog text.
8
6
  */
9
7
  export function ScopesDescriptionText(props) {
10
- const isDs = useC4DesignSystem() === 'ds';
11
- if (isDs) {
12
- return (_jsx(DsText, { as: props.as, variant: 'body-md', className: 'm-0', style: props.style, children: props.children }));
13
- }
14
- const Element = props.as;
15
- return _jsx(Element, { style: props.style, children: props.children });
8
+ return (_jsx(DsText, { as: props.as, variant: 'body-md', className: 'm-0', style: props.style, children: props.children }));
16
9
  }
@@ -1,15 +1,14 @@
1
- import { DataTableSkeleton } from '@carbon/react';
2
- import type { ComponentProps, JSX } from 'react';
3
- type C4DataTableSkeletonProps = ComponentProps<typeof DataTableSkeleton>;
1
+ import type { JSX } from 'react';
2
+ interface C4DataTableSkeletonProps {
3
+ rowCount?: number;
4
+ showHeader?: boolean;
5
+ showToolbar?: boolean;
6
+ }
4
7
  /**
5
- * Design-system-switchable table loading skeleton.
6
- *
7
- * Carbon mode renders Carbon's `DataTableSkeleton` unchanged. ds mode renders a
8
- * DS-styled skeleton matching the DS DataTable's own loading rows
8
+ * A table loading skeleton that matches the DS DataTable's own loading rows
9
9
  * (`animate-pulse rounded bg-neutral-background-strong` inside a rounded,
10
- * bordered container) — so a consumer's early-return loading state looks like
11
- * the rest of the DS tables instead of a Carbon skeleton. The Carbon-shaped
12
- * props (rowCount, etc.) are accepted so call sites stay unchanged.
10
+ * bordered container). `showHeader` and `showToolbar` are accepted so call
11
+ * sites stay unchanged. The skeleton draws neither.
13
12
  */
14
13
  export declare function C4DataTableSkeleton(props: C4DataTableSkeletonProps): JSX.Element;
15
14
  export {};
@@ -1,26 +1,11 @@
1
1
  import { jsx as _jsx } 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 { DataTableSkeleton } from '@carbon/react';
8
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
9
2
  /**
10
- * Design-system-switchable table loading skeleton.
11
- *
12
- * Carbon mode renders Carbon's `DataTableSkeleton` unchanged. ds mode renders a
13
- * DS-styled skeleton matching the DS DataTable's own loading rows
3
+ * A table loading skeleton that matches the DS DataTable's own loading rows
14
4
  * (`animate-pulse rounded bg-neutral-background-strong` inside a rounded,
15
- * bordered container) — so a consumer's early-return loading state looks like
16
- * the rest of the DS tables instead of a Carbon skeleton. The Carbon-shaped
17
- * props (rowCount, etc.) are accepted so call sites stay unchanged.
5
+ * bordered container). `showHeader` and `showToolbar` are accepted so call
6
+ * sites stay unchanged. The skeleton draws neither.
18
7
  */
19
8
  export function C4DataTableSkeleton(props) {
20
- const designSystem = useC4DesignSystem();
21
- if (designSystem !== 'ds') {
22
- return _jsx(DataTableSkeleton, { ...props });
23
- }
24
9
  const rowCount = props.rowCount ?? 5;
25
10
  return (_jsx("div", { className: 'overflow-hidden rounded-xl border bg-neutral-background-subtle', children: Array.from({ length: rowCount }).map((_, index) => (_jsx("div", { className: 'border-b px-4 py-3 last:border-0', children: _jsx("div", { className: 'h-4 w-3/4 animate-pulse rounded bg-neutral-background-strong' }) }, index))) }));
26
11
  }
@@ -1,11 +1,11 @@
1
- import { type C3DataTableProps, type RowBaseProps } from '@camunda/camunda-composite-components';
1
+ import type { C3DataTableProps, RowBaseProps } from '@camunda/camunda-composite-components';
2
2
  import { type JSX } from 'react';
3
3
  /**
4
4
  * The props of `C4DataTable`: the c3 props, plus `rowsSignature`.
5
5
  */
6
6
  export type C4DataTableProps<T extends RowBaseProps> = C3DataTableProps<T> & {
7
7
  /**
8
- * ds mode only. A string that changes whenever a row field that the
8
+ * A string that changes whenever a row field that the
9
9
  * toolbar filters read changes. Pass it when the rows are mutated in place
10
10
  * (same `data` array, same row objects), so the filtered rows follow the
11
11
  * new values. Not needed when a change gives a new `data` array.
@@ -1,13 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } 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 { C3DataTable, } from '@camunda/camunda-composite-components';
8
2
  import { Button, DataTable, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, MultiSelect, SearchInput, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '@camunda/design-system';
9
3
  import { useCallback, useEffect, useMemo, useRef, useState, } from 'react';
10
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
11
4
  /**
12
5
  * Delay (ms) between a keystroke in a search field and the row filter running.
13
6
  * Typing echoes instantly; only the (potentially O(n)) filter pass is deferred.
@@ -26,10 +19,8 @@ function useDebouncedValue(value, delayMs) {
26
19
  return debounced;
27
20
  }
28
21
  /**
29
- * Design-system-switchable data table.
30
- *
31
- * Keeps the stable C3DataTable interface ('carbon' renders unchanged c3; 'ds'
32
- * transforms onto the DS DataTable; c3 untouched). See docs/superpowers/specs/
22
+ * Data table. It keeps the stable C3DataTable props and maps them onto the DS
23
+ * DataTable. See docs/superpowers/specs/
33
24
  * 2026-06-24-c4-datatable-ds-transformation-design.md.
34
25
  *
35
26
  * Stage 1: core mapping (headers→columns, actions→rowActions, options, expansion,
@@ -196,7 +187,7 @@ function keepRow(row, items, state) {
196
187
  return true;
197
188
  });
198
189
  }
199
- function C4DataTableDs(props) {
190
+ export function C4DataTable(props) {
200
191
  const { headers, data, actions, options, isLoading, title, description, id } = props;
201
192
  // Mirror the latest headers/actions into refs so the memoised (referentially
202
193
  // stable) `columns` / `rowActions` below can delegate to the current
@@ -401,8 +392,3 @@ function C4DataTableDs(props) {
401
392
  }
402
393
  : true, size: options?.tableSize, zebra: options?.useZebraStyles, inlineActionsThreshold: options?.actionsUseOverflowMenuMinItems, rowActions: rowActions, loading: isLoading, onRowClick: (row) => row.onClick?.(), expansion: hasExpansion ? (row) => row.expansion ?? null : undefined })] }));
403
394
  }
404
- export function C4DataTable(props) {
405
- const designSystem = useC4DesignSystem();
406
- const { rowsSignature: _rowsSignature, ...c3Props } = props;
407
- return designSystem === 'ds' ? (_jsx(C4DataTableDs, { ...props })) : (_jsx(C3DataTable, { ...c3Props }));
408
- }
@@ -7,13 +7,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
7
  import { useEffect, useState } from 'react';
8
8
  import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
9
9
  import { Link, Modal, Stack, TextInput } from '../../ui/index.js';
10
- import { useRadioFamily } from '../../ui/families.js';
10
+ import { RadioButton, RadioButtonGroup } from '../../ui/families.js';
11
11
  import { safeTranslate } from '../../utils/safe-translate.js';
12
12
  import { C4AsyncModal } from '../c4-async-modal/c4-async-modal.js';
13
13
  import { C4InlineNotification } from '../c4-inline-notification/c4-inline-notification.js';
14
14
  import { C4_DELETE_ACCOUNT_REASONS, } from './c4-delete-account-modal.types.js';
15
15
  export const C4DeleteAccountModal = ({ t, open, isEnterpriseOwner, isEnterpriseAdmin, loading, onRequestClose, onRequestSubmit, preventCloseOnClickOutside, }) => {
16
- const { RadioButton, RadioButtonGroup } = useRadioFamily();
17
16
  const [reason, setReason] = useState('');
18
17
  const [explanation, setExplanation] = useState('');
19
18
  useEffect(() => {
@@ -1,23 +1,15 @@
1
1
  import { jsx as _jsx } 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 { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
8
2
  export const C4Divider = ({ width }) => {
9
- const designSystem = useC4DesignSystem();
10
3
  const divider = (_jsx("hr", { style: {
11
4
  width: width ?? '100%',
12
- borderTop: '1px solid var(--cds-border-subtle-01)',
5
+ borderTop: '1px solid var(--border)',
13
6
  borderBottom: 'none',
14
7
  borderLeft: 'none',
15
8
  borderRight: 'none',
16
- // ds-mode only. The DS stylesheet resets the margin of every element
17
- // inside `.c4-ui`, thus the rule loses the vertical margin that a
18
- // browser gives an `hr` and the sections on each side of it close up.
19
- // Carbon keeps the browser default and does not change.
20
- ...(designSystem === 'ds' ? { marginBlock: '0.5rem' } : {}),
9
+ // The DS stylesheet resets the margin of every element inside `.c4-ui`,
10
+ // thus the rule loses the vertical margin that a browser gives an `hr`
11
+ // and the sections on each side of it close up.
12
+ marginBlock: '0.5rem',
21
13
  } }));
22
14
  return divider;
23
15
  };
@@ -1,11 +1,7 @@
1
1
  import type { JSX, ReactElement } from 'react';
2
2
  /**
3
- * Design-system-switchable empty state.
4
- *
5
- * Keeps the stable C3EmptyState interface for consumers: in 'carbon' mode it
6
- * renders the unchanged c3 component; in 'ds' mode it transforms the same props
7
- * onto the DS `EmptyState` (the APIs differ, so this is a mapping, not a swap).
8
- * c3 is untouched.
3
+ * Empty state. It keeps the stable C3EmptyState props for consumers and maps
4
+ * them onto the DS `EmptyState` (the APIs differ, so this is a mapping).
9
5
  */
10
6
  type EmptyStateButton = {
11
7
  onClick: () => void;
@@ -35,19 +31,17 @@ export interface C4EmptyStateProps {
35
31
  onClick?: () => void;
36
32
  };
37
33
  /**
38
- * ds-mode only. When set, the empty state is wrapped in a card surface so it
34
+ * When set, the empty state is wrapped in a card surface so it
39
35
  * doesn't float in an otherwise empty tab/panel. Use it for empty states that
40
36
  * stand alone as tab content; leave it off for full-page/centered empty states
41
- * and for content that already provides its own surface. Ignored in carbon
42
- * mode (the c3 empty state is unchanged).
37
+ * and for content that already provides its own surface.
43
38
  */
44
39
  card?: boolean;
45
40
  /**
46
- * ds-mode only. `'start'` puts the icon, the text and the actions on the
41
+ * `'start'` puts the icon, the text and the actions on the
47
42
  * left edge, and not in the center. It also makes the vertical padding
48
43
  * smaller, thus the content starts near the top edge of its panel. Use it
49
- * when the page content around the empty state is also left-aligned. Carbon
50
- * mode ignores this prop: the c3 empty state does not change.
44
+ * when the page content around the empty state is also left-aligned.
51
45
  */
52
46
  align?: 'center' | 'start';
53
47
  }
@@ -4,9 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { C3EmptyState } from '@camunda/camunda-composite-components';
8
7
  import { Button, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, EmptyState, } from '@camunda/design-system';
9
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
10
8
  const isMenuButton = (b) => 'items' in b;
11
9
  function renderAction(action, variant) {
12
10
  if (isMenuButton(action)) {
@@ -15,13 +13,7 @@ function renderAction(action, variant) {
15
13
  return (_jsx(Button, { variant: variant, onClick: action.onClick, disabled: action.disabled, children: action.label }));
16
14
  }
17
15
  export const C4EmptyState = (props) => {
18
- const designSystem = useC4DesignSystem();
19
- // `card` and `align` are ds-only props; strip them from the carbon
20
- // passthrough so they never reach the c3 component (and the DOM).
21
- const { card, align, ...c3Props } = props;
22
- if (designSystem !== 'ds') {
23
- return _jsx(C3EmptyState, { ...c3Props });
24
- }
16
+ const { card, align } = props;
25
17
  const alignStart = align === 'start';
26
18
  const actions = [props.button, ...(props.buttons ?? [])].filter((b) => Boolean(b));
27
19
  const primaryAction = actions[0]
@@ -7,10 +7,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
7
  import { TRIAL_EXTENSION_SURVEY_QUESTIONS, } from '@camunda/ccma-shared-types';
8
8
  import { useState } from 'react';
9
9
  import { Checkbox, Loading, Modal, Stack, TextArea } from '../../ui/index.js';
10
- import { useRadioFamily } from '../../ui/families.js';
10
+ import { RadioButton, RadioButtonGroup } from '../../ui/families.js';
11
11
  import { C4InlineNotification } from '../c4-inline-notification/c4-inline-notification.js';
12
12
  export const C4ExtendTrialModal = ({ isOpen, onClose, onSubmit, isSubmitting, error, }) => {
13
- const { RadioButton, RadioButtonGroup } = useRadioFamily();
14
13
  const [answers, setAnswers] = useState({});
15
14
  const setSingleAnswer = (questionId, value) => {
16
15
  setAnswers((prev) => ({ ...prev, [questionId]: value }));
@@ -33,8 +33,8 @@ export declare function C4FeedbackForm({ onSubmit, isEnterprise, resetKey, }: C4
33
33
  /**
34
34
  * Design-system-native Help Center "Share your feedback" modal. Mirrors the c3
35
35
  * help-center feedback form (type, free text, optional screenshot, contact
36
- * consent) but is built entirely from @camunda/design-system components so ds
37
- * mode no longer renders the Carbon-styled c3 modal. Presentational: the host
36
+ * consent) but is built entirely from @camunda/design-system components, so
37
+ * the host needs no c3 modal. Presentational: the host
38
38
  * supplies `onSubmit` (which performs the actual POST).
39
39
  */
40
40
  export declare function C4FeedbackModal({ open, onOpenChange, onSubmit, isEnterprise, }: C4FeedbackModalProps): JSX.Element;
@@ -100,8 +100,8 @@ export function C4FeedbackForm({ onSubmit, isEnterprise = false, resetKey, }) {
100
100
  /**
101
101
  * Design-system-native Help Center "Share your feedback" modal. Mirrors the c3
102
102
  * help-center feedback form (type, free text, optional screenshot, contact
103
- * consent) but is built entirely from @camunda/design-system components so ds
104
- * mode no longer renders the Carbon-styled c3 modal. Presentational: the host
103
+ * consent) but is built entirely from @camunda/design-system components, so
104
+ * the host needs no c3 modal. Presentational: the host
105
105
  * supplies `onSubmit` (which performs the actual POST).
106
106
  */
107
107
  export function C4FeedbackModal({ open, onOpenChange, onSubmit, isEnterprise = false, }) {
@@ -7,12 +7,6 @@ export interface C4FileUploaderProps {
7
7
  accept: string[];
8
8
  multiple?: boolean;
9
9
  disabled?: boolean;
10
- /**
11
- * carbon-mode only: the accessible name of the button that removes a
12
- * selected file. The DS file uploader writes its own name for that button
13
- * (`Remove <file name>`) and accepts no prop for it.
14
- */
15
- removeFileLabel?: string;
16
10
  /**
17
11
  * The files that the control holds now. An empty list means that the reader
18
12
  * removed the last file, thus a caller that keeps state from a file must
@@ -21,16 +15,8 @@ export interface C4FileUploaderProps {
21
15
  onFilesChange: (files: File[]) => void;
22
16
  }
23
17
  /**
24
- * A control that takes one or more files from the local disk.
25
- *
26
- * `@camunda/design-system/carbon-compat` ships no file-uploader adapter, thus
27
- * the Carbon component stayed in ds mode and put a Carbon-blue button in the
28
- * middle of a DS dialog. carbon mode renders the same Carbon component as
29
- * before. ds mode renders the DS `FileUploader`, which also shows the selected
30
- * files and lets the reader remove one.
31
- *
32
- * In single mode both modes report a removal as an empty list. Carbon has a
33
- * second callback for it (`onDelete`), the DS component sends the new list to
34
- * the one callback.
18
+ * A control that takes one or more files from the local disk. It renders the
19
+ * DS `FileUploader`, which also shows the selected files and lets the reader
20
+ * remove one. A removal reaches `onFilesChange` as the new list.
35
21
  */
36
- export declare const C4FileUploader: ({ labelTitle, labelDescription, buttonLabel, accept, multiple, disabled, removeFileLabel, onFilesChange, }: C4FileUploaderProps) => JSX.Element;
22
+ export declare const C4FileUploader: ({ labelTitle, labelDescription, buttonLabel, accept, multiple, disabled, onFilesChange, }: C4FileUploaderProps) => JSX.Element;
@@ -5,39 +5,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
7
  import { FileUploader as DsFileUploader } from '@camunda/design-system';
8
- import { FileUploader as CarbonFileUploader } from '@carbon/react';
9
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
10
8
  /**
11
- * A control that takes one or more files from the local disk.
12
- *
13
- * `@camunda/design-system/carbon-compat` ships no file-uploader adapter, thus
14
- * the Carbon component stayed in ds mode and put a Carbon-blue button in the
15
- * middle of a DS dialog. carbon mode renders the same Carbon component as
16
- * before. ds mode renders the DS `FileUploader`, which also shows the selected
17
- * files and lets the reader remove one.
18
- *
19
- * In single mode both modes report a removal as an empty list. Carbon has a
20
- * second callback for it (`onDelete`), the DS component sends the new list to
21
- * the one callback.
9
+ * A control that takes one or more files from the local disk. It renders the
10
+ * DS `FileUploader`, which also shows the selected files and lets the reader
11
+ * remove one. A removal reaches `onFilesChange` as the new list.
22
12
  */
23
- export const C4FileUploader = ({ labelTitle, labelDescription, buttonLabel, accept, multiple = false, disabled, removeFileLabel = 'Remove file', onFilesChange, }) => {
24
- const designSystem = useC4DesignSystem();
25
- if (designSystem === 'ds') {
26
- return (_jsx(DsFileUploader, { mode: multiple ? 'multiple' : 'single', labelTitle: labelTitle, labelDescription: labelDescription, buttonLabel: buttonLabel,
27
- // Carbon takes a list of extensions, the DS component takes the value
28
- // of the `accept` attribute of the input element.
29
- accept: accept.join(','), disabled: disabled, onFilesChange: onFilesChange }));
30
- }
31
- return (_jsx(CarbonFileUploader, { labelTitle: labelTitle, labelDescription: labelDescription, buttonLabel: buttonLabel, buttonKind: 'tertiary', size: 'md', filenameStatus: 'edit', accept: accept, multiple: multiple, disabled: disabled, iconDescription: removeFileLabel, onChange: (event) => {
32
- // Carbon types the handler for its own wrapper element. The event
33
- // comes from the hidden file input, thus the cast reads the files.
34
- const files = event.target.files;
35
- if (files && files.length > 0) {
36
- onFilesChange(Array.from(files));
37
- }
38
- },
39
- // In single mode a removal leaves no file, thus the new list is empty.
40
- // Carbon keeps its file list to itself and names only the file that
41
- // went, so multiple mode cannot report the rest and stays silent.
42
- onDelete: multiple ? undefined : () => onFilesChange([]) }));
13
+ export const C4FileUploader = ({ labelTitle, labelDescription, buttonLabel, accept, multiple = false, disabled, onFilesChange, }) => {
14
+ return (_jsx(DsFileUploader, { mode: multiple ? 'multiple' : 'single', labelTitle: labelTitle, labelDescription: labelDescription, buttonLabel: buttonLabel,
15
+ // The DS component takes the value of the `accept` attribute.
16
+ accept: accept.join(','), disabled: disabled, onFilesChange: onFilesChange }));
43
17
  };
@@ -9,7 +9,7 @@ export interface C4HelpCenterLinkPlaceholders {
9
9
  * value of `useC3UserConfiguration()`, which the c3 help center substitutes
10
10
  * too. A host that gives c3 `noCloudInUrl` must remove the `cloud.` prefix
11
11
  * here as well (`camunda.io`, not `cloud.camunda.io`), or a resolved link
12
- * goes to a different host than the same link in carbon mode.
12
+ * goes to a different host than the same link in the c3 help center.
13
13
  */
14
14
  cloudAudience?: string;
15
15
  currentOrgId?: string;
@@ -27,8 +27,8 @@ export const C4HubUpgradeBanner = ({ variant = 'hub', docsUrl = HUB_DOCS_URL, })
27
27
  const [open, setOpen] = useState(true);
28
28
  if (!open)
29
29
  return undefined;
30
- return (_jsx(C4ActionableNotification, { kind: 'info', inline: true, lowContrast: true,
30
+ return (_jsx(C4ActionableNotification, { kind: 'info', lowContrast: true,
31
31
  // Carbon makes the notification an alert dialog by default. It then takes
32
32
  // focus and pulls it back when the user leaves it. A banner must not do this.
33
- role: 'status', hasFocus: false, title: COPY[variant].title, subtitle: COPY[variant].subtitle, actionButtonLabel: "Learn what's changing", onActionButtonClick: () => window.open(docsUrl, '_blank', 'noopener'), onCloseButtonClick: () => setOpen(false), style: { maxWidth: '100%' } }));
33
+ role: 'status', title: COPY[variant].title, subtitle: COPY[variant].subtitle, actionButtonLabel: "Learn what's changing", onActionButtonClick: () => window.open(docsUrl, '_blank', 'noopener'), onCloseButtonClick: () => setOpen(false), style: { maxWidth: '100%' } }));
34
34
  };
@@ -4,14 +4,14 @@ import { jsx as _jsx } from "react/jsx-runtime";
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 { Information } from '@carbon/react/icons/index.esm.js';
7
+ import { Info } from 'lucide-react';
8
8
  import { IconButton } from '../../ui/index.js';
9
9
  export const C4InfoTooltip = ({ label, align, kind, renderIcon, }) => {
10
10
  const config = {
11
11
  label,
12
12
  align: align ?? 'bottom',
13
13
  kind: kind ?? 'ghost',
14
- renderIcon: renderIcon ?? _jsx(Information, {}),
14
+ renderIcon: renderIcon ?? _jsx(Info, { size: 16, "aria-hidden": true }),
15
15
  };
16
16
  const component = (_jsx(IconButton, { label: config.label, kind: config.kind, align: config.align, style: { marginTop: '-15px' }, children: config.renderIcon }));
17
17
  return component;
@@ -1,15 +1,21 @@
1
1
  import { type AlertVariant } from '@camunda/design-system';
2
- import { InlineNotification } from '@carbon/react';
3
- import type { ComponentProps, JSX } from 'react';
4
- type C4InlineNotificationProps = ComponentProps<typeof InlineNotification>;
2
+ import type { CSSProperties, JSX, ReactNode } from 'react';
3
+ interface C4InlineNotificationProps {
4
+ kind?: string;
5
+ title?: ReactNode;
6
+ subtitle?: ReactNode;
7
+ hideCloseButton?: boolean;
8
+ onCloseButtonClick?: () => void;
9
+ /** Accepted so call sites stay unchanged. The DS `Alert` has no low-contrast style. */
10
+ lowContrast?: boolean;
11
+ style?: CSSProperties;
12
+ id?: string;
13
+ children?: ReactNode;
14
+ }
5
15
  export declare function kindToAlertVariant(kind: unknown): AlertVariant;
6
16
  /**
7
- * Design-system-switchable inline notification.
8
- *
9
- * Carbon mode renders Carbon's `InlineNotification` unchanged. ds mode renders
10
- * the DS-native `Alert` (kind→variant, title, subtitle→description,
11
- * hideCloseButton→non-dismissible). `lowContrast` has no DS analogue and is
12
- * ignored in ds mode.
17
+ * Inline notification on the DS `Alert` (kind→variant, title,
18
+ * subtitle→description, hideCloseButton→non-dismissible).
13
19
  */
14
20
  export declare function C4InlineNotification(props: C4InlineNotificationProps): JSX.Element;
15
21
  export {};
@@ -1,13 +1,11 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
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
7
  import { Alert } from '@camunda/design-system';
8
- import { InlineNotification } from '@carbon/react';
9
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
10
- // Carbon notification `kind` → DS Alert variant.
8
+ // Notification `kind` → DS Alert variant.
11
9
  const KIND_TO_VARIANT = {
12
10
  error: 'destructive',
13
11
  info: 'info',
@@ -20,21 +18,13 @@ export function kindToAlertVariant(kind) {
20
18
  return (typeof kind === 'string' && KIND_TO_VARIANT[kind]) || 'default';
21
19
  }
22
20
  /**
23
- * Design-system-switchable inline notification.
24
- *
25
- * Carbon mode renders Carbon's `InlineNotification` unchanged. ds mode renders
26
- * the DS-native `Alert` (kind→variant, title, subtitle→description,
27
- * hideCloseButton→non-dismissible). `lowContrast` has no DS analogue and is
28
- * ignored in ds mode.
21
+ * Inline notification on the DS `Alert` (kind→variant, title,
22
+ * subtitle→description, hideCloseButton→non-dismissible).
29
23
  */
30
24
  export function C4InlineNotification(props) {
31
- const designSystem = useC4DesignSystem();
32
- if (designSystem !== 'ds') {
33
- return _jsx(InlineNotification, { ...props });
34
- }
35
- const { kind, title, subtitle, hideCloseButton, onCloseButtonClick, children, } = props;
36
- return (_jsx(Alert, { variant: kindToAlertVariant(kind),
25
+ const { kind, title, subtitle, hideCloseButton, onCloseButtonClick, style, children, } = props;
26
+ return (_jsx(Alert, { style: style, variant: kindToAlertVariant(kind),
37
27
  // An empty title still renders the DS title row, which pushes the text
38
28
  // below the icon. Callers pass `title=''` for a text-only notification.
39
- title: typeof title === 'string' && title !== '' ? title : undefined, description: subtitle, dismissible: !hideCloseButton, onDismiss: onCloseButtonClick, children: children }));
29
+ title: typeof title === 'string' && title !== '' ? title : undefined, description: typeof title === 'string' || title === undefined ? (subtitle) : (_jsxs(_Fragment, { children: [_jsx("strong", { children: title }), " ", subtitle] })), dismissible: !hideCloseButton, onDismiss: onCloseButtonClick, children: children }));
40
30
  }
@@ -125,7 +125,7 @@ export const C4InviteUserToOrganizationModal = forwardRef(({ t, onInviteUser, sh
125
125
  return (_jsx(Modal, { open: isOpen, modalHeading: modalHeading, primaryButtonText: safeTranslate(t, 'invitations:invite.buttons.primary', 'Send invite'), secondaryButtonText: safeTranslate(t, 'orgmanagement:common.cancel', 'Cancel'), primaryButtonDisabled: inviteSaving, onRequestClose: close, onRequestSubmit: onSubmit, children: _jsxs(Stack, { gap: 5, children: [_jsx(TextInput, { id: 'c4-invite-email', labelText: safeTranslate(t, 'invitations:invite.form.email', 'Email address'), value: inviteEmail, onChange: (e) => {
126
126
  setInviteError(undefined);
127
127
  setInviteEmail(e.currentTarget.value);
128
- }, disabled: inviteSaving, invalid: Boolean(inviteError), invalidText: inviteError }), rolesError && (_jsx(C4InlineNotification, { lowContrast: true, kind: 'error', title: '', subtitle: rolesError })), _jsxs("fieldset", { className: 'cds--fieldset', children: [_jsx("legend", { className: 'cds--label', children: safeTranslate(t, 'invitations:invite.form.roles', 'Select role(s) to the platform') }), primaryRoles.map((role) => {
128
+ }, disabled: inviteSaving, invalid: Boolean(inviteError), invalidText: inviteError }), rolesError && (_jsx(C4InlineNotification, { lowContrast: true, kind: 'error', title: '', subtitle: rolesError })), _jsxs("fieldset", { className: 'c4-fieldset', children: [_jsx("legend", { className: 'c4-label', children: safeTranslate(t, 'invitations:invite.form.roles', 'Select role(s) to the platform') }), primaryRoles.map((role) => {
129
129
  const enriched = roleLabelDescription(t, role, {
130
130
  permissionsReworkEnabled,
131
131
  });
@@ -141,15 +141,15 @@ export const C4InviteUserToOrganizationModal = forwardRef(({ t, onInviteUser, sh
141
141
  }
142
142
  return next;
143
143
  });
144
- } }), enriched.description && (_jsx("span", { className: 'cds--label', style: { marginLeft: '27px' }, children: enriched.description }))] }, `c4-invite-role-${role}`));
144
+ } }), enriched.description && (_jsx("span", { className: 'c4-label', style: { marginLeft: '27px' }, children: enriched.description }))] }, `c4-invite-role-${role}`));
145
145
  }), _jsxs("div", { style: { margin: '16px 0' }, children: [_jsx(C4InlineNotification, { lowContrast: true, kind: 'info', hideCloseButton: true, title: '', subtitle: environmentsEnabled
146
146
  ? safeTranslate(t, 'users:changeOrgRoles.notification.titleEnvironments', 'Starting with version 8.8, user access to environments is managed independently.')
147
147
  : safeTranslate(t, 'users:changeOrgRoles.notification.title', 'Starting with version 8.8, user access to clusters is managed independently.') }), _jsxs("p", { style: { paddingTop: '4px' }, children: [_jsx(Link, { href: learnMoreUrl, target: '_blank', rel: 'noopener noreferrer', children: safeTranslate(t, 'users:changeOrgRoles.notification.learnMore', 'Learn more') }), "."] }), _jsx("p", { style: { paddingTop: '4px' }, children: environmentsEnabled
148
148
  ? safeTranslate(t, 'invitations:invite.form.environmentAuthDisabledNote', "If authorizations are disabled for the environment's cluster, the user will have full access to the environment and its applications.")
149
149
  : safeTranslate(t, 'invitations:invite.form.clusterAuthDisabledNote', 'If cluster authorizations are disabled, the user will have full access to the cluster and its components.') })] }), legacyClusterRoles.length > 0 && (_jsxs(_Fragment, { children: [_jsx("div", { style: {
150
- color: 'var(--cds-text-secondary)',
151
- letterSpacing: 'var(--cds-label-01-letter-spacing, 0.32px)',
152
- fontSize: 'var(--cds-label-01-font-size, 0.75rem)',
150
+ color: 'var(--neutral-foreground-subtle)',
151
+ letterSpacing: '0.32px',
152
+ fontSize: '0.75rem',
153
153
  marginBlockEnd: '0.5rem',
154
154
  }, children: safeTranslate(t, 'invitations:invite.form.moreRoles', 'Select additional role(s) to clusters on version 8.7 or older') }), legacyClusterRoles.map((role) => {
155
155
  const enriched = roleLabelDescription(t, role, {
@@ -167,7 +167,7 @@ export const C4InviteUserToOrganizationModal = forwardRef(({ t, onInviteUser, sh
167
167
  }
168
168
  return next;
169
169
  });
170
- } }), enriched.description && (_jsx("span", { className: 'cds--label', style: { marginLeft: '27px' }, children: enriched.description }))] }, `c4-invite-role-legacy-${role}`));
170
+ } }), enriched.description && (_jsx("span", { className: 'c4-label', style: { marginLeft: '27px' }, children: enriched.description }))] }, `c4-invite-role-legacy-${role}`));
171
171
  })] }))] })] }) }));
172
172
  });
173
173
  C4InviteUserToOrganizationModal.displayName = 'C4InviteUserToOrganizationModal';
@@ -1,9 +1,4 @@
1
1
  import type { C4JobDashboardDetailsPageProps } from './c4-job-dashboard-details-page.types.js';
2
- export interface ColorScale {
3
- Created: string;
4
- Completed: string;
5
- Failed: string;
6
- }
7
2
  export declare const CHART_HEIGHT = "20vh";
8
3
  export declare const PIE_CHART_MAX_WIDTH_PX = 400;
9
4
  export declare const C4JobDashboardDetailsPage: ({ jobType, config, isLoadingConfig, lastUpdatedAt, errorData, timeSeries, workerData, jobData, onTimeRangeChange, breadcrumb, translations, trackErrorClick, padding, }: C4JobDashboardDetailsPageProps) => import("react").JSX.Element;
@@ -45,15 +45,10 @@ const PieChartWrapper = styled(TileWithShadow) `
45
45
  export const CHART_HEIGHT = '20vh';
46
46
  export const PIE_CHART_MAX_WIDTH_PX = 400;
47
47
  export const C4JobDashboardDetailsPage = ({ jobType, config, isLoadingConfig, lastUpdatedAt, errorData, timeSeries, workerData, jobData, onTimeRangeChange, breadcrumb, translations, trackErrorClick, padding = 'default', }) => {
48
- const colorScale = {
49
- Created: '#002D9C',
50
- Completed: '#009D9A',
51
- Failed: '#DA1E28',
52
- };
53
48
  const featureIsDisabled = !isLoadingConfig && config && !config.enabled;
54
49
  if (featureIsDisabled) {
55
50
  const error = { status: 403, details: 'Feature is disabled', message: '' };
56
51
  return (_jsx(C4JobDashboardErrorHandler, { itemsLength: 0, showIcons: true, translations: translations.errorHandler, error: error }));
57
52
  }
58
- return (_jsx(C4PageLayout, { padding: padding, children: _jsxs(Stack, { gap: 4, children: [_jsx(C4Breadcrumb, { title: translations.title, elements: breadcrumb.elements }), _jsxs("p", { children: [translations.jobTypeLabel, " ", _jsx("strong", { children: jobType })] }), _jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: lastUpdatedAt }), _jsx(C4JobDashboardTimeRangeDropdown, { onChange: onTimeRangeChange, exportInterval: config?.exportInterval, disabled: isLoadingConfig, translations: translations.dropdown }), jobData.isIncomplete && (_jsx(C4InlineNotification, { style: { maxWidth: '100%' }, lowContrast: true, kind: 'warning', title: translations.dataLimitWarning.title, subtitle: translations.dataLimitWarning.description })), _jsx(ChartContainer, { children: _jsxs(ChartGrid, { children: [_jsx(TimeChartWrapper, { children: _jsx(C4JobDashboardTimeChart, { timeSeries: timeSeries.items, colorScale: colorScale, isLoading: timeSeries.isLoading, translations: translations, error: timeSeries.error }) }), _jsx(PieChartWrapper, { children: _jsx(C4JobDashboardPieChart, { jobData: jobData.data, colorScale: colorScale, isLoading: jobData.isLoading, translations: translations, error: jobData.error }) })] }) }), _jsx(TileWithShadow, { children: _jsx(C4JobDashboardWorkerTable, { workerData: workerData.items, isLoading: workerData.isLoading, translations: translations, error: workerData.error }) }), _jsx(TileWithShadow, { children: _jsx(C4JobDashboardErrorTable, { errors: errorData.items, operateBaseUrl: errorData.operateBaseUrl, isLoading: errorData.isLoading, translations: translations, error: errorData.error, trackErrorClick: trackErrorClick }) })] }) }));
53
+ return (_jsx(C4PageLayout, { padding: padding, children: _jsxs(Stack, { gap: 4, children: [_jsx(C4Breadcrumb, { title: translations.title, elements: breadcrumb.elements }), _jsxs("p", { children: [translations.jobTypeLabel, " ", _jsx("strong", { children: jobType })] }), _jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: lastUpdatedAt }), _jsx(C4JobDashboardTimeRangeDropdown, { onChange: onTimeRangeChange, exportInterval: config?.exportInterval, disabled: isLoadingConfig, translations: translations.dropdown }), jobData.isIncomplete && (_jsx(C4InlineNotification, { style: { maxWidth: '100%' }, lowContrast: true, kind: 'warning', title: translations.dataLimitWarning.title, subtitle: translations.dataLimitWarning.description })), _jsx(ChartContainer, { children: _jsxs(ChartGrid, { children: [_jsx(TimeChartWrapper, { children: _jsx(C4JobDashboardTimeChart, { timeSeries: timeSeries.items, isLoading: timeSeries.isLoading, translations: translations, error: timeSeries.error }) }), _jsx(PieChartWrapper, { children: _jsx(C4JobDashboardPieChart, { jobData: jobData.data, isLoading: jobData.isLoading, translations: translations, error: jobData.error }) })] }) }), _jsx(TileWithShadow, { children: _jsx(C4JobDashboardWorkerTable, { workerData: workerData.items, isLoading: workerData.isLoading, translations: translations, error: workerData.error }) }), _jsx(TileWithShadow, { children: _jsx(C4JobDashboardErrorTable, { errors: errorData.items, operateBaseUrl: errorData.operateBaseUrl, isLoading: errorData.isLoading, translations: translations, error: errorData.error, trackErrorClick: trackErrorClick }) })] }) }));
59
54
  };
@@ -106,8 +106,6 @@ export interface C4JobDashboardDetailsPageProps {
106
106
  * `'none'` drops it — for a widget embedded inside a host page's own tab (see
107
107
  * `C4JobWorkerDetailsPage`'s `scope: 'environment'`), where the host already
108
108
  * provides its own spacing and this padding would double up.
109
- *
110
- * ds-mode only.
111
109
  */
112
110
  padding?: 'default' | 'none';
113
111
  }
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
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 { Information } from '@carbon/react/icons/index.esm.js';
7
+ import { Info } from 'lucide-react';
8
8
  import styled from 'styled-components';
9
9
  import { Tooltip } from '../../../ui/index.js';
10
10
  import { SECTION_HEADING_STYLE } from '../../../utils/section-heading-style.js';
@@ -14,6 +14,6 @@ const Wrapper = styled.div `
14
14
  gap: 0.5rem;
15
15
  `;
16
16
  const C4JobDashboardChartHeading = ({ title, tooltipLabel, }) => {
17
- return (_jsxs(Wrapper, { children: [_jsx("h4", { style: SECTION_HEADING_STYLE, children: title }), _jsx(Tooltip, { align: 'bottom', label: tooltipLabel, children: _jsx(Information, { size: 18 }) })] }));
17
+ return (_jsxs(Wrapper, { children: [_jsx("h4", { style: SECTION_HEADING_STYLE, children: title }), _jsx(Tooltip, { align: 'bottom', label: tooltipLabel, children: _jsx(Info, { size: 18, role: 'img', "aria-label": tooltipLabel }) })] }));
18
18
  };
19
19
  export default C4JobDashboardChartHeading;
@@ -1,12 +1,10 @@
1
1
  import type { JobStatusSummary, JobsError } from '../../c4-job-dashboard-shared/c4-job-dashboard-shared.types.js';
2
- import { type ColorScale } from '../c4-job-dashboard-details-page.js';
3
2
  import type { JobDashboardDetailsTranslations } from '../c4-job-dashboard-details-page.types.js';
4
3
  export interface C4JobDashboardPieChartProps {
5
4
  jobData?: JobStatusSummary;
6
5
  error?: JobsError;
7
- colorScale: ColorScale;
8
6
  isLoading: boolean;
9
7
  translations: JobDashboardDetailsTranslations;
10
8
  }
11
- declare function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, translations, }: C4JobDashboardPieChartProps): import("react").JSX.Element;
9
+ declare function C4JobDashboardPieChart({ jobData, error, isLoading, translations, }: C4JobDashboardPieChartProps): import("react").JSX.Element;
12
10
  export default C4JobDashboardPieChart;