@algolia/autocomplete-js 1.15.1 → 1.17.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/dist/esm/createAutocompleteDom.js +2 -0
- package/dist/esm/getDefaultOptions.d.ts +1 -0
- package/dist/esm/getDefaultOptions.js +1 -0
- package/dist/umd/index.development.js +5 -2
- package/dist/umd/index.development.js.map +1 -1
- package/dist/umd/index.production.js +2 -2
- package/dist/umd/index.production.js.map +1 -1
- package/package.json +4 -4
|
@@ -133,6 +133,8 @@ export function createAutocompleteDom(_ref) {
|
|
|
133
133
|
var detachedSearchButton = createDomElement('button', {
|
|
134
134
|
type: 'button',
|
|
135
135
|
class: classNames.detachedSearchButton,
|
|
136
|
+
title: translations.detachedSearchButtonTitle,
|
|
137
|
+
id: labelProps.id,
|
|
136
138
|
onClick: function onClick() {
|
|
137
139
|
setIsModalOpen(true);
|
|
138
140
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @algolia/autocomplete-js 1.
|
|
1
|
+
/*! @algolia/autocomplete-js 1.17.0 | 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.
|
|
350
|
+
var version = '1.17.0';
|
|
351
351
|
|
|
352
352
|
var userAgents$1 = [{
|
|
353
353
|
segment: 'autocomplete-core',
|
|
@@ -3875,6 +3875,8 @@
|
|
|
3875
3875
|
var detachedSearchButton = createDomElement('button', {
|
|
3876
3876
|
type: 'button',
|
|
3877
3877
|
class: classNames.detachedSearchButton,
|
|
3878
|
+
title: translations.detachedSearchButtonTitle,
|
|
3879
|
+
id: labelProps.id,
|
|
3878
3880
|
onClick: function onClick() {
|
|
3879
3881
|
setIsModalOpen(true);
|
|
3880
3882
|
},
|
|
@@ -4641,6 +4643,7 @@
|
|
|
4641
4643
|
var defaultTranslations = {
|
|
4642
4644
|
clearButtonTitle: 'Clear',
|
|
4643
4645
|
detachedCancelButtonText: 'Cancel',
|
|
4646
|
+
detachedSearchButtonTitle: 'Search',
|
|
4644
4647
|
submitButtonTitle: 'Submit'
|
|
4645
4648
|
};
|
|
4646
4649
|
return {
|