@camunda/ccma-saas-frontend 0.18.11 → 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
@@ -4,16 +4,13 @@ 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 { DonutChart } from '@carbon/charts-react';
8
7
  import { Cell, Pie, PieChart, ResponsiveContainer, Tooltip } from 'recharts';
9
- import { useC4DesignSystem } from '../../../runtime/c4-console-runtime-context.js';
10
8
  import { JOB_STATUS_DS_COLORS } from '../../c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js';
11
9
  import { C4JobDashboardErrorHandler } from '../../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
12
10
  import { DS_CHART_TOOLTIP_PROPS } from '../../shared-charts/recharts-tokens.js';
13
11
  import { CHART_HEIGHT, PIE_CHART_MAX_WIDTH_PX, } from '../c4-job-dashboard-details-page.js';
14
12
  import C4JobDashboardChartHeading from './c4-job-dashboard-chart-heading.js';
15
- function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, translations, }) {
16
- const designSystem = useC4DesignSystem();
13
+ function C4JobDashboardPieChart({ jobData, error, isLoading, translations, }) {
17
14
  const completedCount = jobData?.completed?.count ?? 0;
18
15
  const failedCount = jobData?.failed?.count ?? 0;
19
16
  const createdCount = jobData?.created?.count ?? 0;
@@ -24,55 +21,6 @@ function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, transla
24
21
  return `${count} ${count === 1 ? translations.charts.jobLabel.singular : translations.charts.jobLabel.plural} ${legendLabel.toLowerCase()}`;
25
22
  };
26
23
  const pieData = [
27
- {
28
- group: getPieChartLabel(completedCount, translations.charts.legend.completed),
29
- value: completedCount,
30
- },
31
- {
32
- group: getPieChartLabel(failedCount, translations.charts.legend.failed),
33
- value: failedCount,
34
- },
35
- {
36
- group: getPieChartLabel(createdCount, translations.charts.legend.created),
37
- value: createdCount,
38
- },
39
- ];
40
- const formattedColorScale = {
41
- [getPieChartLabel(completedCount, translations.charts.legend.completed)]: colorScale.Completed,
42
- [getPieChartLabel(failedCount, translations.charts.legend.failed)]: colorScale.Failed,
43
- [getPieChartLabel(createdCount, translations.charts.legend.created)]: colorScale.Created,
44
- };
45
- const pieOptions = {
46
- resizable: true,
47
- toolbar: {
48
- enabled: false,
49
- },
50
- donut: {
51
- center: {
52
- number: completionRate,
53
- numberFormatter: (value) => (isLoading ? '' : `${value}%`),
54
- },
55
- },
56
- legend: {
57
- position: 'right',
58
- truncation: {
59
- type: 'none',
60
- },
61
- },
62
- height: CHART_HEIGHT,
63
- pie: {
64
- labels: {
65
- enabled: false,
66
- },
67
- },
68
- color: {
69
- scale: formattedColorScale,
70
- },
71
- data: {
72
- loading: isLoading,
73
- },
74
- };
75
- const dsPieData = [
76
24
  {
77
25
  key: 'completed',
78
26
  label: getPieChartLabel(completedCount, translations.charts.legend.completed),
@@ -95,7 +43,7 @@ function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, transla
95
43
  const noData = (jobData?.created.count === jobData?.failed.count &&
96
44
  jobData?.completed.count === 0) ||
97
45
  !jobData;
98
- return (_jsxs(_Fragment, { children: [_jsx("div", { style: { marginBottom: 25 }, children: _jsx(C4JobDashboardChartHeading, { title: translations.charts.createdVsCompleted.title, tooltipLabel: translations.charts.createdVsCompleted.tooltip }) }), (!jobData || noData || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: noData ? 0 : 1, showIcons: false, translations: translations.errorHandler, error: error })) : designSystem === 'ds' ? (_jsxs("div", { style: { maxWidth: PIE_CHART_MAX_WIDTH_PX, margin: '0 auto' }, children: [_jsxs("div", { style: { position: 'relative', height: CHART_HEIGHT }, children: [_jsx(ResponsiveContainer, { width: '100%', height: '100%', children: _jsxs(PieChart, { children: [_jsx(Pie, { data: dsPieData, dataKey: 'value', nameKey: 'label', innerRadius: '62%', outerRadius: '88%', paddingAngle: 2, stroke: 'none', isAnimationActive: false, children: dsPieData.map((entry) => (_jsx(Cell, { fill: entry.color }, entry.key))) }), _jsx(Tooltip, { ...DS_CHART_TOOLTIP_PROPS })] }) }), _jsx("div", { style: {
46
+ return (_jsxs(_Fragment, { children: [_jsx("div", { style: { marginBottom: 25 }, children: _jsx(C4JobDashboardChartHeading, { title: translations.charts.createdVsCompleted.title, tooltipLabel: translations.charts.createdVsCompleted.tooltip }) }), (!jobData || noData || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: noData ? 0 : 1, showIcons: false, translations: translations.errorHandler, error: error })) : (_jsxs("div", { style: { maxWidth: PIE_CHART_MAX_WIDTH_PX, margin: '0 auto' }, children: [_jsxs("div", { style: { position: 'relative', height: CHART_HEIGHT }, children: [_jsx(ResponsiveContainer, { width: '100%', height: '100%', children: _jsxs(PieChart, { children: [_jsx(Pie, { data: pieData, dataKey: 'value', nameKey: 'label', innerRadius: '62%', outerRadius: '88%', paddingAngle: 2, stroke: 'none', isAnimationActive: false, children: pieData.map((entry) => (_jsx(Cell, { fill: entry.color }, entry.key))) }), _jsx(Tooltip, { ...DS_CHART_TOOLTIP_PROPS })] }) }), _jsx("div", { style: {
99
47
  position: 'absolute',
100
48
  top: '50%',
101
49
  left: '50%',
@@ -112,7 +60,7 @@ function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, transla
112
60
  justifyContent: 'center',
113
61
  marginTop: 12,
114
62
  flexWrap: 'wrap',
115
- }, children: dsPieData.map((entry) => (_jsxs("div", { style: {
63
+ }, children: pieData.map((entry) => (_jsxs("div", { style: {
116
64
  display: 'flex',
117
65
  alignItems: 'center',
118
66
  gap: 6,
@@ -124,6 +72,6 @@ function C4JobDashboardPieChart({ jobData, error, colorScale, isLoading, transla
124
72
  borderRadius: '50%',
125
73
  background: entry.color,
126
74
  display: 'inline-block',
127
- } }), entry.label] }, entry.key))) })] })) : (_jsx("div", { style: { maxWidth: PIE_CHART_MAX_WIDTH_PX, margin: '0 auto' }, children: _jsx(DonutChart, { data: pieData, options: pieOptions }) }))] }));
75
+ } }), entry.label] }, entry.key))) })] }))] }));
128
76
  }
129
77
  export default C4JobDashboardPieChart;
@@ -1,15 +1,13 @@
1
1
  import type { JSX } from 'react';
2
2
  import type { JobStatusSummary, JobsError } from '../../c4-job-dashboard-shared/c4-job-dashboard-shared.types.js';
3
- import { type ColorScale } from '../c4-job-dashboard-details-page.js';
4
3
  import type { JobDashboardDetailsTranslations } from '../c4-job-dashboard-details-page.types.js';
5
4
  interface C4JobDashboardBarChartProps {
6
5
  timeSeries: Array<{
7
6
  time: string;
8
7
  } & JobStatusSummary>;
9
- colorScale: ColorScale;
10
8
  isLoading: boolean;
11
9
  translations: JobDashboardDetailsTranslations;
12
10
  error?: JobsError;
13
11
  }
14
- declare function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translations, error, }: C4JobDashboardBarChartProps): JSX.Element;
12
+ declare function C4JobDashboardTimeChart({ timeSeries, isLoading, translations, error, }: C4JobDashboardBarChartProps): JSX.Element;
15
13
  export default C4JobDashboardTimeChart;
@@ -1,13 +1,5 @@
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 { TickRotations } from '@carbon/charts';
8
- import { ScaleTypes, StackedAreaChart, } from '@carbon/charts-react';
9
2
  import { Area, AreaChart, CartesianGrid, Legend, ResponsiveContainer, Tooltip, XAxis, YAxis, } from 'recharts';
10
- import { useC4DesignSystem } from '../../../runtime/c4-console-runtime-context.js';
11
3
  import { Stack } from '../../../ui/index.js';
12
4
  import { JOB_STATUS_DS_COLORS } from '../../c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js';
13
5
  import { C4JobDashboardErrorHandler } from '../../c4-job-dashboard-shared/c4-job-dashboard-error-handler.js';
@@ -23,25 +15,7 @@ function formatTooltipTimestamp(value) {
23
15
  minute: '2-digit',
24
16
  }).format(new Date(value));
25
17
  }
26
- function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translations, error, }) {
27
- const designSystem = useC4DesignSystem();
28
- const chartData = timeSeries.flatMap((item) => [
29
- {
30
- group: translations.charts.legend.created,
31
- key: new Date(item.time).toISOString(),
32
- value: item.created.count,
33
- },
34
- {
35
- group: translations.charts.legend.completed,
36
- key: new Date(item.time).toISOString(),
37
- value: item.completed.count,
38
- },
39
- {
40
- group: translations.charts.legend.failed,
41
- key: new Date(item.time).toISOString(),
42
- value: item.failed.count,
43
- },
44
- ]);
18
+ function C4JobDashboardTimeChart({ timeSeries, isLoading, translations, error, }) {
45
19
  // Calculate the maximum stacked value for proper y-axis domain
46
20
  const maxStackedValue = Math.max(...timeSeries.map((item) => item.created.count + item.completed.count + item.failed.count));
47
21
  // Determine if the range spans multiple calendar days
@@ -49,13 +23,13 @@ function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translatio
49
23
  const lastTimeDataPoint = Math.max(...timeSeries.map((t) => new Date(t.time).getTime()));
50
24
  const coversMultipleDays = new Date(firstTimeDataPoint).toDateString() !==
51
25
  new Date(lastTimeDataPoint).toDateString();
52
- const dsRows = timeSeries.map((item) => ({
26
+ const rows = timeSeries.map((item) => ({
53
27
  time: new Date(item.time).toISOString(),
54
28
  [translations.charts.legend.created]: item.created.count,
55
29
  [translations.charts.legend.completed]: item.completed.count,
56
30
  [translations.charts.legend.failed]: item.failed.count,
57
31
  }));
58
- const formatDsLabel = (tick) => {
32
+ const formatTickLabel = (tick) => {
59
33
  const date = new Date(tick);
60
34
  return coversMultipleDays
61
35
  ? Intl.DateTimeFormat('en-US', { month: 'short', day: '2-digit' }).format(date)
@@ -69,65 +43,12 @@ function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translatio
69
43
  // otherwise every k-th row. Recharts does not thin an explicit list.
70
44
  const MAX_TICKS = 8;
71
45
  const everyKth = (rows) => rows.filter((_, i) => i % Math.ceil(rows.length / MAX_TICKS) === 0);
72
- const dsTicks = everyKth(coversMultipleDays
73
- ? dsRows.filter((row, i) => i === 0 ||
46
+ const ticks = everyKth(coversMultipleDays
47
+ ? rows.filter((row, i) => i === 0 ||
74
48
  new Date(row.time).toDateString() !==
75
- new Date(dsRows[i - 1].time).toDateString())
76
- : dsRows).map((row) => row.time);
77
- const formattedColorScale = {
78
- [translations.charts.legend.completed]: colorScale.Completed,
79
- [translations.charts.legend.failed]: colorScale.Failed,
80
- [translations.charts.legend.created]: colorScale.Created,
81
- };
82
- const areaOptions = {
83
- resizable: true,
84
- toolbar: {
85
- enabled: false,
86
- },
87
- tooltip: {
88
- alwaysShowRulerTooltip: true,
89
- },
90
- locale: {
91
- date: (value) => formatTooltipTimestamp(value),
92
- time: (value) => formatTooltipTimestamp(value),
93
- },
94
- axes: {
95
- bottom: {
96
- title: translations.charts.axes.time,
97
- mapsTo: 'key',
98
- scaleType: ScaleTypes.TIME,
99
- ticks: {
100
- rotation: TickRotations.NEVER,
101
- formatter: (tick, i) => {
102
- // Only show every 2nd label to avoid overlap
103
- if (i % 2 !== 0)
104
- return '';
105
- const d = tick instanceof Date ? tick : new Date(tick);
106
- return coversMultipleDays
107
- ? Intl.DateTimeFormat('en-US', {
108
- month: 'short',
109
- day: '2-digit',
110
- }).format(d)
111
- : Intl.DateTimeFormat('en-US', {
112
- hour12: false,
113
- hour: '2-digit',
114
- minute: '2-digit',
115
- }).format(d);
116
- },
117
- },
118
- },
119
- left: {
120
- title: translations.charts.axes.numberOfJobs,
121
- mapsTo: 'value',
122
- scaleType: ScaleTypes.LINEAR,
123
- domain: [0, maxStackedValue],
124
- },
125
- },
126
- color: {
127
- scale: formattedColorScale,
128
- },
129
- };
130
- return (_jsxs(Stack, { gap: 6, children: [_jsx(C4JobDashboardChartHeading, { title: translations.charts.jobWorkload.title, tooltipLabel: translations.charts.jobWorkload.tooltip }), _jsxs("strong", { children: [translations.charts.jobWorkload.subtitle, " "] }), (!timeSeries || timeSeries.length === 0 || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: timeSeries.length, showIcons: false, translations: translations.errorHandler, error: error })) : designSystem === 'ds' ? (_jsx("div", { style: { height: CHART_HEIGHT }, children: _jsx(ResponsiveContainer, { width: '100%', height: '100%', children: _jsxs(AreaChart, { data: dsRows, margin: { top: 8, right: 16, left: 8, bottom: 24 }, children: [_jsx(CartesianGrid, { stroke: DS_CHART_GRID_COLOR, vertical: false }), _jsx(XAxis, { dataKey: 'time', ticks: dsTicks, tickFormatter: formatDsLabel, stroke: DS_CHART_AXIS_COLOR, tick: { fill: DS_CHART_AXIS_COLOR, fontSize: 12 }, label: {
49
+ new Date(rows[i - 1].time).toDateString())
50
+ : rows).map((row) => row.time);
51
+ return (_jsxs(Stack, { gap: 6, children: [_jsx(C4JobDashboardChartHeading, { title: translations.charts.jobWorkload.title, tooltipLabel: translations.charts.jobWorkload.tooltip }), _jsxs("strong", { children: [translations.charts.jobWorkload.subtitle, " "] }), (!timeSeries || timeSeries.length === 0 || error) && !isLoading ? (_jsx(C4JobDashboardErrorHandler, { itemsLength: timeSeries.length, showIcons: false, translations: translations.errorHandler, error: error })) : (_jsx("div", { style: { height: CHART_HEIGHT }, children: _jsx(ResponsiveContainer, { width: '100%', height: '100%', children: _jsxs(AreaChart, { data: rows, margin: { top: 8, right: 16, left: 8, bottom: 24 }, children: [_jsx(CartesianGrid, { stroke: DS_CHART_GRID_COLOR, vertical: false }), _jsx(XAxis, { dataKey: 'time', ticks: ticks, tickFormatter: formatTickLabel, stroke: DS_CHART_AXIS_COLOR, tick: { fill: DS_CHART_AXIS_COLOR, fontSize: 12 }, label: {
131
52
  value: translations.charts.axes.time,
132
53
  position: 'insideBottom',
133
54
  offset: -4,
@@ -139,6 +60,6 @@ function C4JobDashboardTimeChart({ timeSeries, isLoading, colorScale, translatio
139
60
  position: 'insideLeft',
140
61
  fill: DS_CHART_AXIS_COLOR,
141
62
  fontSize: 12,
142
- } }), _jsx(Tooltip, { ...DS_CHART_TOOLTIP_PROPS, labelFormatter: (label) => formatTooltipTimestamp(String(label)) }), _jsx(Legend, { verticalAlign: 'top', wrapperStyle: { color: DS_CHART_AXIS_COLOR, fontSize: 12 } }), _jsx(Area, { type: 'monotone', dataKey: translations.charts.legend.created, stackId: 'status', stroke: JOB_STATUS_DS_COLORS.created, fill: JOB_STATUS_DS_COLORS.created, fillOpacity: 0.6 }), _jsx(Area, { type: 'monotone', dataKey: translations.charts.legend.completed, stackId: 'status', stroke: JOB_STATUS_DS_COLORS.completed, fill: JOB_STATUS_DS_COLORS.completed, fillOpacity: 0.6 }), _jsx(Area, { type: 'monotone', dataKey: translations.charts.legend.failed, stackId: 'status', stroke: JOB_STATUS_DS_COLORS.failed, fill: JOB_STATUS_DS_COLORS.failed, fillOpacity: 0.6 })] }) }) })) : (_jsx("div", { style: { height: CHART_HEIGHT }, children: _jsx(StackedAreaChart, { data: chartData, options: areaOptions }) }))] }));
63
+ } }), _jsx(Tooltip, { ...DS_CHART_TOOLTIP_PROPS, labelFormatter: (label) => formatTooltipTimestamp(String(label)) }), _jsx(Legend, { verticalAlign: 'top', wrapperStyle: { color: DS_CHART_AXIS_COLOR, fontSize: 12 } }), _jsx(Area, { type: 'monotone', dataKey: translations.charts.legend.created, stackId: 'status', stroke: JOB_STATUS_DS_COLORS.created, fill: JOB_STATUS_DS_COLORS.created, fillOpacity: 0.6 }), _jsx(Area, { type: 'monotone', dataKey: translations.charts.legend.completed, stackId: 'status', stroke: JOB_STATUS_DS_COLORS.completed, fill: JOB_STATUS_DS_COLORS.completed, fillOpacity: 0.6 }), _jsx(Area, { type: 'monotone', dataKey: translations.charts.legend.failed, stackId: 'status', stroke: JOB_STATUS_DS_COLORS.failed, fill: JOB_STATUS_DS_COLORS.failed, fillOpacity: 0.6 })] }) }) }))] }));
143
64
  }
144
65
  export default C4JobDashboardTimeChart;
@@ -1,13 +1,6 @@
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 { Layer } from '@carbon/react';
8
2
  import styled from 'styled-components';
9
3
  import { JobsCompletedIcon, JobsCreatedIcon, JobsFailedIcon, } from '../../icons/c4-icons.js';
10
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
11
4
  import { Button, Loading, Stack, Tile, Tooltip } from '../../ui/index.js';
12
5
  import { SECTION_HEADING_STYLE } from '../../utils/section-heading-style.js';
13
6
  import { DsSection } from '../c4-cluster-overview/ds-section.js';
@@ -15,7 +8,7 @@ import { C4JobDashboardErrorHandler } from '../c4-job-dashboard-shared/c4-job-da
15
8
  import C4TimestampInformation from '../c4-job-dashboard-shared/c4-timestamp-information.js';
16
9
  const containerHeight = '30vh';
17
10
  const TileDescription = styled.p `
18
- color: var(--cds-text-secondary);
11
+ color: var(--neutral-foreground-subtle);
19
12
  `;
20
13
  const TileHeader = styled.div `
21
14
  display: flex;
@@ -42,21 +35,16 @@ const JobTilesGrid = styled.div `
42
35
  grid-template-columns: repeat(3, 1fr);
43
36
  }
44
37
  `;
45
- const JobTile = ({ title, description, icon, tooltip, }) => (_jsx(Tooltip, { align: 'top', label: tooltip, children: _jsx("div", { children: _jsx(Layer, { children: _jsxs(Tile, { children: [_jsxs(TileHeader, { children: [_jsx("h6", { children: title }), icon] }), _jsx(TileDescription, { children: description })] }) }) }) }));
38
+ const JobTile = ({ title, description, icon, tooltip, }) => (_jsx(Tooltip, { align: 'top', label: tooltip, children: _jsx("div", { children: _jsxs(Tile, { children: [_jsxs(TileHeader, { children: [_jsx("h6", { children: title }), icon] }), _jsx(TileDescription, { children: description })] }) }) }));
46
39
  function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translations, variant = 'tile', }) {
47
- const designSystem = useC4DesignSystem();
48
- const isDs = designSystem === 'ds';
49
- // Embedded in ds mode: only the heading stays on top. The description and
50
- // the rest sit in one card, so the empty state drops its own card.
51
- const isDsPlain = isDs && variant === 'plain';
52
- // `secondary` is the DS secondary button. Carbon keeps its primary button.
53
- const viewAllKind = isDs ? 'secondary' : undefined;
54
- // The 30vh minimum height reserves room in the carbon tile. In the ds card
55
- // it only leaves empty space under the content.
56
- const dsPlainContainerStyle = isDsPlain ? { minHeight: 0 } : undefined;
40
+ // Embedded: only the heading stays on top. The description and the rest sit
41
+ // in one card, so the empty state drops its own card.
42
+ const isPlain = variant === 'plain';
57
43
  // The loading state reserves about the height of the empty state, so the
58
44
  // card does not collapse from 30vh when the data arrives.
59
- const dsPlainLoadingStyle = isDsPlain ? { minHeight: '10rem' } : undefined;
45
+ const plainLoadingStyle = isPlain ? { minHeight: '10rem' } : undefined;
46
+ // The 30vh minimum height only leaves empty space in the card.
47
+ const plainContainerStyle = isPlain ? { minHeight: 0 } : undefined;
60
48
  const hasError = !!error;
61
49
  const shouldShowEmpty = !hasError &&
62
50
  (!data ||
@@ -64,14 +52,12 @@ function C4JobDashboardEntryPoint({ data, error, onClick, isLoading, translation
64
52
  data.failed.count === 0 &&
65
53
  data.completed.count === 0));
66
54
  const getTileDescription = (count) => `${count ?? 0} ${count === 1 ? translations.jobTileSingular.toLowerCase() : translations.jobTilePlural.toLowerCase()}`;
67
- const body = (_jsxs(_Fragment, { children: [_jsx("p", { className: isDsPlain ? 'm-0' : undefined, children: translations.description }), isLoading ? (_jsx(LoadingContainer, { style: dsPlainLoadingStyle, children: _jsx(Loading, { withOverlay: false }) })) : hasError || shouldShowEmpty ? (_jsx(Container, { style: dsPlainContainerStyle, children: _jsxs(Stack, { gap: 4, children: [_jsx(C4JobDashboardErrorHandler, { itemsLength: shouldShowEmpty ? 0 : 1, error: hasError ? error : null, showIcons: true, translations: translations.errorHandler, unboxed: isDsPlain }), shouldShowEmpty && (_jsx(Button, { kind: viewAllKind, onClick: onClick, children: translations.viewAllJobTypes }))] }) })) : (_jsx(Container, { style: dsPlainContainerStyle, children: _jsxs(Stack, { gap: 4, children: [_jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: data?.lastUpdatedAt ?? '' }), _jsx(JobTilesContainer, { children: _jsxs(JobTilesGrid, { children: [_jsx(JobTile, { title: translations.jobTileCompleted, description: getTileDescription(data?.completed.count), icon: _jsx(JobsCompletedIcon, {}), tooltip: translations.jobTileCompletedTooltip }), _jsx(JobTile, { title: translations.jobTileFailed, description: getTileDescription(data?.failed.count), icon: _jsx(JobsFailedIcon, {}), tooltip: translations.jobTileFailedTooltip }), _jsx(JobTile, { title: translations.jobTileCreated, description: getTileDescription(data?.created.count), icon: _jsx(JobsCreatedIcon, {}), tooltip: translations.jobTileCreatedTooltip })] }) }), _jsx(Button, { kind: viewAllKind, onClick: onClick, children: translations.viewAllJobTypes })] }) }))] }));
68
- if (isDsPlain) {
55
+ const body = (_jsxs(_Fragment, { children: [_jsx("p", { className: isPlain ? 'm-0' : undefined, children: translations.description }), isLoading ? (_jsx(LoadingContainer, { style: plainLoadingStyle, children: _jsx(Loading, { withOverlay: false }) })) : hasError || shouldShowEmpty ? (_jsx(Container, { style: plainContainerStyle, children: _jsxs(Stack, { gap: 4, children: [_jsx(C4JobDashboardErrorHandler, { itemsLength: shouldShowEmpty ? 0 : 1, error: hasError ? error : null, showIcons: true, translations: translations.errorHandler, unboxed: isPlain }), shouldShowEmpty && (_jsx(Button, { kind: 'secondary', onClick: onClick, children: translations.viewAllJobTypes }))] }) })) : (_jsx(Container, { style: plainContainerStyle, children: _jsxs(Stack, { gap: 4, children: [_jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: data?.lastUpdatedAt ?? '' }), _jsx(JobTilesContainer, { children: _jsxs(JobTilesGrid, { children: [_jsx(JobTile, { title: translations.jobTileCompleted, description: getTileDescription(data?.completed.count), icon: _jsx(JobsCompletedIcon, {}), tooltip: translations.jobTileCompletedTooltip }), _jsx(JobTile, { title: translations.jobTileFailed, description: getTileDescription(data?.failed.count), icon: _jsx(JobsFailedIcon, {}), tooltip: translations.jobTileFailedTooltip }), _jsx(JobTile, { title: translations.jobTileCreated, description: getTileDescription(data?.created.count), icon: _jsx(JobsCreatedIcon, {}), tooltip: translations.jobTileCreatedTooltip })] }) }), _jsx(Button, { kind: 'secondary', onClick: onClick, children: translations.viewAllJobTypes })] }) }))] }));
56
+ if (isPlain) {
69
57
  return (_jsx(DsSection, { title: translations.title, card: true, children: body }));
70
58
  }
71
59
  const content = (_jsxs(Stack, { gap: 4, children: [_jsx("h3", { style: SECTION_HEADING_STYLE, children: translations.title }), body] }));
72
- // Carbon mode: the empty/error state's own Tile (inside C4JobDashboardErrorHandler) and the
73
- // populated state's job-count tiles stay boxed in either variant. Only this outer card goes away
74
- // in 'plain'. (ds 'plain' returned above, with one card around the whole body.)
75
- return variant === 'plain' ? content : _jsx(Tile, { children: content });
60
+ // The empty/error state and the job-count tiles keep their own tiles.
61
+ return _jsx(Tile, { children: content });
76
62
  }
77
63
  export default C4JobDashboardEntryPoint;
@@ -23,10 +23,9 @@ export interface C4JobDashboardEntryPointProps {
23
23
  isLoading?: boolean;
24
24
  /**
25
25
  * `'tile'` (default) renders this section inside its own bordered card — Console's own look.
26
- * `'plain'` is for a host that renders this section inline with its own sections. In carbon mode
27
- * it is a bare heading, and the empty/error state keeps its own `Tile` (from
28
- * `C4JobDashboardErrorHandler`). In ds mode only the heading is outside: the description and the
29
- * content sit in one DS card, so the empty/error state renders without its own card.
26
+ * `'plain'` is for a host that renders this section inline with its own sections. Only the
27
+ * heading is outside: the description and the content sit in one DS card, so the empty/error
28
+ * state renders without its own card.
30
29
  */
31
30
  variant?: 'tile' | 'plain';
32
31
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { Launch } from '@carbon/react/icons/index.esm.js';
2
+ import { ExternalLink } from 'lucide-react';
3
3
  import { useEffect, useState } from 'react';
4
4
  import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
5
5
  import { Stack } from '../../ui/index.js';
@@ -51,7 +51,7 @@ export const C4JobDashboardOverviewPage = ({ error, items, isIncomplete, config,
51
51
  };
52
52
  return (_jsx(C4JobDashboardErrorHandler, { itemsLength: 0, showIcons: true, translations: translations.errorHandler, error: error }));
53
53
  }
54
- return (_jsx(C4PageLayout, { padding: padding, children: _jsxs(Stack, { gap: 3, children: [_jsx(C4Breadcrumb, { loading: false, elements: breadcrumb.elements, title: translations.title }), _jsxs("p", { children: [translations.description, ' ', _jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker, '_blank', 'noopener,noreferrer'), label: translations.learnMoreLabel, icon: _jsx(Launch, {}) })] }), _jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: lastUpdatedAt }), _jsx(C4JobDashboardTimeRangeDropdown, { onChange: onTimeRangeChange, exportInterval: config?.exportInterval, disabled: isLoadingConfig, translations: translations.dropdown }), shouldShowErrorHandler ? (_jsx(C4JobDashboardErrorHandler, { error: error, itemsLength: items.length, showIcons: true, translations: translations.errorHandler })) : (_jsxs(_Fragment, { children: [isIncomplete && (_jsx(C4InlineNotification, { style: { maxWidth: '100%' }, lowContrast: true, kind: 'warning', title: translations.dataLimitWarning.title, subtitle: translations.dataLimitWarning.description })), _jsx(C4DataTable, { id: 'usage-history-table', data: rows, toolbar: toolbar, headers: [
54
+ return (_jsx(C4PageLayout, { padding: padding, children: _jsxs(Stack, { gap: 3, children: [_jsx(C4Breadcrumb, { loading: false, elements: breadcrumb.elements, title: translations.title }), _jsxs("p", { children: [translations.description, ' ', _jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker, '_blank', 'noopener,noreferrer'), label: translations.learnMoreLabel, icon: _jsx(ExternalLink, { size: 16 }) })] }), _jsx(C4TimestampInformation, { description: translations.lastUpdated, lastUpdatedAt: lastUpdatedAt }), _jsx(C4JobDashboardTimeRangeDropdown, { onChange: onTimeRangeChange, exportInterval: config?.exportInterval, disabled: isLoadingConfig, translations: translations.dropdown }), shouldShowErrorHandler ? (_jsx(C4JobDashboardErrorHandler, { error: error, itemsLength: items.length, showIcons: true, translations: translations.errorHandler })) : (_jsxs(_Fragment, { children: [isIncomplete && (_jsx(C4InlineNotification, { style: { maxWidth: '100%' }, lowContrast: true, kind: 'warning', title: translations.dataLimitWarning.title, subtitle: translations.dataLimitWarning.description })), _jsx(C4DataTable, { id: 'usage-history-table', data: rows, toolbar: toolbar, headers: [
55
55
  {
56
56
  key: 'jobType',
57
57
  label: translations.tableHeaders.jobType,
@@ -50,7 +50,6 @@ export interface C4JobDashboardOverviewPageProps {
50
50
  * `C4JobWorkerOverviewPage`'s `scope: 'environment'`), where the host already
51
51
  * provides its own spacing and this padding would double up.
52
52
  *
53
- * ds-mode only.
54
53
  */
55
54
  padding?: 'default' | 'none';
56
55
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ProgressBar } from '../../ui/index.js';
3
3
  export const C4BackgroundFetchingIndicator = ({ itemsLength, isLoading, loadingMoreDataText }) => {
4
- return (_jsx(_Fragment, { children: itemsLength > 0 && isLoading && (_jsxs(_Fragment, { children: [_jsx(ProgressBar, { hideLabel: true, label: 'background fetching data', size: 'small', type: 'inline' }), _jsx("p", { style: { color: 'var(--cds-text-secondary)' }, children: loadingMoreDataText })] })) }));
4
+ return (_jsx(_Fragment, { children: itemsLength > 0 && isLoading && (_jsxs(_Fragment, { children: [_jsx(ProgressBar, { hideLabel: true, label: 'background fetching data', size: 'small', type: 'inline' }), _jsx("p", { style: { color: 'var(--neutral-foreground-subtle)' }, children: loadingMoreDataText })] })) }));
5
5
  };
@@ -1,7 +1,6 @@
1
1
  /**
2
- * ds-mode job status colors, shared by the pie and area charts on the job
3
- * dashboard details page so both use the same semantic mapping. Carbon mode
4
- * keeps using the caller-supplied `colorScale` hex values unchanged.
2
+ * Job status colors, shared by the pie and area charts on the job dashboard
3
+ * details page so both use the same semantic mapping.
5
4
  */
6
5
  export declare const JOB_STATUS_DS_COLORS: {
7
6
  readonly created: "var(--info-action-default)";
@@ -5,9 +5,8 @@
5
5
  */
6
6
  import { DS_STATUS_COLORS } from '../shared-charts/recharts-tokens.js';
7
7
  /**
8
- * ds-mode job status colors, shared by the pie and area charts on the job
9
- * dashboard details page so both use the same semantic mapping. Carbon mode
10
- * keeps using the caller-supplied `colorScale` hex values unchanged.
8
+ * Job status colors, shared by the pie and area charts on the job dashboard
9
+ * details page so both use the same semantic mapping.
11
10
  */
12
11
  export const JOB_STATUS_DS_COLORS = {
13
12
  created: DS_STATUS_COLORS.info,
@@ -4,7 +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 { Launch } from '@carbon/react/icons/index.esm.js';
7
+ import { ExternalLink } from 'lucide-react';
8
8
  import styled from 'styled-components';
9
9
  import { C4_EXTERNAL_URLS } from '../../externalUrls.const.js';
10
10
  import { AccessRestrictedIcon, EmptyJobsIcon, ErrorIcon, } from '../../icons/c4-icons.js';
@@ -20,7 +20,7 @@ const Row = styled.div `
20
20
  const Description = styled.p `
21
21
  margin: 0;
22
22
  font-size: 0.875rem;
23
- color: var(--cds-text-secondary, #525252);
23
+ color: var(--neutral-foreground-subtle);
24
24
  padding: 0.5rem 0;
25
25
  `;
26
26
  export const C4JobDashboardErrorHandler = ({ error, showIcons, itemsLength, translations, unboxed = false, }) => {
@@ -48,10 +48,10 @@ export const C4JobDashboardErrorHandler = ({ error, showIcons, itemsLength, tran
48
48
  }
49
49
  }
50
50
  return (_jsx("div", { style: { width: '100%', margin: unboxed ? 0 : '1rem 0' }, children: box(_jsxs(Row, { children: [showIcons &&
51
- (isAccessRestricted ? (_jsx(AccessRestrictedIcon, { size: 70 })) : (_jsx(ErrorIcon, { size: 80 }))), _jsxs("div", { children: [_jsx("h3", { style: SECTION_HEADING_STYLE, children: title }), _jsx(Description, { children: description }), isAccessRestricted && (_jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.roles, '_blank', 'noopener,noreferrer'), label: translations.forbidden.learnMoreLabel, icon: _jsx(Launch, {}) }))] })] })) }));
51
+ (isAccessRestricted ? (_jsx(AccessRestrictedIcon, { size: 70 })) : (_jsx(ErrorIcon, { size: 80 }))), _jsxs("div", { children: [_jsx("h3", { style: SECTION_HEADING_STYLE, children: title }), _jsx(Description, { children: description }), isAccessRestricted && (_jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.roles, '_blank', 'noopener,noreferrer'), label: translations.forbidden.learnMoreLabel, icon: _jsx(ExternalLink, { size: 16 }) }))] })] })) }));
52
52
  }
53
53
  if (itemsLength === 0) {
54
- return box(_jsxs(Row, { children: [showIcons && _jsx(EmptyJobsIcon, { size: 84 }), _jsxs("div", { children: [_jsx(EmptyTitle, { style: SECTION_HEADING_STYLE, children: translations.empty.title }), _jsx(Description, { children: translations.empty.description }), _jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker, '_blank', 'noopener,noreferrer'), label: translations.empty.learnMoreLabel, icon: _jsx(Launch, { color: 'currentColor', size: 16 }) })] })] }));
54
+ return box(_jsxs(Row, { children: [showIcons && _jsx(EmptyJobsIcon, { size: 84 }), _jsxs("div", { children: [_jsx(EmptyTitle, { style: SECTION_HEADING_STYLE, children: translations.empty.title }), _jsx(Description, { children: translations.empty.description }), _jsx(C4LinkButton, { onClick: () => window.open(C4_EXTERNAL_URLS.docs.jobDashboard.jobWorker, '_blank', 'noopener,noreferrer'), label: translations.empty.learnMoreLabel, icon: _jsx(ExternalLink, { size: 16 }) })] })] }));
55
55
  }
56
56
  return _jsx(_Fragment, {});
57
57
  };
@@ -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
  const HeadingWithIconWrapper = styled.div `
@@ -12,8 +12,8 @@ const HeadingWithIconWrapper = styled.div `
12
12
  gap: 0.5rem;
13
13
  `;
14
14
  const TableHeading = styled.p `
15
- font-weight: var(--cds-heading-compact-01-font-weight)
15
+ font-weight: 600
16
16
  `;
17
17
  export const headerWithTooltip = (label, tooltipText, isLoading) => isLoading
18
18
  ? label
19
- : (_jsxs(HeadingWithIconWrapper, { children: [_jsx(TableHeading, { children: label }), _jsx(Tooltip, { align: 'right-start', label: tooltipText, children: _jsx(Information, { size: 16, style: { margin: 1 } }) })] }));
19
+ : (_jsxs(HeadingWithIconWrapper, { children: [_jsx(TableHeading, { children: label }), _jsx(Tooltip, { align: 'right-start', label: tooltipText, children: _jsx(Info, { size: 16, style: { margin: 1 }, role: 'img', "aria-label": tooltipText }) })] }));
@@ -4,11 +4,11 @@ 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
  export const C4TimestampInformation = ({ description, lastUpdatedAt, }) => (_jsxs("p", { style: {
9
- color: 'var(--cds-text-secondary)',
9
+ color: 'var(--neutral-foreground-subtle)',
10
10
  display: 'flex',
11
11
  alignItems: 'center',
12
12
  gap: '6px',
13
- }, children: [_jsx(Information, { size: 16 }), _jsxs("span", { children: [description, ": ", lastUpdatedAt] })] }));
13
+ }, children: [_jsx(Info, { size: 16, "aria-hidden": 'true' }), _jsxs("span", { children: [description, ": ", lastUpdatedAt] })] }));
14
14
  export default C4TimestampInformation;
@@ -4,7 +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 { ErrorFilled, WarningAltFilled } from '@carbon/react/icons/index.esm.js';
7
+ import { CircleX, TriangleAlert } from 'lucide-react';
8
8
  import { Link, ProgressBar, SkeletonPlaceholder, Stack, Tile } from '../../ui/index.js';
9
9
  export const C4LLMUsageMeter = ({ usage, limit, title, description, isLoading = false, hasError = false, urls, text = {}, }) => {
10
10
  const { usageLabel = 'Used', limitLabel = 'Limit', errorMessage = 'Failed to load usage data', cardTitle = 'Easy LLM (Camunda provided.)', learnMoreLabel = 'Learn more about Camunda provided LLM tokens', tokensRemainingLabel = 'tokens remaining', approachingLimitMessage, overLimitPrefix = 'You have reached your token limit. Please', overLimitContactLabel = 'contact our Camunda team to request more tokens', overLimitSuffix = 'and talk through your use cases.', } = text;
@@ -17,20 +17,20 @@ export const C4LLMUsageMeter = ({ usage, limit, title, description, isLoading =
17
17
  display: 'flex',
18
18
  alignItems: 'center',
19
19
  gap: '8px',
20
- color: 'var(--cds-text-error)',
21
- }, children: [_jsx(ErrorFilled, { size: 20 }), _jsx("span", { children: errorMessage })] }) }));
20
+ color: 'var(--danger-foreground-subtle)',
21
+ }, children: [_jsx(CircleX, { size: 20 }), _jsx("span", { children: errorMessage })] }) }));
22
22
  }
23
23
  const percentage = limit > 0 ? Math.min((usage / limit) * 100, 100) : 0;
24
24
  const isNearLimit = percentage >= 80;
25
25
  const isOverLimit = percentage >= 100;
26
26
  const remaining = Math.max(limit - usage, 0);
27
27
  return (_jsxs(Stack, { gap: 4, children: [_jsxs("div", { children: [_jsx("h4", { style: {
28
- fontSize: 'var(--cds-heading-compact-01-font-size)',
29
- fontWeight: 'var(--cds-heading-compact-01-font-weight)',
28
+ fontSize: '0.875rem',
29
+ fontWeight: '600',
30
30
  marginBottom: '4px',
31
31
  }, children: title }), description && (_jsx("p", { style: {
32
- fontSize: 'var(--cds-body-compact-01-font-size)',
33
- color: 'var(--cds-text-secondary)',
32
+ fontSize: '0.875rem',
33
+ color: 'var(--neutral-foreground-subtle)',
34
34
  }, children: description }))] }), _jsx(Tile, { children: _jsxs(Stack, { gap: 4, children: [_jsxs("div", { style: {
35
35
  display: 'flex',
36
36
  justifyContent: 'space-between',
@@ -42,40 +42,40 @@ export const C4LLMUsageMeter = ({ usage, limit, title, description, isLoading =
42
42
  gap: '8px',
43
43
  alignItems: 'baseline',
44
44
  }, children: [_jsx("span", { style: {
45
- fontSize: 'var(--cds-label-01-font-size)',
46
- fontWeight: 'var(--cds-label-01-font-weight)',
45
+ fontSize: '0.75rem',
46
+ fontWeight: '400',
47
47
  textTransform: 'uppercase',
48
48
  letterSpacing: '0.32px',
49
- color: 'var(--cds-text-secondary)',
50
- }, children: cardTitle }), urls.learnMore && (_jsx(Link, { href: urls.learnMore, target: '_blank', rel: 'noopener noreferrer', style: { fontSize: 'var(--cds-label-01-font-size)' }, children: learnMoreLabel }))] }), _jsxs("div", { style: {
49
+ color: 'var(--neutral-foreground-subtle)',
50
+ }, children: cardTitle }), urls.learnMore && (_jsx(Link, { href: urls.learnMore, target: '_blank', rel: 'noopener noreferrer', style: { fontSize: '0.75rem' }, children: learnMoreLabel }))] }), _jsxs("div", { style: {
51
51
  textAlign: 'right',
52
52
  flexShrink: 0,
53
- fontSize: 'var(--cds-body-compact-01-font-size)',
54
- color: 'var(--cds-text-secondary)',
53
+ fontSize: '0.875rem',
54
+ color: 'var(--neutral-foreground-subtle)',
55
55
  lineHeight: 1.4,
56
56
  }, children: [_jsxs("div", { children: [usageLabel, ": ", formatCurrency(usage)] }), _jsxs("div", { children: [limitLabel, ": ", formatCurrency(limit)] })] })] }), _jsxs("p", { style: {
57
- fontSize: 'var(--cds-heading-03-font-size)',
58
- fontWeight: 'var(--cds-heading-03-font-weight)',
59
- color: 'var(--cds-text-primary)',
57
+ fontSize: '1.25rem',
58
+ fontWeight: '400',
59
+ color: 'var(--neutral-foreground-strong)',
60
60
  }, children: [formatCurrency(remaining), " ", tokensRemainingLabel] }), _jsx(ProgressBar, { label: '', hideLabel: true, value: percentage, max: 100, status: isOverLimit ? 'error' : 'active' }), isNearLimit && (_jsxs("div", { style: {
61
61
  display: 'flex',
62
62
  alignItems: 'flex-start',
63
63
  gap: '12px',
64
64
  padding: '12px 16px',
65
65
  backgroundColor: isOverLimit
66
- ? 'var(--cds-notification-background-error)'
67
- : 'var(--cds-notification-background-warning)',
66
+ ? 'var(--danger-background-subtle)'
67
+ : 'var(--warning-background-subtle)',
68
68
  borderLeft: `3px solid ${isOverLimit
69
- ? 'var(--cds-support-error)'
70
- : 'var(--cds-support-warning)'}`,
71
- }, children: [isOverLimit ? (_jsx(ErrorFilled, { size: 16, style: {
72
- color: 'var(--cds-support-error)',
69
+ ? 'var(--danger-action-default)'
70
+ : 'var(--warning-action-default)'}`,
71
+ }, children: [isOverLimit ? (_jsx(CircleX, { size: 16, style: {
72
+ color: 'var(--danger-action-default)',
73
73
  flexShrink: 0,
74
74
  marginTop: '2px',
75
- } })) : (_jsx(WarningAltFilled, { size: 16, style: {
76
- color: 'var(--cds-support-warning)',
75
+ } })) : (_jsx(TriangleAlert, { size: 16, style: {
76
+ color: 'var(--warning-action-default)',
77
77
  flexShrink: 0,
78
78
  marginTop: '2px',
79
- } })), _jsx("span", { style: { fontSize: 'var(--cds-body-compact-01-font-size)' }, children: isOverLimit ? (_jsxs(_Fragment, { children: [overLimitPrefix, ' ', urls.contact ? (_jsx(Link, { href: urls.contact, target: '_blank', rel: 'noopener noreferrer', inline: true, children: overLimitContactLabel })) : (overLimitContactLabel), ' ', overLimitSuffix] })) : ((approachingLimitMessage ??
79
+ } })), _jsx("span", { style: { fontSize: '0.875rem' }, children: isOverLimit ? (_jsxs(_Fragment, { children: [overLimitPrefix, ' ', urls.contact ? (_jsx(Link, { href: urls.contact, target: '_blank', rel: 'noopener noreferrer', inline: true, children: overLimitContactLabel })) : (overLimitContactLabel), ' ', overLimitSuffix] })) : ((approachingLimitMessage ??
80
80
  `You are approaching your limit (${percentage.toFixed(0)}% of limit).`)) })] }))] }) })] }));
81
81
  };
@@ -1,3 +1,7 @@
1
1
  import { type JSX } from 'react';
2
2
  import type { C4ManagementActivityProps } from './c4-management-activity.types.js';
3
- export declare const C4ManagementActivity: (props: C4ManagementActivityProps) => JSX.Element;
3
+ /**
4
+ * A single, searchable, paginated data table with Name / Timestamp / Audit
5
+ * columns. Any column can sort it. The default order is newest first.
6
+ */
7
+ export declare const C4ManagementActivity: ({ activities, loading, downloading, onExportJSON, onExportCSV, exportLabel, exportingLabel, exportJSONLabel, exportCSVLabel, searchLabel, nameColumnLabel, timestampColumnLabel, auditColumnLabel, }: C4ManagementActivityProps) => JSX.Element;