@livechat/design-system-react-components 1.22.3 → 1.22.4

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/dist/index.es.js CHANGED
@@ -4014,10 +4014,11 @@ const it = "select-all", qo = (t, a) => {
4014
4014
  const h = r === "multi" && _;
4015
4015
  let y = a;
4016
4016
  return n && (y = y.filter((C) => {
4017
+ var N;
4017
4018
  if (C.groupHeader)
4018
4019
  return !1;
4019
- const $ = n.toLowerCase();
4020
- return C.name.toLowerCase().includes($);
4020
+ const $ = n.toLowerCase(), w = C.name.toLowerCase(), g = (N = C.secondaryText) == null ? void 0 : N.toLowerCase();
4021
+ return w.includes($) || (g == null ? void 0 : g.includes($));
4021
4022
  })), h && y.length > 1 && (y = [
4022
4023
  {
4023
4024
  key: it,