@searchstax-inc/searchstudio-ux-vue 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-vue" 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
@@ -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;