@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
@@ -5,24 +5,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
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 { Column, Grid } from '@carbon/react';
9
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
10
8
  import { Stack } from '../../ui/index.js';
11
9
  import { C4ActionableNotification } from '../c4-actionable-notification/c4-actionable-notification.js';
12
10
  import { C4Breadcrumb } from '../c4-breadcrumb/c4-breadcrumb.js';
13
11
  import { C4InlineNotification } from '../c4-inline-notification/c4-inline-notification.js';
14
12
  import { C4Tabs } from '../c4-tabs/c4-tabs.js';
15
- const gridStyles = { paddingRight: 0, paddingLeft: 0 };
16
- const gridColumnStyles = { marginInline: 0 };
17
13
  const C4PageTemplate = ({ header, tabs, banner, children, loading = false, breadcrumbs = { elements: [] }, padding = 'default', }) => {
18
- const designSystem = useC4DesignSystem();
19
14
  const inner = (_jsxs("div", { style: { display: 'flex', gap: '2rem', flexDirection: 'column' }, children: [(breadcrumbs.elements?.length || header) && (_jsx(C4Breadcrumb, { ...breadcrumbs, title: header?.title, menu: header?.menuItems, tag: header?.tag, indicator: header?.indicator, subtitleBadges: header?.subtitleBadges, loading: loading, codeSnippet: header?.codeSnippet })), banner &&
20
15
  (banner.action ? (_jsx(C4ActionableNotification, { appearance: 'banner', kind: banner.kind, title: banner.title, subtitle: banner.subtitle, actionButtonLabel: banner.action.label, onActionButtonClick: banner.action.onClick, lowContrast: true })) : (_jsx(C4InlineNotification, { kind: banner.kind, hideCloseButton: !banner.onDismiss, onCloseButtonClick: banner.onDismiss, title: banner.title, subtitle: banner.subtitle, lowContrast: true }))), tabs && (_jsx(Stack, { orientation: 'vertical', gap: 5, children: _jsx(C4Tabs, { tabs: tabs.list, desiredTabId: tabs?.desiredTabId, onTabChange: tabs?.onChange, loading: loading }) })), children] }));
21
- // ds: the DS page container (padding + max width). carbon: the original
22
- // Carbon grid. The inner header/tabs already switch via their own families.
23
- if (designSystem === 'ds') {
24
- return _jsx(PageLayout, { padding: padding, children: inner });
25
- }
26
- return (_jsx(Grid, { style: gridStyles, children: _jsx(Column, { span: '100%', style: gridColumnStyles, children: inner }) }));
16
+ return _jsx(PageLayout, { padding: padding, children: inner });
27
17
  };
28
18
  export { C4PageTemplate };
@@ -4,7 +4,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
- import { Locked } from '@carbon/react/icons/index.esm.js';
7
+ import { Lock } from 'lucide-react';
8
8
  import { Button, Stack } from '../../ui/index.js';
9
9
  export const C4PermissionErrorPage = ({ title = 'Access Restricted', description = 'You do not have permission to access this page. Please contact your organization administrator for assistance.', redirectUrl, redirectLabel = 'Go to Console', onRedirect, }) => {
10
10
  const handleRedirect = () => {
@@ -21,23 +21,23 @@ export const C4PermissionErrorPage = ({ title = 'Access Restricted', description
21
21
  display: 'flex',
22
22
  alignItems: 'center',
23
23
  justifyContent: 'center',
24
- background: 'var(--cds-background)',
24
+ background: 'var(--background)',
25
25
  }, children: _jsxs(Stack, { gap: 7, style: { maxWidth: '600px', textAlign: 'center' }, children: [_jsx("div", { style: {
26
26
  display: 'flex',
27
27
  justifyContent: 'center',
28
- color: 'var(--cds-text-secondary)',
29
- }, children: _jsx(Locked, { size: 80 }) }), _jsxs(Stack, { gap: 5, children: [_jsx("h1", { style: {
30
- fontSize: 'var(--cds-productive-heading-05-font-size)',
31
- fontWeight: 'var(--cds-productive-heading-05-font-weight)',
32
- lineHeight: 'var(--cds-productive-heading-05-line-height)',
33
- letterSpacing: 'var(--cds-productive-heading-05-letter-spacing)',
34
- color: 'var(--cds-text-primary)',
28
+ color: 'var(--neutral-foreground-subtle)',
29
+ }, children: _jsx(Lock, { size: 80 }) }), _jsxs(Stack, { gap: 5, children: [_jsx("h1", { style: {
30
+ fontSize: '2rem',
31
+ fontWeight: '400',
32
+ lineHeight: '2.5rem',
33
+ letterSpacing: '0',
34
+ color: 'var(--neutral-foreground-strong)',
35
35
  }, children: title }), _jsx("p", { style: {
36
- fontSize: 'var(--cds-body-01-font-size)',
37
- fontWeight: 'var(--cds-body-01-font-weight)',
38
- lineHeight: 'var(--cds-body-01-line-height)',
39
- letterSpacing: 'var(--cds-body-01-letter-spacing)',
40
- color: 'var(--cds-text-secondary)',
36
+ fontSize: '0.875rem',
37
+ fontWeight: '400',
38
+ lineHeight: '1.42857',
39
+ letterSpacing: '0.16px',
40
+ color: 'var(--neutral-foreground-subtle)',
41
41
  maxWidth: '500px',
42
42
  margin: '0 auto',
43
43
  }, children: description })] }), (redirectUrl || onRedirect) && (_jsx("div", { style: { display: 'flex', justifyContent: 'center' }, children: _jsx(Button, { kind: 'primary', onClick: handleRedirect, children: redirectLabel }) }))] }) }));
@@ -45,7 +45,7 @@ export const C4Pricing = ({ title, notification, cards, loading, boxesToTheBotto
45
45
  display: 'grid',
46
46
  gridTemplateColumns,
47
47
  gap: gridGap,
48
- }, children: [notification && (_jsx("div", { style: { gridColumn: notificationGridColumn }, children: _jsx(C4ActionableNotification, { kind: notification.kind, inline: true, lowContrast: true, hideCloseButton: true, style: { maxWidth: '100%' }, actionButtonLabel: notification.action.label, onActionButtonClick: notification.action.onClick, title: notification.title, subtitle: notification.subtitle }) })), cards.map((card, index) => (_jsx(C4PricingCard, { sections: card, grid: { column: index + 2 } }, card.id))), boxesToTheBottom && (_jsx("div", { style: { gridColumn: notificationGridColumn }, children: _jsx("div", { style: {
48
+ }, children: [notification && (_jsx("div", { style: { gridColumn: notificationGridColumn }, children: _jsx(C4ActionableNotification, { kind: notification.kind, lowContrast: true, hideCloseButton: true, style: { maxWidth: '100%' }, actionButtonLabel: notification.action.label, onActionButtonClick: notification.action.onClick, title: notification.title, subtitle: notification.subtitle }) })), cards.map((card, index) => (_jsx(C4PricingCard, { sections: card, grid: { column: index + 2 } }, card.id))), boxesToTheBottom && (_jsx("div", { style: { gridColumn: notificationGridColumn }, children: _jsx("div", { style: {
49
49
  display: 'grid',
50
50
  gridTemplateColumns: lowerGridTemplateColumns,
51
51
  gap: gridGap,
@@ -4,11 +4,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
- import { Checkmark, Close, Information } from '@carbon/react/icons/index.esm.js';
8
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
7
+ import { Check, Info, X } from 'lucide-react';
9
8
  import { Button, Stack, Tile, Tooltip } from '../../ui/index.js';
10
9
  export const C4PricingCard = ({ grid, sections, }) => {
11
- const designSystem = useC4DesignSystem();
12
10
  // CONFIG
13
11
  const gap = 5;
14
12
  // COMPOENNT
@@ -18,19 +16,19 @@ export const C4PricingCard = ({ grid, sections, }) => {
18
16
  flexWrap: 'wrap',
19
17
  height: '48px',
20
18
  fontSize: '12px',
21
- }, children: [sections.price.additional, sections.price.infoTooltip && (_jsx(Tooltip, { label: sections.price.infoTooltip, align: 'top', children: _jsx(Button, { kind: 'ghost', children: _jsx(Information, {}) }) }))] }))] }), _jsx(Button, { kind: sections.cta.kind, disabled: sections.cta.disabled, onClick: sections.cta.onClick ? sections.cta.onClick : undefined, style: { width: '100%' }, children: sections.cta.label }), _jsxs("span", { style: {
19
+ }, children: [sections.price.additional, sections.price.infoTooltip && (_jsx(Tooltip, { label: sections.price.infoTooltip, align: 'top', children: _jsx(Button, { kind: 'ghost', children: _jsx(Info, { size: 16 }) }) }))] }))] }), _jsx(Button, { kind: sections.cta.kind, disabled: sections.cta.disabled, onClick: sections.cta.onClick ? sections.cta.onClick : undefined, style: { width: '100%' }, children: sections.cta.label }), _jsxs("span", { style: {
22
20
  marginTop: '5px',
23
21
  fontWeight: 'bold',
24
22
  height: '50px',
25
23
  display: 'flex',
26
24
  alignItems: 'center',
27
25
  flexWrap: 'wrap',
28
- }, children: [_jsx("span", { children: sections.features.title }), sections.features.infoTooltip && (_jsx(Tooltip, { label: sections.features.infoTooltip, align: 'bottom', children: _jsx(Button, { kind: 'ghost', children: _jsx(Information, {}) }) }))] }), _jsx("span", { style: {
26
+ }, children: [_jsx("span", { children: sections.features.title }), sections.features.infoTooltip && (_jsx(Tooltip, { label: sections.features.infoTooltip, align: 'bottom', children: _jsx(Button, { kind: 'ghost', children: _jsx(Info, { size: 16 }) }) }))] }), _jsx("span", { style: {
29
27
  marginTop: '3px',
30
28
  height: sections.features.maxItemsOverall
31
29
  ? `${1.5 * sections.features.maxItemsOverall}rem`
32
30
  : undefined,
33
- }, children: _jsx(Stack, { gap: 3, children: sections.features.items.map((feature) => (_jsxs("div", { style: { display: 'flex' }, children: [feature.nope ? (_jsx("span", { style: { width: '16px' }, children: _jsx(Close, { color: '#fc5d0d', "aria-label": `check-${feature.id}` }) })) : (_jsx("span", { style: { width: '16px' }, children: _jsx(Checkmark, { color: '#42be65', "aria-label": `check-${feature.id}` }) })), _jsx("span", { style: {
31
+ }, children: _jsx(Stack, { gap: 3, children: sections.features.items.map((feature) => (_jsxs("div", { style: { display: 'flex' }, children: [feature.nope ? (_jsx("span", { style: { width: '16px' }, children: _jsx(X, { size: 16, color: '#fc5d0d', "aria-label": `check-${feature.id}` }) })) : (_jsx("span", { style: { width: '16px' }, children: _jsx(Check, { size: 16, color: '#42be65', "aria-label": `check-${feature.id}` }) })), _jsx("span", { style: {
34
32
  position: 'relative',
35
33
  top: '-4px',
36
34
  marginLeft: '8px',
@@ -43,13 +41,7 @@ export const C4PricingCard = ({ grid, sections, }) => {
43
41
  display: 'flex',
44
42
  alignItems: 'center',
45
43
  flexWrap: 'wrap',
46
- }, children: [_jsx("span", { children: sections.additionalFeatures.title }), sections.additionalFeatures.infoTooltip && (_jsx(Tooltip, { label: sections.additionalFeatures.infoTooltip, align: 'bottom', children: _jsx(Button, { kind: 'ghost', children: _jsx(Information, {}) }) }))] }), _jsx("span", { style: { marginTop: '3px' }, children: _jsx(Stack, { gap: designSystem === 'ds' ? 3 : 6, children: sections.additionalFeatures.items.map((feature) => designSystem === 'ds' ? (_jsxs("div", { style: { display: 'flex' }, children: [_jsx("span", { style: { width: '16px' }, children: _jsx(Checkmark, { color: '#42be65', "aria-label": `check-${feature.id}` }) }), _jsx("span", { style: {
47
- position: 'relative',
48
- top: '-4px',
49
- marginLeft: '8px',
50
- }, children: feature.labelWithTooltips
51
- ? feature.labelWithTooltips
52
- : feature.label })] }, `${feature.id}-${Math.floor(Math.random() * 1000)}`)) : (_jsxs("span", { style: { marginTop: '-15px' }, children: [_jsx(Checkmark, { color: '#42be65', "aria-label": `check-${feature.id}` }), _jsx("span", { style: {
44
+ }, children: [_jsx("span", { children: sections.additionalFeatures.title }), sections.additionalFeatures.infoTooltip && (_jsx(Tooltip, { label: sections.additionalFeatures.infoTooltip, align: 'bottom', children: _jsx(Button, { kind: 'ghost', children: _jsx(Info, { size: 16 }) }) }))] }), _jsx("span", { style: { marginTop: '3px' }, children: _jsx(Stack, { gap: 3, children: sections.additionalFeatures.items.map((feature) => (_jsxs("div", { style: { display: 'flex' }, children: [_jsx("span", { style: { width: '16px' }, children: _jsx(Check, { size: 16, color: '#42be65', "aria-label": `check-${feature.id}` }) }), _jsx("span", { style: {
53
45
  position: 'relative',
54
46
  top: '-4px',
55
47
  marginLeft: '8px',
@@ -4,17 +4,17 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
4
4
  * under one or more contributor license agreements. Licensed under a commercial license.
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
- import { InlineLoading } from '@carbon/react';
8
- import { Activity, AddAlt, Alarm, Analytics, ArrowRight, CaretRight, Checkmark, DataBackup, Document, Enterprise, FlowConnection, Forum, Help, IbmToolchain, Launch, LogoGithub, Password, Settings, User, UserFollow, Wallet, WatsonHealthStackedMove, } from '@carbon/react/icons/index.esm.js';
7
+ import { Activity, AlarmClock, ArrowRight, BarChart3, Building2, Check, ChevronRight, CircleHelp, CirclePlus, DatabaseBackup, ExternalLink, FileText, GitBranch, KeyRound, Layers, MessagesSquare, Settings, User, UserPlus, Wallet, Workflow, Wrench, } from 'lucide-react';
9
8
  import { useState } from 'react';
10
9
  import { Link, Stack, Tile } from '../../ui/index.js';
10
+ import { SpinningLoader } from '../c4-cluster-overview/ds-status-icon-text.js';
11
11
  import { C4Divider } from '../c4-divider/c4-divider.js';
12
12
  import { SearchUtils } from './search.utils.js';
13
13
  const KBD = ({ label }) => {
14
14
  return (_jsx("kbd", { style: {
15
15
  borderRadius: '0.25rem',
16
- border: '1px solid var(--cds-text-helper)',
17
- boxShadow: '0 2px 0 1px var(--cds-text-helper)',
16
+ border: '1px solid var(--neutral-foreground-subtle)',
17
+ boxShadow: '0 2px 0 1px var(--neutral-foreground-subtle)',
18
18
  fontFamily: 'var(--font-family-sans-serif)',
19
19
  fontSize: '0.75rem',
20
20
  lineHeight: 1,
@@ -31,8 +31,9 @@ const SearchHelp = () => {
31
31
  return (_jsxs(Stack, { gap: 5, children: [_jsx("p", { children: "This search offers more than just basic searches. By using additional commands, you can discover and accomplish more." }), _jsxs("p", { children: ["Type ", _jsx(KBD, { label: '>' }), " to execute an action in Console. By using", ' ', _jsx(KBD, { label: '#' }), " as prefix you search only in docs."] }), _jsxs("p", { children: ["Use ", _jsx(KBD, { label: '\u25C0' }), _jsx(KBD, { label: '\u25B2' }), _jsx(KBD, { label: '\u25BC' }), _jsx(KBD, { label: '\u25B6' }), " to navigate results. If you see a \u25B6 symbol on the right hand side there is more to see."] }), _jsxs("p", { children: ["If you want to select a result, just press ", _jsx(KBD, { label: 'Enter' }), "."] }), _jsxs("p", { children: ["You can open the quick search by pressing ", _jsx(KBD, { label: 'ctrl' }), "+", _jsx(KBD, { label: 'k' }), " or ", _jsx(KBD, { label: '\u2318' }), "+", _jsx(KBD, { label: 'k' }), "."] })] }));
32
32
  };
33
33
  const SearchResultHeader = () => {
34
- return (_jsx("div", { children: _jsx("div", { className: 'cds--label', style: {
35
- color: 'var(--cds-text-helper)',
34
+ return (_jsx("div", { children: _jsx("div", { style: {
35
+ fontSize: '0.75rem',
36
+ color: 'var(--neutral-foreground-subtle)',
36
37
  display: 'grid',
37
38
  gridTemplateColumns: '1fr',
38
39
  }, children: _jsxs("span", { children: [_jsx("strong", { children: "Tip:" }), " Type ", _jsx(KBD, { label: '>' }), " to execute an action, or type ", _jsx(KBD, { label: '?' }), " for more search tips."] }) }) }));
@@ -52,8 +53,9 @@ const SearchResultCategoryHeader = (props) => {
52
53
  }), children: "Go back" }));
53
54
  }
54
55
  }
55
- return (_jsxs("div", { className: 'cds--label', style: {
56
- color: 'var(--cds-text-helper)',
56
+ return (_jsxs("div", { style: {
57
+ fontSize: '0.75rem',
58
+ color: 'var(--neutral-foreground-subtle)',
57
59
  marginBottom: '-5px',
58
60
  display: 'grid',
59
61
  gridTemplateColumns: '1fr 1fr',
@@ -64,77 +66,77 @@ const SearchResultCategoryEntry = (props) => {
64
66
  let icon = _jsx("div", {});
65
67
  switch (props.type) {
66
68
  case 'add':
67
- icon = _jsx(AddAlt, {});
69
+ icon = _jsx(CirclePlus, { size: 16 });
68
70
  break;
69
71
  case 'add-user':
70
- icon = _jsx(UserFollow, {});
72
+ icon = _jsx(UserPlus, { size: 16 });
71
73
  break;
72
74
  case 'docs':
73
- icon = _jsx(Document, {});
75
+ icon = _jsx(FileText, { size: 16 });
74
76
  break;
75
77
  case 'app':
76
- icon = _jsx(ArrowRight, {});
78
+ icon = _jsx(ArrowRight, { size: 16 });
77
79
  break;
78
80
  case 'helpcenter':
79
- icon = _jsx(Help, {});
81
+ icon = _jsx(CircleHelp, { size: 16 });
80
82
  break;
81
83
  case 'forum':
82
- icon = _jsx(Forum, {});
84
+ icon = _jsx(MessagesSquare, { size: 16 });
83
85
  break;
84
86
  case 'page':
85
- icon = _jsx(WatsonHealthStackedMove, {});
87
+ icon = _jsx(Layers, { size: 16 });
86
88
  break;
87
89
  case 'api':
88
- icon = _jsx(IbmToolchain, {});
90
+ icon = _jsx(Wrench, { size: 16 });
89
91
  break;
90
92
  case 'activity':
91
- icon = _jsx(Activity, {});
93
+ icon = _jsx(Activity, { size: 16 });
92
94
  break;
93
95
  case 'secret':
94
- icon = _jsx(Password, {});
96
+ icon = _jsx(KeyRound, { size: 16 });
95
97
  break;
96
98
  case 'alert':
97
- icon = _jsx(Alarm, {});
99
+ icon = _jsx(AlarmClock, { size: 16 });
98
100
  break;
99
101
  case 'backup':
100
- icon = _jsx(DataBackup, {});
102
+ icon = _jsx(DatabaseBackup, { size: 16 });
101
103
  break;
102
104
  case 'settings':
103
- icon = _jsx(Settings, {});
105
+ icon = _jsx(Settings, { size: 16 });
104
106
  break;
105
107
  case 'user':
106
- icon = _jsx(User, {});
108
+ icon = _jsx(User, { size: 16 });
107
109
  break;
108
110
  case 'billing':
109
- icon = _jsx(Wallet, {});
111
+ icon = _jsx(Wallet, { size: 16 });
110
112
  break;
111
113
  case 'tasklist':
112
- icon = _jsx(Checkmark, {});
114
+ icon = _jsx(Check, { size: 16 });
113
115
  break;
114
116
  case 'optimize':
115
- icon = _jsx(Analytics, {});
117
+ icon = _jsx(BarChart3, { size: 16 });
116
118
  break;
117
119
  case 'operate':
118
- icon = _jsx(Activity, {});
120
+ icon = _jsx(Activity, { size: 16 });
119
121
  break;
120
122
  case 'org':
121
- icon = _jsx(Enterprise, {});
123
+ icon = _jsx(Building2, { size: 16 });
122
124
  break;
123
125
  case 'github':
124
- icon = _jsx(LogoGithub, {});
126
+ icon = _jsx(GitBranch, { size: 16 });
125
127
  break;
126
128
  case 'modeler':
127
- icon = _jsx(FlowConnection, {});
129
+ icon = _jsx(Workflow, { size: 16 });
128
130
  break;
129
131
  }
130
132
  let meta = _jsx("div", {});
131
133
  switch (props.meta) {
132
134
  case 'external':
133
- meta = _jsx(Launch, {});
135
+ meta = _jsx(ExternalLink, { size: 16 });
134
136
  break;
135
137
  }
136
138
  if (props.more) {
137
- meta = _jsx(CaretRight, {});
139
+ meta = _jsx(ChevronRight, { size: 16 });
138
140
  }
139
141
  const onClickMain = () => {
140
142
  if (props.onClick) {
@@ -159,7 +161,9 @@ const SearchResultCategoryEntry = (props) => {
159
161
  }
160
162
  };
161
163
  return (_jsxs("div", { children: [_jsxs("div", { id: props.elementId, style: {
162
- backgroundColor: props.selected || isHover ? 'var(--cds-layer-hover' : undefined,
164
+ backgroundColor: props.selected || isHover
165
+ ? 'var(--neutral-background-subtle)'
166
+ : undefined,
163
167
  padding: '5px',
164
168
  display: 'grid',
165
169
  gridTemplateColumns: '25px 1fr auto',
@@ -180,7 +184,11 @@ const SearchResultCategoryEntry = (props) => {
180
184
  elementId: 'unknown',
181
185
  });
182
186
  }
183
- }, children: [_jsx("span", { onClick: () => onClickMain(), children: icon }), _jsx("p", { onClick: () => onClickMain(), style: { width: '100%' }, children: props.title }), _jsx("span", { style: { justifySelf: 'end' }, onClick: () => onClickSub(), children: meta })] }), props.moreAvailable && (_jsx("span", { className: 'cds--label', style: { color: 'var(--cds-text-helper)', paddingLeft: '27px' }, children: "more available" }))] }));
187
+ }, children: [_jsx("span", { onClick: () => onClickMain(), children: icon }), _jsx("p", { onClick: () => onClickMain(), style: { width: '100%' }, children: props.title }), _jsx("span", { style: { justifySelf: 'end' }, onClick: () => onClickSub(), children: meta })] }), props.moreAvailable && (_jsx("span", { style: {
188
+ fontSize: '0.75rem',
189
+ color: 'var(--neutral-foreground-subtle)',
190
+ paddingLeft: '27px',
191
+ }, children: "more available" }))] }));
184
192
  };
185
193
  const SearchResultCategory = (props) => {
186
194
  let component = _jsx(_Fragment, {});
@@ -203,7 +211,7 @@ const SearchResultCategory = (props) => {
203
211
  export const C4SearchResults = (props) => {
204
212
  let component = _jsx(_Fragment, {});
205
213
  if (props.loading) {
206
- component = (_jsx(InlineLoading, { status: 'active', iconDescription: 'Loading', description: 'Loading data...' }));
214
+ component = (_jsxs("span", { role: 'status', style: { display: 'flex', alignItems: 'center', gap: '8px' }, children: [_jsx(SpinningLoader, { size: 16, "aria-hidden": true }), "Loading data..."] }));
207
215
  }
208
216
  else {
209
217
  component = (_jsxs(_Fragment, { children: [props.results.length === 0 ||
@@ -221,8 +229,8 @@ export const C4SearchResults = (props) => {
221
229
  }
222
230
  return (_jsx(Tile, { style: {
223
231
  position: 'relative',
224
- borderLeft: '1px solid var(--cds-border-subtle-01)',
225
- borderBottom: '1px solid var(--cds-border-subtle-01)',
232
+ borderLeft: '1px solid var(--border)',
233
+ borderBottom: '1px solid var(--border)',
226
234
  boxShadow: '0 2px 6px 0 rgba(0,0,0,.2)',
227
235
  }, onMouseEnter: () => {
228
236
  if (props.onMouseEnter) {
@@ -4,10 +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 { ExpandableSearch, HeaderGlobalAction } from '@carbon/react';
8
- import { Search } from '@carbon/react/icons/index.esm.js';
7
+ import { Search as SearchIcon } from 'lucide-react';
9
8
  import { useState } from 'react';
10
9
  import styled from 'styled-components';
10
+ import { IconButton, Search } from '../../ui/index.js';
11
11
  import { C4SearchResults } from './c4-search-results.js';
12
12
  import { SearchUtils } from './search.utils.js';
13
13
  const SearchWrapper = styled.div `
@@ -84,14 +84,12 @@ export const C4Search = ({ search, init, actions, changeOpenState, isExpanded, o
84
84
  }, 100);
85
85
  // ///////////////////////
86
86
  // COMPONENT
87
- const component = (_jsxs(SearchWrapper, { width: expanded ? inputOptions.searchWidth : undefined, children: [_jsx(ExpandableSearch, { id: 'mighty-search', className: expanded ? 'cds--search--expanded' : undefined, size: 'lg', labelText: 'search', isExpanded: expanded, placeholder: 'Type anything to search docs, forum, help center, and github.', onChange: (event) => {
87
+ const component = (_jsxs(SearchWrapper, { width: expanded ? inputOptions.searchWidth : undefined, children: [_jsx(Search, { id: 'mighty-search', size: 'lg', labelText: 'search', placeholder: 'Type anything to search docs, forum, help center, and github.', onChange: (event) => {
88
88
  SearchUtils.handleValueChange({
89
89
  newValue: event.target.value,
90
90
  searchHooks,
91
91
  input,
92
92
  });
93
- }, onExpand: (_event) => {
94
- SearchUtils.handleExpanded({ newState: true, searchHooks, input });
95
93
  }, onBlur: (_event) => {
96
94
  if (shouldBlur) {
97
95
  setTimeout(() => {
@@ -117,7 +115,7 @@ export const C4Search = ({ search, init, actions, changeOpenState, isExpanded, o
117
115
  return component;
118
116
  }
119
117
  else {
120
- return (_jsx(HeaderGlobalAction, { "aria-label": 'Search', onClick: () => {
118
+ return (_jsx(IconButton, { label: 'Search', kind: 'ghost', onClick: () => {
121
119
  SearchUtils.handleExpanded({ newState: true, searchHooks, input });
122
120
  if (analytics) {
123
121
  analytics({
@@ -129,6 +127,6 @@ export const C4Search = ({ search, init, actions, changeOpenState, isExpanded, o
129
127
  },
130
128
  });
131
129
  }
132
- }, children: _jsx(Search, { size: 20 }) }));
130
+ }, children: _jsx(SearchIcon, { size: 20 }) }));
133
131
  }
134
132
  };
@@ -11,29 +11,15 @@ export interface C4SegmentedControlProps {
11
11
  onChange: (id: string) => void;
12
12
  /** Accessible name of the group. */
13
13
  ariaLabel: string;
14
- /**
15
- * carbon-mode only: the style of the Carbon `ContentSwitcher`. The ds branch
16
- * lets each option size to its own label, thus it has no equivalent.
17
- */
18
- carbonStyle?: CSSProperties;
19
- /**
20
- * ds-mode only: the style of the box around the strip and its arrow buttons.
21
- *
22
- * Each mode takes its own style, so that a call site gives spacing to both
23
- * without a box of its own. A box around the Carbon branch would change the
24
- * carbon render, which the coexistence rules do not permit.
25
- */
14
+ /** The style of the box around the strip and its arrow buttons. */
26
15
  dsStyle?: CSSProperties;
27
16
  }
28
17
  /**
29
18
  * One-of-many selector for a small set of options (a cloud provider, a release
30
19
  * channel).
31
20
  *
32
- * carbon mode renders the Carbon `ContentSwitcher` and its `Switch` children,
33
- * unchanged.
34
- *
35
- * ds mode renders the DS `ToggleGroup` in its `outline` variant. It corrects
36
- * three things that the carbon-compat `ContentSwitcher` adapter does not do:
21
+ * It renders the DS `ToggleGroup` in its `outline` variant. It corrects three
22
+ * things that the carbon-compat `ContentSwitcher` adapter does not do:
37
23
  *
38
24
  * - The adapter takes `selectedIndex` as an initial value alone, so the strip
39
25
  * keeps the first selection after the state moves. This group is controlled.
@@ -43,8 +29,8 @@ export interface C4SegmentedControlProps {
43
29
  * the scrollbar there was no sign of the options outside the view. This
44
30
  * component shows an arrow button on each side that has more options.
45
31
  *
46
- * The ds branch takes its width from its container and none from its options.
32
+ * The row takes its width from its container and none from its options.
47
33
  * In a box that shrinks to its content the row has a width of zero, thus a
48
34
  * block or a grid column must give it one.
49
35
  */
50
- export declare const C4SegmentedControl: ({ options, value, onChange, ariaLabel, carbonStyle, dsStyle, }: C4SegmentedControlProps) => JSX.Element;
36
+ export declare const C4SegmentedControl: ({ options, value, onChange, ariaLabel, dsStyle, }: C4SegmentedControlProps) => JSX.Element;
@@ -5,22 +5,17 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  * You may not use this file except in compliance with the commercial license.
6
6
  */
7
7
  import { ToggleGroup, ToggleGroupItem } from '@camunda/design-system';
8
- import { ChevronLeft, ChevronRight } from '@carbon/react/icons/index.esm.js';
8
+ import { ChevronLeft, ChevronRight } from 'lucide-react';
9
9
  import { useCallback, useEffect, useRef, useState, } from 'react';
10
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
11
10
  import { Button } from '../../ui/index.js';
12
- import { useContentSwitcherFamily } from '../../ui/families.js';
13
11
  /** How far one press of an arrow button moves the strip, in pixels. */
14
12
  const MIN_SCROLL_STEP = 160;
15
13
  /**
16
14
  * One-of-many selector for a small set of options (a cloud provider, a release
17
15
  * channel).
18
16
  *
19
- * carbon mode renders the Carbon `ContentSwitcher` and its `Switch` children,
20
- * unchanged.
21
- *
22
- * ds mode renders the DS `ToggleGroup` in its `outline` variant. It corrects
23
- * three things that the carbon-compat `ContentSwitcher` adapter does not do:
17
+ * It renders the DS `ToggleGroup` in its `outline` variant. It corrects three
18
+ * things that the carbon-compat `ContentSwitcher` adapter does not do:
24
19
  *
25
20
  * - The adapter takes `selectedIndex` as an initial value alone, so the strip
26
21
  * keeps the first selection after the state moves. This group is controlled.
@@ -30,15 +25,11 @@ const MIN_SCROLL_STEP = 160;
30
25
  * the scrollbar there was no sign of the options outside the view. This
31
26
  * component shows an arrow button on each side that has more options.
32
27
  *
33
- * The ds branch takes its width from its container and none from its options.
28
+ * The row takes its width from its container and none from its options.
34
29
  * In a box that shrinks to its content the row has a width of zero, thus a
35
30
  * block or a grid column must give it one.
36
31
  */
37
- export const C4SegmentedControl = ({ options, value, onChange, ariaLabel, carbonStyle, dsStyle, }) => {
38
- const designSystem = useC4DesignSystem();
39
- // The family hook must run on every render (rules of hooks). Only the carbon
40
- // branch below renders the result.
41
- const { ContentSwitcher, Switch } = useContentSwitcherFamily();
32
+ export const C4SegmentedControl = ({ options, value, onChange, ariaLabel, dsStyle, }) => {
42
33
  const scrollRef = useRef(null);
43
34
  const [hasMoreBefore, setHasMoreBefore] = useState(false);
44
35
  const [hasMoreAfter, setHasMoreAfter] = useState(false);
@@ -69,9 +60,6 @@ export const C4SegmentedControl = ({ options, value, onChange, ariaLabel, carbon
69
60
  observer?.disconnect();
70
61
  };
71
62
  }, [readOverflow, options.length]);
72
- if (designSystem !== 'ds') {
73
- return (_jsx(ContentSwitcher, { size: 'md', "aria-label": ariaLabel, style: carbonStyle, onChange: (data) => onChange(String(data.name ?? '')), selectedIndex: Math.max(options.findIndex((option) => option.id === value), 0), children: options.map((option) => (_jsx(Switch, { name: option.id, disabled: option.disabled, children: option.label }, option.id))) }));
74
- }
75
63
  const scrollByStep = (direction) => {
76
64
  const node = scrollRef.current;
77
65
  if (!node) {
@@ -90,7 +78,7 @@ export const C4SegmentedControl = ({ options, value, onChange, ariaLabel, carbon
90
78
  // The min-content width of this row is the full strip. `min-width: 0`
91
79
  // on the scroll box lets the box shrink, but it does not lower the
92
80
  // width the box reports. An ancestor that sizes a track by content
93
- // grows to that width and hands it back to the row. Carbon `Stack` is
81
+ // grows to that width and hands it back to the row. The `Stack` is
94
82
  // such an ancestor: a grid with one `auto` track. With
95
83
  // `contain: inline-size` the row reports no width of its own, thus it
96
84
  // takes the width of its container, and the strip scrolls inside it.
@@ -8,13 +8,10 @@ interface C4SelectableTileProps {
8
8
  children: ReactNode;
9
9
  }
10
10
  /**
11
- * Design-system-switchable selectable tile.
12
- *
13
- * Carbon mode renders Carbon's `RadioTile`. ds mode renders a DS-styled
14
- * clickable card (a `<button role="radio">`) driven by the same per-tile
15
- * `checked`/`onChange` — selection shows as a highlighted border. This avoids
16
- * the RadioGroup/RadioGroupItem context requirement (the tiles are used
17
- * standalone, self-managed) and has no DS RadioTile equivalent.
11
+ * A DS-styled clickable card (a `<button>`) driven by a per-tile
12
+ * `checked`/`onChange`. Selection shows as a highlighted border. The tiles are
13
+ * self-managed and standalone, so this avoids the RadioGroup/RadioGroupItem
14
+ * context requirement. The DS has no RadioTile.
18
15
  */
19
- export declare function C4SelectableTile({ value, checked, onChange, disabled, style, children, }: C4SelectableTileProps): JSX.Element;
16
+ export declare function C4SelectableTile({ checked, onChange, disabled, style, children, }: C4SelectableTileProps): JSX.Element;
20
17
  export {};
@@ -1,25 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- /*
3
- * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
4
- * under one or more contributor license agreements. Licensed under a commercial license.
5
- * You may not use this file except in compliance with the commercial license.
6
- */
7
- import { RadioTile } from '@carbon/react';
8
- import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
9
2
  /**
10
- * Design-system-switchable selectable tile.
11
- *
12
- * Carbon mode renders Carbon's `RadioTile`. ds mode renders a DS-styled
13
- * clickable card (a `<button role="radio">`) driven by the same per-tile
14
- * `checked`/`onChange` — selection shows as a highlighted border. This avoids
15
- * the RadioGroup/RadioGroupItem context requirement (the tiles are used
16
- * standalone, self-managed) and has no DS RadioTile equivalent.
3
+ * A DS-styled clickable card (a `<button>`) driven by a per-tile
4
+ * `checked`/`onChange`. Selection shows as a highlighted border. The tiles are
5
+ * self-managed and standalone, so this avoids the RadioGroup/RadioGroupItem
6
+ * context requirement. The DS has no RadioTile.
17
7
  */
18
- export function C4SelectableTile({ value, checked, onChange, disabled, style, children, }) {
19
- const designSystem = useC4DesignSystem();
20
- if (designSystem !== 'ds') {
21
- return (_jsx(RadioTile, { value: value, checked: checked, onChange: onChange, disabled: disabled, style, children: children }));
22
- }
8
+ export function C4SelectableTile({ checked, onChange, disabled, style, children, }) {
23
9
  return (_jsx("button", { type: 'button', "aria-pressed": checked, disabled: disabled, onClick: () => onChange(), style: {
24
10
  display: 'flex',
25
11
  flexDirection: 'column',
@@ -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 } from '@carbon/react';
7
+ import { Check, CircleX } from 'lucide-react';
8
8
  import { useState } from 'react';
9
9
  import { Button } from '../../ui/index.js';
10
+ import { SpinningLoader } from '../c4-cluster-overview/ds-status-icon-text.js';
10
11
  const WAITING_TIME_IN_SECONDS = 3;
11
12
  export const C4StatefulButton = (options) => {
12
13
  const [state, setState] = useState('none');
@@ -34,6 +35,15 @@ export const C4StatefulButton = (options) => {
34
35
  catch (_e) {
35
36
  error();
36
37
  }
37
- }, children: state === 'none' ? (options.children) : (_jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: '4px' }, children: [_jsx(InlineLoading, { status: state }), " ", _jsx("span", { children: options.children })] })) }));
38
+ }, children: state === 'none' ? (options.children) : (_jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: '4px' }, children: [_jsx(StateIcon, { state: state }), " ", _jsx("span", { children: options.children })] })) }));
38
39
  return component;
39
40
  };
41
+ const StateIcon = ({ state, }) => {
42
+ if (state === 'finished') {
43
+ return _jsx(Check, { size: 16, "aria-hidden": true });
44
+ }
45
+ if (state === 'error') {
46
+ return _jsx(CircleX, { size: 16, "aria-hidden": true });
47
+ }
48
+ return _jsx(SpinningLoader, { size: 16, "aria-hidden": true });
49
+ };
@@ -1,7 +1,10 @@
1
- import type { ButtonBaseProps } from '@carbon/react';
1
+ import type { ComponentProps } from 'react';
2
+ import type { Button } from '../../ui/index.js';
3
+ type ButtonBaseProps = ComponentProps<typeof Button>;
2
4
  export type C4StatefulButtonProps = {
3
5
  onClick: () => Promise<void>;
4
6
  options?: {
5
7
  onlyOnce?: boolean;
6
8
  };
7
9
  } & Omit<ButtonBaseProps, 'onlyOnce'>;
10
+ export {};