Skip to content

Commit

Permalink
[MI-400] Add item group into search bar template (#537)
Browse files Browse the repository at this point in the history
* Fix AdvancedSearchBar component and add changelog
  • Loading branch information
vmangwani authored Sep 4, 2024
1 parent 7e912af commit f1b0429
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# CHANGELOG

## v2.0.92

- Fix bug with the AdvancedSearchbar component and return group title.

## v2.0.91

- Type `Textarea` component and normalize props

## v2.0.90

-
- Release AdvancedSearchBar component that displays the search results in multiple groups.

## v2.0.89

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lob/ui-components",
"version": "2.0.91",
"version": "2.0.92",
"engines": {
"node": ">=20.2.0",
"npm": ">=10.2.0"
Expand Down
5 changes: 4 additions & 1 deletion src/components/AdvancedSearchBar/AdvancedSearchBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@
class="text-gray-500 hover:text-primary-700 cursor-pointer"
@click="hide"
>
<slot name="body" :result="item" />
<slot
name="body"
:result="{ item, type: itemGroup?.title }"
/>
</TableRow>
</TableBody>
</LobTable>
Expand Down

0 comments on commit f1b0429

Please sign in to comment.