@algolia/autocomplete-js 1.5.0 → 1.5.1

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.
@@ -39,10 +39,10 @@ export declare function getDefaultOptions<TItem extends BaseItem>(options: Autoc
39
39
  value: string;
40
40
  autoFocus: boolean;
41
41
  placeholder: string;
42
- autoComplete: "on" | "off";
43
- autoCorrect: "on" | "off";
44
- autoCapitalize: "on" | "off";
45
- enterKeyHint: "go" | "search";
42
+ autoComplete: "off" | "on";
43
+ autoCorrect: "off" | "on";
44
+ autoCapitalize: "off" | "on";
45
+ enterKeyHint: "search" | "go";
46
46
  spellCheck: "false";
47
47
  maxLength: number;
48
48
  type: "search";
@@ -64,10 +64,10 @@ export declare function getDefaultOptions<TItem extends BaseItem>(options: Autoc
64
64
  value: string;
65
65
  autoFocus: boolean;
66
66
  placeholder: string;
67
- autoComplete: "on" | "off";
68
- autoCorrect: "on" | "off";
69
- autoCapitalize: "on" | "off";
70
- enterKeyHint: "go" | "search";
67
+ autoComplete: "off" | "on";
68
+ autoCorrect: "off" | "on";
69
+ autoCapitalize: "off" | "on";
70
+ enterKeyHint: "search" | "go";
71
71
  spellCheck: "false";
72
72
  maxLength: number;
73
73
  type: "search";
@@ -139,7 +139,7 @@ export declare function getDefaultOptions<TItem extends BaseItem>(options: Autoc
139
139
  props: {
140
140
  role: string;
141
141
  'aria-expanded': boolean;
142
- 'aria-haspopup': boolean | "dialog" | "menu" | "false" | "true" | "grid" | "listbox" | "tree" | undefined;
142
+ 'aria-haspopup': boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
143
143
  'aria-owns': string | undefined;
144
144
  'aria-labelledby': string;
145
145
  };
@@ -148,7 +148,7 @@ export declare function getDefaultOptions<TItem extends BaseItem>(options: Autoc
148
148
  } & import("@algolia/autocomplete-core").AutocompleteScopeApi<TItem>) => {
149
149
  role: string;
150
150
  'aria-expanded': boolean;
151
- 'aria-haspopup': boolean | "dialog" | "menu" | "false" | "true" | "grid" | "listbox" | "tree" | undefined;
151
+ 'aria-haspopup': boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
152
152
  'aria-owns': string | undefined;
153
153
  'aria-labelledby': string;
154
154
  };