@searchstax-inc/searchstudio-ux-angular 4.2.1 → 4.2.10
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
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the "searchstudio-ux-angular" project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [4.2.2]
|
|
6
|
+
### Features
|
|
7
|
+
- Added tabbed-nav-sample in samples repository
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
- Fixed searchObject modification of itemsPerPage in beforeSearch hook to work as expected
|
|
10
|
+
|
|
5
11
|
## [4.2.1]
|
|
6
12
|
### Bug Fixes
|
|
7
13
|
- fixed answer first word being sometimes cut off and cached answers not being shown.
|
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 }"
|