Skip to content

Commit

Permalink
feat: add ulcerative colitis components
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanzavisic committed Oct 19, 2023
1 parent dd10b71 commit b2da456
Show file tree
Hide file tree
Showing 7 changed files with 659 additions and 86 deletions.
49 changes: 22 additions & 27 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,9 @@
},
"engines": {
"node": ">=16.14"
},
"dependencies": {
"svelte-icons": "^2.1.0",
"svelte-material-icons": "^3.0.5"
}
}
7 changes: 6 additions & 1 deletion packages/demo/src/App.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import { onMount } from 'svelte';
import '../../../dist/arthritis.wc.js';
import '../../../dist/colitis.wc.js';
let el: HTMLDivElement;
Expand All @@ -10,6 +11,10 @@
</script>

<div bind:this={el} class="p-4">
<ga-arthritis report="1K4GyKDgsB9ATQflwio7"></ga-arthritis>
<div class="flex">
<ga-arthritis report="1K4GyKDgsB9ATQflwio7"></ga-arthritis>
<div class="p-20"></div>
<ga-colitis report="1K4GyKDgsB9ATQflwio7"></ga-colitis>
</div>
</div>

1 change: 1 addition & 0 deletions packages/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export default () => {
import('./src/arthritis/arthritis.wc.svelte');
import('./src/colitis/colitis.wc.svelte');
import('./src/shared/interfaces/language.interface');
};
Loading

0 comments on commit b2da456

Please sign in to comment.