@rh-support/troubleshoot 2.2.39 → 2.2.42

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 (130) hide show
  1. package/README.md +1 -1
  2. package/lib/esm/components/AccountInfo/AccountSelector.js +4 -4
  3. package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.js +1 -1
  4. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +2 -2
  5. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts.map +1 -1
  6. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.js +22 -19
  7. package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
  8. package/lib/esm/components/CaseEditView/CaseDetailsAside.js +14 -9
  9. package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.js +1 -1
  10. package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +3 -3
  11. package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.js +1 -1
  12. package/lib/esm/components/CaseEditView/CaseOverview/DateTime.js +1 -1
  13. package/lib/esm/components/CaseEditView/CaseOverview/index.js +8 -8
  14. package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.js +1 -1
  15. package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.js +1 -1
  16. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts.map +1 -1
  17. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.js +17 -11
  18. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +2 -2
  19. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts.map +1 -1
  20. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.js +7 -6
  21. package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts.map +1 -1
  22. package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.js +11 -10
  23. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +2 -2
  24. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map +1 -1
  25. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.js +11 -10
  26. package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts.map +1 -1
  27. package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.js +3 -3
  28. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +4 -4
  29. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +2 -2
  30. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.js +1 -1
  31. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.js +1 -1
  32. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.js +1 -1
  33. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.js +2 -2
  34. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.js +2 -2
  35. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
  36. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +7 -7
  37. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.js +1 -1
  38. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts.map +1 -1
  39. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.js +6 -6
  40. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.js +1 -1
  41. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseChat.js +1 -1
  42. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts.map +1 -1
  43. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +6 -4
  44. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.d.ts.map +1 -1
  45. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.js +5 -3
  46. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.js +1 -1
  47. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +4 -4
  48. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts.map +1 -1
  49. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.js +3 -2
  50. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts.map +1 -1
  51. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.js +3 -3
  52. package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.js +1 -1
  53. package/lib/esm/components/CaseInformation/CaseInformation.d.ts.map +1 -1
  54. package/lib/esm/components/CaseInformation/CaseInformation.js +3 -3
  55. package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.d.ts.map +1 -1
  56. package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.js +2 -2
  57. package/lib/esm/components/CaseInformation/Description.d.ts.map +1 -1
  58. package/lib/esm/components/CaseInformation/Description.js +3 -3
  59. package/lib/esm/components/CaseInformation/Fts.js +3 -3
  60. package/lib/esm/components/CaseInformation/Severity.d.ts.map +1 -1
  61. package/lib/esm/components/CaseInformation/Severity.js +3 -2
  62. package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
  63. package/lib/esm/components/CaseInformation/SupportLevel.js +4 -3
  64. package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts.map +1 -1
  65. package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +3 -2
  66. package/lib/esm/components/CaseManagement/CaseManagement.js +2 -2
  67. package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
  68. package/lib/esm/components/CaseManagement/Cep.js +28 -12
  69. package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.d.ts.map +1 -1
  70. package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.js +13 -12
  71. package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.js +3 -3
  72. package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +1 -1
  73. package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.js +1 -1
  74. package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts.map +1 -1
  75. package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +4 -3
  76. package/lib/esm/components/CaseManagement/RHAssociatesSelector.js +2 -2
  77. package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.d.ts.map +1 -1
  78. package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.js +15 -14
  79. package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +3 -3
  80. package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +1 -1
  81. package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +3 -3
  82. package/lib/esm/components/IdeaInformation/IdeaInformation.js +5 -5
  83. package/lib/esm/components/ImproveCase/KtQuestions.d.ts.map +1 -1
  84. package/lib/esm/components/ImproveCase/KtQuestions.js +7 -7
  85. package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +12 -15
  86. package/lib/esm/components/ProductSelector/AllProductsSelector.js +1 -1
  87. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
  88. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +4 -3
  89. package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +2 -2
  90. package/lib/esm/components/ProductSelector/ProductSelector.js +1 -1
  91. package/lib/esm/components/Recommendations/ClusterRecommendationItems.js +1 -1
  92. package/lib/esm/components/Recommendations/ClusterRecommendations.js +1 -1
  93. package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.js +1 -1
  94. package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.js +7 -7
  95. package/lib/esm/components/Recommendations/InsightsRuleInfo.js +7 -7
  96. package/lib/esm/components/Recommendations/RecommendationFeedbackModal.js +1 -1
  97. package/lib/esm/components/Recommendations/Recommendations.js +1 -1
  98. package/lib/esm/components/Recommendations/RulesModal.js +1 -1
  99. package/lib/esm/components/RemoteRider/RemoteRiderBanner.js +1 -1
  100. package/lib/esm/components/Review/Review.js +2 -2
  101. package/lib/esm/components/SessionRestore/SessionRestoreCard.js +6 -6
  102. package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
  103. package/lib/esm/components/SubmitCase/SubmitCase.js +18 -16
  104. package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
  105. package/lib/esm/components/Suggestions/TopContent.js +31 -4
  106. package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +6 -6
  107. package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +4 -4
  108. package/lib/esm/components/shared/Rule.js +6 -6
  109. package/lib/esm/components/shared/fileUpload/FileLister.js +6 -6
  110. package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +2 -2
  111. package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.js +1 -1
  112. package/lib/esm/components/shared/fileUpload/css/fileSelector.css +1 -1
  113. package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts.map +1 -1
  114. package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.js +1 -1
  115. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.js +2 -2
  116. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.js +2 -2
  117. package/lib/esm/components/wizardLayout/MainSection.js +1 -1
  118. package/lib/esm/components/wizardLayout/WizardAside.js +1 -1
  119. package/lib/esm/components/wizardLayout/WizardMain.js +1 -1
  120. package/lib/esm/components/wizardLayout/WizardNavigation.js +1 -1
  121. package/lib/esm/css/app.css +7 -7
  122. package/lib/esm/css/case.css +3 -3
  123. package/lib/esm/hooks/useWizard.js +1 -1
  124. package/lib/esm/reducers/RouteConstNTypes.d.ts +1 -1
  125. package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
  126. package/lib/esm/scss/_main.scss +35 -35
  127. package/lib/esm/scss/_pf4-overrides.scss +132 -84
  128. package/lib/esm/scss/index.scss +0 -1
  129. package/package.json +9 -11
  130. package/lib/esm/scss/_pf4-imports.scss +0 -30
@@ -8,7 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { publicApi } from '@cee-eng/hydrajs';
11
- import { Button, ButtonVariant, Checkbox, Modal, Select, SelectOption } from '@patternfly/react-core';
11
+ import { Button, ButtonVariant, Checkbox, Modal } from '@patternfly/react-core';
12
+ import { Select, SelectOption } from '@patternfly/react-core/deprecated';
12
13
  import DownloadIcon from '@patternfly/react-icons/dist/esm/icons/download-icon';
13
14
  import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
14
15
  import { ToastNotification, useFetch } from '@rh-support/components';
@@ -146,28 +147,28 @@ export function RemoteSessionAgreementModal(props) {
146
147
  // Body of RSA Modal
147
148
  const RemoteSessionAgreementModalBody = () => {
148
149
  return (React.createElement(React.Fragment, null,
149
- React.createElement("p", { className: "pf-u-mt-xs" },
150
+ React.createElement("p", { className: "pf-v5-u-mt-xs" },
150
151
  React.createElement(Trans, null,
151
152
  "Your acceptance of this Remote Access Rider is required ",
152
153
  React.createElement("strong", null, "for each case"),
153
154
  " when you request Red Hat\u2019s support team to directly access your network or systems.")),
154
- React.createElement("p", { className: "pf-u-mt-md" },
155
+ React.createElement("p", { className: "pf-v5-u-mt-md" },
155
156
  React.createElement(Trans, null, "Remote access to your network or systems is not a standard Red Hat problem resolution process. Before Red Hat logs into your systems to analyze your support issue during a remote session, Red Hat needs your approval and authorization for such remote access.")),
156
- React.createElement("p", { className: "pf-u-mt-md" },
157
+ React.createElement("p", { className: "pf-v5-u-mt-md" },
157
158
  React.createElement(Trans, null, "Please read and accept the Remote Access Rider terms below to allow Red Hat to access your network or systems.")),
158
159
  React.createElement("div", null,
159
- React.createElement(Select, { className: "pf-u-mt-md", "aria-label": t('Select language'), id: "terms-language-selector", selections: selectedTranslation.localeCode, onSelect: onLangChange, isOpen: isLangSelectorDropdownOpen, menuAppendTo: document.body, placeholderText: t('Select an option that best fits'), onToggle: onDropdownToggle, width: 350 }, Object.keys(allTranslations).map((option, index) => (React.createElement(SelectOption, { key: index, value: option }, getLocaleNameFromLocalCode(option))))),
160
- React.createElement("a", { "aria-label": t('Download'), "data-tracking-id": "rsa-modal-terms-download", className: "pf-u-ml-md", href: selectedTranslation.pdfDownloadUrl, rel: "noopener noreferrer", target: "_blank" },
160
+ React.createElement(Select, { className: "pf-v5-u-mt-md", "aria-label": t('Select language'), id: "terms-language-selector", selections: selectedTranslation.localeCode, onSelect: onLangChange, isOpen: isLangSelectorDropdownOpen, menuAppendTo: document.body, placeholderText: t('Select an option that best fits'), onToggle: (_event, toggle) => onDropdownToggle(toggle), width: 350 }, Object.keys(allTranslations).map((option, index) => (React.createElement(SelectOption, { key: index, value: option }, getLocaleNameFromLocalCode(option))))),
161
+ React.createElement("a", { "aria-label": t('Download'), "data-tracking-id": "rsa-modal-terms-download", className: "pf-v5-u-ml-md", href: selectedTranslation.pdfDownloadUrl, rel: "noopener noreferrer", target: "_blank" },
161
162
  t('Download'),
162
163
  " ",
163
- React.createElement(DownloadIcon, { className: "pf-u-ml-xs" }))),
164
+ React.createElement(DownloadIcon, { className: "pf-v5-u-ml-xs" }))),
164
165
  React.createElement("div", null,
165
- React.createElement(Checkbox, { className: "pf-u-mt-md rsa-checkbox", id: "terms-accept-checkbox", label: React.createElement(React.Fragment, null,
166
+ React.createElement(Checkbox, { className: "pf-v5-u-mt-md rsa-checkbox", id: "terms-accept-checkbox", label: React.createElement(React.Fragment, null,
166
167
  React.createElement(Trans, null, "I have read and agree to the"),
167
168
  ' ',
168
- React.createElement("a", { className: "pf-c-button pf-m-link pf-m-inline align-link-items", rel: "noopener noreferrer", target: "_blank", href: selectedTranslation.pdfDownloadUrl, "data-tracking-id": "case-details-request-remote-session-terms" },
169
+ React.createElement("a", { className: "pf-v5-c-button pf-m-link pf-m-inline align-link-items", rel: "noopener noreferrer", target: "_blank", href: selectedTranslation.pdfDownloadUrl, "data-tracking-id": "case-details-request-remote-session-terms" },
169
170
  React.createElement(Trans, null, "terms "),
170
- React.createElement(ExternalLinkAltIcon, null))), isChecked: isTermsChecked, "aria-label": t('I have read and agree to the terms'), onChange: onCheckBoxChange }))));
171
+ React.createElement(ExternalLinkAltIcon, null))), isChecked: isTermsChecked, "aria-label": t('I have read and agree to the terms'), onChange: (_event, value) => onCheckBoxChange(value) }))));
171
172
  };
172
173
  return (React.createElement(Modal, { id: "remote-session-agreement-modal", "aria-label": t('Remote Session Agreement'), title: t('Remote Session Agreement'), isOpen: props.show, onClose: onCancel, actions: modalActions }, RemoteSessionAgreementModalBody()));
173
174
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CaseActionPlan.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.tsx"],"names":[],"mappings":"AAqBA,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,iBAAS,cAAc,CAAC,KAAK,EAAE,MAAM,eAyIpC;kBAzIQ,cAAc;;;AA4IvB,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"CaseActionPlan.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.tsx"],"names":[],"mappings":"AAqBA,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,iBAAS,cAAc,CAAC,KAAK,EAAE,MAAM,eAwIpC;kBAxIQ,cAAc;;;AA2IvB,eAAe,cAAc,CAAC"}
@@ -82,13 +82,13 @@ function CaseActionPlan(props) {
82
82
  return { __html: htmlString };
83
83
  };
84
84
  return (React.createElement(React.Fragment, null,
85
- React.createElement(AlertMessage, { show: isInternalWithoutSFDCUser, variant: AlertType.WARNING, isInline: true, className: "pf-u-mb-lg", title: t('You need a Salesforce (SFDC) user to edit the action plan.') }),
85
+ React.createElement(AlertMessage, { show: isInternalWithoutSFDCUser, variant: AlertType.WARNING, isInline: true, className: "pf-v5-u-mb-lg", title: t('You need a Salesforce (SFDC) user to edit the action plan.') }),
86
86
  React.createElement("label", { htmlFor: "rha-action-plan", className: "sr-only" },
87
87
  React.createElement(Trans, null, "Action plan")),
88
88
  !canUpdateActionPlan && (React.createElement("pre", { "aria-label": t('Case Action Plan'), dangerouslySetInnerHTML: commentMarkdown(actionPlan), style: { fontFamily: isExportingPDF ? 'DejaVu Sans' : '' } })),
89
89
  canUpdateActionPlan && (React.createElement("form", null,
90
90
  React.createElement("div", { className: isExportingPDF ? 'hide-in-pdf' : '' },
91
- React.createElement(TextAreaResizable, { className: "form-control", id: "rha-action-plan", disabled: isUpdating || isInternalWithoutSFDCUser, maxLength: 32768, name: "actionPlan", value: actionPlanState, onChange: onChange, rowsMin: 3 })),
91
+ React.createElement(TextAreaResizable, { id: "rha-action-plan", disabled: isUpdating || isInternalWithoutSFDCUser, maxLength: 32768, name: "actionPlan", value: actionPlanState, onChange: onChange, rowsMin: 3 })),
92
92
  !isInternalWithoutSFDCUser && (React.createElement("div", { className: `${isExportingPDF ? 'hide-in-pdf' : ''} push-top-narrow` },
93
93
  React.createElement("button", { className: "btn btn-app btn-primary", onClick: updateCase, disabled: isActionPlanEmpty || isUpdating || !formIsDirty },
94
94
  React.createElement(Trans, null, "Submit"),
@@ -96,7 +96,7 @@ function CaseActionPlan(props) {
96
96
  React.createElement(LoadingIndicator, { show: isUpdating, isInline: true })),
97
97
  React.createElement("button", { className: "btn btn-app btn-link", onClick: discardActionPlan, disabled: isUpdating || !formIsDirty },
98
98
  React.createElement(Trans, null, "Cancel")))),
99
- React.createElement("p", { className: "pf-u-mt-xl" },
99
+ React.createElement("p", { className: "pf-v5-u-mt-xl" },
100
100
  React.createElement(Trans, null,
101
101
  "Updates to the action plan are ",
102
102
  React.createElement("strong", null, "customer-facing"),
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { contacts } from '@cee-eng/hydrajs';
11
- import { InputGroupText, InputGroupTextVariant, ValidatedOptions } from '@patternfly/react-core';
11
+ import { InputGroupText, ValidatedOptions } from '@patternfly/react-core';
12
12
  import CheckIcon from '@patternfly/react-icons/dist/js/icons/check-icon';
13
13
  import TimesIcon from '@patternfly/react-icons/dist/js/icons/times-icon';
14
14
  import { getPhoneObj, PhoneInput, ToastNotification } from '@rh-support/components';
@@ -146,13 +146,13 @@ export function CaseContactPhoneNumber() {
146
146
  }
147
147
  // eslint-disable-next-line react-hooks/exhaustive-deps
148
148
  }, []);
149
- return (React.createElement("div", { className: "form-group pf-u-pb-md", style: { minWidth: '200px' } },
149
+ return (React.createElement("div", { className: "form-group pf-v5-u-pb-md", style: { minWidth: '200px' } },
150
150
  React.createElement("h3", { className: `subheading subheading-sm ${isExportingPDF ? 'expand-input' : ''}` },
151
151
  React.createElement(Trans, null, "Case owner's phone number"),
152
152
  !isExportingPDF ? ContactPhoneNumberPopOver() : ''),
153
- React.createElement(InputGroupText, { variant: InputGroupTextVariant.plain },
153
+ React.createElement(InputGroupText, null,
154
154
  React.createElement(PhoneInput, { phoneValue: localFullPhoneState, onPhoneValueChange: onPhoneChange, onCountryCodeChange: onCountryCodeChange, validations: isPhoneNumberValid, isDisabled: isCasePhoneUpdating || isCaseOwnerUpdating, isLoading: isCasePhoneUpdating, "data-tracking-id": "case-details-page-supplied-phone", invalid: invalid, setInvalid: setInvalid }),
155
- React.createElement("button", { className: "btn btn-app btn-link pf-u-ml-sm", type: "button", "data-tracking-id": "case-details-page-supplied-phone-save", onClick: () => onSave(), disabled: (localFullPhoneState === null || localFullPhoneState === void 0 ? void 0 : localFullPhoneState.length) > PHONE_LIMIT ||
155
+ React.createElement("button", { className: "btn btn-app btn-link pf-v5-u-ml-sm", type: "button", "data-tracking-id": "case-details-page-supplied-phone-save", onClick: () => onSave(), disabled: (localFullPhoneState === null || localFullPhoneState === void 0 ? void 0 : localFullPhoneState.length) > PHONE_LIMIT ||
156
156
  localFullPhoneState === phoneCountryCode + ' ' + phoneAreaCodePrefixLineNumber ||
157
157
  (isSaveClicked && isPhoneValueCannotBeSaved), style: { display: isExportingPDF ? 'none' : '' } },
158
158
  React.createElement(CheckIcon, null)),
@@ -102,7 +102,7 @@ function CaseHostname(props) {
102
102
  const hostNameVisibilityContent = (React.createElement("div", null,
103
103
  React.createElement("p", null, "You can share this information at any time to improve your support experience."),
104
104
  React.createElement(Switch, { label: shareHostnameLabel, isChecked: isShareHostNamesChecked, onChange: onShareHostnameCheck }),
105
- isHostnamesLoading && (React.createElement(Spinner, { isSVG: true, size: "lg", className: "pf-u-ml-sm hostnameSpinner", "aria-label": "Hostname loading" }))));
105
+ isHostnamesLoading && (React.createElement(Spinner, { size: "lg", className: "pf-v5-u-ml-sm hostnameSpinner", "aria-label": "Hostname loading" }))));
106
106
  if (!canUseHostName) {
107
107
  return React.createElement(React.Fragment, null);
108
108
  }
@@ -111,7 +111,7 @@ function CaseHostname(props) {
111
111
  React.createElement(InlineEdit, { labelProps: { htmlFor: 'case-details-hostname' }, formClassName: props.className || '', labelContent: React.createElement(React.Fragment, null,
112
112
  React.createElement(Trans, null, "Hostname"),
113
113
  React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localHostnameChange, value: hostname, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.hostname) })), helperContent: !isExportingPDF ? (React.createElement(Popover, { "aria-label": "Hostname Info", position: PopoverPosition.auto, bodyContent: hostNameVisibilityContent, closeBtnAriaLabel: "Close", headerContent: 'Share hostname?', onShow: () => userOriginalHostnameValue() },
114
- React.createElement(QuestionCircleIcon, { className: "pf-u-ml-xs icon-size", "aria-label": "Hostname Info" }))) : undefined, allowInlineEdit: props.inlineEditable, content: hostname, saveDisabled: hostnameState === hostname || isHostnameUpdating || lengthError, onSave: onSave, onCancel: onCancel, initialIsEditing: false, loadingIndicator: isHostnameUpdating ? React.createElement(LoadingIndicator, { show: isHostnameUpdating, isInline: true }) : undefined, isExportingPDF: isExportingPDF },
114
+ React.createElement(QuestionCircleIcon, { className: "pf-v5-u-ml-xs icon-size", "aria-label": "Hostname Info" }))) : undefined, allowInlineEdit: props.inlineEditable, content: hostname, saveDisabled: hostnameState === hostname || isHostnameUpdating || lengthError, onSave: onSave, onCancel: onCancel, initialIsEditing: false, loadingIndicator: isHostnameUpdating ? React.createElement(LoadingIndicator, { show: isHostnameUpdating, isInline: true }) : undefined, isExportingPDF: isExportingPDF },
115
115
  React.createElement("input", { type: "text", id: "case-details-hostname", className: `form-control${lengthError ? ' form-invalid' : ''}`, name: "case-details-hostname", value: hostnameState, onChange: onHostnameChange, disabled: isHostnameUpdating, "data-tracking-id": "case-details-hostname", "aria-invalid": lengthError })),
116
116
  lengthError && (React.createElement("div", { className: "pull-top" },
117
117
  React.createElement("p", { className: "form-instructions form-invalid" },
@@ -4,5 +4,5 @@ import React from 'react';
4
4
  import { Trans } from 'react-i18next';
5
5
  export default function CaseOpenShiftPopover() {
6
6
  return (React.createElement(Popover, { "aria-label": "Cluster Id Info", position: PopoverPosition.auto, bodyContent: React.createElement(Trans, null, "Cluster IDs give us the ability to use connected customer tools and services to debug your cluster in conjunction with this support case."), closeBtnAriaLabel: "Close" },
7
- React.createElement(QuestionCircleIcon, { className: "pf-u-ml-xs" })));
7
+ React.createElement(QuestionCircleIcon, { className: "pf-v5-u-ml-xs" })));
8
8
  }
@@ -4,5 +4,5 @@ import React from 'react';
4
4
  import { Trans } from 'react-i18next';
5
5
  export default function CaseOpenShiftV3Popover() {
6
6
  return (React.createElement(Popover, { "aria-label": "Cluster Id Info", position: PopoverPosition.auto, bodyContent: React.createElement(Trans, null, "Providing a cluster name allows us to link issues more effectively within managed settings through connected customer tools"), closeBtnAriaLabel: "Close" },
7
- React.createElement(QuestionCircleIcon, { className: "pf-u-ml-xs" })));
7
+ React.createElement(QuestionCircleIcon, { className: "pf-v5-u-ml-xs" })));
8
8
  }
@@ -237,7 +237,7 @@ export function CaseOpenshiftClusterId() {
237
237
  return null;
238
238
  }
239
239
  else if (isOpenShiftV3) {
240
- return React.createElement("div", { className: "pull-top pf-u-pb-xl" }, v3Message());
240
+ return React.createElement("div", { className: "pull-top pf-v5-u-pb-xl" }, v3Message());
241
241
  }
242
242
  else {
243
243
  return (React.createElement(React.Fragment, null,
@@ -53,13 +53,13 @@ export function CaseContactPhoneNumberAlert(props) {
53
53
  const NEW_OWNER_MSG = 'You are the new owner for this case. Is the new phone number correct?';
54
54
  if (!isPhoneNeedsReview)
55
55
  return React.createElement(React.Fragment, null);
56
- return (React.createElement(React.Fragment, null, props.isReview && !isExportingPDF ? (React.createElement(Alert, { className: "pf-u-mb-md", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
56
+ return (React.createElement(React.Fragment, null, props.isReview && !isExportingPDF ? (React.createElement(Alert, { className: "pf-v5-u-mb-md", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
57
57
  React.createElement(Link, { replace: true, to: {
58
58
  pathname: `/case/${caseNumber}/management`,
59
59
  }, onClick: () => goToPhoneField(), "data-tracking-id": "case-contact-phone-number-review" },
60
60
  React.createElement(Trans, null, "Review phone number")),
61
61
  ] },
62
- React.createElement(Trans, null, NEW_OWNER_MSG))) : props.isConfirm && !isExportingPDF ? (React.createElement(Alert, { isInline: true, className: "pf-u-mb-md", variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
62
+ React.createElement(Trans, null, NEW_OWNER_MSG))) : props.isConfirm && !isExportingPDF ? (React.createElement(Alert, { isInline: true, className: "pf-v5-u-mb-md", variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
63
63
  React.createElement(Button, { variant: ButtonVariant.link, isInline: true, onClick: () => onCaseDetailsChange({ suppliedPhoneNumberVerified: 'True' }), "data-tracking-id": "case-contact-phone-number-confirm", isLoading: isCaseUpdating, isDisabled: isCaseUpdating },
64
64
  React.createElement(Trans, null, "Confirm phone number")),
65
65
  ] },
@@ -57,13 +57,13 @@ export function CasePhoneNumberSev1ConfirmAlert(props) {
57
57
  const SEV1_MSG = 'This case severity is urgent. Please confirm the phone number we have on file is correct.';
58
58
  if (!isPhoneNeedsConfirm)
59
59
  return React.createElement(React.Fragment, null);
60
- return (React.createElement(React.Fragment, null, props.isReview && !isExportingPDF ? (React.createElement(Alert, { className: "pf-u-mb-md", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
60
+ return (React.createElement(React.Fragment, null, props.isReview && !isExportingPDF ? (React.createElement(Alert, { className: "pf-v5-u-mb-md", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
61
61
  React.createElement(Link, { replace: true, to: {
62
62
  pathname: `/case/${caseNumber}/management`,
63
63
  }, onClick: () => goToPhoneField(), "data-tracking-id": "case-contact-phone-number-review" },
64
64
  React.createElement(Trans, null, "Review phone number")),
65
65
  ] },
66
- React.createElement(Trans, null, SEV1_MSG))) : props.isConfirm && !isExportingPDF ? (React.createElement(Alert, { isInline: true, className: "pf-u-mb-md", variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
66
+ React.createElement(Trans, null, SEV1_MSG))) : props.isConfirm && !isExportingPDF ? (React.createElement(Alert, { isInline: true, className: "pf-v5-u-mb-md", variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
67
67
  React.createElement(Button, { variant: ButtonVariant.link, isInline: true, onClick: () => onCaseDetailsChange({ suppliedPhoneNumberVerified: 'True' }), "data-tracking-id": "case-contact-phone-number-confirm", isLoading: isCaseUpdating, isDisabled: isCaseUpdating },
68
68
  React.createElement(Trans, null, "Confirm phone number")),
69
69
  ] },
@@ -1 +1 @@
1
- {"version":3,"file":"CaseReferenceNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.tsx"],"names":[],"mappings":"AA4BA,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,MAAM,eA6LxD"}
1
+ {"version":3,"file":"CaseReferenceNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.tsx"],"names":[],"mappings":"AA2BA,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,MAAM,eA4LxD"}
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { InputGroupText, InputGroupTextVariant, Spinner, TextInput, TextInputGroup, Tooltip, TooltipPosition, ValidatedOptions, } from '@patternfly/react-core';
10
+ import { InputGroupText, Spinner, TextInput, TextInputGroup, Tooltip, TooltipPosition, ValidatedOptions, } from '@patternfly/react-core';
11
11
  import CheckIcon from '@patternfly/react-icons/dist/js/icons/check-icon';
12
12
  import InfoIcon from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
13
13
  import TimesIcon from '@patternfly/react-icons/dist/js/icons/times-icon';
@@ -106,17 +106,17 @@ export default function CaseReferenceNumber(props) {
106
106
  React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localRefNumberChange, value: referenceNumber, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.altID) }),
107
107
  ' ',
108
108
  !isExportingPDF ? (React.createElement(Tooltip, { trigger: 'mouseenter focus', position: TooltipPosition.top, content: React.createElement(Trans, null, "Add your internal tracking ID to better identify and organize support issues.") },
109
- React.createElement(InfoIcon, { className: "pf-u-ml-sm", "aria-label": "Case Alternate ID" }))) : ('')), allowInlineEdit: inlineEditable, content: referenceNumber || t('No personal reference number to display.'), hideSaveCancel: hideSaveCancel, saveDisabled: saveDisabled, charCount: (referenceNumberState === null || referenceNumberState === void 0 ? void 0 : referenceNumberState.length) || 0, charTotal: CASE_REFERENCE_NUMBER_LIMIT, cancelToggleState: isCancelClicked, saveToggleState: isSaveClicked, isExportingPDF: isExportingPDF },
109
+ React.createElement(InfoIcon, { className: "pf-v5-u-ml-sm", "aria-label": "Case Alternate ID" }))) : ('')), allowInlineEdit: inlineEditable, content: referenceNumber || t('No personal reference number to display.'), hideSaveCancel: hideSaveCancel, saveDisabled: saveDisabled, charCount: (referenceNumberState === null || referenceNumberState === void 0 ? void 0 : referenceNumberState.length) || 0, charTotal: CASE_REFERENCE_NUMBER_LIMIT, cancelToggleState: isCancelClicked, saveToggleState: isSaveClicked, isExportingPDF: isExportingPDF },
110
110
  React.createElement(TextInputGroup, null,
111
- React.createElement(TextInput, { value: referenceNumberState, type: "text", className: "form-control", id: "case-details-reference-number", placeholder: t(`Enter the reference number used personally or within your company`), onChange: onReferenceNumberChange, "data-tracking-id": "case-details-reference-number", isDisabled: isUpdating, onKeyDown: handleKeyDown, validated: (referenceNumberState === null || referenceNumberState === void 0 ? void 0 : referenceNumberState.length) > CASE_REFERENCE_NUMBER_LIMIT
111
+ React.createElement(TextInput, { value: referenceNumberState, type: "text", id: "case-details-reference-number", placeholder: t(`Enter the reference number used personally or within your company`), onChange: (_event, value) => onReferenceNumberChange(value), "data-tracking-id": "case-details-reference-number", isDisabled: isUpdating, onKeyDown: handleKeyDown, validated: (referenceNumberState === null || referenceNumberState === void 0 ? void 0 : referenceNumberState.length) > CASE_REFERENCE_NUMBER_LIMIT
112
112
  ? ValidatedOptions.error
113
113
  : ValidatedOptions.default }),
114
- !isUpdating ? (React.createElement(InputGroupText, { variant: InputGroupTextVariant.plain },
115
- React.createElement("button", { className: "btn btn-app btn-link pf-u-ml-sm", type: "button", disabled: saveDisabled, onClick: onSave },
114
+ !isUpdating ? (React.createElement(InputGroupText, null,
115
+ React.createElement("button", { className: "btn btn-app btn-link pf-v5-u-ml-sm", type: "button", disabled: saveDisabled, onClick: onSave },
116
116
  React.createElement(CheckIcon, null)),
117
117
  React.createElement("button", { className: "btn btn-app btn-link", type: "button", onClick: onCancel },
118
- React.createElement(TimesIcon, { color: "#6A6E73" })))) : (React.createElement(InputGroupText, { variant: InputGroupTextVariant.plain },
119
- React.createElement(Spinner, { isSVG: true, size: "lg", className: "pf-u-ml-2xl pf-u-mr-xl" }))))),
118
+ React.createElement(TimesIcon, { color: "#6A6E73" })))) : (React.createElement(InputGroupText, null,
119
+ React.createElement(Spinner, { size: "lg", className: "pf-v5-u-ml-2xl pf-v5-u-mr-xl" }))))),
120
120
  isReferenceNumberValid ? (React.createElement("div", { className: "pull-top" },
121
121
  React.createElement("p", { className: "form-instructions form-invalid" },
122
122
  React.createElement(Trans, null, maxLengthErrorMessage)))) : (React.createElement("p", { className: "form-instructions" },
@@ -173,7 +173,7 @@ function ProductNVersion(props) {
173
173
  }, [versionsDetails.data]);
174
174
  return (React.createElement(React.Fragment, null,
175
175
  React.createElement(AlertMessage, { show: !allProducts.isFetching && allProducts.isError, title: t('There was an error loading products.'), variant: AlertType.DANGER }),
176
- isEmpty(selectedVersionLocal) && (selectedVersionLocal === null || selectedVersionLocal === void 0 ? void 0 : selectedVersionLocal.length) < 2 && (React.createElement(Alert, { isInline: true, className: "pf-u-mb-md", variant: AlertVariant.danger, title: React.createElement(Trans, null, "Please clear the errors to change the product on your case") })),
176
+ isEmpty(selectedVersionLocal) && (selectedVersionLocal === null || selectedVersionLocal === void 0 ? void 0 : selectedVersionLocal.length) < 2 && (React.createElement(Alert, { isInline: true, className: "pf-v5-u-mb-md", variant: AlertVariant.danger, title: React.createElement(Trans, null, "Please clear the errors to change the product on your case") })),
177
177
  React.createElement(React.Fragment, null,
178
178
  React.createElement("div", { className: "form-group all-product-selector-dropdown" },
179
179
  React.createElement("div", { className: "product-selector-wrapper" },
@@ -1 +1 @@
1
- {"version":3,"file":"Summary.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/Summary.tsx"],"names":[],"mappings":"AAwBA,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAQD,iBAAS,OAAO,CAAC,KAAK,EAAE,MAAM,eA2L7B;kBA3LQ,OAAO;;;AA8LhB,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Summary.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/Summary.tsx"],"names":[],"mappings":"AAiBA,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAQD,iBAAS,OAAO,CAAC,KAAK,EAAE,MAAM,eA0L7B;kBA1LQ,OAAO;;;AA6LhB,eAAe,OAAO,CAAC"}
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { InputGroupText, InputGroupTextVariant, Spinner, TextInput, TextInputGroup, ValidatedOptions, } from '@patternfly/react-core';
10
+ import { InputGroupText, Spinner, TextInput, TextInputGroup, ValidatedOptions } from '@patternfly/react-core';
11
11
  import CheckIcon from '@patternfly/react-icons/dist/js/icons/check-icon';
12
12
  import TimesIcon from '@patternfly/react-icons/dist/js/icons/times-icon';
13
13
  import { NewInlineEdit, ToastNotification, ValueChangedIcon } from '@rh-support/components';
@@ -128,15 +128,15 @@ function Summary(props) {
128
128
  React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localSummaryChange, value: summary, getTooltipContent: getSummaryChangedTT }),
129
129
  React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")), allowInlineEdit: props.inlineEditable, content: summary ? summary : t('No summary to display.'), saveDisabled: saveDisabled, hideLabel: props.hideLabel, hideSaveCancel: props.hideSaveCancel, charCount: (summaryState === null || summaryState === void 0 ? void 0 : summaryState.length) || 0, charTotal: SUMMARY_LENGTH_LIMIT, cancelToggleState: isCancelClicked, saveToggleState: isSaveClicked, isExportingPDF: isExportingPDF },
130
130
  React.createElement(TextInputGroup, null,
131
- React.createElement(TextInput, { type: "text", id: "case-details-summary", className: 'form-control', "aria-required": true, required: true, name: "case-details-summary", value: summaryState, onChange: onSummaryChange, isDisabled: isSummaryUpdating, "data-tracking-id": "case-details-summary", onKeyDown: handleKeyDown, validated: (summaryState === null || summaryState === void 0 ? void 0 : summaryState.length) > SUMMARY_LENGTH_LIMIT || isSummaryEmpty
131
+ React.createElement(TextInput, { type: "text", id: "case-details-summary", "aria-required": true, required: true, name: "case-details-summary", value: summaryState, onChange: (_event, value) => onSummaryChange(value), isDisabled: isSummaryUpdating, "data-tracking-id": "case-details-summary", onKeyDown: handleKeyDown, validated: (summaryState === null || summaryState === void 0 ? void 0 : summaryState.length) > SUMMARY_LENGTH_LIMIT || isSummaryEmpty
132
132
  ? ValidatedOptions.error
133
133
  : ValidatedOptions.default }),
134
- !isSummaryUpdating ? (React.createElement(InputGroupText, { variant: InputGroupTextVariant.plain },
135
- React.createElement("button", { className: "btn btn-app btn-link pf-u-ml-sm", type: "button", disabled: saveDisabled, onClick: onSave },
134
+ !isSummaryUpdating ? (React.createElement(InputGroupText, null,
135
+ React.createElement("button", { className: "btn btn-app btn-link pf-v5-u-ml-sm", type: "button", disabled: saveDisabled, onClick: onSave },
136
136
  React.createElement(CheckIcon, null)),
137
137
  React.createElement("button", { className: "btn btn-app btn-link", type: "button", onClick: onCancel },
138
- React.createElement(TimesIcon, { color: "#6A6E73" })))) : (React.createElement(InputGroupText, { variant: InputGroupTextVariant.plain },
139
- React.createElement(Spinner, { isSVG: true, size: "lg", className: "pf-u-ml-2xl pf-u-mr-xl" }))))),
138
+ React.createElement(TimesIcon, { color: "#6A6E73" })))) : (React.createElement(InputGroupText, null,
139
+ React.createElement(Spinner, { size: "lg", className: "pf-v5-u-ml-2xl pf-v5-u-mr-xl" }))))),
140
140
  isSummaryEmpty && (React.createElement("p", { className: "form-instructions form-invalid" },
141
141
  React.createElement(Trans, null, fieldEmptyErrorMessage)))));
142
142
  }
@@ -148,7 +148,7 @@ const CaseAttachment = React.forwardRef((props, ref) => {
148
148
  React.createElement(Trans, null, maxCaseAttachmentDescription))),
149
149
  React.createElement("footer", null,
150
150
  React.createElement("span", { className: "comment-note" }, props.attachment.isPrivate && React.createElement(Trans, null, "Private attachment")),
151
- React.createElement("span", { className: "pull-right pf-l-flex pf-m-align-items-center" },
151
+ React.createElement("span", { className: "pull-right pf-v5-l-flex pf-m-align-items-center" },
152
152
  props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.attachment.id), discussionType: DiscussionType.ATTACHMENT, itemId: props.attachment.id, caseNumber: props.attachment.caseNumber, isCopyLink: false },
153
153
  React.createElement(Trans, null, "Jump to attachment"))),
154
154
  React.createElement("button", { className: `btn btn-app btn-link text-danger ${isExportingPDF ? 'hide-in-pdf' : ''}`, title: "Delete attachment", onClick: deleteAttachment(props.attachment), "data-tracking-id": "delete-attachmentid-button" },
@@ -24,7 +24,7 @@ const CaseChat = React.forwardRef((props, ref) => {
24
24
  { visitorName: props.chat.visitorName }),
25
25
  React.createElement("p", { className: "push-top-narrow", dangerouslySetInnerHTML: sanetize(props.chat.body) })),
26
26
  React.createElement("footer", null,
27
- React.createElement("span", { className: "pf-u-ml-auto pf-l-flex pf-m-align-items-center" },
27
+ React.createElement("span", { className: "pf-v5-u-ml-auto pf-v5-l-flex pf-m-align-items-center" },
28
28
  props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.chat.id), discussionType: DiscussionType.CHAT, itemId: props.chat.id, caseNumber: caseNumber, isCopyLink: false },
29
29
  React.createElement(Trans, null, "Jump to comment"))),
30
30
  React.createElement(JumpAndCopyLink, { caseNumber: caseNumber, cardId: props.chat.id, discussionType: DiscussionType.CHAT })))));
@@ -1 +1 @@
1
- {"version":3,"file":"CaseComments.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AA8BvE,OAAO,KAA+B,MAAM,OAAO,CAAC;AAQpD,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAClF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,kBAAkB,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAChH;AAED,QAAA,MAAM,YAAY,4EAqThB,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"CaseComments.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AA8BvE,OAAO,KAA+B,MAAM,OAAO,CAAC;AAQpD,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAClF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,kBAAkB,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAChH;AAED,QAAA,MAAM,YAAY,4EAyThB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  };
10
10
  import { publicApi } from '@cee-eng/hydrajs';
11
11
  import { encodeAngularBrackets, EventTypes, htmlEntitiesEncode, linkifyBZIDs, linkifyWithCaseIDs, parseCommentMarkdown, processRME, } from '@cee-eng/ui-toolkit';
12
- import { Tooltip, TooltipPosition } from '@patternfly/react-core';
12
+ import { Icon, Tooltip, TooltipPosition } from '@patternfly/react-core';
13
13
  import FrownIcon from '@patternfly/react-icons/dist/js/icons/frown-icon';
14
14
  import MehIcon from '@patternfly/react-icons/dist/js/icons/meh-icon';
15
15
  import OutlinedFrownIcon from '@patternfly/react-icons/dist/js/icons/outlined-frown-icon';
@@ -110,10 +110,12 @@ const CaseComments = React.forwardRef((props, ref) => {
110
110
  return (React.createElement("img", { src: "https://static.redhat.com/libs/redhat/brand-assets/2/corp/logo--hat-only.svg", height: "18", width: "18", "aria-hidden": "true", alt: "Red Hat associate comment", title: "Red Hat associate", style: { verticalAlign: '-0.125em', marginRight: '6px' } }));
111
111
  }
112
112
  else if (comment.createdByType === 'Customer') {
113
- return (React.createElement(UserCircleIcon, { style: { verticalAlign: '-0.125em', marginRight: '6px', color: '#1D4174' }, size: "sm" }));
113
+ return (React.createElement(Icon, { size: "sm" },
114
+ React.createElement(UserCircleIcon, { style: { verticalAlign: '-0.125em', marginRight: '6px', color: '#1D4174' } })));
114
115
  }
115
116
  else {
116
- return (React.createElement(UserCircleIcon, { style: { verticalAlign: '-0.125em', marginRight: '6px', color: '#1D4174' }, size: "sm" }));
117
+ return (React.createElement(Icon, { size: "sm" },
118
+ React.createElement(UserCircleIcon, { style: { verticalAlign: '-0.125em', marginRight: '6px', color: '#1D4174' } })));
117
119
  }
118
120
  };
119
121
  const computeCommentFooter = (comment) => {
@@ -202,7 +204,7 @@ const CaseComments = React.forwardRef((props, ref) => {
202
204
  React.createElement("footer", null,
203
205
  React.createElement("span", { className: "comment-note" }, computeCommentFooter(props.comment)),
204
206
  canSeeFeedbackButtons && commentFeedbackButtons(props.comment, props.feedback),
205
- React.createElement("span", { className: "pull-right pf-l-flex pf-m-align-items-center" },
207
+ React.createElement("span", { className: "pull-right pf-v5-l-flex pf-m-align-items-center" },
206
208
  props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.comment.id), discussionType: DiscussionType.COMMENT, itemId: props.comment.id, caseNumber: caseNumber, isCopyLink: false },
207
209
  React.createElement(Trans, null, "Jump to comment"))),
208
210
  React.createElement("button", { onClick: commentReply(props.comment), className: `btn btn-app btn-link ${isExportingPDF ? 'hide-in-pdf' : ''}`, "data-tracking-id": "case-comment-reply" },
@@ -1 +1 @@
1
- {"version":3,"file":"CaseExternalTrackerUpdate.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAOjF,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,sBAAsB,CAAC;IACtC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,iBAAiB,EAAE,MAAM,KAAK,IAAI,CAAC;CACzD;AAID,QAAA,MAAM,yBAAyB,4EAuF7B,CAAC;AAEH,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"CaseExternalTrackerUpdate.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAQjF,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,sBAAsB,CAAC;IACtC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,iBAAiB,EAAE,MAAM,KAAK,IAAI,CAAC;CACzD;AAID,QAAA,MAAM,yBAAyB,4EA0F7B,CAAC;AAEH,eAAe,yBAAyB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { markdownToHTML } from '@cee-eng/ui-toolkit';
2
+ import { Icon } from '@patternfly/react-core';
2
3
  import TopologyIcon from '@patternfly/react-icons/dist/js/icons/topology-icon';
3
4
  import { AbilityContext, CaseDiscussionFields, resourceActions, resources } from '@rh-support/user-permissions';
4
5
  import { formatDateTime } from '@rh-support/utils';
@@ -26,8 +27,9 @@ const CaseExternalTrackerUpdate = React.forwardRef((props, ref) => {
26
27
  return (React.createElement("section", { ref: ref, id: props.trackerUpdate.id, className: `prevent-split support-comment ${isPrivateUpdate() ? 'private ' : ''}comment-external-tracker ${ref ? 'selected-case-comment' : ''}` },
27
28
  React.createElement("header", null,
28
29
  React.createElement("h4", null,
29
- React.createElement(TopologyIcon, { title: "Comment from external tracker", size: "sm" }),
30
- " ",
30
+ React.createElement(Icon, { size: "sm" },
31
+ React.createElement(TopologyIcon, { title: "Comment from external tracker" }),
32
+ ' '),
31
33
  props.trackerUpdate.updateBy),
32
34
  React.createElement("time", null, formatDateTime(props.trackerUpdate.createdDate))),
33
35
  React.createElement("div", { className: "comment-body" },
@@ -44,7 +46,7 @@ const CaseExternalTrackerUpdate = React.forwardRef((props, ref) => {
44
46
  React.createElement(Trans, null, " External tracker"))))))),
45
47
  !isPrivateUpdate() && props.trackerUpdate.customerVisible && (React.createElement("div", { className: "comment-note external-tracker-label" },
46
48
  React.createElement(Trans, null, "External tracker"))),
47
- React.createElement("span", { className: "pull-right pf-l-flex pf-m-align-items-center" },
49
+ React.createElement("span", { className: "pull-right pf-v5-l-flex pf-m-align-items-center" },
48
50
  props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.trackerUpdate.id), discussionType: DiscussionType.EXTERNAL_TRACKER, itemId: props.trackerUpdate.id, caseNumber: caseNumber, isCopyLink: false },
49
51
  React.createElement(Trans, null, "Jump to comment"))),
50
52
  React.createElement(JumpAndCopyLink, { caseNumber: caseNumber, cardId: props.trackerUpdate.id, discussionType: DiscussionType.EXTERNAL_TRACKER })))));
@@ -81,7 +81,7 @@ export function CommentSearch(props) {
81
81
  props.isCommentSearchCleared && !isEmpty(searchValue) && setSearchValue('');
82
82
  return (React.createElement("form", { onSubmit: handleSubmit },
83
83
  React.createElement("div", { className: "case-comment-input-container", "data-tracking-id": "case-comment-search" },
84
- React.createElement(TextInput, { type: "search", value: searchValue, placeholder: t('Search for a comment'), id: "case-comment-search", "aria-label": t('Search for a comment'), onChange: onSearchValChange, "data-tracking-id": "case-comment-search-input", className: "form-control" }),
84
+ React.createElement(TextInput, { type: "search", value: searchValue, className: "pf-v5-u-mr-lg", placeholder: t('Search for a comment'), id: "case-comment-search", "aria-label": t('Search for a comment'), onChange: (_event, value) => onSearchValChange(value), "data-tracking-id": "case-comment-search-input" }),
85
85
  searchValue && (React.createElement(Button, { onClick: clearSearchVal, className: "clear-btn", variant: "plain", "data-tracking-id": "case-comment-search-clear-button", "aria-label": t('Clear this search') },
86
86
  React.createElement(TimesIcon, null))),
87
87
  React.createElement(Button, { variant: "secondary", type: "submit", "data-tracking-id": "case-comment-search-button" },
@@ -313,7 +313,7 @@ export function PostComment(props) {
313
313
  return (parsedPassedReply === null || parsedPassedReply === void 0 ? void 0 : parsedPassedReply.trim()) === (commentText === null || commentText === void 0 ? void 0 : commentText.trim());
314
314
  };
315
315
  const isSubmitDisabled = isReplyDisabled() || isCommentEmpty || isPostCommentDisabled;
316
- return (React.createElement("div", { className: `pf-u-mb-md ${isExportingPDF ? 'hide-in-pdf' : ''}`, ref: componentRef },
316
+ return (React.createElement("div", { className: `pf-v5-u-mb-md ${isExportingPDF ? 'hide-in-pdf' : ''}`, ref: componentRef },
317
317
  React.createElement(MarkdownEditor, { className: `${!isPublic && canPostPrivateComments ? 'is-private' : ''}`, disabled: isProcessing || canEditCase.isCaseNotEditable, "aria-label": "comment text area", showMarkdownPlainTextToggle: true, editorMode: commentType, onFocus: () => setIsTextAreaFocused(true), onBlur: onTextAreaBlur, onChange: onCommentTextChange, value: commentText, rows: isTextAreaFocused ? 12 : 4, bindTextArea: textAreaRef, onCommentExceedCharsLimit: onCommentExceedCharsLimit, mdPlaceholder: isPublic || !canPostPrivateComments
318
318
  ? 'Add a comment using markdown'
319
319
  : 'Add a comment or attach a file privately', plainTextPlaceholder: isPublic || !canPostPrivateComments
@@ -328,7 +328,7 @@ export function PostComment(props) {
328
328
  isUploadingFile: isMarkdownFileUploadInProgress,
329
329
  onClipboardPaste,
330
330
  } }),
331
- isProcessing ? (React.createElement(LoadingIndicator, { isInline: true, size: "sm" })) : (React.createElement("div", { className: "pf-l-flex post-comment-btn-group push-top-narrow" },
331
+ isProcessing ? (React.createElement(LoadingIndicator, { isInline: true, size: "sm" })) : (React.createElement("div", { className: "pf-v5-l-flex post-comment-btn-group push-top-narrow" },
332
332
  isModalOpen && loggedInUserRights.data.isInternal() && isPublic && (React.createElement(VerifyCaseStatusModal, { onClose: onCancel, onConfirm: onConfirm, isUpdating: isPostingComment, caseNumber: props.caseNumber })),
333
333
  React.createElement(Button, { "data-tracking-id": "postcomment-submit-button", type: "button", variant: ButtonVariant.primary, onClick: loggedInUser.data.isInternal && isPublic ? onBtnClick : isNotInternalConfirm, isDisabled: isSubmitDisabled, className: "postcomment-submit" },
334
334
  React.createElement(Trans, null, "Submit")),
@@ -338,9 +338,9 @@ export function PostComment(props) {
338
338
  React.createElement(Trans, null, "Cancel")),
339
339
  canPostPrivateComments && (React.createElement("span", { className: "post-comment-checkbox" },
340
340
  React.createElement(Checkbox, { label: t('Private'), isChecked: !isPublic && canPostPrivateComments, onChange: handleCheckboxToggle, "aria-label": t('Private'), id: "private-comment", name: "private-comment", "data-tracking-id": "private-comment-checkbox" }))))),
341
- React.createElement(FileUpload, { className: `file-upload-section ${hasSomeSelectedFilesLocal ? 'card card-white pf-u-mt-lg pf-u-p-lg' : ''}`, idToUploadTo: caseNumber, onUploadClick: onFileUploadClick, isSessionId: false, isSecureSupport: loggedInUsersAccount.data.secureSupport, isPrivate: !isPublic, autoUploadOnSelect: true, showDescriptionInfoMsg: true }),
341
+ React.createElement(FileUpload, { className: `file-upload-section ${hasSomeSelectedFilesLocal ? 'card card-white pf-v5-u-mt-lg pf-v5-u-p-lg' : ''}`, idToUploadTo: caseNumber, onUploadClick: onFileUploadClick, isSessionId: false, isSecureSupport: loggedInUsersAccount.data.secureSupport, isPrivate: !isPublic, autoUploadOnSelect: true, showDescriptionInfoMsg: true }),
342
342
  React.createElement("span", Object.assign({}, getRootProps()),
343
343
  React.createElement("input", Object.assign({ style: { display: 'none !important' } }, getInputProps()))),
344
344
  !loggedInUsersAccount.data.secureSupport && (React.createElement(NewFeaturePopoverAnnouncement, { "aria-label": "Attach and embed images! You'll find all of your uploaded images here.", featureName: FeatureAnnouncementKeys.MARKDOWN_INLINE_IMAGES, sectionRef: componentRef, bodyContent: React.createElement("div", null,
345
- React.createElement(Trans, null, "Attach and embed images! You'll find all of your uploaded images here.")), reference: () => document.getElementById('md-editor-toolbar-file-selector') }))));
345
+ React.createElement(Trans, null, "Attach and embed images! You'll find all of your uploaded images here.")), triggerRef: () => document.getElementById('md-editor-toolbar-file-selector') }))));
346
346
  }
@@ -1 +1 @@
1
- {"version":3,"file":"VerifyCaseStatusModal.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.tsx"],"names":[],"mappings":"AAkBA,UAAU,MAAM;IACZ,SAAS,EAAE,CAAC,WAAW,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,eAsIlD"}
1
+ {"version":3,"file":"VerifyCaseStatusModal.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.tsx"],"names":[],"mappings":"AAmBA,UAAU,MAAM;IACZ,SAAS,EAAE,CAAC,WAAW,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,eAsIlD"}
@@ -7,7 +7,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { Button, ButtonVariant, Modal, ModalVariant, Select, SelectOption } from '@patternfly/react-core';
10
+ import { Button, ButtonVariant, Modal, ModalVariant } from '@patternfly/react-core';
11
+ import { Select, SelectOption } from '@patternfly/react-core/deprecated';
11
12
  import { ToastNotification } from '@rh-support/components';
12
13
  import { GlobalMetadataStateContext, useCanEditCase } from '@rh-support/react-context';
13
14
  import { ability, resourceActions, resources } from '@rh-support/user-permissions';
@@ -97,6 +98,6 @@ export function VerifyCaseStatusModal(props) {
97
98
  React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")),
98
99
  React.createElement(Select, { "aria-label": t(status), id: "verify-case-status", selections: statusChange, onSelect: onStatusChange, isOpen: showDropdown, isDisabled: !canManageCase ||
99
100
  caseOverviewState.allCaseStatuses.isFetching ||
100
- (caseOverviewState.caseStatusUpdating && isCaseUpdating), menuAppendTo: document.body, validated: !status ? 'error' : 'default', placeholderText: t(status), onToggle: onDropdownToggle }, caseOverviewState.allCaseStatuses.data.map((option, index) => (React.createElement(SelectOption, { key: index, value: option, isDisabled: option === status },
101
+ (caseOverviewState.caseStatusUpdating && isCaseUpdating), menuAppendTo: document.body, validated: !status ? 'error' : 'default', placeholderText: t(status), onToggle: (_event, toggle) => onDropdownToggle(toggle) }, caseOverviewState.allCaseStatuses.data.map((option, index) => (React.createElement(SelectOption, { key: index, value: option, isDisabled: option === status },
101
102
  React.createElement(Trans, null, option)))))));
102
103
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CasePrivateNotes.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.tsx"],"names":[],"mappings":"AAcA,QAAA,MAAM,YAAY;;CAEjB,CAAC;AAEF,aAAK,YAAY,GAAG,OAAO,YAAY,CAAC;AAExC,UAAU,MAAO,SAAQ,YAAY;CAAG;AAExC,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,eAuGtC;kBAvGQ,gBAAgB;;;;;AA0GzB,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"CasePrivateNotes.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.tsx"],"names":[],"mappings":"AAcA,QAAA,MAAM,YAAY;;CAEjB,CAAC;AAEF,aAAK,YAAY,GAAG,OAAO,YAAY,CAAC;AAExC,UAAU,MAAO,SAAQ,YAAY;CAAG;AAExC,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,eAsGtC;kBAtGQ,gBAAgB;;;;;AAyGzB,eAAe,gBAAgB,CAAC"}
@@ -77,15 +77,15 @@ function CasePrivateNotes(props) {
77
77
  React.createElement("label", { htmlFor: "rha-case-notes", className: "sr-only" },
78
78
  React.createElement(Trans, null, "Notes"))),
79
79
  canUpdatePrivateNotes && (React.createElement("form", null,
80
- React.createElement(TextAreaResizable, { className: "form-control", style: { minHeight: '200px' }, id: "rha-case-notes", disabled: isUpdating, maxLength: 255, name: "notes", value: notesState, onChange: onChange }),
81
- React.createElement("div", { className: "pf-u-mt-md" },
80
+ React.createElement(TextAreaResizable, { style: { minHeight: '200px' }, id: "rha-case-notes", disabled: isUpdating, maxLength: 255, name: "notes", value: notesState, onChange: onChange }),
81
+ React.createElement("div", { className: "pf-v5-u-mt-md" },
82
82
  React.createElement("button", { className: `btn btn-app btn-primary ${isExportingPDF ? 'hide-in-pdf' : ''}`, onClick: updateCase, disabled: isPrivateNotesEmpty || isUpdating || !formIsDirty },
83
83
  React.createElement(Trans, null, "Update"),
84
84
  " ",
85
85
  React.createElement(LoadingIndicator, { show: isUpdating, isInline: true })),
86
86
  React.createElement("button", { className: `btn btn-app btn-link ${isExportingPDF ? 'hide-in-pdf' : ''}`, onClick: discardNotes, disabled: isUpdating || !formIsDirty },
87
87
  React.createElement(Trans, null, "Discard Changes"))))),
88
- React.createElement("p", { className: "pf-u-mt-xl" },
88
+ React.createElement("p", { className: "pf-v5-u-mt-xl" },
89
89
  React.createElement(Trans, null, "Please note, contents of this field are not visible to Red Hat Support professionals."))));
90
90
  }
91
91
  CasePrivateNotes.defaultProps = defaultProps;
@@ -121,7 +121,7 @@ export default function RMEEscalationList(props) {
121
121
  React.createElement(Button, { variant: ButtonVariant.secondary, onClick: () => requestUpdateRMEEscalation(escalation.name), "data-tracking-id": "case-details-rme-req-update", className: "" },
122
122
  React.createElement(Trans, null, "Request Update"))),
123
123
  React.createElement(FlexItem, null,
124
- React.createElement(Button, { variant: ButtonVariant.secondary, className: "pf-u-mt-sm", onClick: () => requestClosureRMEEscalation(escalation.name), "data-tracking-id": "case-details-rme-req-closure" },
124
+ React.createElement(Button, { variant: ButtonVariant.secondary, className: "pf-v5-u-mt-sm", onClick: () => requestClosureRMEEscalation(escalation.name), "data-tracking-id": "case-details-rme-req-closure" },
125
125
  React.createElement(Trans, null, "Request Closure")))));
126
126
  }
127
127
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CaseInformation.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/CaseInformation.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AASvD,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,MAAM,eA8GpD"}
1
+ {"version":3,"file":"CaseInformation.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/CaseInformation.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AASvD,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,MAAM,eAkHpD"}
@@ -60,14 +60,14 @@ export default function CaseInformation(props) {
60
60
  ]);
61
61
  return (React.createElement(React.Fragment, null,
62
62
  React.createElement(LoadingIndicator, { show: isMetadataLoading(), size: "lg" }),
63
- React.createElement(AlertMessage, { variant: AlertType.DANGER, className: "pf-u-mt-lg", title: t("Sorry, we're having a problem gathering your information."), show: isMetadataLoadingError() }),
64
- React.createElement(AlertMessage, { show: !canManageCase(loggedInUserJwtToken), variant: AlertType.DANGER, className: "pf-u-mt-lg" },
63
+ React.createElement(AlertMessage, { variant: AlertType.DANGER, className: "pf-v5-u-mt-lg", title: t("Sorry, we're having a problem gathering your information."), show: isMetadataLoadingError() }),
64
+ React.createElement(AlertMessage, { show: !canManageCase(loggedInUserJwtToken), variant: AlertType.DANGER, className: "pf-v5-u-mt-lg" },
65
65
  React.createElement(Trans, { i18nKey: "i18ManageCaseContactCustomerService" },
66
66
  "You need additional access to manage cases.\u00A0 Please contact",
67
67
  ' ',
68
68
  React.createElement("a", { href: "/support/contact/customerService" }, "Customer Service"),
69
69
  " for assistance.")),
70
- React.createElement(AlertMessage, { show: hasInvalidEntitlements, variant: AlertType.DANGER, className: "pf-u-mt-lg", isInline: true },
70
+ React.createElement(AlertMessage, { show: hasInvalidEntitlements, variant: AlertType.DANGER, className: "pf-v5-u-mt-lg", isInline: true },
71
71
  React.createElement(Trans, { i18nKey: "i18ValidEntitlementContactCustomerService" },
72
72
  "You need a valid entitlement to create a case.\u00A0 Please contact",
73
73
  ' ',
@@ -1 +1 @@
1
- {"version":3,"file":"ContactPhoneNumberPopOver.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/ContactPhoneNumberPopOver.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,yBAAyB,mBAerC,CAAC"}
1
+ {"version":3,"file":"ContactPhoneNumberPopOver.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/ContactPhoneNumberPopOver.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,yBAAyB,mBAkBrC,CAAC"}
@@ -4,6 +4,6 @@ import React from 'react';
4
4
  import { Trans } from 'react-i18next';
5
5
  export const ContactPhoneNumberPopOver = () => {
6
6
  return (React.createElement(Popover, { "aria-label": "Support Severity Level info", position: PopoverPosition.right, bodyContent: React.createElement("p", null,
7
- React.createElement(Trans, null, "These changes to your phone number affect only this case.")), closeBtnAriaLabel: "Close" },
8
- React.createElement(QuestionCircleIcon, { className: "pf-u-ml-xs icon-size", "aria-label": "Contact Phone Number Info" })));
7
+ React.createElement(Trans, null, "When you change the phone number, it affects both this case and your contact info in the Red Hat support system.")), closeBtnAriaLabel: "Close" },
8
+ React.createElement(QuestionCircleIcon, { className: "pf-v5-u-ml-xs icon-size", "aria-label": "Contact Phone Number Info" })));
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/Description.tsx"],"names":[],"mappings":"AAkBA,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,MAAM,eAyGhD"}
1
+ {"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/Description.tsx"],"names":[],"mappings":"AAkBA,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,MAAM,eA0GhD"}