@searchstax-inc/searchstudio-ux-angular 4.2.2 → 4.2.13
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
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
3
|
All notable changes to the "searchstudio-ux-angular" project will be documented in this file.
|
|
4
|
+
## [4.2.13]
|
|
5
|
+
### Features
|
|
6
|
+
- Improved caching of facets to make as little emselect calls as possible
|
|
7
|
+
- Fixed items per page to reflect correctly based on studio settings
|
|
8
|
+
|
|
9
|
+
## [4.2.10]
|
|
10
|
+
### Features
|
|
11
|
+
- Added tracking of show more clicking and showing
|
|
12
|
+
- Add x icon to search bar for clearing input
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
- Fixed package vulnerabilities
|
|
16
|
+
- Fixed search satisfaction tracking
|
|
4
17
|
|
|
5
18
|
## [4.2.2]
|
|
6
19
|
### Features
|
package/README.md
CHANGED
|
@@ -290,8 +290,11 @@ It receives the following props:
|
|
|
290
290
|
let-onMouseLeave="onMouseLeave"
|
|
291
291
|
let-onMouseOver="onMouseOver"
|
|
292
292
|
let-onMouseClick="onMouseClick"
|
|
293
|
+
let-onClearClick="onClearClick"
|
|
293
294
|
let-context="context"
|
|
294
295
|
let-locationWidgetConfig="locationWidgetConfig"
|
|
296
|
+
let-hasInputValue="hasInputValue"
|
|
297
|
+
|
|
295
298
|
>
|
|
296
299
|
<div class="searchstax-search-input-wrapper">
|
|
297
300
|
<input
|
|
@@ -301,6 +304,16 @@ It receives the following props:
|
|
|
301
304
|
placeholder="SEARCH FOR..."
|
|
302
305
|
aria-label="search"
|
|
303
306
|
/>
|
|
307
|
+
@if (hasInputValue) {
|
|
308
|
+
<button
|
|
309
|
+
(click)="onClearClick($event, context)"
|
|
310
|
+
id="searchstax-clear-input-action-button"
|
|
311
|
+
class="searchstax-cross-icon hidden"
|
|
312
|
+
aria-label="clear input"
|
|
313
|
+
role="button">
|
|
314
|
+
</button>
|
|
315
|
+
<span id="searchstax-separator-icon" class="searchstax-separator hidden"></span>
|
|
316
|
+
}
|
|
304
317
|
<div
|
|
305
318
|
class="searchstax-autosuggest-container"
|
|
306
319
|
[ngClass]="{ hidden: suggestions.length === 0 }"
|