@rh-support/components 2.5.48 → 2.5.50

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.
@@ -35,7 +35,7 @@ function LanguageSelector(props) {
35
35
  };
36
36
  const languageOption = () => map(languageConst, (value, key) => ({ label: value, value: key }));
37
37
  const languageDropdownOptions = languageOption().map((lang) => (React.createElement(DropdownItem, { value: lang, key: `lang-${lang.label}` }, lang.label)));
38
- return (React.createElement("div", { className: "language-selector" },
38
+ return (React.createElement("div", { className: `language-selector ${props.className}` },
39
39
  React.createElement(Dropdown, { isOpen: isOpen, onSelect: onSelect, onOpenChange: (isOpen) => setIsOpen(isOpen), toggle: (toggleRef) => (React.createElement(MenuToggle, { ref: toggleRef, onClick: onToggleClick, isExpanded: isOpen, isFullWidth: true },
40
40
  language.label,
41
41
  " ",
@@ -208,7 +208,7 @@ export function TypeaheadDropdown(props) {
208
208
  // look the same and be able to function with keyboard accessibility,
209
209
  // the selection option text needs to be wrapped in a span with the pf link color class.
210
210
  return (React.createElement(SelectOption, { key: option.value, value: option.value, isFocused: focusedItemIndex === index, isSelected: false, onClick: onHandleLoadMore },
211
- React.createElement("span", { className: "pf-v6-u-link-color" }, "View more")));
211
+ React.createElement("span", { className: "pf-v6-u-text-color-link" }, "View more")));
212
212
  }
213
213
  else if (option.value === ADD_NEW_OPTION_VALUE) {
214
214
  return (React.createElement(SelectOption, { key: option.value, value: option.value, isFocused: false, isSelected: false }, !!getCreateNewText ? getCreateNewText(query) : `${option.label}: ${query}`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/components",
3
- "version": "2.5.48",
3
+ "version": "2.5.50",
4
4
  "description": "Contains all reusabel components for support app",
5
5
  "author": "Vikas Rathee <vrathee@redhat.com>",
6
6
  "license": "ISC",
@@ -44,7 +44,7 @@
44
44
  "prepublishOnly": "npm run build"
45
45
  },
46
46
  "peerDependencies": {
47
- "@cee-eng/hydrajs": "4.18.84",
47
+ "@cee-eng/hydrajs": "4.18.86",
48
48
  "@cee-eng/ui-toolkit": "1.1.8",
49
49
  "@patternfly/patternfly": "6.2.1",
50
50
  "@patternfly/react-core": "6.2.1",
@@ -60,7 +60,7 @@
60
60
  "use-deep-compare-effect": "^1.6.1"
61
61
  },
62
62
  "dependencies": {
63
- "@cee-eng/hydrajs": "4.18.84",
63
+ "@cee-eng/hydrajs": "4.18.86",
64
64
  "@cee-eng/ui-toolkit": "1.1.8",
65
65
  "@patternfly/patternfly": "6.2.1",
66
66
  "@patternfly/react-core": "6.2.1",
@@ -68,8 +68,8 @@
68
68
  "@patternfly/react-table": "6.2.1",
69
69
  "@patternfly/react-tokens": "6.2.1",
70
70
  "@rh-support/types": "2.0.5",
71
- "@rh-support/user-permissions": "2.5.23",
72
- "@rh-support/utils": "2.5.21",
71
+ "@rh-support/user-permissions": "2.5.25",
72
+ "@rh-support/utils": "2.5.22",
73
73
  "dompurify": "^2.2.6",
74
74
  "js-worker-search": "^1.4.1",
75
75
  "lazysizes": "^5.3.2",
@@ -106,5 +106,5 @@
106
106
  "defaults and supports es6-module",
107
107
  "maintained node versions"
108
108
  ],
109
- "gitHead": "0f76f76f7e066c4269ec85489f4575ecc122e324"
109
+ "gitHead": "aa0649504a1afaafaaba13f3f374cf5b148701e7"
110
110
  }