Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #60

Merged
merged 23 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
bd56f5b
Fix a typo in CCP Explorer
lablans Feb 8, 2024
abc3191
fix: search for tnm and uicc works again
torbrenner Feb 8, 2024
16081cc
Merge pull request #52 from samply/fix/search-uicc-and-tnm
torbrenner Feb 8, 2024
cd8a11f
feat: added search criteria for ffpe histo search
patrickskowronekdkfz Feb 13, 2024
d9d4a86
Merge pull request #53 from samply/fix/ffpe-cql
MatsJohansen87 Feb 13, 2024
df42123
Merge branch 'develop' into fix-typo
MatsJohansen87 Feb 13, 2024
b7776c5
Merge pull request #51 from samply/fix-typo
MatsJohansen87 Feb 13, 2024
4f5f8d5
feat(styles): add style export
MatsJohansen87 Feb 19, 2024
2c58314
Merge branch 'develop' into feature/export-styles-from-library
MatsJohansen87 Feb 19, 2024
38a4357
feat(readme): add style integration section
MatsJohansen87 Feb 19, 2024
0ab6d04
Merge branch 'develop' into feature/export-styles-from-library
MatsJohansen87 Feb 19, 2024
9db5318
feat(generalise templating): catalogue
MatsJohansen87 Feb 19, 2024
2e12e80
feat(generalise templating): info button
MatsJohansen87 Feb 19, 2024
412bd62
feat(generalise templating): results and searchbars
MatsJohansen87 Feb 19, 2024
637f966
feat(generalise templating): adjust ccp styles
MatsJohansen87 Feb 19, 2024
e18dc7a
fix(dependency): remove local package dependency
MatsJohansen87 Feb 20, 2024
a518568
chore(unused package): remove svelte drag and drop
MatsJohansen87 Feb 20, 2024
034cfe2
Merge pull request #54 from samply/feature/export-styles-from-library
MatsJohansen87 Feb 26, 2024
b979426
Merge pull request #55 from samply/chore/remove-unused-package-dnd
MatsJohansen87 Feb 26, 2024
ea5eecb
Add info button to individual chips and display only that child's mes…
1000daysofcode Feb 28, 2024
eefd5b5
Adjust types and add checks for undefined
1000daysofcode Feb 29, 2024
caf7cf2
Merge pull request #57 from samply/feature/chip-info-button
MatsJohansen87 Feb 29, 2024
e9a0faf
build: release version 0.0.3
MatsJohansen87 Mar 12, 2024
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
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ npm start

to start a development server, that will typically be available at [http://localhost:5173](http://localhost:5173). For further available npm scripts, you can review the [package.json](./package.json)

## Style Integration

To import the default stylings, use
```css
@import "path_to_node_modules/@samply/lens/dist/style.css";
```
in your main css file.

Web components use "part" instead of "class". Here is how you can overwrite style properties:

```css
lens-info-button::part(info-button-icon) {
width: 20px;
}
```

## Roadmap
- On a short term, we plan on publishing the library on [npmjs](https://www.npmjs.com/). We plan to make it available as [@samply/lens](https://www.npmjs.com/package/@samply/lens)
- After making the library available on npm, we will move the `AppCCP.svelte`, `AppBBMRI.svelte` and `AppGBA.svelte` to their separate repositories that are just using this library.
Expand Down
42 changes: 27 additions & 15 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{
"name": "@samply/lens",
"description": "A web component library for clinical data search and visualisation",
"version": "0.0.3-0",
"version": "0.0.3",
"type": "module",
"module": "dist/lens.js",
"main": "dist/lens.umd.js",
"types": "dist/types.d.ts",
"styles": "dist/style.css",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/lens.js",
"require": "./dist/lens.umd.js",
"types": "./dist/types.d.ts"
"types": "./dist/types.d.ts",
"styles": "./dist/style.css"
}
},
"license": "MIT",
Expand Down Expand Up @@ -54,7 +56,6 @@
},
"dependencies": {
"chart.js": "^4.4.0",
"svelte-dnd-action": "^0.9.26",
"uuid": "^9.0.0"
},
"lint-staged": {
Expand Down
Loading
Loading