instantsearch-ui-components 0.11.0 → 0.11.1
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/components/Carousel.js +2 -1
- package/dist/cjs/components/recommend-shared/List.js +2 -1
- package/dist/cjs/version.js +1 -1
- package/dist/es/components/Carousel.js +2 -1
- package/dist/es/components/recommend-shared/List.js +2 -1
- package/dist/es/types/Recommend.d.ts +1 -0
- package/dist/es/types/shared.d.ts +5 -1
- package/dist/es/version.d.ts +1 -1
- package/dist/es/version.js +1 -1
- package/package.json +2 -2
|
@@ -150,7 +150,8 @@ function createCarouselComponent(_ref3) {
|
|
|
150
150
|
sendEvent('click:internal', item, 'Item Clicked');
|
|
151
151
|
}
|
|
152
152
|
}, createElement(ItemComponent, {
|
|
153
|
-
item: item
|
|
153
|
+
item: item,
|
|
154
|
+
sendEvent: sendEvent
|
|
154
155
|
}));
|
|
155
156
|
})), createElement("button", {
|
|
156
157
|
ref: nextButtonRef,
|
package/dist/cjs/version.js
CHANGED
|
@@ -142,7 +142,8 @@ export function createCarouselComponent(_ref3) {
|
|
|
142
142
|
sendEvent('click:internal', item, 'Item Clicked');
|
|
143
143
|
}
|
|
144
144
|
}, createElement(ItemComponent, {
|
|
145
|
-
item: item
|
|
145
|
+
item: item,
|
|
146
|
+
sendEvent: sendEvent
|
|
146
147
|
}));
|
|
147
148
|
})), createElement("button", {
|
|
148
149
|
ref: nextButtonRef,
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import type { RecordWithObjectID } from './Recommend';
|
|
2
|
+
type BuiltInSendEventForHits = (eventType: string, hits: RecordWithObjectID<any> | Array<RecordWithObjectID<any>>, eventName?: string, additionalData?: Record<string, any>) => void;
|
|
3
|
+
type CustomSendEventForHits = (customPayload: any) => void;
|
|
4
|
+
export type SendEventForHits = BuiltInSendEventForHits & CustomSendEventForHits;
|
|
5
|
+
export {};
|
package/dist/es/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.11.
|
|
1
|
+
declare const _default: "0.11.1";
|
|
2
2
|
export default _default;
|
package/dist/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '0.11.
|
|
1
|
+
export default '0.11.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "instantsearch-ui-components",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Common UI components for InstantSearch.",
|
|
5
5
|
"types": "dist/es/index.d.ts",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@babel/runtime": "^7.1.2"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "3d0c6cbcb894a0b38a81485bc98de6244b70b97e"
|
|
53
53
|
}
|