# Change Log

All notable changes to the "searchstudio-ux-js" project will be documented in this file.
## [4.2.10]
### Features
- Added tracking of show more clicking and showing
- Add x icon to search bar for clearing input

### Bug Fixes
- Fixed package vulnerabilities
- Fixed search satisfaction tracking

## [4.2.2]
### Features
- Added tabbed-nav-sample in samples repository
### Bug Fixes
- Fixed searchObject modification of itemsPerPage in beforeSearch hook to work as expected

## [4.2.1]
### Bug Fixes
- fixed answer first word being sometimes cut off and cached answers not being shown.

## [4.2.0]
### Features
- Migrated angular to newest version to remove Vulnerabilities
### Bug Fixes
- Fixed standalone samples dependency
- fixed comments appearing in smart answers tracking

## [4.1.72]
### Features
- Hosted search page now shows accurate indexing value
- Suggest endpoint is now optional and will not be called if empty

### Bug Fixes
- Security Vulnerabilities addressed
- Model change in beforeSearch hook now correctly reflects in search

## [4.1.68]
### Features
- AfterSearch hook now has a second parameter of unparsed search response
- Standalone input widget added to v4
- accessibility: Pagination navigation now focuses results section


## [4.1.66]
### Bug Fixes
- Removed redundant no-results message
- Changed answers widget button text to read more

## [4.1.64]
### Features
- added ability to use answers widget for preview

## [4.1.59]
### Features
- introduced beforeFacetsRender hook to be able sort and change facets before they render
- added support for smart answers returning config for showMore functionality

## [4.1.55]
### Bug Fixes
- fixed related searches not being identified as links
- changed result card to read whole content on focus

## [4.1.54]
### Bug Fixes
- fixed various console errors in headles libraries
- fixed autosuggest flickering in certain scenarios

## [4.1.49]
### Bug Fixes
- fix OR facet logic
- accessibility: fix related searches accessibility
- fixed order of external promotions

## [4.1.47]
### Features
- added totalPages and currentPage variables to pagination template
- added sample page for standalone implementation of answer widget on samples repo

## [4.1.46]
### Bug Fixes
- accessibility: added ability to tab to result paragraphs
- accessibility: pagination buttons are now focusable when disabled and have aria-disabled
- accessibility: fixed buttons in some cases being hidden behind results
- accessibility: focus for feedback widget is not trapped within modal correctly
- fixed: interaction between different types of facets had been resolved to update facets accordingly

## [4.1.39]
### Bug Fixes
- added minification for hosted library files
- fixed related searches tracking for statistics displaying
- fixed pagination state not being retained

## [4.1.33]
### Bug Fixes
- samples repository: fixed language passing
- accessibility: added searchstax to focus queue on leave feedback widget
- accessibility: fixed feedback widget not reflowing properly
- accessibility: fixed required inputs not being indicated on feedback form
- accessibility: fixed focus indicator contrast issues
- accessibility: fixed view style accessibility issues
- accessibility: fixed spacing for facets to have minimum spacing needed for accessibility
- accessibility: added checkmark animation of successful feedback submission

## [4.1.14]
### Bug Fixes
- accessibility: feedback widget closing upon submit
- accessibility: feedback widget tab order fixed
- fixed double click being needed on feedback submit
- accessibility: fixed state and role of facet groups
- accessibility: fixed focus persistance upon facet click as well as more/less click

## [4.1.9]
### Bug Fixes
- accessibility: focus is now being trapped in feedback widget
- accessibility: more/less buttons have role and changes are announced
- accessibility: fixed feedback widget roles
- accessibility: pagination disabled state fixes

## [4.1.5]
### Bug Fixes
- answers endpoint now have same query parameters as emselect
- accessibility: feedback widget comment section no longer reads characters left after every key press

## [4.1.0]
### Bug Fixes
- stopped making unnecessary calls on blank search page load
- accessibility: template modified to only read result title for accessibility
- accessibility: leave feedback button state change is now announced
- accessibility: focus persistance added for feedback rating
- added support for react 19

## [2.0.0]
### Features
- Readme updated to give more information on how widgets work
### Bug Fixes
- NVDA facet groups now announce state
- NVDA added ability to jump from facets to results section

## [1.0.24]
### Features
- added answer widget

## [1.0.11] - 2024-12-26
### Bug Fixes
- fix order of non mapped fields
- fix styling of grid view for accelerator

## [1.0.10] - 2024-12-05
### Bug Fixes
- fix & and + symbols causing issues in facet values

## [1.0.3] - 2024-10-08
### ⚠️ BREAKING CHANGES
- Result template needs to be updated to print variables as HTML because they now will contain html <em> tags if highlighting is enabled
### Features
- Added support for highlighting controlled via studio UI
- Results per page are now configured through studio UI
### Bug Fixes
- Tracking calls now use unmodified title of the result

