@algolia/autocomplete-shared 1.17.4 → 1.17.6

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.
@@ -27,7 +27,7 @@ export declare type GetRootProps = (props?: {
27
27
  role: 'combobox';
28
28
  'aria-expanded': boolean;
29
29
  'aria-haspopup': boolean | 'dialog' | 'menu' | 'true' | 'false' | 'grid' | 'listbox' | 'tree' | undefined;
30
- 'aria-owns': string | undefined;
30
+ 'aria-controls': string | undefined;
31
31
  'aria-labelledby': string;
32
32
  };
33
33
  export declare type GetFormProps<TEvent = Event> = (props: {
@@ -1,6 +1,6 @@
1
- import type { FacetHit, Hit } from '@algolia/client-search';
1
+ import type { Hit } from '@algolia/client-search';
2
2
  import type { MaybePromise } from '../MaybePromise';
3
- import type { SearchForFacetValuesResponse } from '../preset-algolia/algoliasearch';
3
+ import type { FacetHit, SearchForFacetValuesResponse } from '../preset-algolia/algoliasearch';
4
4
  import type { RequesterDescription } from '../preset-algolia/createRequester';
5
5
  import type { SearchResponse } from '../SearchResponse';
6
6
  import { AutocompleteScopeApi, BaseItem } from './AutocompleteApi';
@@ -51,4 +51,10 @@ export declare type SnippetResult<THit> = PickForClient<{
51
51
  /** @ts-ignore */
52
52
  v5: AlgoliaSearch.SnippetResult;
53
53
  }>;
54
+ export declare type FacetHit = PickForClient<{
55
+ /** @ts-ignore */
56
+ v4: ClientSearch.FacetHit;
57
+ /** @ts-ignore */
58
+ v5: AlgoliaSearch.FacetHits;
59
+ }>;
54
60
  export {};
@@ -1 +1 @@
1
- export declare const version = "1.17.4";
1
+ export declare const version = "1.17.6";
@@ -1 +1 @@
1
- export var version = '1.17.4';
1
+ export var version = '1.17.6';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@algolia/autocomplete-shared",
3
3
  "description": "Shared utils for Autocomplete packages.",
4
- "version": "1.17.4",
4
+ "version": "1.17.6",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/algolia/autocomplete",
7
7
  "repository": "algolia/autocomplete",