@bridgeline-digital/hawksearch-handlebars-ui 5.2.1 → 5.2.3

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,3 +1,15 @@
1
+ # 5.2.3
2
+
3
+ ## New Features
4
+
5
+ 1. Fix issue whererange facet not working when currency or number are false.
6
+
7
+ # 5.2.2
8
+
9
+ ## New Features
10
+
11
+ 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.
12
+
1
13
  # 5.2.1
2
14
 
3
15
  ## Bug Fixes
@@ -30,6 +30,7 @@ export declare class SearchFieldComponent extends BaseComponent<SearchFieldCompo
30
30
  private previousValue;
31
31
  private get autocompleteMinCharacterCount();
32
32
  private get recommendationsEnabled();
33
+ private get disableAutofill();
33
34
  connectedCallback(): void;
34
35
  disconnectedCallback(): void;
35
36
  protected getContentModel(): SearchFieldComponentModel;
@@ -159,6 +159,13 @@ export interface SearchFieldComponentConfig extends BaseComponentConfig {
159
159
  strings?: {
160
160
  placeholder?: string;
161
161
  };
162
+ /**
163
+ * Specifies whether the input element should be pre-populared if "query" parameter exists on the URL.
164
+ *
165
+ * #### Default Value
166
+ * `false`
167
+ */
168
+ disableAutofill?: boolean;
162
169
  }
163
170
  export interface SearchResultsComponentConfig extends BaseComponentConfig {
164
171
  }
@@ -213,7 +213,7 @@ export declare function decode(value: string): string;
213
213
  */
214
214
  export declare function decodeNested(value: string): string;
215
215
  /**
216
- * This function is a wrapper of Lodash: { escapeRegExp }
216
+ * This function is a wrapper of Lodash: escapeRegExp
217
217
  *
218
218
  * @param string — The string to escape.
219
219
  * @return — Returns the escaped string.