instantsearch.js 4.84.0 → 4.85.0
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.
- package/cjs/connectors/chat/connectChat.js +2 -1
- package/cjs/lib/utils/getAlgoliaAgent.js +10 -0
- package/cjs/lib/utils/index.js +11 -0
- package/cjs/lib/version.js +1 -1
- package/cjs/middlewares/createMetadataMiddleware.js +1 -2
- package/cjs/widgets/autocomplete/autocomplete.js +17 -7
- package/cjs/widgets/chat/chat.js +3 -3
- package/dist/instantsearch.development.d.ts +4 -0
- package/dist/instantsearch.development.js +54 -38
- package/dist/instantsearch.development.js.map +1 -1
- package/dist/instantsearch.production.d.ts +4 -0
- package/dist/instantsearch.production.min.d.ts +4 -0
- package/dist/instantsearch.production.min.js +2 -2
- package/dist/instantsearch.production.min.js.map +1 -1
- package/es/connectors/chat/connectChat.js +3 -2
- package/es/lib/utils/getAlgoliaAgent.d.ts +1 -0
- package/es/lib/utils/getAlgoliaAgent.js +4 -0
- package/es/lib/utils/index.d.ts +1 -0
- package/es/lib/utils/index.js +1 -0
- package/es/lib/version.d.ts +1 -1
- package/es/lib/version.js +1 -1
- package/es/middlewares/createMetadataMiddleware.js +2 -3
- package/es/widgets/autocomplete/autocomplete.d.ts +4 -0
- package/es/widgets/autocomplete/autocomplete.js +18 -8
- package/es/widgets/chat/chat.js +4 -4
- package/package.json +6 -6
|
@@ -379,6 +379,10 @@ declare type AutocompleteWidgetParams<TItem extends BaseHit> = {
|
|
|
379
379
|
* CSS classes to add.
|
|
380
380
|
*/
|
|
381
381
|
cssClasses?: AutocompleteCSSClasses;
|
|
382
|
+
/**
|
|
383
|
+
* Placeholder text for the search input.
|
|
384
|
+
*/
|
|
385
|
+
placeholder?: string;
|
|
382
386
|
};
|
|
383
387
|
|
|
384
388
|
declare type BaseHit = Record<string, any>;
|
|
@@ -379,6 +379,10 @@ declare type AutocompleteWidgetParams<TItem extends BaseHit> = {
|
|
|
379
379
|
* CSS classes to add.
|
|
380
380
|
*/
|
|
381
381
|
cssClasses?: AutocompleteCSSClasses;
|
|
382
|
+
/**
|
|
383
|
+
* Placeholder text for the search input.
|
|
384
|
+
*/
|
|
385
|
+
placeholder?: string;
|
|
382
386
|
};
|
|
383
387
|
|
|
384
388
|
declare type BaseHit = Record<string, any>;
|