{quote}"
+Loading
) + +export const ValueContainerWithLoadingShimmer = (props: ValueContainerProps) => { + const { + selectProps: { isLoading }, + } = props + + if (!isLoading) { + return{textContent}
diff --git a/src/Shared/Components/StatusComponent/types.ts b/src/Shared/Components/StatusComponent/types.ts index 5c8388b85..d03739c1b 100644 --- a/src/Shared/Components/StatusComponent/types.ts +++ b/src/Shared/Components/StatusComponent/types.ts @@ -34,6 +34,7 @@ export enum StatusType { INPROGRESS = 'INPROGRESS', HIBERNATING = 'HIBERNATING', TIMED_OUT = 'TIMED_OUT', + DELETING = 'DELETING', } export interface StatusComponentProps { diff --git a/src/Shared/Components/StatusComponent/utils.ts b/src/Shared/Components/StatusComponent/utils.ts index b6303d7c8..a9c110f0c 100644 --- a/src/Shared/Components/StatusComponent/utils.ts +++ b/src/Shared/Components/StatusComponent/utils.ts @@ -71,6 +71,10 @@ export const getIconName = (status: string, showAnimatedIcon: boolean): IconName case 'timedout': case 'timed_out': return 'ic-timeout-dash' + case 'deleting': + return 'ic-delete-dots' + case 'deleted': + return 'ic-delete' default: return null } @@ -93,6 +97,8 @@ export const getIconColor = (status: string): IconsProps['color'] => { return 'O500' case 'timedout': case 'timed_out': + case 'deleting': + case 'deleted': return 'R500' default: return null diff --git a/src/Shared/Components/index.ts b/src/Shared/Components/index.ts index 3747ac491..36d71ccb6 100644 --- a/src/Shared/Components/index.ts +++ b/src/Shared/Components/index.ts @@ -45,7 +45,6 @@ export * from './DiffViewer' export * from './DynamicDataTable' export * from './EditableTextArea' export * from './EditImageFormField' -export * from './EnterpriseTag' export * from './EnvironmentSelector' export * from './Error' export * from './ExcludedImageNode' diff --git a/src/Shared/types.ts b/src/Shared/types.ts index e266bdee0..97e0bcc6d 100644 --- a/src/Shared/types.ts +++ b/src/Shared/types.ts @@ -482,6 +482,7 @@ export enum ResourceKindType { releaseChannel = 'release-channel', tenant = 'tenant', installation = 'installation', + infrastructureInstallation = 'installations', environment = 'environment', cdPipeline = 'cd-pipeline', ciPipeline = 'ci-pipeline', @@ -1116,6 +1117,11 @@ export enum ResponseHeaders { LICENSE_STATUS = 'X-License-Status', } +export enum InstallationClusterType { + EKS_AUTO_CLUSTER = 'eksAutoCluster', + EKS_MANUAL_CLUSTER = 'eksManualCluster', +} + export type IconBaseSizeType = | 6 | 8