@camunda/ccma-saas-frontend 0.0.46 → 0.3.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.
- package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.d.ts +20 -3
- package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.js +50 -17
- package/lib/esm/components/c4-advanced-search-filters/ArrayFieldContainer.js +2 -1
- package/lib/esm/components/c4-advanced-search-filters/AutosuggestInput.js +1 -6
- package/lib/esm/components/c4-advanced-search-filters/FieldRow.js +4 -1
- package/lib/esm/components/c4-advanced-search-filters/FiltersSection.js +1 -6
- package/lib/esm/components/c4-advanced-search-filters/OrSection.js +3 -1
- package/lib/esm/components/c4-advanced-search-filters/c4-advanced-search-filters.js +3 -1
- package/lib/esm/components/c4-ai-usage/c4-ai-usage.js +2 -7
- package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.js +7 -7
- package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.js +1 -6
- package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.spec.d.ts +1 -0
- package/lib/esm/components/c4-app-teaser-card/c4-app-teaster-card.spec.js +43 -0
- package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.js +1 -1
- package/lib/esm/components/c4-async-modal/c4-async-modal.js +3 -2
- package/lib/esm/components/c4-audit-log/c4-audit-log.js +4 -3
- package/lib/esm/components/c4-billing-page/c4-billing-page.js +8 -6
- package/lib/esm/components/c4-billing-page/c4-billing-page.mocks.d.ts +3 -0
- package/lib/esm/components/c4-billing-page/c4-billing-page.mocks.js +154 -0
- package/lib/esm/components/c4-billing-page/elements/cluster-reservations.js +9 -14
- package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.js +2 -1
- package/lib/esm/components/c4-billing-page/elements/usage-alerts.js +3 -8
- package/lib/esm/components/c4-billing-page/elements/value-metric.d.ts +2 -0
- package/lib/esm/components/c4-billing-page/elements/value-metric.js +15 -3
- package/lib/esm/components/c4-billing-page/elements/value-metric.spec.js +18 -0
- package/lib/esm/components/c4-bottom-links/c4-bottom-links.js +1 -6
- package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +3 -6
- package/lib/esm/components/c4-charts-dashboard/c4-charts-dashboard.js +1 -1
- package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.js +59 -2
- package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +41 -7
- package/lib/esm/components/c4-charts-dashboard/elements/line-chart.js +7 -1
- package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +6 -10
- package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +8 -3
- package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +8 -3
- package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +6 -5
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.js +12 -14
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.mocks.d.ts +5 -0
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.mocks.js +83 -0
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.js +6 -10
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.d.ts +6 -0
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.mocks.js +79 -0
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +8 -11
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.mocks.d.ts +3 -0
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.mocks.js +65 -0
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +9 -4
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +12 -8
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.mocks.d.ts +60 -0
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.mocks.js +143 -0
- package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.js +3 -2
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.js +7 -10
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.mocks.d.ts +6 -0
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.mocks.js +51 -0
- package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +15 -21
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.d.ts +1 -1
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +69 -6
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.mocks.d.ts +4 -0
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.mocks.js +132 -0
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +7 -0
- package/lib/esm/components/c4-cluster-overview/applications.js +19 -4
- package/lib/esm/components/c4-cluster-overview/applications.spec.js +27 -1
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +4 -3
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.mocks.d.ts +8 -0
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.mocks.js +203 -0
- package/lib/esm/components/c4-cluster-overview/cluster-details.d.ts +2 -0
- package/lib/esm/components/c4-cluster-overview/cluster-details.js +68 -16
- package/lib/esm/components/c4-cluster-overview/cluster-load.js +39 -4
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.js +1 -6
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.mocks.d.ts +16 -0
- package/lib/esm/components/c4-cluster-settings/c4-cluster-settings.mocks.js +104 -0
- package/lib/esm/components/c4-cluster-settings/elements/app-integrations-toggle.d.ts +14 -0
- package/lib/esm/components/c4-cluster-settings/elements/app-integrations-toggle.js +12 -0
- package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.d.ts +5 -1
- package/lib/esm/components/c4-cluster-settings/elements/cluster-settings.js +10 -3
- package/lib/esm/components/c4-cluster-settings/elements/danger-zone.js +1 -6
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.d.ts +20 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +85 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.spec.d.ts +1 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.spec.js +93 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.d.ts +20 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.js +15 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.spec.d.ts +1 -0
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider.spec.js +50 -0
- package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.d.ts +10 -4
- package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.js +117 -25
- package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.spec.d.ts +1 -0
- package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.spec.js +120 -0
- package/lib/esm/components/c4-cluster-settings/elements/resource-based-authorizations.js +2 -7
- package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +1 -6
- package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-toggle.js +1 -1
- package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.js +23 -3
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.js +18 -14
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.spec.d.ts +1 -0
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.spec.js +40 -0
- package/lib/esm/components/c4-clusters-empty-state/c4-clusters-empty-state.types.d.ts +2 -0
- package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.js +4 -9
- package/lib/esm/components/c4-clusters-trial-notification/c4-clusters-trial-notification.types.d.ts +2 -0
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.js +11 -7
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.mocks.d.ts +2 -0
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.mocks.js +186 -0
- package/lib/esm/components/c4-console-dashboard/elements/empty-state.js +2 -2
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.d.ts +2 -0
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.js +132 -0
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.mocks.d.ts +2 -0
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.mocks.js +20 -0
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.types.d.ts +22 -0
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.types.js +6 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.d.ts +32 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.js +71 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.spec.d.ts +1 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.spec.js +83 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +56 -54
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.mocks.d.ts +64 -0
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.mocks.js +298 -0
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.js +51 -31
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.mocks.d.ts +2 -0
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.mocks.js +23 -0
- package/lib/esm/components/c4-create-cluster-api-client-modal/c4-create-cluster-api-client-modal.types.d.ts +2 -0
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.js +4 -2
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.mocks.d.ts +2 -0
- package/lib/esm/components/c4-create-connector-secret-modal/c4-create-connector-secret-modal.mocks.js +15 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +6 -5
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.mocks.d.ts +2 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.mocks.js +13 -0
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.types.d.ts +1 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.d.ts +2 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.js +77 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.mocks.d.ts +2 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.mocks.js +11 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.types.d.ts +14 -0
- package/lib/esm/components/c4-create-ip-whitelist-modal/c4-create-ip-whitelist-modal.types.js +6 -0
- package/lib/esm/components/c4-create-trial-organization-modal/c4-create-trial-organization-modal.js +2 -1
- package/lib/esm/components/c4-dashboard-first-launch/c4-dashboard-first-launch.js +1 -6
- package/lib/esm/components/c4-data-table/c4-data-table-skeleton.d.ts +15 -0
- package/lib/esm/components/c4-data-table/c4-data-table-skeleton.js +26 -0
- package/lib/esm/components/c4-data-table/c4-data-table.d.ts +3 -0
- package/lib/esm/components/c4-data-table/c4-data-table.js +277 -0
- package/lib/esm/components/c4-data-table/c4-data-table.spec.d.ts +1 -0
- package/lib/esm/components/c4-data-table/c4-data-table.spec.js +71 -0
- package/lib/esm/components/c4-data-table/c4-data-table.stability.spec.d.ts +1 -0
- package/lib/esm/components/c4-data-table/c4-data-table.stability.spec.js +151 -0
- package/lib/esm/components/c4-delete-organization-modal/c4-delete-organization-modal.js +3 -2
- package/lib/esm/components/c4-empty-state/c4-empty-state.d.ts +47 -0
- package/lib/esm/components/c4-empty-state/c4-empty-state.js +33 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.d.ts +3 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.js +51 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.spec.d.ts +1 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.spec.js +33 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.types.d.ts +8 -0
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.types.js +1 -0
- package/lib/esm/components/c4-external-link/c4-external-link.js +1 -6
- package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.d.ts +40 -0
- package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.js +109 -0
- package/lib/esm/components/c4-help-center/c4-help-center.d.ts +50 -0
- package/lib/esm/components/c4-help-center/c4-help-center.js +39 -0
- package/lib/esm/components/c4-inline-notification/c4-inline-notification.d.ts +15 -0
- package/lib/esm/components/c4-inline-notification/c4-inline-notification.js +37 -0
- package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +4 -3
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +4 -2
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.d.ts +2 -0
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.mocks.js +231 -0
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.js +1 -1
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.js +3 -8
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +56 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +37 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.js +3 -3
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +2 -1
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +43 -46
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.d.ts +2 -0
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.mocks.js +102 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-background-fetching-indicator.js +1 -6
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.d.ts +10 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js +16 -0
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +1 -1
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-table-heading-with-tooltip.js +1 -1
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.js +1 -1
- package/lib/esm/components/c4-leave-organization-modal/c4-leave-organization-modal.js +1 -6
- package/lib/esm/components/c4-link-button/c4-link-button.js +1 -6
- package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.js +1 -1
- package/lib/esm/components/c4-management-activity/c4-management-activity.d.ts +1 -1
- package/lib/esm/components/c4-management-activity/c4-management-activity.js +109 -9
- package/lib/esm/components/c4-management-activity/c4-management-activity.mocks.d.ts +4 -0
- package/lib/esm/components/c4-management-activity/c4-management-activity.mocks.js +63 -0
- package/lib/esm/components/c4-management-activity/c4-management-activity.types.d.ts +11 -0
- package/lib/esm/components/c4-management-api/c4-management-api.js +9 -11
- package/lib/esm/components/c4-management-api/c4-management-api.mocks.d.ts +43 -0
- package/lib/esm/components/c4-management-api/c4-management-api.mocks.js +118 -0
- package/lib/esm/components/c4-management-overview/c4-management-overview.js +12 -14
- package/lib/esm/components/c4-management-settings/c4-management-settings.js +9 -11
- package/lib/esm/components/c4-management-users/c4-management-users.js +4 -9
- package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.js +4 -2
- package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.js +4 -2
- package/lib/esm/components/c4-navigation/c4-navigation.d.ts +55 -0
- package/lib/esm/components/c4-navigation/c4-navigation.js +175 -0
- package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.js +3 -2
- package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.types.d.ts +1 -0
- package/lib/esm/components/c4-page-layout/c4-page-layout.d.ts +13 -0
- package/lib/esm/components/c4-page-layout/c4-page-layout.js +23 -0
- package/lib/esm/components/c4-page-template/c4-page-template.js +14 -3
- package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.js +1 -1
- package/lib/esm/components/c4-pricing/c4-pricing.js +3 -7
- package/lib/esm/components/c4-pricing-card/c4-pricing-card.js +1 -1
- package/lib/esm/components/c4-rename-organization-modal/c4-rename-organization-modal.js +1 -1
- package/lib/esm/components/c4-search/c4-search-results.js +2 -1
- package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.d.ts +20 -0
- package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.js +44 -0
- package/lib/esm/components/c4-sm-cluster-details/automation-components.js +2 -1
- package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.js +1 -6
- package/lib/esm/components/c4-sm-cluster-details/custom-properties.js +4 -8
- package/lib/esm/components/c4-sm-cluster-details/details.js +5 -4
- package/lib/esm/components/c4-sm-cluster-details/zeebe-components.js +2 -1
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.js +1 -1
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.d.ts +1 -1
- package/lib/esm/components/c4-sm-dashboard/cluster-tile.js +2 -1
- package/lib/esm/components/c4-sm-dashboard/component-tile.js +2 -1
- package/lib/esm/components/c4-sm-dashboard/explore.js +1 -6
- package/lib/esm/components/c4-sm-dashboard/overview.js +1 -1
- package/lib/esm/components/c4-sm-dashboard/usage-tile.js +2 -1
- package/lib/esm/components/c4-stat/c4-stat.js +1 -6
- package/lib/esm/components/c4-stateful-button/c4-stateful-button.js +2 -1
- package/lib/esm/components/c4-structured-list/c4-structured-list.d.ts +21 -0
- package/lib/esm/components/c4-structured-list/c4-structured-list.js +75 -0
- package/lib/esm/components/c4-tabs/c4-tabs.js +2 -1
- package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.js +6 -2
- package/lib/esm/components/c4-telemetry-page/component-metrics.js +1 -6
- package/lib/esm/components/c4-telemetry-page/telemetry-for-component.js +60 -37
- package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.js +1 -1
- package/lib/esm/components/c4-theme-switcher/c4-theme-switcher.js +1 -1
- package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.js +1 -1
- package/lib/esm/components/c4-toast-notification/c4-toast-notification.d.ts +14 -0
- package/lib/esm/components/c4-toast-notification/c4-toast-notification.js +27 -0
- package/lib/esm/components/c4-toggle/c4-toggle.js +6 -8
- package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.js +1 -1
- package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.js +4 -2
- package/lib/esm/components/c4-usage-history/c4-usage-history.js +5 -3
- package/lib/esm/components/c4-usage-history/elements/usage-history-charts.js +7 -1
- package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +8 -7
- package/lib/esm/components/c4-user-details/c4-user-details.js +2 -2
- package/lib/esm/components/c4-user-details/tabs/authorized-resources.js +4 -2
- package/lib/esm/components/c4-user-details/tabs/details.js +6 -10
- package/lib/esm/components/c4-user-details/tabs/roles.js +3 -8
- package/lib/esm/components/shared-charts/ds-charts.smoke.spec.d.ts +1 -0
- package/lib/esm/components/shared-charts/ds-charts.smoke.spec.js +47 -0
- package/lib/esm/components/shared-charts/ds-line-chart.d.ts +33 -0
- package/lib/esm/components/shared-charts/ds-line-chart.js +55 -0
- package/lib/esm/components/shared-charts/ds-meter-chart.d.ts +22 -0
- package/lib/esm/components/shared-charts/ds-meter-chart.js +48 -0
- package/lib/esm/components/shared-charts/recharts-tokens.d.ts +24 -0
- package/lib/esm/components/shared-charts/recharts-tokens.js +51 -0
- package/lib/esm/externalUrls.const.d.ts +2 -0
- package/lib/esm/externalUrls.const.js +7 -0
- package/lib/esm/externalUrls.const.spec.js +2 -0
- package/lib/esm/i18n/c4-console-i18n.js +8 -0
- package/lib/esm/i18n/en/entities/orgroles.json +0 -16
- package/lib/esm/i18n/en/modals/clusters.json +0 -8
- package/lib/esm/i18n/en/pages/clusterdetails.json +14 -2
- package/lib/esm/i18n/en/pages/orgmanagement.json +12 -3
- package/lib/esm/index.d.ts +33 -1
- package/lib/esm/index.js +23 -1
- package/lib/esm/runtime/c4-console-authz.d.ts +26 -0
- package/lib/esm/runtime/c4-console-authz.js +59 -29
- package/lib/esm/runtime/c4-console-authz.spec.js +87 -20
- package/lib/esm/runtime/c4-console-data-context.js +40 -0
- package/lib/esm/runtime/c4-console-data-context.types.d.ts +19 -1
- package/lib/esm/runtime/c4-console-data-store.d.ts +25 -1
- package/lib/esm/runtime/c4-console-data-store.js +145 -31
- package/lib/esm/runtime/c4-console-data-store.nav.spec.d.ts +1 -0
- package/lib/esm/runtime/c4-console-data-store.nav.spec.js +121 -0
- package/lib/esm/runtime/c4-console-data-store.spec.js +35 -6
- package/lib/esm/runtime/c4-console-events-context.d.ts +18 -0
- package/lib/esm/runtime/c4-console-events-context.js +62 -0
- package/lib/esm/runtime/c4-console-runtime-context.d.ts +8 -1
- package/lib/esm/runtime/c4-console-runtime-context.js +50 -1
- package/lib/esm/runtime/c4-console-runtime.types.d.ts +20 -0
- package/lib/esm/runtime/c4-user-notifications-context.d.ts +19 -0
- package/lib/esm/runtime/c4-user-notifications-context.js +201 -0
- package/lib/esm/runtime/c4-user-notifications-context.spec.d.ts +1 -0
- package/lib/esm/runtime/c4-user-notifications-context.spec.js +80 -0
- package/lib/esm/runtime/c4-user-notifications-context.types.d.ts +31 -0
- package/lib/esm/runtime/c4-user-notifications-context.types.js +6 -0
- package/lib/esm/runtime/c4-user-theme.d.ts +27 -0
- package/lib/esm/runtime/c4-user-theme.js +106 -0
- package/lib/esm/runtime/decode-access-token.d.ts +12 -0
- package/lib/esm/runtime/decode-access-token.js +39 -0
- package/lib/esm/runtime/nav/camunda-apps.d.ts +45 -0
- package/lib/esm/runtime/nav/camunda-apps.js +100 -0
- package/lib/esm/runtime/nav/camunda-apps.spec.d.ts +1 -0
- package/lib/esm/runtime/nav/camunda-apps.spec.js +90 -0
- package/lib/esm/runtime/nav/use-webapp-nav-data.d.ts +75 -0
- package/lib/esm/runtime/nav/use-webapp-nav-data.js +211 -0
- package/lib/esm/runtime/nav/use-webapp-nav-data.spec.d.ts +1 -0
- package/lib/esm/runtime/nav/use-webapp-nav-data.spec.js +91 -0
- package/lib/esm/runtime/to-api-config.js +4 -0
- package/lib/esm/ui/c4-modal-dialog.d.ts +14 -0
- package/lib/esm/ui/c4-modal-dialog.js +35 -0
- package/lib/esm/ui/families.d.ts +42 -0
- package/lib/esm/ui/families.js +46 -0
- package/lib/esm/ui/index.d.ts +32 -0
- package/lib/esm/ui/index.js +95 -0
- package/lib/esm/ui/switchable.d.ts +14 -0
- package/lib/esm/ui/switchable.js +27 -0
- package/lib/esm/ui/tabs.d.ts +21 -0
- package/lib/esm/ui/tabs.js +27 -0
- package/lib/esm/widgets/cluster-client-details/c4-cluster-client-details-app.js +7 -5
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +39 -15
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.merge.spec.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.merge.spec.js +49 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +8 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +1 -1
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.spec.js +2 -0
- package/lib/esm/widgets/cluster-details/cluster-details-tabs.d.ts +23 -0
- package/lib/esm/widgets/cluster-details/cluster-details-tabs.js +83 -0
- package/lib/esm/widgets/cluster-details/cluster-details-tabs.spec.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/cluster-details-tabs.spec.js +33 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +25 -88
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +5 -3
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.js +7 -5
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +10 -6
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +3 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +25 -39
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +88 -35
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.spec.js +134 -19
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +12 -9
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +2 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +194 -6
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.spec.js +60 -1
- package/lib/esm/widgets/clusters/c4-clusters-page.d.ts +1 -1
- package/lib/esm/widgets/clusters/c4-clusters-page.js +173 -81
- package/lib/esm/widgets/clusters/c4-clusters-page.spec.js +146 -13
- package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +3 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +1 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +3 -2
- package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.d.ts +4 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.js +59 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.types.d.ts +18 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.types.js +6 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-page.d.ts +1 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-page.js +38 -5
- package/lib/esm/widgets/connector-management/c4-connector-management-page.spec.js +86 -0
- package/lib/esm/widgets/connector-management/c4-connector-management-page.types.d.ts +11 -0
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.d.ts +1 -0
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +14 -5
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +1 -1
- package/lib/esm/widgets/dashboard/c4-dashboard-app.js +21 -2
- package/lib/esm/widgets/group-details/c4-group-details-page.js +3 -2
- package/lib/esm/widgets/management/c4-management-app.d.ts +1 -1
- package/lib/esm/widgets/management/c4-management-app.js +132 -23
- package/lib/esm/widgets/management/c4-management-app.spec.js +163 -1
- package/lib/esm/widgets/management/c4-management-app.types.d.ts +5 -0
- package/lib/esm/widgets/management/c4-management-page.js +1 -6
- package/lib/esm/widgets/management/management-tabs.d.ts +22 -0
- package/lib/esm/widgets/management/management-tabs.js +76 -0
- package/lib/esm/widgets/management/management-tabs.spec.d.ts +1 -0
- package/lib/esm/widgets/management/management-tabs.spec.js +28 -0
- package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +4 -2
- package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +1 -1
- package/lib/esm/widgets/management/tabs/c4-management-groups-tab.js +1 -1
- package/lib/esm/widgets/management/tabs/c4-management-overview-tab.d.ts +3 -1
- package/lib/esm/widgets/management/tabs/c4-management-overview-tab.js +19 -3
- package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +2 -1
- package/lib/esm/widgets/management/tabs/c4-management-settings-tab.js +1 -1
- package/lib/esm/widgets/management/tabs/c4-management-usage-tab.d.ts +1 -1
- package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +13 -11
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +37 -5
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.spec.js +98 -0
- package/lib/esm/widgets/use-extend-trial.d.ts +8 -0
- package/lib/esm/widgets/use-extend-trial.js +36 -0
- package/lib/esm/widgets/use-extend-trial.spec.d.ts +1 -0
- package/lib/esm/widgets/use-extend-trial.spec.js +79 -0
- package/lib/esm/widgets/user-details/c4-user-details-page.js +5 -14
- package/package.json +16 -7
|
@@ -4,14 +4,25 @@ 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 {
|
|
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
|
+
import { Stack } from '../../ui/index.js';
|
|
8
11
|
import { C4ActionableNotification } from '../c4-actionable-notification/c4-actionable-notification.js';
|
|
9
12
|
import { C4Breadcrumb } from '../c4-breadcrumb/c4-breadcrumb.js';
|
|
13
|
+
import { C4InlineNotification } from '../c4-inline-notification/c4-inline-notification.js';
|
|
10
14
|
import { C4Tabs } from '../c4-tabs/c4-tabs.js';
|
|
11
15
|
const gridStyles = { paddingRight: 0, paddingLeft: 0 };
|
|
12
16
|
const gridColumnStyles = { marginInline: 0 };
|
|
13
17
|
const C4PageTemplate = ({ header, tabs, banner, children, loading = false, breadcrumbs = { elements: [] }, }) => {
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
const designSystem = useC4DesignSystem();
|
|
19
|
+
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, loading: loading, codeSnippet: header?.codeSnippet })), banner &&
|
|
20
|
+
(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: true, 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, { children: inner });
|
|
25
|
+
}
|
|
26
|
+
return (_jsx(Grid, { style: gridStyles, children: _jsx(Column, { span: '100%', style: gridColumnStyles, children: inner }) }));
|
|
16
27
|
};
|
|
17
28
|
export { C4PageTemplate };
|
|
@@ -4,8 +4,8 @@ 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 { Button, Stack } from '@carbon/react';
|
|
8
7
|
import { Locked } from '@carbon/react/icons/index.esm.js';
|
|
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 = () => {
|
|
11
11
|
if (onRedirect) {
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
|
|
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 { ActionableNotification, Loading, Stack, Tile } from '@carbon/react';
|
|
2
|
+
import { Loading, Stack, Tile } from '../../ui/index.js';
|
|
3
|
+
import { C4ActionableNotification } from '../c4-actionable-notification/c4-actionable-notification.js';
|
|
8
4
|
import { C4PricingCard } from '../c4-pricing-card/c4-pricing-card.js';
|
|
9
5
|
export const C4Pricing = ({ title, notification, cards, loading, boxesToTheBottom, }) => {
|
|
10
6
|
// CONFIG
|
|
@@ -49,7 +45,7 @@ export const C4Pricing = ({ title, notification, cards, loading, boxesToTheBotto
|
|
|
49
45
|
display: 'grid',
|
|
50
46
|
gridTemplateColumns,
|
|
51
47
|
gap: gridGap,
|
|
52
|
-
}, children: [notification && (_jsx("div", { style: { gridColumn: notificationGridColumn }, children: _jsx(
|
|
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: {
|
|
53
49
|
display: 'grid',
|
|
54
50
|
gridTemplateColumns: lowerGridTemplateColumns,
|
|
55
51
|
gap: gridGap,
|
|
@@ -4,8 +4,8 @@ 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 { Button, Stack, Tile, Tooltip } from '@carbon/react';
|
|
8
7
|
import { Checkmark, Close, Information } from '@carbon/react/icons/index.esm.js';
|
|
8
|
+
import { Button, Stack, Tile, Tooltip } from '../../ui/index.js';
|
|
9
9
|
export const C4PricingCard = ({ grid, sections, }) => {
|
|
10
10
|
// CONFIG
|
|
11
11
|
const gap = 5;
|
|
@@ -4,8 +4,8 @@ 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 { Modal, Stack, TextInput } from '@carbon/react';
|
|
8
7
|
import { forwardRef, useCallback, useImperativeHandle, useMemo, useState, } from 'react';
|
|
8
|
+
import { Modal, Stack, TextInput } from '../../ui/index.js';
|
|
9
9
|
function safeTranslate(t, key, defaultValue, options) {
|
|
10
10
|
if (!t)
|
|
11
11
|
return defaultValue;
|
|
@@ -4,9 +4,10 @@ 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
|
|
7
|
+
import { InlineLoading } from '@carbon/react';
|
|
8
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';
|
|
9
9
|
import { useState } from 'react';
|
|
10
|
+
import { Link, Stack, Tile } from '../../ui/index.js';
|
|
10
11
|
import { C4Divider } from '../c4-divider/c4-divider.js';
|
|
11
12
|
import { SearchUtils } from './search.utils.js';
|
|
12
13
|
const KBD = ({ label }) => {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { CSSProperties, JSX, ReactNode } from 'react';
|
|
2
|
+
interface C4SelectableTileProps {
|
|
3
|
+
value: string;
|
|
4
|
+
checked: boolean;
|
|
5
|
+
onChange: () => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}
|
|
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.
|
|
18
|
+
*/
|
|
19
|
+
export declare function C4SelectableTile({ value, checked, onChange, disabled, style, children, }: C4SelectableTileProps): JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
/**
|
|
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.
|
|
17
|
+
*/
|
|
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
|
+
}
|
|
23
|
+
return (_jsx("button", { type: 'button', "aria-pressed": checked, disabled: disabled, onClick: () => onChange(), style: {
|
|
24
|
+
display: 'flex',
|
|
25
|
+
flexDirection: 'column',
|
|
26
|
+
alignItems: 'flex-start',
|
|
27
|
+
justifyContent: 'flex-start',
|
|
28
|
+
width: '100%',
|
|
29
|
+
height: '100%',
|
|
30
|
+
textAlign: 'left',
|
|
31
|
+
padding: '1rem',
|
|
32
|
+
borderRadius: '0.5rem',
|
|
33
|
+
border: `1px solid ${checked ? 'var(--primary-action-default)' : 'var(--border)'}`,
|
|
34
|
+
boxShadow: checked
|
|
35
|
+
? 'inset 0 0 0 1px var(--primary-action-default)'
|
|
36
|
+
: 'none',
|
|
37
|
+
background: 'var(--card, var(--background))',
|
|
38
|
+
color: 'inherit',
|
|
39
|
+
font: 'inherit',
|
|
40
|
+
cursor: disabled ? 'not-allowed' : 'pointer',
|
|
41
|
+
opacity: disabled ? 0.5 : 1,
|
|
42
|
+
...style,
|
|
43
|
+
}, children: children }));
|
|
44
|
+
}
|
|
@@ -4,7 +4,8 @@ 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 { Column, Grid, Layer
|
|
7
|
+
import { Column, Grid, Layer } from '@carbon/react';
|
|
8
|
+
import { Stack, Tile } from '../../ui/index.js';
|
|
8
9
|
import { STYLES } from '../c4-billing-page/c4-billing-page.js';
|
|
9
10
|
import { ApplicationTile } from '../c4-cluster-overview/applications.js';
|
|
10
11
|
import { ZeebeComponentGroup } from './zeebe-components.js';
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
4
|
-
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
|
-
* You may not use this file except in compliance with the commercial license.
|
|
6
|
-
*/
|
|
7
|
-
import { Stack } from '@carbon/react';
|
|
8
2
|
import styled from 'styled-components';
|
|
3
|
+
import { Stack } from '../../ui/index.js';
|
|
9
4
|
import { C4Breadcrumb } from '../c4-breadcrumb/c4-breadcrumb.js';
|
|
10
5
|
import C4JobDashboardEntryPoint from '../c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js';
|
|
11
6
|
import { AutomationComponents } from './automation-components.js';
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
|
|
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 { Link, Stack, StructuredListBody, StructuredListCell, StructuredListRow, StructuredListWrapper, Tile, } from '@carbon/react';
|
|
2
|
+
import { Link, Stack, Tile } from '../../ui/index.js';
|
|
3
|
+
import { C4StructuredListBody, C4StructuredListCell, C4StructuredListRow, C4StructuredListWrapper, } from '../c4-structured-list/c4-structured-list.js';
|
|
8
4
|
import { SLR } from './details.js';
|
|
9
5
|
export const CustomProperties = (props) => {
|
|
10
|
-
const component = (_jsx(Tile, { children: _jsxs(Stack, { gap: 6, children: [_jsx("h3", { className: 'cds--type-heading-02', children: props.title }), _jsx(
|
|
6
|
+
const component = (_jsx(Tile, { children: _jsxs(Stack, { gap: 6, children: [_jsx("h3", { className: 'cds--type-heading-02', children: props.title }), _jsx(C4StructuredListWrapper, { children: _jsx(C4StructuredListBody, { children: props.props?.map((prop) => {
|
|
11
7
|
const elements = [];
|
|
12
8
|
if (prop.description) {
|
|
13
9
|
elements.push(_jsx(SLR, { label: prop.description.label, value: prop.description.value }));
|
|
@@ -22,7 +18,7 @@ export const CustomProperties = (props) => {
|
|
|
22
18
|
return component;
|
|
23
19
|
};
|
|
24
20
|
const SLRLink = (props) => {
|
|
25
|
-
return (_jsxs(
|
|
21
|
+
return (_jsxs(C4StructuredListRow, { children: [_jsx(C4StructuredListCell, { style: { width: '9rem' }, children: props.title }), _jsx(C4StructuredListCell, { children: _jsx(Link, { href: props.value, target: '_blank', children: props.label }) })] }));
|
|
26
22
|
};
|
|
27
23
|
export function customPropertiesAvailable(props) {
|
|
28
24
|
return !!props.props;
|
|
@@ -5,20 +5,21 @@ 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 { C3ClusterTag } from '@camunda/camunda-composite-components';
|
|
8
|
-
import { Stack,
|
|
8
|
+
import { Stack, Tile } from '../../ui/index.js';
|
|
9
9
|
import { HealthStatus } from '../c4-sm-dashboard/health-status.js';
|
|
10
|
+
import { C4StructuredListBody, C4StructuredListCell, C4StructuredListRow, C4StructuredListWrapper, } from '../c4-structured-list/c4-structured-list.js';
|
|
10
11
|
export const Details = (props) => {
|
|
11
|
-
const component = (_jsx(Tile, { children: _jsxs(Stack, { gap: 6, children: [_jsx("h3", { className: 'cds--type-heading-02', children: props.title }), _jsx(
|
|
12
|
+
const component = (_jsx(Tile, { children: _jsxs(Stack, { gap: 6, children: [_jsx("h3", { className: 'cds--type-heading-02', children: props.title }), _jsx(C4StructuredListWrapper, { children: _jsxs(C4StructuredListBody, { children: [_jsx(SLR, { label: props.entries.name.label, value: props.entries.name.value }), _jsx(SLR, { label: props.entries.namespace.label, value: props.entries.namespace.value }), _jsx(SLR, { label: props.entries.status.label, value: _jsx(HealthStatus, { id: 'cluster-status', status: props.entries.status.value, text: props.entries.status.value === 'healthy'
|
|
12
13
|
? 'Healthy'
|
|
13
14
|
: 'Unhealthy', tooltip: props.entries.status.tooltip }) }), _jsx(Tags, { label: props.entries.tags.label, values: props.entries.tags.values })] }) })] }) }));
|
|
14
15
|
return component;
|
|
15
16
|
};
|
|
16
17
|
export const SLR = (props) => {
|
|
17
|
-
return (_jsxs(
|
|
18
|
+
return (_jsxs(C4StructuredListRow, { children: [_jsx(C4StructuredListCell, { style: { width: '9rem' }, children: props.label }), _jsx(C4StructuredListCell, { children: props.value })] }));
|
|
18
19
|
};
|
|
19
20
|
const Tags = (props) => {
|
|
20
21
|
if (props.values.length === 0) {
|
|
21
22
|
return null;
|
|
22
23
|
}
|
|
23
|
-
return (_jsxs(
|
|
24
|
+
return (_jsxs(C4StructuredListRow, { children: [_jsx(C4StructuredListCell, { style: { width: '9rem' }, children: props.label }), _jsx(C4StructuredListCell, { children: props.values.map((tag) => (_jsx(C3ClusterTag, { stage: tag }, tag))) })] }));
|
|
24
25
|
};
|
|
@@ -4,7 +4,8 @@ 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 {
|
|
7
|
+
import { Column, Grid, Layer } from '@carbon/react';
|
|
8
|
+
import { CodeSnippet, Stack, Tile } from '../../ui/index.js';
|
|
8
9
|
import { STYLES } from '../c4-billing-page/c4-billing-page.js';
|
|
9
10
|
import { HealthStatus } from '../c4-sm-dashboard/health-status.js';
|
|
10
11
|
export const ZeebeComponentGroup = (props) => {
|
|
@@ -11,7 +11,7 @@ import { Explore } from './explore.js';
|
|
|
11
11
|
import { Overview } from './overview.js';
|
|
12
12
|
import { UsageTile } from './usage-tile.js';
|
|
13
13
|
export const C4SmDashboard = ({ automation, management, texts, explore, usage, actions, }) => {
|
|
14
|
-
const managementTile = (_jsx(ClusterTile.Component, { name: texts.managementTitle, clusters:
|
|
14
|
+
const managementTile = (_jsx(ClusterTile.Component, { name: texts.managementTitle, clusters: management }));
|
|
15
15
|
const usageTile = _jsx(UsageTile.Component, { ...usage });
|
|
16
16
|
const overview = (_jsx(Overview.Component, { chartTitle: texts.chartTitle, unhealthyClustersTitle: texts.unhealthyClustersTitle, emptyState: texts.unhealthyEmptyState, automation: automation, actions: actions }));
|
|
17
17
|
const exploreComponent = _jsx(Explore.Component, { ...explore, actions: actions });
|
|
@@ -4,7 +4,8 @@ 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 { Column, Grid
|
|
7
|
+
import { Column, Grid } from '@carbon/react';
|
|
8
|
+
import { Stack, Tile } from '../../ui/index.js';
|
|
8
9
|
import { STYLES } from '../c4-billing-page/c4-billing-page.js';
|
|
9
10
|
import { ComponentTile } from './component-tile.js';
|
|
10
11
|
export var ClusterTile;
|
|
@@ -4,8 +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 { Layer
|
|
7
|
+
import { Layer } from '@carbon/react';
|
|
8
8
|
import { CheckmarkFilled, WarningFilled } from '@carbon/react/icons/index.esm.js';
|
|
9
|
+
import { Stack, Tile } from '../../ui/index.js';
|
|
9
10
|
import { ClusterStatusElement, StatusColor, } from '../c4-cluster-overview/applications.js';
|
|
10
11
|
export var ComponentTile;
|
|
11
12
|
(function (ComponentTile) {
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
4
|
-
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
|
-
* You may not use this file except in compliance with the commercial license.
|
|
6
|
-
*/
|
|
7
|
-
import { Stack, Tile } from '@carbon/react';
|
|
2
|
+
import { Stack, Tile } from '../../ui/index.js';
|
|
8
3
|
import { C4ExternalLink } from '../c4-external-link/c4-external-link.js';
|
|
9
4
|
export var Explore;
|
|
10
5
|
(function (Explore) {
|
|
@@ -5,8 +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 { DonutChart } from '@carbon/charts-react';
|
|
8
|
-
import { Stack, Tile } from '@carbon/react';
|
|
9
8
|
import { ArrowRight, CheckmarkOutline } from '@carbon/react/icons/index.esm.js';
|
|
9
|
+
import { Stack, Tile } from '../../ui/index.js';
|
|
10
10
|
import { StatusColor } from '../c4-cluster-overview/applications.js';
|
|
11
11
|
import { C4Divider } from '../c4-divider/c4-divider.js';
|
|
12
12
|
import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
|
|
@@ -4,8 +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 { Column, Grid, Layer
|
|
7
|
+
import { Column, Grid, Layer } from '@carbon/react';
|
|
8
8
|
import { ArrowRight } from '@carbon/react/icons/index.esm.js';
|
|
9
|
+
import { Stack, Tile } from '../../ui/index.js';
|
|
9
10
|
import { STYLES } from '../c4-billing-page/c4-billing-page.js';
|
|
10
11
|
import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
|
|
11
12
|
export var UsageTile;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
4
|
-
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
|
-
* You may not use this file except in compliance with the commercial license.
|
|
6
|
-
*/
|
|
7
|
-
import { Stack } from '@carbon/react';
|
|
2
|
+
import { Stack } from '../../ui/index.js';
|
|
8
3
|
export const C4Stat = ({ value, label }) => {
|
|
9
4
|
const component = (_jsxs(Stack, { gap: 5, children: [_jsx("p", { style: { lineHeight: '20px', fontSize: '40px', fontWeight: 400 }, children: value }), label && _jsx("p", { children: label })] }));
|
|
10
5
|
return component;
|
|
@@ -4,8 +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 {
|
|
7
|
+
import { InlineLoading } from '@carbon/react';
|
|
8
8
|
import { useState } from 'react';
|
|
9
|
+
import { Button } from '../../ui/index.js';
|
|
9
10
|
const WAITING_TIME_IN_SECONDS = 3;
|
|
10
11
|
export const C4StatefulButton = (options) => {
|
|
11
12
|
const [state, setState] = useState('none');
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StructuredListBody as CarbonBody, StructuredListCell as CarbonCell, StructuredListHead as CarbonHead, StructuredListRow as CarbonRow, StructuredListSkeleton as CarbonSkeleton, StructuredListWrapper as CarbonWrapper } from '@carbon/react';
|
|
2
|
+
import type { ComponentProps, JSX } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Design-system-switchable structured list.
|
|
5
|
+
*
|
|
6
|
+
* Carbon has no DS equivalent and the DS ships no StructuredList, so the ds
|
|
7
|
+
* variants render the DS `Table` primitives — giving the DS table look for what
|
|
8
|
+
* is mostly a key/value layout (`StructuredListCell head` = the label, rendered
|
|
9
|
+
* as a row-scoped `<th>`; the value cell as `<td>`). All sub-components read the
|
|
10
|
+
* same `designSystem` flag, so a list never mixes Carbon and DS parts.
|
|
11
|
+
*
|
|
12
|
+
* Each sub-component mirrors its Carbon counterpart's name/props so call sites
|
|
13
|
+
* only swap the import. Carbon-only props (isFlush, selection, ...) are accepted
|
|
14
|
+
* and ignored in ds mode; `isCondensed` maps to the DS table `sm` size.
|
|
15
|
+
*/
|
|
16
|
+
export declare function C4StructuredListWrapper(props: ComponentProps<typeof CarbonWrapper>): JSX.Element;
|
|
17
|
+
export declare function C4StructuredListHead(props: ComponentProps<typeof CarbonHead>): JSX.Element;
|
|
18
|
+
export declare function C4StructuredListBody(props: ComponentProps<typeof CarbonBody>): JSX.Element;
|
|
19
|
+
export declare function C4StructuredListRow(props: ComponentProps<typeof CarbonRow>): JSX.Element;
|
|
20
|
+
export declare function C4StructuredListCell(props: ComponentProps<typeof CarbonCell>): JSX.Element;
|
|
21
|
+
export declare function C4StructuredListSkeleton(props: ComponentProps<typeof CarbonSkeleton>): JSX.Element;
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from '@camunda/design-system';
|
|
8
|
+
import { StructuredListBody as CarbonBody, StructuredListCell as CarbonCell, StructuredListHead as CarbonHead, StructuredListRow as CarbonRow, StructuredListSkeleton as CarbonSkeleton, StructuredListWrapper as CarbonWrapper, } from '@carbon/react';
|
|
9
|
+
import { useC4DesignSystem } from '../../runtime/c4-console-runtime-context.js';
|
|
10
|
+
/**
|
|
11
|
+
* Design-system-switchable structured list.
|
|
12
|
+
*
|
|
13
|
+
* Carbon has no DS equivalent and the DS ships no StructuredList, so the ds
|
|
14
|
+
* variants render the DS `Table` primitives — giving the DS table look for what
|
|
15
|
+
* is mostly a key/value layout (`StructuredListCell head` = the label, rendered
|
|
16
|
+
* as a row-scoped `<th>`; the value cell as `<td>`). All sub-components read the
|
|
17
|
+
* same `designSystem` flag, so a list never mixes Carbon and DS parts.
|
|
18
|
+
*
|
|
19
|
+
* Each sub-component mirrors its Carbon counterpart's name/props so call sites
|
|
20
|
+
* only swap the import. Carbon-only props (isFlush, selection, ...) are accepted
|
|
21
|
+
* and ignored in ds mode; `isCondensed` maps to the DS table `sm` size.
|
|
22
|
+
*/
|
|
23
|
+
export function C4StructuredListWrapper(props) {
|
|
24
|
+
const designSystem = useC4DesignSystem();
|
|
25
|
+
if (designSystem !== 'ds') {
|
|
26
|
+
return _jsx(CarbonWrapper, { ...props });
|
|
27
|
+
}
|
|
28
|
+
return (_jsx(Table, { size: props.isCondensed ? 'sm' : 'md', "aria-label": props['aria-label'], children: props.children }));
|
|
29
|
+
}
|
|
30
|
+
export function C4StructuredListHead(props) {
|
|
31
|
+
const designSystem = useC4DesignSystem();
|
|
32
|
+
if (designSystem !== 'ds') {
|
|
33
|
+
return _jsx(CarbonHead, { ...props });
|
|
34
|
+
}
|
|
35
|
+
return _jsx(TableHeader, { children: props.children });
|
|
36
|
+
}
|
|
37
|
+
export function C4StructuredListBody(props) {
|
|
38
|
+
const designSystem = useC4DesignSystem();
|
|
39
|
+
if (designSystem !== 'ds') {
|
|
40
|
+
return _jsx(CarbonBody, { ...props });
|
|
41
|
+
}
|
|
42
|
+
return _jsx(TableBody, { children: props.children });
|
|
43
|
+
}
|
|
44
|
+
export function C4StructuredListRow(props) {
|
|
45
|
+
const designSystem = useC4DesignSystem();
|
|
46
|
+
if (designSystem !== 'ds') {
|
|
47
|
+
return _jsx(CarbonRow, { ...props });
|
|
48
|
+
}
|
|
49
|
+
return _jsx(TableRow, { children: props.children });
|
|
50
|
+
}
|
|
51
|
+
export function C4StructuredListCell(props) {
|
|
52
|
+
const designSystem = useC4DesignSystem();
|
|
53
|
+
if (designSystem !== 'ds') {
|
|
54
|
+
return _jsx(CarbonCell, { ...props });
|
|
55
|
+
}
|
|
56
|
+
// Vertically center cell content so single-line rows read centered in their
|
|
57
|
+
// row height (the deployed lists set fixed row heights, which left top-aligned
|
|
58
|
+
// text floating at the top). `middle` also centers the CodeSnippet cells that
|
|
59
|
+
// wrap their content in a `height: 0` Layer (a Carbon trick): the zero-height
|
|
60
|
+
// box is centered and the snippet overflows symmetrically, so it stays in view
|
|
61
|
+
// (only `bottom`/`baseline` would drop it out). Call sites that need
|
|
62
|
+
// top-alignment (e.g. the multi-line description editor) pass `verticalAlign`
|
|
63
|
+
// via `style`, which wins over this default.
|
|
64
|
+
const style = { verticalAlign: 'middle', ...props.style };
|
|
65
|
+
// A `head` cell is the row label (Carbon's bold left column) → row-scoped th.
|
|
66
|
+
return props.head ? (_jsx(TableHead, { scope: 'row', style: style, children: props.children })) : (_jsx(TableCell, { style: style, children: props.children }));
|
|
67
|
+
}
|
|
68
|
+
export function C4StructuredListSkeleton(props) {
|
|
69
|
+
const designSystem = useC4DesignSystem();
|
|
70
|
+
if (designSystem !== 'ds') {
|
|
71
|
+
return _jsx(CarbonSkeleton, { ...props });
|
|
72
|
+
}
|
|
73
|
+
const rowCount = props.rowCount ?? 5;
|
|
74
|
+
return (_jsx("div", { className: 'overflow-hidden rounded-xl border bg-neutral-background-subtle', children: Array.from({ length: rowCount }).map((_, index) => (_jsx("div", { className: 'border-b px-4 py-3 last:border-0', children: _jsx("div", { className: 'h-4 w-3/4 animate-pulse rounded bg-neutral-background-strong' }) }, index))) }));
|
|
75
|
+
}
|
|
@@ -4,10 +4,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
5
|
* You may not use this file except in compliance with the commercial license.
|
|
6
6
|
*/
|
|
7
|
-
import { Tab, TabList, TabPanel, TabPanels, Tabs, TabsSkeleton, } from '@carbon/react';
|
|
8
7
|
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
8
|
+
import { useTabsFamily } from '../../ui/tabs.js';
|
|
9
9
|
const TabPanelStyles = { paddingLeft: 0, paddingRight: 0 };
|
|
10
10
|
export const C4Tabs = ({ tabs, desiredTabId, onTabChange, loading = false, }) => {
|
|
11
|
+
const { Tabs, Tab, TabList, TabPanel, TabPanels, TabsSkeleton } = useTabsFamily();
|
|
11
12
|
const initializedTabs = useRef(new Set());
|
|
12
13
|
const visibleTabs = useMemo(() => tabs.filter((tab) => tab.visible === undefined || tab.visible), [tabs]);
|
|
13
14
|
useEffect(() => {
|
|
@@ -4,15 +4,19 @@ 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 {
|
|
7
|
+
import { Column, Grid } from '@carbon/react';
|
|
8
8
|
import { Download } from '@carbon/react/icons/index.esm.js';
|
|
9
9
|
import { useState } from 'react';
|
|
10
|
+
import { Button, Stack, Tile } from '../../ui/index.js';
|
|
11
|
+
import { useTabsFamily } from '../../ui/tabs.js';
|
|
12
|
+
import { C4ActionableNotification } from '../c4-actionable-notification/c4-actionable-notification.js';
|
|
10
13
|
import { STYLES } from '../c4-billing-page/c4-billing-page.js';
|
|
11
14
|
import { ClusterStatusElement, } from '../c4-cluster-overview/applications.js';
|
|
12
15
|
import { ComponentMetrics } from './component-metrics.js';
|
|
13
16
|
import { TelemetryForComponent } from './telemetry-for-component.js';
|
|
14
17
|
export const ID_UNSET_COMPONENT = 'unset';
|
|
15
18
|
export const C4TelemetryPage = ({ intro, managementCluster, automationClusters, texts, theme, loading, }) => {
|
|
19
|
+
const { Tabs, Tab, TabList, TabPanel, TabPanels } = useTabsFamily();
|
|
16
20
|
const [selected, setSelected] = useState(managementCluster.components.length > 0
|
|
17
21
|
? managementCluster.components[0].id
|
|
18
22
|
: ID_UNSET_COMPONENT);
|
|
@@ -83,7 +87,7 @@ const Intro = ({ intro }) => {
|
|
|
83
87
|
showNotification = true;
|
|
84
88
|
}
|
|
85
89
|
}
|
|
86
|
-
const component = (_jsxs(Stack, { gap: 3, children: [_jsx("p", { className: 'cds--type-heading-02', children: intro.title }), _jsxs("div", { style: { display: 'grid', gridTemplateColumns: '1fr auto' }, children: [_jsx("p", { children: intro.description }), _jsx(Button, { kind: 'ghost', size: 'md', renderIcon: Download, onClick: intro.download.onClick, children: intro.download.label })] }), _jsx("p", { className: 'cds--type-italic cds--type-label-01', style: { color: 'var(--cds-text-secondary)' }, children: intro.customer.map((entry) => (_jsxs("span", { style: { paddingRight: '0.75rem' }, children: [entry.label, ": ", entry.value] }))) }), showNotification && (_jsx(
|
|
90
|
+
const component = (_jsxs(Stack, { gap: 3, children: [_jsx("p", { className: 'cds--type-heading-02', children: intro.title }), _jsxs("div", { style: { display: 'grid', gridTemplateColumns: '1fr auto' }, children: [_jsx("p", { children: intro.description }), _jsx(Button, { kind: 'ghost', size: 'md', renderIcon: Download, onClick: intro.download.onClick, children: intro.download.label })] }), _jsx("p", { className: 'cds--type-italic cds--type-label-01', style: { color: 'var(--cds-text-secondary)' }, children: intro.customer.map((entry) => (_jsxs("span", { style: { paddingRight: '0.75rem' }, children: [entry.label, ": ", entry.value] }))) }), showNotification && (_jsx(C4ActionableNotification, { inline: true, title: intro.notification.title, subtitle: intro.notification.description, actionButtonLabel: intro.notification.action.label, onActionButtonClick: intro.notification.action.onClick, onCloseButtonClick: () => {
|
|
87
91
|
localStorage.setItem(LOCAL_STORAGE_SHOW_NOTIFICATION_KEY, 'false');
|
|
88
92
|
}, hideCloseButton: false, style: { maxWidth: '100%' }, lowContrast: true, kind: 'info', hasFocus: false }))] }));
|
|
89
93
|
return component;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
|
|
4
|
-
* under one or more contributor license agreements. Licensed under a commercial license.
|
|
5
|
-
* You may not use this file except in compliance with the commercial license.
|
|
6
|
-
*/
|
|
7
|
-
import { SkeletonText, Stack } from '@carbon/react';
|
|
2
|
+
import { SkeletonText, Stack } from '../../ui/index.js';
|
|
8
3
|
import { C4Divider } from '../c4-divider/c4-divider.js';
|
|
9
4
|
import { ID_UNSET_COMPONENT } from './c4-telemetry-page.js';
|
|
10
5
|
import { TelemetryMetricsEmptyStateImage } from './metrics-empty-state-image.js';
|