@algolia/autocomplete-js 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.
@@ -144,7 +144,7 @@ export declare function getDefaultOptions<TItem extends BaseItem>(options: Autoc
144
144
  role: "combobox";
145
145
  'aria-expanded': boolean;
146
146
  'aria-haspopup': boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
147
- 'aria-owns': string | undefined;
147
+ 'aria-controls': string | undefined;
148
148
  'aria-labelledby': string;
149
149
  };
150
150
  } & {
@@ -153,7 +153,7 @@ export declare function getDefaultOptions<TItem extends BaseItem>(options: Autoc
153
153
  role: "combobox";
154
154
  'aria-expanded': boolean;
155
155
  'aria-haspopup': boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
156
- 'aria-owns': string | undefined;
156
+ 'aria-controls': string | undefined;
157
157
  'aria-labelledby': string;
158
158
  };
159
159
  panelContainer: HTMLElement;
@@ -1,4 +1,4 @@
1
- /*! @algolia/autocomplete-js 1.17.4 | MIT License | © Algolia, Inc. and contributors | https://github.com/algolia/autocomplete */
1
+ /*! @algolia/autocomplete-js 1.17.6 | MIT License | © Algolia, Inc. and contributors | https://github.com/algolia/autocomplete */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
4
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -347,7 +347,7 @@
347
347
  return undefined;
348
348
  }
349
349
 
350
- var version = '1.17.4';
350
+ var version = '1.17.6';
351
351
 
352
352
  var userAgents$1 = [{
353
353
  segment: 'autocomplete-core',
@@ -2793,7 +2793,7 @@
2793
2793
  role: 'combobox',
2794
2794
  'aria-expanded': store.getState().isOpen,
2795
2795
  'aria-haspopup': 'listbox',
2796
- 'aria-owns': store.getState().isOpen ? store.getState().collections.map(function (_ref2) {
2796
+ 'aria-controls': store.getState().isOpen ? store.getState().collections.map(function (_ref2) {
2797
2797
  var source = _ref2.source;
2798
2798
  return getAutocompleteElementId(props.id, 'list', source);
2799
2799
  }).join(' ') : undefined,