Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

feat(insights): expose send-event in widgets #953

Merged
merged 4 commits into from
Apr 21, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@
"bundlesize": [
{
"path": "./dist/vue-instantsearch.js",
"maxSize": "52.75 kB"
"maxSize": "53.00 kB"
},
{
"path": "./dist/vue-instantsearch.common.js",
"maxSize": "16.25 kB"
"maxSize": "16.50 kB"
}
],
"resolutions": {
Expand Down
1 change: 1 addition & 0 deletions src/components/HierarchicalMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
:refine="state.refine"
:createURL="state.createURL"
:toggle-show-more="state.toggleShowMore"
:send-event="state.sendEvent"
>
<hierarchical-menu-list
:items="state.items"
Expand Down
1 change: 1 addition & 0 deletions src/components/Hits.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<slot
:items="items"
:insights="state.insights"
:send-event="state.sendEvent"
>
<ol :class="suit('list')">
<li
Expand Down
1 change: 1 addition & 0 deletions src/components/InfiniteHits.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
:refine-next="refineNext"
:refine="refineNext"
:insights="state.insights"
:send-event="state.sendEvent"
>
<ol :class="suit('list')">
<li
Expand Down
1 change: 1 addition & 0 deletions src/components/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
:refine="state.refine"
:createURL="state.createURL"
:toggle-show-more="state.toggleShowMore"
:send-event="state.sendEvent"
>
<ul :class="suit('list')">
<li
Expand Down
1 change: 1 addition & 0 deletions src/components/MenuSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:can-refine="state.canRefine"
:refine="refine"
:createURL="state.createURL"
:send-event="state.sendEvent"
>
<select
:class="suit('select')"
Expand Down
1 change: 1 addition & 0 deletions src/components/NumericMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:can-refine="canRefine"
:refine="state.refine"
:createURL="state.createURL"
:send-event="state.sendEvent"
>
<ul :class="[suit('list')]">
<li
Expand Down
1 change: 1 addition & 0 deletions src/components/RangeInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:refine="refine"
:can-refine="canRefine"
:range="state.range"
:send-event="state.sendEvent"
>
<form
:class="suit('form')"
Expand Down
1 change: 1 addition & 0 deletions src/components/RatingMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
:items="state.items"
:refine="state.refine"
:createURL="state.createURL"
:send-event="state.sendEvent"
>
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
1 change: 1 addition & 0 deletions src/components/RefinementList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
:createURL="state.createURL"
:is-from-search="state.isFromSearch"
:can-refine="state.canRefine"
:send-event="state.sendEvent"
Haroenv marked this conversation as resolved.
Show resolved Hide resolved
>
<div
:class="suit('searchBox')"
Expand Down
1 change: 1 addition & 0 deletions src/components/ToggleRefinement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:can-refine="canRefine"
:refine="state.refine"
:createURL="state.createURL"
:send-event="state.sendEvent"
>
<label :class="suit('label')">
<input
Expand Down