@genspectrum/dashboard-components 0.18.2 → 0.18.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +2 -2
- package/dist/assets/{mutationOverTimeWorker-ChQTFL68.js.map → mutationOverTimeWorker--b8ZHlji.js.map} +1 -1
- package/dist/components.d.ts +62 -54
- package/dist/components.js +114 -39
- package/dist/components.js.map +1 -1
- package/dist/style.css +2 -2
- package/dist/util.d.ts +70 -58
- package/package.json +4 -4
- package/src/preact/MutationAnnotationsContext.spec.tsx +103 -34
- package/src/preact/MutationAnnotationsContext.tsx +49 -7
- package/src/preact/components/annotated-mutation.stories.tsx +0 -5
- package/src/preact/components/annotated-mutation.tsx +6 -2
- package/src/preact/mutationComparison/mutation-comparison.stories.tsx +3 -1
- package/src/preact/mutations/mutations.stories.tsx +4 -1
- package/src/preact/mutationsOverTime/mutations-over-time.stories.tsx +3 -1
- package/src/preact/sequencesByLocation/leafletStyleModifications.css +5 -0
- package/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.stories.tsx +25 -0
- package/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.tsx +65 -13
- package/src/web-components/MutationAnnotations.mdx +8 -0
- package/src/web-components/gs-app.stories.ts +2 -0
- package/src/web-components/gs-app.ts +4 -2
- package/src/web-components/mutation-annotations-context.ts +6 -2
- package/standalone-bundle/assets/mutationOverTimeWorker-jChgWnwp.js.map +1 -1
- package/standalone-bundle/dashboard-components.js +5699 -5643
- package/standalone-bundle/dashboard-components.js.map +1 -1
- package/standalone-bundle/style.css +1 -1
package/custom-elements.json
CHANGED
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
"kind": "field",
|
|
235
235
|
"name": "mutationAnnotations",
|
|
236
236
|
"type": {
|
|
237
|
-
"text": "{\n name: string;\n description: string;\n symbol: string;\n nucleotideMutations
|
|
237
|
+
"text": "{\n name: string;\n description: string;\n symbol: string;\n nucleotideMutations?: string[];\n nucleotidePositions?: string[];\n aminoAcidMutations?: string[];\n aminoAcidPositions?: string[];\n }[]"
|
|
238
238
|
},
|
|
239
239
|
"default": "[]",
|
|
240
240
|
"description": "Supply lists of mutations that are especially relevant for the current organism.\n\nVisit https://genspectrum.github.io/dashboard-components/?path=/docs/concepts-mutation-annotations--docs for more information.",
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
{
|
|
255
255
|
"name": "mutationAnnotations",
|
|
256
256
|
"type": {
|
|
257
|
-
"text": "{\n name: string;\n description: string;\n symbol: string;\n nucleotideMutations
|
|
257
|
+
"text": "{\n name: string;\n description: string;\n symbol: string;\n nucleotideMutations?: string[];\n nucleotidePositions?: string[];\n aminoAcidMutations?: string[];\n aminoAcidPositions?: string[];\n }[]"
|
|
258
258
|
},
|
|
259
259
|
"default": "[]",
|
|
260
260
|
"description": "Supply lists of mutations that are especially relevant for the current organism.\n\nVisit https://genspectrum.github.io/dashboard-components/?path=/docs/concepts-mutation-annotations--docs for more information.",
|