@searchstax-inc/searchstudio-ux-vue 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-vue" 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
@@ -282,6 +282,8 @@ It receives the following props:
282
282
  placeholder="SEARCH FOR..."
283
283
  aria-label="search"
284
284
  />
285
+ <button v-if="hasInputValue" @click="onClearClick" @keyup.enter="onClearClick" id="searchstax-clear-input-action-button" class="searchstax-cross-icon " aria-label="clear input" role="button"></button>
286
+ <span v-if="hasInputValue" id="searchstax-separator-icon" class="searchstax-separator "></span>
285
287
  <div
286
288
  class="searchstax-autosuggest-container"
287
289
  :class="{ hidden: suggestions.length === 0 }"
@@ -17,6 +17,14 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
17
17
  type: PropType<() => void>;
18
18
  required: true;
19
19
  };
20
+ onClearClick: {
21
+ type: PropType<() => void>;
22
+ required: false;
23
+ };
24
+ hasInputValue: {
25
+ type: BooleanConstructor;
26
+ required: false;
27
+ };
20
28
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
29
  suggestions: {
22
30
  type: PropType<ISearchstaxSuggestion[]>;
@@ -34,5 +42,15 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
34
42
  type: PropType<() => void>;
35
43
  required: true;
36
44
  };
37
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
45
+ onClearClick: {
46
+ type: PropType<() => void>;
47
+ required: false;
48
+ };
49
+ hasInputValue: {
50
+ type: BooleanConstructor;
51
+ required: false;
52
+ };
53
+ }>> & Readonly<{}>, {
54
+ hasInputValue: boolean;
55
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
56
  export default _sfc_main;