@bridgeline-digital/hawksearch-handlebars-ui 6.3.2 → 6.3.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +366 -353
- package/dist/hawksearch-handlebars-ui.cjs +2 -2
- package/dist/hawksearch-handlebars-ui.js +463 -439
- package/dist/hawksearch-handlebars-ui.min.js +945 -945
- package/dist/hawksearch-handlebars-ui.umd.cjs +2 -2
- package/docs/assets/custom.css +25 -25
- package/docs/index.html +2 -2
- package/package.json +87 -87
- package/readme.md +38 -38
package/changelog.md
CHANGED
|
@@ -1,353 +1,366 @@
|
|
|
1
|
-
# 6.3.
|
|
2
|
-
|
|
3
|
-
## Enhancements
|
|
4
|
-
|
|
5
|
-
1.
|
|
6
|
-
2.
|
|
7
|
-
|
|
8
|
-
# 6.3.
|
|
9
|
-
|
|
10
|
-
## Enhancements
|
|
11
|
-
|
|
12
|
-
1.
|
|
13
|
-
|
|
14
|
-
# 6.3.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
1.
|
|
19
|
-
2.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
# 6.1
|
|
88
|
-
|
|
89
|
-
##
|
|
90
|
-
|
|
91
|
-
1.
|
|
92
|
-
|
|
93
|
-
# 6.
|
|
94
|
-
|
|
95
|
-
## Enhancements
|
|
96
|
-
|
|
97
|
-
1.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
1.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
##
|
|
323
|
-
|
|
324
|
-
1.
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
1
|
+
# 6.3.4
|
|
2
|
+
|
|
3
|
+
## Enhancements
|
|
4
|
+
|
|
5
|
+
1. Allowing image searches to function when initiated from the home page or other non-search pages.
|
|
6
|
+
2. Converting .avif file to jpeg
|
|
7
|
+
|
|
8
|
+
# 6.3.3
|
|
9
|
+
|
|
10
|
+
## Enhancements
|
|
11
|
+
|
|
12
|
+
1. Update documentation.
|
|
13
|
+
|
|
14
|
+
# 6.3.2
|
|
15
|
+
|
|
16
|
+
## Enhancements
|
|
17
|
+
|
|
18
|
+
1. Support .avif file format on VisualSearch.
|
|
19
|
+
2. Add configurable search debounce on Searchfield component.
|
|
20
|
+
|
|
21
|
+
# 6.3.1
|
|
22
|
+
|
|
23
|
+
## Enhancements
|
|
24
|
+
|
|
25
|
+
1. Fix rendering percentage`(%)` symcol correctly when displaying Autocomplete results.
|
|
26
|
+
|
|
27
|
+
# 6.3.0
|
|
28
|
+
|
|
29
|
+
# Enhancements
|
|
30
|
+
|
|
31
|
+
1. Added Unified Search component `hawksearch-unifiedsearch-field` that allows Keyword and Concept search simultaneously.
|
|
32
|
+
2. Support multiple rotating placeholder examples with a typing-out effect on searchbar components: `search-field`, `conceptsearch-field`, `imagesearch-field` and `unified-search`.
|
|
33
|
+
3. Multiple performance and stability improvements.
|
|
34
|
+
|
|
35
|
+
# 6.2.10
|
|
36
|
+
|
|
37
|
+
## Enhancements
|
|
38
|
+
|
|
39
|
+
1. Provide additional Result Item parameters on `hawksearch:conversationalsearch` component.
|
|
40
|
+
|
|
41
|
+
# 6.2.9
|
|
42
|
+
|
|
43
|
+
## Fixes
|
|
44
|
+
|
|
45
|
+
1. Fix consistency issues when reading and writing `queryStringParams` on custom implementations.
|
|
46
|
+
|
|
47
|
+
# 6.2.8
|
|
48
|
+
|
|
49
|
+
## Fixes
|
|
50
|
+
|
|
51
|
+
1. Update `hawksearch-autocomplete` default template to also render Suggested Product/Content without categories.
|
|
52
|
+
|
|
53
|
+
# 6.2.6
|
|
54
|
+
|
|
55
|
+
## Fixes
|
|
56
|
+
|
|
57
|
+
1. Prevent `queryStringParams` being overriden when generating a SearchUrl with custom query parameters.
|
|
58
|
+
|
|
59
|
+
# 6.2.5
|
|
60
|
+
|
|
61
|
+
## Fixes
|
|
62
|
+
|
|
63
|
+
1. Fix issue where VisualSearch queries would append on Search URL.
|
|
64
|
+
|
|
65
|
+
# 6.2.4
|
|
66
|
+
|
|
67
|
+
## Enhancements
|
|
68
|
+
|
|
69
|
+
1. Added `hawksearch:visualsearch-upload-failed` event hooks on VisualSearch component to better handle errors when uploading images.
|
|
70
|
+
|
|
71
|
+
## Fixes
|
|
72
|
+
|
|
73
|
+
1. Fix issue where workbench layout options are inconsistent when rendering Recommendation component.
|
|
74
|
+
|
|
75
|
+
# 6.2.3
|
|
76
|
+
|
|
77
|
+
## Fixes
|
|
78
|
+
|
|
79
|
+
1. Fix issue where recent queries are not decoded.
|
|
80
|
+
|
|
81
|
+
# 6.2.2
|
|
82
|
+
|
|
83
|
+
## Fixes
|
|
84
|
+
|
|
85
|
+
1. Fixed bug in tracking API when clicking an item.
|
|
86
|
+
|
|
87
|
+
# 6.2.1
|
|
88
|
+
|
|
89
|
+
## Enhancements
|
|
90
|
+
|
|
91
|
+
1. Modified SearchService so that `hawksearch:search-failed` event fires before if the search fails due to any error.
|
|
92
|
+
|
|
93
|
+
# 6.2.0
|
|
94
|
+
|
|
95
|
+
## Enhancements
|
|
96
|
+
|
|
97
|
+
1. Added Conversational Search component `hawksearch-conversationalsearch` that allows thread maintained prompt driven search.
|
|
98
|
+
2. Added SmartResponse component `hawksearch-smartresponse` that allows prompt driven analysis of search results.
|
|
99
|
+
|
|
100
|
+
# 6.1.13
|
|
101
|
+
|
|
102
|
+
## Bug Fixes
|
|
103
|
+
|
|
104
|
+
1. Resolved an issue where changing the page size retained the previous pagination page, resulting in zero records displayed.
|
|
105
|
+
|
|
106
|
+
# 6.1.12
|
|
107
|
+
|
|
108
|
+
## Enhancements
|
|
109
|
+
|
|
110
|
+
1. Pagination links contains all query params, so facets and filters remain consistent when opening multiple pages in new tabs.
|
|
111
|
+
|
|
112
|
+
# 6.1.10
|
|
113
|
+
|
|
114
|
+
## Enhancements
|
|
115
|
+
|
|
116
|
+
1. Suggest `Popular Searches` on Autocomplete popup without needing products or Categories to match the query.
|
|
117
|
+
|
|
118
|
+
# 6.1.9
|
|
119
|
+
|
|
120
|
+
## Enhancements
|
|
121
|
+
|
|
122
|
+
1. Make decodeQuery and decodeFacetValue defaults to true on Search and Autocomplete services.
|
|
123
|
+
|
|
124
|
+
## Bug Fixes
|
|
125
|
+
|
|
126
|
+
1. Fix issue where facets and categories on Autocomplete popup are not decoded.
|
|
127
|
+
|
|
128
|
+
# 6.1.8
|
|
129
|
+
|
|
130
|
+
## Bug Fixes
|
|
131
|
+
|
|
132
|
+
1. Fix issue whererange facet not working when currency or number are false.
|
|
133
|
+
|
|
134
|
+
# 6.1.7
|
|
135
|
+
|
|
136
|
+
## Enhancements
|
|
137
|
+
|
|
138
|
+
1. Added `HawkSearch.config.components.['search-field'].disableAutofill` property with a default value of `false` to Specify whether the input element should be pre-populared if "query" parameter exists on the URL.
|
|
139
|
+
|
|
140
|
+
# 6.1.4
|
|
141
|
+
|
|
142
|
+
## Bug Fixes
|
|
143
|
+
|
|
144
|
+
1. Fixed bug with Quick Lookup filtering not handling special characters correctly, e.g. '(',')', etc
|
|
145
|
+
|
|
146
|
+
# 6.1.3
|
|
147
|
+
|
|
148
|
+
## Enhancements
|
|
149
|
+
|
|
150
|
+
1. Added new icons `send` and `reset`
|
|
151
|
+
|
|
152
|
+
# 6.1.2
|
|
153
|
+
|
|
154
|
+
## Enhancements
|
|
155
|
+
|
|
156
|
+
1. Added new icon `message`
|
|
157
|
+
|
|
158
|
+
# 6.1.1
|
|
159
|
+
|
|
160
|
+
## Enhancements
|
|
161
|
+
|
|
162
|
+
1. Added new icons as `hawksearch-icon` components
|
|
163
|
+
|
|
164
|
+
# 6.1.0
|
|
165
|
+
|
|
166
|
+
## Enhancements
|
|
167
|
+
|
|
168
|
+
1. Added smart search component `hawksearch-visualsearch-field` to search using images to find other similar images
|
|
169
|
+
2. Added smart search component `hawksearch-imagesearch-field` to search using a text-based query and finds the most relevant images based on the text provided
|
|
170
|
+
3. Added smart search component `hawksearch-conceptsearch-field` to search using a sentence or a concept and finds the most relevant results based on the text provided
|
|
171
|
+
|
|
172
|
+
# 6.0.0
|
|
173
|
+
|
|
174
|
+
## Enhancements
|
|
175
|
+
|
|
176
|
+
1. Build output now generated by Vite instead of Webpack
|
|
177
|
+
2. External assets such as default CSS and icons are now bundled directly in JavaScript file to minimize the number of HTTP requests
|
|
178
|
+
3. Build output now contains cjs, es, and umd formats along with typing to allow custom implementations to reference this as a libary
|
|
179
|
+
4. Changed TypeDoc theme to support latest version of Typedoc and allow bundling in npm package
|
|
180
|
+
5. Added support for storing custom templates in `script` as an alternative to `template` elements for greater flexibility and avoiding some edge case browser issues
|
|
181
|
+
6. Tests added and executed by `vitest`
|
|
182
|
+
|
|
183
|
+
## Bug Fixes
|
|
184
|
+
|
|
185
|
+
1. Prevented "empty" range facets from displaying when facet configuration is incorrect
|
|
186
|
+
2. Add decodeURI helper for Templates
|
|
187
|
+
|
|
188
|
+
## Breaking Changes
|
|
189
|
+
|
|
190
|
+
1. Hawksearch configuration requires executing the `HawkSearch.init` function which should be triggered after `hawksearch:loaded` event
|
|
191
|
+
|
|
192
|
+
# 5.2.5
|
|
193
|
+
|
|
194
|
+
## New Features
|
|
195
|
+
|
|
196
|
+
1. Suggest `Popular Searches` on Autocomplete popup without needing products or Categories to match the query.
|
|
197
|
+
|
|
198
|
+
# 5.2.4
|
|
199
|
+
|
|
200
|
+
## New Features
|
|
201
|
+
|
|
202
|
+
1. Make `decodeQuery` and `decodeFacetValue` defaults to `true` on Search and Autocomplete services.
|
|
203
|
+
|
|
204
|
+
## Bug Fixes
|
|
205
|
+
|
|
206
|
+
1. Fix issue where facets and categories on Autocomplete popup are not decoded.
|
|
207
|
+
|
|
208
|
+
# 5.2.3
|
|
209
|
+
|
|
210
|
+
## Bug Fixes
|
|
211
|
+
|
|
212
|
+
1. Fix issue where facets and categories on Autocomplete popup are not decoded.
|
|
213
|
+
|
|
214
|
+
# 5.2.2
|
|
215
|
+
|
|
216
|
+
## New Features
|
|
217
|
+
|
|
218
|
+
1. Added `HawkSearch.config.components.['search-field'].disableAutofill` property with a default value of `false` to Specify whether the input element should be pre-populared if "query" parameter exists on the URL.
|
|
219
|
+
|
|
220
|
+
# 5.2.1
|
|
221
|
+
|
|
222
|
+
## Bug Fixes
|
|
223
|
+
|
|
224
|
+
1. Added support to successfully upgrade v5.1.x implementations
|
|
225
|
+
|
|
226
|
+
## Breaking Changes
|
|
227
|
+
|
|
228
|
+
1. Prevents implementations of components in v6, e.g. ConceptSearch, VisualSearch, ImageSearch
|
|
229
|
+
|
|
230
|
+
# 5.0.19
|
|
231
|
+
|
|
232
|
+
## Bug Fixes
|
|
233
|
+
|
|
234
|
+
1. Fixed bug with Quick Lookup filtering not handling special characters correctly, e.g. '(',')', etc
|
|
235
|
+
|
|
236
|
+
# 5.0.17
|
|
237
|
+
|
|
238
|
+
## Enhancements
|
|
239
|
+
|
|
240
|
+
1. Added `HawkSearch.config.autocomplete.minCharacterCount` property with a default value of `1` to specify the minimum length of a query before triggering autocomplete recommendations
|
|
241
|
+
|
|
242
|
+
# 5.0.16
|
|
243
|
+
|
|
244
|
+
## Enhancements
|
|
245
|
+
|
|
246
|
+
1. Add support for script elements for custom templates
|
|
247
|
+
2. Added support for content result images in default templates
|
|
248
|
+
|
|
249
|
+
## Bug Fixes
|
|
250
|
+
|
|
251
|
+
1. Added check to not display range facets that do not have range data (from API bug)
|
|
252
|
+
|
|
253
|
+
# 5.0.15
|
|
254
|
+
|
|
255
|
+
## Bug Fixes
|
|
256
|
+
|
|
257
|
+
1. Fixed bug with QueryString not adding correct param names when same facet parents are selected
|
|
258
|
+
|
|
259
|
+
# 5.0.1
|
|
260
|
+
|
|
261
|
+
## Bug Fixes
|
|
262
|
+
|
|
263
|
+
1. Fixed bug in API endpoint construction when overriding the default `endpointUrl` for Autocomplete
|
|
264
|
+
|
|
265
|
+
# 5.0.0
|
|
266
|
+
|
|
267
|
+
## Enhancements
|
|
268
|
+
|
|
269
|
+
1. Added VariantSelectorComponent
|
|
270
|
+
2. Implemented VariantSelectorComponent in default templates for search results, featured items, recommendations, and autocomplete
|
|
271
|
+
|
|
272
|
+
## Bug Fixes
|
|
273
|
+
|
|
274
|
+
1. Updated the `attributes` collection on recommendation items to split single string values by `|^|` into string arrays
|
|
275
|
+
2. Added logic to catch HTTP errors in service layer
|
|
276
|
+
|
|
277
|
+
## Breaking Changes
|
|
278
|
+
|
|
279
|
+
1. Modified JSON structure for field mapping configuration
|
|
280
|
+
2. The `attributes` collection on recommendation items now consists of the data in `customDict` from the API response rather than preserving `customDict` as a nested property
|
|
281
|
+
|
|
282
|
+
# 4.0.4
|
|
283
|
+
|
|
284
|
+
1. Modified RecommendationsService to transform response properties into arrays to be consistent with search results and autocomplete
|
|
285
|
+
2. Modified `attributes` property on `RecommendationsItem` to include only the properties from `customDict` on the API response. The other properties from the response are standard so repeating them under `attributes` does not make sense.
|
|
286
|
+
3. Fixed bug with autocomplete top categories links not working when not on search results page
|
|
287
|
+
4. Fixed parameter name in order tracking event data
|
|
288
|
+
|
|
289
|
+
# 4.0.3
|
|
290
|
+
|
|
291
|
+
1. Fixed URL parsing logic to avoid prepending domain when API returns a value starting with `//`
|
|
292
|
+
|
|
293
|
+
# 4.0.2
|
|
294
|
+
|
|
295
|
+
1. Updated `number` and `currency` Handlebars helpers to handle string values from API and made decimals parameter optional
|
|
296
|
+
|
|
297
|
+
# 4.0.1
|
|
298
|
+
|
|
299
|
+
1. Modified SearchService so that `hawksearch:after-search-completed` event fires before SEO elements are set
|
|
300
|
+
|
|
301
|
+
# 4.0.0
|
|
302
|
+
|
|
303
|
+
## Enhancements
|
|
304
|
+
|
|
305
|
+
1. Added `HawkSearch.config.autocomplete.recommendationsEnabled` property with a default value of `false` to toggle autocomplete recommendations (instant engage)
|
|
306
|
+
2. Added new RatingComponent to be displayed on SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent.
|
|
307
|
+
3. Added product ratings and prices to autocomplete
|
|
308
|
+
4. Added suggested queries (did you mean?) to autocomplete
|
|
309
|
+
|
|
310
|
+
## Bug Fixes
|
|
311
|
+
|
|
312
|
+
1. Converting `price` and `salePrice` values of 0 to `undefined`
|
|
313
|
+
2. Fixed price rendering logic in default templates of SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent
|
|
314
|
+
|
|
315
|
+
## Breaking Changes
|
|
316
|
+
|
|
317
|
+
1. Refactored HawkSearchConfig structure to group properties by search, autocomplete, and recommendations. Some property names have changed slightly.
|
|
318
|
+
2. Modified endpoints configuration to expect only domain rather than full API URL
|
|
319
|
+
|
|
320
|
+
# 3.0.0
|
|
321
|
+
|
|
322
|
+
## Enhancements
|
|
323
|
+
|
|
324
|
+
1. Added support for A/B testing in Recommendations component
|
|
325
|
+
2. Added support for default autocomplete without entering a query
|
|
326
|
+
3. Modified autocomplete to display when refocusing on search field
|
|
327
|
+
4. Added optional `item-id` attribute to Recommendations component
|
|
328
|
+
5. Added instance-level configuration overrides through `config` attribute or `configOverride` property
|
|
329
|
+
|
|
330
|
+
## Bug Fixes
|
|
331
|
+
|
|
332
|
+
1. Fixed script file name and configuration link in documentation
|
|
333
|
+
2. Fixed bug requiring double-click to expand facet that is collapsed by default
|
|
334
|
+
|
|
335
|
+
## Breaking Changes
|
|
336
|
+
|
|
337
|
+
1. Removed unused option to define custom component template as child content of tag to provide future possibility of using slots or declarative Shadow DOM
|
|
338
|
+
|
|
339
|
+
# 2.0.0
|
|
340
|
+
|
|
341
|
+
## Enhancements
|
|
342
|
+
|
|
343
|
+
1. Added Landing Pages components
|
|
344
|
+
2. Added Recommendations components
|
|
345
|
+
3. Added component-level configuration to support functionality toggles and easy string replacements
|
|
346
|
+
4. Added `hawksearch:before-${componentName}-rendered` event hooks to support passing custom data to Handlebars templates
|
|
347
|
+
5. Added configuration setting to toggle facet exclude value functionality. This is now disabled by default.
|
|
348
|
+
6. Added ability to load CSS styles without requiring an external stylesheet
|
|
349
|
+
7. Added customizable index to search results, autocomplete, and recommendations requests
|
|
350
|
+
8. Added ability to set product as default search results item type
|
|
351
|
+
9. Added alternate `[[value]]` syntax to work the same as the default Handlerbars `{{value}}` syntax to avoid conflicts when customizing templates within BigCommerce
|
|
352
|
+
10. Added support for nested object properties in field mappings
|
|
353
|
+
11. Added rendering of canonical URL including search refinements
|
|
354
|
+
12. Added configurable facet exclusion prefix
|
|
355
|
+
13. Implemented TypeDoc code-generated documentation to ensure it remains up-to-date and available for each version
|
|
356
|
+
|
|
357
|
+
## Bug Fixes
|
|
358
|
+
|
|
359
|
+
1. Fixed Autocomplete template name
|
|
360
|
+
2. Added logic to handle scrolling facets by setting a max-height in default template
|
|
361
|
+
|
|
362
|
+
## Breaking Changes
|
|
363
|
+
|
|
364
|
+
1. Changed entry file from `hawksearch-handlebars-ui.js` to `index.js`
|
|
365
|
+
2. Renamed `Hawksearch` global object to `HawkSearch`
|
|
366
|
+
3. Changes to `HawkSearch.config` model to support enhancements
|