react-instantsearch 7.44.1 → 7.45.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/cjs/widgets/chat/tools/DisplayResultsTool.js +0 -1
- package/dist/es/components/ChatGreeting.d.ts +1 -1
- package/dist/es/components/ChatMessageLoader.d.ts +1 -1
- package/dist/es/widgets/chat/tools/DisplayResultsTool.js +1 -2
- package/dist/umd/ReactInstantSearch.js +11489 -11224
- package/dist/umd/ReactInstantSearch.min.js +3 -3
- package/package.json +5 -5
|
@@ -18,7 +18,6 @@ function createDisplayResultsTool(itemComponent) {
|
|
|
18
18
|
createElement: _react.createElement,
|
|
19
19
|
Fragment: _react.Fragment,
|
|
20
20
|
useEffect: _react.useEffect,
|
|
21
|
-
useMemo: _react.useMemo,
|
|
22
21
|
useRef: _react.useRef
|
|
23
22
|
});
|
|
24
23
|
var Button = (0, _instantsearchuicomponents.createButtonComponent)({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ChatGreeting: (userProps: import("instantsearch-ui-components").ChatGreetingProps) => JSX.Element;
|
|
1
|
+
export declare const ChatGreeting: (userProps: import("instantsearch-ui-components").ChatComponentPropsWithContext<import("instantsearch-ui-components").ChatGreetingProps & import("instantsearch-ui-components").ChatEmptyProps>) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ChatMessageLoader: (userProps: import("instantsearch-ui-components").ChatMessageLoaderProps) => JSX.Element;
|
|
1
|
+
export declare const ChatMessageLoader: (userProps: import("instantsearch-ui-components").ChatComponentPropsWithContext<import("instantsearch-ui-components").ChatMessageLoaderProps>) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createDisplayResultsToolComponent, createButtonComponent, ChevronLeftIcon, ChevronRightIcon } from 'instantsearch-ui-components';
|
|
2
|
-
import React, { createElement, Fragment, useEffect,
|
|
2
|
+
import React, { createElement, Fragment, useEffect, useRef } from 'react';
|
|
3
3
|
import { Carousel } from '../../../components/Carousel.js';
|
|
4
4
|
|
|
5
5
|
function createDisplayResultsTool(itemComponent) {
|
|
@@ -7,7 +7,6 @@ function createDisplayResultsTool(itemComponent) {
|
|
|
7
7
|
createElement: createElement,
|
|
8
8
|
Fragment: Fragment,
|
|
9
9
|
useEffect: useEffect,
|
|
10
|
-
useMemo: useMemo,
|
|
11
10
|
useRef: useRef
|
|
12
11
|
});
|
|
13
12
|
var Button = createButtonComponent({
|