@rh-support/troubleshoot 2.2.129-beta.3 → 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 }),
@@ -139,7 +139,7 @@ export default function Recommendations(props) {
139
139
  React.createElement("div", { className: "recommendation-list pf-v5-u-pt-md", ref: resultRowRef },
140
140
  recommendationState.visibleDocs.length !== 0 && (React.createElement(Label, { color: "purple", className: "pf-v5-u-mb-md" },
141
141
  React.createElement(WatsonxAiIcon, { fillColor: "#6753ac", className: "pf-v5-u-mr-xs" }),
142
- "Live search results powered by Openshift AI")),
142
+ React.createElement(Trans, null, "Live search results powered by OpenShift AI"))),
143
143
  React.createElement("ul", { className: "list-flat" }, map(recommendationState.visibleDocs, (doc, i) => {
144
144
  var _a, _b;
145
145
  return (React.createElement("li", { className: "result", key: doc.id },
@@ -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.3",
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": "0750ea2dd781f8de318f0dcff6912f521a006e6b"
134
+ "gitHead": "927066c6474faa9f0b51fd2a554557af1d393961"
135
135
  }