@livechat/design-system-react-components 2.9.0 → 2.10.0

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.js CHANGED
@@ -3961,10 +3961,15 @@ const Jt = "select-all", ki = (e, t) => {
3961
3961
  return g && (B = B.filter((C) => {
3962
3962
  var M;
3963
3963
  if (C.groupHeader)
3964
- return !1;
3964
+ return !0;
3965
3965
  const S = g.toLowerCase(), T = C.name.toLowerCase(), A = (M = C.secondaryText) == null ? void 0 : M.toLowerCase();
3966
3966
  return T.includes(S) || (A == null ? void 0 : A.includes(S));
3967
- })), $ && B.length > 1 && (B = [
3967
+ }).filter(
3968
+ (C, S, T) => {
3969
+ var A;
3970
+ return !(C.groupHeader && ((A = T[S + 1]) != null && A.groupHeader || S === T.length - 1));
3971
+ }
3972
+ )), $ && B.length > 1 && (B = [
3968
3973
  {
3969
3974
  key: Jt,
3970
3975
  name: _
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/design-system-react-components",
3
- "version": "2.9.0",
3
+ "version": "2.10.0",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -86,5 +86,5 @@
86
86
  "react-transition-group": "^4.4.2",
87
87
  "react-virtuoso": "^4.7.11"
88
88
  },
89
- "gitHead": "ceb05295eac96fad02767dc8bd60337eade4bff9"
89
+ "gitHead": "01d7f25e7f0ba5d2d3afa23135feaf7e88e05c5e"
90
90
  }