@usereactify/search 4.1.0-beta.5 → 4.2.1

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