algolia-experiences 1.8.6 → 1.8.8
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! algolia-experiences 1.8.
|
|
1
|
+
/*! algolia-experiences 1.8.8 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch */
|
|
2
2
|
(function (factory) {
|
|
3
3
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
4
4
|
factory();
|
|
@@ -9981,7 +9981,7 @@
|
|
|
9981
9981
|
};
|
|
9982
9982
|
}
|
|
9983
9983
|
|
|
9984
|
-
var version = '4.
|
|
9984
|
+
var version = '4.100.0';
|
|
9985
9985
|
|
|
9986
9986
|
function getServerResults(entry) {
|
|
9987
9987
|
var _entry_compositionFeedsResults;
|
|
@@ -14304,8 +14304,14 @@
|
|
|
14304
14304
|
* because Preact does not perform it automatically.
|
|
14305
14305
|
* @see https://github.com/preactjs/preact/issues/3242
|
|
14306
14306
|
*/ function componentDidUpdate() {
|
|
14307
|
-
var
|
|
14308
|
-
(_this_listRef_current = this.listRef.current) === null || _this_listRef_current === void 0 ? void 0 :
|
|
14307
|
+
var _this_listRef_current;
|
|
14308
|
+
var inputs = ((_this_listRef_current = this.listRef.current) === null || _this_listRef_current === void 0 ? void 0 : _this_listRef_current.getElementsByTagName('input')) || [];
|
|
14309
|
+
for(var i = 0; i < inputs.length; i++){
|
|
14310
|
+
if (inputs[i].value === this.lastRefinedValue) {
|
|
14311
|
+
inputs[i].focus();
|
|
14312
|
+
break;
|
|
14313
|
+
}
|
|
14314
|
+
}
|
|
14309
14315
|
this.lastRefinedValue = undefined;
|
|
14310
14316
|
}
|
|
14311
14317
|
},
|
|
@@ -19297,14 +19303,16 @@
|
|
|
19297
19303
|
showLoadingIndicator: showLoadingIndicator,
|
|
19298
19304
|
aiMode: aiMode
|
|
19299
19305
|
});
|
|
19300
|
-
var
|
|
19301
|
-
|
|
19306
|
+
var widgetFactory = connectSearchBox(specializedRenderer, function() {
|
|
19307
|
+
P(null, containerNode);
|
|
19302
19308
|
});
|
|
19303
|
-
return _object_spread_props(_object_spread({},
|
|
19309
|
+
return _object_spread(_object_spread_props(_object_spread({}, widgetFactory({
|
|
19304
19310
|
queryHook: queryHook
|
|
19305
19311
|
})), {
|
|
19306
19312
|
$$widgetType: 'ais.searchBox'
|
|
19307
|
-
})
|
|
19313
|
+
}), aiMode ? {
|
|
19314
|
+
opensChat: true
|
|
19315
|
+
} : {});
|
|
19308
19316
|
};
|
|
19309
19317
|
|
|
19310
19318
|
var withUsage$b = createDocumentationMessageGenerator({
|