@topconsultnpm/sdkui-react-beta 6.12.133 → 6.12.135

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.
@@ -220,7 +220,7 @@ export default TMFileManager;
220
220
  const highlightText = (text, searchText, isSelected) => {
221
221
  if (!searchText)
222
222
  return text;
223
- const regex = new RegExp(`(${searchText})`, 'gi');
223
+ const regex = new RegExp(`(${searchText.toLowerCase().trim()})`, 'gi');
224
224
  return text.split(regex).map((part, index) => regex.test(part) ? (_jsx("span", { style: { backgroundColor: isSelected ? '#6c9023' : 'yellow' }, children: part }, index)) : (part));
225
225
  };
226
226
  const DetailsView = (props) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.12.133",
3
+ "version": "6.12.135",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",