@bridgeline-digital/hawksearch-handlebars-ui 5.0.10 → 5.0.12
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 +106 -106
- package/dist/components/base.component.d.ts +0 -0
- package/dist/components/content/content-types/base-content.component.d.ts +0 -0
- package/dist/components/content/content-types/custom-content/custom-content.component.d.ts +0 -0
- package/dist/components/content/content-types/featured-items-content/featured-items-content.component.d.ts +0 -0
- package/dist/components/content/content-types/featured-items-content-item/featured-items-content-item.component.d.ts +0 -0
- package/dist/components/content/content-types/image-content/image-content.component.d.ts +0 -0
- package/dist/components/content/content-types/index.d.ts +0 -0
- package/dist/components/content/content-types/popular-queries-content/popular-queries-content.component.d.ts +0 -0
- package/dist/components/content/content-zone/content-zone.component.d.ts +0 -0
- package/dist/components/content/index.d.ts +0 -0
- package/dist/components/general/date-picker/date-picker.component.d.ts +0 -0
- package/dist/components/general/icon/icon.component.d.ts +0 -0
- package/dist/components/general/index.d.ts +0 -0
- package/dist/components/general/range-slider/range-slider.component.d.ts +0 -0
- package/dist/components/general/rating/rating.component.d.ts +0 -0
- package/dist/components/general/tooltip/tooltip.component.d.ts +0 -0
- package/dist/components/index.d.ts +0 -0
- package/dist/components/landing-pages/index.d.ts +0 -0
- package/dist/components/landing-pages/landing-page/landing-page.component.d.ts +0 -0
- package/dist/components/recommendations/index.d.ts +0 -0
- package/dist/components/recommendations/recommendations/recommendations.component.d.ts +0 -0
- package/dist/components/recommendations/recommendations-item/recommendations-item.component.d.ts +0 -0
- package/dist/components/search/autocomplete/autocomplete.component.d.ts +0 -0
- package/dist/components/search/facet-types/base-facet.component.d.ts +0 -0
- package/dist/components/search/facet-types/checkbox-list-facet/checkbox-list-facet.component.d.ts +0 -0
- package/dist/components/search/facet-types/color-facet/color-facet.component.d.ts +0 -0
- package/dist/components/search/facet-types/date-range-facet/date-range-facet.component.d.ts +0 -0
- package/dist/components/search/facet-types/index.d.ts +0 -0
- package/dist/components/search/facet-types/linked-list-facet/link-list-facet.component.d.ts +0 -0
- package/dist/components/search/facet-types/numeric-range-facet/numeric-range-facet.component.d.ts +0 -0
- package/dist/components/search/facet-types/range-slider-facet/range-slider-facet.component.d.ts +0 -0
- package/dist/components/search/facet-types/recent-searches-facet/recent-searches-facet.component.d.ts +0 -0
- package/dist/components/search/facet-types/related-searches-facet/related-searches-facet.component.d.ts +0 -0
- package/dist/components/search/facet-types/search-within-facet/search-within-facet.component.d.ts +0 -0
- package/dist/components/search/facet-types/size-facet/size-facet.component.d.ts +0 -0
- package/dist/components/search/facet-wrapper/facet-wrapper.component.d.ts +0 -0
- package/dist/components/search/facets-list/facets-list.component.d.ts +0 -0
- package/dist/components/search/index.d.ts +0 -0
- package/dist/components/search/modified-query/modified-query.component.d.ts +0 -0
- package/dist/components/search/page-size/page-size.component.d.ts +0 -0
- package/dist/components/search/pagination/pagination.component.d.ts +0 -0
- package/dist/components/search/query-suggestions/query-suggestions.component.d.ts +0 -0
- package/dist/components/search/search-field/search-field.component.d.ts +0 -0
- package/dist/components/search/search-results/search-results.component.d.ts +0 -0
- package/dist/components/search/search-results-item/search-results-item.component.d.ts +0 -0
- package/dist/components/search/search-results-list/search-results-list.component.d.ts +0 -0
- package/dist/components/search/selected-facets/selected-facets.component.d.ts +0 -0
- package/dist/components/search/sorting/sorting.component.d.ts +0 -0
- package/dist/components/search/tabs/tabs.component.d.ts +0 -0
- package/dist/components/variants/index.d.ts +0 -0
- package/dist/components/variants/variant-selector/variant-selector.component.d.ts +0 -0
- package/dist/configuration/configuration.models.d.ts +0 -0
- package/dist/configuration/index.d.ts +0 -0
- package/dist/helpers/helpers.d.ts +0 -0
- package/dist/helpers/index.d.ts +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +0 -0
- package/dist/index.js.map +1 -1
- package/dist/models/autocomplete.models.d.ts +0 -0
- package/dist/models/base.models.d.ts +0 -0
- package/dist/models/component.models.d.ts +0 -0
- package/dist/models/content.models.d.ts +0 -0
- package/dist/models/index.d.ts +0 -0
- package/dist/models/raw/index.d.ts +0 -0
- package/dist/models/raw/raw-autocomplete.models.d.ts +0 -0
- package/dist/models/raw/raw-base.models.d.ts +0 -0
- package/dist/models/raw/raw-recommendation.models.d.ts +0 -0
- package/dist/models/raw/raw-search.models.d.ts +0 -0
- package/dist/models/recommendation.models.d.ts +0 -0
- package/dist/models/search.models.d.ts +0 -0
- package/dist/models/tracking.models.d.ts +0 -0
- package/dist/placeholder.c99b7374b9bf579d0fd0.png +0 -0
- package/dist/services/autocomplete.service.d.ts +0 -0
- package/dist/services/base.service.d.ts +0 -0
- package/dist/services/index.d.ts +0 -0
- package/dist/services/recommendations.service.d.ts +0 -0
- package/dist/services/search.service.d.ts +0 -0
- package/dist/services/tracking.service.d.ts +0 -0
- package/dist/styles.36d6e6ed0aa89cd5e523177c64306e2d.css +0 -0
- package/dist/utilities/colors.d.ts +0 -0
- package/dist/utilities/dates.d.ts +0 -0
- package/dist/utilities/decodes.d.ts +0 -0
- package/dist/utilities/formatters.d.ts +0 -0
- package/dist/utilities/index.d.ts +0 -0
- package/package.json +1 -1
- package/readme.md +39 -39
package/changelog.md
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
# 5.0.1
|
|
2
|
-
|
|
3
|
-
1. Fixed bug in API endpoint construction when overriding the default `endpointUrl` for Autocomplete
|
|
4
|
-
|
|
5
|
-
# 5.0.0
|
|
6
|
-
|
|
7
|
-
## New Features
|
|
8
|
-
|
|
9
|
-
1. Added VariantSelectorComponent
|
|
10
|
-
2. Implemented VariantSelectorComponent in default templates for search results, featured items, recommendations, and autocomplete
|
|
11
|
-
|
|
12
|
-
## Bug Fixes
|
|
13
|
-
|
|
14
|
-
1. Updated the `attributes` collection on recommendation items to split single string values by `|^|` into string arrays
|
|
15
|
-
2. Added logic to catch HTTP errors in service layer
|
|
16
|
-
|
|
17
|
-
## Breaking Changes
|
|
18
|
-
|
|
19
|
-
1. Modified JSON structure for field mapping configuration
|
|
20
|
-
2. The `attributes` collection on recommendation items now consists of the data in `customDict` from the API response rather than preserving `customDict` as a nested property
|
|
21
|
-
|
|
22
|
-
# 4.0.4
|
|
23
|
-
|
|
24
|
-
1. Modified RecommendationsService to transform response properties into arrays to be consistent with search results and autocomplete
|
|
25
|
-
2. Modified `attributes` property on `RecommendationsItem` to include only the properties from `customDict` on the API response. The other properties from the response are standard so repeating them under `attributes` does not make sense.
|
|
26
|
-
3. Fixed bug with autocomplete top categories links not working when not on search results page
|
|
27
|
-
4. Fixed parameter name in order tracking event data
|
|
28
|
-
|
|
29
|
-
# 4.0.3
|
|
30
|
-
|
|
31
|
-
1. Fixed URL parsing logic to avoid prepending domain when API returns a value starting with `//`
|
|
32
|
-
|
|
33
|
-
# 4.0.2
|
|
34
|
-
|
|
35
|
-
1. Updated `number` and `currency` Handlebars helpers to handle string values from API and made decimals parameter optional
|
|
36
|
-
|
|
37
|
-
# 4.0.1
|
|
38
|
-
|
|
39
|
-
1. Modified SearchService so that `hawksearch:after-search-completed` event fires before SEO elements are set
|
|
40
|
-
|
|
41
|
-
# 4.0.0
|
|
42
|
-
|
|
43
|
-
## New Features
|
|
44
|
-
|
|
45
|
-
1. Added `HawkSearch.config.autocomplete.recommendationsEnabled` property with a default value of `false` to toggle autocomplete recommendations (instant engage)
|
|
46
|
-
2. Added new RatingComponent to be displayed on SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent.
|
|
47
|
-
3. Added product ratings and prices to autocomplete
|
|
48
|
-
4. Added suggested queries (did you mean?) to autocomplete
|
|
49
|
-
|
|
50
|
-
## Bug Fixes
|
|
51
|
-
|
|
52
|
-
1. Converting `price` and `salePrice` values of 0 to `undefined`
|
|
53
|
-
2. Fixed price rendering logic in default templates of SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent
|
|
54
|
-
|
|
55
|
-
## Breaking Changes
|
|
56
|
-
|
|
57
|
-
1. Refactored HawkSearchConfig structure to group properties by search, autocomplete, and recommendations. Some property names have changed slightly.
|
|
58
|
-
2. Modified endpoints configuration to expect only domain rather than full API URL
|
|
59
|
-
|
|
60
|
-
# 3.0.0
|
|
61
|
-
|
|
62
|
-
## New Features
|
|
63
|
-
|
|
64
|
-
1. Added support for A/B testing in Recommendations component
|
|
65
|
-
2. Added support for default autocomplete without entering a query
|
|
66
|
-
3. Modified autocomplete to display when refocusing on search field
|
|
67
|
-
4. Added optional `item-id` attribute to Recommendations component
|
|
68
|
-
5. Added instance-level configuration overrides through `config` attribute or `configOverride` property
|
|
69
|
-
|
|
70
|
-
## Bug Fixes
|
|
71
|
-
|
|
72
|
-
1. Fixed script file name and configuration link in documentation
|
|
73
|
-
2. Fixed bug requiring double-click to expand facet that is collapsed by default
|
|
74
|
-
|
|
75
|
-
## Breaking Changes
|
|
76
|
-
|
|
77
|
-
1. Removed unused option to define custom component template as child content of tag to provide future possibility of using slots or declarative Shadow DOM
|
|
78
|
-
|
|
79
|
-
# 2.0.0
|
|
80
|
-
|
|
81
|
-
## New Features
|
|
82
|
-
|
|
83
|
-
1. Added Landing Pages components
|
|
84
|
-
2. Added Recommendations components
|
|
85
|
-
3. Added component-level configuration to support functionality toggles and easy string replacements
|
|
86
|
-
4. Added `hawksearch:before-${componentName}-rendered` event hooks to support passing custom data to Handlebars templates
|
|
87
|
-
5. Added configuration setting to toggle facet exclude value functionality. This is now disabled by default.
|
|
88
|
-
6. Added ability to load CSS styles without requiring an external stylesheet
|
|
89
|
-
7. Added customizable index to search results, autocomplete, and recommendations requests
|
|
90
|
-
8. Added ability to set product as default search results item type
|
|
91
|
-
9. Added alternate `[[value]]` syntax to work the same as the default Handlerbars `{{value}}` syntax to avoid conflicts when customizing templates within BigCommerce
|
|
92
|
-
10. Added support for nested object properties in field mappings
|
|
93
|
-
11. Added rendering of canonical URL including search refinements
|
|
94
|
-
12. Added configurable facet exclusion prefix
|
|
95
|
-
13. Implemented TypeDoc code-generated documentation to ensure it remains up-to-date and available for each version
|
|
96
|
-
|
|
97
|
-
## Bug Fixes
|
|
98
|
-
|
|
99
|
-
1. Fixed Autocomplete template name
|
|
100
|
-
2. Added logic to handle scrolling facets by setting a max-height in default template
|
|
101
|
-
|
|
102
|
-
## Breaking Changes
|
|
103
|
-
|
|
104
|
-
1. Changed entry file from `hawksearch-handlebars-ui.js` to `index.js`
|
|
105
|
-
2. Renamed `Hawksearch` global object to `HawkSearch`
|
|
106
|
-
3. Changes to `HawkSearch.config` model to support new features
|
|
1
|
+
# 5.0.1
|
|
2
|
+
|
|
3
|
+
1. Fixed bug in API endpoint construction when overriding the default `endpointUrl` for Autocomplete
|
|
4
|
+
|
|
5
|
+
# 5.0.0
|
|
6
|
+
|
|
7
|
+
## New Features
|
|
8
|
+
|
|
9
|
+
1. Added VariantSelectorComponent
|
|
10
|
+
2. Implemented VariantSelectorComponent in default templates for search results, featured items, recommendations, and autocomplete
|
|
11
|
+
|
|
12
|
+
## Bug Fixes
|
|
13
|
+
|
|
14
|
+
1. Updated the `attributes` collection on recommendation items to split single string values by `|^|` into string arrays
|
|
15
|
+
2. Added logic to catch HTTP errors in service layer
|
|
16
|
+
|
|
17
|
+
## Breaking Changes
|
|
18
|
+
|
|
19
|
+
1. Modified JSON structure for field mapping configuration
|
|
20
|
+
2. The `attributes` collection on recommendation items now consists of the data in `customDict` from the API response rather than preserving `customDict` as a nested property
|
|
21
|
+
|
|
22
|
+
# 4.0.4
|
|
23
|
+
|
|
24
|
+
1. Modified RecommendationsService to transform response properties into arrays to be consistent with search results and autocomplete
|
|
25
|
+
2. Modified `attributes` property on `RecommendationsItem` to include only the properties from `customDict` on the API response. The other properties from the response are standard so repeating them under `attributes` does not make sense.
|
|
26
|
+
3. Fixed bug with autocomplete top categories links not working when not on search results page
|
|
27
|
+
4. Fixed parameter name in order tracking event data
|
|
28
|
+
|
|
29
|
+
# 4.0.3
|
|
30
|
+
|
|
31
|
+
1. Fixed URL parsing logic to avoid prepending domain when API returns a value starting with `//`
|
|
32
|
+
|
|
33
|
+
# 4.0.2
|
|
34
|
+
|
|
35
|
+
1. Updated `number` and `currency` Handlebars helpers to handle string values from API and made decimals parameter optional
|
|
36
|
+
|
|
37
|
+
# 4.0.1
|
|
38
|
+
|
|
39
|
+
1. Modified SearchService so that `hawksearch:after-search-completed` event fires before SEO elements are set
|
|
40
|
+
|
|
41
|
+
# 4.0.0
|
|
42
|
+
|
|
43
|
+
## New Features
|
|
44
|
+
|
|
45
|
+
1. Added `HawkSearch.config.autocomplete.recommendationsEnabled` property with a default value of `false` to toggle autocomplete recommendations (instant engage)
|
|
46
|
+
2. Added new RatingComponent to be displayed on SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent.
|
|
47
|
+
3. Added product ratings and prices to autocomplete
|
|
48
|
+
4. Added suggested queries (did you mean?) to autocomplete
|
|
49
|
+
|
|
50
|
+
## Bug Fixes
|
|
51
|
+
|
|
52
|
+
1. Converting `price` and `salePrice` values of 0 to `undefined`
|
|
53
|
+
2. Fixed price rendering logic in default templates of SearchResultsItemComponent, RecommendationsItemComponent, and FeaturedItemsContentItemComponent
|
|
54
|
+
|
|
55
|
+
## Breaking Changes
|
|
56
|
+
|
|
57
|
+
1. Refactored HawkSearchConfig structure to group properties by search, autocomplete, and recommendations. Some property names have changed slightly.
|
|
58
|
+
2. Modified endpoints configuration to expect only domain rather than full API URL
|
|
59
|
+
|
|
60
|
+
# 3.0.0
|
|
61
|
+
|
|
62
|
+
## New Features
|
|
63
|
+
|
|
64
|
+
1. Added support for A/B testing in Recommendations component
|
|
65
|
+
2. Added support for default autocomplete without entering a query
|
|
66
|
+
3. Modified autocomplete to display when refocusing on search field
|
|
67
|
+
4. Added optional `item-id` attribute to Recommendations component
|
|
68
|
+
5. Added instance-level configuration overrides through `config` attribute or `configOverride` property
|
|
69
|
+
|
|
70
|
+
## Bug Fixes
|
|
71
|
+
|
|
72
|
+
1. Fixed script file name and configuration link in documentation
|
|
73
|
+
2. Fixed bug requiring double-click to expand facet that is collapsed by default
|
|
74
|
+
|
|
75
|
+
## Breaking Changes
|
|
76
|
+
|
|
77
|
+
1. Removed unused option to define custom component template as child content of tag to provide future possibility of using slots or declarative Shadow DOM
|
|
78
|
+
|
|
79
|
+
# 2.0.0
|
|
80
|
+
|
|
81
|
+
## New Features
|
|
82
|
+
|
|
83
|
+
1. Added Landing Pages components
|
|
84
|
+
2. Added Recommendations components
|
|
85
|
+
3. Added component-level configuration to support functionality toggles and easy string replacements
|
|
86
|
+
4. Added `hawksearch:before-${componentName}-rendered` event hooks to support passing custom data to Handlebars templates
|
|
87
|
+
5. Added configuration setting to toggle facet exclude value functionality. This is now disabled by default.
|
|
88
|
+
6. Added ability to load CSS styles without requiring an external stylesheet
|
|
89
|
+
7. Added customizable index to search results, autocomplete, and recommendations requests
|
|
90
|
+
8. Added ability to set product as default search results item type
|
|
91
|
+
9. Added alternate `[[value]]` syntax to work the same as the default Handlerbars `{{value}}` syntax to avoid conflicts when customizing templates within BigCommerce
|
|
92
|
+
10. Added support for nested object properties in field mappings
|
|
93
|
+
11. Added rendering of canonical URL including search refinements
|
|
94
|
+
12. Added configurable facet exclusion prefix
|
|
95
|
+
13. Implemented TypeDoc code-generated documentation to ensure it remains up-to-date and available for each version
|
|
96
|
+
|
|
97
|
+
## Bug Fixes
|
|
98
|
+
|
|
99
|
+
1. Fixed Autocomplete template name
|
|
100
|
+
2. Added logic to handle scrolling facets by setting a max-height in default template
|
|
101
|
+
|
|
102
|
+
## Breaking Changes
|
|
103
|
+
|
|
104
|
+
1. Changed entry file from `hawksearch-handlebars-ui.js` to `index.js`
|
|
105
|
+
2. Renamed `Hawksearch` global object to `HawkSearch`
|
|
106
|
+
3. Changes to `HawkSearch.config` model to support new features
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/components/recommendations/recommendations-item/recommendations-item.component.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/components/search/facet-types/checkbox-list-facet/checkbox-list-facet.component.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/components/search/facet-types/numeric-range-facet/numeric-range-facet.component.d.ts
CHANGED
|
File without changes
|
package/dist/components/search/facet-types/range-slider-facet/range-slider-facet.component.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/components/search/facet-types/search-within-facet/search-within-facet.component.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/helpers/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
File without changes
|