@openshift-assisted/ui-lib 2.14.2-cim → 2.14.4-cim

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts.map +1 -1
  2. package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts +4 -2
  3. package/build/@types/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts.map +1 -1
  4. package/build/@types/cim/components/Hypershift/types.d.ts +1 -1
  5. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts +7 -0
  6. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -0
  7. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts +2 -1
  8. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
  9. package/build/@types/cim/components/helpers/versions.d.ts +2 -2
  10. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  11. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +2 -2
  12. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  13. package/build/@types/common/components/ui/{OpenshiftSelectWithSearch.d.ts → OpenShiftSelectWithSearch.d.ts} +3 -3
  14. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -0
  15. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +2 -2
  16. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  17. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts +12 -0
  18. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -0
  19. package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
  20. package/build/@types/common/components/ui/index.d.ts +2 -0
  21. package/build/@types/common/components/ui/index.d.ts.map +1 -1
  22. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
  23. package/build/@types/ocm/components/clusterWizard/{OpenshiftVersionsContext.d.ts → OpenShiftVersionsContext.d.ts} +4 -4
  24. package/build/@types/ocm/components/clusterWizard/{OpenshiftVersionsContext.d.ts.map → OpenShiftVersionsContext.d.ts.map} +1 -1
  25. package/build/@types/ocm/components/clusterWizard/index.d.ts +1 -0
  26. package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
  27. package/build/@types/ocm/services/OperatorsService.d.ts +1 -1
  28. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js +17 -16
  29. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.js.map +1 -1
  30. package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js +24 -9
  31. package/build/cjs/cim/components/ClusterDeployment/ClusterDetailsFormFields.js.map +1 -1
  32. package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js +2 -2
  33. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +2 -2
  34. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
  35. package/build/cjs/cim/components/InfraEnv/{OpenshiftVersionDropdown.js → InfraEnvOpenShiftVersionDropdown.js} +3 -3
  36. package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -0
  37. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +14 -19
  38. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
  39. package/build/cjs/cim/components/helpers/versions.js +19 -11
  40. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  41. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js +11 -9
  42. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  43. package/build/cjs/common/components/ui/{OpenshiftSelectWithSearch.js → OpenShiftSelectWithSearch.js} +6 -6
  44. package/build/cjs/common/components/ui/{OpenshiftSelectWithSearch.js.map → OpenShiftSelectWithSearch.js.map} +1 -1
  45. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.css +9 -0
  46. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +2 -2
  47. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  48. package/build/cjs/{ocm/components/clusterConfiguration → common/components/ui}/OpenShiftVersionModal.js +4 -6
  49. package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -0
  50. package/build/cjs/common/components/ui/formik/RichInputField.js +3 -2
  51. package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
  52. package/build/cjs/common/components/ui/index.js +2 -0
  53. package/build/cjs/common/components/ui/index.js.map +1 -1
  54. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js +2 -2
  55. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +2 -2
  56. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js +2 -2
  57. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +2 -2
  58. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersion.js +1 -1
  59. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +5 -6
  60. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
  61. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +2 -2
  62. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +2 -2
  63. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +2 -2
  64. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -2
  65. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +2 -2
  66. package/build/cjs/ocm/components/clusterWizard/{OpenshiftVersionsContext.js → OpenShiftVersionsContext.js} +10 -10
  67. package/build/cjs/ocm/components/clusterWizard/{OpenshiftVersionsContext.js.map → OpenShiftVersionsContext.js.map} +1 -1
  68. package/build/cjs/ocm/components/clusterWizard/index.js +3 -1
  69. package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
  70. package/build/cjs/ocm/components/clusters/ClusterPage.js +3 -3
  71. package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -2
  72. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js +2 -2
  73. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +2 -2
  74. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +1 -1
  75. package/build/cjs/ocm/services/OperatorsService.js +2 -2
  76. package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.tsx +35 -29
  77. package/lib/cim/components/ClusterDeployment/ClusterDetailsFormFields.tsx +54 -13
  78. package/lib/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.tsx +2 -2
  79. package/lib/cim/components/Hypershift/types.ts +1 -1
  80. package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +2 -2
  81. package/lib/cim/components/InfraEnv/{OpenshiftVersionDropdown.tsx → InfraEnvOpenShiftVersionDropdown.tsx} +2 -2
  82. package/lib/cim/components/common/CpuArchitectureDropdown.tsx +51 -40
  83. package/lib/cim/components/helpers/versions.ts +20 -6
  84. package/lib/common/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +14 -14
  85. package/lib/common/components/ui/{OpenshiftSelectWithSearch.tsx → OpenShiftSelectWithSearch.tsx} +4 -4
  86. package/lib/common/components/ui/OpenShiftVersionDropdown.css +9 -0
  87. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +3 -3
  88. package/lib/{ocm/components/clusterConfiguration → common/components/ui}/OpenShiftVersionModal.tsx +9 -9
  89. package/lib/common/components/ui/formik/RichInputField.tsx +4 -2
  90. package/lib/common/components/ui/index.ts +3 -0
  91. package/lib/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.tsx +2 -2
  92. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +3 -3
  93. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.tsx +3 -3
  94. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +2 -2
  95. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersion.tsx +1 -1
  96. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +9 -5
  97. package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +2 -2
  98. package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +3 -3
  99. package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +3 -3
  100. package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +2 -2
  101. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +2 -2
  102. package/lib/ocm/components/clusterWizard/{OpenshiftVersionsContext.tsx → OpenShiftVersionsContext.tsx} +8 -8
  103. package/lib/ocm/components/clusterWizard/index.ts +1 -0
  104. package/lib/ocm/components/clusters/ClusterPage.tsx +5 -5
  105. package/lib/ocm/components/clusters/NewClusterPage.tsx +3 -3
  106. package/lib/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.tsx +2 -2
  107. package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +2 -2
  108. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +1 -1
  109. package/lib/ocm/services/OperatorsService.tsx +2 -2
  110. package/package.json +3 -3
  111. package/build/@types/cim/components/InfraEnv/OpenshiftVersionDropdown.d.ts +0 -7
  112. package/build/@types/cim/components/InfraEnv/OpenshiftVersionDropdown.d.ts.map +0 -1
  113. package/build/@types/common/components/ui/OpenshiftSelectWithSearch.d.ts.map +0 -1
  114. package/build/@types/ocm/components/clusterConfiguration/OpenShiftVersionModal.d.ts +0 -10
  115. package/build/@types/ocm/components/clusterConfiguration/OpenShiftVersionModal.d.ts.map +0 -1
  116. package/build/cjs/cim/components/InfraEnv/OpenshiftVersionDropdown.js.map +0 -1
  117. package/build/cjs/common/components/ui/OpenshiftVersionDropdown.css +0 -4
  118. package/build/cjs/ocm/components/clusterConfiguration/OpenShiftVersionModal.js.map +0 -1
  119. package/lib/common/components/ui/OpenshiftVersionDropdown.css +0 -4
  120. /package/build/cjs/{ocm/components/clusterConfiguration/OpenshiftVersionModal.css → common/components/ui/OpenShiftVersionModal.css} +0 -0
  121. /package/lib/{ocm/components/clusterConfiguration/OpenshiftVersionModal.css → common/components/ui/OpenShiftVersionModal.css} +0 -0
@@ -8,7 +8,7 @@ import { setServerUpdateError, updateCluster } from '../../store/slices/current-
8
8
  import { useClusterWizardContext } from './ClusterWizardContext';
9
9
  import { canNextClusterDetails, ClusterWizardFlowStateNew } from './wizardTransition';
10
10
  import { useManagedDomains, useUsedClusterNames } from '../../hooks';
11
- import { useOpenshiftVersionsContext } from './OpenshiftVersionsContext';
11
+ import { useOpenShiftVersionsContext } from './OpenShiftVersionsContext';
12
12
  import ClusterDetailsForm from './ClusterDetailsForm';
13
13
  import ClusterWizardNavigation from './ClusterWizardNavigation';
14
14
  import {
@@ -36,7 +36,7 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
36
36
  error: errorOCPVersions,
37
37
  loading: loadingOCPVersions,
38
38
  latestVersions: versions,
39
- } = useOpenshiftVersionsContext();
39
+ } = useOpenShiftVersionsContext();
40
40
  const location = useLocation();
41
41
 
42
42
  const handleClusterUpdate = React.useCallback(
@@ -8,7 +8,7 @@ import { getKeys } from '../../../common/utils';
8
8
  const supportedVersionLevels = ['production', 'maintenance'];
9
9
 
10
10
  type OpenShiftVersion = Cluster['openshiftVersion'];
11
- type OpenshiftVersionsContextType = {
11
+ type OpenShiftVersionsContextType = {
12
12
  allVersions: OpenshiftVersionOptionType[];
13
13
  latestVersions: OpenshiftVersionOptionType[];
14
14
  isSupportedOpenShiftVersion: (version: OpenShiftVersion) => boolean;
@@ -17,9 +17,9 @@ type OpenshiftVersionsContextType = {
17
17
  loading: boolean;
18
18
  };
19
19
 
20
- const OpenshiftVersionsContext = createContext<OpenshiftVersionsContextType | null>(null);
20
+ const OpenShiftVersionsContext = createContext<OpenShiftVersionsContextType | null>(null);
21
21
 
22
- export const OpenshiftVersionsContextProvider = ({ children }: { children: React.ReactNode }) => {
22
+ export const OpenShiftVersionsContextProvider = ({ children }: { children: React.ReactNode }) => {
23
23
  const [allVersions, setAllVersions] = React.useState<OpenshiftVersionOptionType[]>([]);
24
24
  const [latestVersions, setLatestVersions] = React.useState<OpenshiftVersionOptionType[]>([]);
25
25
  const [error, setError] = React.useState<{ title: string; message: string }>();
@@ -107,7 +107,7 @@ export const OpenshiftVersionsContextProvider = ({ children }: { children: React
107
107
  );
108
108
 
109
109
  return (
110
- <OpenshiftVersionsContext.Provider
110
+ <OpenShiftVersionsContext.Provider
111
111
  value={{
112
112
  allVersions,
113
113
  latestVersions,
@@ -118,14 +118,14 @@ export const OpenshiftVersionsContextProvider = ({ children }: { children: React
118
118
  }}
119
119
  >
120
120
  {children}
121
- </OpenshiftVersionsContext.Provider>
121
+ </OpenShiftVersionsContext.Provider>
122
122
  );
123
123
  };
124
124
 
125
- export const useOpenshiftVersionsContext = () => {
126
- const context = React.useContext(OpenshiftVersionsContext);
125
+ export const useOpenShiftVersionsContext = () => {
126
+ const context = React.useContext(OpenShiftVersionsContext);
127
127
  if (!context) {
128
- throw new Error('useOpenshiftVersionsContext must be used within OpenshiftVersionsContext');
128
+ throw new Error('useOpenShiftVersionsContext must be used within OpenShiftVersionsContext');
129
129
  }
130
130
  return context;
131
131
  };
@@ -1,3 +1,4 @@
1
1
  export { default as ClusterDetailsForm } from './ClusterDetailsForm';
2
2
  export { default as NewClusterWizard } from './NewClusterWizard';
3
3
  export { default as ClusterWizardContextProvider } from './ClusterWizardContextProvider';
4
+ export { OpenShiftVersionsContextProvider } from './OpenShiftVersionsContext';
@@ -33,7 +33,7 @@ import { NewFeatureSupportLevelProvider } from '../featureSupportLevels';
33
33
  import { usePullSecret } from '../../hooks';
34
34
  import { Cluster, InfraEnv } from '@openshift-assisted/types/assisted-installer-service';
35
35
  import { AssistedInstallerHeader } from './AssistedInstallerHeader';
36
- import { OpenshiftVersionsContextProvider } from '../clusterWizard/OpenshiftVersionsContext';
36
+ import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
37
37
 
38
38
  const ClusterPageGeneric = ({
39
39
  clusterId,
@@ -72,9 +72,9 @@ const ClusterPageGeneric = ({
72
72
  };
73
73
  return (
74
74
  <AddHostsContextProvider cluster={cluster} resetCluster={onReset}>
75
- <OpenshiftVersionsContextProvider>
75
+ <OpenShiftVersionsContextProvider>
76
76
  <AddHosts />
77
- </OpenshiftVersionsContextProvider>
77
+ </OpenShiftVersionsContextProvider>
78
78
  </AddHostsContextProvider>
79
79
  );
80
80
  } else if (
@@ -170,7 +170,7 @@ const ClusterPageGeneric = ({
170
170
  loadingUI={<ClusterLoading />}
171
171
  errorUI={<ClusterUiError />}
172
172
  >
173
- <OpenshiftVersionsContextProvider>
173
+ <OpenShiftVersionsContextProvider>
174
174
  <NewFeatureSupportLevelProvider
175
175
  loadingUi={<ClusterLoading />}
176
176
  cluster={cluster}
@@ -188,7 +188,7 @@ const ClusterPageGeneric = ({
188
188
  <ResetClusterModal />
189
189
  <DiscoveryImageModal />
190
190
  </NewFeatureSupportLevelProvider>
191
- </OpenshiftVersionsContextProvider>
191
+ </OpenShiftVersionsContextProvider>
192
192
  </ClusterDefaultConfigurationProvider>
193
193
  </ModalDialogsContextProvider>
194
194
  </SentryErrorMonitorContextProvider>
@@ -11,7 +11,7 @@ import { ClusterUiError } from './ClusterPageErrors';
11
11
  import { NewFeatureSupportLevelProvider } from '../featureSupportLevels';
12
12
  import { AssistedInstallerHeader } from './AssistedInstallerHeader';
13
13
  import { ModalDialogsContextProvider } from '../hosts/ModalDialogsContext';
14
- import { OpenshiftVersionsContextProvider } from '../clusterWizard/OpenshiftVersionsContext';
14
+ import { OpenShiftVersionsContextProvider } from '../clusterWizard/OpenShiftVersionsContext';
15
15
 
16
16
  const NewClusterPageGeneric = ({ pageTitleSection }: { pageTitleSection?: ReactNode }) => {
17
17
  return (
@@ -22,7 +22,7 @@ const NewClusterPageGeneric = ({ pageTitleSection }: { pageTitleSection?: ReactN
22
22
  loadingUI={<ClusterLoading />}
23
23
  errorUI={<ClusterUiError />}
24
24
  >
25
- <OpenshiftVersionsContextProvider>
25
+ <OpenShiftVersionsContextProvider>
26
26
  <NewFeatureSupportLevelProvider loadingUi={<ClusterLoading />}>
27
27
  {pageTitleSection}
28
28
  <PageSection variant={PageSectionVariants.light} isFilled>
@@ -31,7 +31,7 @@ const NewClusterPageGeneric = ({ pageTitleSection }: { pageTitleSection?: ReactN
31
31
  </ClusterWizardContextProvider>
32
32
  </PageSection>
33
33
  </NewFeatureSupportLevelProvider>
34
- </OpenshiftVersionsContextProvider>
34
+ </OpenShiftVersionsContextProvider>
35
35
  </ClusterDefaultConfigurationProvider>
36
36
  </ModalDialogsContextProvider>
37
37
  </SentryErrorMonitorContextProvider>
@@ -21,7 +21,7 @@ import {
21
21
  SupportLevel,
22
22
  SupportLevels,
23
23
  } from '@openshift-assisted/types/assisted-installer-service';
24
- import { useOpenshiftVersionsContext } from '../clusterWizard/OpenshiftVersionsContext';
24
+ import { useOpenShiftVersionsContext } from '../clusterWizard/OpenShiftVersionsContext';
25
25
 
26
26
  export type NewSupportLevelProviderProps = PropsWithChildren<{
27
27
  clusterFeatureUsage?: string;
@@ -44,7 +44,7 @@ export const NewFeatureSupportLevelProvider: React.FC<NewSupportLevelProviderPro
44
44
  openshiftVersion,
45
45
  platformType,
46
46
  }) => {
47
- const { loading: loadingOCPVersions } = useOpenshiftVersionsContext();
47
+ const { loading: loadingOCPVersions } = useOpenShiftVersionsContext();
48
48
  const pullSecret = usePullSecret();
49
49
  const { infraEnv, isLoading: isInfraEnvLoading } = useInfraEnv(
50
50
  cluster?.id || '',
@@ -16,7 +16,7 @@ import { DetailItem, UiIcon } from '../../../common';
16
16
  import { getLimitedFeatureSupportLevels } from '../../../common/components/newFeatureSupportLevels/utils';
17
17
  import { WithErrorBoundary } from '../../../common/components/ErrorHandling/WithErrorBoundary';
18
18
  import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
19
- import { useOpenshiftVersionsContext } from '../clusterWizard/OpenshiftVersionsContext';
19
+ import { useOpenShiftVersionsContext } from '../clusterWizard/OpenShiftVersionsContext';
20
20
  import { TFunction } from 'i18next';
21
21
  import {
22
22
  NewFeatureSupportLevelData,
@@ -141,7 +141,7 @@ export const getSupportLevelInfo = (
141
141
  const SupportLevel = ({ cluster }: SupportLevelProps) => {
142
142
  const { t } = useTranslation();
143
143
  const featureSupportLevelData = useNewFeatureSupportLevel();
144
- const { isSupportedOpenShiftVersion } = useOpenshiftVersionsContext();
144
+ const { isSupportedOpenShiftVersion } = useOpenShiftVersionsContext();
145
145
 
146
146
  const { limitedClusterFeatures, hasSupportedVersion, isFullySupported } =
147
147
  React.useMemo<SupportLevelMemo>(
@@ -14,7 +14,7 @@ import {
14
14
  } from '@openshift-assisted/types/assisted-installer-service';
15
15
  import { ExternalPlatformLabels } from '../clusterConfiguration/platformIntegration/constants';
16
16
 
17
- const CNV_OPERATOR_LABEL = 'Openshift Virtualization';
17
+ const CNV_OPERATOR_LABEL = 'OpenShift Virtualization';
18
18
  const LVMS_OPERATOR_LABEL = 'Logical Volume Manager Storage';
19
19
  const LVM_OPERATOR_LABEL = 'Logical Volume Manager';
20
20
  const ODF_OPERATOR_LABEL = 'OpenShift Data Foundation';
@@ -49,7 +49,7 @@ const OperatorsService = {
49
49
  },
50
50
 
51
51
  /**
52
- * Depending on the Openshift version and certain selected operators, the
52
+ * Depending on the OpenShift version and certain selected operators, the
53
53
  * Backend can activate some other operators.
54
54
  * We need to synchronise them back to the form
55
55
  */
@@ -59,7 +59,7 @@ const OperatorsService = {
59
59
  ): Partial<OperatorsValues> {
60
60
  const updates: Partial<OperatorsValues> = {};
61
61
 
62
- // LVM operator can be automatically selected depending on Openshift version + other operators
62
+ // LVM operator can be automatically selected depending on OpenShift version + other operators
63
63
  const lvmPrevInactive = uiOperators?.find((op) => op.name === OPERATOR_NAME_LVM) === undefined;
64
64
  const lvmNowActive =
65
65
  updatedOperators?.find((op) => op.name === OPERATOR_NAME_LVM) !== undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "dependencies": {
3
- "@openshift-assisted/locales": "2.14.2-cim",
4
- "@openshift-assisted/types": "2.14.2-cim",
3
+ "@openshift-assisted/locales": "2.14.4-cim",
4
+ "@openshift-assisted/types": "2.14.4-cim",
5
5
  "@openshift-console/dynamic-plugin-sdk": "0.0.3",
6
6
  "@patternfly/patternfly": "5.2.0",
7
7
  "@patternfly/react-code-editor": "5.2.0",
@@ -140,5 +140,5 @@
140
140
  ]
141
141
  }
142
142
  },
143
- "version": "2.14.2-cim"
143
+ "version": "2.14.4-cim"
144
144
  }
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import { OsImage } from '../../types';
3
- declare const OpenshiftVersionDropdown: ({ osImages }: {
4
- osImages: OsImage[];
5
- }) => React.JSX.Element;
6
- export default OpenshiftVersionDropdown;
7
- //# sourceMappingURL=OpenshiftVersionDropdown.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenshiftVersionDropdown.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/InfraEnv/OpenshiftVersionDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,QAAA,MAAM,wBAAwB;cAA8B,OAAO,EAAE;uBA6DpE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenshiftSelectWithSearch.d.ts","sourceRoot":"","sources":["../../../../../lib/common/components/ui/OpenshiftSelectWithSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAkBxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAG5D,KAAK,8BAA8B,GAAG;IACpC,QAAQ,EAAE,0BAA0B,EAAE,CAAC;IACvC,aAAa,EAAE,cAAc,CAAC;IAC9B,wBAAwB,EAAE,QAAQ,CAAC,cAAc,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC,CAAC;CAC5F,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,iBAAiB,CAAC,8BAA8B,CAyQ7F,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './OpenshiftVersionModal.css';
3
- import { HelperTextType } from '../../../common/components/ui/OpenShiftVersionDropdown';
4
- type OpenShiftVersionModalProps = {
5
- setOpenshiftVersionModalOpen: (isOpen: boolean) => void;
6
- getHelperText: HelperTextType;
7
- };
8
- export declare const OpenShiftVersionModal: ({ setOpenshiftVersionModalOpen, getHelperText, }: OpenShiftVersionModalProps) => React.JSX.Element;
9
- export {};
10
- //# sourceMappingURL=OpenShiftVersionModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenShiftVersionModal.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OpenShiftVersionModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,6BAA6B,CAAC;AAGrC,OAAO,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AAIxF,KAAK,0BAA0B,GAAG;IAChC,4BAA4B,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxD,aAAa,EAAE,cAAc,CAAC;CAC/B,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,CAAC,gBAAgB,IAClE,aAAa,KAAK,CAAC,gBAAgB,EAAE,CACzB,CAChB,CAAC;iBACH,EACD,SAAS,EAAC,YAAY,GACtB,CACM,CACA,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,wBAAwB,CAAC"}
@@ -1,4 +0,0 @@
1
- #form-input-openshiftVersion-field .pf-v5-c-dropdown__menu {
2
- max-height: 22vh;
3
- overflow: auto;
4
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenShiftVersionModal.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/clusterConfiguration/OpenShiftVersionModal.tsx"],"names":[],"mappings":";;;;AAAA,uDAAwC;AACxC,uDAA+F;AAC/F,uCAAqC;AACrC,uGAAoG;AACpG,wFAAwF;AAExF,mCAA0C;AAQnC,MAAM,qBAAqB,GAAG,CAAC,EACpC,4BAA4B,EAC5B,aAAa,GACc,EAAE,EAAE;IAC/B,MAAM,EAAE,aAAa,EAAE,GAAG,IAAA,yBAAgB,GAAwB,CAAC;IACnE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAA,sDAA2B,GAAE,CAAC;IAChE,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,4BAA4B,CAAC,KAAK,CAAC,CAAC;IAC1D,MAAM,CAAC,qBAAqB,EAAE,wBAAwB,CAAC,GAAG,IAAA,gBAAQ,GAA8B,CAAC,CAAC,4CAA4C;IAE9I,MAAM,YAAY,GAAG,GAAG,EAAE;QACxB,IAAI,qBAAqB,EAAE;YACzB,aAAa,CAAC,uBAAuB,EAAE,qBAAqB,CAAC,CAAC;SAC/D;QACD,OAAO,EAAE,CAAC;IACZ,CAAC,CAAC;IAEF,OAAO,CACL,8BAAC,kBAAK,IACJ,KAAK,EAAC,8BAA8B,EACpC,EAAE,EAAC,oCAAoC,EACvC,MAAM,QACN,OAAO,EAAE;YACP,8BAAC,mBAAM,IAAC,GAAG,EAAC,mBAAmB,EAAC,OAAO,EAAE,0BAAa,CAA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