@rh-support/manage 2.1.27 → 2.1.30
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.
- package/README.md +2 -0
- package/lib/esm/components/Configs/ConfigSwitch.js +1 -1
- package/lib/esm/components/Configs/ConfigsTable.js +1 -1
- package/lib/esm/components/Groups/DefualtGroupSwitch/DefaultGroupSwitch.js +1 -1
- package/lib/esm/components/Groups/GroupSelect/GroupSelect.d.ts.map +1 -1
- package/lib/esm/components/Groups/GroupSelect/GroupSelect.js +3 -3
- package/lib/esm/components/Groups/GroupUserPermissionsSelect/GroupUserPermissionsSelect.js +1 -1
- package/lib/esm/components/Groups/ManageGroupUsers/ManageGroupUsers.js +2 -2
- package/lib/esm/components/ManageBookmarkedAccountsTab/AddEditBookmarkModal.js +1 -1
- package/lib/esm/components/ManageBookmarkedAccountsTab/BookmarkAccountSelector.d.ts.map +1 -1
- package/lib/esm/components/ManageBookmarkedAccountsTab/BookmarkAccountSelector.js +7 -5
- package/lib/esm/components/ManageBookmarkedAccountsTab/BookmarkGroupSelector.d.ts.map +1 -1
- package/lib/esm/components/ManageBookmarkedAccountsTab/BookmarkGroupSelector.js +8 -5
- package/lib/esm/components/ManageBookmarkedAccountsTab/ManageGroupedBookmarkedAccountsTab.d.ts.map +1 -1
- package/lib/esm/components/ManageBookmarkedAccountsTab/ManageGroupedBookmarkedAccountsTab.js +5 -4
- package/lib/esm/components/ManagePartnerships/PartnershipsList.js +2 -2
- package/lib/esm/components/ManagePartnerships/PartnershipsTermsModal.js +2 -2
- package/lib/esm/components/ManagePartnerships/RequestCollaborationModal.d.ts.map +1 -1
- package/lib/esm/components/ManagePartnerships/RequestCollaborationModal.js +17 -14
- package/lib/esm/components/ManagePartnerships/Requests.js +4 -4
- package/lib/esm/components/ManagePartnerships/index.d.ts.map +1 -1
- package/lib/esm/components/ManagePartnerships/index.js +2 -2
- package/lib/esm/components/ManagePreferences/PreferencesHeader.js +1 -1
- package/lib/esm/components/ManagePreferences/components/PreferenceSelect.d.ts.map +1 -1
- package/lib/esm/components/ManagePreferences/components/PreferenceSelect.js +3 -2
- package/lib/esm/components/ManagePreferences/components/PreferenceSwitch.js +1 -1
- package/lib/esm/components/ManagePreferences/sections/PreferencesCaseCreate.d.ts.map +1 -1
- package/lib/esm/components/ManagePreferences/sections/PreferencesCaseCreate.js +2 -1
- package/lib/esm/components/ManagePreferences/sections/PreferencesCaseSearch.d.ts.map +1 -1
- package/lib/esm/components/ManagePreferences/sections/PreferencesCaseSearch.js +2 -1
- package/lib/esm/components/ManagePreferences/sections/PreferencesCaseView.js +7 -6
- package/lib/esm/components/ManageTable/ManageTable.d.ts.map +1 -1
- package/lib/esm/components/ManageTable/ManageTable.js +5 -6
- package/lib/esm/components/NotificationEmails/NotificationEmailsModal.d.ts.map +1 -1
- package/lib/esm/components/NotificationEmails/NotificationEmailsModal.js +13 -6
- package/lib/esm/components/NotificationEmails/index.js +3 -3
- package/lib/esm/components/TopContentManagement/CategoryLimit/CategoryLimit.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/CategoryLimit/CategoryLimit.js +3 -2
- package/lib/esm/components/TopContentManagement/CategoryLimit/CategoryLimitGuidelines.js +1 -1
- package/lib/esm/components/TopContentManagement/CategoryLimit/QuestionAnswer.js +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/ContentAccordion.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/ContentAccordion.js +2 -2
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetrics.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetrics.js +3 -3
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetricsSelect.d.ts +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetricsSelect.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetricsSelect.js +3 -3
- package/lib/esm/components/TopContentManagement/ContentUsage/VersionPerformanceMetrics.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/VersionPerformanceMetrics.js +4 -4
- package/lib/esm/components/TopContentManagement/NoTopContentFound.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/NoTopContentFound.js +13 -14
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/AddNewCategoryDropDown.js +2 -2
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentCategory.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentCategory.js +3 -2
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentComponent.js +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentSingleItem.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentSingleItem.js +7 -6
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentSingleItemLink.js +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentEditor.js +3 -3
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentSuggestion/TopContentSuggestion.js +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentSuggestion/TopContentSuggestionHint.js +3 -3
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentSuggestion/TopContentSuggestionHintAccept.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentSuggestion/TopContentSuggestionHintAccept.js +7 -6
- package/lib/esm/components/TopContentManagement/TopContentHeader.js +1 -1
- package/lib/esm/components/TopContentManagement/TopContentProductVersionSelector.js +6 -6
- package/lib/esm/scss/_main.scss +25 -43
- package/lib/esm/scss/_pf4-overrides.scss +43 -41
- package/lib/esm/scss/index.scss +4 -4
- package/package.json +15 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { products as productsApi } from '@cee-eng/hydrajs';
|
|
2
|
-
import { Select, SelectOption, SelectVariant } from '@patternfly/react-core';
|
|
2
|
+
import { Select, SelectOption, SelectVariant } from '@patternfly/react-core/deprecated';
|
|
3
3
|
import CheckIcon from '@patternfly/react-icons/dist/js/icons/check-icon';
|
|
4
4
|
import { useFetch } from '@rh-support/components';
|
|
5
5
|
import { getUniqueSortedVersions, getVersion } from '@rh-support/utils';
|
|
@@ -81,9 +81,9 @@ function TopContentProductVersionSelector(props) {
|
|
|
81
81
|
setSelected(undefined);
|
|
82
82
|
};
|
|
83
83
|
const getProductOptions = (options) => {
|
|
84
|
-
return options.map((product, id) => (React.createElement(SelectOption, { key: id, value: product, className: "pf-c-select__menu-wrapper" },
|
|
85
|
-
React.createElement("div", { className: "pf-c-select__menu-item-main" }, product.name),
|
|
86
|
-
selected && product.name === selected.name && (React.createElement("span", { className: "pf-c-select__menu-item-icon" },
|
|
84
|
+
return options.map((product, id) => (React.createElement(SelectOption, { key: id, value: product, className: "pf-v5-c-select__menu-wrapper" },
|
|
85
|
+
React.createElement("div", { className: "pf-v5-c-select__menu-item-main" }, product.name),
|
|
86
|
+
selected && product.name === selected.name && (React.createElement("span", { className: "pf-v5-c-select__menu-item-icon" },
|
|
87
87
|
React.createElement(CheckIcon, { "aria-hidden": true }))))));
|
|
88
88
|
};
|
|
89
89
|
const onProductFilter = (_, value) => {
|
|
@@ -114,11 +114,11 @@ function TopContentProductVersionSelector(props) {
|
|
|
114
114
|
React.createElement("div", { className: "toolbar-left" },
|
|
115
115
|
React.createElement("label", { htmlFor: 'tc-product-selector-dropdown-toggle' },
|
|
116
116
|
React.createElement(Trans, null, "Product")),
|
|
117
|
-
React.createElement(Select, Object.assign({ variant: SelectVariant.typeahead, onToggle: onProductToggle, selections: selected, isOpen: isProductOpen, onSelect: onProductSelect, onClear: onProductClear, placeholderText: t('Select a product') }, (isLoadingProducts && { loadingVariant: 'spinner' }), { onFilter: onProductFilter, isDisabled: isLoadingProducts, id: productLabelId, "data-tracking-id": productLabelId, "aria-label": t(productLabelId) }), getProductOptions(productOptions))),
|
|
117
|
+
React.createElement(Select, Object.assign({ variant: SelectVariant.typeahead, onToggle: (_event, isExpanded) => onProductToggle(isExpanded), selections: selected, isOpen: isProductOpen, onSelect: onProductSelect, onClear: onProductClear, placeholderText: t('Select a product') }, (isLoadingProducts && { loadingVariant: 'spinner' }), { onFilter: onProductFilter, isDisabled: isLoadingProducts, id: productLabelId, "data-tracking-id": productLabelId, "aria-label": t(productLabelId) }), getProductOptions(productOptions))),
|
|
118
118
|
React.createElement("div", { className: "toolbar-right" },
|
|
119
119
|
React.createElement("label", { htmlFor: "version-selector-dropdown-toggle" },
|
|
120
120
|
React.createElement(Trans, null, "Version")),
|
|
121
|
-
React.createElement(Select, Object.assign({ variant: SelectVariant.single, onToggle: onVersionToggle, onSelect: onVersionSelect, selections: selectedVersion, isOpen: isVersionOpen, placeholderText: t('Select a version'), isDisabled: isEmpty(versions === null || versions === void 0 ? void 0 : versions.items) }, (isLoadingVersions && { loadingVariant: 'spinner' }), { id: versionLabelId, "data-tracking-id": versionLabelId, "aria-label": t(versionLabelId) }), ((versions === null || versions === void 0 ? void 0 : versions.items) || []).map((version, id) => (React.createElement(SelectOption, { key: id, value: version }, version)))))));
|
|
121
|
+
React.createElement(Select, Object.assign({ variant: SelectVariant.single, onToggle: (_event, isExpanded) => onVersionToggle(isExpanded), onSelect: onVersionSelect, selections: selectedVersion, isOpen: isVersionOpen, placeholderText: t('Select a version'), isDisabled: isEmpty(versions === null || versions === void 0 ? void 0 : versions.items) }, (isLoadingVersions && { loadingVariant: 'spinner' }), { id: versionLabelId, "data-tracking-id": versionLabelId, "aria-label": t(versionLabelId) }), ((versions === null || versions === void 0 ? void 0 : versions.items) || []).map((version, id) => (React.createElement(SelectOption, { key: id, value: version }, version)))))));
|
|
122
122
|
}
|
|
123
123
|
TopContentProductVersionSelector.defaultProps = defaultProps;
|
|
124
124
|
export { TopContentProductVersionSelector };
|
package/lib/esm/scss/_main.scss
CHANGED
|
@@ -8,15 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.pf-c-accordion .pf-
|
|
12
|
-
list-style-type: disc;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.pf-c-accordion .pf-c-accordion-footer {
|
|
11
|
+
.pf-v5-c-accordion .pf-v5-c-accordion-footer {
|
|
16
12
|
padding: 16px 32px;
|
|
17
13
|
}
|
|
18
14
|
|
|
19
|
-
.pf-c-accordion .pf-c-accordion__expanded-content-body {
|
|
15
|
+
.pf-v5-c-accordion .pf-v5-c-accordion__expanded-content-body {
|
|
20
16
|
.edit-solution {
|
|
21
17
|
margin-bottom: 2rem;
|
|
22
18
|
}
|
|
@@ -29,33 +25,12 @@
|
|
|
29
25
|
flex-direction: row;
|
|
30
26
|
}
|
|
31
27
|
|
|
32
|
-
button {
|
|
33
|
-
margin-left: 1rem;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
28
|
&.add-new-category {
|
|
37
29
|
margin-bottom: 2rem;
|
|
38
30
|
}
|
|
39
31
|
}
|
|
40
32
|
}
|
|
41
33
|
|
|
42
|
-
.pf-c-accordion .pf-c-accordion__expanded-content-body .pf-c-accordion__expanded-content-footer {
|
|
43
|
-
display: flex;
|
|
44
|
-
flex-direction: row;
|
|
45
|
-
|
|
46
|
-
.content-actions {
|
|
47
|
-
margin-left: auto;
|
|
48
|
-
|
|
49
|
-
& > * {
|
|
50
|
-
margin-right: 0.5rem;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
& > *:last-child {
|
|
54
|
-
margin-right: 0;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
34
|
.manage {
|
|
60
35
|
header {
|
|
61
36
|
margin-bottom: 1.3rem;
|
|
@@ -175,8 +150,8 @@
|
|
|
175
150
|
border-top: none;
|
|
176
151
|
}
|
|
177
152
|
|
|
178
|
-
.pf-c-table__action {
|
|
179
|
-
.pf-c-dropdown__menu button.pf-m-disabled:hover {
|
|
153
|
+
.pf-v5-c-table__action {
|
|
154
|
+
.pf-v5-c-dropdown__menu button.pf-m-disabled:hover {
|
|
180
155
|
cursor: not-allowed;
|
|
181
156
|
}
|
|
182
157
|
}
|
|
@@ -186,14 +161,14 @@
|
|
|
186
161
|
padding: 0.5rem 1.2rem;
|
|
187
162
|
background-color: #f0f0f0;
|
|
188
163
|
|
|
189
|
-
.pf-c-pagination {
|
|
164
|
+
.pf-v5-c-pagination {
|
|
190
165
|
padding: 0;
|
|
191
166
|
background-color: transparent;
|
|
192
167
|
|
|
193
|
-
.pf-c-pagination__nav {
|
|
168
|
+
.pf-v5-c-pagination__nav {
|
|
194
169
|
align-items: baseline;
|
|
195
170
|
|
|
196
|
-
.pf-c-pagination__nav-page-select {
|
|
171
|
+
.pf-v5-c-pagination__nav-page-select {
|
|
197
172
|
display: flex;
|
|
198
173
|
align-items: baseline;
|
|
199
174
|
}
|
|
@@ -221,27 +196,27 @@
|
|
|
221
196
|
border-top: none;
|
|
222
197
|
}
|
|
223
198
|
.top-content-needs-attention {
|
|
224
|
-
color: var(--pf-global--danger-color--100);
|
|
199
|
+
color: var(--pf-v5-global--danger-color--100);
|
|
225
200
|
}
|
|
226
201
|
.top-content-tooltip {
|
|
227
|
-
color: var(--pf-global--danger-color--100);
|
|
202
|
+
color: var(--pf-v5-global--danger-color--100);
|
|
228
203
|
padding: 2px;
|
|
229
204
|
}
|
|
230
205
|
}
|
|
231
206
|
|
|
232
207
|
// specific overrides under manage because of a different implementation
|
|
233
|
-
.pf-c-select {
|
|
234
|
-
.pf-c-select__toggle-wrapper > form:first-child {
|
|
208
|
+
.pf-v5-c-select {
|
|
209
|
+
.pf-v5-c-select__toggle-wrapper > form:first-child {
|
|
235
210
|
width: 100%;
|
|
236
211
|
}
|
|
237
212
|
|
|
238
|
-
.pf-c-select__toggle-wrapper {
|
|
239
|
-
.pf-c-select__toggle-icon {
|
|
213
|
+
.pf-v5-c-select__toggle-wrapper {
|
|
214
|
+
.pf-v5-c-select__toggle-icon {
|
|
240
215
|
margin-left: 4px;
|
|
241
216
|
margin-right: 0;
|
|
242
217
|
}
|
|
243
218
|
|
|
244
|
-
.pf-c-select__toggle-typeahead {
|
|
219
|
+
.pf-v5-c-select__toggle-typeahead {
|
|
245
220
|
border-left: none;
|
|
246
221
|
border-right: none;
|
|
247
222
|
}
|
|
@@ -252,7 +227,7 @@
|
|
|
252
227
|
}
|
|
253
228
|
}
|
|
254
229
|
|
|
255
|
-
.pf-c-button {
|
|
230
|
+
.pf-v5-c-button {
|
|
256
231
|
font-size: 14px;
|
|
257
232
|
}
|
|
258
233
|
|
|
@@ -275,12 +250,12 @@
|
|
|
275
250
|
width: -webkit-fill-available;
|
|
276
251
|
}
|
|
277
252
|
|
|
278
|
-
.pf-c-table__action li:hover button:not(.pf-m-disabled) {
|
|
253
|
+
.pf-v5-c-table__action li:hover button:not(.pf-m-disabled) {
|
|
279
254
|
color: #06c;
|
|
280
255
|
}
|
|
281
256
|
|
|
282
|
-
.pf-c-table__action li:nth-child(2) button:hover,
|
|
283
|
-
.pf-c-table__action li:nth-child(3) button:hover {
|
|
257
|
+
.pf-v5-c-table__action li:nth-child(2) button:hover,
|
|
258
|
+
.pf-v5-c-table__action li:nth-child(3) button:hover {
|
|
284
259
|
color: #a30000;
|
|
285
260
|
}
|
|
286
261
|
|
|
@@ -319,3 +294,10 @@ svg.hostnameSpinner {
|
|
|
319
294
|
#requests-detached-toggle-content thead {
|
|
320
295
|
display: none;
|
|
321
296
|
}
|
|
297
|
+
|
|
298
|
+
.top-content-single-item-footer {
|
|
299
|
+
width: 100%;
|
|
300
|
+
display: flex;
|
|
301
|
+
flex-direction: row;
|
|
302
|
+
justify-content: space-between;
|
|
303
|
+
}
|
|
@@ -1,85 +1,82 @@
|
|
|
1
1
|
// Patternfly overrides
|
|
2
2
|
|
|
3
|
-
div#top-content-performance-metric.pf-c-modal-box {
|
|
4
|
-
.pf-c-modal-box__body {
|
|
5
|
-
.pf-c-title {
|
|
3
|
+
div#top-content-performance-metric.pf-v5-c-modal-box {
|
|
4
|
+
.pf-v5-c-modal-box__body {
|
|
5
|
+
.pf-v5-c-title {
|
|
6
6
|
margin-bottom: unset;
|
|
7
7
|
}
|
|
8
8
|
.top-content-tooltip-view-metric-label {
|
|
9
|
-
color: var(--pf-global--primary-color--100);
|
|
9
|
+
color: var(--pf-v5-global--primary-color--100);
|
|
10
10
|
}
|
|
11
|
-
.pf-c-
|
|
12
|
-
padding: var(--pf-global--spacer--md);
|
|
13
|
-
}
|
|
14
|
-
.pf-c-toggle-group__button {
|
|
11
|
+
.pf-v5-c-toggle-group__button {
|
|
15
12
|
/* Somehow below style is getting added by Patternfly which is overriding default button padding
|
|
16
|
-
* [class*="pf-c-"], [class*="pf-c-"]::before, [class*="pf-c-"]::after {
|
|
13
|
+
* [class*="pf-v5-c-"], [class*="pf-v5-c-"]::before, [class*="pf-v5-c-"]::after {
|
|
17
14
|
padding: 0;
|
|
18
15
|
margin: 0;
|
|
19
16
|
background-color: transparent;
|
|
20
17
|
*/
|
|
21
|
-
padding: var(--pf-c-toggle-group__button--PaddingTop) var(--pf-c-toggle-group__button--PaddingRight)
|
|
22
|
-
var(--pf-c-toggle-group__button--PaddingBottom) var(--pf-c-toggle-group__button--PaddingLeft);
|
|
18
|
+
padding: var(--pf-v5-c-toggle-group__button--PaddingTop) var(--pf-v5-c-toggle-group__button--PaddingRight)
|
|
19
|
+
var(--pf-v5-c-toggle-group__button--PaddingBottom) var(--pf-v5-c-toggle-group__button--PaddingLeft);
|
|
23
20
|
}
|
|
24
21
|
}
|
|
25
22
|
}
|
|
26
23
|
|
|
27
|
-
div#top-content-category-limit-guidelines.pf-c-modal-box {
|
|
28
|
-
.pf-c-modal-box__body {
|
|
29
|
-
.pf-c-title {
|
|
24
|
+
div#top-content-category-limit-guidelines.pf-v5-c-modal-box {
|
|
25
|
+
.pf-v5-c-modal-box__body {
|
|
26
|
+
.pf-v5-c-title {
|
|
30
27
|
margin-bottom: unset;
|
|
31
28
|
}
|
|
32
29
|
}
|
|
33
30
|
}
|
|
34
31
|
|
|
35
|
-
div#top-content-major-version-performance-metric.pf-c-modal-box {
|
|
36
|
-
.pf-c-modal-box__body {
|
|
32
|
+
div#top-content-major-version-performance-metric.pf-v5-c-modal-box {
|
|
33
|
+
.pf-v5-c-modal-box__body {
|
|
37
34
|
overflow-x: unset;
|
|
38
35
|
overflow-y: unset;
|
|
39
|
-
.pf-c-title {
|
|
36
|
+
.pf-v5-c-title {
|
|
40
37
|
margin-bottom: unset;
|
|
41
38
|
}
|
|
42
|
-
.pf-c-toggle-group__button {
|
|
39
|
+
.pf-v5-c-toggle-group__button {
|
|
43
40
|
/* Somehow below style is getting added by Patternfly which is overriding default button padding
|
|
44
|
-
* [class*="pf-c-"], [class*="pf-c-"]::before, [class*="pf-c-"]::after {
|
|
41
|
+
* [class*="pf-v5-c-"], [class*="pf-v5-c-"]::before, [class*="pf-v5-c-"]::after {
|
|
45
42
|
padding: 0;
|
|
46
43
|
margin: 0;
|
|
47
44
|
background-color: transparent;
|
|
48
45
|
*/
|
|
49
|
-
padding: var(--pf-c-toggle-group__button--PaddingTop) var(--pf-c-toggle-group__button--PaddingRight)
|
|
50
|
-
var(--pf-c-toggle-group__button--PaddingBottom) var(--pf-c-toggle-group__button--PaddingLeft);
|
|
46
|
+
padding: var(--pf-v5-c-toggle-group__button--PaddingTop) var(--pf-v5-c-toggle-group__button--PaddingRight)
|
|
47
|
+
var(--pf-v5-c-toggle-group__button--PaddingBottom) var(--pf-v5-c-toggle-group__button--PaddingLeft);
|
|
51
48
|
}
|
|
52
49
|
.sticky-header {
|
|
53
50
|
position: sticky;
|
|
54
51
|
top: 0;
|
|
55
|
-
background: var(--pf-c-modal-box--BackgroundColor);
|
|
56
|
-
z-index: 89; // As .pf-c-toggle-group__button is having z-index: var(--pf-c-toggle-group__button--ZIndex)
|
|
57
|
-
padding-bottom: var(--pf-global--spacer--sm);
|
|
52
|
+
background: var(--pf-v5-c-modal-box--BackgroundColor);
|
|
53
|
+
z-index: 89; // As .pf-v5-c-toggle-group__button is having z-index: var(--pf-v5-c-toggle-group__button--ZIndex)
|
|
54
|
+
padding-bottom: var(--pf-v5-global--spacer--sm);
|
|
58
55
|
}
|
|
59
56
|
.content {
|
|
60
57
|
height: 30vh;
|
|
61
58
|
overflow: auto;
|
|
62
59
|
}
|
|
63
60
|
.panel-body {
|
|
64
|
-
padding: var(--pf-global--spacer--md);
|
|
61
|
+
padding: var(--pf-v5-global--spacer--md);
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
64
|
}
|
|
68
65
|
|
|
69
66
|
// Overrides performance metrics modal font weight
|
|
70
67
|
div.performance-metrics-modal {
|
|
71
|
-
div.pf-c-modal-box__body {
|
|
68
|
+
div.pf-v5-c-modal-box__body {
|
|
72
69
|
div.sticky-header {
|
|
73
|
-
div.pf-l-flex.pf-m-justify-content-space-between {
|
|
70
|
+
div.pf-v5-l-flex.pf-m-justify-content-space-between {
|
|
74
71
|
// For versions dropdown
|
|
75
|
-
div.pf-u-w-50.pf-u-pr-md {
|
|
76
|
-
div.pf-u-font-weight-bold {
|
|
72
|
+
div.pf-v5-u-w-50.pf-v5-u-pr-md {
|
|
73
|
+
div.pf-v5-u-font-weight-bold {
|
|
77
74
|
font-weight: 600 !important;
|
|
78
75
|
}
|
|
79
76
|
}
|
|
80
77
|
// For categories dropdown
|
|
81
|
-
div.pf-u-w-50.pf-u-pl-md {
|
|
82
|
-
div.pf-u-font-weight-bold {
|
|
78
|
+
div.pf-v5-u-w-50.pf-v5-u-pl-md {
|
|
79
|
+
div.pf-v5-u-font-weight-bold {
|
|
83
80
|
font-weight: 600 !important;
|
|
84
81
|
}
|
|
85
82
|
}
|
|
@@ -88,13 +85,13 @@ div.performance-metrics-modal {
|
|
|
88
85
|
|
|
89
86
|
// To override font weight on the accordion text in performance metrics modal - PCM-11644
|
|
90
87
|
div.content {
|
|
91
|
-
div.pf-c-panel.pf-m-bordered {
|
|
92
|
-
div.pf-c-panel__main {
|
|
93
|
-
div.pf-c-panel__main-body {
|
|
94
|
-
dl.pf-c-accordion.pf-m-bordered {
|
|
88
|
+
div.pf-v5-c-panel.pf-m-bordered {
|
|
89
|
+
div.pf-v5-c-panel__main {
|
|
90
|
+
div.pf-v5-c-panel__main-body {
|
|
91
|
+
dl.pf-v5-c-accordion.pf-m-bordered {
|
|
95
92
|
dt {
|
|
96
93
|
button {
|
|
97
|
-
span.pf-c-accordion__toggle-text {
|
|
94
|
+
span.pf-v5-c-accordion__toggle-text {
|
|
98
95
|
span {
|
|
99
96
|
font-weight: 500 !important;
|
|
100
97
|
}
|
|
@@ -110,23 +107,28 @@ div.performance-metrics-modal {
|
|
|
110
107
|
}
|
|
111
108
|
|
|
112
109
|
#top-content-suggestion {
|
|
113
|
-
.pf-c-expandable-section__content {
|
|
110
|
+
.pf-v5-c-expandable-section__content {
|
|
114
111
|
border: unset;
|
|
115
112
|
}
|
|
116
113
|
.card-hint {
|
|
117
|
-
background-color: var(--pf-global--BackgroundColor--200);
|
|
114
|
+
background-color: var(--pf-v5-global--BackgroundColor--200);
|
|
118
115
|
}
|
|
119
116
|
.card-body {
|
|
120
|
-
padding: var(--pf-global--spacer--md);
|
|
117
|
+
padding: var(--pf-v5-global--spacer--md);
|
|
121
118
|
}
|
|
122
119
|
.hint-title {
|
|
123
|
-
color: var(--pf-global--primary-color--100);
|
|
120
|
+
color: var(--pf-v5-global--primary-color--100);
|
|
124
121
|
}
|
|
125
122
|
.accordion_title {
|
|
126
|
-
color: var(--pf-global--Color--100);
|
|
123
|
+
color: var(--pf-v5-global--Color--100);
|
|
124
|
+
margin: 0;
|
|
127
125
|
}
|
|
128
126
|
}
|
|
129
127
|
|
|
130
128
|
.top-content-panel {
|
|
131
129
|
z-index: 9;
|
|
132
130
|
}
|
|
131
|
+
|
|
132
|
+
.pf-v5-c-accordion__expandable-content {
|
|
133
|
+
margin: 0;
|
|
134
|
+
}
|
package/lib/esm/scss/index.scss
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
.pf-c-popover {
|
|
23
|
-
.pf-c-popover__content {
|
|
24
|
-
.pf-c-popover__body {
|
|
22
|
+
.pf-v5-c-popover {
|
|
23
|
+
.pf-v5-c-popover__content {
|
|
24
|
+
.pf-v5-c-popover__body {
|
|
25
25
|
.top-content-tooltip-view-metric-label {
|
|
26
|
-
color: var(--pf-global--primary-color--100);
|
|
26
|
+
color: var(--pf-v5-global--primary-color--100);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/manage",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.30",
|
|
4
4
|
"description": "Customer Support Manage App",
|
|
5
5
|
"author": "Jordan Eudy <jeudy100@gmail.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"prepublishOnly": "npm run build"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@cee-eng/hydrajs": "4.16.
|
|
50
|
-
"@patternfly/patternfly": "
|
|
49
|
+
"@cee-eng/hydrajs": "4.16.33",
|
|
50
|
+
"@patternfly/patternfly": "5.1.0",
|
|
51
51
|
"@patternfly/pfe-accordion": "1.12.3",
|
|
52
52
|
"@patternfly/pfe-collapse": "1.12.3",
|
|
53
53
|
"@patternfly/pfe-tabs": "1.12.3",
|
|
54
|
-
"@patternfly/react-core": "
|
|
55
|
-
"@patternfly/react-table": "
|
|
54
|
+
"@patternfly/react-core": "5.1.1",
|
|
55
|
+
"@patternfly/react-table": "5.1.1",
|
|
56
56
|
"i18next": ">=17.0.1",
|
|
57
57
|
"lodash": ">=4.17.15",
|
|
58
58
|
"react": "17.0.2",
|
|
@@ -77,19 +77,19 @@
|
|
|
77
77
|
"typescript": "4.3.5"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@cee-eng/hydrajs": "4.16.
|
|
81
|
-
"@patternfly/patternfly": "
|
|
80
|
+
"@cee-eng/hydrajs": "4.16.33",
|
|
81
|
+
"@patternfly/patternfly": "5.1.0",
|
|
82
82
|
"@patternfly/pfe-accordion": "1.12.3",
|
|
83
83
|
"@patternfly/pfe-collapse": "1.12.3",
|
|
84
84
|
"@patternfly/pfe-tabs": "1.12.3",
|
|
85
|
-
"@patternfly/react-core": "
|
|
86
|
-
"@patternfly/react-table": "
|
|
87
|
-
"@rh-support/components": "2.1.
|
|
88
|
-
"@rh-support/configs": "2.0.
|
|
89
|
-
"@rh-support/react-context": "2.1.
|
|
85
|
+
"@patternfly/react-core": "5.1.1",
|
|
86
|
+
"@patternfly/react-table": "5.1.1",
|
|
87
|
+
"@rh-support/components": "2.1.25",
|
|
88
|
+
"@rh-support/configs": "2.0.10",
|
|
89
|
+
"@rh-support/react-context": "2.1.27",
|
|
90
90
|
"@rh-support/types": "2.0.2",
|
|
91
|
-
"@rh-support/user-permissions": "2.1.
|
|
92
|
-
"@rh-support/utils": "2.1.
|
|
91
|
+
"@rh-support/user-permissions": "2.1.18",
|
|
92
|
+
"@rh-support/utils": "2.1.11",
|
|
93
93
|
"@types/react-beautiful-dnd": "^13.0.0",
|
|
94
94
|
"i18next": ">=17.0.1",
|
|
95
95
|
"lodash": ">=4.17.15",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"defaults and supports es6-module",
|
|
104
104
|
"maintained node versions"
|
|
105
105
|
],
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "e67736e7b8a06c4617cc8e49a905ba7819e5ae63"
|
|
107
107
|
}
|