@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
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export const TelemetryMetricsEmptyStateImage = (props) => (_jsxs("svg", { xmlns: 'http://www.w3.org/2000/svg', width: 214, height: 121, fill: 'none', ...props, children: [_jsx("rect", { width: 203, height: 113, x: 1, y: 8, fill: '#EEE', fillOpacity: 0.54, rx: 5 }), _jsx("rect", { width: 201, height: 111, x: 11, y: 1, fill: '#fff', stroke: '#C6C6C6', strokeWidth: 2, rx: 4 }), _jsx("path", { fill: '#C6C6C6', d: 'M24.5 15h28v4h-28z' }), _jsx("path", { fill: '#D9D9D9', fillOpacity: 0.5, d: 'M24.5 78h96v6h-96z' }), _jsx("path", { fill: '#D9D9D9', d: 'M24.5 90h71v6h-71zM24.5 44h36v1h-36zM24.5 50h36v1h-36zM24.5 38h36v1h-36z' }), _jsx("path", { fill: '#fff', fillOpacity: 0.01, d: 'M0 0h12v12H0z', style: {
3
- mixBlendMode: 'multiply',
4
- }, transform: 'translate(189.5 11)' }), _jsx("path", { fill: '#8F8B8B', d: 'M195.5 11.75a5.253 5.253 0 0 0-4.85 3.24 5.241 5.241 0 0 0-.299 3.034 5.246 5.246 0 0 0 7.158 3.826 5.252 5.252 0 0 0 1.703-8.562 5.249 5.249 0 0 0-3.712-1.538Zm-.75 7.346-1.875-1.875.596-.596 1.279 1.279 2.779-2.779.598.595-3.377 3.376Z' }), _jsx("path", { fill: '#E0E0E0', d: 'm199.005 80.045-16.5-6a.75.75 0 0 0-.96.96l6 16.5a.748.748 0 0 0 1.126.366.742.742 0 0 0 .276-.343l2.88-7.2 7.2-2.88a.752.752 0 0 0 .352-1.128.752.752 0 0 0-.352-.275h-.022Z' }), _jsx("path", { fill: '#fff', d: 'm202.005 76.045-16.5-6a.75.75 0 0 0-.96.96l6 16.5a.748.748 0 0 0 1.126.366.742.742 0 0 0 .276-.343l2.88-7.2 7.2-2.88a.752.752 0 0 0 .352-1.128.752.752 0 0 0-.352-.275h-.022Z' }), _jsx("path", { fill: '#fff', fillOpacity: 0.01, d: 'M0 0h24v24H0z', style: {
5
- mixBlendMode: 'multiply',
6
- }, transform: 'translate(181.5 67)' }), _jsx("path", { fill: '#525252', d: 'm202.005 76.045-16.5-6a.75.75 0 0 0-.96.96l6 16.5a.748.748 0 0 0 1.126.366.742.742 0 0 0 .276-.343l2.88-7.2 7.2-2.88a.752.752 0 0 0 .352-1.128.752.752 0 0 0-.352-.275h-.022Zm-8.033 3-.3.12-.12.3-2.302 5.685-4.748-13.148 13.148 4.748-5.678 2.295Z' }), _jsx("path", { stroke: '#525252', strokeLinecap: 'round', strokeLinejoin: 'round', strokeWidth: 1.5, d: 'M184.5 62.5V66M179.148 64.268l2.454 2.495M177.267 69.811l3.497.128' })] }));
@@ -1,50 +0,0 @@
1
- import type { JSX } from 'react';
2
- import { type ClusterStatus } from '../c4-cluster-overview/applications.js';
3
- import type { ComponentMetrics } from './component-metrics.js';
4
- export declare namespace TelemetryForComponent {
5
- interface ChartProps {
6
- id: string;
7
- label: string;
8
- current: number;
9
- error: string;
10
- ranges: {
11
- success: {
12
- min: number;
13
- max: number;
14
- };
15
- warning: {
16
- min: number;
17
- max: number;
18
- };
19
- error: {
20
- min: number;
21
- max: number;
22
- };
23
- peak: number;
24
- };
25
- }
26
- interface ContextProps {
27
- name: string;
28
- status: ClusterStatus;
29
- properties: Array<{
30
- id: string;
31
- label: string;
32
- value: string;
33
- }>;
34
- }
35
- interface Props {
36
- id: string;
37
- context: ContextProps;
38
- metrics: ChartProps[];
39
- allMetrics: ComponentMetrics.Props;
40
- }
41
- interface InternalProps extends Props {
42
- actions: {
43
- onClick: (id: string) => void;
44
- };
45
- checked: boolean;
46
- theme?: string;
47
- loading: boolean;
48
- }
49
- const Component: ({ id, context, metrics, theme, actions, checked, loading, }: InternalProps) => JSX.Element;
50
- }
@@ -1,113 +0,0 @@
1
- import { createElement as _createElement } from "react";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- /*
4
- * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
5
- * under one or more contributor license agreements. Licensed under a commercial license.
6
- * You may not use this file except in compliance with the commercial license.
7
- */
8
- import { MeterChart } from '@carbon/charts-react';
9
- import { RadioTile } from '@carbon/react';
10
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
11
- import { SkeletonText, Stack } from '../../ui/index.js';
12
- import { ClusterStatusElement, } from '../c4-cluster-overview/applications.js';
13
- import { DsMeterChart } from '../shared-charts/ds-meter-chart.js';
14
- import { DS_STATUS_COLORS } from '../shared-charts/recharts-tokens.js';
15
- export var TelemetryForComponent;
16
- (function (TelemetryForComponent) {
17
- TelemetryForComponent.Component = ({ id, context, metrics, theme, actions, checked, loading, }) => {
18
- const component = (_jsx(RadioTile, { value: id, checked: checked, onChange: () => {
19
- actions.onClick(id);
20
- }, style: { minHeight: '16rem' }, children: _jsxs(Stack, { gap: 6, children: [_jsx(Header, { ...context }), _jsx(Properties, { ...context }), _jsxs(Stack, { gap: 2, children: [loading && _jsx(SkeletonText, {}), !loading &&
21
- metrics.map((metric) => (_createElement(Chart, { ...metric, theme: theme, key: metric.id }))), (!loading && !metrics) ||
22
- (metrics.length === 0 && _jsx("div", { style: { height: '104px' } }))] })] }) }, id));
23
- return component;
24
- };
25
- // ELEMENTS OF COMPONENT
26
- const Header = ({ name, status }) => {
27
- const component = (_jsxs("div", { style: {
28
- display: 'grid',
29
- gridTemplateColumns: 'auto auto 1fr',
30
- gap: '0.75rem',
31
- }, children: [_jsx("span", { className: 'cds--type-heading-compact-01', children: name }), _jsx(ClusterStatusElement, { status: status })] }));
32
- return component;
33
- };
34
- const Properties = ({ properties }) => {
35
- const allProperties = [];
36
- properties.forEach((property) => {
37
- allProperties.push(property.label);
38
- allProperties.push(property.value);
39
- });
40
- const component = (_jsx("div", { style: {
41
- display: 'grid',
42
- gridTemplateColumns: '103px auto',
43
- gap: '0.3rem',
44
- }, children: allProperties.map((property, index) => {
45
- return _jsx("span", { children: property }, index);
46
- }) }));
47
- return component;
48
- };
49
- const Chart = ({ current, id, label, ranges, theme, error, }) => {
50
- const designSystem = useC4DesignSystem();
51
- let component = _jsx("p", { children: error });
52
- if (current >= ranges.success.min && current <= ranges.error.max * 1000) {
53
- component =
54
- designSystem === 'ds' ? (_jsx(DsMeterChart, { value: current, max: Math.max(ranges.peak, ranges.error.max), color: current <= ranges.success.max
55
- ? DS_STATUS_COLORS.success
56
- : current <= ranges.warning.max
57
- ? DS_STATUS_COLORS.warning
58
- : DS_STATUS_COLORS.danger, zones: [
59
- {
60
- range: [ranges.success.min, ranges.success.max],
61
- color: DS_STATUS_COLORS.success,
62
- },
63
- {
64
- range: [ranges.warning.min, ranges.warning.max],
65
- color: DS_STATUS_COLORS.warning,
66
- },
67
- {
68
- range: [ranges.error.min, ranges.error.max],
69
- color: DS_STATUS_COLORS.danger,
70
- },
71
- ], peak: ranges.peak }, id)) : (_jsx(MeterChart, { data: [
72
- {
73
- group: label,
74
- value: current,
75
- },
76
- ], options: {
77
- meter: {
78
- peak: ranges.peak,
79
- status: {
80
- ranges: [
81
- {
82
- range: [ranges.success.min, ranges.success.max],
83
- status: 'success',
84
- },
85
- {
86
- range: [ranges.warning.min, ranges.warning.max],
87
- status: 'warning',
88
- },
89
- {
90
- range: [ranges.error.min, ranges.error.max],
91
- status: 'danger',
92
- },
93
- ],
94
- },
95
- title: {
96
- percentageIndicator: {
97
- enabled: true,
98
- },
99
- },
100
- },
101
- height: '50px',
102
- theme: theme,
103
- legend: {
104
- enabled: false,
105
- },
106
- toolbar: {
107
- enabled: false,
108
- },
109
- } }, id));
110
- }
111
- return component;
112
- };
113
- })(TelemetryForComponent || (TelemetryForComponent = {}));
@@ -1,3 +0,0 @@
1
- import type { JSX } from 'react';
2
- import type { C4TelemetryTeaserPageProps } from './c4-telemetry-teaser-page.types.js';
3
- export declare const C4TelemetryTeaserPage: ({ hero, topics, teaserCards, footer, }: C4TelemetryTeaserPageProps) => JSX.Element;
@@ -1,80 +0,0 @@
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 { ArrowDown, ArrowRight, DocumentMultiple_01 } from '@carbon/react/icons/index.esm.js';
8
- import { Button, Stack, Tile } from '../../ui/index.js';
9
- import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
10
- const STYLES = {
11
- CONTENT_WIDTH: '1120px',
12
- };
13
- export const C4TelemetryTeaserPage = ({ hero, topics, teaserCards, footer, }) => {
14
- const heroComponent = (_jsxs("div", { style: {
15
- display: 'grid',
16
- gridTemplateColumns: '544px 1fr auto',
17
- alignItems: 'start',
18
- }, children: [_jsxs(Stack, { gap: 6, children: [_jsx("h1", { className: 'cds--type-heading-05', children: hero.title }), _jsx("p", { style: { width: '430px' }, children: hero.subtitle })] }), _jsx("div", {}), _jsx(Button, { kind: 'ghost', size: 'md', renderIcon: ArrowDown, onClick: () => {
19
- const footerElement = document.getElementById('footer');
20
- if (footerElement) {
21
- footerElement.scrollIntoView({ behavior: 'smooth' });
22
- }
23
- }, children: hero.jumpText })] }));
24
- const topicsComponent = (_jsx("div", { style: {
25
- display: 'grid',
26
- gridTemplateColumns: `repeat(${topics.length}, 1fr)`,
27
- }, children: topics.map((topic, index) => {
28
- let justifySelf = 'start';
29
- if (index > 0 && index < topics.length - 1) {
30
- justifySelf = 'center';
31
- }
32
- else if (index === topics.length - 1) {
33
- justifySelf = 'end';
34
- }
35
- return (_jsx("div", { style: { width: '300px', justifySelf }, children: _jsxs(Stack, { gap: 1, children: [_jsx("span", { style: { color: 'var(--cds-background-brand)' }, children: topic.icon }), _jsx("h2", { className: 'cds--type-heading-01', children: topic.title }), _jsx("p", { children: topic.description })] }) }, `topic-${index}`));
36
- }) }));
37
- const cardBorderRadius = '24px';
38
- const teaserCardsComponent = (_jsx("div", { style: {
39
- display: 'grid',
40
- gridTemplateColumns: `1fr repeat(${teaserCards.length}, 1fr) 1fr`,
41
- gap: '1.5rem',
42
- }, children: teaserCards.map((card, index) => {
43
- return (_jsx("div", { style: { width: '640px', gridColumn: index + 2 }, children: _jsxs(Tile, { style: {
44
- borderRadius: cardBorderRadius,
45
- height: '383px',
46
- padding: '40px',
47
- }, children: [_jsxs(Stack, { gap: 3, children: [_jsx("h3", { className: 'cds--type-heading-03', children: card.title }), _jsx("p", { style: { width: '190px' }, children: card.subtitle })] }), _jsx("img", { src: card.imgSrc, alt: card.imgAlt, style: {
48
- bottom: 0,
49
- right: 0,
50
- position: 'absolute',
51
- height: '212px',
52
- borderBottomRightRadius: cardBorderRadius,
53
- } })] }) }, `teaser-card-${index}`));
54
- }) }));
55
- const footerComponent = (_jsxs("div", { children: [_jsx("svg", { style: {
56
- display: 'block',
57
- width: '100%',
58
- height: '48px',
59
- }, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 100 10', preserveAspectRatio: 'none', children: _jsx("polygon", { points: '100 0 100 10 0 10', style: { fill: 'var(--cds-layer-01)' } }) }), _jsx(Tile, { id: 'footer', children: _jsx("div", { style: {
60
- display: 'grid',
61
- gridTemplateColumns: `1fr ${STYLES.CONTENT_WIDTH} 1fr`,
62
- gap: '1.5rem',
63
- marginTop: '3rem',
64
- marginBottom: '3rem',
65
- }, children: _jsxs("div", { style: {
66
- gridColumn: 2,
67
- display: 'grid',
68
- gridTemplateColumns: '385px 1fr 385px',
69
- }, children: [_jsx("div", { style: { gridColumn: 1 }, children: footer.left.visible && (_jsxs(Stack, { gap: 6, children: [_jsxs(Stack, { gap: 1, children: [_jsx("p", { style: { color: 'var(--cds-background-brand)' }, className: 'cds--type-label-01', children: footer.left.subtitle }), _jsxs(Stack, { gap: 3, children: [_jsx("h3", { className: 'cds--type-heading-03', children: footer.left.title }), _jsx("p", { children: footer.left.description })] })] }), _jsx(Button, { kind: 'primary', size: 'md', renderIcon: DocumentMultiple_01, onClick: () => {
70
- footer.left.cta.onClick();
71
- }, children: footer.left.cta.label })] })) }), _jsx("div", { style: { gridColumn: 3, justifySelf: 'end' }, children: footer.right.visible && (_jsxs(Stack, { gap: 3, children: [_jsxs(Stack, { gap: 1, children: [_jsx("span", { style: { color: 'var(--cds-background-brand)' }, children: footer.right.icon }), _jsx("p", { className: 'cds--type-heading-01', children: footer.right.title }), _jsx("p", { children: footer.right.description })] }), _jsx(C4LinkButton, { label: footer.right.link.label, icon: _jsx(ArrowRight, {}), onClick: () => {
72
- window.open(footer.right.link.url, '_blank');
73
- } })] })) })] }) }) })] }));
74
- const component = (_jsxs(Stack, { gap: 12, children: [_jsx("div", { style: {
75
- display: 'grid',
76
- gridTemplateColumns: `1fr ${STYLES.CONTENT_WIDTH} 1fr`,
77
- marginTop: '6rem',
78
- }, children: _jsx("div", { style: { gridColumn: 2 }, children: _jsxs(Stack, { gap: 12, children: [heroComponent, topicsComponent] }) }) }), teaserCardsComponent, footerComponent] }));
79
- return component;
80
- };
@@ -1,40 +0,0 @@
1
- export interface C4TelemetryTeaserPageProps {
2
- hero: {
3
- title: any;
4
- subtitle: string;
5
- jumpText: string;
6
- };
7
- topics: Array<{
8
- icon: any;
9
- title: string;
10
- description: string;
11
- }>;
12
- teaserCards: Array<{
13
- title: string;
14
- subtitle: string;
15
- imgSrc: string;
16
- imgAlt: string;
17
- }>;
18
- footer: {
19
- left: {
20
- visible: boolean;
21
- title: string;
22
- subtitle: string;
23
- description: string;
24
- cta: {
25
- label: string;
26
- onClick: () => void;
27
- };
28
- };
29
- right: {
30
- visible: boolean;
31
- icon: any;
32
- title: string;
33
- description: string;
34
- link: {
35
- label: string;
36
- url: string;
37
- };
38
- };
39
- };
40
- }
@@ -1,6 +0,0 @@
1
- /*
2
- * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
- * under one or more contributor license agreements. Licensed under a commercial license.
4
- * You may not use this file except in compliance with the commercial license.
5
- */
6
- export {};
@@ -1,15 +0,0 @@
1
- import type { DefinitionTooltip as CarbonDefinitionTooltip } from '@carbon/react';
2
- import type { ComponentProps, JSX } from 'react';
3
- type CarbonDefinitionTooltipProps = ComponentProps<typeof CarbonDefinitionTooltip>;
4
- /**
5
- * Carbon `DefinitionTooltip` API → DS `DefinitionTooltip`.
6
- *
7
- * The ds branch of the `../ui` `DefinitionTooltip` switch. `carbon-compat` ships
8
- * no adapter for this component, so the DS component is used directly. Its API
9
- * already carries `definition`, `openOnHover`, and `align`.
10
- *
11
- * Unlike Carbon's, the DS component renders the definition through a Radix
12
- * portal, so it is not clipped by an ancestor that hides overflow.
13
- */
14
- export declare const C4DefinitionTooltip: ({ align, definition, children, ...rest }: CarbonDefinitionTooltipProps) => JSX.Element;
15
- export {};
@@ -1,43 +0,0 @@
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 { DefinitionTooltip as DsDefinitionTooltip, } from '@camunda/design-system';
8
- /**
9
- * Carbon `align` values that the DS does not accept, and their DS equivalent.
10
- *
11
- * Carbon takes a deprecated set (`bottom-left`) next to the modern one
12
- * (`bottom-start`). `DefinitionTooltipAlign` takes only the modern set, and
13
- * Radix ignores a value it does not know rather than raising, so an unmapped
14
- * value moves the definition to the default side with no error.
15
- *
16
- * Keying the record on `DeprecatedAlign` makes a missing entry a build error.
17
- * `apps/accounts-frontend` types `align` as `string` through its own
18
- * `@carbon/react` declaration (#9748), so `DeprecatedAlign` widens to `string`
19
- * there and the check does not apply. The c4 build keeps it.
20
- */
21
- const DEPRECATED_ALIGN = {
22
- 'top-left': 'top-start',
23
- 'top-right': 'top-end',
24
- 'bottom-left': 'bottom-start',
25
- 'bottom-right': 'bottom-end',
26
- 'left-top': 'left-start',
27
- 'left-bottom': 'left-end',
28
- 'right-top': 'right-start',
29
- 'right-bottom': 'right-end',
30
- };
31
- const toDsAlign = (align) => DEPRECATED_ALIGN[align] ??
32
- align;
33
- /**
34
- * Carbon `DefinitionTooltip` API → DS `DefinitionTooltip`.
35
- *
36
- * The ds branch of the `../ui` `DefinitionTooltip` switch. `carbon-compat` ships
37
- * no adapter for this component, so the DS component is used directly. Its API
38
- * already carries `definition`, `openOnHover`, and `align`.
39
- *
40
- * Unlike Carbon's, the DS component renders the definition through a Radix
41
- * portal, so it is not clipped by an ancestor that hides overflow.
42
- */
43
- export const C4DefinitionTooltip = ({ align, definition, children, ...rest }) => (_jsx(DsDefinitionTooltip, { ...rest, align: align === undefined ? undefined : toDsAlign(align), definition: definition, children: children }));
@@ -1,14 +0,0 @@
1
- import { type ComponentType } from 'react';
2
- /**
3
- * Wraps a Carbon component and its Camunda Design System (carbon-compat)
4
- * counterpart into one component that renders whichever the consumer selected
5
- * via the `designSystem` runtime flag (default 'carbon').
6
- *
7
- * Callers keep the Carbon prop type, so behaviour in Carbon mode is unchanged
8
- * and no JSX edits are needed when routing a component through this layer.
9
- * carbon-compat is Carbon-API-shaped; where its adapter accepts a narrower set
10
- * of props, the unsupported ones are simply ignored in 'ds' mode (a visual
11
- * delta, never a type error at the call site). Only route symbols where that
12
- * degradation is safe — keep ref-dependent or prop-gap symbols on Carbon.
13
- */
14
- export declare function switchable<P extends object>(Carbon: ComponentType<P>, Ds: ComponentType<P> | ComponentType<Record<string, unknown>>): ComponentType<P>;
@@ -1,27 +0,0 @@
1
- /*
2
- * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
- * under one or more contributor license agreements. Licensed under a commercial license.
4
- * You may not use this file except in compliance with the commercial license.
5
- */
6
- import { createElement } from 'react';
7
- import { useC4DesignSystem } from '../runtime/c4-console-runtime-context.js';
8
- /**
9
- * Wraps a Carbon component and its Camunda Design System (carbon-compat)
10
- * counterpart into one component that renders whichever the consumer selected
11
- * via the `designSystem` runtime flag (default 'carbon').
12
- *
13
- * Callers keep the Carbon prop type, so behaviour in Carbon mode is unchanged
14
- * and no JSX edits are needed when routing a component through this layer.
15
- * carbon-compat is Carbon-API-shaped; where its adapter accepts a narrower set
16
- * of props, the unsupported ones are simply ignored in 'ds' mode (a visual
17
- * delta, never a type error at the call site). Only route symbols where that
18
- * degradation is safe — keep ref-dependent or prop-gap symbols on Carbon.
19
- */
20
- export function switchable(Carbon, Ds) {
21
- function Switchable(props) {
22
- const designSystem = useC4DesignSystem();
23
- return createElement((designSystem === 'ds' ? Ds : Carbon), props);
24
- }
25
- Switchable.displayName = `Switchable(${Carbon.displayName ?? Carbon.name ?? 'Component'})`;
26
- return Switchable;
27
- }