@usereactify/search 4.1.0 → 4.2.2

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/CHANGELOG.md ADDED
@@ -0,0 +1,541 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
+
5
+ ### [4.2.2](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.2.1...v4.2.2) (2022-06-21)
6
+
7
+
8
+ ### Features
9
+
10
+ * merge global boosting rules with curation when empty ([248cbdd](https://bitbucket.org/usereactify/reactify-search-ui/commit/248cbdda01864c0d536f5e971f81e331de4c827d))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * pass on nocache url param to config endpoint to bust caching on worker side ([51b9dcf](https://bitbucket.org/usereactify/reactify-search-ui/commit/51b9dcf0b8145691a2dd00aedbe951f71bbc04b3))
16
+
17
+ ### [4.2.1](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.2.0...v4.2.1) (2022-06-14)
18
+
19
+ ## [4.2.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.1.0...v4.2.0) (2022-06-14)
20
+
21
+
22
+ ### Features
23
+
24
+ * allow custom grid styles to be provided and override defaults ([25ce405](https://bitbucket.org/usereactify/reactify-search-ui/commit/25ce405300777b9d55a0e806672787bd552438a6))
25
+
26
+ ## [4.1.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.1.0-beta.6...v4.1.0) (2022-06-09)
27
+
28
+ ## [4.1.0-beta.6](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.1.0-beta.5...v4.1.0-beta.6) (2022-06-08)
29
+
30
+ ## [4.1.0-beta.5](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.1.0-beta.4...v4.1.0-beta.5) (2022-06-08)
31
+
32
+ ## [4.1.0-beta.4](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.1.0-beta.3...v4.1.0-beta.4) (2022-06-08)
33
+
34
+
35
+ ### Bug Fixes
36
+
37
+ * only request live config if shop is present ([a9ab343](https://bitbucket.org/usereactify/reactify-search-ui/commit/a9ab343aef7790650635517a83fe4889e87427a3))
38
+ * remove console error for range filter ([9eeeb5d](https://bitbucket.org/usereactify/reactify-search-ui/commit/9eeeb5df6b1e71ce1d9ce784259b141988c450fb))
39
+
40
+ ## [4.1.0-beta.3](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.1.0-beta.2...v4.1.0-beta.3) (2022-06-08)
41
+
42
+ ## [4.1.0-beta.2](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.1.0-beta.1...v4.1.0-beta.2) (2022-06-08)
43
+
44
+
45
+ ### Bug Fixes
46
+
47
+ * only run tracking event when data exists ([a768c19](https://bitbucket.org/usereactify/reactify-search-ui/commit/a768c1931fd52e69d5538760547c50d610bcb8cf))
48
+
49
+ ## [4.1.0-beta.1](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.1.0-beta.0...v4.1.0-beta.1) (2022-06-08)
50
+
51
+
52
+ ### Features
53
+
54
+ * add sentry release tracking to ci ([67c813d](https://bitbucket.org/usereactify/reactify-search-ui/commit/67c813d2c8812cf1b6c4e2ad1ce9b0a38ebce24b))
55
+
56
+
57
+ ### Bug Fixes
58
+
59
+ * update provider props to suit merged changes ([f014e87](https://bitbucket.org/usereactify/reactify-search-ui/commit/f014e87e14776577d0f83d24a5c94aa6d3b15818))
60
+
61
+ ## [4.1.0-beta.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v5.0.0-beta.0...v4.1.0-beta.0) (2022-06-08)
62
+
63
+ ## [4.0.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.11.0...v4.0.0) (2022-06-08)
64
+
65
+
66
+ ### ⚠ BREAKING CHANGES
67
+
68
+ * switch to using "handle" instead of "id" for sort option
69
+ * switch to using "handle" instead of "id" for filter and filter option
70
+
71
+ ### Features
72
+
73
+ * switch to using "handle" instead of "id" for filter and filter option ([a92bdd7](https://bitbucket.org/usereactify/reactify-search-ui/commit/a92bdd75e68c6291b9f321cec5e77f3934152a9a))
74
+ * switch to using "handle" instead of "id" for sort option ([c2be1fa](https://bitbucket.org/usereactify/reactify-search-ui/commit/c2be1fabd4ba1634e47715393c2065a1ca2ba9e7))
75
+
76
+ ## [3.11.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.10.4...v3.11.0) (2022-06-06)
77
+
78
+
79
+ ### Features
80
+
81
+ * **app:** add provider prop "configId" to support multi-config shops ([2ef6af5](https://bitbucket.org/usereactify/reactify-search-ui/commit/2ef6af5a6d46331690bdd3c35ee72193dca8f587))
82
+
83
+ ### [3.10.4](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.10.3...v3.10.4) (2022-06-02)
84
+
85
+
86
+ ### Bug Fixes
87
+
88
+ * **app:** fix access to undefined sort option ID ([f93bbce](https://bitbucket.org/usereactify/reactify-search-ui/commit/f93bbcec82ee61d4a0bf19d7ab18894339f8a27c))
89
+
90
+ ### [3.10.3](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.10.2...v3.10.3) (2022-06-02)
91
+
92
+
93
+ ### Features
94
+
95
+ * add support for collections assigned to filter groups ([afe0711](https://bitbucket.org/usereactify/reactify-search-ui/commit/afe071115aa7633f49d5f95673c544989e80f011))
96
+
97
+ ### [3.10.2](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.10.1...v3.10.2) (2022-06-02)
98
+
99
+
100
+ ### Features
101
+
102
+ * add sort option into url params ([f78ec9b](https://bitbucket.org/usereactify/reactify-search-ui/commit/f78ec9b69555df9cb297d818a06d08d6587889c3))
103
+
104
+ ### [3.10.1](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.10.0...v3.10.1) (2022-06-02)
105
+
106
+
107
+ ### Features
108
+
109
+ * add onRedirect prop + fix caching issue when searching from search page ([59b32f6](https://bitbucket.org/usereactify/reactify-search-ui/commit/59b32f65c8ede64cbd42d297ed7a4e131b8650eb))
110
+
111
+ ## [3.10.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.9.1...v3.10.0) (2022-06-01)
112
+
113
+
114
+ ### Features
115
+
116
+ * add pagination, sort, filter and promotion analytics events ([5968814](https://bitbucket.org/usereactify/reactify-search-ui/commit/596881486f05189d90823f0ec1b093580d79a786))
117
+
118
+
119
+ ### Bug Fixes
120
+
121
+ * add missing next/prev pagination export ([6b13902](https://bitbucket.org/usereactify/reactify-search-ui/commit/6b139027cc1b5038add4d688a9301add2f6e75ee))
122
+
123
+ ### [3.9.1](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.9.0...v3.9.1) (2022-06-01)
124
+
125
+
126
+ ### Bug Fixes
127
+
128
+ * re-pin @appbaseio/reactivesearch at ^3.14.0 to match advice given to delivery teams ([77bbe4c](https://bitbucket.org/usereactify/reactify-search-ui/commit/77bbe4cb340d0afc2e76c6f584675db5322fee29))
129
+
130
+ ## [3.9.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.8.1...v3.9.0) (2022-06-01)
131
+
132
+
133
+ ### Features
134
+
135
+ * pin @appbaseio/reactivesearch at ^3.14.0 to match advice given to delivery teams ([fb93473](https://bitbucket.org/usereactify/reactify-search-ui/commit/fb93473fa5723a71cfad264f4c4fd09c541ea278))
136
+
137
+ ### [3.8.1](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.8.0...v3.8.1) (2022-05-31)
138
+
139
+
140
+ ### Bug Fixes
141
+
142
+ * add timeout to blur event so results remain clickable ([fe98040](https://bitbucket.org/usereactify/reactify-search-ui/commit/fe980407427256246051bee8be152048ae841cf2))
143
+
144
+ ## [3.8.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.7.0...v3.8.0) (2022-05-30)
145
+
146
+
147
+ ### Features
148
+
149
+ * add grid gap to result list component props ([0d65bd0](https://bitbucket.org/usereactify/reactify-search-ui/commit/0d65bd032cc834060fca5702195566a36ef8fb33))
150
+
151
+ ## [3.7.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.6.0...v3.7.0) (2022-05-30)
152
+
153
+
154
+ ### Features
155
+
156
+ * add support for additional datasearch input props ([a6c6382](https://bitbucket.org/usereactify/reactify-search-ui/commit/a6c63825f6d3e616d57dc0f0af91895475175cc0))
157
+
158
+ ## [3.6.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.5.0...v3.6.0) (2022-05-28)
159
+
160
+
161
+ ### Features
162
+
163
+ * add support for global curation / default boosting rules ([b476e75](https://bitbucket.org/usereactify/reactify-search-ui/commit/b476e75233202bd3ab190d7806cad0b8077463a8))
164
+
165
+ ## [3.5.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.4.4...v3.5.0) (2022-05-27)
166
+
167
+
168
+ ### Features
169
+
170
+ * add zero results and view product (impressions) events ([db4f310](https://bitbucket.org/usereactify/reactify-search-ui/commit/db4f3102c592bc295534bcb5de9523d1f0b26557))
171
+
172
+ ### [3.4.4](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.4.3...v3.4.4) (2022-05-19)
173
+
174
+
175
+ ### Bug Fixes
176
+
177
+ * render issues with expired config cache ([2c408ad](https://bitbucket.org/usereactify/reactify-search-ui/commit/2c408adce950da369db77ff8ece5a8d08cd92d5f))
178
+
179
+ ### [3.4.3](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.4.2...v3.4.3) (2022-04-11)
180
+
181
+
182
+ ### Bug Fixes
183
+
184
+ * check for existence of window before using (node render) ([df7f9b0](https://bitbucket.org/usereactify/reactify-search-ui/commit/df7f9b0c0c29d561e69107c8086a5d0fa023aaee))
185
+
186
+ ### [3.4.2](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.4.1...v3.4.2) (2022-04-11)
187
+
188
+
189
+ ### Bug Fixes
190
+
191
+ * correct logic for calculating search fields when config is empty or updates ([ae67498](https://bitbucket.org/usereactify/reactify-search-ui/commit/ae6749875f295db99f012b54cc06e10346f702d0))
192
+
193
+ ### [3.4.1](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.4.0...v3.4.1) (2022-04-11)
194
+
195
+
196
+ ### Bug Fixes
197
+
198
+ * correct typings for selected sort option within context ([f363fc2](https://bitbucket.org/usereactify/reactify-search-ui/commit/f363fc2c8ea1ad88e65844c382620b927614c403))
199
+
200
+ ## [3.4.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v3.3.0...v3.4.0) (2022-04-11)
201
+
202
+
203
+ ### Features
204
+
205
+ * add hook to get cached or remote config ([cb77750](https://bitbucket.org/usereactify/reactify-search-ui/commit/cb77750f4839134e65afb2eee685755169bfcd5d))
206
+ * add renderBooting prop for rendering while config is loading ([3da876e](https://bitbucket.org/usereactify/reactify-search-ui/commit/3da876e5a87ecd98f2abe462994461b7cd39acda))
207
+ * ignore cached config if "nocache" url search param is set ([38823c2](https://bitbucket.org/usereactify/reactify-search-ui/commit/38823c2272fd0a2ae6d45401df35a2148107fe8e))
208
+ * update provider to use live config hook ([d898df0](https://bitbucket.org/usereactify/reactify-search-ui/commit/d898df01cb21538d9cd5dada9d343967ad91cdd6))
209
+
210
+ ## [3.3.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v2.1.1...v3.3.0) (2022-03-28)
211
+
212
+
213
+ ### Features
214
+
215
+ * add shop name in context, ([13b54e2](https://bitbucket.org/usereactify/reactify-search-ui/commit/13b54e28715b7789cc5cf47d82cc205d175ce1ee))
216
+ * add warning and prevent tracking request if "shopifyPermanentDomain" is missing ([bcbf378](https://bitbucket.org/usereactify/reactify-search-ui/commit/bcbf378ac057755347556a60bae58684df8f65c1))
217
+ * additional result props in ResultList ([821b022](https://bitbucket.org/usereactify/reactify-search-ui/commit/821b02281baa07b844ce3c6dbba1f8a1ef42dee7))
218
+ * call track after trigger query in SearhInput ([8a09111](https://bitbucket.org/usereactify/reactify-search-ui/commit/8a0911165ea4484bf7bcf65b12c687a0d8b674ca))
219
+ * remove combined results logic, discriminate product and callout ([ee1b38e](https://bitbucket.org/usereactify/reactify-search-ui/commit/ee1b38eeddad8eedec473c5b49364b67fa6ae311))
220
+ * remove event handling overrides in useAnalytics track function ([3cb1bc5](https://bitbucket.org/usereactify/reactify-search-ui/commit/3cb1bc50318f64c2d11013697152d187108d603c))
221
+ * update callout card for new ElasticCallout type ([8db23b5](https://bitbucket.org/usereactify/reactify-search-ui/commit/8db23b5e5b240b45ada520b30a43ff988bcff9d5))
222
+ * useAnalytics hook ([17fb749](https://bitbucket.org/usereactify/reactify-search-ui/commit/17fb749e763870a2888c3cf68ceeff3cd0d8fc21))
223
+
224
+
225
+ ### Bug Fixes
226
+
227
+ * add missing package "axios" ([eaa4763](https://bitbucket.org/usereactify/reactify-search-ui/commit/eaa476367ef0947b20c24fe4001efb4550184516))
228
+ * fix request payload ([aa33e95](https://bitbucket.org/usereactify/reactify-search-ui/commit/aa33e95ba1162ec0bbb84cd25c2e4483f3822455))
229
+ * fix search event payload ([5bd8c03](https://bitbucket.org/usereactify/reactify-search-ui/commit/5bd8c03e024f3ff0fb14135b9dbc60a9c709fb38))
230
+ * match useAnalytics endpoint signature ([b94a70c](https://bitbucket.org/usereactify/reactify-search-ui/commit/b94a70c9b1a1f8acc9a11bbff8e6414e77d34657))
231
+ * only record select event when link clicked ([ba95992](https://bitbucket.org/usereactify/reactify-search-ui/commit/ba959923785837ed54053257012a1cfdcc69be59))
232
+ * remove name and variant from select_item event ([a87037d](https://bitbucket.org/usereactify/reactify-search-ui/commit/a87037d493a269fd402f68431fa4fd0c90911f70))
233
+ * select_item event, add questions in comments ([8693a78](https://bitbucket.org/usereactify/reactify-search-ui/commit/8693a781049ee44d429f4bf6149532737d9ccbb8))
234
+ * support v1 indexes in ResultList component ([4c23ef3](https://bitbucket.org/usereactify/reactify-search-ui/commit/4c23ef3757daeb505823f4af6399746a29404f7a))
235
+ * white line ([2a5a191](https://bitbucket.org/usereactify/reactify-search-ui/commit/2a5a191872531e8ccdd63ff0135d6474324f3f43))
236
+
237
+ ### [2.1.1](https://bitbucket.org/usereactify/reactify-search-ui/compare/v2.1.0...v2.1.1) (2022-03-01)
238
+
239
+
240
+ ### Bug Fixes
241
+
242
+ * add nested attribute to collection position sort clause (RS-124) ([0932b3e](https://bitbucket.org/usereactify/reactify-search-ui/commit/0932b3e6e64dd2a0ef9df592c431f0dc5340fcc1))
243
+
244
+ ## [2.1.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v2.0.2...v2.1.0) (2022-02-28)
245
+
246
+
247
+ ### Features
248
+
249
+ * add image to default result card render ([c50319e](https://bitbucket.org/usereactify/reactify-search-ui/commit/c50319e1011a7465c07b509b5164ea04b9f38684))
250
+ * sort of _score always be desc ([f51e75c](https://bitbucket.org/usereactify/reactify-search-ui/commit/f51e75c4f21acb54fbe64e444b26dd02f452c6ac))
251
+
252
+ ### [2.0.2](https://bitbucket.org/usereactify/reactify-search-ui/compare/v2.0.1...v2.0.2) (2021-12-15)
253
+
254
+
255
+ ### Bug Fixes
256
+
257
+ * support missing compare_at_price on price sets ([dbe3fc2](https://bitbucket.org/usereactify/reactify-search-ui/commit/dbe3fc20db23e1969f0d0c9ee75e646cce3f1858))
258
+
259
+ ### [2.0.1](https://bitbucket.org/usereactify/reactify-search-ui/compare/v2.0.0...v2.0.1) (2021-12-15)
260
+
261
+
262
+ ### Bug Fixes
263
+
264
+ * check compare_at_price exists before formatting in useProductPrice ([acba76c](https://bitbucket.org/usereactify/reactify-search-ui/commit/acba76c6d8e0c5ba1482fe230e20fcd286f11e69))
265
+
266
+ ## [2.0.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v1.3.0...v2.0.0) (2021-11-18)
267
+
268
+
269
+ ### ⚠ BREAKING CHANGES
270
+
271
+ * move index to a dedicated prop, make credentials optional and set default
272
+
273
+ ### Features
274
+
275
+ * move index to a dedicated prop, make credentials optional and set default ([a0696ba](https://bitbucket.org/usereactify/reactify-search-ui/commit/a0696ba239b7b036b37a2764a939ce2f26e992b4))
276
+
277
+ ## [1.3.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v1.2.0...v1.3.0) (2021-11-18)
278
+
279
+
280
+ ### Features
281
+
282
+ * add support for valuesManual in filter option filtering ([c2cef69](https://bitbucket.org/usereactify/reactify-search-ui/commit/c2cef69e491f9852a1250e7218550ac6c1e1671e))
283
+ * add totalSelected to filter render props (RS-16) ([7949200](https://bitbucket.org/usereactify/reactify-search-ui/commit/7949200f0307637dda424875e7ca394aa179cdb6))
284
+
285
+ ## [1.2.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v1.1.1...v1.2.0) (2021-10-19)
286
+
287
+
288
+ ### Features
289
+
290
+ * adjust page size to accommodate callouts ([0365896](https://bitbucket.org/usereactify/reactify-search-ui/commit/03658965e65ba451a5c419b14599a71296e589c3))
291
+
292
+ ### [1.1.1](https://bitbucket.org/usereactify/reactify-search-ui/compare/v1.1.0...v1.1.1) (2021-10-15)
293
+
294
+
295
+ ### Bug Fixes
296
+
297
+ * pass render prop to ResultCardCalloutInner, add pagePosition prop ([3983db4](https://bitbucket.org/usereactify/reactify-search-ui/commit/3983db4c471a3172259662f03e400c3f8ed14b0d))
298
+
299
+ ## [1.1.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v1.0.1...v1.1.0) (2021-10-13)
300
+
301
+
302
+ ### Features
303
+
304
+ * disable callouts unless enableCallouts prop is set ([c2ac79a](https://bitbucket.org/usereactify/reactify-search-ui/commit/c2ac79abffc87d050b766b6786977de43920af17))
305
+
306
+ ### [1.0.1](https://bitbucket.org/usereactify/reactify-search-ui/compare/v1.0.0...v1.0.1) (2021-10-13)
307
+
308
+
309
+ ### Bug Fixes
310
+
311
+ * filter currentId from all filters in useReactiveReactProp ([645fe73](https://bitbucket.org/usereactify/reactify-search-ui/commit/645fe7373f469255d15bbe12c05d478193053ac6))
312
+
313
+ ## [1.0.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v0.2.0-beta.0...v1.0.0) (2021-10-13)
314
+
315
+
316
+ ### Features
317
+
318
+ * add additionalComponentIds prop to provider ([1db51a0](https://bitbucket.org/usereactify/reactify-search-ui/commit/1db51a0f905475d2d3399f9de7ff6f025860dce5))
319
+
320
+ ## [0.2.0-beta.0](https://bitbucket.org/usereactify/reactify-search-ui/compare/v0.1.29...v0.2.0-beta.0) (2021-10-08)
321
+
322
+
323
+ ### Features
324
+
325
+ * combined results in result list ([a85f39e](https://bitbucket.org/usereactify/reactify-search-ui/commit/a85f39e8d425c51b8108df488145ade8eec1cdf5))
326
+ * render callouts in result list, implement grid ([e8cbaad](https://bitbucket.org/usereactify/reactify-search-ui/commit/e8cbaad07db3daf2c4a59a2de565774db213d0c6))
327
+
328
+ ### [0.1.29](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.28...v0.1.29) (2021-08-05)
329
+
330
+
331
+ ### Features
332
+
333
+ * apply defaultQuery to nested variant filters to check inventory available ([a348522](https://gitlab.com/reactifyapps/reactify-search-ui/commit/a3485220bb3c682d70a6efcd9b520972430a00d7))
334
+
335
+
336
+ ### Bug Fixes
337
+
338
+ * size and colour filter targets in docs ([735c12e](https://gitlab.com/reactifyapps/reactify-search-ui/commit/735c12ed29683d324651382f4fad55c16941e716))
339
+
340
+ ### [0.1.28](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.24...v0.1.28) (2021-07-23)
341
+
342
+ ### Features
343
+
344
+ - allow provider theme to be configured ([33eb10f](https://gitlab.com/reactifyapps/reactify-search-ui/commit/33eb10f50dbdaaf2f399ea0e95b673222da868b1))
345
+ - set default reset theme ([0661294](https://gitlab.com/reactifyapps/reactify-search-ui/commit/0661294a03eae7e70d29a2415df968da38bb0bf8))
346
+
347
+ ### Bug Fixes
348
+
349
+ - instant search sorting ([b6ce036](https://gitlab.com/reactifyapps/reactify-search-ui/commit/b6ce036d06d72dbbe28fb1892537ee399ee77c0c))
350
+
351
+ ### [0.1.27](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.25...v0.1.27) (2021-07-01)
352
+
353
+ ### Features
354
+
355
+ - set default reset theme ([0661294](https://gitlab.com/reactifyapps/reactify-search-ui/commit/0661294a03eae7e70d29a2415df968da38bb0bf8))
356
+
357
+ ### [0.1.26](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.25...v0.1.26) (2021-06-28)
358
+
359
+ ### Features
360
+
361
+ - allow provider theme to be configured ([33eb10f](https://gitlab.com/reactifyapps/reactify-search-ui/commit/33eb10f50dbdaaf2f399ea0e95b673222da868b1))
362
+
363
+ ### [0.1.25](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.24...v0.1.25) (2021-06-28)
364
+
365
+ ### [0.1.24](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.23...v0.1.24) (2021-06-25)
366
+
367
+ ### Bug Fixes
368
+
369
+ - add missing lower case to existing sort sensor ([c7099a0](https://gitlab.com/reactifyapps/reactify-search-ui/commit/c7099a0edf57658fa006ac018b017807891a44dd))
370
+
371
+ ### [0.1.23](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.22...v0.1.23) (2021-06-25)
372
+
373
+ ### Bug Fixes
374
+
375
+ - force lower case curation search term ([09d73bf](https://gitlab.com/reactifyapps/reactify-search-ui/commit/09d73bf8b86942f8fb67d9283e55bee6e99ae963))
376
+
377
+ ### [0.1.22](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.21...v0.1.22) (2021-06-24)
378
+
379
+ ### Features
380
+
381
+ - add support for pinning products in curations that don't exist within the resultset ([3ceadf6](https://gitlab.com/reactifyapps/reactify-search-ui/commit/3ceadf621ab78b216bf355d3e2ec648a6d9fee44))
382
+
383
+ ### [0.1.21](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.20...v0.1.21) (2021-06-18)
384
+
385
+ ### Bug Fixes
386
+
387
+ - normalise collection handle and search term when resolving curation ([6bd1aec](https://gitlab.com/reactifyapps/reactify-search-ui/commit/6bd1aecd163743bdcfc9582389f35a4dc579930c))
388
+
389
+ ### [0.1.20](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.19...v0.1.20) (2021-06-17)
390
+
391
+ ### Features
392
+
393
+ - support hidden curation products in SensorSort ([c80a52f](https://gitlab.com/reactifyapps/reactify-search-ui/commit/c80a52f6e515bb023dd99caedc20ace38444b725))
394
+
395
+ ### Bug Fixes
396
+
397
+ - regenerate yarn.lock in release script ([b97ddef](https://gitlab.com/reactifyapps/reactify-search-ui/commit/b97ddefae363a25303afc90042044f0692fac3c5))
398
+ - use yarn to fix monorepo issues, upgrade docusaurus ([aa4ee48](https://gitlab.com/reactifyapps/reactify-search-ui/commit/aa4ee4851b72acc30718974b3642c0932aa56f35))
399
+
400
+ ### [0.1.19](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.18...v0.1.19) (2021-06-14)
401
+
402
+ ### Bug Fixes
403
+
404
+ - **search:** ssr build issue due to window ([aada68a](https://gitlab.com/reactifyapps/reactify-search-ui/commit/aada68a20cdb8cffe43abbde487229819fdd39e3))
405
+
406
+ ### [0.1.18](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.17...v0.1.18) (2021-06-04)
407
+
408
+ ### Bug Fixes
409
+
410
+ - use variants.available in SensorInventoryAvailable ([ffaa237](https://gitlab.com/reactifyapps/reactify-search-ui/commit/ffaa237663ad3a44ed798539c5c5306f11533ec8))
411
+
412
+ ### [0.1.17](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.16...v0.1.17) (2021-06-01)
413
+
414
+ ### Bug Fixes
415
+
416
+ - case insensitive redirect match ([#11](https://gitlab.com/reactifyapps/reactify-search-ui/issues/11)) ([096c7fb](https://gitlab.com/reactifyapps/reactify-search-ui/commit/096c7fb84d77ae0d985b2e7cf4ade6c80e3171e7))
417
+
418
+ ### [0.1.16](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.15...v0.1.16) (2021-05-10)
419
+
420
+ ### Bug Fixes
421
+
422
+ - **search:** include \_score in sort state eligible for curations ([2839929](https://gitlab.com/reactifyapps/reactify-search-ui/commit/2839929be960aabd0b45e4aad0ce6a5abdc776e6))
423
+
424
+ ### [0.1.15](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.14...v0.1.15) (2021-05-10)
425
+
426
+ ### Bug Fixes
427
+
428
+ - **search:** correct type for context submitSearch ([8b3e647](https://gitlab.com/reactifyapps/reactify-search-ui/commit/8b3e64716b6d82e14efc8abb88ff1f6013d5c182))
429
+
430
+ ### [0.1.14](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.13...v0.1.14) (2021-05-10)
431
+
432
+ ### Features
433
+
434
+ - **search:** allow searchQuery to be provided to submitSearch ([116e5d6](https://gitlab.com/reactifyapps/reactify-search-ui/commit/116e5d60084ae20ccac3bb07d9e17d2158888479))
435
+ - **search:** onBlur, onFocus events in SearchInput component ([c6799be](https://gitlab.com/reactifyapps/reactify-search-ui/commit/c6799be75c667a47c9c6aac84696040ff0f12acc))
436
+
437
+ ### [0.1.13](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.12...v0.1.13) (2021-05-09)
438
+
439
+ ### Features
440
+
441
+ - drop SensorStackInstantsearch in favor of single SensorStack with context ([f31a60b](https://gitlab.com/reactifyapps/reactify-search-ui/commit/f31a60b9ba6bf2c61d88529b3ceec0b5aa188e1f))
442
+
443
+ ### [0.1.12](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.11...v0.1.12) (2021-05-07)
444
+
445
+ ### Features
446
+
447
+ - add SearchInput component and associated instant search support ([98a8af7](https://gitlab.com/reactifyapps/reactify-search-ui/commit/98a8af726f9e781bd03c5ed2dd815c0976b19f21))
448
+ - add SensorStackInstantSearch ([e93308f](https://gitlab.com/reactifyapps/reactify-search-ui/commit/e93308f06532e7877300c84820e5019b152c895b))
449
+ - **theme-debut:** add instant search component ([3017fb2](https://gitlab.com/reactifyapps/reactify-search-ui/commit/3017fb2d2b2da6413d148e7853e47f7cdf30e3e2))
450
+
451
+ ### [0.1.11](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.10...v0.1.11) (2021-05-07)
452
+
453
+ ### Features
454
+
455
+ - add debug output to provider ([c45de1a](https://gitlab.com/reactifyapps/reactify-search-ui/commit/c45de1ae681ede827ae899252758171309bac09b))
456
+
457
+ ### Bug Fixes
458
+
459
+ - add missing sensors to result list react prop ([2293c43](https://gitlab.com/reactifyapps/reactify-search-ui/commit/2293c4391917a536e31fc3f3fce08703ab134e6b))
460
+
461
+ ### [0.1.10](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.9...v0.1.10) (2021-05-07)
462
+
463
+ ### Features
464
+
465
+ - add debug output to SensorSort ([0b3d125](https://gitlab.com/reactifyapps/reactify-search-ui/commit/0b3d125f29dfe678318d91390d3fbfd13a932947))
466
+
467
+ ### [0.1.9](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.8...v0.1.9) (2021-05-05)
468
+
469
+ ### Bug Fixes
470
+
471
+ - force value to be an array in filter customQuery ([454c110](https://gitlab.com/reactifyapps/reactify-search-ui/commit/454c11023a3386c00ad4bcec33ba04d94c86c330))
472
+
473
+ ### [0.1.8](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.7...v0.1.8) (2021-05-04)
474
+
475
+ ### Bug Fixes
476
+
477
+ - **theme-debut:** fix flex width on results grid ([049da94](https://gitlab.com/reactifyapps/reactify-search-ui/commit/049da942aa87c7a887d689f78f77da02b9b63422))
478
+
479
+ ### [0.1.7](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.6...v0.1.7) (2021-05-04)
480
+
481
+ ### Features
482
+
483
+ - add filterStackId prop to provider ([#2](https://gitlab.com/reactifyapps/reactify-search-ui/issues/2)) ([043e9f0](https://gitlab.com/reactifyapps/reactify-search-ui/commit/043e9f0745ad1d6e15ec99400df099320fecf7cf))
484
+ - add ResultPagination component and usePages hook ([#4](https://gitlab.com/reactifyapps/reactify-search-ui/issues/4)) ([e8dcf61](https://gitlab.com/reactifyapps/reactify-search-ui/commit/e8dcf610ec1eac9b328935a713732284a1f4d7f8))
485
+ - add ResultStateProvider component for accessing page state ([ec4cc6f](https://gitlab.com/reactifyapps/reactify-search-ui/commit/ec4cc6f08ef2aeae46fe864e61d71ec36e50a0e3))
486
+ - add SensorInventoryAvailable and rename SensorStack ([18d7aaa](https://gitlab.com/reactifyapps/reactify-search-ui/commit/18d7aaa4a2d7e82d34014ccc888c624cffba4f03))
487
+ - add support for settingsHideUnavailable at filter level for variant nested fields ([5ca63e1](https://gitlab.com/reactifyapps/reactify-search-ui/commit/5ca63e1dcd35c9f6f80c83d49ab6f8bb87ecaa7d))
488
+ - rename FilterMatrix to FilterStack ([62788cd](https://gitlab.com/reactifyapps/reactify-search-ui/commit/62788cd135e424ab81426ad7e1ae7a3d825d4e28))
489
+ - renderAfter, renderBefore and renderPagination props on ResultList ([05d2203](https://gitlab.com/reactifyapps/reactify-search-ui/commit/05d2203447d4ca9fb7843dc3ad0b8b8f111b67e6))
490
+ - renderError prop on ResultList component ([d95d6df](https://gitlab.com/reactifyapps/reactify-search-ui/commit/d95d6df10059badc661eeb1041db76531e44231c))
491
+ - renderLoading prop on ResultList component with initial search logic ([1568d2e](https://gitlab.com/reactifyapps/reactify-search-ui/commit/1568d2e8729b455b50d42c532cb3bcb91c4e4130))
492
+ - renderLoadMoreButton prop on ResultList with default button ([bd5af24](https://gitlab.com/reactifyapps/reactify-search-ui/commit/bd5af24daf4fe1e3c41afa5749f10df0d8b64bb2))
493
+ - renderPaginationNextPrev prop on ResultList with default component ([d587303](https://gitlab.com/reactifyapps/reactify-search-ui/commit/d58730367916629770240c8e85549003ce8ddc28))
494
+
495
+ ### Bug Fixes
496
+
497
+ - **theme-debut:** browser warning for svg property ([4fd7948](https://gitlab.com/reactifyapps/reactify-search-ui/commit/4fd794848b4b15becb601718f635005407db6d79))
498
+ - **theme-debut:** use new SensorStack component ([da59639](https://gitlab.com/reactifyapps/reactify-search-ui/commit/da5963989b5012a231df3ea572f02095c4cc8489))
499
+
500
+ ### [0.1.6](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.5...v0.1.6) (2021-04-28)
501
+
502
+ ### Features
503
+
504
+ - **theme-debut:** add styling for product cards ([1397aa1](https://gitlab.com/reactifyapps/reactify-search-ui/commit/1397aa193eec73592e17b32a5a12d4806a7f808b))
505
+ - add listClassName prop to ResultList component ([f28be3e](https://gitlab.com/reactifyapps/reactify-search-ui/commit/f28be3e4d0f8c74d5e7e20e214aec0ee7867ce7c))
506
+ - add renderResultCard prop to ResultList component ([889255f](https://gitlab.com/reactifyapps/reactify-search-ui/commit/889255fc8cb2f1db0a6d86be2159276a0da384b7))
507
+
508
+ ### [0.1.5](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.4...v0.1.5) (2021-04-28)
509
+
510
+ ### Features
511
+
512
+ - **theme-debut:** add styled filters ([467b255](https://gitlab.com/reactifyapps/reactify-search-ui/commit/467b2551723aa413696f4060d9b20777a40298e4))
513
+ - **theme-debut:** add tailwind jit styles ([6e28c52](https://gitlab.com/reactifyapps/reactify-search-ui/commit/6e28c520a2113f68fb0fc37bbedd2083c39ad39f))
514
+
515
+ ### Bug Fixes
516
+
517
+ - show all filter options unless displaySize is defined ([6887ed7](https://gitlab.com/reactifyapps/reactify-search-ui/commit/6887ed70737b864cf87cf97433626b9e5ecb7c98))
518
+
519
+ ### [0.1.4](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.3...v0.1.4) (2021-04-28)
520
+
521
+ ### Bug Fixes
522
+
523
+ - export Filter and FilterList components ([7a297dd](https://gitlab.com/reactifyapps/reactify-search-ui/commit/7a297dd630c3582d5bf9ae32eb6d31663ee2654d))
524
+
525
+ ### [0.1.3](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.2...v0.1.3) (2021-04-28)
526
+
527
+ ### Bug Fixes
528
+
529
+ - define nested field prop for variants ([2af7ebe](https://gitlab.com/reactifyapps/reactify-search-ui/commit/2af7ebe6b33c1ca19faf27ca0f525fe1f1669ced))
530
+
531
+ ### [0.1.2](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.1...v0.1.2) (2021-04-27)
532
+
533
+ ### Bug Fixes
534
+
535
+ - use commonjs ([b742b8b](https://gitlab.com/reactifyapps/reactify-search-ui/commit/b742b8b268c0a663361147efb93bf120a208a708))
536
+
537
+ ### [0.1.1](https://gitlab.com/reactifyapps/reactify-search-ui/compare/v0.1.0...v0.1.1) (2021-04-27)
538
+
539
+ ## 0.1.0 (2021-04-27)
540
+
541
+ Initial release.
@@ -54,10 +54,15 @@ const useLiveConfig = (shopifyPermanentDomain, configId) => {
54
54
  if (configId) {
55
55
  searchParams.set("id", configId);
56
56
  }
57
+ const skipCache = new URLSearchParams(window.location.href.split("?")[1]).get("nocache") !== null;
58
+ if (skipCache) {
59
+ searchParams.set("nocache", "true");
60
+ }
57
61
  const json = yield fetch(`https://config.search.reactify.app/?${searchParams.toString()}`).then((response) => response.json());
58
62
  setConfig(json.body);
59
63
  window.sessionStorage.setItem("reactify-search:config", JSON.stringify({
60
64
  expiresAt: new Date().getTime() + CACHE_EXPIRY,
65
+ noCache: skipCache,
61
66
  config: json.body,
62
67
  }));
63
68
  }))();
package/dist/provider.js CHANGED
@@ -275,5 +275,20 @@ const useCuration = (config, collection, searchQuery) => react_1.default.useMemo
275
275
  normalisedHandleOrSearchTerm === normalisedCollectionHandle);
276
276
  return false;
277
277
  });
278
- return curation ? curation : globalCuration ? globalCuration : undefined;
278
+ const addGlobalBoosting = (curation) => {
279
+ const curationIsCollection = curation.type === "collection";
280
+ if (!curationIsCollection)
281
+ return curation;
282
+ const curationHasRules = !!curation.boosting.groupings.length ||
283
+ !!curation.boosting.sortings.length;
284
+ if (curationHasRules || !globalCuration)
285
+ return curation;
286
+ const curationWithGlobalBoosting = Object.assign(Object.assign({}, curation), { boosting: globalCuration.boosting });
287
+ return curationWithGlobalBoosting;
288
+ };
289
+ return curation
290
+ ? addGlobalBoosting(curation)
291
+ : globalCuration
292
+ ? globalCuration
293
+ : undefined;
279
294
  }, [config, collection, searchQuery]);
@@ -11,9 +11,10 @@ declare type ResultProps = ReactivesearchResultProps & {
11
11
  products: ElasticProduct[];
12
12
  };
13
13
  declare type Props = {
14
- gridGap?: number;
15
14
  pageSize?: number;
15
+ gridGap?: number;
16
16
  gridColumns?: number;
17
+ gridStyle?: React.HTMLAttributes<HTMLElement>["style"];
17
18
  listClassName?: string;
18
19
  renderLoading?: () => JSX.Element | null;
19
20
  renderNoResults?: () => JSX.Element | null;
@@ -23,17 +23,17 @@ const ResultList = (props) => {
23
23
  };
24
24
  exports.ResultList = ResultList;
25
25
  const ResultListInner = (props) => {
26
- const { gridGap, gridColumns, renderError, renderAfter, renderBefore, renderLoading, listClassName, renderResults, renderNoResults, renderResultCard, renderLoadMoreButton, renderResultCardCallout, reactivesearchResultProps, } = props;
26
+ const { gridGap, gridColumns, gridStyle, renderError, renderAfter, renderBefore, renderLoading, listClassName, renderResults, renderNoResults, renderResultCard, renderLoadMoreButton, renderResultCardCallout, reactivesearchResultProps, } = props;
27
27
  const filterStack = (0, hooks_1.useFilterStack)();
28
28
  const { instantSearch, searchQuery } = (0, hooks_1.useSearch)();
29
29
  const { track } = (0, __1.useAnalytics)();
30
30
  const initialSearchHasRun = react_1.default.useMemo(() => "undefined" !==
31
31
  typeof reactivesearchResultProps.resultStats.numberOfResults, [reactivesearchResultProps]);
32
- const styleProp = react_1.default.useMemo(() => ({
32
+ const styleProp = react_1.default.useMemo(() => gridStyle !== null && gridStyle !== void 0 ? gridStyle : {
33
33
  display: "grid",
34
34
  gap: `${gridGap !== null && gridGap !== void 0 ? gridGap : "0px"}`,
35
35
  gridTemplateColumns: `repeat(${gridColumns !== null && gridColumns !== void 0 ? gridColumns : 4}, minmax(0, 1fr))`,
36
- }), [gridColumns, gridGap]);
36
+ }, [gridGap, gridColumns, gridStyle]);
37
37
  const resultProps = react_1.default.useMemo(() => (Object.assign(Object.assign({}, reactivesearchResultProps), { products: reactivesearchResultProps.data.filter((document) => elastic_1.ElasticDocumentType.Product === document.type || !document.type), callouts: reactivesearchResultProps.data.filter((document) => elastic_1.ElasticDocumentType.Callout === document.type) })), [reactivesearchResultProps]);
38
38
  if (reactivesearchResultProps.error) {
39
39
  if (renderError)
package/package.json CHANGED
@@ -1,19 +1,21 @@
1
1
  {
2
2
  "name": "@usereactify/search",
3
3
  "description": "React UI library for Reactify Search",
4
- "version": "4.1.0",
4
+ "version": "4.2.2",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "files": [
9
9
  "dist",
10
- "README.md"
10
+ "README.md",
11
+ "CHANGELOG.md"
11
12
  ],
12
13
  "scripts": {
13
14
  "watch": "tsc --watch",
14
15
  "release": "standard-version",
15
16
  "release:patch": "standard-version --release-as patch",
16
17
  "release:beta": "standard-version --release-as minor --prerelease beta",
18
+ "release:local": "yalc publish",
17
19
  "build": "rimraf dist && tsc",
18
20
  "prettier": "prettier --write .",
19
21
  "storybook": "start-storybook -p 6006",