@indigina/ui-kit 1.1.620 → 1.1.621
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.
|
@@ -10525,9 +10525,10 @@ const kitBuildFilters = (filters) => ({
|
|
|
10525
10525
|
}, []),
|
|
10526
10526
|
});
|
|
10527
10527
|
|
|
10528
|
+
const nonIndexableCharacters = /[^A-Za-z0-9\-.:_,\\/]+/;
|
|
10528
10529
|
const kitFormatStringForSearch = (inputString) => {
|
|
10529
10530
|
return inputString
|
|
10530
|
-
.split(
|
|
10531
|
+
.split(nonIndexableCharacters)
|
|
10531
10532
|
.filter(text => !!text)
|
|
10532
10533
|
.map(text => text + '*')
|
|
10533
10534
|
.join(' ');
|