react-instantsearch 6.38.1 → 6.38.2

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015-present Algolia, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,5 +1,13 @@
1
+ <!-- START doctoc generated TOC please keep comment here to allow auto update -->
2
+ <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3
+ **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4
+
5
+ - [react-instantsearch](#react-instantsearch)
6
+
7
+ <!-- END doctoc generated TOC please keep comment here to allow auto update -->
8
+
1
9
  # react-instantsearch
2
10
 
3
11
  This is the [React](https://facebook.github.io/react) version of Algolia's `instantsearch` library.
4
12
 
5
- Go to the [React InstantSearch website](https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/) or the [React InstantSearch GitHub repository](https://github.com/algolia/react-instantsearch) for more information.
13
+ Go to the [React InstantSearch website](https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/) or the [React InstantSearch GitHub repository](https://github.com/algolia/instantsearch.js) for more information.
package/dist/README.md CHANGED
@@ -1,121 +1,203 @@
1
1
  <p align="center">
2
- <a href="https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/">
3
- <img alt="React InstantSearch" src=".github/react-instantsearch-banner.png">
2
+ <a href="https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/">
3
+ <img alt="InstantSearch.js" src=".github/banner.png">
4
4
  </a>
5
5
 
6
6
  <p align="center">
7
- React InstantSearch is a library for building blazing fast search-as-you-type search UIs with <a href="https://www.algolia.com">Algolia</a>.
7
+ InstantSearch.js is a JavaScript library for building performant and instant search experiences with <a href="https://www.algolia.com/?utm_source=instantsearch.js&utm_campaign=repository">Algolia</a>.
8
8
  </p>
9
9
  </p>
10
10
 
11
11
  ---
12
12
 
13
- [![Version][version-svg]][package-url] [![Build Status][ci-svg]][ci-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
13
+ [![Version][version-svg]][package-url]
14
+ [![License][license-image]][license-url]
15
+ [![Build Status][ci-svg]][ci-url]
16
+ [![Pull reminders][pull-reminders-svg]][pull-reminders-url]
14
17
 
15
- React InstantSearch is a React library that lets you create an instant-search result experience using [Algolia][algolia-website]’s search API. It is part of the InstantSearch family:
18
+ InstantSearch.js is a vanilla JavaScript library that lets you create an instant-search result experience using [Algolia][algolia-website]’s search API. It is part of the InstantSearch family:
16
19
 
17
- **React InstantSearch** | [InstantSearch.js][instantsearch.js-github] | [Angular InstantSearch][instantsearch-angular-github] | [Vue InstantSearch][instantsearch-vue-github] | [InstantSearch Android][instantsearch-android-github] | [InstantSearch iOS][instantsearch-ios-github]
20
+ **InstantSearch.js** | [React InstantSearch][react-instantsearch-github] | [Vue InstantSearch][vue-instantsearch-github] | [Angular InstantSearch][instantsearch-angular-github] | [React InstantSearch Native][react-instantsearch-github] | [InstantSearch Android][instantsearch-android-github] | [InstantSearch iOS][instantsearch-ios-github]
18
21
 
19
- ## Why
22
+ <details>
23
+ <summary><strong>Table of contents</strong></summary>
20
24
 
21
- You should be using React InstantSearch if you want to:
25
+ <!-- START doctoc generated TOC please keep comment here to allow auto update -->
26
+ <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
22
27
 
23
- * Design search experiences with best practices
24
- * Customize your components at will
25
- * Follow React principles
26
28
 
27
- ## Installation
29
+ - [Why](#why)
30
+ - [Getting started](#getting-started)
31
+ - [Installation](#installation)
32
+ - [TypeScript users](#typescript-users)
33
+ - [Documentation](#documentation)
34
+ - [Demos](#demos)
35
+ - [Playground](#playground)
36
+ - [Browser support](#browser-support)
37
+ - [Troubleshooting](#troubleshooting)
38
+ - [Contributing](#contributing)
39
+ - [License](#license)
28
40
 
29
- React InstantSearch is available on the npm registry. It relies on [`algoliasearch`](https://github.com/algolia/algoliasearch-client-javascript) to communicate with Algolia APIs.
41
+ <!-- END doctoc generated TOC please keep comment here to allow auto update -->
30
42
 
31
- ```sh
32
- yarn add react-instantsearch-dom algoliasearch
33
- # or
34
- npm install react-instantsearch-dom algoliasearch
35
- ```
43
+ </details>
44
+
45
+ ## Why
46
+
47
+ You should be using InstantSearch if you want to:
48
+
49
+ - Design search experiences with best practices
50
+ - Customize your components at will
51
+ - Remain independent from external frameworks
36
52
 
37
53
  ## Getting started
38
54
 
39
- Using React InstantSearch is as simple as adding these components to your app:
55
+ Using InstantSearch.js is as simple as adding this JavaScript code to your page:
40
56
 
41
57
  ```javascript
42
- import React from 'react';
43
- import ReactDOM from 'react-dom';
44
- import algoliasearch from 'algoliasearch/lite';
45
- import { InstantSearch, SearchBox, Hits } from 'react-instantsearch-dom';
46
-
47
- const searchClient = algoliasearch(
48
- 'latency',
49
- '6be0576ff61c053d5f9a3225e2a90f76'
50
- );
51
-
52
- const App = () => (
53
- <InstantSearch
54
- indexName="bestbuy"
55
- searchClient={searchClient}
56
- >
57
- <SearchBox />
58
- <Hits />
59
- </InstantSearch>
60
- );
58
+ // 1. Instantiate the search
59
+ const search = instantsearch({
60
+ indexName: 'instant_search',
61
+ searchClient: algoliasearch('latency', '6be0576ff61c053d5f9a3225e2a90f76'),
62
+ });
63
+
64
+ search.addWidgets([
65
+ // 2. Create an interactive search box
66
+ instantsearch.widgets.searchBox({
67
+ container: '#searchbox',
68
+ placeholder: 'Search for products',
69
+ }),
70
+
71
+ // 3. Plug the search results into the product container
72
+ instantsearch.widgets.hits({
73
+ container: '#products',
74
+ templates: {
75
+ item: '{{#helpers.highlight}}{ "attribute": "name" }{{/helpers.highlight}}',
76
+ },
77
+ }),
78
+
79
+ // 4. Make the brands refinable
80
+ instantsearch.widgets.refinementList({
81
+ container: '#brand',
82
+ attribute: 'brand',
83
+ }),
84
+ ]);
85
+
86
+ // 5. Start the search!
87
+ search.start();
61
88
  ```
62
89
 
63
90
  <p align="center">
64
- <a href="https://codesandbox.io/s/github/algolia/doc-code-samples/tree/master/react-instantsearch/getting-started" title="Edit on CodeSandbox">
91
+ <a href="https://codesandbox.io/s/github/algolia/doc-code-samples/tree/master/InstantSearch.js/getting-started" title="Edit on CodeSandbox">
65
92
  <img alt="Edit on CodeSandbox" src="https://codesandbox.io/static/img/play-codesandbox.svg">
66
93
  </a>
67
94
  </p>
68
95
 
69
- To learn more about the library, follow the [getting started guide][doc-getting-started].
96
+ To learn more about the library, follow the [getting started](https://www.algolia.com/doc/guides/building-search-ui/getting-started/js/) guide or check how to [add it to your own project](https://www.algolia.com/doc/guides/building-search-ui/installation/js/).
97
+
98
+ ## Installation
99
+
100
+ ```sh
101
+ npm install instantsearch.js algoliasearch
102
+ # or
103
+ yarn add instantsearch.js algoliasearch
104
+ ```
105
+
106
+ ### TypeScript users
107
+
108
+ To use InstantSearch.js in a TypeScript environment, depending on your [`algoliasearch`](https://github.com/algolia/algoliasearch-client-javascript) version, you need to import different types.
109
+
110
+ >You still need to import these types even if you don't use InstantSearch.js with [`algoliasearch`](https://github.com/algolia/algoliasearch-client-javascript).
111
+
112
+ #### `algoliasearch` v4.x
113
+
114
+ This version uses types provided by both `algoliasearch` and `@algolia/client-search`.
115
+
116
+ ```bash
117
+ yarn add algoliasearch@4 @algolia/client-search
118
+ ```
119
+
120
+ #### `algoliasearch` v3.x
121
+
122
+ ```bash
123
+ yarn add @types/algoliasearch@3
124
+ ```
125
+
126
+ >v3.x is deprecated and will soon no longer be supported.
70
127
 
71
128
  ## Documentation
72
129
 
73
- The documentation is available on [algolia.com/doc][doc].
130
+ The documentation is available on the [Algolia website](https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/).
74
131
 
75
132
  ## Demos
76
133
 
77
- | E-commerce | Media | Travel |
78
- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
79
- | <a href="https://react-instantsearch.netlify.com/examples/e-commerce/"><img src=".github/example-e-commerce.png" width="250" alt="E-commerce demo preview"></a> | <a href="https://react-instantsearch.netlify.com/examples/media/"><img src=".github/example-media.png" width="250" alt="Media demo preview"></a> | <a href="https://react-instantsearch.netlify.com/examples/tourism/"><img src=".github/example-tourism.png" width="250" alt="Tourism demo preview"></a> |
134
+ | E-commerce | Media | Travel |
135
+ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
136
+ | <a href="https://instantsearchjs.netlify.com/examples/e-commerce/"><img src="https://www.algolia.com/doc/assets/images/build-search-ui/demos/e-commerce-2c7ed6b6.png" width="250" alt="E-commerce demo preview"></a> | <a href="https://instantsearchjs.netlify.com/examples/media/"><img src="https://www.algolia.com/doc/assets/images/build-search-ui/demos/media-articles-abc153ab.png" width="250" alt="Media demo preview"></a> | <a href="https://instantsearchjs.netlify.com/examples/tourism/"><img src="https://instantsearchjs.netlify.com/examples/tourism/capture.png" width="250" alt="Tourism demo preview"></a> |
80
137
 
81
- See more examples [on the website][doc-demos].
138
+ See more demos [on the website](https://www.algolia.com/doc/guides/building-search-ui/resources/demos/js/).
82
139
 
83
140
  ## Playground
84
141
 
85
- You can get to know React InstantSearch on [this playground][doc-playground].
142
+ You can get to know InstantSearch.js on [this playground](https://codesandbox.io/s/github/algolia/instantsearch.js/tree/templates/instantsearch.js).
143
+
144
+ Start by [adding widgets](https://www.algolia.com/doc/guides/building-search-ui/widgets/showcase/js/) and tweaking the display. Once you feel familiar with the library, we recommend following the [getting started guide](https://www.algolia.com/doc/guides/building-search-ui/getting-started/js/).
145
+
146
+ ## Browser support
86
147
 
87
- Start by [adding components][doc-getting-started] and tweaking the display. Once you get more familiar with the library, you can learn more advanced concepts in [our guides][doc-guides].
148
+ We support the **last two versions of major browsers** (Chrome, Edge, Firefox, Safari).
149
+
150
+ Please refer to the [browser support](https://www.algolia.com/doc/guides/building-search-ui/installation/js/#browser-support) section in the documentation to use InstantSearch.js on other browsers.
88
151
 
89
152
  ## Troubleshooting
90
153
 
91
- Encountering an issue? Before reaching out to support, we recommend heading to our [FAQ](https://www.algolia.com/doc/guides/building-search-ui/troubleshooting/faq/react/) where you will find answers for the most common issues and gotchas with the library.
154
+ Encountering an issue? Before reaching out to support, we recommend heading to our [FAQ](https://www.algolia.com/doc/guides/building-search-ui/troubleshooting/faq/js/) where you will find answers for the most common issues and gotchas with the library.
92
155
 
93
156
  ## Contributing
94
157
 
95
- We welcome all contributors, from casual to regular. You are only one command away to start the developer environment, [read our CONTRIBUTING guide](CONTRIBUTING.md).
158
+ We welcome all contributors, from casual to regular 💙
159
+
160
+ - **Bug report**. Is something not working as expected? [Send a bug report][contributing-bugreport].
161
+ - **Feature request**. Would you like to add something to the library? [Send a feature request][contributing-featurerequest].
162
+ - **Documentation**. Did you find a typo in the doc? [Open an issue][contributing-newissue] and we'll take care of it.
163
+ - **Development**. If you don't know where to start, you can check the open issues that are [tagged easy][contributing-label-easy], the [bugs][contributing-label-bug] or [chores][contributing-label-chore].
164
+
165
+ To start contributing to code, you need to:
166
+
167
+ 1. [Fork the project](https://help.github.com/articles/fork-a-repo/)
168
+ 1. [Clone the repository](https://help.github.com/articles/cloning-a-repository/)
169
+ 1. Install the dependencies: `yarn`
170
+ 1. Run the development mode: `cd packages/instantsearch.js && yarn storybook`
171
+ 1. [Open the stories](http://localhost:6006)
172
+
173
+ Please read [our contribution process](CONTRIBUTING.md) to learn more.
96
174
 
97
175
  ## License
98
176
 
99
- React InstantSearch is [MIT licensed](LICENSE).
177
+ InstantSearch.js is [MIT licensed][license-url].
178
+
179
+ <!-- Badges -->
180
+
181
+ [version-svg]: https://img.shields.io/npm/v/instantsearch.js.svg?style=flat-square
182
+ [package-url]: https://npmjs.org/package/instantsearch.js
183
+ [ci-svg]: https://img.shields.io/circleci/project/github/algolia/instantsearch.js.svg?style=flat-square
184
+ [ci-url]: https://circleci.com/gh/algolia/instantsearch.js
185
+ [pull-reminders-svg]: https://img.shields.io/badge/pull%20reminders-✓-success.svg?style=flat-square
186
+ [pull-reminders-url]: https://pullreminders.com?ref=badge
187
+ [license-image]: http://img.shields.io/badge/license-MIT-green.svg?style=flat-square
188
+ [license-url]: LICENSE
100
189
 
101
190
  <!-- Links -->
102
191
 
103
- [doc]: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/
104
- [doc-getting-started]: https://www.algolia.com/doc/guides/building-search-ui/getting-started/react/
105
- [doc-guides]: https://www.algolia.com/doc/guides/building-search-ui/widgets/customize-an-existing-widget/react/
106
- [doc-demos]: https://www.algolia.com/doc/guides/building-search-ui/resources/demos/react/
107
- [doc-playground]: https://codesandbox.io/s/github/algolia/create-instantsearch-app/tree/templates/react-instantsearch
108
- [algolia-website]: https://www.algolia.com/
109
- [instantsearch.js-github]: https://github.com/algolia/instantsearch.js
192
+ [algolia-website]: https://www.algolia.com/?utm_source=instantsearch.js&utm_campaign=repository
193
+ [react-instantsearch-github]: https://github.com/algolia/instantsearch.js
194
+ [vue-instantsearch-github]: https://github.com/algolia/vue-instantsearch
110
195
  [instantsearch-android-github]: https://github.com/algolia/instantsearch-android
111
196
  [instantsearch-ios-github]: https://github.com/algolia/instantsearch-ios
112
- [instantsearch-vue-github]: https://github.com/algolia/vue-instantsearch
113
197
  [instantsearch-angular-github]: https://github.com/algolia/angular-instantsearch
114
- [ci-svg]: https://circleci.com/gh/algolia/react-instantsearch.svg?style=svg
115
- [ci-url]: https://circleci.com/gh/algolia/react-instantsearch
116
- [license-image]: http://img.shields.io/badge/license-MIT-green.svg?style=flat-square
117
- [license-url]: LICENSE
118
- [downloads-image]: https://img.shields.io/npm/dm/react-instantsearch.svg?style=flat-square
119
- [downloads-url]: http://npm-stat.com/charts.html?package=react-instantsearch
120
- [version-svg]: https://img.shields.io/npm/v/react-instantsearch.svg?style=flat-square
121
- [package-url]: https://yarnpkg.com/en/package/react-instantsearch
198
+ [contributing-bugreport]: https://github.com/algolia/instantsearch.js/issues/new?template=BUG_REPORT.yml&labels=triage
199
+ [contributing-featurerequest]: https://github.com/algolia/instantsearch.js/discussions/new?category=ideas&labels=triage&title=Feature%20request%3A%20
200
+ [contributing-newissue]: https://github.com/algolia/instantsearch.js/issues/new?labels=triage
201
+ [contributing-label-easy]: https://github.com/algolia/instantsearch.js/issues?q=is%3Aopen+is%3Aissue+label%3A%22Difficulty%3A+Easy%22
202
+ [contributing-label-bug]: https://github.com/algolia/instantsearch.js/issues?q=is%3Aissue+is%3Aopen+label%3A%22Type%3A+Bug%22
203
+ [contributing-label-chore]: https://github.com/algolia/instantsearch.js/issues?q=is%3Aissue+is%3Aopen+label%3A%22Type%3A+Chore%22
@@ -165,5 +165,4 @@ Object.defineProperty(exports, "connectToggleRefinement", {
165
165
  return _reactInstantsearchCore.connectToggleRefinement;
166
166
  }
167
167
  });
168
-
169
168
  var _reactInstantsearchCore = require("react-instantsearch-core");
package/dist/dom.js CHANGED
@@ -195,5 +195,4 @@ Object.defineProperty(exports, "getInsightsAnonymousUserToken", {
195
195
  return _reactInstantsearchDom.getInsightsAnonymousUserToken;
196
196
  }
197
197
  });
198
-
199
198
  var _reactInstantsearchDom = require("react-instantsearch-dom");
@@ -0,0 +1,26 @@
1
+ export { connectAutoComplete } from 'react-instantsearch-core';
2
+ export { connectBreadcrumb } from 'react-instantsearch-core';
3
+ export { connectConfigure } from 'react-instantsearch-core';
4
+ export { EXPERIMENTAL_connectConfigureRelatedItems } from 'react-instantsearch-core';
5
+ export { connectDynamicWidgets, EXPERIMENTAL_connectDynamicWidgets } from 'react-instantsearch-core';
6
+ export { connectCurrentRefinements } from 'react-instantsearch-core';
7
+ export { connectGeoSearch } from 'react-instantsearch-core';
8
+ export { connectHierarchicalMenu } from 'react-instantsearch-core';
9
+ export { connectHighlight } from 'react-instantsearch-core';
10
+ export { connectHitInsights } from 'react-instantsearch-core';
11
+ export { connectHits } from 'react-instantsearch-core';
12
+ export { connectHitsPerPage } from 'react-instantsearch-core';
13
+ export { connectInfiniteHits } from 'react-instantsearch-core';
14
+ export { connectMenu } from 'react-instantsearch-core';
15
+ export { connectNumericMenu } from 'react-instantsearch-core';
16
+ export { connectPagination } from 'react-instantsearch-core';
17
+ export { connectPoweredBy } from 'react-instantsearch-core';
18
+ export { connectRange } from 'react-instantsearch-core';
19
+ export { connectRefinementList } from 'react-instantsearch-core';
20
+ export { connectScrollTo } from 'react-instantsearch-core';
21
+ export { connectSearchBox } from 'react-instantsearch-core';
22
+ export { connectRelevantSort } from 'react-instantsearch-core';
23
+ export { connectSortBy } from 'react-instantsearch-core';
24
+ export { connectStateResults } from 'react-instantsearch-core';
25
+ export { connectStats } from 'react-instantsearch-core';
26
+ export { connectToggleRefinement } from 'react-instantsearch-core';
package/dist/es/dom.js ADDED
@@ -0,0 +1,31 @@
1
+ export { InstantSearch } from 'react-instantsearch-dom';
2
+ export { Index } from 'react-instantsearch-dom';
3
+ export { Breadcrumb } from 'react-instantsearch-dom';
4
+ export { ClearRefinements } from 'react-instantsearch-dom';
5
+ export { Configure } from 'react-instantsearch-dom';
6
+ export { ExperimentalConfigureRelatedItems } from 'react-instantsearch-dom';
7
+ export { DynamicWidgets, ExperimentalDynamicWidgets } from 'react-instantsearch-dom';
8
+ export { CurrentRefinements } from 'react-instantsearch-dom';
9
+ export { HierarchicalMenu } from 'react-instantsearch-dom';
10
+ export { Highlight } from 'react-instantsearch-dom';
11
+ export { Hits } from 'react-instantsearch-dom';
12
+ export { HitsPerPage } from 'react-instantsearch-dom';
13
+ export { InfiniteHits } from 'react-instantsearch-dom';
14
+ export { Menu } from 'react-instantsearch-dom';
15
+ export { MenuSelect } from 'react-instantsearch-dom';
16
+ export { NumericMenu } from 'react-instantsearch-dom';
17
+ export { Pagination } from 'react-instantsearch-dom';
18
+ export { Panel } from 'react-instantsearch-dom';
19
+ export { PoweredBy } from 'react-instantsearch-dom';
20
+ export { RangeInput } from 'react-instantsearch-dom';
21
+ export { RangeSlider } from 'react-instantsearch-dom';
22
+ export { RatingMenu } from 'react-instantsearch-dom';
23
+ export { RefinementList } from 'react-instantsearch-dom';
24
+ export { ScrollTo } from 'react-instantsearch-dom';
25
+ export { SearchBox } from 'react-instantsearch-dom';
26
+ export { RelevantSort } from 'react-instantsearch-dom';
27
+ export { Snippet } from 'react-instantsearch-dom';
28
+ export { SortBy } from 'react-instantsearch-dom';
29
+ export { Stats } from 'react-instantsearch-dom';
30
+ export { ToggleRefinement } from 'react-instantsearch-dom';
31
+ export { getInsightsAnonymousUserToken } from 'react-instantsearch-dom';
@@ -0,0 +1 @@
1
+ export { createConnector } from 'react-instantsearch-core';
@@ -0,0 +1,5 @@
1
+ export { InstantSearch } from 'react-instantsearch-native';
2
+ export { Index } from 'react-instantsearch-native';
3
+ export { Configure } from 'react-instantsearch-native';
4
+ export { ExperimentalConfigureRelatedItems } from 'react-instantsearch-native';
5
+ export { DynamicWidgets, ExperimentalDynamicWidgets } from 'react-instantsearch-native';
@@ -0,0 +1 @@
1
+ export { createInstantSearch } from 'react-instantsearch-dom/server';
package/dist/index.js CHANGED
@@ -9,5 +9,4 @@ Object.defineProperty(exports, "createConnector", {
9
9
  return _reactInstantsearchCore.createConnector;
10
10
  }
11
11
  });
12
-
13
12
  var _reactInstantsearchCore = require("react-instantsearch-core");
package/dist/native.js CHANGED
@@ -39,5 +39,4 @@ Object.defineProperty(exports, "InstantSearch", {
39
39
  return _reactInstantsearchNative.InstantSearch;
40
40
  }
41
41
  });
42
-
43
42
  var _reactInstantsearchNative = require("react-instantsearch-native");
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-instantsearch",
3
- "version": "6.38.1",
3
+ "version": "6.38.2",
4
4
  "description": "⚡ Lightning-fast search for React and React Native apps, by Algolia",
5
5
  "main": "index.js",
6
6
  "module": "dist/es/index.js",
@@ -17,7 +17,7 @@
17
17
  "homepage": "https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/",
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "https://github.com/algolia/react-instantsearch"
20
+ "url": "https://github.com/algolia/instantsearch.js"
21
21
  },
22
22
  "author": {
23
23
  "name": "Algolia, Inc.",
@@ -36,7 +36,7 @@
36
36
  "scripts": {
37
37
  "clean": "rm -rf dist",
38
38
  "build": "yarn build:cjs && yarn build:es && yarn build:umd",
39
- "build:cjs": "babel connectors.js dom.js index.js native.js server.js --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist --quiet",
39
+ "build:cjs": "BABEL_ENV=cjs babel connectors.js dom.js index.js native.js server.js --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist --quiet",
40
40
  "build:es": "BABEL_ENV=es babel connectors.js dom.js index.js native.js server.js --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist/es --quiet",
41
41
  "build:umd": "BABEL_ENV=rollup rollup -c rollup.config.js",
42
42
  "preparePackageFolder": "cp package.json dist && cp ../../README.md dist",
@@ -44,12 +44,13 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@babel/runtime": "^7.1.2",
47
- "react-instantsearch-core": "6.38.1",
48
- "react-instantsearch-dom": "6.38.1",
49
- "react-instantsearch-native": "6.38.1"
47
+ "react-instantsearch-core": "6.38.2",
48
+ "react-instantsearch-dom": "6.38.2",
49
+ "react-instantsearch-native": "6.38.2"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "algoliasearch": ">= 3.1 < 5",
53
53
  "react": ">= 16.3.0 < 19"
54
- }
54
+ },
55
+ "gitHead": "54e18a6e7cfebc2c7c7326676c56c71ee39eb1c2"
55
56
  }
package/dist/server.js CHANGED
@@ -9,5 +9,4 @@ Object.defineProperty(exports, "createInstantSearch", {
9
9
  return _server.createInstantSearch;
10
10
  }
11
11
  });
12
-
13
12
  var _server = require("react-instantsearch-dom/server");