@genspectrum/dashboard-components 0.6.4 → 0.6.5
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/dashboard-components.js +44 -37
- package/dist/dashboard-components.js.map +1 -1
- package/dist/genspectrum-components.d.ts +13 -7
- package/dist/style.css +3 -0
- package/package.json +1 -1
- package/src/preact/mutationsOverTime/__mockData__/aggregated_tooManyMutations.json +1470 -0
- package/src/preact/mutationsOverTime/__mockData__/nucleotideMutations_tooManyMutations.json +16453 -0
- package/src/preact/mutationsOverTime/mutations-over-time-grid.tsx +41 -40
- package/src/preact/mutationsOverTime/mutations-over-time.stories.tsx +62 -8
- package/src/web-components/visualization/gs-mutations-over-time.tsx +11 -5
|
@@ -501,11 +501,17 @@ export declare class MutationsComponent extends PreactLitAdapterWithGridJsStyles
|
|
|
501
501
|
*
|
|
502
502
|
* The grid view shows the proportion for each mutation over date ranges.
|
|
503
503
|
*
|
|
504
|
-
* The grid
|
|
505
|
-
*
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
*
|
|
504
|
+
* The grid limits the number of rows columns for browser performance reasons.
|
|
505
|
+
* Too much data might make the browser unresponsive.
|
|
506
|
+
*
|
|
507
|
+
* The number of columns is limited to 200.
|
|
508
|
+
* If this number are exceeded, an error message will be shown.
|
|
509
|
+
* It is your responsibility to make sure that this does not happen.
|
|
510
|
+
* Depending on the selected date range in the `lapisFilter`, you can adapt the granularity accordingly
|
|
511
|
+
* (e.g. use months instead of days).
|
|
512
|
+
*
|
|
513
|
+
* The number of rows is limited to 100.
|
|
514
|
+
* If there are more, the component will only show 100 mutations and notify the user.
|
|
509
515
|
*/
|
|
510
516
|
export declare class MutationsOverTimeComponent extends PreactLitAdapterWithGridJsStyles {
|
|
511
517
|
/**
|
|
@@ -963,14 +969,14 @@ declare global {
|
|
|
963
969
|
|
|
964
970
|
declare global {
|
|
965
971
|
interface HTMLElementTagNameMap {
|
|
966
|
-
'gs-
|
|
972
|
+
'gs-mutations-component': MutationsComponent;
|
|
967
973
|
}
|
|
968
974
|
}
|
|
969
975
|
|
|
970
976
|
|
|
971
977
|
declare global {
|
|
972
978
|
interface HTMLElementTagNameMap {
|
|
973
|
-
'gs-
|
|
979
|
+
'gs-prevalence-over-time': PrevalenceOverTimeComponent;
|
|
974
980
|
}
|
|
975
981
|
}
|
|
976
982
|
|
package/dist/style.css
CHANGED