@genspectrum/dashboard-components 1.15.0 → 1.16.0
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/components.d.ts +65 -66
- package/dist/components.js +12 -14
- package/dist/components.js.map +1 -1
- package/dist/util.d.ts +66 -63
- package/package.json +2 -9
- package/src/preact/mutationsOverTime/getFilteredMutationsOverTimeData.ts +3 -1
- package/src/preact/queriesOverTime/queries-over-time-row-label-tooltip.stories.tsx +8 -10
- package/src/preact/queriesOverTime/queries-over-time-row-label-tooltip.tsx +7 -17
- package/src/preact/queriesOverTime/queries-over-time.tsx +1 -1
- package/src/utilEntrypoint.ts +1 -1
- package/src/web-components/gs-app.ts +2 -3
- package/src/web-components/input/gs-date-range-filter.tsx +2 -3
- package/src/web-components/input/gs-lineage-filter.tsx +2 -3
- package/src/web-components/input/gs-location-filter.tsx +2 -3
- package/src/web-components/input/gs-mutation-filter.tsx +3 -4
- package/src/web-components/input/gs-number-range-filter.tsx +2 -3
- package/src/web-components/input/gs-text-filter.tsx +2 -3
- package/src/web-components/mutation-annotations-context.ts +3 -1
- package/src/web-components/visualization/gs-aggregate.tsx +2 -3
- package/src/web-components/visualization/gs-genome-data-viewer.tsx +2 -3
- package/src/web-components/visualization/gs-mutation-comparison.tsx +2 -3
- package/src/web-components/visualization/gs-mutations-over-time.tsx +2 -3
- package/src/web-components/visualization/gs-mutations.tsx +7 -8
- package/src/web-components/visualization/gs-number-sequences-over-time.tsx +2 -3
- package/src/web-components/visualization/gs-prevalence-over-time.tsx +2 -3
- package/src/web-components/visualization/gs-queries-over-time.tsx +2 -3
- package/src/web-components/visualization/gs-relative-growth-advantage.tsx +2 -3
- package/src/web-components/visualization/gs-sequences-by-location.tsx +2 -3
- package/src/web-components/visualization/gs-statistics.tsx +2 -3
- package/src/web-components/wastewaterVisualization/gs-wastewater-mutations-over-time.tsx +2 -3
- package/standalone-bundle/dashboard-components.js +12 -14
- package/standalone-bundle/dashboard-components.js.map +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { consume } from '@lit/context';
|
|
2
2
|
import { customElement, property } from 'lit/decorators.js';
|
|
3
|
-
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
4
3
|
|
|
5
4
|
import { MutationAnnotationsContextProvider } from '../../preact/MutationAnnotationsContext';
|
|
6
5
|
import { MutationLinkTemplateContextProvider } from '../../preact/MutationLinkTemplateContext';
|
|
@@ -137,9 +136,9 @@ declare global {
|
|
|
137
136
|
|
|
138
137
|
declare global {
|
|
139
138
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
140
|
-
namespace JSX {
|
|
139
|
+
namespace React.JSX {
|
|
141
140
|
interface IntrinsicElements {
|
|
142
|
-
'gs-mutation-comparison':
|
|
141
|
+
'gs-mutation-comparison': MutationComparisonComponent;
|
|
143
142
|
}
|
|
144
143
|
}
|
|
145
144
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { consume } from '@lit/context';
|
|
2
2
|
import { customElement, property } from 'lit/decorators.js';
|
|
3
|
-
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
4
3
|
|
|
5
4
|
import { MutationAnnotationsContextProvider } from '../../preact/MutationAnnotationsContext';
|
|
6
5
|
import { MutationLinkTemplateContextProvider } from '../../preact/MutationLinkTemplateContext';
|
|
@@ -179,9 +178,9 @@ declare global {
|
|
|
179
178
|
|
|
180
179
|
declare global {
|
|
181
180
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
182
|
-
namespace JSX {
|
|
181
|
+
namespace React.JSX {
|
|
183
182
|
interface IntrinsicElements {
|
|
184
|
-
'gs-mutations-over-time':
|
|
183
|
+
'gs-mutations-over-time': MutationsOverTimeComponent;
|
|
185
184
|
}
|
|
186
185
|
}
|
|
187
186
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { consume } from '@lit/context';
|
|
2
2
|
import { customElement, property } from 'lit/decorators.js';
|
|
3
|
-
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
4
3
|
|
|
5
4
|
import { MutationAnnotationsContextProvider } from '../../preact/MutationAnnotationsContext';
|
|
6
5
|
import { MutationLinkTemplateContextProvider } from '../../preact/MutationLinkTemplateContext';
|
|
@@ -88,11 +87,11 @@ export class MutationsComponent extends PreactLitAdapterWithGridJsStyles {
|
|
|
88
87
|
@property({ type: Object })
|
|
89
88
|
baselineLapisFilter:
|
|
90
89
|
(Record<string, string | string[] | number | null | boolean | undefined> & {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
90
|
+
nucleotideMutations?: string[];
|
|
91
|
+
aminoAcidMutations?: string[];
|
|
92
|
+
nucleotideInsertions?: string[];
|
|
93
|
+
aminoAcidInsertions?: string[];
|
|
94
|
+
})
|
|
96
95
|
| undefined = undefined;
|
|
97
96
|
|
|
98
97
|
/**
|
|
@@ -169,9 +168,9 @@ declare global {
|
|
|
169
168
|
|
|
170
169
|
declare global {
|
|
171
170
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
172
|
-
namespace JSX {
|
|
171
|
+
namespace React.JSX {
|
|
173
172
|
interface IntrinsicElements {
|
|
174
|
-
'gs-mutations':
|
|
173
|
+
'gs-mutations': MutationsComponent;
|
|
175
174
|
}
|
|
176
175
|
}
|
|
177
176
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { customElement, property } from 'lit/decorators.js';
|
|
2
|
-
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
3
2
|
|
|
4
3
|
import {
|
|
5
4
|
NumberSequencesOverTime,
|
|
@@ -126,9 +125,9 @@ declare global {
|
|
|
126
125
|
|
|
127
126
|
declare global {
|
|
128
127
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
129
|
-
namespace JSX {
|
|
128
|
+
namespace React.JSX {
|
|
130
129
|
interface IntrinsicElements {
|
|
131
|
-
'gs-number-sequences-over-time':
|
|
130
|
+
'gs-number-sequences-over-time': NumberSequencesOverTimeComponent;
|
|
132
131
|
}
|
|
133
132
|
}
|
|
134
133
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { customElement, property } from 'lit/decorators.js';
|
|
2
|
-
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
3
2
|
|
|
4
3
|
import { PrevalenceOverTime, type PrevalenceOverTimeProps } from '../../preact/prevalenceOverTime/prevalence-over-time';
|
|
5
4
|
import { type Equals, type Expect } from '../../utils/typeAssertions';
|
|
@@ -193,9 +192,9 @@ declare global {
|
|
|
193
192
|
|
|
194
193
|
declare global {
|
|
195
194
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
196
|
-
namespace JSX {
|
|
195
|
+
namespace React.JSX {
|
|
197
196
|
interface IntrinsicElements {
|
|
198
|
-
'gs-prevalence-over-time':
|
|
197
|
+
'gs-prevalence-over-time': PrevalenceOverTimeComponent;
|
|
199
198
|
}
|
|
200
199
|
}
|
|
201
200
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { customElement, property } from 'lit/decorators.js';
|
|
2
|
-
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
3
2
|
|
|
4
3
|
import { QueriesOverTime } from '../../preact/queriesOverTime/queries-over-time';
|
|
5
4
|
import { PreactLitAdapterWithGridJsStyles } from '../PreactLitAdapterWithGridJsStyles';
|
|
@@ -148,9 +147,9 @@ declare global {
|
|
|
148
147
|
|
|
149
148
|
declare global {
|
|
150
149
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
151
|
-
namespace JSX {
|
|
150
|
+
namespace React.JSX {
|
|
152
151
|
interface IntrinsicElements {
|
|
153
|
-
'gs-queries-over-time':
|
|
152
|
+
'gs-queries-over-time': QueriesOverTimeComponent;
|
|
154
153
|
}
|
|
155
154
|
}
|
|
156
155
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { customElement, property } from 'lit/decorators.js';
|
|
2
|
-
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
3
2
|
|
|
4
3
|
import {
|
|
5
4
|
RelativeGrowthAdvantage,
|
|
@@ -147,9 +146,9 @@ declare global {
|
|
|
147
146
|
|
|
148
147
|
declare global {
|
|
149
148
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
150
|
-
namespace JSX {
|
|
149
|
+
namespace React.JSX {
|
|
151
150
|
interface IntrinsicElements {
|
|
152
|
-
'gs-relative-growth-advantage':
|
|
151
|
+
'gs-relative-growth-advantage': RelativeGrowthAdvantageComponent;
|
|
153
152
|
}
|
|
154
153
|
}
|
|
155
154
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import leafletStyle from 'leaflet/dist/leaflet.css?inline';
|
|
2
2
|
import { unsafeCSS } from 'lit';
|
|
3
3
|
import { customElement, property } from 'lit/decorators.js';
|
|
4
|
-
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
5
4
|
|
|
6
5
|
import leafletStyleModifications from '../../preact/sequencesByLocation/leafletStyleModifications.css?inline';
|
|
7
6
|
import {
|
|
@@ -219,9 +218,9 @@ declare global {
|
|
|
219
218
|
|
|
220
219
|
declare global {
|
|
221
220
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
222
|
-
namespace JSX {
|
|
221
|
+
namespace React.JSX {
|
|
223
222
|
interface IntrinsicElements {
|
|
224
|
-
'gs-sequences-by-location':
|
|
223
|
+
'gs-sequences-by-location': SequencesByLocationComponent;
|
|
225
224
|
}
|
|
226
225
|
}
|
|
227
226
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { customElement, property } from 'lit/decorators.js';
|
|
2
|
-
import type { DetailedHTMLProps, HTMLAttributes } from 'react';
|
|
3
2
|
|
|
4
3
|
import { Statistics, type StatisticsProps } from '../../preact/statistic/statistics';
|
|
5
4
|
import type { Equals, Expect } from '../../utils/typeAssertions';
|
|
@@ -76,9 +75,9 @@ declare global {
|
|
|
76
75
|
|
|
77
76
|
declare global {
|
|
78
77
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
79
|
-
namespace JSX {
|
|
78
|
+
namespace React.JSX {
|
|
80
79
|
interface IntrinsicElements {
|
|
81
|
-
'gs-statistics':
|
|
80
|
+
'gs-statistics': StatisticsComponent;
|
|
82
81
|
}
|
|
83
82
|
}
|
|
84
83
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { consume } from '@lit/context';
|
|
2
2
|
import { customElement, property } from 'lit/decorators.js';
|
|
3
|
-
import { type DetailedHTMLProps, type HTMLAttributes } from 'react';
|
|
4
3
|
|
|
5
4
|
import { MutationAnnotationsContextProvider } from '../../preact/MutationAnnotationsContext';
|
|
6
5
|
import { MutationLinkTemplateContextProvider } from '../../preact/MutationLinkTemplateContext';
|
|
@@ -112,9 +111,9 @@ declare global {
|
|
|
112
111
|
|
|
113
112
|
declare global {
|
|
114
113
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
115
|
-
namespace JSX {
|
|
114
|
+
namespace React.JSX {
|
|
116
115
|
interface IntrinsicElements {
|
|
117
|
-
'gs-wastewater-mutations-over-time':
|
|
116
|
+
'gs-wastewater-mutations-over-time': WastewaterMutationsOverTimeComponent;
|
|
118
117
|
}
|
|
119
118
|
}
|
|
120
119
|
}
|