@blaze-cms/react-page-builder 0.146.0-node18-tooltips.38 → 0.146.0-node18-core-styles-tooltips.52

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.
Files changed (60) hide show
  1. package/CHANGELOG.md +134 -44
  2. package/lib/components/Card/CardsRender.js +28 -20
  3. package/lib/components/Card/CardsRender.js.map +1 -1
  4. package/lib/components/List/helpers/build-query-booster.js +9 -6
  5. package/lib/components/List/helpers/build-query-booster.js.map +1 -1
  6. package/lib/components/Menu/Menu.js +4 -1
  7. package/lib/components/Menu/Menu.js.map +1 -1
  8. package/lib/components/Menu/MenuContext.js +2 -1
  9. package/lib/components/Menu/MenuContext.js.map +1 -1
  10. package/lib/components/MenuItem/MenuItemRender.js +27 -12
  11. package/lib/components/MenuItem/MenuItemRender.js.map +1 -1
  12. package/lib/components/MenuItem/helpers/has-active-child.js +19 -0
  13. package/lib/components/MenuItem/helpers/has-active-child.js.map +1 -0
  14. package/lib/components/MenuItem/helpers/index.js +14 -0
  15. package/lib/components/MenuItem/helpers/index.js.map +1 -1
  16. package/lib/components/MenuItem/helpers/isUrlPathMatch.js +18 -0
  17. package/lib/components/MenuItem/helpers/isUrlPathMatch.js.map +1 -0
  18. package/lib/hooks/index.js +7 -0
  19. package/lib/hooks/index.js.map +1 -1
  20. package/lib/hooks/use-app-event-hook.js +74 -0
  21. package/lib/hooks/use-app-event-hook.js.map +1 -0
  22. package/lib-es/components/Card/CardsRender.js +11 -2
  23. package/lib-es/components/Card/CardsRender.js.map +1 -1
  24. package/lib-es/components/List/helpers/build-query-booster.js +9 -6
  25. package/lib-es/components/List/helpers/build-query-booster.js.map +1 -1
  26. package/lib-es/components/Menu/Menu.js +4 -1
  27. package/lib-es/components/Menu/Menu.js.map +1 -1
  28. package/lib-es/components/Menu/MenuContext.js +2 -1
  29. package/lib-es/components/Menu/MenuContext.js.map +1 -1
  30. package/lib-es/components/MenuItem/MenuItemRender.js +25 -11
  31. package/lib-es/components/MenuItem/MenuItemRender.js.map +1 -1
  32. package/lib-es/components/MenuItem/helpers/has-active-child.js +5 -0
  33. package/lib-es/components/MenuItem/helpers/has-active-child.js.map +1 -0
  34. package/lib-es/components/MenuItem/helpers/index.js +3 -1
  35. package/lib-es/components/MenuItem/helpers/index.js.map +1 -1
  36. package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js +8 -0
  37. package/lib-es/components/MenuItem/helpers/isUrlPathMatch.js.map +1 -0
  38. package/lib-es/hooks/index.js +1 -0
  39. package/lib-es/hooks/index.js.map +1 -1
  40. package/lib-es/hooks/use-app-event-hook.js +39 -0
  41. package/lib-es/hooks/use-app-event-hook.js.map +1 -0
  42. package/package.json +10 -10
  43. package/src/components/Card/CardsRender.js +11 -2
  44. package/src/components/List/helpers/build-query-booster.js +12 -6
  45. package/src/components/Menu/Menu.js +3 -1
  46. package/src/components/Menu/MenuContext.js +1 -1
  47. package/src/components/MenuItem/MenuItemRender.js +40 -12
  48. package/src/components/MenuItem/helpers/has-active-child.js +10 -0
  49. package/src/components/MenuItem/helpers/index.js +3 -1
  50. package/src/components/MenuItem/helpers/isUrlPathMatch.js +10 -0
  51. package/src/hooks/index.js +1 -0
  52. package/src/hooks/use-app-event-hook.js +40 -0
  53. package/tests/unit/src/components/Card/CardsRender.test.js +118 -0
  54. package/tests/unit/src/components/List/helpers/build-query-booster.test.js +2 -2
  55. package/tests/unit/src/components/MenuItem/MenuItem.test.js +5 -0
  56. package/tests/unit/src/components/MenuItem/MenuItemRender.test.js +11 -3
  57. package/tests/unit/src/components/MenuItem/helpers/constants.js +73 -0
  58. package/tests/unit/src/components/MenuItem/helpers/has-active-child.test.js +35 -0
  59. package/tests/unit/src/components/MenuItem/helpers/is-url-path-match.test.js +53 -0
  60. package/tests/unit/src/hooks/use-app-event-hook.test.js +60 -0
package/CHANGELOG.md CHANGED
@@ -3,34 +3,62 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [0.146.0-node18-tooltips.38](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.37...v0.146.0-node18-tooltips.38) (2026-01-27)
6
+ # [0.146.0-node18-core-styles-tooltips.52](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.51...v0.146.0-node18-core-styles-tooltips.52) (2026-02-17)
7
7
 
8
8
 
9
- ### Bug Fixes
9
+ ### Features
10
10
 
11
- * changed plugin logic ([451b8af](https://github.com/thebyte9/blaze/commit/451b8afd47fade28b0143c128cf645fe90557424))
11
+ * add posthog dxp api plugin and card personalisation hook ([#5099](https://github.com/thebyte9/blaze/issues/5099)) ([b0efbb3](https://github.com/thebyte9/blaze/commit/b0efbb3bbbf200fab1042f0382cd9f21f14b2262))
12
+
13
+
14
+
15
+
16
+
17
+ # [0.146.0-node18-core-styles-tooltips.51](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.50...v0.146.0-node18-core-styles-tooltips.51) (2026-02-16)
12
18
 
13
19
 
14
20
  ### Features
15
21
 
16
- * translate search filter component ([48d96d4](https://github.com/thebyte9/blaze/commit/48d96d48a52a83cf97edf81632074107ea744a5a))
22
+ * update recency boost settings to not penalise old records as much ([#5098](https://github.com/thebyte9/blaze/issues/5098)) ([42106d9](https://github.com/thebyte9/blaze/commit/42106d9d94f230942aa9c4f66f9100d4db884c59))
23
+
24
+
25
+
17
26
 
18
27
 
28
+ # [0.146.0-node18-core-styles-tooltips.46](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.45...v0.146.0-node18-core-styles-tooltips.46) (2026-01-16)
29
+
30
+ **Note:** Version bump only for package @blaze-cms/react-page-builder
31
+
19
32
 
20
33
 
21
34
 
22
- # [0.146.0-node18-tooltips.37](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.36...v0.146.0-node18-tooltips.37) (2026-01-08)
35
+
36
+ # [0.146.0-node18-core-styles-tooltips.45](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.44...v0.146.0-node18-core-styles-tooltips.45) (2026-01-15)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * changed plugin logic ([451b8af](https://github.com/thebyte9/blaze/commit/451b8afd47fade28b0143c128cf645fe90557424))
23
42
 
24
43
 
25
44
  ### Features
26
45
 
46
+ * translate search filter component ([48d96d4](https://github.com/thebyte9/blaze/commit/48d96d48a52a83cf97edf81632074107ea744a5a))
27
47
  * update carousel component to have unique imageIds ([#5064](https://github.com/thebyte9/blaze/issues/5064)) ([119b050](https://github.com/thebyte9/blaze/commit/119b05019113bae15e39c32ce3af049d9c3ba363))
28
48
 
29
49
 
30
50
 
31
51
 
32
52
 
33
- # [0.146.0-node18-tooltips.35](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.34...v0.146.0-node18-tooltips.35) (2025-12-17)
53
+ # [0.146.0-node18-core-styles-tooltips.44](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.43...v0.146.0-node18-core-styles-tooltips.44) (2026-01-02)
54
+
55
+ **Note:** Version bump only for package @blaze-cms/react-page-builder
56
+
57
+
58
+
59
+
60
+
61
+ # [0.146.0-node18-core-styles-tooltips.43](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.42...v0.146.0-node18-core-styles-tooltips.43) (2025-12-17)
34
62
 
35
63
 
36
64
  ### Bug Fixes
@@ -41,7 +69,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
41
69
 
42
70
 
43
71
 
44
- # [0.146.0-node18-tooltips.34](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.33...v0.146.0-node18-tooltips.34) (2025-12-17)
72
+ # [0.146.0-node18-core-styles-tooltips.42](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.41...v0.146.0-node18-core-styles-tooltips.42) (2025-12-17)
45
73
 
46
74
 
47
75
  ### Bug Fixes
@@ -52,7 +80,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
52
80
 
53
81
 
54
82
 
55
- # [0.146.0-node18-tooltips.33](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.32...v0.146.0-node18-tooltips.33) (2025-12-15)
83
+ # [0.146.0-node18-core-styles-tooltips.41](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.40...v0.146.0-node18-core-styles-tooltips.41) (2025-12-15)
56
84
 
57
85
 
58
86
  ### Bug Fixes
@@ -68,19 +96,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
68
96
 
69
97
 
70
98
 
71
- # [0.146.0-node18-tooltips.32](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.31...v0.146.0-node18-tooltips.32) (2025-12-15)
99
+ # [0.146.0-node18-core-styles-tooltips.38](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.37...v0.146.0-node18-core-styles-tooltips.38) (2025-12-04)
72
100
 
73
-
74
- ### Bug Fixes
75
-
76
- * added handlebar prop validation ([#5014](https://github.com/thebyte9/blaze/issues/5014)) ([f949bc5](https://github.com/thebyte9/blaze/commit/f949bc5d949d9a33c7aef8485e1fe13f48e79d28))
77
- * fixed lint on handlebar inject test ([#5018](https://github.com/thebyte9/blaze/issues/5018)) ([c57f06c](https://github.com/thebyte9/blaze/commit/c57f06c03b095dd4e5f0683d9fcf94a22d80c592))
101
+ **Note:** Version bump only for package @blaze-cms/react-page-builder
78
102
 
79
103
 
80
104
 
81
105
 
82
106
 
83
- # [0.146.0-node18-tooltips.30](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.29...v0.146.0-node18-tooltips.30) (2025-11-17)
107
+ # [0.146.0-node18-core-styles-tooltips.34](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.33...v0.146.0-node18-core-styles-tooltips.34) (2025-11-27)
84
108
 
85
109
  **Note:** Version bump only for package @blaze-cms/react-page-builder
86
110
 
@@ -88,7 +112,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
88
112
 
89
113
 
90
114
 
91
- # [0.146.0-node18-tooltips.28](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.27...v0.146.0-node18-tooltips.28) (2025-11-10)
115
+ # [0.146.0-node18-core-styles-tooltips.32](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.31...v0.146.0-node18-core-styles-tooltips.32) (2025-11-26)
92
116
 
93
117
  **Note:** Version bump only for package @blaze-cms/react-page-builder
94
118
 
@@ -96,15 +120,19 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
96
120
 
97
121
 
98
122
 
99
- # [0.146.0-node18-tooltips.27](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.26...v0.146.0-node18-tooltips.27) (2025-11-06)
123
+ # [0.146.0-node18-core-styles-tooltips.31](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.30...v0.146.0-node18-core-styles-tooltips.31) (2025-11-26)
100
124
 
101
- **Note:** Version bump only for package @blaze-cms/react-page-builder
125
+
126
+ ### Bug Fixes
127
+
128
+ * added handlebar prop validation ([#5014](https://github.com/thebyte9/blaze/issues/5014)) ([f949bc5](https://github.com/thebyte9/blaze/commit/f949bc5d949d9a33c7aef8485e1fe13f48e79d28))
129
+ * fixed lint on handlebar inject test ([#5018](https://github.com/thebyte9/blaze/issues/5018)) ([c57f06c](https://github.com/thebyte9/blaze/commit/c57f06c03b095dd4e5f0683d9fcf94a22d80c592))
102
130
 
103
131
 
104
132
 
105
133
 
106
134
 
107
- # [0.146.0-node18-tooltips.26](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.25...v0.146.0-node18-tooltips.26) (2025-10-29)
135
+ # [0.146.0-node18-core-styles-tooltips.30](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.29...v0.146.0-node18-core-styles-tooltips.30) (2025-11-25)
108
136
 
109
137
  **Note:** Version bump only for package @blaze-cms/react-page-builder
110
138
 
@@ -112,61 +140,66 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
112
140
 
113
141
 
114
142
 
115
- # [0.146.0-node18-tooltips.24](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.23...v0.146.0-node18-tooltips.24) (2025-10-27)
143
+ # [0.146.0-node18-core-styles-tooltips.29](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.28...v0.146.0-node18-core-styles-tooltips.29) (2025-11-17)
116
144
 
145
+ **Note:** Version bump only for package @blaze-cms/react-page-builder
117
146
 
118
- ### Bug Fixes
119
147
 
120
- * fixed logo flicker highlight getting stuck and logo position when close to window top ([#4962](https://github.com/thebyte9/blaze/issues/4962)) ([051f843](https://github.com/thebyte9/blaze/commit/051f843d717a9648f5ca19dd531f20de8e1516c0))
121
148
 
122
149
 
123
150
 
151
+ # [0.146.0-node18-core-styles-tooltips.27](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.26...v0.146.0-node18-core-styles-tooltips.27) (2025-11-13)
124
152
 
153
+ **Note:** Version bump only for package @blaze-cms/react-page-builder
125
154
 
126
- # [0.146.0-node18-tooltips.23](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.22...v0.146.0-node18-tooltips.23) (2025-10-20)
127
155
 
128
156
 
129
- ### Bug Fixes
130
157
 
131
- * content group variant should render passed props ([#4960](https://github.com/thebyte9/blaze/issues/4960)) ([6c947bb](https://github.com/thebyte9/blaze/commit/6c947bba61283b03185fb6a8865a96b55b8246a6))
132
158
 
159
+ # [0.146.0-node18-core-styles-tooltips.26](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.25...v0.146.0-node18-core-styles-tooltips.26) (2025-11-12)
133
160
 
161
+ **Note:** Version bump only for package @blaze-cms/react-page-builder
134
162
 
135
163
 
136
164
 
137
- # [0.146.0-node18-tooltips.22](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.21...v0.146.0-node18-tooltips.22) (2025-10-17)
138
165
 
139
166
 
140
- ### Bug Fixes
167
+ # [0.146.0-node18-core-styles-tooltips.25](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.24...v0.146.0-node18-core-styles-tooltips.25) (2025-11-07)
141
168
 
142
- * remove anchor links when search filters are applied ([#4957](https://github.com/thebyte9/blaze/issues/4957)) ([a5d4148](https://github.com/thebyte9/blaze/commit/a5d4148d1c122db654fe015f4892359ab0f9963c))
169
+ **Note:** Version bump only for package @blaze-cms/react-page-builder
143
170
 
144
171
 
145
- ### Features
146
172
 
147
- * update @blaze-react/checkboxes to 0.8.0-alpha.106 ([#4874](https://github.com/thebyte9/blaze/issues/4874)) ([0877a34](https://github.com/thebyte9/blaze/commit/0877a341086ff50d9243e2e2fda05ab2716d949c))
148
173
 
149
174
 
175
+ # [0.146.0-node18-core-styles-tooltips.24](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.23...v0.146.0-node18-core-styles-tooltips.24) (2025-11-03)
176
+
177
+ **Note:** Version bump only for package @blaze-cms/react-page-builder
150
178
 
151
179
 
152
180
 
153
- # [0.146.0-node18-tooltips.21](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.20...v0.146.0-node18-tooltips.21) (2025-10-14)
181
+
182
+
183
+ # [0.146.0-node18-core-styles-tooltips.23](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.22...v0.146.0-node18-core-styles-tooltips.23) (2025-10-27)
154
184
 
155
185
 
156
186
  ### Bug Fixes
157
187
 
158
- * prevent search input from interfering with other inputs ([#4955](https://github.com/thebyte9/blaze/issues/4955)) ([78c6036](https://github.com/thebyte9/blaze/commit/78c6036c0040f07acfa71493bbbd73cdc4ad03b1))
188
+ * fixed logo flicker highlight getting stuck and logo position when close to window top ([#4962](https://github.com/thebyte9/blaze/issues/4962)) ([051f843](https://github.com/thebyte9/blaze/commit/051f843d717a9648f5ca19dd531f20de8e1516c0))
159
189
 
160
190
 
161
191
 
162
192
 
163
193
 
164
- # [0.146.0-node18-tooltips.19](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.18...v0.146.0-node18-tooltips.19) (2025-10-10)
194
+ # [0.146.0-node18-core-styles-tooltips.22](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.21...v0.146.0-node18-core-styles-tooltips.22) (2025-10-20)
165
195
 
166
196
 
167
197
  ### Bug Fixes
168
198
 
199
+ * content group variant should render passed props ([#4960](https://github.com/thebyte9/blaze/issues/4960)) ([6c947bb](https://github.com/thebyte9/blaze/commit/6c947bba61283b03185fb6a8865a96b55b8246a6))
169
200
  * editor mode icon flicker improvements ([#4949](https://github.com/thebyte9/blaze/issues/4949)) ([211c72d](https://github.com/thebyte9/blaze/commit/211c72d83dc1da87e9bdef8e2a816af9ae3e321c))
201
+ * prevent search input from interfering with other inputs ([#4955](https://github.com/thebyte9/blaze/issues/4955)) ([78c6036](https://github.com/thebyte9/blaze/commit/78c6036c0040f07acfa71493bbbd73cdc4ad03b1))
202
+ * remove anchor links when search filters are applied ([#4957](https://github.com/thebyte9/blaze/issues/4957)) ([a5d4148](https://github.com/thebyte9/blaze/commit/a5d4148d1c122db654fe015f4892359ab0f9963c))
170
203
  * reset input and results on click away ([#4930](https://github.com/thebyte9/blaze/issues/4930)) ([cebd271](https://github.com/thebyte9/blaze/commit/cebd271c09d0b32db5db52943888a342acd484d3))
171
204
 
172
205
 
@@ -174,12 +207,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
174
207
 
175
208
  * add accordion content group variant ([#4906](https://github.com/thebyte9/blaze/issues/4906)) ([879f4e4](https://github.com/thebyte9/blaze/commit/879f4e45e3d35de6ab8e739adb0739a94a5bbfb4))
176
209
  * enable accordion component to be marked up with FAQPage schema ([#4913](https://github.com/thebyte9/blaze/issues/4913)) ([6bf92fe](https://github.com/thebyte9/blaze/commit/6bf92fe870f47dc6069b12ce0d8b29abc9fee3d5))
210
+ * update @blaze-react/checkboxes to 0.8.0-alpha.106 ([#4874](https://github.com/thebyte9/blaze/issues/4874)) ([0877a34](https://github.com/thebyte9/blaze/commit/0877a341086ff50d9243e2e2fda05ab2716d949c))
177
211
 
178
212
 
179
213
 
180
214
 
181
215
 
182
- # [0.146.0-node18-tooltips.13](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.12...v0.146.0-node18-tooltips.13) (2025-10-02)
216
+ # [0.146.0-node18-core-styles-tooltips.20](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.19...v0.146.0-node18-core-styles-tooltips.20) (2025-10-03)
183
217
 
184
218
 
185
219
  ### Bug Fixes
@@ -190,7 +224,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
190
224
 
191
225
 
192
226
 
193
- # [0.146.0-node18-tooltips.11](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.10...v0.146.0-node18-tooltips.11) (2025-10-01)
227
+ # [0.146.0-node18-core-styles-tooltips.19](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.18...v0.146.0-node18-core-styles-tooltips.19) (2025-10-01)
194
228
 
195
229
 
196
230
  ### Bug Fixes
@@ -202,7 +236,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
202
236
 
203
237
 
204
238
 
205
- # [0.146.0-node18-tooltips.8](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.7...v0.146.0-node18-tooltips.8) (2025-09-24)
239
+ # [0.146.0-node18-core-styles-tooltips.18](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.17...v0.146.0-node18-core-styles-tooltips.18) (2025-09-29)
206
240
 
207
241
 
208
242
  ### Bug Fixes
@@ -218,7 +252,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
218
252
 
219
253
 
220
254
 
221
- # [0.146.0-node18-tooltips.4](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.3...v0.146.0-node18-tooltips.4) (2025-09-22)
255
+ # [0.146.0-node18-core-styles-tooltips.15](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.14...v0.146.0-node18-core-styles-tooltips.15) (2025-09-23)
222
256
 
223
257
  **Note:** Version bump only for package @blaze-cms/react-page-builder
224
258
 
@@ -226,7 +260,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
226
260
 
227
261
 
228
262
 
229
- # [0.146.0-node18-tooltips.2](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-tooltips.1...v0.146.0-node18-tooltips.2) (2025-09-17)
263
+ # [0.146.0-node18-core-styles-tooltips.13](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.12...v0.146.0-node18-core-styles-tooltips.13) (2025-09-15)
230
264
 
231
265
  **Note:** Version bump only for package @blaze-cms/react-page-builder
232
266
 
@@ -234,25 +268,81 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
234
268
 
235
269
 
236
270
 
237
- # [0.146.0-node18-tooltips.0](https://github.com/thebyte9/blaze/compare/v0.145.0...v0.146.0-node18-tooltips.0) (2025-09-09)
271
+ # [0.146.0-node18-core-styles-tooltips.12](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.11...v0.146.0-node18-core-styles-tooltips.12) (2025-08-27)
238
272
 
239
273
 
240
274
  ### Bug Fixes
241
275
 
242
- * add constant to avoid duplication ([07d6742](https://github.com/thebyte9/blaze/commit/07d6742f894ee8e063c17847fbb89559c23c5766))
243
276
  * add react import missing from editor mode components ([#4885](https://github.com/thebyte9/blaze/issues/4885)) ([bb6e3eb](https://github.com/thebyte9/blaze/commit/bb6e3eb238a0f0263ed13a32e5121f49d21b2add))
277
+
278
+
279
+
280
+
281
+
282
+ # [0.146.0-node18-core-styles-tooltips.11](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.10...v0.146.0-node18-core-styles-tooltips.11) (2025-08-27)
283
+
284
+
285
+ ### Features
286
+
287
+ * add hook for search content component ([#4866](https://github.com/thebyte9/blaze/issues/4866)) ([2fe2fb9](https://github.com/thebyte9/blaze/commit/2fe2fb91a13199b2c7cabbd734c3b79f9c962cad))
288
+ * add unit support to range filters ([fabc125](https://github.com/thebyte9/blaze/commit/fabc125355a4097c0fbe71e8419f207f93929926))
289
+
290
+
291
+
292
+
293
+
294
+ # [0.146.0-node18-core-styles-tooltips.5](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.4...v0.146.0-node18-core-styles-tooltips.5) (2025-07-18)
295
+
296
+ **Note:** Version bump only for package @blaze-cms/react-page-builder
297
+
298
+
299
+
300
+
301
+
302
+ # [0.146.0-node18-core-styles-tooltips.4](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.3...v0.146.0-node18-core-styles-tooltips.4) (2025-07-10)
303
+
304
+
305
+ ### Bug Fixes
306
+
307
+ * add constant to avoid duplication ([07d6742](https://github.com/thebyte9/blaze/commit/07d6742f894ee8e063c17847fbb89559c23c5766))
308
+ * respond to live blog item size changes for laze loaded image, live blog title and global light box fix ([#4730](https://github.com/thebyte9/blaze/issues/4730)) ([5dd38d8](https://github.com/thebyte9/blaze/commit/5dd38d8d9e5983c55d3053d440eb7ab618688920))
309
+
310
+
311
+
312
+
313
+
314
+ # [0.146.0-node18-core-styles-tooltips.1](https://github.com/thebyte9/blaze/compare/v0.146.0-node18-core-styles-tooltips.0...v0.146.0-node18-core-styles-tooltips.1) (2025-06-20)
315
+
316
+
317
+ ### Features
318
+
319
+ * added frontend links for editor mode ([#4801](https://github.com/thebyte9/blaze/issues/4801)) ([d5de370](https://github.com/thebyte9/blaze/commit/d5de370203abf467fcc3819d06c7375f4a6c1eb9))
320
+
321
+
322
+
323
+
324
+
325
+ # [0.146.0-node18-core-styles-tooltips.0](https://github.com/thebyte9/blaze/compare/v0.145.0...v0.146.0-node18-core-styles-tooltips.0) (2025-06-18)
326
+
327
+
328
+ ### Bug Fixes
329
+
330
+ * menu setdisplaychildren logic ([#4629](https://github.com/thebyte9/blaze/issues/4629)) ([16c5c67](https://github.com/thebyte9/blaze/commit/16c5c674f4db1505131a8557d34f5349cf33fc42))
244
331
  * added space between image counter ([fe23887](https://github.com/thebyte9/blaze/commit/fe23887db201c8f8c4d3c2df6b0f84adac84df9f))
245
332
  * apply search filters even when shouldAddFilters is false ([ac82708](https://github.com/thebyte9/blaze/commit/ac827080df3001f4643a2d7a69b8f5502646cf77))
246
333
  * changed image lightbox counter ([3e22b68](https://github.com/thebyte9/blaze/commit/3e22b6817d60d2b4fd4beac713f864fdb5b6826e))
247
334
  * close menu item on url change ([#4669](https://github.com/thebyte9/blaze/issues/4669)) ([697750a](https://github.com/thebyte9/blaze/commit/697750ac771a5ea89702e990e23d6e78b1c45a67))
248
335
  * encode dynamic menu urls ([#4497](https://github.com/thebyte9/blaze/issues/4497)) ([43695a0](https://github.com/thebyte9/blaze/commit/43695a01408a85a5cd94704d9b78f36fd3fb509f))
249
336
  * exported necessary helpers from blaze react page builder ([#4466](https://github.com/thebyte9/blaze/issues/4466)) ([9a8d0db](https://github.com/thebyte9/blaze/commit/9a8d0db28dc0fbf7a2c93733fa1c7d61f293ac1b))
337
+ * extended regex for #s in urls ([#4648](https://github.com/thebyte9/blaze/issues/4648)) ([089b19a](https://github.com/thebyte9/blaze/commit/089b19afaf503477429df3415fcd382e8b55745a))
250
338
  * fixed breaking tests, updated next to 14 ([fecb0e1](https://github.com/thebyte9/blaze/commit/fecb0e1d822bd69ebbaa084072a219f0fddd23f1))
251
339
  * fixed code smells ([95d874e](https://github.com/thebyte9/blaze/commit/95d874e7e392e8e39921c146c86987d515d090e5))
252
340
  * fixed more tests ([46a2fb9](https://github.com/thebyte9/blaze/commit/46a2fb9467f9f3c9cf320c9caf36c66503cc1f49))
253
341
  * fixed nan values on ranges ([#4582](https://github.com/thebyte9/blaze/issues/4582)) ([963ceec](https://github.com/thebyte9/blaze/commit/963ceec6b1eea027cb36b9358f7dee5e91e852ce))
254
342
  * fixed url change not reflecting on filters ([#4488](https://github.com/thebyte9/blaze/issues/4488)) ([0d6574f](https://github.com/thebyte9/blaze/commit/0d6574f5d5e698633c6032668cb8e1d914cf0342))
255
343
  * fixed url not being decoded when set on useEffect in SearchFilterContainer ([#4492](https://github.com/thebyte9/blaze/issues/4492)) ([64ba7a0](https://github.com/thebyte9/blaze/commit/64ba7a0260ee657561df5273fac3e537d6845db0))
344
+ * fixed variable placing ([cbd733b](https://github.com/thebyte9/blaze/commit/cbd733b15bf9094bec7f2349267042fe22a54dac))
345
+ * handle active url ([58be170](https://github.com/thebyte9/blaze/commit/58be170c8641abeb89e6b51dca9c5a75179c3dd7))
256
346
  * handle reseting filters and pagination with correct client scroll ([#4804](https://github.com/thebyte9/blaze/issues/4804)) ([8f098d9](https://github.com/thebyte9/blaze/commit/8f098d9240fe260911f399a54d91e235aa109b76))
257
347
  * improve filter and pagination scroll client side ([#4803](https://github.com/thebyte9/blaze/issues/4803)) ([b438755](https://github.com/thebyte9/blaze/commit/b4387551cb9fea3197c83db6b245ecd11a2dd64a))
258
348
  * lint errors in node 18 dev ([#4784](https://github.com/thebyte9/blaze/issues/4784)) ([5b102df](https://github.com/thebyte9/blaze/commit/5b102df10a77abc62aa94ffa476f1c2156c17947))
@@ -262,15 +352,17 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
262
352
  * permission should be returned when returnPermission=true ([#4775](https://github.com/thebyte9/blaze/issues/4775)) ([5f9f903](https://github.com/thebyte9/blaze/commit/5f9f90341c871d9dc76b035b7511e71cb7f964fe))
263
353
  * persist last selected filter ([#4526](https://github.com/thebyte9/blaze/issues/4526)) ([5b15b57](https://github.com/thebyte9/blaze/commit/5b15b57f5b008a6a9b71a0ea4d5a7bc75b1779a3))
264
354
  * remove limit from dynamic menu item check ([535e557](https://github.com/thebyte9/blaze/commit/535e5574817c3d4248419cf42961fdc27c28dd34))
355
+ * remove limit from dynamic menu item check ([#4533](https://github.com/thebyte9/blaze/issues/4533)) ([2f9cba8](https://github.com/thebyte9/blaze/commit/2f9cba859223e0d2a81ce8bb816cfacbe7b474b6))
265
356
  * remove youtube origin api param as it breaks SSR ([#4538](https://github.com/thebyte9/blaze/issues/4538)) ([98f71c5](https://github.com/thebyte9/blaze/commit/98f71c501fa8f01f9187d3ab7807c8fc4eada3e6))
266
357
  * removed commented code ([5e93306](https://github.com/thebyte9/blaze/commit/5e933063ff0896dc67da0b33506231bc57427a40))
267
358
  * removed empty sapce ([461f486](https://github.com/thebyte9/blaze/commit/461f4868cf7a49208825851ff4dbc22a2c65974e))
268
359
  * resolving eslint warnings ([d4d1568](https://github.com/thebyte9/blaze/commit/d4d1568751c3f63a630bf396ff002c7fdc2532e8))
269
360
  * resolving eslint warnings ([a0fc18a](https://github.com/thebyte9/blaze/commit/a0fc18a4b4ef4f2f50edf2ae9fd24ab8fb4ef2bb))
270
- * respond to live blog item size changes for laze loaded image, live blog title and global light box fix ([#4730](https://github.com/thebyte9/blaze/issues/4730)) ([5dd38d8](https://github.com/thebyte9/blaze/commit/5dd38d8d9e5983c55d3053d440eb7ab618688920))
271
361
  * set correct list limit ([#4714](https://github.com/thebyte9/blaze/issues/4714)) ([4b981a2](https://github.com/thebyte9/blaze/commit/4b981a29a19e78d1cbd72fa2ab1d867958e0bdee))
362
+ * typo ([88018f9](https://github.com/thebyte9/blaze/commit/88018f96fe2559a981826acb67a60f5b02c94f04))
272
363
  * udpated yarn lock ([0cd4fa4](https://github.com/thebyte9/blaze/commit/0cd4fa4a185fca4b80b57e472badb771dd649ec2))
273
364
  * update content tab state using url instead of url and button click ([#4759](https://github.com/thebyte9/blaze/issues/4759)) ([f5beff6](https://github.com/thebyte9/blaze/commit/f5beff686c059fb4523e87b274da5d630285478e))
365
+ * update snapshot ([f3e1029](https://github.com/thebyte9/blaze/commit/f3e1029d9eb713a3126f396966ad01516a6a6add))
274
366
  * updated jest dependences/setup ([6d6cba8](https://github.com/thebyte9/blaze/commit/6d6cba84b3c4ce4d4da7463098de19815a9fb7a6))
275
367
  * updated react-testing-library ([ec9a955](https://github.com/thebyte9/blaze/commit/ec9a955d8991989a8daf6910d084b2853f557647))
276
368
  * updated with dev ([90f545f](https://github.com/thebyte9/blaze/commit/90f545f1beabb35e26ba6fb2b45a7a0dfd072927))
@@ -284,13 +376,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
284
376
  ### Features
285
377
 
286
378
  * add Floating Side Button variant with MVP styling ([#4594](https://github.com/thebyte9/blaze/issues/4594)) ([effb843](https://github.com/thebyte9/blaze/commit/effb843fa9c226fbf07b3ad3dac359d81e164590))
287
- * add hook for search content component ([#4866](https://github.com/thebyte9/blaze/issues/4866)) ([2fe2fb9](https://github.com/thebyte9/blaze/commit/2fe2fb91a13199b2c7cabbd734c3b79f9c962cad))
288
379
  * add list live variant ([#4727](https://github.com/thebyte9/blaze/issues/4727)) ([f482abf](https://github.com/thebyte9/blaze/commit/f482abfe03bf6db2d2d7eb462f8141ff80c1cc79))
289
380
  * add live property to content entities ([#4729](https://github.com/thebyte9/blaze/issues/4729)) ([8cdc5d6](https://github.com/thebyte9/blaze/commit/8cdc5d6b57945590ac97bd2da82c7ad74583c51d))
290
381
  * add tooltip support to parent select in DynamicRelation component ([#4603](https://github.com/thebyte9/blaze/issues/4603)) ([7767b5d](https://github.com/thebyte9/blaze/commit/7767b5dd7641d4b0c2477cffe6c0be8f9e8aa9dd))
291
- * add unit support to range filters ([fabc125](https://github.com/thebyte9/blaze/commit/fabc125355a4097c0fbe71e8419f207f93929926))
292
382
  * add video component events for youtube and jwplayer ([7b4aa78](https://github.com/thebyte9/blaze/commit/7b4aa78dea3798d736b32aed13760cc67445780c))
293
- * added frontend links for editor mode ([#4801](https://github.com/thebyte9/blaze/issues/4801)) ([d5de370](https://github.com/thebyte9/blaze/commit/d5de370203abf467fcc3819d06c7375f4a6c1eb9))
294
383
  * added Loading component ([#4469](https://github.com/thebyte9/blaze/issues/4469)) ([957f09b](https://github.com/thebyte9/blaze/commit/957f09bab84e2e08df879abf4eec17293d167e00))
295
384
  * allow customisation of refine search text ([#4489](https://github.com/thebyte9/blaze/issues/4489)) ([2082c4b](https://github.com/thebyte9/blaze/commit/2082c4b9322882cf779c9619d32ff44793324723))
296
385
  * dynamic menu items ([#4099](https://github.com/thebyte9/blaze/issues/4099)) ([c1e052b](https://github.com/thebyte9/blaze/commit/c1e052ba93218d4f603c697cf8b533d2d0befbf1))
@@ -298,6 +387,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
298
387
  * improve card click wrapper feature flag to make valid html ([#4495](https://github.com/thebyte9/blaze/issues/4495)) ([cc01f4d](https://github.com/thebyte9/blaze/commit/cc01f4dae15158c0896d48ed05cb32a64c8caa1b))
299
388
  * make editorview card placeholders dynamic ([#4722](https://github.com/thebyte9/blaze/issues/4722)) ([872be4a](https://github.com/thebyte9/blaze/commit/872be4ac9537fa8d52c705c4b120eec23a35afae))
300
389
  * move error message component to react page builder ([#4680](https://github.com/thebyte9/blaze/issues/4680)) ([5585514](https://github.com/thebyte9/blaze/commit/55855146a43300c702d7a8284828f592854950c7))
390
+ * new preOpenMenu menu setting ([db23d0d](https://github.com/thebyte9/blaze/commit/db23d0d46a3bfe9db848ce5b52532c13e8ed5aa0))
301
391
  * update image-cdn-react package with fetchpolicy update ([#4564](https://github.com/thebyte9/blaze/issues/4564)) ([1b6b719](https://github.com/thebyte9/blaze/commit/1b6b71952dc63f90fdecde1c4214e59a3207d615))
302
392
  * updated react to 18 ([9335f84](https://github.com/thebyte9/blaze/commit/9335f8432b376494501abb9c3deef1ddaa9b35a8))
303
393
 
@@ -42,8 +42,9 @@ var _nextjsComponents = require("@blaze-cms/nextjs-components");
42
42
  var _query = require("../../application/query");
43
43
  var _constants = require("../../constants");
44
44
  var _hooks = require("../../hooks");
45
- var _helpers = require("../../helpers");
46
- var _helpers2 = require("./helpers");
45
+ var _helpers = require("../List/helpers");
46
+ var _helpers2 = require("../../helpers");
47
+ var _helpers3 = require("./helpers");
47
48
  var _excluded = ["entity", "entities", "entityFields", "itemsToDisplay", "children", "VariantComponent"];
48
49
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
49
50
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -78,7 +79,7 @@ var CardsRender = function CardsRender(_ref) {
78
79
  _otherProps$operator = otherProps.operator,
79
80
  filterOperator = _otherProps$operator === void 0 ? _constants.AND : _otherProps$operator,
80
81
  useRandomSort = otherProps.useRandomSort;
81
- var _getUpdatedSortProper = (0, _helpers2.getUpdatedSortProperties)(sort, sortby, sortProperties),
82
+ var _getUpdatedSortProper = (0, _helpers3.getUpdatedSortProperties)(sort, sortby, sortProperties),
82
83
  _getUpdatedSortProper2 = (0, _slicedToArray2["default"])(_getUpdatedSortProper, 2),
83
84
  updatedSortProperties = _getUpdatedSortProper2[0],
84
85
  sortbyFilters = _getUpdatedSortProper2[1];
@@ -89,7 +90,7 @@ var CardsRender = function CardsRender(_ref) {
89
90
  });
90
91
  var entitiesToUse = entities || [legacyEntity];
91
92
  var primaryEntityToUse = entitiesToUse[0];
92
- var unpublishedParentEntityName = (0, _helpers.getUnpublishedEntityName)(parentEntity);
93
+ var unpublishedParentEntityName = (0, _helpers2.getUnpublishedEntityName)(parentEntity);
93
94
  var allEntityNames = [].concat((0, _toConsumableArray2["default"])(entitiesToUse), [unpublishedParentEntityName]);
94
95
  var uniqueEntityNames = (0, _toConsumableArray2["default"])(new Set(allEntityNames));
95
96
  var _useGetEntitySchemasA = (0, _hooks.useGetEntitySchemasAsObj)(uniqueEntityNames),
@@ -100,7 +101,7 @@ var CardsRender = function CardsRender(_ref) {
100
101
  var parentSchema = mainSchemas[unpublishedParentEntityName] || {};
101
102
  var filterEntitySchema = mainSchemas[primaryEntityToUse] || {};
102
103
  var entitiesTypes = entitiesToUse.map(function (ent) {
103
- return (0, _helpers.getEntityData)(ent, mainSchemas[ent]);
104
+ return (0, _helpers2.getEntityData)(ent, mainSchemas[ent]);
104
105
  });
105
106
  var graphqlEntityMap = entitiesTypes.reduce(function (acc, entityType) {
106
107
  return _objectSpread(_objectSpread({}, acc), {}, (0, _defineProperty2["default"])({}, entityType.entityType, entityType.entity));
@@ -114,7 +115,7 @@ var CardsRender = function CardsRender(_ref) {
114
115
  return eType;
115
116
  });
116
117
  var style = otherProps.style;
117
- var _filtersSetup = (0, _helpers2.filtersSetup)({
118
+ var _filtersSetup = (0, _helpers3.filtersSetup)({
118
119
  entityFields: entityFields,
119
120
  entityTypes: entityTypes,
120
121
  filterBy: filterBy,
@@ -136,7 +137,7 @@ var CardsRender = function CardsRender(_ref) {
136
137
  variables: {
137
138
  id: parentId
138
139
  },
139
- skip: (0, _helpers2.shouldSkipSingleQuery)(_loading, getAction, queryProps)
140
+ skip: (0, _helpers3.shouldSkipSingleQuery)(_loading, getAction, queryProps)
140
141
  }),
141
142
  _useQuery$data = _useQuery.data,
142
143
  _useQuery$data2 = _useQuery$data === void 0 ? {} : _useQuery$data,
@@ -144,19 +145,19 @@ var CardsRender = function CardsRender(_ref) {
144
145
  parentEntityData = _useQuery$data2$entit === void 0 ? {} : _useQuery$data2$entit,
145
146
  _err = _useQuery.error,
146
147
  _load = _useQuery.loading;
147
- var _useGetEntitySchemasA3 = (0, _hooks.useGetEntitySchemasAsObj)((0, _helpers.getRequiredSchemas)([].concat((0, _toConsumableArray2["default"])(filterByProperty), (0, _toConsumableArray2["default"])(sortbyFilters)), filterEntitySchema), _loading),
148
+ var _useGetEntitySchemasA3 = (0, _hooks.useGetEntitySchemasAsObj)((0, _helpers2.getRequiredSchemas)([].concat((0, _toConsumableArray2["default"])(filterByProperty), (0, _toConsumableArray2["default"])(sortbyFilters)), filterEntitySchema), _loading),
148
149
  _useGetEntitySchemasA4 = _useGetEntitySchemasA3.data,
149
150
  requiredSchema = _useGetEntitySchemasA4 === void 0 ? {} : _useGetEntitySchemasA4,
150
151
  schemaLoading = _useGetEntitySchemasA3.loading,
151
152
  schemaError = _useGetEntitySchemasA3.error;
152
- var updatedFilterBy = (0, _helpers.getUpdatedFilterBy)(inheritedFilters, parentEntityData, parentSchema, filterEntitySchema, parentId, variableProps);
153
- var updatedItemsToDisplay = (0, _helpers2.getUpdatedItemsToDisplay)({
153
+ var updatedFilterBy = (0, _helpers2.getUpdatedFilterBy)(inheritedFilters, parentEntityData, parentSchema, filterEntitySchema, parentId, variableProps);
154
+ var updatedItemsToDisplay = (0, _helpers3.getUpdatedItemsToDisplay)({
154
155
  itemsToDisplay: itemsToDisplay,
155
156
  inheritedFilters: inheritedFilters,
156
157
  parentSchema: parentSchema,
157
158
  parentEntityData: parentEntityData
158
159
  });
159
- var _filterQuerySetup = (0, _helpers2.filterQuerySetup)({
160
+ var _filterQuerySetup = (0, _helpers3.filterQuerySetup)({
160
161
  getEntitySchemas: Object.values(requiredSchema),
161
162
  entity: primaryEntityToUse,
162
163
  updatedFilterBy: updatedFilterBy,
@@ -171,10 +172,17 @@ var CardsRender = function CardsRender(_ref) {
171
172
  limit = _filterQuerySetup.limit,
172
173
  variables = _filterQuerySetup.variables;
173
174
  var hasNoFiltersOrItemsToDisplay = !updatedItemsToDisplay.length && !updatedFilterBy;
175
+ var _useAppEventHook = (0, _hooks.useAppEventHook)({
176
+ eventName: 'cards:query-variables',
177
+ data: variables,
178
+ props: variableProps
179
+ }),
180
+ updatedVariables = _useAppEventHook.data;
181
+ var boostedVariables = (0, _helpers.buildQueryBooster)(otherProps, updatedVariables);
174
182
  var _useQuery2 = (0, _client.useQuery)(action, {
175
- variables: variables,
183
+ variables: boostedVariables,
176
184
  fetchPolicy: useRandomSort ? 'cache-and-network' : 'cache-first',
177
- skip: (0, _helpers2.shouldReturn)(hasNoFiltersOrItemsToDisplay, _loading, _load, schemaLoading, _error, _err, schemaError)
185
+ skip: (0, _helpers3.shouldReturn)(hasNoFiltersOrItemsToDisplay, _loading, _load, schemaLoading, _error, _err, schemaError)
178
186
  }),
179
187
  _useQuery2$data = _useQuery2.data,
180
188
  cardData = _useQuery2$data === void 0 ? {} : _useQuery2$data,
@@ -186,8 +194,8 @@ var CardsRender = function CardsRender(_ref) {
186
194
  var _useGetImages = (0, _hooks.useGetImages)(imageIds, true),
187
195
  imagesData = _useGetImages.data,
188
196
  imagesLoading = _useGetImages.loading;
189
- var isLoading = (0, _helpers2.shouldReturn)(_loading, _load, schemaLoading, imagesLoading);
190
- var hasError = (0, _helpers2.shouldReturn)(_error, _err, schemaError);
197
+ var isLoading = (0, _helpers3.shouldReturn)(_loading, _load, schemaLoading, imagesLoading);
198
+ var hasError = (0, _helpers3.shouldReturn)(_error, _err, schemaError);
191
199
  if (cardsError) return cardsError.message;
192
200
  if (hasNoFiltersOrItemsToDisplay || isLoading || hasError) {
193
201
  return null;
@@ -195,17 +203,17 @@ var CardsRender = function CardsRender(_ref) {
195
203
  var _ref5 = cardData[_constants.SEARCH_PUBLISHED_CONTENT] || {},
196
204
  cardDataResults = _ref5.results;
197
205
  if (!cardDataResults || !cardDataResults.length) return null;
198
- cardDataResults = entitySameAsCurrentItemEntity ? (0, _helpers.removeExtraItems)(cardDataResults, limit, parentId) : cardDataResults;
206
+ cardDataResults = entitySameAsCurrentItemEntity ? (0, _helpers2.removeExtraItems)(cardDataResults, limit, parentId) : cardDataResults;
199
207
  if (!cardDataResults.length) return null;
200
- var orderedData = useRandomSort || updatedSortProperties.length ? cardDataResults : (0, _helpers.sortResponseData)(cardDataResults, updatedItemsToDisplay);
201
- var _splitChildren = (0, _helpers.splitChildren)(children, cardDataResults, graphqlEntityMap, {
208
+ var orderedData = useRandomSort || updatedSortProperties.length ? cardDataResults : (0, _helpers2.sortResponseData)(cardDataResults, updatedItemsToDisplay);
209
+ var _splitChildren = (0, _helpers2.splitChildren)(children, cardDataResults, graphqlEntityMap, {
202
210
  name: variableProps.name
203
211
  }),
204
212
  regularChildren = _splitChildren.regularChildren,
205
213
  gtmChildren = _splitChildren.gtmChildren;
206
- var updatedCards = (0, _helpers.appendImages)(imagesData, orderedData, updatedItemsToDisplay);
214
+ var updatedCards = (0, _helpers2.appendImages)(imagesData, orderedData, updatedItemsToDisplay);
207
215
  var displayedCards = updatedCards.slice(0, limit);
208
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, gtmChildren && (0, _helpers.renderChildren)(gtmChildren), /*#__PURE__*/_react["default"].createElement(CardsContainer, (0, _extends2["default"])({
216
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, gtmChildren && (0, _helpers2.renderChildren)(gtmChildren), /*#__PURE__*/_react["default"].createElement(CardsContainer, (0, _extends2["default"])({
209
217
  cardData: displayedCards,
210
218
  entity: primaryEntityToUse,
211
219
  gtmChildren: gtmChildren,