react-instantsearch 7.15.4 → 7.15.5
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/README.md
CHANGED
|
@@ -51,7 +51,7 @@ Using React InstantSearch is as simple as adding these components to your app:
|
|
|
51
51
|
```javascript
|
|
52
52
|
import React from 'react';
|
|
53
53
|
import ReactDOM from 'react-dom';
|
|
54
|
-
import algoliasearch from 'algoliasearch/lite';
|
|
54
|
+
import { liteClient as algoliasearch } from 'algoliasearch/lite';
|
|
55
55
|
import { InstantSearch, SearchBox, Hits } from 'react-instantsearch';
|
|
56
56
|
|
|
57
57
|
const searchClient = algoliasearch(
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
var React__default = 'default' in React ? React['default'] : React;
|
|
9
9
|
|
|
10
|
-
var version = '7.15.
|
|
10
|
+
var version = '7.15.5';
|
|
11
11
|
|
|
12
12
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
13
13
|
//
|
|
@@ -804,7 +804,16 @@
|
|
|
804
804
|
var facets = state.facets
|
|
805
805
|
.concat(
|
|
806
806
|
state.disjunctiveFacets.map(function (value) {
|
|
807
|
-
|
|
807
|
+
if (
|
|
808
|
+
state.disjunctiveFacetsRefinements &&
|
|
809
|
+
state.disjunctiveFacetsRefinements[value] &&
|
|
810
|
+
state.disjunctiveFacetsRefinements[value].length > 0
|
|
811
|
+
) {
|
|
812
|
+
// only tag a disjunctiveFacet as disjunctive if it has a value selected
|
|
813
|
+
// this helps avoid hitting the limit of 20 disjunctive facets in the Composition API
|
|
814
|
+
return 'disjunctive(' + value + ')';
|
|
815
|
+
}
|
|
816
|
+
return value;
|
|
808
817
|
})
|
|
809
818
|
)
|
|
810
819
|
.concat(requestBuilder._getHitsHierarchicalFacetsAttributes(state))
|
|
@@ -4623,7 +4632,7 @@
|
|
|
4623
4632
|
|
|
4624
4633
|
var sortAndMergeRecommendations_1 = sortAndMergeRecommendations;
|
|
4625
4634
|
|
|
4626
|
-
var version$1 = '3.24.
|
|
4635
|
+
var version$1 = '3.24.3';
|
|
4627
4636
|
|
|
4628
4637
|
var escapeFacetValue$3 = escapeFacetValue_1.escapeFacetValue;
|
|
4629
4638
|
|
|
@@ -13421,7 +13430,7 @@
|
|
|
13421
13430
|
};
|
|
13422
13431
|
}
|
|
13423
13432
|
|
|
13424
|
-
var version$3 = '4.78.
|
|
13433
|
+
var version$3 = '4.78.1';
|
|
13425
13434
|
|
|
13426
13435
|
function _typeof$q(o) {
|
|
13427
13436
|
"@babel/helpers - typeof";
|