Skip to content

Commit

Permalink
Merge branch 'master' into JSUI-3510
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-bompart committed Mar 7, 2024
2 parents 0b0b470 + 05052dc commit 2571bc3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/Eager.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
export * from './Core';

import { PublicPathUtils } from './utils/PublicPathUtils';
PublicPathUtils.detectPublicPath();

export { CoreHelpers } from './ui/Templates/CoreHelpers';
export { SearchInterface, StandaloneSearchInterface } from './ui/SearchInterface/SearchInterface';
export { jQueryInstance as $ } from './ui/Base/CoveoJQuery';
Expand Down
4 changes: 2 additions & 2 deletions src/ui/Facet/FacetSearchElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ export class FacetSearchElement {

private onInputBlur(e: FocusEvent) {
const target = e.relatedTarget as HTMLElement;
const isUsingKeyboard = !!target;
const focusedOnSearchResult = this.searchResults.contains(target);
const focusedOnFacet = this.search.parentElement.contains(target);

if (isUsingKeyboard && !focusedOnSearchResult) {
if (focusedOnFacet && !focusedOnSearchResult) {
this.facetSearch.dismissSearchResults();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/ui/Folding/Folding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class Folding extends Component {

/**
* Specifies the sort criteria to apply to the top result and its child results (e.g., `date ascending`,
* `@myfield descending`, etc.). See [sortCriteria](https://docs.coveo.com/en/1461/#RestQueryParameters-sortCriteria).
* `@myfield descending`, etc.). See [sortCriteria](https://docs.coveo.com/en/13#operation/searchUsingPost-sortCriteria).
*
* This option works from the results returned by the index. This means that if only the three most relevant folded results are returned by the index
* and you choose to rearrange the folded results by date, then the three most relevant results will be rearranged by date,
Expand Down
2 changes: 1 addition & 1 deletion src/ui/SearchInterface/SearchInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ export class SearchInterface extends RootComponent implements IComponentBindings
*
* Default value is `undefined`, which means that the search interface lets the Coveo Search API determine the
* maximum cache age. This is typically equivalent to 30 minutes (see
* [maximumAge](https://docs.coveo.com/en/1461/#RestQueryParameters-maximumAge)).
* [maximumAge](https://docs.coveo.com/en/13#operation/searchUsingPost-maximumAge)).
*/
maximumAge: ComponentOptions.buildNumberOption(),
/**
Expand Down
2 changes: 1 addition & 1 deletion src/ui/Tab/Tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export class Tab extends Component {
* > Tab (see {@link SearchInterface.options.maximumAge}).
*
* Default value is `undefined` and the Coveo Search API determines the maximum cache age. This is typically
* equivalent to 30 minutes (see [maximumAge](https://docs.coveo.com/en/1461/#RestQueryParameters-maximumAge)).
* equivalent to 30 minutes (see [maximumAge](https://docs.coveo.com/en/13#operation/searchUsingPost-maximumAge)).
*/
maximumAge: ComponentOptions.buildNumberOption(),

Expand Down

0 comments on commit 2571bc3

Please sign in to comment.