@rh-support/troubleshoot 2.2.129-beta.4 → 2.2.129-beta.5

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.
@@ -1,4 +1,4 @@
1
- import { Flex, FlexItem } from '@patternfly/react-core';
1
+ import { Grid, GridItem } from '@patternfly/react-core';
2
2
  import { useGlobalStateContext } from '@rh-support/react-context';
3
3
  import { isSpecialSupportOfferingEnabled } from '@rh-support/utils';
4
4
  import isEqual from 'lodash/isEqual';
@@ -32,10 +32,10 @@ export default function CaseManagement(props) {
32
32
  const isESSCustomer = isSpecialSupportOfferingEnabled((_a = allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult, selectedProduct);
33
33
  return (React.createElement("form", null,
34
34
  React.createElement(SupportLevel, null),
35
- React.createElement(Flex, { direction: { default: 'column', '2xl': 'row' } },
36
- React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-v5-u-mb-xs" },
35
+ React.createElement(Grid, { hasGutter: true },
36
+ React.createElement(GridItem, { span: 12, xl2: 6, className: "pf-v5-u-mb-xs" },
37
37
  React.createElement(Severity, { showSeverityInfoIcon: true, onSeverityChange: onSeverityChange })),
38
- React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-v5-u-mb-xs" },
38
+ React.createElement(GridItem, { span: 12, xl2: 6, className: "pf-v5-u-mb-xs" },
39
39
  React.createElement(ContactPhoneNumber, null))),
40
40
  React.createElement(ContactPhoneNumberAlert, null),
41
41
  React.createElement(Fts, { inlineEditable: false }),
@@ -1,4 +1,4 @@
1
- import { Flex, FlexItem } from '@patternfly/react-core';
1
+ import { Grid, GridItem } from '@patternfly/react-core';
2
2
  import { AlertMessage, AlertType, LoadingIndicator } from '@rh-support/components';
3
3
  import { fetchCaseSeverities, fetchCaseTypes, fetchLanguageMetadata, GlobalMetadataDispatchContext, GlobalMetadataStateContext, useGlobalStateContext, } from '@rh-support/react-context';
4
4
  import { canManageCase, haventLoadedMetadata, isSpecialSupportOfferingEnabled } from '@rh-support/utils';
@@ -101,10 +101,10 @@ export default function IdeaInformation() {
101
101
  React.createElement(Description, { inlineEditable: false, customTitle: t(KtQuestionConstant.ideaIssue) }),
102
102
  React.createElement(KtQuestions, { onlyShowKT4: true }),
103
103
  React.createElement(SupportLevel, null),
104
- React.createElement(Flex, { direction: { default: 'column', '2xl': 'row' } },
105
- React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-v5-u-mb-xl" },
104
+ React.createElement(Grid, { hasGutter: true },
105
+ React.createElement(GridItem, { span: 12, xl2: 6, className: "pf-v5-u-mb-xl" },
106
106
  React.createElement(Severity, { showSeverityInfoIcon: true, onSeverityChange: onSeverityChange })),
107
- React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-v5-u-mb-xl" },
107
+ React.createElement(GridItem, { span: 12, xl2: 6, className: "pf-v5-u-mb-xl" },
108
108
  React.createElement(ContactPhoneNumber, null))),
109
109
  React.createElement(ContactPhoneNumberAlert, null),
110
110
  React.createElement(CaseLanguageSelector, { isManageStep: true }),
@@ -1,4 +1,4 @@
1
- import { Flex, FlexItem } from '@patternfly/react-core';
1
+ import { Grid, GridItem } from '@patternfly/react-core';
2
2
  import { useGlobalStateContext } from '@rh-support/react-context';
3
3
  import { AbilityContext, CaseDetailsFields, resourceActions, resources } from '@rh-support/user-permissions';
4
4
  import { isSpecialSupportOfferingEnabled } from '@rh-support/utils';
@@ -56,10 +56,10 @@ export default function Review(props) {
56
56
  React.createElement(KtQuestions, { inlineEditable: true, hideSaveCancel: true }),
57
57
  React.createElement(CaseType, { hideIdea: true }),
58
58
  React.createElement(SupportLevel, null),
59
- React.createElement(Flex, { direction: { default: 'column', '2xl': 'row' } },
60
- React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-v5-u-mb-xl" },
59
+ React.createElement(Grid, { hasGutter: true },
60
+ React.createElement(GridItem, { span: 12, xl2: 6, className: "pf-v5-u-mb-xl" },
61
61
  React.createElement(Severity, { showSeverityInfoIcon: true, onSeverityChange: onSeverityChange })),
62
- React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-v5-u-mb-xl" },
62
+ React.createElement(GridItem, { span: 12, xl2: 6, className: "pf-v5-u-mb-xl" },
63
63
  React.createElement(ContactPhoneNumber, null))),
64
64
  React.createElement(ContactPhoneNumberAlert, null),
65
65
  React.createElement(Fts, { inlineEditable: true, initialIsEditing: isEmpty(contactInfo24x7), hideSaveCancel: true }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/troubleshoot",
3
- "version": "2.2.129-beta.4",
3
+ "version": "2.2.129-beta.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -131,5 +131,5 @@
131
131
  "defaults and supports es6-module",
132
132
  "maintained node versions"
133
133
  ],
134
- "gitHead": "5a3d394d8e77ffd4b259e9b0033f85ded84bcff9"
134
+ "gitHead": "927066c6474faa9f0b51fd2a554557af1d393961"
135
135
  }