Skip to content

Commit

Permalink
Merge pull request #92 from samply/fix/catalogue-overwrite
Browse files Browse the repository at this point in the history
Fix/catalogue overwrite
  • Loading branch information
patrickskowronekdkfz authored Apr 24, 2024
2 parents 510fe41 + 8de5052 commit 67d20e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
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,7 +1,7 @@
{
"name": "@samply/lens",
"description": "A web component library for clinical data search and visualisation",
"version": "0.0.5",
"version": "0.0.6",
"type": "module",
"module": "dist/lens.js",
"main": "dist/lens.umd.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,10 @@
/>

<script lang="ts">
import type { Category } from "../../types/treeData";
import { queryStore } from "../../stores/query";
import SearchBarComponent from "./SearchBarComponent.wc.svelte";
import type { QueryItem } from "../../types/queryData";
/**
* props
* @param treeData takes a Category tree to build the autocomplete items from
* @param noMatchesFoundMessage takes a string to display when no matches are found
*/
export let treeData: Category[] = [];
export let noMatchesFoundMessage: string = "No matches found";
export let placeholderText: string = "Type to filter conditions";
Expand All @@ -40,7 +33,6 @@
{#each $queryStore as _, index}
<div part="search-bar-wrapper">
<SearchBarComponent
{treeData}
{noMatchesFoundMessage}
{placeholderText}
{index}
Expand Down

0 comments on commit 67d20e1

Please sign in to comment.