ublo-lib 1.47.20 → 1.47.21

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.
@@ -119,8 +119,8 @@ const SearchBar = ({ lang, resultFormatter, backdrop, OverrideIcons = {}, messag
119
119
  }, [autofocus, handleKeyPresses]);
120
120
  const Icon = search?.loading ? Icons.LoadIcon : Icons.SearchIcon;
121
121
  const matchingAdditionalResults = additionalResults.filter((result) => {
122
- const normalizedResult = result.name.toLowerCase();
123
- const normalizedText = text.toLowerCase();
122
+ const normalizedResult = normalize(result.title.toLowerCase());
123
+ const normalizedText = normalize(text.toLowerCase());
124
124
  return normalizedResult.includes(normalizedText);
125
125
  });
126
126
  const results = [...(search?.result || []), ...matchingAdditionalResults];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.47.20",
3
+ "version": "1.47.21",
4
4
  "peerDependencies": {
5
5
  "classnames": "^2.5.1",
6
6
  "dt-design-system": "^3.12.0",