Releases: yext/answers-search-ui
Releases · yext/answers-search-ui
v1.3.7
Bug Fixes
- Added a unique identifier to each component. This prevents a bug that led to components being unnecessarily removed from the page during a re-render. (#1371)
- Updated the
rtf-converter
dependency to support the new Yext Markdown strike-through syntax. (#1370) - Fixed a styling bug that caused the search bar buttons to disappear on small screens. (#1243)
- When a spell check query suggestion is clicked, the proper
queryTrigger
is now sent. (#1230) - Fixed a small race condition that occurred when the
ANSWERS
instance was loaded
on the page before thetemplateBundle
. (#1305)
Version 1.7.3
Bug Fixes
- Interpolation parameters used in run-time translations are now properly sanitized.
Version 1.6.4
Bug Fixes
- Fixed a styling bug that caused the search bar buttons to disappear on small screens. (#1243)
- When a spell check query suggestion is clicked, the proper
queryTrigger
is now sent. (#1230) - Interpolation parameters used in run-time translations are now properly sanitized.
- Fixed a small race condition that occurred when the
ANSWERS
instance was loaded
on the page before thetemplateBundle
. (#1305)
v1.7.2
Bug Fixes
- Fixed a styling bug that caused the search bar buttons to disappear on small screens. (#1243)
- When a spell check query suggestion is clicked, the proper
queryTrigger
is now sent. (#1230) - Fixed some small typos about the
SearchBar
configuration in the README. (#1229) - Fixed a small race condition that occurred when the
ANSWERS
instance was loaded
on the page before thetemplateBundle
. (#1305)
v1.7.1
Bug Fixes
- Fixed a bug that caused the
LocationBias
component to execute an invalid vertical search. The bug
occurred when there was a global search configuration with averticalKey
, but noverticalKey
was present
in the component's configuration itself. (#1225) - Added some missing documentation about supported locales for the
Map
component. (#1216)
v1.6.3
v1.5.7
v1.4.9
v1.7.0
Version 1.7.0
Version 1.7.0 of the SDK includes a number of changes needed to support the Overlay integration of Answers. It is also the first version of the SDK that will be published to the npm registry.
Changes
- Two new hooks were added for the
AutoComplete
component:onOpen
andonClose
. These hooks allow custom behavior when the dropdown of query suggestions opens or closes. (#1131). - The
shouldHideOnEmptySearch
configuration option was added to theSearchBar
component. This option allows theAutoComplete
's query suggestions to be hidden when the search input is empty. (#1136) - An
onClearSearch
hook was added to theSearchBar
component. This hook allows custom JS to be executed whenever a user clicks the button to clear the search. - An
onConductSearch
hook was added to theSearchBar
component. With this hook, custom JS can be run whenever the user submits a query via the component. (#1132) - The SDK's analytics events were updated to include a
querySource
. The source, which defaults toSTANDARD
, describes the Answers integration type. It can be set in the config provided toANSWERS.init
. (#1163) - A Percy integration was added to the SDK's repository. This integration allows us to run visual regression tests against all code checked into the repo. (#1148)
- Small changes were made to the SDK to get it ready for release via the npm registry. (#1187)
- Sourcemaps were added for the answers.min.js, answers-umd.min.js, and answers-modern.min.js assets. (#1178)
Bug Fixes
- The
Pagination
component now renders only those page links that are visible. Previously, we were rendering every available page link, those that weren't supposed to be visible weredisplay: none
'd. This resulted in unnecessary nodes being added to the DOM. (#1143) - To better support WCAG, a focus state was added to the
SortOptions
component's radio buttons. (#1165) - The
onVerticalSearch
hook is now passed the query when fired as a result of pagination. (#1188) - A bug with the
LocationBias
component was fixed that caused it to load improperly under certain
circumstances. (#1195)
v1.5.6
Bug Fixes
- Fixed a bug that prevented text in escaped query suggestions from being properly highlighted.