@camunda/ccma-saas-frontend 0.18.10 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.d.ts +4 -17
  2. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.js +5 -47
  3. package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.types.d.ts +14 -6
  4. package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.js +1 -2
  5. package/lib/esm/components/c4-api-client-scope-picker/c4-api-client-scope-picker.js +4 -8
  6. package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.js +3 -2
  7. package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.types.d.ts +3 -0
  8. package/lib/esm/components/c4-async-modal/c4-async-modal.js +1 -1
  9. package/lib/esm/components/c4-audit-log/c4-audit-log.js +16 -32
  10. package/lib/esm/components/c4-billing-page/c4-billing-page.js +7 -15
  11. package/lib/esm/components/c4-billing-page/custom-styles.js +9 -9
  12. package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.js +9 -3
  13. package/lib/esm/components/c4-billing-page/elements/plan-details.js +3 -3
  14. package/lib/esm/components/c4-billing-page/elements/value-metric.d.ts +1 -1
  15. package/lib/esm/components/c4-billing-page/elements/value-metric.js +18 -46
  16. package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +4 -10
  17. package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.d.ts +1 -1
  18. package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.js +4 -15
  19. package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.d.ts +1 -1
  20. package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +14 -41
  21. package/lib/esm/components/c4-charts-dashboard/elements/line-chart.d.ts +1 -1
  22. package/lib/esm/components/c4-charts-dashboard/elements/line-chart.js +1 -38
  23. package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +5 -5
  24. package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +8 -22
  25. package/lib/esm/components/c4-cluster-client-credentials/ds-credential-items.d.ts +1 -1
  26. package/lib/esm/components/c4-cluster-client-credentials/ds-credential-items.js +1 -1
  27. package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +10 -28
  28. package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +2 -2
  29. package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.js +2 -2
  30. package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.js +4 -4
  31. package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +2 -2
  32. package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +20 -44
  33. package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +8 -16
  34. package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.js +1 -1
  35. package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.js +2 -2
  36. package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +35 -33
  37. package/lib/esm/components/c4-cluster-list/c4-cluster-expiry-tag.js +3 -7
  38. package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +38 -157
  39. package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +1 -1
  40. package/lib/esm/components/c4-cluster-overview/applications.d.ts +7 -8
  41. package/lib/esm/components/c4-cluster-overview/applications.js +71 -157
  42. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.d.ts +4 -18
  43. package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +11 -50
  44. package/lib/esm/components/c4-cluster-overview/cluster-details.js +19 -36
  45. package/lib/esm/components/c4-cluster-overview/cluster-load.d.ts +2 -4
  46. package/lib/esm/components/c4-cluster-overview/cluster-load.js +16 -199
  47. package/lib/esm/components/c4-cluster-overview/ds-section.d.ts +2 -2
  48. package/lib/esm/components/c4-cluster-overview/ds-section.js +2 -2
  49. package/lib/esm/components/c4-cluster-overview/ds-status-icon-text.d.ts +3 -3
  50. package/lib/esm/components/c4-cluster-overview/ds-status-icon-text.js +2 -2
  51. package/lib/esm/components/c4-cluster-settings/elements/danger-zone.js +2 -5
  52. package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +1 -1
  53. package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.js +5 -5
  54. package/lib/esm/components/c4-cluster-settings/elements/secrets-filter-mode-toggle.js +1 -2
  55. package/lib/esm/components/c4-cluster-settings/elements/session-settings.js +2 -2
  56. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.d.ts +2 -2
  57. package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +1 -3
  58. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.d.ts +1 -1
  59. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.js +12 -77
  60. package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.types.d.ts +0 -1
  61. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.js +47 -52
  62. package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.types.d.ts +1 -1
  63. package/lib/esm/components/c4-console-dashboard/elements/empty-state.d.ts +11 -2
  64. package/lib/esm/components/c4-console-dashboard/elements/empty-state.js +16 -4
  65. package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.js +3 -4
  66. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.d.ts +2 -4
  67. package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.js +20 -58
  68. package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +157 -189
  69. package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.d.ts +1 -1
  70. package/lib/esm/components/c4-create-cluster-api-client-modal/scopes-description-text.d.ts +2 -3
  71. package/lib/esm/components/c4-create-cluster-api-client-modal/scopes-description-text.js +3 -10
  72. package/lib/esm/components/c4-data-table/c4-data-table-skeleton.d.ts +9 -10
  73. package/lib/esm/components/c4-data-table/c4-data-table-skeleton.js +3 -18
  74. package/lib/esm/components/c4-data-table/c4-data-table.d.ts +2 -2
  75. package/lib/esm/components/c4-data-table/c4-data-table.js +3 -17
  76. package/lib/esm/components/c4-delete-account-modal/c4-delete-account-modal.js +1 -2
  77. package/lib/esm/components/c4-divider/c4-divider.js +5 -13
  78. package/lib/esm/components/c4-empty-state/c4-empty-state.d.ts +6 -12
  79. package/lib/esm/components/c4-empty-state/c4-empty-state.js +1 -9
  80. package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.js +1 -2
  81. package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.d.ts +2 -2
  82. package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.js +2 -2
  83. package/lib/esm/components/c4-file-uploader/c4-file-uploader.d.ts +4 -18
  84. package/lib/esm/components/c4-file-uploader/c4-file-uploader.js +7 -33
  85. package/lib/esm/components/c4-help-center/help-center-placeholders.d.ts +1 -1
  86. package/lib/esm/components/c4-hub-upgrade-banner/c4-hub-upgrade-banner.js +2 -2
  87. package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.js +2 -2
  88. package/lib/esm/components/c4-inline-notification/c4-inline-notification.d.ts +15 -9
  89. package/lib/esm/components/c4-inline-notification/c4-inline-notification.js +7 -17
  90. package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +6 -6
  91. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +0 -5
  92. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +1 -6
  93. package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +0 -2
  94. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.js +2 -2
  95. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.d.ts +1 -3
  96. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +4 -56
  97. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.d.ts +1 -3
  98. package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +9 -88
  99. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +12 -26
  100. package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +3 -4
  101. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +2 -2
  102. package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +0 -1
  103. package/lib/esm/components/c4-job-dashboard-shared/c4-background-fetching-indicator.js +1 -1
  104. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.d.ts +2 -3
  105. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js +2 -3
  106. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +4 -4
  107. package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-table-heading-with-tooltip.js +3 -3
  108. package/lib/esm/components/c4-job-dashboard-shared/c4-timestamp-information.js +3 -3
  109. package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.js +25 -25
  110. package/lib/esm/components/c4-management-activity/c4-management-activity.d.ts +5 -1
  111. package/lib/esm/components/c4-management-activity/c4-management-activity.js +6 -39
  112. package/lib/esm/components/c4-management-activity/c4-management-activity.types.d.ts +1 -6
  113. package/lib/esm/components/c4-management-api/c4-management-api.js +4 -6
  114. package/lib/esm/components/c4-management-settings/c4-management-settings.js +24 -34
  115. package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.js +7 -3
  116. package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.js +3 -3
  117. package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.types.d.ts +6 -3
  118. package/lib/esm/components/c4-navigation/c4-navigation.d.ts +17 -33
  119. package/lib/esm/components/c4-navigation/c4-navigation.js +12 -25
  120. package/lib/esm/components/c4-number-input/c4-number-input.js +20 -6
  121. package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.js +1 -4
  122. package/lib/esm/components/c4-org-cluster-defaults/c4-org-cluster-defaults.js +2 -2
  123. package/lib/esm/components/c4-page-layout/c4-page-layout.d.ts +2 -6
  124. package/lib/esm/components/c4-page-layout/c4-page-layout.js +3 -12
  125. package/lib/esm/components/c4-page-template/c4-page-template.d.ts +0 -3
  126. package/lib/esm/components/c4-page-template/c4-page-template.js +1 -11
  127. package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.js +14 -14
  128. package/lib/esm/components/c4-pricing/c4-pricing.js +1 -1
  129. package/lib/esm/components/c4-pricing-card/c4-pricing-card.js +5 -13
  130. package/lib/esm/components/c4-search/c4-search-results.js +44 -36
  131. package/lib/esm/components/c4-search/c4-search.js +5 -7
  132. package/lib/esm/components/c4-segmented-control/c4-segmented-control.d.ts +5 -19
  133. package/lib/esm/components/c4-segmented-control/c4-segmented-control.js +6 -18
  134. package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.d.ts +5 -8
  135. package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.js +5 -19
  136. package/lib/esm/components/c4-stateful-button/c4-stateful-button.js +12 -2
  137. package/lib/esm/components/c4-stateful-button/c4-stateful-button.types.d.ts +4 -1
  138. package/lib/esm/components/c4-structured-list/c4-structured-list.d.ts +33 -18
  139. package/lib/esm/components/c4-structured-list/c4-structured-list.js +15 -60
  140. package/lib/esm/components/c4-tabs/c4-tabs.js +4 -8
  141. package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.js +3 -3
  142. package/lib/esm/components/c4-toast-notification/c4-toast-notification.d.ts +13 -9
  143. package/lib/esm/components/c4-toast-notification/c4-toast-notification.js +3 -12
  144. package/lib/esm/components/c4-toggle/c4-toggle.js +1 -3
  145. package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.js +2 -2
  146. package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.js +3 -9
  147. package/lib/esm/components/c4-usage-history/c4-usage-history.js +4 -5
  148. package/lib/esm/components/c4-usage-history/elements/usage-history-charts.js +3 -40
  149. package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +4 -5
  150. package/lib/esm/components/c4-user-details/tabs/authorized-resources.js +1 -3
  151. package/lib/esm/components/shared-charts/ds-line-chart.d.ts +4 -6
  152. package/lib/esm/components/shared-charts/ds-line-chart.js +5 -7
  153. package/lib/esm/components/shared-charts/ds-meter-chart.d.ts +3 -5
  154. package/lib/esm/components/shared-charts/ds-meter-chart.js +8 -10
  155. package/lib/esm/components/shared-charts/recharts-tokens.d.ts +6 -7
  156. package/lib/esm/components/shared-charts/recharts-tokens.js +6 -7
  157. package/lib/esm/index.css +107 -74
  158. package/lib/esm/index.d.ts +1 -9
  159. package/lib/esm/index.js +1 -5
  160. package/lib/esm/runtime/c4-console-runtime-context.d.ts +3 -10
  161. package/lib/esm/runtime/c4-console-runtime-context.js +11 -23
  162. package/lib/esm/runtime/c4-console-runtime.types.d.ts +0 -8
  163. package/lib/esm/runtime/c4-user-theme.d.ts +4 -4
  164. package/lib/esm/runtime/c4-user-theme.js +4 -4
  165. package/lib/esm/runtime/index.d.ts +1 -1
  166. package/lib/esm/runtime/index.js +1 -1
  167. package/lib/esm/runtime/nav/use-webapp-nav-data.d.ts +2 -2
  168. package/lib/esm/runtime/nav/use-webapp-nav-data.js +2 -2
  169. package/lib/esm/ui/c4-cluster-tag.d.ts +1 -1
  170. package/lib/esm/ui/c4-cluster-tag.js +1 -1
  171. package/lib/esm/ui/c4-modal-dialog.d.ts +7 -11
  172. package/lib/esm/ui/c4-modal-dialog.js +18 -9
  173. package/lib/esm/ui/c4-password-input.d.ts +4 -8
  174. package/lib/esm/ui/c4-password-input.js +4 -8
  175. package/lib/esm/ui/c4-text-area.d.ts +19 -0
  176. package/lib/esm/ui/c4-text-area.js +30 -0
  177. package/lib/esm/ui/ds-compact-code-block.d.ts +1 -1
  178. package/lib/esm/ui/ds-compact-code-block.js +1 -1
  179. package/lib/esm/ui/families.d.ts +13 -46
  180. package/lib/esm/ui/families.js +8 -51
  181. package/lib/esm/ui/index.d.ts +11 -53
  182. package/lib/esm/ui/index.js +19 -152
  183. package/lib/esm/ui/tabs.d.ts +1 -21
  184. package/lib/esm/ui/tabs.js +1 -22
  185. package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +2 -3
  186. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +17 -99
  187. package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +1 -1
  188. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +2 -3
  189. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +16 -58
  190. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +8 -16
  191. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +4 -5
  192. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +1 -1
  193. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +13 -51
  194. package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +23 -22
  195. package/lib/esm/widgets/clusters/c4-clusters-page.js +1 -2
  196. package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +1 -1
  197. package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +1 -1
  198. package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +1 -1
  199. package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.js +1 -1
  200. package/lib/esm/widgets/connector-management/c4-connector-management-page.js +1 -1
  201. package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +3 -4
  202. package/lib/esm/widgets/dashboard/c4-dashboard-app.types.d.ts +1 -1
  203. package/lib/esm/widgets/group-details/c4-group-details-page.js +2 -3
  204. package/lib/esm/widgets/management/c4-management-app.js +6 -9
  205. package/lib/esm/widgets/management/c4-management-app.types.d.ts +1 -1
  206. package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +1 -1
  207. package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +2 -2
  208. package/lib/esm/widgets/management/tabs/c4-management-overview-tab.js +2 -2
  209. package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +1 -1
  210. package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +4 -12
  211. package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +12 -12
  212. package/lib/esm/widgets/user-details/c4-user-details-page.js +6 -6
  213. package/package.json +3 -14
  214. package/lib/esm/components/c4-sm-cluster-details/automation-components.d.ts +0 -3
  215. package/lib/esm/components/c4-sm-cluster-details/automation-components.js +0 -21
  216. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.d.ts +0 -3
  217. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.js +0 -22
  218. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.d.ts +0 -71
  219. package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.js +0 -6
  220. package/lib/esm/components/c4-sm-cluster-details/custom-properties.d.ts +0 -4
  221. package/lib/esm/components/c4-sm-cluster-details/custom-properties.js +0 -25
  222. package/lib/esm/components/c4-sm-cluster-details/details.d.ts +0 -7
  223. package/lib/esm/components/c4-sm-cluster-details/details.js +0 -19
  224. package/lib/esm/components/c4-sm-cluster-details/zeebe-components.d.ts +0 -3
  225. package/lib/esm/components/c4-sm-cluster-details/zeebe-components.js +0 -44
  226. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.d.ts +0 -3
  227. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.js +0 -34
  228. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.d.ts +0 -40
  229. package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.js +0 -6
  230. package/lib/esm/components/c4-sm-dashboard/cluster-tile.d.ts +0 -9
  231. package/lib/esm/components/c4-sm-dashboard/cluster-tile.js +0 -60
  232. package/lib/esm/components/c4-sm-dashboard/component-tile.d.ts +0 -14
  233. package/lib/esm/components/c4-sm-dashboard/component-tile.js +0 -46
  234. package/lib/esm/components/c4-sm-dashboard/explore.d.ts +0 -20
  235. package/lib/esm/components/c4-sm-dashboard/explore.js +0 -24
  236. package/lib/esm/components/c4-sm-dashboard/health-status.d.ts +0 -10
  237. package/lib/esm/components/c4-sm-dashboard/health-status.js +0 -60
  238. package/lib/esm/components/c4-sm-dashboard/overview.d.ts +0 -13
  239. package/lib/esm/components/c4-sm-dashboard/overview.js +0 -148
  240. package/lib/esm/components/c4-sm-dashboard/usage-tile.d.ts +0 -22
  241. package/lib/esm/components/c4-sm-dashboard/usage-tile.js +0 -36
  242. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.d.ts +0 -4
  243. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.js +0 -114
  244. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.d.ts +0 -45
  245. package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.js +0 -6
  246. package/lib/esm/components/c4-telemetry-page/component-metrics.d.ts +0 -26
  247. package/lib/esm/components/c4-telemetry-page/component-metrics.js +0 -42
  248. package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.d.ts +0 -2
  249. package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.js +0 -6
  250. package/lib/esm/components/c4-telemetry-page/telemetry-for-component.d.ts +0 -50
  251. package/lib/esm/components/c4-telemetry-page/telemetry-for-component.js +0 -113
  252. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.d.ts +0 -3
  253. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.js +0 -80
  254. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.d.ts +0 -40
  255. package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.js +0 -6
  256. package/lib/esm/ui/c4-definition-tooltip.d.ts +0 -15
  257. package/lib/esm/ui/c4-definition-tooltip.js +0 -43
  258. package/lib/esm/ui/switchable.d.ts +0 -14
  259. package/lib/esm/ui/switchable.js +0 -27
@@ -1,29 +1,6 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from 'react';
3
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
4
- import { Stack } from '../../ui/index.js';
5
- import { useMenuButtonFamily } from '../../ui/families.js';
6
3
  import { C4DataTable } from '../c4-data-table/c4-data-table.js';
7
- import { C4StructuredListBody, C4StructuredListCell, C4StructuredListRow, C4StructuredListSkeleton, C4StructuredListWrapper, } from '../c4-structured-list/c4-structured-list.js';
8
- /**
9
- * Carbon layout: unchanged since before the ds redesign. Groups activity into
10
- * pre-bucketed sections ("Last 24 hours", "Yesterday", ...) rendered as
11
- * condensed structured lists, with the export menu on the first section.
12
- *
13
- * Kept byte-for-byte to preserve carbon visual-regression parity — the ds
14
- * data-table redesign lives in `C4ManagementActivityDs` and is selected only
15
- * when the consumer opts into the Design System.
16
- */
17
- const C4ManagementActivityCarbon = ({ orgId, activities, loading, downloading, onExportJSON, onExportCSV, exportLabel, exportingLabel, exportJSONLabel, exportCSVLabel, noActivityText, }) => {
18
- const { MenuButton, MenuItem } = useMenuButtonFamily();
19
- if (loading) {
20
- return _jsx(C4StructuredListSkeleton, { rowCount: 6 });
21
- }
22
- const component = (_jsx(Stack, { gap: 8, children: activities.map((activity, index) => (_jsxs(Stack, { gap: 3, children: [_jsxs("div", { style: { display: 'flex', justifyContent: 'space-between' }, children: [_jsx("h2", { children: activity.heading }), index === 0 && (_jsxs(MenuButton, { label: downloading ? exportingLabel : exportLabel, menuAlignment: 'bottom', disabled: downloading, children: [_jsx(MenuItem, { onClick: onExportJSON, label: exportJSONLabel }), _jsx(MenuItem, { onClick: onExportCSV, label: exportCSVLabel })] }))] }), activity.entries.length > 0 ? (_jsx("div", { style: { overflowX: 'auto' }, children: _jsx(C4StructuredListWrapper, { isCondensed: true, children: _jsx(C4StructuredListBody, { children: activity.entries.map((item, entryIndex) => {
23
- return (_jsxs(C4StructuredListRow, { children: [_jsx(C4StructuredListCell, { noWrap: true, children: _jsxs(Stack, { gap: 1, children: [_jsx("strong", { children: item.date }), _jsx("span", { children: item.user })] }) }), _jsx(C4StructuredListCell, { noWrap: true, children: item.entry }), _jsx(C4StructuredListCell, { noWrap: true })] }, `activity-${orgId}-${activity.heading}-${entryIndex}`));
24
- }) }) }) })) : (_jsx("p", { children: noActivityText }))] }, `activity-${orgId}-${activity.heading}-section`))) }));
25
- return component;
26
- };
27
4
  /**
28
5
  * Ascending timestamp comparator with `originalIndex` as a stable tie-breaker,
29
6
  * so rows sharing a timestamp (or both missing one) keep a deterministic order
@@ -40,15 +17,10 @@ const compareByTimestamp = (a, b) => {
40
17
  return a.originalIndex - b.originalIndex;
41
18
  };
42
19
  /**
43
- * Design System layout: a single, searchable, paginated data table with
44
- * Name / Timestamp / Audit columns, sortable by any column and defaulting to
45
- * newest-first (matching the carbon ordering). The time-bucket headings from
46
- * the carbon layout are dropped in favour of a sortable timestamp column.
47
- *
48
- * ds-mode only — never rendered in carbon mode, so it has no effect on the
49
- * existing (carbon) layout or its visual snapshots.
20
+ * A single, searchable, paginated data table with Name / Timestamp / Audit
21
+ * columns. Any column can sort it. The default order is newest first.
50
22
  */
51
- const C4ManagementActivityDs = ({ activities, loading, downloading, onExportJSON, onExportCSV, exportLabel, exportingLabel, exportJSONLabel, exportCSVLabel, searchLabel = 'Search activity', nameColumnLabel = 'Name', timestampColumnLabel = 'Timestamp', auditColumnLabel = 'Audit', }) => {
23
+ export const C4ManagementActivity = ({ activities, loading, downloading, onExportJSON, onExportCSV, exportLabel, exportingLabel, exportJSONLabel, exportCSVLabel, searchLabel = 'Search activity', nameColumnLabel = 'Name', timestampColumnLabel = 'Timestamp', auditColumnLabel = 'Audit', }) => {
52
24
  // Memoized so the mapped+sorted array keeps a stable identity across parent
53
25
  // re-renders; a fresh array would reset the data table's page (TanStack
54
26
  // `autoResetPageIndex`) and re-run the O(n log n) sort every render.
@@ -62,9 +34,8 @@ const C4ManagementActivityDs = ({ activities, loading, downloading, onExportJSON
62
34
  timestamp: entry.timestamp,
63
35
  audit: entry.entry,
64
36
  }))
65
- // Newest first by default, so the initial view matches the carbon
66
- // layout; ties keep their original order via the `originalIndex`
67
- // tie-breaker.
37
+ // Newest first by default. Ties keep their original order through
38
+ // the `originalIndex` tie-breaker.
68
39
  .sort((a, b) => {
69
40
  if (a.timestamp !== b.timestamp) {
70
41
  if (a.timestamp === undefined)
@@ -115,7 +86,3 @@ const C4ManagementActivityDs = ({ activities, loading, downloading, onExportJSON
115
86
  ];
116
87
  return (_jsx(C4DataTable, { data: rows, isLoading: loading, headers: headers, toolbar: toolbar, options: { pageSize: 20, pageSizes: [10, 20, 50, 100] }, queryPrefix: 'management-activity' }));
117
88
  };
118
- export const C4ManagementActivity = (props) => {
119
- const designSystem = useC4DesignSystem();
120
- return designSystem === 'ds' ? (_jsx(C4ManagementActivityDs, { ...props })) : (_jsx(C4ManagementActivityCarbon, { ...props }));
121
- };
@@ -2,12 +2,7 @@ export interface ActivityEntry {
2
2
  date: string;
3
3
  user: string;
4
4
  entry: string;
5
- /**
6
- * Raw event time in epoch milliseconds. ds-mode only: powers reliable
7
- * timestamp sorting in the data-table layout. Ignored by the carbon layout,
8
- * which groups entries into pre-bucketed sections instead. Optional so
9
- * existing callers (and the carbon path) keep working unchanged.
10
- */
5
+ /** Raw event time in epoch milliseconds. It makes timestamp sorting reliable. */
11
6
  timestamp?: number;
12
7
  }
13
8
  export interface OrgActivity {
@@ -192,12 +192,10 @@ export const C4ManagementApi = ({ clients, loading, showIpWhitelistColumn, showH
192
192
  }
193
193
  const expandedRow = () => {
194
194
  return (
195
- // Force the primary text token: the ds DataTable's expansion region is
196
- // styled by the design system, and the Carbon list text would otherwise
197
- // inherit a colour that is too dark in ds dark mode. `--cds-text-primary`
198
- // is the normal primary text in carbon and is remapped to the DS
199
- // foreground (light in dark) under html.c4-ds.
200
- _jsxs(UnorderedList, { style: { color: 'var(--cds-text-primary)' }, children: [_jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedClientSecret, ": ", text.expandedClientSecretNotVisible] }), _jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedApiUrl, ":", ' ', _jsx(CodeSnippet, { type: 'inline', feedback: text.urlCopiedFeedback, children: urls.apiUrl })] }), _jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedOauthUrl, ":", ' ', _jsx(CodeSnippet, { type: 'inline', feedback: text.urlCopiedFeedback, children: urls.oauthUrl })] })] }));
195
+ // Force the primary text token: the DataTable's expansion region is
196
+ // styled by the design system, and the list text would otherwise
197
+ // inherit a color that is too dark in dark mode.
198
+ _jsxs(UnorderedList, { style: { color: 'var(--neutral-foreground-strong)' }, children: [_jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedClientSecret, ": ", text.expandedClientSecretNotVisible] }), _jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedApiUrl, ":", ' ', _jsx(CodeSnippet, { type: 'inline', feedback: text.urlCopiedFeedback, children: urls.apiUrl })] }), _jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedOauthUrl, ":", ' ', _jsx(CodeSnippet, { type: 'inline', feedback: text.urlCopiedFeedback, children: urls.oauthUrl })] })] }));
201
199
  };
202
200
  const component = (_jsxs(Stack, { gap: 3, children: [_jsx("div", { style: { display: 'flex', flexDirection: 'column', overflowX: 'auto' }, children: _jsx(C4DataTable, { headers: headerData, data: clients.map((item) => {
203
201
  return { ...item, expansion: expandedRow() };
@@ -1,8 +1,7 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ConnectionSend, Renew, TrashCan } from '@carbon/react/icons/index.esm.js';
2
+ import { LogOut, RefreshCw, Trash2 } from 'lucide-react';
3
3
  import { useMemo } from 'react';
4
4
  import { C4_ASSET_URLS } from '../../assetUrls.js';
5
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
6
5
  import { Button, DsCard, Link, Stack } from '../../ui/index.js';
7
6
  import { SECTION_HEADING_STYLE } from '../../utils/section-heading-style.js';
8
7
  import { C4ActionableNotification } from '../c4-actionable-notification/c4-actionable-notification.js';
@@ -12,7 +11,6 @@ import { C4ExternalLink } from '../c4-external-link/c4-external-link.js';
12
11
  import { C4StructuredListSkeleton } from '../c4-structured-list/c4-structured-list.js';
13
12
  import { C4Toggle } from '../c4-toggle/c4-toggle.js';
14
13
  export const C4ManagementSettings = ({ orgId: _orgId, organizationName: _organizationName, hasAcceptedBetaTerms, suppressDropDisks, earlyAccessFeatures, recentlyAcceptedBeta, loading, error, permissions, onLeaveOrganization, onDeleteOrganization, onToggleSuppressDropDisks, onToggleEarlyAccessFeature, onOptInToBeta, onOpenFeatureOptIn, onShareFeedback, onRetry, text, earlyAccessDocsUrl, }) => {
15
- const isDs = useC4DesignSystem() === 'ds';
16
14
  const canBeToggled = (feature) => {
17
15
  return !feature.requiresClickwrap || feature.hasAcceptedFeatureTerms;
18
16
  };
@@ -47,7 +45,7 @@ export const C4ManagementSettings = ({ orgId: _orgId, organizationName: _organiz
47
45
  type: 'wrapper',
48
46
  options: {
49
47
  wrapperOptions: {
50
- wrapper: (row) => (_jsx(Link, { className: 'cds--link', href: row.documentationLink, target: '_blank', children: text.earlyAccess.viewDocsLabel })),
48
+ wrapper: (row) => (_jsx(Link, { className: 'c4-link', href: row.documentationLink, target: '_blank', children: text.earlyAccess.viewDocsLabel })),
51
49
  },
52
50
  },
53
51
  },
@@ -92,18 +90,18 @@ export const C4ManagementSettings = ({ orgId: _orgId, organizationName: _organiz
92
90
  if (loading) {
93
91
  return _jsx(C4StructuredListSkeleton, { rowCount: 6 });
94
92
  }
95
- // ds mode resets bare heading tags to the body text size, so the section
96
- // title gets the shared section heading style. Carbon keeps its `h4`.
97
- const sectionHeading = (children) => isDs ? (_jsx("h4", { style: SECTION_HEADING_STYLE, children: children })) : (_jsx("h4", { children: children }));
98
- const leaveOrganizationBody = (_jsxs(_Fragment, { children: [sectionHeading(text.leaveOrganization.title), _jsx("p", { style: { marginTop: '8px', color: 'var(--cds-text-helper)' }, children: text.leaveOrganization.consequence }), _jsx("p", { style: { color: 'var(--cds-text-helper)' }, children: text.leaveOrganization.regainAccess }), _jsx(Button, { style: { marginTop: '24px' }, onClick: onLeaveOrganization, size: 'md', kind: 'danger--tertiary', renderIcon: ConnectionSend, children: text.leaveOrganization.buttonLabel })] }));
99
- const suppressDropDisksBody = (_jsxs(_Fragment, { children: [sectionHeading(text.suppressDropDisks.title), _jsx("p", { style: { marginTop: '8px', color: 'var(--cds-text-helper)' }, children: text.suppressDropDisks.description }), _jsx(C4Toggle, { id: 'suppress-drop-disks-toggle', supported: true, enabled: suppressDropDisks, title: '', notices: [], onClick: onToggleSuppressDropDisks, permissions: {
93
+ // The DS resets bare heading tags to the body text size, so the section
94
+ // title gets the shared section heading style.
95
+ const sectionHeading = (children) => (_jsx("h4", { style: SECTION_HEADING_STYLE, children: children }));
96
+ const leaveOrganizationBody = (_jsxs(_Fragment, { children: [sectionHeading(text.leaveOrganization.title), _jsx("p", { style: { marginTop: '8px', color: 'var(--neutral-foreground-subtle)' }, children: text.leaveOrganization.consequence }), _jsx("p", { style: { color: 'var(--neutral-foreground-subtle)' }, children: text.leaveOrganization.regainAccess }), _jsx(Button, { style: { marginTop: '24px' }, onClick: onLeaveOrganization, size: 'md', kind: 'danger--tertiary', renderIcon: LogOut, children: text.leaveOrganization.buttonLabel })] }));
97
+ const suppressDropDisksBody = (_jsxs(_Fragment, { children: [sectionHeading(text.suppressDropDisks.title), _jsx("p", { style: { marginTop: '8px', color: 'var(--neutral-foreground-subtle)' }, children: text.suppressDropDisks.description }), _jsx(C4Toggle, { id: 'suppress-drop-disks-toggle', supported: true, enabled: suppressDropDisks, title: '', notices: [], onClick: onToggleSuppressDropDisks, permissions: {
100
98
  mayToggle: true,
101
99
  } })] }));
102
- const deleteOrganizationBody = (_jsxs(_Fragment, { children: [sectionHeading(text.deleteOrganization.title), _jsx("p", { style: { marginTop: '8px', color: 'var(--cds-text-helper)' }, children: text.deleteOrganization.consequence }), _jsx(Button, { style: { marginTop: '24px' }, renderIcon: TrashCan, kind: 'danger', size: 'md', iconDescription: text.deleteOrganization.buttonLabel, onClick: onDeleteOrganization, children: text.deleteOrganization.buttonLabel })] }));
103
- const earlyAccessBody = (_jsxs(_Fragment, { children: [sectionHeading(text.earlyAccess.title), _jsx("p", { style: { marginTop: '12px', color: 'var(--cds-text-helper)' }, children: text.earlyAccess.description0 }), _jsxs("p", { style: {
100
+ const deleteOrganizationBody = (_jsxs(_Fragment, { children: [sectionHeading(text.deleteOrganization.title), _jsx("p", { style: { marginTop: '8px', color: 'var(--neutral-foreground-subtle)' }, children: text.deleteOrganization.consequence }), _jsx(Button, { style: { marginTop: '24px' }, renderIcon: Trash2, kind: 'danger', size: 'md', iconDescription: text.deleteOrganization.buttonLabel, onClick: onDeleteOrganization, children: text.deleteOrganization.buttonLabel })] }));
101
+ const earlyAccessBody = (_jsxs(_Fragment, { children: [sectionHeading(text.earlyAccess.title), _jsx("p", { style: { marginTop: '12px', color: 'var(--neutral-foreground-subtle)' }, children: text.earlyAccess.description0 }), _jsxs("p", { style: {
104
102
  marginBottom: '18px',
105
- color: 'var(--cds-text-helper)',
106
- }, children: [text.earlyAccess.description1, ' ', _jsx(C4ExternalLink, { id: 'docs-link', label: text.earlyAccess.learnMoreLabel, href: earlyAccessDocsUrl, target: '_blank' })] }), _jsxs(Stack, { children: [recentlyAcceptedBeta && (_jsx(C4ActionableNotification, { appearance: 'static', lowContrast: true, titleId: 'optInNotification-feedback', "aria-describedby": 'optInNotification-feedback', title: text.earlyAccess.optInNotificationTitle, subtitle: text.earlyAccess.optInNotificationText, actionButtonLabel: text.earlyAccess.optInNotificationFeedback, onActionButtonClick: onShareFeedback, kind: 'success', style: {
103
+ color: 'var(--neutral-foreground-subtle)',
104
+ }, children: [text.earlyAccess.description1, ' ', _jsx(C4ExternalLink, { id: 'docs-link', label: text.earlyAccess.learnMoreLabel, href: earlyAccessDocsUrl, target: '_blank' })] }), _jsxs(Stack, { children: [recentlyAcceptedBeta && (_jsx(C4ActionableNotification, { appearance: 'static', lowContrast: true, title: text.earlyAccess.optInNotificationTitle, subtitle: text.earlyAccess.optInNotificationText, actionButtonLabel: text.earlyAccess.optInNotificationFeedback, onActionButtonClick: onShareFeedback, kind: 'success', style: {
107
105
  maxWidth: '100%',
108
106
  marginBottom: '12px',
109
107
  } }, 'optin-notification')), error ? (_jsx(C4EmptyState, { icon: {
@@ -113,38 +111,30 @@ export const C4ManagementSettings = ({ orgId: _orgId, organizationName: _organiz
113
111
  onClick: onRetry,
114
112
  disabled: false,
115
113
  label: text.earlyAccess.errorButton,
116
- icon: Renew,
114
+ icon: RefreshCw,
117
115
  }, link: {
118
116
  href: '',
119
117
  label: '',
120
118
  } })) : earlyAccessFeatures.length === 0 ? (_jsx("div", { style: {
121
- borderTop: '1px solid var(--cds-border-subtle)',
119
+ borderTop: '1px solid var(--border)',
122
120
  }, children: _jsx("p", { style: {
123
121
  marginTop: '12px',
124
- color: 'var(--cds-text-helper)',
122
+ color: 'var(--neutral-foreground-subtle)',
125
123
  }, children: text.earlyAccess.emptyState }) })) : (_jsx("div", { style: {
126
124
  display: 'flex',
127
125
  flexDirection: 'column',
128
126
  overflowX: 'auto',
129
127
  }, children: _jsx(C4DataTable, { headers: headers, data: tableData, isLoading: false, queryPrefix: 'management-settings' }) })), !hasAcceptedBetaTerms && permissions.mayOptInToBeta && (_jsx(Button
130
- // ds mode: the Stack stretches its children, so the button keeps
131
- // its own width, like the Leave and Delete buttons.
128
+ // The Stack stretches its children, so the button keeps its own
129
+ // width, like the Leave and Delete buttons.
132
130
  , {
133
- // ds mode: the Stack stretches its children, so the button keeps
134
- // its own width, like the Leave and Delete buttons.
135
- className: isDs ? 'self-start' : undefined, style: { marginTop: '16px' }, onClick: onOptInToBeta, size: 'md', children: text.earlyAccess.optInButton }))] })] }));
131
+ // The Stack stretches its children, so the button keeps its own
132
+ // width, like the Leave and Delete buttons.
133
+ className: 'self-start', style: { marginTop: '16px' }, onClick: onOptInToBeta, size: 'md', children: text.earlyAccess.optInButton }))] })] }));
136
134
  const showEarlyAccess = Boolean(permissions.mayToggleEarlyAccessFeatures && earlyAccessFeatures);
137
- if (isDs) {
138
- // ds mode: every section is a DS card, as on the other settings pages.
139
- // Leave organization and then Delete organization come last. The card is a
140
- // flex column that stretches its children, so the cards with a button
141
- // align them to the start; Alpha features keeps its full-width table.
142
- return (_jsxs(Stack, { gap: 6, children: [permissions.maySuppressDropDisks && (_jsx(DsCard, { className: 'items-start gap-0 p-5', children: suppressDropDisksBody })), showEarlyAccess && (_jsx(DsCard, { className: 'gap-0 p-5', children: earlyAccessBody })), permissions.mayLeaveOrganization && (_jsx(DsCard, { className: 'items-start gap-0 p-5', children: leaveOrganizationBody })), permissions.mayDeleteOrganization && (_jsx(DsCard, { className: 'items-start gap-0 p-5', children: deleteOrganizationBody }))] }));
143
- }
144
- const carbonBoxStyle = {
145
- backgroundColor: 'var(--cds-layer)',
146
- padding: '20px',
147
- };
148
- const component = (_jsxs(Stack, { gap: 6, children: [permissions.mayLeaveOrganization && (_jsx("div", { style: { marginTop: '10px' }, children: _jsx("div", { style: carbonBoxStyle, children: leaveOrganizationBody }) })), permissions.maySuppressDropDisks && (_jsx("div", { children: _jsx("div", { style: carbonBoxStyle, children: suppressDropDisksBody }) })), permissions.mayDeleteOrganization && (_jsx("div", { children: _jsx("div", { style: carbonBoxStyle, children: deleteOrganizationBody }) })), showEarlyAccess && (_jsx("div", { children: _jsx("div", { style: carbonBoxStyle, children: earlyAccessBody }) }))] }));
149
- return component;
135
+ // Every section is a DS card, as on the other settings pages. Leave
136
+ // organization and then Delete organization come last. The card is a flex
137
+ // column that stretches its children, so the cards with a button align them
138
+ // to the start; Alpha features keeps its full-width table.
139
+ return (_jsxs(Stack, { gap: 6, children: [permissions.maySuppressDropDisks && (_jsx(DsCard, { className: 'items-start gap-0 p-5', children: suppressDropDisksBody })), showEarlyAccess && (_jsx(DsCard, { className: 'gap-0 p-5', children: earlyAccessBody })), permissions.mayLeaveOrganization && (_jsx(DsCard, { className: 'items-start gap-0 p-5', children: leaveOrganizationBody })), permissions.mayDeleteOrganization && (_jsx(DsCard, { className: 'items-start gap-0 p-5', children: deleteOrganizationBody }))] }));
150
140
  };
@@ -4,9 +4,10 @@ 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 { InlineLoading, ProgressIndicator, ProgressStep } from '@carbon/react';
7
+ import { Stepper, StepperStep } from '@camunda/design-system';
8
8
  import { useLayoutEffect, useRef, useState } from 'react';
9
9
  import { Button, ComposedModal, ModalBody, ModalFooter, ModalHeader, Stack, } from '../../ui/index.js';
10
+ import { SpinningLoader } from '../c4-cluster-overview/ds-status-icon-text.js';
10
11
  import { C4InlineNotification } from '../c4-inline-notification/c4-inline-notification.js';
11
12
  export const C4MultiStepModal = ({ title, subtitle, steps, isOpen, onClose, preventCloseOnClickOutside, }) => {
12
13
  const [step, setStep] = useState(0);
@@ -28,7 +29,10 @@ export const C4MultiStepModal = ({ title, subtitle, steps, isOpen, onClose, prev
28
29
  }, [isOpen]);
29
30
  const currentStep = steps[step];
30
31
  const { primary, secondary } = currentStep.actions;
31
- const component = (_jsxs(ComposedModal, { open: isOpen, onClose: onClose, preventCloseOnClickOutside: preventCloseOnClickOutside ?? false, children: [_jsx(ModalHeader, { title: title, label: subtitle }), _jsx(ModalBody, { children: _jsxs(Stack, { gap: 8, children: [_jsx(ProgressIndicator, { currentIndex: step, spaceEqually: true, children: steps.map((step, index) => (_jsx(ProgressStep, { label: step.title, secondaryLabel: step.subtitle }, index))) }), currentStep.content, error.length > 0 && (_jsx(C4InlineNotification, { kind: 'error', title: 'Error', subtitle: error }))] }) }), _jsxs(ModalFooter, { children: [_jsx(Button, { kind: secondary.kind, disabled: asyncWork || secondary.disabled, onClick: () => {
32
+ const component = (_jsxs(ComposedModal, { open: isOpen, onClose: onClose,
33
+ // The DS adapter drops `size`. This width class is in the DS stylesheet.
34
+ // The stepper needs room for two steps with a title and a subtitle each.
35
+ className: 'sm:max-w-[800px]', preventCloseOnClickOutside: preventCloseOnClickOutside ?? false, children: [_jsx(ModalHeader, { title: title, label: subtitle }), _jsx(ModalBody, { children: _jsxs(Stack, { gap: 8, children: [_jsx(Stepper, { currentStep: step, "aria-label": title, children: steps.map((item, index) => (_jsxs(StepperStep, { children: [item.title, item.subtitle && (_jsx("span", { style: { opacity: 0.8 }, children: item.subtitle }))] }, index))) }), currentStep.content, error.length > 0 && (_jsx(C4InlineNotification, { kind: 'error', title: 'Error', subtitle: error }))] }) }), _jsxs(ModalFooter, { children: [_jsx(Button, { kind: secondary.kind, disabled: asyncWork || secondary.disabled, onClick: () => {
32
36
  if (step > 0) {
33
37
  setError('');
34
38
  setStep(step - 1);
@@ -70,6 +74,6 @@ export const C4MultiStepModal = ({ title, subtitle, steps, isOpen, onClose, prev
70
74
  else {
71
75
  setError(valid.message);
72
76
  }
73
- }, children: asyncWork ? _jsx(InlineLoading, {}) : primary.label })] })] }));
77
+ }, children: asyncWork ? (_jsx(SpinningLoader, { size: 16, "aria-label": 'Loading', role: 'status' })) : (primary.label) })] })] }));
74
78
  return component;
75
79
  };
@@ -4,9 +4,9 @@ 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 { ButtonSet, InlineLoading } from '@carbon/react';
8
7
  import { useState } from 'react';
9
8
  import { Button, ComposedModal, ModalBody, ModalFooter, ModalHeader, } from '../../ui/index.js';
9
+ import { SpinningLoader } from '../c4-cluster-overview/ds-status-icon-text.js';
10
10
  import { C4InlineNotification } from '../c4-inline-notification/c4-inline-notification.js';
11
11
  export const C4MultiStepUglyModal = ({ open, steps, onClose, size, }) => {
12
12
  const [currentStep, setCurrentStep] = useState(1);
@@ -22,7 +22,7 @@ export const C4MultiStepUglyModal = ({ open, steps, onClose, size, }) => {
22
22
  const resolvedHeaderLabel = typeof headerLabel === 'string' && headerLabel.trim().length === 0
23
23
  ? undefined
24
24
  : headerLabel;
25
- return (_jsxs(ComposedModal, { open: open, size: size ?? 'sm', onClose: onClose, preventCloseOnClickOutside: true, children: [_jsx(ModalHeader, { title: step.title, label: resolvedHeaderLabel }), _jsxs(ModalBody, { children: [step.content, error.length > 0 && (_jsx(C4InlineNotification, { kind: 'error', title: 'Error', subtitle: error }))] }), _jsx(ModalFooter, { children: _jsx(ButtonSet, { style: { width: '100%' }, children: buttons.map((button, index) => {
25
+ return (_jsxs(ComposedModal, { open: open, size: size ?? 'sm', onClose: onClose, preventCloseOnClickOutside: true, children: [_jsx(ModalHeader, { title: step.title, label: resolvedHeaderLabel }), _jsxs(ModalBody, { children: [step.content, error.length > 0 && (_jsx(C4InlineNotification, { kind: 'error', title: 'Error', subtitle: error }))] }), _jsx(ModalFooter, { children: _jsx("div", { style: { display: 'flex', width: '100%' }, children: buttons.map((button, index) => {
26
26
  return (_jsx(Button, { kind: button.kind, onClick: async () => {
27
27
  setError('');
28
28
  setLoadingStatus('active');
@@ -41,6 +41,6 @@ export const C4MultiStepUglyModal = ({ open, steps, onClose, size, }) => {
41
41
  setActiveButtonClickIndex(-1);
42
42
  }
43
43
  }, disabled: button.disabled || loadingStatus === 'active', size: 'xl', style: { flex: 1, maxInlineSize: '100%' }, children: loadingStatus === 'active' &&
44
- activeButtonClickIndex === index ? (_jsx(InlineLoading, {})) : (button.label) }, index));
44
+ activeButtonClickIndex === index ? (_jsx(SpinningLoader, { size: 16, "aria-label": 'Loading', role: 'status' })) : (button.label) }, index));
45
45
  }) }) })] }));
46
46
  };
@@ -1,10 +1,12 @@
1
- import type { ButtonProps } from '@carbon/react';
1
+ import type { ComponentProps } from 'react';
2
+ import type { Button } from '../../ui/index.js';
3
+ type ButtonProps = ComponentProps<typeof Button>;
2
4
  export type C4MultiStepButton = {
3
5
  label: string;
4
6
  onClick: (currentStep: number) => number | Promise<number>;
5
- kind: NonNullable<ButtonProps<'button'>['kind']>;
7
+ kind: NonNullable<ButtonProps['kind']>;
6
8
  disabled?: boolean;
7
- type?: ButtonProps<'button'>['type'];
9
+ type?: ButtonProps['type'];
8
10
  };
9
11
  export type Step = {
10
12
  content: React.ReactNode;
@@ -18,3 +20,4 @@ export type C4MultiStepUglyModalProps = {
18
20
  onClose: () => void;
19
21
  size?: 'xs' | 'sm' | 'md' | 'lg';
20
22
  };
23
+ export {};
@@ -4,22 +4,14 @@ import type { C4FeedbackPayload } from '../c4-feedback-modal/c4-feedback-modal.j
4
4
  import { type C4HelpCenterData } from '../c4-help-center/c4-help-center.js';
5
5
  import type { C4HelpCenterLinkPlaceholders } from '../c4-help-center/help-center-placeholders.js';
6
6
  export type C4NavigationProps = C3NavigationProps & {
7
- /**
8
- * ds-mode only: navigate to a cluster by uuid (the Cluster dropdown). Carbon
9
- * mode ignores it. Org switching reuses orgSideBar.switchToOrg.
10
- */
7
+ /** Navigate to a cluster by uuid (the Cluster dropdown). Org switching reuses orgSideBar.switchToOrg. */
11
8
  onSelectCluster?: (clusterUuid: string) => void;
12
- /**
13
- * ds-mode only: the page content rendered inside the DS app shell (right of
14
- * the AppSidebar, below the AppHeader). Carbon mode renders it after the c3
15
- * navigation, preserving the existing sibling layout.
16
- */
9
+ /** The page content rendered inside the app shell, right of the sidebar and below the header. */
17
10
  children?: ReactNode;
18
11
  /**
19
- * ds-mode only: help destinations shown in a modal behind the header's help
20
- * icon. The c3 help center (CMS recommendations + feedback) has no public
21
- * equivalent, so ds mode surfaces a simple link list provided by the host.
22
- * Omitted/empty hides the help icon. Carbon mode ignores it.
12
+ * Help destinations shown in a modal behind the header's help icon. The c3
13
+ * help center (CMS recommendations + feedback) has no public equivalent, so
14
+ * the host provides a simple link list. Omitted or empty hides the help icon.
23
15
  */
24
16
  helpLinks?: Array<{
25
17
  key: string;
@@ -27,10 +19,9 @@ export type C4NavigationProps = C3NavigationProps & {
27
19
  href: string;
28
20
  }>;
29
21
  /**
30
- * ds-mode only: the host's app links. ds derives cluster-scoped apps from the
31
- * cluster endpoints in c3Profile, but org-scoped apps (the Modeler) can't be —
32
- * their URL comes from the host, so ds reads it from here. Carbon builds the
33
- * full app list inside c3 and ignores this.
22
+ * The host's app links. The sidebar derives cluster-scoped apps from the
23
+ * cluster endpoints in c3Profile. Org-scoped apps (the Modeler) have no such
24
+ * endpoint, so their URL comes from the host.
34
25
  */
35
26
  appElements?: Array<{
36
27
  key: string;
@@ -38,29 +29,22 @@ export type C4NavigationProps = C3NavigationProps & {
38
29
  href?: string;
39
30
  }>;
40
31
  /**
41
- * ds-mode only: submit handler for the DS-native "Share your feedback" modal.
42
- * When provided, ds mode renders {@link C4FeedbackModal} (driven by the c3
43
- * help-center open state) instead of the Carbon c3 help center. Carbon mode
44
- * keeps the c3 help center and ignores this.
32
+ * Submit handler for the "Share your feedback" modal. When provided, the
33
+ * help center renders {@link C4FeedbackModal}, driven by the c3 help-center
34
+ * open state.
45
35
  */
46
36
  onSubmitFeedback?: (payload: C4FeedbackPayload) => Promise<void>;
47
- /** ds-mode only: enterprise orgs get the Jira-support notice in the feedback modal. */
37
+ /** Enterprise orgs get the Jira-support notice in the feedback modal. */
48
38
  feedbackEnterprise?: boolean;
49
39
  /**
50
- * ds-mode only: async function that fetches help-center config and tiles from
51
- * the CMS API. Called once when the help panel opens. Returns structured tabs
52
- * and links for {@link C4HelpCenter}. Carbon mode ignores it.
40
+ * Async function that fetches help-center config and tiles from the CMS API.
41
+ * The help panel calls it once when it opens. It returns the tabs and links
42
+ * for {@link C4HelpCenter}.
53
43
  */
54
44
  onFetchHelpCenterData?: () => Promise<C4HelpCenterData | undefined>;
55
45
  /**
56
- * ds-mode only: values for the placeholder tokens that the CMS writes into
57
- * help center URLs. See {@link C4HelpCenterLinkPlaceholders}.
58
- *
59
- * Carbon mode ignores it. The c3 help center does a smaller version of the
60
- * same work — it replaces the exact, unencoded token in a card link — thus
61
- * carbon mode resolves less: no other case of a token, no percent-encoded
62
- * form, no sidebar link, and no Camunda Hub host. c3 is a public package
63
- * this one does not change, thus the two modes are not equal here.
46
+ * Values for the placeholder tokens that the CMS writes into help center
47
+ * URLs. See {@link C4HelpCenterLinkPlaceholders}.
64
48
  */
65
49
  helpCenterLinkPlaceholders?: C4HelpCenterLinkPlaceholders;
66
50
  };
@@ -1,28 +1,23 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
- import { C3Navigation, useC3HelpCenter, useC3Profile, } from '@camunda/camunda-composite-components';
7
+ import { useC3HelpCenter, useC3Profile, } from '@camunda/camunda-composite-components';
8
8
  import { AppHeader, AppSidebar, Badge, Button, CamundaLogo, DropdownMenuItem, NavBreadcrumb, NavBreadcrumbItem, SidebarProvider, TooltipProvider, UserMenu, } from '@camunda/design-system';
9
9
  import { Activity, BarChart3, HelpCircle, LayoutDashboard, ListChecks, Moon, Sun, Workflow, } from 'lucide-react';
10
10
  import { useEffect, useRef, useState } from 'react';
11
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
12
11
  import { C4HelpCenter, FEEDBACK_TAB_ID, } from '../c4-help-center/c4-help-center.js';
13
12
  /**
14
- * Design-system-switchable navigation.
13
+ * The app shell of Console: a sidebar with the Camunda apps and a header.
15
14
  *
16
- * Keeps the stable C3Navigation interface ('carbon' renders unchanged c3; 'ds'
17
- * transforms onto DS patterns; c3 untouched). See docs/superpowers/specs/
18
- * 2026-06-24-c3navigation-ds-transformation-design.md.
19
- *
20
- * ds shell: AppSidebar (Camunda apps; cluster-scoped apps grouped with one
21
- * child per cluster linking to that cluster's app endpoint) + AppHeader (a
22
- * clickable Camunda logomark → dashboard next to the app name, a NavBreadcrumb
23
- * Organization/Cluster context switcher, and a UserMenu). Notifications and Help
24
- * are deferred (their data / widgets are produced inside c3, not exposed in
25
- * these props).
15
+ * It keeps the prop interface of C3Navigation and maps it onto the design
16
+ * system. The sidebar groups cluster-scoped apps with one child per cluster,
17
+ * linking to that cluster's app endpoint. The header has a clickable Camunda
18
+ * logomark that goes to the dashboard, the app name, an Organization/Cluster
19
+ * context switcher and a user menu. Notifications are not shown, because c3
20
+ * produces their data inside its own widgets.
26
21
  */
27
22
  // C3 routeProps is opaque (`any`); navigate via the embedded mobx-router.
28
23
  const navigate = (routeProps) => {
@@ -94,10 +89,8 @@ function renderUserMenu(props) {
94
89
  return (_jsx(UserMenu, { userName: user?.name ?? '', userEmail: user?.email ?? '', items: items, onLogout: logout?.onClick ?? (() => { }), customSection: userSideBar.customElements?.customSection }));
95
90
  }
96
91
  export const C4Navigation = (props) => {
97
- const designSystem = useC4DesignSystem();
98
92
  const { orgs, activeOrg, clusters, resolvedTheme, onThemeChange } = useC3Profile();
99
- // Same context pages use for `openHelpCenter('feedback')`. In carbon mode
100
- // C3Navigation renders the help-center modal; in ds mode we render our own.
93
+ // Same context pages use for `openHelpCenter('feedback')`.
101
94
  const { openHelpCenter, isHelpCenterOpen, setIsHelpCenterOpen, showTabId } = useC3HelpCenter();
102
95
  // CMS-driven help center data (tabs + tiles + links).
103
96
  const [helpCenterData, setHelpCenterData] = useState(undefined);
@@ -109,8 +102,6 @@ export const C4Navigation = (props) => {
109
102
  // Fetch CMS data once when the help panel opens; reset when it closes so
110
103
  // re-opening always fetches fresh content.
111
104
  useEffect(() => {
112
- if (designSystem !== 'ds')
113
- return;
114
105
  if (!isHelpCenterOpen || isHelpCenterOpen === undefined) {
115
106
  setHelpCenterData(undefined);
116
107
  setHelpCenterLoading(false);
@@ -124,11 +115,7 @@ export const C4Navigation = (props) => {
124
115
  .then((d) => setHelpCenterData(d ?? undefined))
125
116
  .catch(() => setHelpCenterData(undefined))
126
117
  .finally(() => setHelpCenterLoading(false));
127
- }, [designSystem, isHelpCenterOpen, helpCenterData, helpCenterLoading]);
128
- if (designSystem !== 'ds') {
129
- const { onSelectCluster: _onSelectCluster, helpLinks: _helpLinks, appElements: _appElements, onSubmitFeedback: _onSubmitFeedback, feedbackEnterprise: _feedbackEnterprise, onFetchHelpCenterData: _onFetchHelpCenterData, helpCenterLinkPlaceholders: _helpCenterLinkPlaceholders, children, ...c3Props } = props;
130
- return (_jsxs(_Fragment, { children: [_jsx(C3Navigation, { ...c3Props }), children] }));
131
- }
118
+ }, [isHelpCenterOpen, helpCenterData, helpCenterLoading]);
132
119
  const { onSelectCluster, helpLinks, children } = props;
133
120
  const switchToOrg = props.orgSideBar?.switchToOrg;
134
121
  const manageOrg = props.orgSideBar?.manageOrg;
@@ -162,7 +149,7 @@ export const C4Navigation = (props) => {
162
149
  ? { label: modelerElement.label, href: modelerElement.href }
163
150
  : undefined);
164
151
  // Internal/admin context tags (support-agent, forced org role) — pure UI from
165
- // props.navbar.tags. Carbon's TagColor maps to the nearest Badge variant.
152
+ // props.navbar.tags. The c3 TagColor maps to the nearest Badge variant.
166
153
  const tags = props.navbar?.tags;
167
154
  const tagBadges = tags && tags.length > 0 ? (_jsx("div", { style: { display: 'flex', alignItems: 'center', gap: '0.5rem' }, children: tags.map((tag) => (_jsx(Badge, { variant: tag.color === 'red' ? 'danger' : 'neutral', children: tag.label }, tag.key))) })) : undefined;
168
155
  // Show the help icon whenever there is anything to open.
@@ -4,18 +4,32 @@ import { jsx as _jsx } from "react/jsx-runtime";
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
- import { NumberInput } from '@carbon/react';
8
7
  import { useEffect, useState } from 'react';
8
+ import { TextInput } from '../../ui/index.js';
9
9
  export const C4NumberInput = ({ label, min, max, step, value, invalid, invalidText, disabled, onChange, }) => {
10
10
  const [internalValue, setInternalValue] = useState(value ?? '');
11
11
  useEffect(() => {
12
12
  setInternalValue(value ?? '');
13
13
  }, [value]);
14
- return (_jsx(NumberInput, { "data-modal-primary-focus": true, id: `limit-input-${Math.floor(Math.random() * 1000)}`, label: label ?? '', iconDescription: '', min: min, max: max, step: step, invalid: invalid, invalidText: invalid ? (invalidText ?? '') : '', disabled: disabled, allowEmpty: true, value: internalValue, onChange: (_value, changeData) => {
15
- const data = changeData;
16
- setInternalValue(data.value ?? '');
17
- if (data.value !== '') {
18
- onChange(data.value);
14
+ // The native `min` and `max` only mark the field in the browser. Show the
15
+ // error here too, so that an out-of-range value is not sent in silence.
16
+ const current = internalValue === '' ? undefined : Number(internalValue);
17
+ const outOfRange = current !== undefined &&
18
+ ((min !== undefined && current < min) ||
19
+ (max !== undefined && current > max));
20
+ const isInvalid = invalid || outOfRange;
21
+ const rangeText = [
22
+ min !== undefined ? `min ${min}` : undefined,
23
+ max !== undefined ? `max ${max}` : undefined,
24
+ ]
25
+ .filter(Boolean)
26
+ .join(', ');
27
+ return (_jsx(TextInput, { "data-modal-primary-focus": true, type: 'number', labelText: label ?? '', min: min, max: max, step: step, invalid: isInvalid, invalidText: isInvalid ? (invalidText ?? rangeText) : '', disabled: disabled, value: internalValue, onChange: (event) => {
28
+ const text = event.target.value;
29
+ setInternalValue(text);
30
+ // An empty field sends no change, so the host keeps its last value.
31
+ if (text !== '') {
32
+ onChange(Number(text));
19
33
  }
20
34
  } }));
21
35
  };
@@ -5,11 +5,8 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
7
  import { C3ResponsiveStack } from '@camunda/camunda-composite-components';
8
- import { ListItem, OrderedList } from '@carbon/react';
9
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
10
8
  import { Button, Link, Stack, Tile } from '../../ui/index.js';
11
9
  export const C4OldDashboard = ({ usersAmount, invitationsAmount, clustersAmount, healthyClustersAmount, updateAvailable, permissions, actions, urls, texts, displayFirstCTA = true, }) => {
12
- const designSystem = useC4DesignSystem();
13
10
  const welcomeItems = [
14
11
  texts.welcome.item1,
15
12
  texts.welcome.item2,
@@ -17,7 +14,7 @@ export const C4OldDashboard = ({ usersAmount, invitationsAmount, clustersAmount,
17
14
  texts.welcome.item4,
18
15
  // An empty step would show as a bare number.
19
16
  ].filter(Boolean);
20
- const welcomeTile = (_jsx(Tile, { children: _jsxs(Stack, { gap: 6, children: [_jsxs("h3", { children: [texts.welcome.title, _jsx("span", { id: 'welcomeHeader' })] }), _jsx("div", { dangerouslySetInnerHTML: { __html: texts.welcome.text } }), _jsx(OrderedList, { style: { marginLeft: '3rem' }, children: welcomeItems.map((item) => (_jsx(ListItem, { children: _jsx("div", { dangerouslySetInnerHTML: { __html: item } }) }, item))) }), _jsx("div", { children: _jsxs(C3ResponsiveStack, { orientation: 'horizontal', gap: designSystem === 'ds' ? 0.5 : 6, children: [displayFirstCTA && (_jsx(Button, { onClick: actions.onModelProcess, id: 'modelAProcess', children: texts.welcome.cta })), _jsx(Button, { onClick: actions.onGettingStartedGuide, id: 'gettingStartedGuide', kind: 'tertiary', children: texts.welcome.gsg }), _jsx(Button, { onClick: actions.onWatchDemo, id: 'gettingStartedAcademy', kind: 'tertiary', children: texts.welcome.watchADemo })] }) })] }) }));
17
+ const welcomeTile = (_jsx(Tile, { children: _jsxs(Stack, { gap: 6, children: [_jsxs("h3", { children: [texts.welcome.title, _jsx("span", { id: 'welcomeHeader' })] }), _jsx("div", { dangerouslySetInnerHTML: { __html: texts.welcome.text } }), _jsx("ol", { style: { marginLeft: '3rem', listStyle: 'decimal' }, children: welcomeItems.map((item) => (_jsx("li", { children: _jsx("div", { dangerouslySetInnerHTML: { __html: item } }) }, item))) }), _jsx("div", { children: _jsxs(C3ResponsiveStack, { orientation: 'horizontal', gap: 0.5, children: [displayFirstCTA && (_jsx(Button, { onClick: actions.onModelProcess, id: 'modelAProcess', children: texts.welcome.cta })), _jsx(Button, { onClick: actions.onGettingStartedGuide, id: 'gettingStartedGuide', kind: 'tertiary', children: texts.welcome.gsg }), _jsx(Button, { onClick: actions.onWatchDemo, id: 'gettingStartedAcademy', kind: 'tertiary', children: texts.welcome.watchADemo })] }) })] }) }));
21
18
  const usersTile = permissions.showUsers && (_jsx(Tile, { style: {
22
19
  height: '100%',
23
20
  }, children: _jsxs(Stack, { gap: 6, children: [_jsxs("div", { style: {
@@ -26,8 +26,8 @@ const FIELD_COPY = {
26
26
  },
27
27
  };
28
28
  const helperTextStyle = {
29
- color: 'var(--cds-text-secondary)',
30
- fontSize: 'var(--cds-body-compact-01-font-size)',
29
+ color: 'var(--neutral-foreground-subtle)',
30
+ fontSize: '0.875rem',
31
31
  maxWidth: '650px',
32
32
  };
33
33
  const CUSTOMER_FIELDS = CLUSTER_CREATION_DEFAULT_FIELDS.filter((field) => field.availability === 'customer' && FIELD_COPY[field.key]);
@@ -2,12 +2,8 @@ import { PageLayout } from '@camunda/design-system';
2
2
  import type { ComponentProps, JSX } from 'react';
3
3
  type C4PageLayoutProps = ComponentProps<typeof PageLayout>;
4
4
  /**
5
- * Design-system-switchable page container.
6
- *
7
- * ds mode wraps the page content in the DS `PageLayout` (consistent padding +
8
- * width), matching the pages that go through `C4PageTemplate`. Carbon mode is a
9
- * transparent passthrough, leaving the page's existing layout untouched. Use it
10
- * for bespoke pages that don't route through `C4PageTemplate`.
5
+ * The DS `PageLayout` (consistent padding + width) for bespoke pages that do
6
+ * not route through `C4PageTemplate`.
11
7
  */
12
8
  export declare function C4PageLayout(props: C4PageLayoutProps): JSX.Element;
13
9
  export {};
@@ -1,23 +1,14 @@
1
- import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  /*
3
3
  * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
7
  import { PageLayout } from '@camunda/design-system';
8
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
9
8
  /**
10
- * Design-system-switchable page container.
11
- *
12
- * ds mode wraps the page content in the DS `PageLayout` (consistent padding +
13
- * width), matching the pages that go through `C4PageTemplate`. Carbon mode is a
14
- * transparent passthrough, leaving the page's existing layout untouched. Use it
15
- * for bespoke pages that don't route through `C4PageTemplate`.
9
+ * The DS `PageLayout` (consistent padding + width) for bespoke pages that do
10
+ * not route through `C4PageTemplate`.
16
11
  */
17
12
  export function C4PageLayout(props) {
18
- const designSystem = useC4DesignSystem();
19
- if (designSystem !== 'ds') {
20
- return _jsx(_Fragment, { children: props.children });
21
- }
22
13
  return _jsx(PageLayout, { ...props });
23
14
  }
@@ -8,9 +8,6 @@ type C4PageProps = {
8
8
  * `'none'` drops it — for a widget embedded inside a host page's own tab (see
9
9
  * each widget's `scope: 'environment'`), where the host already provides its
10
10
  * own spacing and the widget's padding would double up.
11
- *
12
- * ds-mode only: the Carbon branch is a `Grid` that already has no side
13
- * padding, so this has no Carbon equivalent and is not forwarded there.
14
11
  */
15
12
  padding?: 'default' | 'none';
16
13
  header?: {