@bridgeline-digital/hawksearch-handlebars-ui 5.2.7 → 5.2.8

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,4 +1,13 @@
1
+ # 5.2.8
2
+
3
+ ## Bug Fixes
4
+
5
+ 1. Fix rendering percentage `(%)` symbol correctly when displaying Autocomplete results.
6
+
1
7
  # 5.2.7
8
+
9
+ ## Bug Fixes
10
+
2
11
  1. Modified SearchService so that `hawksearch:search-failed` event fires before if the search fails due to any error.
3
12
 
4
13
  # 5.2.6
@@ -0,0 +1,102 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>HawkSearch Demo (default)</title>
6
+ <meta name="description" content="This is a demo of the HawkSearch Handlebars UI" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+ <style type="text/css">
9
+ body {
10
+ font-family: Arial, Helvetica, sans-serif;
11
+ font-size: 16px;
12
+ }
13
+
14
+ .layout-container {
15
+ margin: 0 auto;
16
+ min-width: 340px;
17
+ max-width: 1280px;
18
+ }
19
+ </style>
20
+ <script type="text/javascript">
21
+ // var HawkSearch = HawkSearch || {};
22
+
23
+ // HawkSearch.config = {
24
+ // clientId: 'f51060e1c38446f0bacdf283390c37e8',
25
+ // search: {
26
+ // url: ''
27
+ // },
28
+ // autocomplete: {
29
+ // recommendationsEnabled: true
30
+ // },
31
+ // urlPrefixes: {
32
+ // assets: '//dev.hawksearch.net',
33
+ // content: '//preview-dev.hawksearch.net/elasticdemo'
34
+ // }
35
+ // };
36
+ var HawkSearch = HawkSearch || {};
37
+
38
+ HawkSearch = {
39
+
40
+ "config": {
41
+ "clientId": "bbe730269974430ea5c8caa4eadb9d91",
42
+ "search": {
43
+ "url": "/search",
44
+ "endpointUrl": "https://essearchapi-na.hawksearch.com",
45
+ "itemTypes": {
46
+ "default": "product"
47
+ }
48
+ },
49
+ "recommendations": {
50
+ "endpointUrl": "https://recs-na.hawksearch.com",
51
+ },
52
+ "tracking": {
53
+ "endpointUrl": "https://tracking-na.hawksearch.com",
54
+ },
55
+ "urlPrefixes": {
56
+ "assets": "https://www.buchheits.com/",
57
+ "content": "https://www.buchheits.com/"
58
+ },
59
+ "components": {
60
+ 'search-results-item': {
61
+ "template": 'search-results-item'
62
+ },
63
+ 'autocomplete': {
64
+ "template": 'autocomplete'
65
+ },
66
+ 'pagination': {
67
+ template: 'pagination'
68
+ },
69
+ 'search-results': {
70
+ template: 'search-results'
71
+ },
72
+ 'search-field': {
73
+ template: 'search-field'
74
+ },
75
+ 'facets-list': {
76
+ template: 'facets-list'
77
+ },
78
+ 'search-results-list': {
79
+ template: 'search-results-list'
80
+ }
81
+ },
82
+ css: {
83
+ customStyles: [`.autocomplete{height:65vh; overflow-y: scroll}
84
+ .autocomplete__product__image {padding: 0px !important;}
85
+ `, 'search-dropdown.css', 'search-listing.css'],
86
+ }
87
+ }
88
+
89
+ }
90
+ </script>
91
+ <script defer src="index.js"></script></head>
92
+
93
+ <body>
94
+ <div class="layout-container">
95
+ <h1>HawkSearch Demo (default)</h1>
96
+ <div style="margin: 0 0 30px 0">
97
+ <hawksearch-search-field></hawksearch-search-field>
98
+ </div>
99
+ <hawksearch-search-results></hawksearch-search-results>
100
+ </div>
101
+ </body>
102
+ </html>