@camunda/ccma-saas-frontend 0.18.10 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.d.ts +4 -17
- package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.js +5 -47
- package/lib/esm/components/c4-actionable-notification/c4-actionable-notification.types.d.ts +14 -6
- package/lib/esm/components/c4-alpha-cluster-at-checkout/c4-alpha-cluster-at-checkout.js +1 -2
- package/lib/esm/components/c4-api-client-scope-picker/c4-api-client-scope-picker.js +4 -8
- package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.js +3 -2
- package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.types.d.ts +3 -0
- package/lib/esm/components/c4-async-modal/c4-async-modal.js +1 -1
- package/lib/esm/components/c4-audit-log/c4-audit-log.js +16 -32
- package/lib/esm/components/c4-billing-page/c4-billing-page.js +7 -15
- package/lib/esm/components/c4-billing-page/custom-styles.js +9 -9
- package/lib/esm/components/c4-billing-page/elements/current-usage-metrics.js +9 -3
- package/lib/esm/components/c4-billing-page/elements/plan-details.js +3 -3
- package/lib/esm/components/c4-billing-page/elements/value-metric.d.ts +1 -1
- package/lib/esm/components/c4-billing-page/elements/value-metric.js +18 -46
- package/lib/esm/components/c4-breadcrumb/c4-breadcrumb.js +4 -10
- package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.d.ts +1 -1
- package/lib/esm/components/c4-charts-dashboard/elements/alluvial-chart.js +4 -15
- package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.d.ts +1 -1
- package/lib/esm/components/c4-charts-dashboard/elements/bar-chart.js +14 -41
- package/lib/esm/components/c4-charts-dashboard/elements/line-chart.d.ts +1 -1
- package/lib/esm/components/c4-charts-dashboard/elements/line-chart.js +1 -38
- package/lib/esm/components/c4-cluster-byom-clients/c4-cluster-byom-clients.js +5 -5
- package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.js +8 -22
- package/lib/esm/components/c4-cluster-client-credentials/ds-credential-items.d.ts +1 -1
- package/lib/esm/components/c4-cluster-client-credentials/ds-credential-items.js +1 -1
- package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.js +10 -28
- package/lib/esm/components/c4-cluster-details-activity/c4-cluster-details-activity.js +2 -2
- package/lib/esm/components/c4-cluster-details-alerts/c4-cluster-details-alerts.js +2 -2
- package/lib/esm/components/c4-cluster-details-clients/c4-cluster-details-clients.js +4 -4
- package/lib/esm/components/c4-cluster-details-connector-secrets/c4-cluster-details-connector-secrets.js +2 -2
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.js +20 -44
- package/lib/esm/components/c4-cluster-details-hot-backups/c4-cluster-details-hot-backups.js +8 -16
- package/lib/esm/components/c4-cluster-details-hot-backups-restore/c4-cluster-details-hot-backups-restore.js +1 -1
- package/lib/esm/components/c4-cluster-details-ip-whitelist/c4-cluster-details-ip-whitelist.js +2 -2
- package/lib/esm/components/c4-cluster-details-secure-connectivity/c4-cluster-details-secure-connectivity.js +35 -33
- package/lib/esm/components/c4-cluster-list/c4-cluster-expiry-tag.js +3 -7
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.js +38 -157
- package/lib/esm/components/c4-cluster-list/c4-cluster-list.types.d.ts +1 -1
- package/lib/esm/components/c4-cluster-overview/applications.d.ts +7 -8
- package/lib/esm/components/c4-cluster-overview/applications.js +71 -157
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.d.ts +4 -18
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.js +11 -50
- package/lib/esm/components/c4-cluster-overview/cluster-details.js +19 -36
- package/lib/esm/components/c4-cluster-overview/cluster-load.d.ts +2 -4
- package/lib/esm/components/c4-cluster-overview/cluster-load.js +16 -199
- package/lib/esm/components/c4-cluster-overview/ds-section.d.ts +2 -2
- package/lib/esm/components/c4-cluster-overview/ds-section.js +2 -2
- package/lib/esm/components/c4-cluster-overview/ds-status-icon-text.d.ts +3 -3
- package/lib/esm/components/c4-cluster-overview/ds-status-icon-text.js +2 -2
- package/lib/esm/components/c4-cluster-settings/elements/danger-zone.js +2 -5
- package/lib/esm/components/c4-cluster-settings/elements/external-identity-provider-modal.js +1 -1
- package/lib/esm/components/c4-cluster-settings/elements/optimize-filtering-settings.js +5 -5
- package/lib/esm/components/c4-cluster-settings/elements/secrets-filter-mode-toggle.js +1 -2
- package/lib/esm/components/c4-cluster-settings/elements/session-settings.js +2 -2
- package/lib/esm/components/c4-cluster-settings/elements/settings-tile.d.ts +2 -2
- package/lib/esm/components/c4-cluster-settings/elements/settings-tile.js +1 -3
- package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.d.ts +1 -1
- package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.js +12 -77
- package/lib/esm/components/c4-cluster-tag-selector/c4-cluster-tag-selector.types.d.ts +0 -1
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.js +47 -52
- package/lib/esm/components/c4-console-dashboard/c4-console-dashboard.types.d.ts +1 -1
- package/lib/esm/components/c4-console-dashboard/elements/empty-state.d.ts +11 -2
- package/lib/esm/components/c4-console-dashboard/elements/empty-state.js +16 -4
- package/lib/esm/components/c4-create-alert-modal/c4-create-alert-modal.js +3 -4
- package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.d.ts +2 -4
- package/lib/esm/components/c4-create-cluster/c4-create-cluster-tile-grid.js +20 -58
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +157 -189
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.types.d.ts +1 -1
- package/lib/esm/components/c4-create-cluster-api-client-modal/scopes-description-text.d.ts +2 -3
- package/lib/esm/components/c4-create-cluster-api-client-modal/scopes-description-text.js +3 -10
- package/lib/esm/components/c4-data-table/c4-data-table-skeleton.d.ts +9 -10
- package/lib/esm/components/c4-data-table/c4-data-table-skeleton.js +3 -18
- package/lib/esm/components/c4-data-table/c4-data-table.d.ts +2 -2
- package/lib/esm/components/c4-data-table/c4-data-table.js +3 -17
- package/lib/esm/components/c4-delete-account-modal/c4-delete-account-modal.js +1 -2
- package/lib/esm/components/c4-divider/c4-divider.js +5 -13
- package/lib/esm/components/c4-empty-state/c4-empty-state.d.ts +6 -12
- package/lib/esm/components/c4-empty-state/c4-empty-state.js +1 -9
- package/lib/esm/components/c4-extend-trial-modal/c4-extend-trial-modal.js +1 -2
- package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.d.ts +2 -2
- package/lib/esm/components/c4-feedback-modal/c4-feedback-modal.js +2 -2
- package/lib/esm/components/c4-file-uploader/c4-file-uploader.d.ts +4 -18
- package/lib/esm/components/c4-file-uploader/c4-file-uploader.js +7 -33
- package/lib/esm/components/c4-help-center/help-center-placeholders.d.ts +1 -1
- package/lib/esm/components/c4-hub-upgrade-banner/c4-hub-upgrade-banner.js +2 -2
- package/lib/esm/components/c4-info-tooltip/c4-info-tooltip.js +2 -2
- package/lib/esm/components/c4-inline-notification/c4-inline-notification.d.ts +15 -9
- package/lib/esm/components/c4-inline-notification/c4-inline-notification.js +7 -17
- package/lib/esm/components/c4-invite-user-to-organization-modal/c4-invite-user-to-organization-modal.js +6 -6
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +0 -5
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.js +1 -6
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.types.d.ts +0 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-chart-heading.js +2 -2
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.d.ts +1 -3
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.js +4 -56
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.d.ts +1 -3
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-time-chart.js +9 -88
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.js +12 -26
- package/lib/esm/components/c4-job-dashboard-entry-point/c4-job-dashboard-entry-point.types.d.ts +3 -4
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.js +2 -2
- package/lib/esm/components/c4-job-dashboard-overview-page/c4-job-dashboard-overview.types.d.ts +0 -1
- package/lib/esm/components/c4-job-dashboard-shared/c4-background-fetching-indicator.js +1 -1
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.d.ts +2 -3
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-ds-colors.js +2 -3
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-error-handler.js +4 -4
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-table-heading-with-tooltip.js +3 -3
- package/lib/esm/components/c4-job-dashboard-shared/c4-timestamp-information.js +3 -3
- package/lib/esm/components/c4-llm-usage-meter/c4-llm-usage-meter.js +25 -25
- package/lib/esm/components/c4-management-activity/c4-management-activity.d.ts +5 -1
- package/lib/esm/components/c4-management-activity/c4-management-activity.js +6 -39
- package/lib/esm/components/c4-management-activity/c4-management-activity.types.d.ts +1 -6
- package/lib/esm/components/c4-management-api/c4-management-api.js +4 -6
- package/lib/esm/components/c4-management-settings/c4-management-settings.js +24 -34
- package/lib/esm/components/c4-multi-step-modal/c4-multi-step-modal.js +7 -3
- package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.js +3 -3
- package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.types.d.ts +6 -3
- package/lib/esm/components/c4-navigation/c4-navigation.d.ts +17 -33
- package/lib/esm/components/c4-navigation/c4-navigation.js +12 -25
- package/lib/esm/components/c4-number-input/c4-number-input.js +20 -6
- package/lib/esm/components/c4-old-dashboard/c4-old-dashboard.js +1 -4
- package/lib/esm/components/c4-org-cluster-defaults/c4-org-cluster-defaults.js +2 -2
- package/lib/esm/components/c4-page-layout/c4-page-layout.d.ts +2 -6
- package/lib/esm/components/c4-page-layout/c4-page-layout.js +3 -12
- package/lib/esm/components/c4-page-template/c4-page-template.d.ts +0 -3
- package/lib/esm/components/c4-page-template/c4-page-template.js +1 -11
- package/lib/esm/components/c4-permission-error-page/c4-permission-error-page.js +14 -14
- package/lib/esm/components/c4-pricing/c4-pricing.js +1 -1
- package/lib/esm/components/c4-pricing-card/c4-pricing-card.js +5 -13
- package/lib/esm/components/c4-search/c4-search-results.js +44 -36
- package/lib/esm/components/c4-search/c4-search.js +5 -7
- package/lib/esm/components/c4-segmented-control/c4-segmented-control.d.ts +5 -19
- package/lib/esm/components/c4-segmented-control/c4-segmented-control.js +6 -18
- package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.d.ts +5 -8
- package/lib/esm/components/c4-selectable-tile/c4-selectable-tile.js +5 -19
- package/lib/esm/components/c4-stateful-button/c4-stateful-button.js +12 -2
- package/lib/esm/components/c4-stateful-button/c4-stateful-button.types.d.ts +4 -1
- package/lib/esm/components/c4-structured-list/c4-structured-list.d.ts +33 -18
- package/lib/esm/components/c4-structured-list/c4-structured-list.js +15 -60
- package/lib/esm/components/c4-tabs/c4-tabs.js +4 -8
- package/lib/esm/components/c4-tile-with-title-and-action/c4-tile-with-title-and-action.js +3 -3
- package/lib/esm/components/c4-toast-notification/c4-toast-notification.d.ts +13 -9
- package/lib/esm/components/c4-toast-notification/c4-toast-notification.js +3 -12
- package/lib/esm/components/c4-toggle/c4-toggle.js +1 -3
- package/lib/esm/components/c4-tutorial-tile/c4-tutorial-tile.js +2 -2
- package/lib/esm/components/c4-usage-alert-update-modal/c4-usage-alert-update-modal.js +3 -9
- package/lib/esm/components/c4-usage-history/c4-usage-history.js +4 -5
- package/lib/esm/components/c4-usage-history/elements/usage-history-charts.js +3 -40
- package/lib/esm/components/c4-usage-metrics-per-cluster/c4-usage-metrics-per-cluster.js +4 -5
- package/lib/esm/components/c4-user-details/tabs/authorized-resources.js +1 -3
- package/lib/esm/components/shared-charts/ds-line-chart.d.ts +4 -6
- package/lib/esm/components/shared-charts/ds-line-chart.js +5 -7
- package/lib/esm/components/shared-charts/ds-meter-chart.d.ts +3 -5
- package/lib/esm/components/shared-charts/ds-meter-chart.js +8 -10
- package/lib/esm/components/shared-charts/recharts-tokens.d.ts +6 -7
- package/lib/esm/components/shared-charts/recharts-tokens.js +6 -7
- package/lib/esm/index.css +107 -74
- package/lib/esm/index.d.ts +1 -9
- package/lib/esm/index.js +1 -5
- package/lib/esm/runtime/c4-console-runtime-context.d.ts +3 -10
- package/lib/esm/runtime/c4-console-runtime-context.js +11 -23
- package/lib/esm/runtime/c4-console-runtime.types.d.ts +0 -8
- package/lib/esm/runtime/c4-user-theme.d.ts +4 -4
- package/lib/esm/runtime/c4-user-theme.js +4 -4
- package/lib/esm/runtime/index.d.ts +1 -1
- package/lib/esm/runtime/index.js +1 -1
- package/lib/esm/runtime/nav/use-webapp-nav-data.d.ts +2 -2
- package/lib/esm/runtime/nav/use-webapp-nav-data.js +2 -2
- package/lib/esm/ui/c4-cluster-tag.d.ts +1 -1
- package/lib/esm/ui/c4-cluster-tag.js +1 -1
- package/lib/esm/ui/c4-modal-dialog.d.ts +7 -11
- package/lib/esm/ui/c4-modal-dialog.js +18 -9
- package/lib/esm/ui/c4-password-input.d.ts +4 -8
- package/lib/esm/ui/c4-password-input.js +4 -8
- package/lib/esm/ui/c4-text-area.d.ts +19 -0
- package/lib/esm/ui/c4-text-area.js +30 -0
- package/lib/esm/ui/ds-compact-code-block.d.ts +1 -1
- package/lib/esm/ui/ds-compact-code-block.js +1 -1
- package/lib/esm/ui/families.d.ts +13 -46
- package/lib/esm/ui/families.js +8 -51
- package/lib/esm/ui/index.d.ts +11 -53
- package/lib/esm/ui/index.js +19 -152
- package/lib/esm/ui/tabs.d.ts +1 -21
- package/lib/esm/ui/tabs.js +1 -22
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +2 -3
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +17 -99
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +1 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-alerts-tab.js +2 -3
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-byom-clients-tab.js +16 -58
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-connector-secrets-tab.js +8 -16
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-hot-backups-tab.js +4 -5
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +1 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +13 -51
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +23 -22
- package/lib/esm/widgets/clusters/c4-clusters-page.js +1 -2
- package/lib/esm/widgets/clusters/c4-clusters-page.types.d.ts +1 -1
- 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 +1 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-outbound-details-page.js +1 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-page.js +1 -1
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +3 -4
- package/lib/esm/widgets/dashboard/c4-dashboard-app.types.d.ts +1 -1
- package/lib/esm/widgets/group-details/c4-group-details-page.js +2 -3
- package/lib/esm/widgets/management/c4-management-app.js +6 -9
- package/lib/esm/widgets/management/c4-management-app.types.d.ts +1 -1
- package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +1 -1
- package/lib/esm/widgets/management/tabs/c4-management-billing-tab.js +2 -2
- package/lib/esm/widgets/management/tabs/c4-management-overview-tab.js +2 -2
- package/lib/esm/widgets/management/tabs/c4-management-pricing-tab.js +1 -1
- package/lib/esm/widgets/management/tabs/c4-management-usage-tab.js +4 -12
- package/lib/esm/widgets/management/tabs/c4-management-users-tab.js +12 -12
- package/lib/esm/widgets/user-details/c4-user-details-page.js +6 -6
- package/package.json +3 -14
- package/lib/esm/components/c4-sm-cluster-details/automation-components.d.ts +0 -3
- package/lib/esm/components/c4-sm-cluster-details/automation-components.js +0 -21
- package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.d.ts +0 -3
- package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.js +0 -22
- package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.d.ts +0 -71
- package/lib/esm/components/c4-sm-cluster-details/c4-sm-cluster-details.types.js +0 -6
- package/lib/esm/components/c4-sm-cluster-details/custom-properties.d.ts +0 -4
- package/lib/esm/components/c4-sm-cluster-details/custom-properties.js +0 -25
- package/lib/esm/components/c4-sm-cluster-details/details.d.ts +0 -7
- package/lib/esm/components/c4-sm-cluster-details/details.js +0 -19
- package/lib/esm/components/c4-sm-cluster-details/zeebe-components.d.ts +0 -3
- package/lib/esm/components/c4-sm-cluster-details/zeebe-components.js +0 -44
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.d.ts +0 -3
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.js +0 -34
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.d.ts +0 -40
- package/lib/esm/components/c4-sm-dashboard/c4-sm-dashboard.types.js +0 -6
- package/lib/esm/components/c4-sm-dashboard/cluster-tile.d.ts +0 -9
- package/lib/esm/components/c4-sm-dashboard/cluster-tile.js +0 -60
- package/lib/esm/components/c4-sm-dashboard/component-tile.d.ts +0 -14
- package/lib/esm/components/c4-sm-dashboard/component-tile.js +0 -46
- package/lib/esm/components/c4-sm-dashboard/explore.d.ts +0 -20
- package/lib/esm/components/c4-sm-dashboard/explore.js +0 -24
- package/lib/esm/components/c4-sm-dashboard/health-status.d.ts +0 -10
- package/lib/esm/components/c4-sm-dashboard/health-status.js +0 -60
- package/lib/esm/components/c4-sm-dashboard/overview.d.ts +0 -13
- package/lib/esm/components/c4-sm-dashboard/overview.js +0 -148
- package/lib/esm/components/c4-sm-dashboard/usage-tile.d.ts +0 -22
- package/lib/esm/components/c4-sm-dashboard/usage-tile.js +0 -36
- package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.d.ts +0 -4
- package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.js +0 -114
- package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.d.ts +0 -45
- package/lib/esm/components/c4-telemetry-page/c4-telemetry-page.types.js +0 -6
- package/lib/esm/components/c4-telemetry-page/component-metrics.d.ts +0 -26
- package/lib/esm/components/c4-telemetry-page/component-metrics.js +0 -42
- package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.d.ts +0 -2
- package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.js +0 -6
- package/lib/esm/components/c4-telemetry-page/telemetry-for-component.d.ts +0 -50
- package/lib/esm/components/c4-telemetry-page/telemetry-for-component.js +0 -113
- package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.d.ts +0 -3
- package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.js +0 -80
- package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.d.ts +0 -40
- package/lib/esm/components/c4-telemetry-teaser-page/c4-telemetry-teaser-page.types.js +0 -6
- package/lib/esm/ui/c4-definition-tooltip.d.ts +0 -15
- package/lib/esm/ui/c4-definition-tooltip.js +0 -43
- package/lib/esm/ui/switchable.d.ts +0 -14
- package/lib/esm/ui/switchable.js +0 -27
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { AUTHORIZATION_TOGGLE_MIN_VERSION, ClusterPlanTypeCategory, checkVersion, LINE_8_10_MIN_VERSION, TASKLIST_MODE_TOGGLE_MIN_VERSION, VersionCheckOperator, } from '@camunda/ccma-shared-types';
|
|
3
3
|
import { ChoiceCard, ChoiceCardGroup, Input, Textarea, } from '@camunda/design-system';
|
|
4
|
-
import {
|
|
5
|
-
import { ChevronDown, ChevronUp, Code, DataBase } from '@carbon/react/icons/index.esm.js';
|
|
4
|
+
import { Check, ChevronDown, ChevronUp, CircleAlert, Code, Database, } from 'lucide-react';
|
|
6
5
|
import { useRef, useState, } from 'react';
|
|
7
6
|
import styled from 'styled-components';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { useRadioFamily } from '../../ui/families.js';
|
|
7
|
+
import { Button, TextInput as C4TextInput, Checkbox, ClusterTag, DsBadge, Link, Modal, SkeletonText, Stack, Tag, Tile, } from '../../ui/index.js';
|
|
8
|
+
import { RadioButton, RadioButtonGroup } from '../../ui/families.js';
|
|
11
9
|
import { SECTION_HEADING_STYLE } from '../../utils/section-heading-style.js';
|
|
10
|
+
import { SpinningLoader } from '../c4-cluster-overview/ds-status-icon-text.js';
|
|
12
11
|
import { C4ClusterTagSelector } from '../c4-cluster-tag-selector/c4-cluster-tag-selector.js';
|
|
13
12
|
import { C4Divider } from '../c4-divider/c4-divider.js';
|
|
14
13
|
import { C4ExternalLink } from '../c4-external-link/c4-external-link.js';
|
|
15
14
|
import { C4InlineNotification } from '../c4-inline-notification/c4-inline-notification.js';
|
|
16
15
|
import { C4LinkButton } from '../c4-link-button/c4-link-button.js';
|
|
17
16
|
import { C4SegmentedControl } from '../c4-segmented-control/c4-segmented-control.js';
|
|
18
|
-
import { C4SelectableTile } from '../c4-selectable-tile/c4-selectable-tile.js';
|
|
19
17
|
import { C4CreateClusterTileGrid } from './c4-create-cluster-tile-grid.js';
|
|
20
18
|
import { C4CreateClusterTtlSection } from './c4-create-cluster-ttl-section.js';
|
|
21
19
|
var TasklistMode;
|
|
@@ -39,52 +37,57 @@ const SummaryDesktopWrapper = styled.div `
|
|
|
39
37
|
display: none;
|
|
40
38
|
}
|
|
41
39
|
`;
|
|
40
|
+
// The form takes three quarters of the width and the summary one quarter. A
|
|
41
|
+
// narrow screen shows the form alone, and the summary follows it in the form.
|
|
42
|
+
const FormLayout = styled.div `
|
|
43
|
+
display: grid;
|
|
44
|
+
gap: 1rem;
|
|
45
|
+
grid-template-columns: minmax(0, 3fr) minmax(243px, 1fr);
|
|
46
|
+
@media (max-width: 768px) {
|
|
47
|
+
grid-template-columns: minmax(0, 1fr);
|
|
48
|
+
}
|
|
49
|
+
`;
|
|
42
50
|
const SummaryMobileWrapper = styled.div `
|
|
43
51
|
@media (min-width: 768px) {
|
|
44
52
|
display: none;
|
|
45
53
|
}
|
|
46
54
|
`;
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
const GRID_STYLE = { paddingInline: '1rem' };
|
|
56
|
+
const FieldLabel = (props) => (_jsx("span", { style: {
|
|
57
|
+
display: 'block',
|
|
58
|
+
fontSize: '0.75rem',
|
|
59
|
+
letterSpacing: '0.32px',
|
|
60
|
+
color: 'var(--neutral-foreground-subtle)',
|
|
61
|
+
...props.style,
|
|
62
|
+
}, children: props.children }));
|
|
63
|
+
/** The state of the CTA after the reader pressed it. */
|
|
64
|
+
const SubmitStatus = (props) => (_jsxs("div", { role: 'status', style: {
|
|
65
|
+
display: 'flex',
|
|
66
|
+
alignItems: 'center',
|
|
67
|
+
gap: '0.5rem',
|
|
68
|
+
marginLeft: '1rem',
|
|
69
|
+
}, children: [props.state === 'submitting' && _jsx(SpinningLoader, { size: 16, "aria-hidden": true }), props.state === 'success' && _jsx(Check, { size: 16, "aria-hidden": true }), props.state === 'error' && _jsx(CircleAlert, { size: 16, "aria-hidden": true }), _jsx("span", { children: props.description })] }));
|
|
59
70
|
/**
|
|
60
71
|
* The title of one section of the form.
|
|
61
72
|
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* the
|
|
73
|
+
* The DS stylesheet resets every bare heading tag inside `.c4-ui` to the size
|
|
74
|
+
* and the weight of the body text, thus an `h2` with no style of its own reads
|
|
75
|
+
* as normal text and the page loses its structure. The style below puts the
|
|
76
|
+
* section heading back. The page title is an `h1`, so a section title is an
|
|
77
|
+
* `h2` and the heading levels do not skip.
|
|
67
78
|
*/
|
|
68
79
|
const FormElementTitle = (props) => {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
// the heading gives 4 pixels, thus a toggle group or an input came
|
|
76
|
-
// up against its own title. Every other block of the page keeps 12
|
|
77
|
-
// pixels below its title, which this margin restores.
|
|
78
|
-
{ ...SECTION_HEADING_STYLE, marginBottom: '0.5rem' }
|
|
79
|
-
: undefined, children: [props.title, props.required && designSystem === 'ds' && (_jsx("span", { style: {
|
|
80
|
+
return (_jsxs("h2", {
|
|
81
|
+
// `SECTION_HEADING_STYLE` sets `margin: 0`, and the section around the
|
|
82
|
+
// heading gives 4 pixels, thus a toggle group or an input came up against
|
|
83
|
+
// its own title. Every other block of the page keeps 12 pixels below its
|
|
84
|
+
// title, which this margin restores.
|
|
85
|
+
style: { ...SECTION_HEADING_STYLE, marginBottom: '0.5rem' }, children: [props.title, props.required && (_jsx("span", { style: {
|
|
80
86
|
marginLeft: '0.25rem',
|
|
81
87
|
fontWeight: 400,
|
|
82
|
-
color: 'var(--
|
|
88
|
+
color: 'var(--neutral-foreground-subtle)',
|
|
83
89
|
}, children: "(required)" }))] }));
|
|
84
90
|
};
|
|
85
|
-
const ClusterPlanTypeTile = (props) => {
|
|
86
|
-
return (_jsxs(Stack, { gap: 4, children: [props.type === 'dev' ? _jsx(Code, {}) : _jsx(DataBase, {}), _jsx("h6", { children: props.title }), _jsx("p", { children: props.description })] }));
|
|
87
|
-
};
|
|
88
91
|
const enableMap = {
|
|
89
92
|
prod: ['dev', 'test', 'stage', 'prod'],
|
|
90
93
|
stage: ['dev', 'test', 'stage'],
|
|
@@ -94,7 +97,6 @@ const enableMap = {
|
|
|
94
97
|
// The radio value of "no unlocked plan". A plan uuid never has this value.
|
|
95
98
|
const PLAN_TYPE_DEFAULT = 'default';
|
|
96
99
|
export const C4CreateCluster = ({ loading, cta, formElements, autoUpdate, tasklistModeToggle, authorizationToggle, banner: { noSlotsLeft }, initialValues, duplicate, }) => {
|
|
97
|
-
const designSystem = useC4DesignSystem();
|
|
98
100
|
const preConditions = formElements.clusterPlanType.options.length > 0 &&
|
|
99
101
|
formElements.region.options.length > 0 &&
|
|
100
102
|
formElements.generation.channels.length > 0 &&
|
|
@@ -166,7 +168,6 @@ export const C4CreateCluster = ({ loading, cta, formElements, autoUpdate, taskli
|
|
|
166
168
|
selectedPlan?.type !== 'prod');
|
|
167
169
|
const [numberOfAllocatedHwPackages, setNumberOfAllocatedHwPackages] = useState(initialValues?.numberOfAllocatedHwPackages ?? 1);
|
|
168
170
|
const [clusterPlan, setClusterPlan] = useState(formElements.clusterPlan?.options.find((option) => option.uuid === initialValues?.clusterPlan)?.uuid);
|
|
169
|
-
const { RadioButton, RadioButtonGroup } = useRadioFamily();
|
|
170
171
|
const initialRegion = formElements.region.options.find((option) => option.uuid === initialValues?.region);
|
|
171
172
|
const defaultProvider = initialRegion?.provider ??
|
|
172
173
|
formElements.region.options.find((option) => option.default === true)
|
|
@@ -519,11 +520,10 @@ export const C4CreateCluster = ({ loading, cta, formElements, autoUpdate, taskli
|
|
|
519
520
|
: submitState === 'success'
|
|
520
521
|
? cta.states.success
|
|
521
522
|
: cta.states.error;
|
|
522
|
-
//
|
|
523
|
-
//
|
|
524
|
-
|
|
525
|
-
const
|
|
526
|
-
const summaryHeadingStyle = designSystem === 'ds' ? SECTION_HEADING_STYLE : undefined;
|
|
523
|
+
// The secondary text token is too dark for the summary panel in dark mode,
|
|
524
|
+
// thus the labels use the primary text token.
|
|
525
|
+
const summaryLabelStyle = { color: 'var(--neutral-foreground-strong)' };
|
|
526
|
+
const summaryHeadingStyle = SECTION_HEADING_STYLE;
|
|
527
527
|
return (_jsxs("div", { style: {
|
|
528
528
|
display: 'grid',
|
|
529
529
|
gridAutoFlow: 'row',
|
|
@@ -531,7 +531,7 @@ export const C4CreateCluster = ({ loading, cta, formElements, autoUpdate, taskli
|
|
|
531
531
|
overflow: 'hidden',
|
|
532
532
|
zIndex: 1,
|
|
533
533
|
minHeight: '572px',
|
|
534
|
-
}, children: [_jsxs("div", { children: [_jsx("h6", { style: summaryHeadingStyle, children: "Summary" }), _jsx(C4Divider, {}), _jsxs(Stack, { gap: 4, children: [loading ? (_jsx(SkeletonText, {})) : (_jsxs("h6", { style: summaryHeadingStyle, children: [summary.clusterPlanType, " - ", numberOfAllocatedHwPackages, "x"] })), _jsxs(Stack, { gap: 1, children: [_jsx(
|
|
534
|
+
}, children: [_jsxs("div", { children: [_jsx("h6", { style: summaryHeadingStyle, children: "Summary" }), _jsx(C4Divider, {}), _jsxs(Stack, { gap: 4, children: [loading ? (_jsx(SkeletonText, {})) : (_jsxs("h6", { style: summaryHeadingStyle, children: [summary.clusterPlanType, " - ", numberOfAllocatedHwPackages, "x"] })), _jsxs(Stack, { gap: 1, children: [_jsx(FieldLabel, { style: summaryLabelStyle, children: "Provider and region" }), loading ? (_jsx(SkeletonText, {})) : summary.provider ? (`${summary.provider} - ${summary.region}`) : (summary.region)] }), formElements.region.dualRegionBackups && (_jsxs(Stack, { gap: 1, children: [_jsx(FieldLabel, { style: summaryLabelStyle, children: "Backup region" }), loading ? _jsx(SkeletonText, {}) : summary.backup] })), summary.encryption && (_jsxs(Stack, { gap: 1, children: [_jsx(FieldLabel, { style: summaryLabelStyle, children: encryptions?.title ?? 'Encryption at rest' }), loading ? _jsx(SkeletonText, {}) : summary.encryption] })), _jsxs(Stack, { gap: 1, children: [_jsx(FieldLabel, { style: summaryLabelStyle, children: "Channel" }), loading ? _jsx(SkeletonText, {}) : summary.channel] }), _jsxs(Stack, { gap: 1, children: [_jsx(FieldLabel, { style: summaryLabelStyle, children: "Generation" }), loading ? _jsx(SkeletonText, {}) : summary.generation] }), _jsxs(Stack, { gap: 1, children: [_jsx(FieldLabel, { style: summaryLabelStyle, children: "Cluster tag" }), loading ? (_jsx(SkeletonText, {})) : (_jsx("span", { children: _jsx(ClusterTag, { stage: summary.stageTag }) }))] }), formElements.ttl && (_jsxs(Stack, { gap: 1, children: [_jsx(FieldLabel, { style: summaryLabelStyle, children: formElements.ttl.summaryLabel }), _jsx("span", { style: { overflowWrap: 'anywhere' }, children: summary.ttl })] }))] })] }), !loading && (_jsx("div", { style: { alignSelf: 'end' }, children: _jsx("div", { children: _jsxs(Stack, { gap: 3, children: [submitBlockedMessage && submitState === 'idle' && (_jsx(C4InlineNotification, { kind: 'error', lowContrast: true, hideCloseButton: true, style: { minWidth: '0' }, title: submitBlockedMessage })), ['submitting', 'success', 'error'].includes(submitState) ? (_jsx(SubmitStatus, { state: submitState, description: submitStateDescription })) : (_jsx(Button, { disabled: !clusterCreationAllowed(), style: { width: '100%' }, onClick: handleSubmit, children: cta.label })), cta.cancel && (_jsx(Button, { onClick: () => {
|
|
535
535
|
if (cta.cancel) {
|
|
536
536
|
cta.cancel.onClick();
|
|
537
537
|
}
|
|
@@ -541,45 +541,43 @@ export const C4CreateCluster = ({ loading, cta, formElements, autoUpdate, taskli
|
|
|
541
541
|
if (!formElements.ttl) {
|
|
542
542
|
return undefined;
|
|
543
543
|
}
|
|
544
|
-
return (_jsxs(_Fragment, { children: [_jsxs(Stack, { gap: 2, children: [_jsx(
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
544
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Stack, { gap: 2, children: [_jsx("div", { style: GRID_STYLE, children: _jsx(FormElementTitle, { title: formElements.ttl.title }) }), _jsx("div", { style: GRID_STYLE, children: _jsx(C4CreateClusterTtlSection, { ttl: formElements.ttl, value: ttl, onChange: updateTtl, unlimitedReason: ttlUnlimitedReason, onUnlimitedReasonChange: (value) => {
|
|
545
|
+
setTtlUnlimitedReason(value);
|
|
546
|
+
setTtlUnlimitedErrors((errors) => ({
|
|
547
|
+
...errors,
|
|
548
|
+
reason: undefined,
|
|
549
|
+
}));
|
|
550
|
+
setSubmitBlockedMessage(undefined);
|
|
551
|
+
}, unlimitedLink: ttlUnlimitedLink, onUnlimitedLinkChange: (value) => {
|
|
552
|
+
setTtlUnlimitedLink(value);
|
|
553
|
+
setTtlUnlimitedErrors((errors) => ({
|
|
554
|
+
...errors,
|
|
555
|
+
link: undefined,
|
|
556
|
+
}));
|
|
557
|
+
setSubmitBlockedMessage(undefined);
|
|
558
|
+
}, errors: ttlUnlimitedErrors, keepsSourceTtl: keepsSourceTtl, disabled: isSubmitting() || noAvailableSlots, reasonFieldRef: ttlUnlimitedReasonFieldRef, linkFieldRef: ttlUnlimitedLinkFieldRef }) })] }), _jsx("div", { style: GRID_STYLE, children: _jsx(C4Divider, {}) })] }));
|
|
559
559
|
};
|
|
560
560
|
const renderTasklistV2Content = () => {
|
|
561
561
|
if (!(tasklistModeToggle?.enabled && generationIs8_8OrAboveAndLessThan8_10())) {
|
|
562
562
|
return null;
|
|
563
563
|
}
|
|
564
|
-
return (_jsxs(Stack, { gap: 2, children: [_jsx(
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
564
|
+
return (_jsxs(Stack, { gap: 2, children: [_jsx("div", { style: GRID_STYLE, children: _jsx(FormElementTitle, { title: tasklistModeToggle?.title ?? '' }) }), _jsx("div", { style: GRID_STYLE, children: _jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: '1rem' }, children: [_jsxs("fieldset", { style: { border: 'none', margin: 0, padding: 0 }, children: [_jsx("legend", { style: {
|
|
565
|
+
padding: 0,
|
|
566
|
+
marginBottom: '0.75rem',
|
|
567
|
+
}, children: "Select Tasklist version" }), _jsx(C4CreateClusterTileGrid, { items: TASKLIST_MODE_OPTIONS, getKey: (option) => option.value, getLabel: (option) => option.label, value: tasklistV2Enabled ? TasklistMode.V2 : TasklistMode.V1, onChange: (selection) => setTasklistV2Enabled(selection === TasklistMode.V2), ariaLabel: 'Select Tasklist version', columnWidth: '240px' })] }), _jsx("div", { children: _jsx("p", { children: _jsx("a", { href: tasklistModeToggle.tasklistApiVersionDocs, target: '_blank', rel: 'noopener', children: "Learn more about Tasklist v1 and v2" }) }) })] }) })] }));
|
|
568
568
|
};
|
|
569
569
|
const renderAuthorizationRadio = () => {
|
|
570
570
|
if (!(authorizationToggle?.enabled && generationIs8_8OrAbove())) {
|
|
571
571
|
return null;
|
|
572
572
|
}
|
|
573
|
-
return (_jsxs(Stack, { gap: 2, children: [_jsx(
|
|
573
|
+
return (_jsxs(Stack, { gap: 2, children: [_jsx("div", { style: GRID_STYLE, children: _jsx(FormElementTitle, { title: authorizationToggle?.title ?? '' }) }), _jsx("div", { style: GRID_STYLE, children: _jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: '1rem' }, children: [_jsx(C4CreateClusterTileGrid, { items: AUTHORIZATION_OPTIONS, getKey: (option) => option.value, getLabel: (option) => option.label, value: authorizationEnabled ? 'true' : 'false', onChange: (selection) => setAuthorizationEnabled(selection === 'true'), ariaLabel: authorizationToggle?.title ?? 'Authorization', columnWidth: '240px' }), _jsxs("div", { children: [_jsx("p", { children: "When enabled, only authorized users and clients have access to the cluster." }), _jsxs("p", { children: ["When disabled, all users and clients have full access to the cluster.", ' ', _jsx("a", { href: authorizationToggle.authorizationDocs, target: '_blank', rel: 'noopener', children: "Learn more" })] })] }), !authorizationEnabled && (_jsx(C4InlineNotification, { lowContrast: true, kind: ['stage', 'prod'].includes(selectedTag) ? 'warning' : 'info', hideCloseButton: true, title: 'Authorizations disabled', children: _jsx("p", { children: "All authenticated users & clients will have full access to the cluster." }) }))] }) })] }));
|
|
574
574
|
};
|
|
575
575
|
/**
|
|
576
|
-
*
|
|
577
|
-
*
|
|
578
|
-
*
|
|
579
|
-
* says that Camunda recommends it. Carbon gets no badge, so its render does
|
|
580
|
-
* not change.
|
|
576
|
+
* Marks the option that the form selects on its own. The reader could not
|
|
577
|
+
* tell why one card came pre-selected, thus the badge says that Camunda
|
|
578
|
+
* recommends it.
|
|
581
579
|
*/
|
|
582
|
-
const getRecommendedBadge = (option) =>
|
|
580
|
+
const getRecommendedBadge = (option) => option.default ? _jsx(DsBadge, { variant: 'accent', children: "Recommended" }) : undefined;
|
|
583
581
|
const renderGenerationTiles = (generations) => {
|
|
584
582
|
return (_jsx(C4CreateClusterTileGrid, { items: generations, getKey: (generation) => generation.uuid, getLabel: (generation) => generation.title, getBadge: getRecommendedBadge, getDisabled: () => isSubmitting() || noAvailableSlots, value: selectedGeneration, onChange: updateSelectedGeneration, ariaLabel: 'Select generation', columnWidth: '200px', searchPlaceholder: 'Search generations' }, selectedChannel));
|
|
585
583
|
};
|
|
@@ -594,111 +592,88 @@ export const C4CreateCluster = ({ loading, cta, formElements, autoUpdate, taskli
|
|
|
594
592
|
const channelGenerations = allGenerations.filter((g) => g.classification !== 'existingCluster' &&
|
|
595
593
|
g.classification !== 'orgUnlocked');
|
|
596
594
|
const hasOlderGenerations = nonChannelGenerations.length > 0;
|
|
597
|
-
return (_jsx(
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
595
|
+
return (_jsx("div", { children: _jsxs(Stack, { gap: 2, children: [_jsx(FieldLabel, { children: "Generation" }), renderGenerationTiles(hasOlderGenerations ? channelGenerations : allGenerations), hasOlderGenerations && (_jsxs("div", { style: {
|
|
596
|
+
marginTop: '0.5rem',
|
|
597
|
+
}, children: [_jsx(Button, { kind: 'ghost', size: 'sm', type: 'button', onClick: () => {
|
|
598
|
+
setShowOlderGenerations((prev) => {
|
|
599
|
+
if (prev &&
|
|
600
|
+
nonChannelGenerations.some((g) => g.uuid === selectedGeneration)) {
|
|
601
|
+
return prev;
|
|
602
|
+
}
|
|
603
|
+
return !prev;
|
|
604
|
+
});
|
|
605
|
+
}, renderIcon: showOlderGenerations ? ChevronUp : ChevronDown, "aria-expanded": showOlderGenerations, "aria-controls": 'older-generations-panel', children: formElements.generation.olderGenerationsLabel ??
|
|
606
|
+
'View older generations' }), showOlderGenerations && (_jsxs("div", { id: 'older-generations-panel', style: {
|
|
607
|
+
marginTop: '0.5rem',
|
|
608
|
+
}, children: [existingClusterGenerations.length > 0 && (_jsxs(_Fragment, { children: [renderGenerationTiles(existingClusterGenerations), _jsx("p", { style: {
|
|
609
|
+
color: 'var(--neutral-foreground-subtle)',
|
|
610
|
+
}, children: formElements.generation.olderGenerationsHelperText ??
|
|
611
|
+
'These are older generations that are used in your organization.' })] })), orgUnlockedGenerations.length > 0 && (_jsxs("div", { style: {
|
|
612
|
+
marginTop: existingClusterGenerations.length > 0
|
|
613
|
+
? '1rem'
|
|
614
|
+
: undefined,
|
|
615
|
+
}, children: [renderGenerationTiles(orgUnlockedGenerations), _jsx("p", { style: {
|
|
616
|
+
color: 'var(--neutral-foreground-subtle)',
|
|
617
|
+
}, children: formElements.generation
|
|
618
|
+
.orgUnlockedGenerationsHelperText ??
|
|
619
|
+
'These are generations that have been unlocked for your organization.' })] }))] }))] }))] }) }));
|
|
622
620
|
};
|
|
623
621
|
const renderContent = () => {
|
|
624
622
|
if (loading) {
|
|
625
|
-
return (_jsx(
|
|
623
|
+
return (_jsx("div", { style: GRID_STYLE, children: _jsx(SkeletonText, {}) }));
|
|
626
624
|
}
|
|
627
625
|
if (!preConditions) {
|
|
628
|
-
return (_jsx(
|
|
626
|
+
return (_jsx("div", { style: GRID_STYLE, children: _jsx("p", { children: "Something went wrong. Please try again later." }) }));
|
|
629
627
|
}
|
|
630
628
|
return (_jsxs(Stack, { gap: 6, children: [duplicate && (_jsx(C4InlineNotification, { kind: 'info', hideCloseButton: true, style: { minWidth: '0' }, title: duplicate.sourceName, subtitle: duplicate.notice })), noAvailableSlots && (_jsx(C4InlineNotification, { kind: 'warning', hideCloseButton: true, style: { minWidth: '0' }, title: noSlotsLeft.title, subtitle: noSlotsLeft.description })), duplicate?.replace && (_jsxs(Stack, { gap: 2, children: [_jsx(Checkbox, { id: 'duplicate-replace-source', labelText: duplicate.replace.label, checked: duplicate.replace.checked, disabled: isSubmitting(), onChange: (event) => {
|
|
631
629
|
duplicate.replace?.onChange(event.target.checked);
|
|
632
|
-
} }), _jsx("p", { style: { color: 'var(--
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
setClusterDescriptionValidation({
|
|
642
|
-
isValid: true,
|
|
643
|
-
message: '',
|
|
644
|
-
});
|
|
645
|
-
setSubmitBlockedMessage(undefined);
|
|
646
|
-
setClusterDescription(event.target.value);
|
|
647
|
-
} }), !clusterDescriptionValidation.isValid && (_jsx("span", { className: 'mt-1 block text-xs text-danger-foreground-subtle', children: clusterDescriptionValidation.message }))] })) : (_jsx(TextArea, { id: 'cluster-description', defaultValue: clusterDescription, placeholder: formElements.description.placeholder, onChange: (event) => {
|
|
630
|
+
} }), _jsx("p", { style: { color: 'var(--neutral-foreground-subtle)' }, children: duplicate.replace.description })] })), _jsxs(Stack, { gap: 2, children: [_jsx("div", { style: GRID_STYLE, children: _jsx(FormElementTitle, { title: formElements.name.title }) }), _jsx("div", { style: { ...GRID_STYLE, maxWidth: '66.67%' }, children: _jsxs("div", { ref: clusterNameInputFieldRef, children: [_jsx(Input, { type: 'text', id: 'cluster-name', defaultValue: clusterName, placeholder: formElements.name.placeholder, "aria-invalid": !clusterNameValidation.isValid || undefined, disabled: isSubmitting() || noAvailableSlots,
|
|
631
|
+
// The name is the first thing the reader gives, and the
|
|
632
|
+
// page opened with no field in focus.
|
|
633
|
+
// biome-ignore lint/a11y/noAutofocus: the field is the
|
|
634
|
+
// first control of a full-page form
|
|
635
|
+
autoFocus: true,
|
|
636
|
+
// A cluster name is not a personal detail, thus the
|
|
637
|
+
// browser must not offer the names from other forms.
|
|
638
|
+
autoComplete: 'off', onChange: (event) => updateClusterName(event.target.value) }), !clusterNameValidation.isValid && (_jsx("span", { className: 'mt-1 block text-xs text-danger-foreground-subtle', children: clusterNameValidation.message }))] }) })] }), formElements.description && (_jsxs(Stack, { gap: 2, children: [_jsx("div", { style: GRID_STYLE, children: _jsx(FormElementTitle, { title: formElements.description.title }) }), _jsx("div", { style: { ...GRID_STYLE, maxWidth: '66.67%' }, children: _jsxs("div", { ref: clusterDescriptionInputFieldRef, children: [_jsx(Textarea, { id: 'cluster-description', defaultValue: clusterDescription, placeholder: formElements.description.placeholder, rows: 3, "aria-invalid": !clusterDescriptionValidation.isValid || undefined, disabled: isSubmitting() || noAvailableSlots, autoComplete: 'off', onChange: (event) => {
|
|
648
639
|
setClusterDescriptionValidation({
|
|
649
640
|
isValid: true,
|
|
650
641
|
message: '',
|
|
651
642
|
});
|
|
652
643
|
setSubmitBlockedMessage(undefined);
|
|
653
644
|
setClusterDescription(event.target.value);
|
|
654
|
-
},
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
})), value: provider, onChange: updateProvider, ariaLabel: 'Select cloud provider', carbonStyle: {
|
|
667
|
-
width: `${7 * getUniqueProviders().length}rem`,
|
|
668
|
-
marginBottom: '0.5rem',
|
|
669
|
-
}, dsStyle: { marginBottom: '0.5rem' } }))] }) }), _jsx(Grid, { children: _jsx(Column, { span: 12, children: _jsx(C4CreateClusterTileGrid, { items: formElements.region.options.filter((option) => option.provider === provider), getKey: (option) => option.uuid, getLabel: (option) => option.title,
|
|
670
|
-
// No badge on a region. Camunda recommends no region, and a
|
|
671
|
-
// mark on one card would push the customer to a choice that
|
|
672
|
-
// they cannot change after the cluster exists.
|
|
673
|
-
getDisabled: () => isSubmitting() || noAvailableSlots, value: region, onChange: updateRegion, ariaLabel: formElements.region.title, columnWidth: '220px', searchPlaceholder: 'Search regions' }, provider) }) }), _jsx(Grid, { children: _jsx(Column, { span: 12, children: _jsx("p", { children: formElements.region.description }) }) })] }), (() => {
|
|
645
|
+
} }), !clusterDescriptionValidation.isValid && (_jsx("span", { className: 'mt-1 block text-xs text-danger-foreground-subtle', children: clusterDescriptionValidation.message }))] }) })] })), _jsx("div", { style: GRID_STYLE, children: _jsx(C4Divider, {}) }), _jsxs("div", { ref: regionSectionRef, style: { display: 'flex', flexDirection: 'column', gap: '0.25rem' }, children: [_jsxs("div", { style: GRID_STYLE, children: [_jsx(FormElementTitle, { title: formElements.region.title, required: true }), !regionValidation.isValid && (_jsx("p", { style: {
|
|
646
|
+
color: 'var(--danger-foreground-subtle)',
|
|
647
|
+
marginTop: '0.25rem',
|
|
648
|
+
marginBottom: '0.5rem',
|
|
649
|
+
}, children: regionValidation.message })), getUniqueProviders().length > 1 && (_jsx(C4SegmentedControl, { options: getUniqueProviders().map((name) => ({
|
|
650
|
+
id: name,
|
|
651
|
+
label: name,
|
|
652
|
+
})), value: provider, onChange: updateProvider, ariaLabel: 'Select cloud provider', dsStyle: { marginBottom: '0.5rem' } }))] }), _jsx("div", { style: GRID_STYLE, children: _jsx(C4CreateClusterTileGrid, { items: formElements.region.options.filter((option) => option.provider === provider), getKey: (option) => option.uuid, getLabel: (option) => option.title,
|
|
653
|
+
// No badge on a region. Camunda recommends no region, and a
|
|
654
|
+
// mark on one card would push the customer to a choice that
|
|
655
|
+
// they cannot change after the cluster exists.
|
|
656
|
+
getDisabled: () => isSubmitting() || noAvailableSlots, value: region, onChange: updateRegion, ariaLabel: formElements.region.title, columnWidth: '220px', searchPlaceholder: 'Search regions' }, provider) }), _jsx("div", { style: GRID_STYLE, children: _jsx("p", { children: formElements.region.description }) })] }), (() => {
|
|
674
657
|
if (formElements.region.dualRegionBackups) {
|
|
675
658
|
const selectedRegion = formElements.region.options.find((reg) => reg.uuid === region);
|
|
676
|
-
return (_jsxs(Stack, { gap: 2, children: [_jsx(
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
659
|
+
return (_jsxs(Stack, { gap: 2, children: [_jsx("div", { style: GRID_STYLE, children: _jsx(FormElementTitle, { title: formElements.region.backupRegionTitle }) }), _jsx("div", { style: GRID_STYLE, children: _jsx(C4CreateClusterTileGrid, { items: selectedRegion?.backups ?? [], getKey: (option) => option.uuid, getLabel: (option) => `${option.regions.length > 1
|
|
660
|
+
? 'Dual region: '
|
|
661
|
+
: 'Single region: '}${option.regions.map((reg) => reg.label).join(', ')}`, getBadge: (option) => {
|
|
662
|
+
if (option.failover) {
|
|
663
|
+
return (_jsx(Tag, { type: 'green', size: 'sm', children: "Cold recovery supported" }));
|
|
664
|
+
}
|
|
665
|
+
// A single-region backup keeps no copy in a second
|
|
666
|
+
// region, thus it gets no tag.
|
|
667
|
+
return option.regions.length > 1 ? (_jsx(Tag, { type: 'gray', size: 'sm', children: "Secondary backup only" })) : undefined;
|
|
668
|
+
}, getDisabled: () => isSubmitting() || noAvailableSlots, value: backupRegion, onChange: updateBackupRegion, ariaLabel: formElements.region.backupRegionTitle, columnWidth: '260px', searchPlaceholder: 'Search backup regions' }, region) }), _jsx("div", { style: GRID_STYLE, children: _jsx("p", { children: formElements.region.backupDescription }) })] }));
|
|
686
669
|
}
|
|
687
670
|
else {
|
|
688
671
|
return _jsx(_Fragment, {});
|
|
689
672
|
}
|
|
690
|
-
})(), _jsx(
|
|
673
|
+
})(), _jsx("div", { style: GRID_STYLE, children: _jsx(C4Divider, {}) }), _jsxs(Stack, { gap: 2, children: [_jsx("div", { style: GRID_STYLE, children: _jsx(FormElementTitle, { title: formElements.clusterPlanType.title }) }), _jsx("div", { style: { padding: '0 1rem' }, children: _jsx(ChoiceCardGroup, { "aria-label": formElements.clusterPlanType.title, value: currentClusterPlanType, onValueChange: setClusterPlanTypeWithEffects, style: {
|
|
691
674
|
gridTemplateColumns: 'repeat(auto-fill, minmax(320px, 1fr))',
|
|
692
675
|
gap: '1rem',
|
|
693
|
-
}, children: formElements.clusterPlanType.options.map((option) => (_jsx(ChoiceCard, { value: option.uuid, title: option.title, description: option.description, icon: option.type === 'dev' ? Code :
|
|
694
|
-
display: 'grid',
|
|
695
|
-
gridTemplateColumns: 'repeat(auto-fill, minmax(320px, 1fr))',
|
|
696
|
-
gap: '1rem',
|
|
697
|
-
padding: '0 1rem',
|
|
698
|
-
}, children: formElements.clusterPlanType.options.map((option) => (_jsx("div", { style: { marginBottom: '2.0rem' }, children: _jsx("div", { style: {
|
|
699
|
-
height: '100%',
|
|
700
|
-
display: 'grid',
|
|
701
|
-
}, children: _jsx(C4SelectableTile, { value: option.uuid, checked: option.uuid === currentClusterPlanType, onChange: () => setClusterPlanTypeWithEffects(option.uuid), disabled: option.disabled || isSubmitting() || noAvailableSlots, style: { height: '100%' }, children: _jsx(ClusterPlanTypeTile, { type: option.type, title: option.title, description: option.description }) }, option.uuid) }) }, option.uuid))) }))] }), formElements.clusterPlan &&
|
|
676
|
+
}, children: formElements.clusterPlanType.options.map((option) => (_jsx(ChoiceCard, { value: option.uuid, title: option.title, description: option.description, icon: option.type === 'dev' ? Code : Database, disabled: option.disabled || isSubmitting() || noAvailableSlots }, option.uuid))) }) })] }), formElements.clusterPlan &&
|
|
702
677
|
formElements.clusterPlan.options.length > 0 && (_jsxs(Stack, { gap: 2, children: [_jsx("div", { style: { marginLeft: '1rem' }, children: _jsx(RadioButtonGroup, { name: 'clusterPlan', legendText: formElements.clusterPlan.title, orientation: 'vertical', valueSelected: clusterPlan ?? PLAN_TYPE_DEFAULT, onChange: (value) => {
|
|
703
678
|
setClusterPlan(value === PLAN_TYPE_DEFAULT || value === undefined
|
|
704
679
|
? undefined
|
|
@@ -713,7 +688,7 @@ export const C4CreateCluster = ({ loading, cta, formElements, autoUpdate, taskli
|
|
|
713
688
|
formElements.clusterPlanType.options.find((option) => option.uuid === currentClusterPlanType &&
|
|
714
689
|
option.category === ClusterPlanTypeCategory.ADVANCED_OFFERING &&
|
|
715
690
|
option.availabilityClass !== 'unset' &&
|
|
716
|
-
option.availabilityClass !== undefined) !== undefined && (_jsxs(Stack, { gap: 2, children: [_jsx(
|
|
691
|
+
option.availabilityClass !== undefined) !== undefined && (_jsxs(Stack, { gap: 2, children: [_jsx("div", { style: GRID_STYLE, children: formElements.allocatedHardwarePackages.title }), _jsx("div", { style: { marginLeft: '1rem' }, children: Array.from(Array(formElements.allocatedHardwarePackages.max), (_d, i) => i).map((val) => {
|
|
717
692
|
const isHwPackageDisabled = (getClusterPlanType()?.available ?? 0) < val + 1;
|
|
718
693
|
return (_jsxs(Tag, { id: `allocatedHardwarePackages-${val + 1}`, onClick: () => {
|
|
719
694
|
updateNumberOfAllocatedHwPackages(val + 1);
|
|
@@ -724,37 +699,32 @@ export const C4CreateCluster = ({ loading, cta, formElements, autoUpdate, taskli
|
|
|
724
699
|
cursor: isHwPackageDisabled ? 'not-allowed' : 'pointer',
|
|
725
700
|
}, disabled: isHwPackageDisabled, children: [val + 1, "x"] }, `allocatedHardwarePackages-${val + 1}`));
|
|
726
701
|
}) }), _jsx("p", { style: { marginLeft: '1rem' }, children: formElements.allocatedHardwarePackages.description }), _jsx("p", { style: { marginLeft: '1rem' }, children: _jsxs("strong", { children: [formElements.allocatedHardwarePackages.bold, ":", ' ', getClusterPlanType()?.used, " Used /", ' ', (getClusterPlanType()?.used ?? 0) +
|
|
727
|
-
(getClusterPlanType()?.available ?? 0), ' ', "Total"] }) }), _jsx("p", { style: { marginLeft: '1rem' }, children: _jsx(C4ExternalLink, { id: 'allocatedHardwarePackages-docs', inline: true, label: formElements.allocatedHardwarePackages.link.label, href: formElements.allocatedHardwarePackages.link.href }) })] })), _jsx(
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
}
|
|
702
|
+
(getClusterPlanType()?.available ?? 0), ' ', "Total"] }) }), _jsx("p", { style: { marginLeft: '1rem' }, children: _jsx(C4ExternalLink, { id: 'allocatedHardwarePackages-docs', inline: true, label: formElements.allocatedHardwarePackages.link.label, href: formElements.allocatedHardwarePackages.link.href }) })] })), _jsx("div", { style: GRID_STYLE, children: _jsx(C4Divider, {}) }), _jsxs(Stack, { gap: 5, children: [_jsx("div", { style: GRID_STYLE, children: _jsx(FormElementTitle, { title: formElements.stageLabel.title }) }), _jsx("div", { style: GRID_STYLE, children: _jsx(C4ClusterTagSelector, { boxes: formElements.stageLabel.boxes, isDevCluster: !!(getClusterPlanType() && getClusterPlanType()?.type === 'dev'), onChange: (selected) => {
|
|
703
|
+
setSelectedTag(selected);
|
|
704
|
+
switch (selected) {
|
|
705
|
+
case 'prod':
|
|
706
|
+
case 'stage': {
|
|
707
|
+
setAuthorizationEnabled(true);
|
|
708
|
+
break;
|
|
709
|
+
}
|
|
710
|
+
default: {
|
|
711
|
+
setAuthorizationEnabled(false);
|
|
712
|
+
break;
|
|
739
713
|
}
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
:
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
? formElements.autoUpdate?.description
|
|
755
|
-
: formElements.autoUpdate?.descriptionIfDisabled }) }) })] })] })), _jsx(Grid, { children: _jsx(Column, { span: 12, children: _jsx(C4Divider, {}) }) }), encryptions && providerSupportsEncryption() && (_jsxs(_Fragment, { children: [_jsxs(Stack, { gap: 2, children: [_jsx(Grid, { children: _jsx(Column, { span: 12, children: _jsx(FormElementTitle, { title: encryptions.title }) }) }), _jsxs(Stack, { gap: 6, children: [_jsx(Grid, { children: _jsx(Column, { span: 12, children: _jsxs("p", { children: [encryptions.description.text, ' ', _jsx("strong", { children: encryptions.description.bold }), ' ', _jsx(C4LinkButton, { label: encryptions.link.text, onClick: () => {
|
|
756
|
-
window.open(encryptions?.link.url ?? '', '_blank');
|
|
757
|
-
} })] }) }) }), _jsx(Grid, { children: _jsx(Column, { span: 12, children: _jsx(C4CreateClusterTileGrid, { items: encryptions.options, getKey: (option) => option.value, getLabel: (option) => option.title, getDescription: (option) => option.description, value: encryption, onChange: updateEncryption, ariaLabel: encryptions.title, columnWidth: '280px', searchPlaceholder: 'Search encryption options' }) }) })] })] }), _jsx(Grid, { children: _jsx(Column, { span: 12, children: _jsx(C4Divider, {}) }) })] }))] }));
|
|
714
|
+
}
|
|
715
|
+
}, save: { allowed: !noAvailableSlots }, currentStage: selectedTag, allowedTags: selectedPlan?.type
|
|
716
|
+
? enableMap[selectedPlan?.type]
|
|
717
|
+
: enableMap.prod }) }), _jsx("div", { style: GRID_STYLE, children: _jsx("p", { children: formElements.stageLabel.textBelow }) })] }), _jsx("div", { style: GRID_STYLE, children: _jsx(C4Divider, {}) }), renderTtlSection(), _jsx("div", { style: GRID_STYLE, children: _jsxs(Stack, { gap: 2, children: [_jsx(FormElementTitle, { title: formElements.generation.title }), _jsx("div", { style: { marginBottom: '0.5rem' }, children: _jsx(C4SegmentedControl, { options: formElements.generation.channels.map((channel) => ({
|
|
718
|
+
id: channel.uuid,
|
|
719
|
+
label: channel.title,
|
|
720
|
+
disabled: noAvailableSlots,
|
|
721
|
+
})), value: selectedChannel, onChange: updateSelectedChannel, ariaLabel: formElements.generation.title }) }), getSelectedChannel() && (_jsxs(Stack, { gap: 4, children: [_jsx("div", { style: { maxWidth: '58.33%' }, children: _jsx("p", { children: getSelectedChannel()?.description }) }), renderGenerationSection()] }))] }) }), authorizationToggle?.enabled && renderAuthorizationRadio(), tasklistModeToggle?.enabled && renderTasklistV2Content(), autoUpdate?.enabled && (_jsxs(_Fragment, { children: [_jsx("div", { style: GRID_STYLE, children: _jsx(C4Divider, {}) }), _jsxs(Stack, { gap: 2, children: [_jsx("div", { style: GRID_STYLE, children: _jsx(FormElementTitle, { title: formElements.autoUpdate?.title ?? '' }) }), autoUpdateEnabled && (_jsx("div", { style: GRID_STYLE, children: _jsx(Checkbox, { id: 'autoupdate', labelText: formElements.autoUpdate?.label ?? '', checked: autoUpdateChecked, onChange: (event) => {
|
|
722
|
+
setAutoUpdateChecked(event.target.checked);
|
|
723
|
+
}, disabled: isSubmitting() || !autoUpdateEnabled || noAvailableSlots }, 'autoupdate') })), _jsx("div", { style: GRID_STYLE, children: _jsx("p", { children: autoUpdateEnabled
|
|
724
|
+
? formElements.autoUpdate?.description
|
|
725
|
+
: formElements.autoUpdate?.descriptionIfDisabled }) })] })] })), _jsx("div", { style: GRID_STYLE, children: _jsx(C4Divider, {}) }), encryptions && providerSupportsEncryption() && (_jsxs(_Fragment, { children: [_jsxs(Stack, { gap: 2, children: [_jsx("div", { style: GRID_STYLE, children: _jsx(FormElementTitle, { title: encryptions.title }) }), _jsxs(Stack, { gap: 6, children: [_jsx("div", { style: GRID_STYLE, children: _jsxs("p", { children: [encryptions.description.text, ' ', _jsx("strong", { children: encryptions.description.bold }), ' ', _jsx(C4LinkButton, { label: encryptions.link.text, onClick: () => {
|
|
726
|
+
window.open(encryptions?.link.url ?? '', '_blank');
|
|
727
|
+
} })] }) }), _jsx("div", { style: GRID_STYLE, children: _jsx(C4CreateClusterTileGrid, { items: encryptions.options, getKey: (option) => option.value, getLabel: (option) => option.title, getDescription: (option) => option.description, value: encryption, onChange: updateEncryption, ariaLabel: encryptions.title, columnWidth: '280px', searchPlaceholder: 'Search encryption options' }) })] })] }), _jsx("div", { style: GRID_STYLE, children: _jsx(C4Divider, {}) })] }))] }));
|
|
758
728
|
};
|
|
759
729
|
const renderReplaceConfirmModal = () => {
|
|
760
730
|
const replace = duplicate?.replace;
|
|
@@ -766,7 +736,5 @@ export const C4CreateCluster = ({ loading, cta, formElements, autoUpdate, taskli
|
|
|
766
736
|
void submitForm();
|
|
767
737
|
}, children: _jsxs(Stack, { gap: 5, children: [_jsx("p", { children: replace.confirm.body }), _jsx(C4TextInput, { id: 'duplicate-replace-confirmation', labelText: replace.confirm.confirmationLabel, value: replaceConfirmation, onChange: (event) => setReplaceConfirmation(event.target.value) })] }) }));
|
|
768
738
|
};
|
|
769
|
-
return (_jsx(
|
|
770
|
-
minWidth: '243px',
|
|
771
|
-
}, children: renderSummary() }) }) }))] })] }) }) }));
|
|
739
|
+
return (_jsx("div", { style: { ...GRID_STYLE, maxWidth: '1584px' }, children: _jsxs(Stack, { gap: 8, children: [renderReplaceConfirmModal(), _jsxs(FormLayout, { children: [_jsxs("div", { children: [renderContent(), !loading && preConditions && (_jsx(SummaryMobileWrapper, { children: _jsx(Tile, { children: renderSummary() }) }))] }), !loading && preConditions && (_jsx(SummaryDesktopWrapper, { children: _jsx(Tile, { style: { minWidth: '243px' }, children: renderSummary() }) }))] })] }) }));
|
|
772
740
|
};
|
|
@@ -165,7 +165,7 @@ export interface C4CreateClusterDuplicate {
|
|
|
165
165
|
sourceName: string;
|
|
166
166
|
/**
|
|
167
167
|
* Says what a duplicate copies and what it does not copy. A string, because
|
|
168
|
-
* the `subtitle`
|
|
168
|
+
* the notification `subtitle` accepts no node.
|
|
169
169
|
*/
|
|
170
170
|
notice: string;
|
|
171
171
|
replace?: C4CreateClusterDuplicateReplace;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { CSSProperties, JSX, ReactNode } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
* A paragraph of the Scopes description in a create cluster client dialog.
|
|
4
|
-
*
|
|
5
|
-
* keeps its bare element.
|
|
3
|
+
* A paragraph of the Scopes description in a create cluster client dialog. It
|
|
4
|
+
* uses the DS `Text` body style, like the other dialog text.
|
|
6
5
|
*/
|
|
7
6
|
export declare function ScopesDescriptionText(props: {
|
|
8
7
|
as: 'p' | 'div';
|