@genspectrum/dashboard-components 0.8.1 → 0.8.2
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 +1 -1
- package/dist/assets/{mutationOverTimeWorker-ICjqmm9j.js.map → mutationOverTimeWorker-kjUXkRmn.js.map} +1 -1
- package/dist/dashboard-components.js +12 -4
- package/dist/dashboard-components.js.map +1 -1
- package/dist/genspectrum-components.d.ts +41 -41
- package/package.json +1 -1
- package/src/preact/mutationsOverTime/__mockData__/noDataWhenNoMutationsAreInFilter.ts +22 -0
- package/src/preact/mutationsOverTime/__mockData__/noDataWhenThereAreNoDatesInFilter.ts +22 -0
- package/src/preact/mutationsOverTime/mutationOverTimeWorker.mock.ts +2 -0
- package/src/preact/mutationsOverTime/mutations-over-time-grid.tsx +3 -0
- package/src/preact/mutationsOverTime/mutations-over-time.stories.tsx +71 -1
- package/src/preact/mutationsOverTime/mutations-over-time.tsx +9 -3
- package/src/query/queryMutationsOverTime.spec.ts +30 -0
- package/src/query/queryMutationsOverTime.ts +7 -0
- package/src/web-components/visualization/gs-mutations-over-time.tsx +2 -2
- package/standalone-bundle/dashboard-components.js +12 -4
- package/standalone-bundle/dashboard-components.js.map +1 -1
package/custom-elements.json
CHANGED
|
@@ -1854,7 +1854,7 @@
|
|
|
1854
1854
|
"declarations": [
|
|
1855
1855
|
{
|
|
1856
1856
|
"kind": "class",
|
|
1857
|
-
"description": "## Context\n\nThis component displays mutations (substitutions and deletions) over time for a dataset selected by a LAPIS filter.\nThe shown date range is determined by the date field in the LAPIS filter.\nIf the date field is not set, the date range is determined by all available dates in the dataset.\n\n## Views\n\n### Grid View\n\nThe grid view shows the proportion for each mutation over date ranges.\n\nThe grid limits the number of rows columns for browser performance reasons
|
|
1857
|
+
"description": "## Context\n\nThis component displays mutations (substitutions and deletions) over time for a dataset selected by a LAPIS filter.\nThe shown date range is determined by the date field in the LAPIS filter.\nIf the date field is not set, the date range is determined by all available dates in the dataset.\n\n## Views\n\n### Grid View\n\nThe grid view shows the proportion for each mutation over date ranges.\n\nThe grid limits the number of rows and columns for browser performance reasons as\ntoo much data might make the browser unresponsive.\n\nThe number of columns is limited to 200.\nIf this number are exceeded, an error message will be shown.\nIt is your responsibility to make sure that this does not happen.\nDepending on the selected date range in the `lapisFilter`, you can adapt the granularity accordingly\n(e.g. use months instead of days).\n\nThe number of rows is limited to 100.\nIf there are more, the component will only show 100 mutations and notify the user.",
|
|
1858
1858
|
"name": "MutationsOverTimeComponent",
|
|
1859
1859
|
"members": [
|
|
1860
1860
|
{
|