@genspectrum/dashboard-components 0.10.2 → 0.10.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.
Files changed (76) hide show
  1. package/README.md +19 -19
  2. package/custom-elements.json +377 -33
  3. package/dist/assets/mutationOverTimeWorker-BjjkMGzd.js.map +1 -0
  4. package/dist/components.d.ts +217 -59
  5. package/dist/components.js +1365 -177
  6. package/dist/components.js.map +1 -1
  7. package/dist/{dateRangeOption-du8H7LWu.js → dateRangeOption-Doo6WHKu.js} +17 -3
  8. package/dist/dateRangeOption-Doo6WHKu.js.map +1 -0
  9. package/dist/style.css +16 -6
  10. package/dist/util.d.ts +107 -41
  11. package/dist/util.js +1 -1
  12. package/package.json +10 -4
  13. package/src/preact/aggregatedData/aggregate.stories.tsx +14 -0
  14. package/src/preact/aggregatedData/aggregate.tsx +17 -15
  15. package/src/preact/components/error-boundary.stories.tsx +24 -3
  16. package/src/preact/components/error-boundary.tsx +3 -4
  17. package/src/preact/components/error-display.tsx +38 -17
  18. package/src/preact/components/tabs.tsx +2 -2
  19. package/src/preact/dateRangeSelector/date-range-selector.stories.tsx +1 -1
  20. package/src/preact/lineageFilter/lineage-filter.stories.tsx +1 -1
  21. package/src/preact/locationFilter/location-filter.stories.tsx +1 -1
  22. package/src/preact/map/__mockData__/aggregatedGermany.json +83 -0
  23. package/src/preact/map/__mockData__/aggregatedWorld.json +259 -0
  24. package/src/preact/map/__mockData__/germanyMap.json +9083 -0
  25. package/src/preact/map/__mockData__/howToGenerateWorldMap.md +9 -0
  26. package/src/preact/map/__mockData__/worldAtlas.json +497127 -0
  27. package/src/preact/map/leafletStyleModifications.css +3 -0
  28. package/src/preact/map/sequences-by-location-map.tsx +202 -0
  29. package/src/preact/map/sequences-by-location-table.tsx +18 -0
  30. package/src/preact/map/sequences-by-location.stories.tsx +144 -0
  31. package/src/preact/map/sequences-by-location.tsx +151 -0
  32. package/src/preact/map/useGeoJsonMap.tsx +62 -0
  33. package/src/preact/mutationComparison/mutation-comparison.tsx +1 -1
  34. package/src/preact/mutationFilter/mutation-filter.tsx +26 -13
  35. package/src/preact/mutations/mutations.tsx +16 -12
  36. package/src/preact/mutationsOverTime/mutations-over-time.stories.tsx +14 -0
  37. package/src/preact/mutationsOverTime/mutations-over-time.tsx +18 -14
  38. package/src/preact/numberSequencesOverTime/number-sequences-over-time.stories.tsx +14 -0
  39. package/src/preact/numberSequencesOverTime/number-sequences-over-time.tsx +22 -14
  40. package/src/preact/prevalenceOverTime/prevalence-over-time.stories.tsx +14 -0
  41. package/src/preact/prevalenceOverTime/prevalence-over-time.tsx +28 -19
  42. package/src/preact/relativeGrowthAdvantage/relative-growth-advantage.stories.tsx +14 -0
  43. package/src/preact/relativeGrowthAdvantage/relative-growth-advantage.tsx +18 -15
  44. package/src/preact/shared/charts/confideceInterval.ts +10 -8
  45. package/src/preact/shared/charts/getYAxisMax.ts +10 -5
  46. package/src/preact/shared/stories/expectErrorMessage.ts +21 -0
  47. package/src/preact/statistic/statistics.tsx +10 -8
  48. package/src/preact/textInput/text-input.stories.tsx +14 -0
  49. package/src/preact/textInput/text-input.tsx +16 -11
  50. package/src/preact/useQuery.ts +9 -1
  51. package/src/query/queryAggregateData.ts +2 -1
  52. package/src/styles/tailwind.css +1 -1
  53. package/src/types.ts +13 -1
  54. package/src/utilEntrypoint.ts +7 -0
  55. package/src/web-components/app.stories.ts +17 -2
  56. package/src/web-components/app.ts +17 -5
  57. package/src/web-components/input/gs-mutation-filter.stories.ts +2 -0
  58. package/src/web-components/input/gs-text-input.tsx +2 -2
  59. package/src/web-components/introduction.mdx +4 -4
  60. package/src/web-components/visualization/data_visualization_statistical_analysis.mdx +3 -3
  61. package/src/web-components/visualization/gs-mutations-over-time.tsx +1 -3
  62. package/src/web-components/visualization/gs-mutations.tsx +1 -3
  63. package/src/web-components/visualization/gs-number-sequences-over-time.tsx +1 -3
  64. package/src/web-components/visualization/gs-prevalence-over-time.tsx +3 -6
  65. package/src/web-components/visualization/gs-relative-growth-advantage.tsx +1 -5
  66. package/src/web-components/visualization/gs-sequences-by-location.stories.ts +234 -0
  67. package/src/web-components/visualization/gs-sequences-by-location.tsx +253 -0
  68. package/src/web-components/visualization/index.ts +1 -0
  69. package/standalone-bundle/assets/mutationOverTimeWorker-DoUBht2e.js.map +1 -0
  70. package/standalone-bundle/dashboard-components.js +16223 -9292
  71. package/standalone-bundle/dashboard-components.js.map +1 -1
  72. package/standalone-bundle/style.css +1 -1
  73. package/dist/assets/mutationOverTimeWorker-Di6yP1e6.js.map +0 -1
  74. package/dist/dateRangeOption-du8H7LWu.js.map +0 -1
  75. package/src/preact/shared/stories/expectInvalidAttributesErrorMessage.ts +0 -13
  76. package/standalone-bundle/assets/mutationOverTimeWorker-cIyshfj_.js.map +0 -1
@@ -469,9 +469,7 @@ export declare class MutationFilterComponent extends PreactLitAdapter {
469
469
  */
470
470
  export declare class MutationsComponent extends PreactLitAdapterWithGridJsStyles {
471
471
  /**
472
- * Required.
473
- *
474
- * LAPIS filter to select the displayed data.
472
+ * LAPIS filter to select the displayed data. If not provided, all data is displayed.
475
473
  */
476
474
  lapisFilter: Record<string, string | number | null | boolean>;
477
475
  /**
@@ -529,9 +527,7 @@ export declare class MutationsComponent extends PreactLitAdapterWithGridJsStyles
529
527
  */
530
528
  export declare class MutationsOverTimeComponent extends PreactLitAdapterWithGridJsStyles {
531
529
  /**
532
- * Required.
533
- *
534
- * LAPIS filter to select the displayed data.
530
+ * LAPIS filter to select the displayed data. If not provided, all data is displayed.
535
531
  */
536
532
  lapisFilter: Record<string, string | number | null | boolean>;
537
533
  /**
@@ -583,8 +579,6 @@ export declare class MutationsOverTimeComponent extends PreactLitAdapterWithGrid
583
579
  */
584
580
  export declare class NumberSequencesOverTimeComponent extends PreactLitAdapterWithGridJsStyles {
585
581
  /**
586
- * Required.
587
- *
588
582
  * Either a LAPIS filter or an array of LAPIS filters to fetch the number of sequences for.
589
583
  *
590
584
  * The `lapisFilter` will be sent as is to LAPIS to select the data.
@@ -697,7 +691,6 @@ declare abstract class PreactLitAdapterWithGridJsStyles extends PreactLitAdapter
697
691
  */
698
692
  export declare class PrevalenceOverTimeComponent extends PreactLitAdapterWithGridJsStyles {
699
693
  /**
700
- * Required.
701
694
  * Either a LAPIS filter or an array of LAPIS filters to calculate the prevalence for.
702
695
  *
703
696
  * The `lapisFilter` will be sent as is to LAPIS to select the data.
@@ -715,8 +708,6 @@ export declare class PrevalenceOverTimeComponent extends PreactLitAdapterWithGri
715
708
  displayName: string;
716
709
  }[];
717
710
  /**
718
- * Required.
719
- *
720
711
  * The LAPIS filter, to select the data of the reference.
721
712
  * It must be a valid LAPIS filter object.
722
713
  */
@@ -860,15 +851,11 @@ declare const referenceGenomeResponse: default_2.ZodObject<{
860
851
  */
861
852
  export declare class RelativeGrowthAdvantageComponent extends PreactLitAdapter {
862
853
  /**
863
- * Required.
864
- *
865
854
  * LAPIS filter to select the data of the focal variant.
866
855
  * It must be a valid LAPIS filter object.
867
856
  */
868
857
  numeratorFilter: Record<string, string | number | null | boolean>;
869
858
  /**
870
- * Required.
871
- *
872
859
  * LAPIS filter to select the data of the baseline variant.
873
860
  * It must be a valid LAPIS filter object.
874
861
  */
@@ -921,6 +908,159 @@ export declare class RelativeGrowthAdvantageComponent extends PreactLitAdapter {
921
908
  render(): JSX_2.Element;
922
909
  }
923
910
 
911
+ /**
912
+ * ## Context
913
+ *
914
+ * This component shows the geographic distribution of sequence data from LAPIS.
915
+ * It displays the count and proportion (number of sample per `lapisLocationField` / number of samples matching the `lapisFilter`)
916
+ * of the data by location.
917
+ *
918
+ * ## Views
919
+ *
920
+ * ### Map View
921
+ *
922
+ * This view displays a chloropleth map based on [Leaflet](https://leafletjs.com/).
923
+ * The component expects a `mapSource` object that specifies where the map data can be downloaded from.
924
+ * We can imagine that we add other map source types later (for example, GeoJSON).
925
+ *
926
+ * #### TopoJSON
927
+ *
928
+ * Suppose you provide this example object as `mapSource`:
929
+ *
930
+ * ```json
931
+ * {
932
+ * "type": "topojson",
933
+ * "url": "https://example.com/map.topojson",
934
+ * "topologyObjectsKey": "myObjectKey"
935
+ * }
936
+ * ```
937
+ *
938
+ * The URL must point to a [TopoJSON file](https://github.com/topojson/topojson) that contains the map data.
939
+ * The TopoJSON file must schematically look like this,
940
+ * where `objects[topologyObjectsKey]` must be a valid GeometryCollection (`objects.myObjectKey` in this example):
941
+ *
942
+ * ```json
943
+ * {
944
+ * "type": "Topology",
945
+ * "objects": {
946
+ * "myObjectKey": {
947
+ * "type": "GeometryCollection",
948
+ * "geometries": [
949
+ * {
950
+ * "type": "Polygon",
951
+ * "properties": {
952
+ * "name": "North Rhine Westphalia"
953
+ * },
954
+ * "id": "DE.NW",
955
+ * "arcs": [...]
956
+ * },
957
+ * ...
958
+ * ]
959
+ * }
960
+ * },
961
+ * "arcs": [...],
962
+ * "transform": {...}
963
+ * }
964
+ * ```
965
+ *
966
+ * You can use any valid TopoJSON file.
967
+ * https://github.com/markmarkoh/datamaps/tree/master/src/js/data contains TopoJSON files for many countries.
968
+ *
969
+ * The `lapisFilter` is used to select the data to display, and it is aggregated by the `lapisLocationField`.
970
+ * This component assumes that every geometry object in the TopoJSON file has a `properties.name` field.
971
+ *
972
+ * The values that LAPIS returns for `lapisLocationField` must match the `properties.name` in the map data.
973
+ * LAPIS entries where `lapisLocationField` is `null` are ignored on the map.
974
+ *
975
+ * The names of the locations in the TopoJSON map and in LAPIS should match.
976
+ * However, there are two cases of misalignment:
977
+ * - If there is a LAPIS location that does not match any location in the TopoJSON map,
978
+ * the component will log a console warning to assist in creating map data that aligns with the LAPIS data.
979
+ * - If a TopoJSON location does not match any LAPIS location for the given filter,
980
+ * no data will be displayed for this location.
981
+ * This is expected, as LAPIS will only return locations where sequences have been collected for that filter.
982
+ *
983
+ * ### Table View
984
+ *
985
+ * This view displays the data in a table format.
986
+ * It is similar to the table view of the `gs-aggregate` component.
987
+ * The table has three columns:
988
+ * - `lapisLocationField`,
989
+ * - `count` (the number of samples in this location matching the `lapisFilter`),
990
+ * - `proportion` (`count` / sum of the `count` of all locations).
991
+ */
992
+ export declare class SequencesByLocationComponent extends PreactLitAdapterWithGridJsStyles {
993
+ static styles: CSSResult[];
994
+ /**
995
+ * LAPIS filter to select the displayed data.
996
+ * If you want to display the distribution over the states of a certain country,
997
+ * you should usually filter by that country here (e.g. { country: 'USA' }).
998
+ */
999
+ lapisFilter: Record<string, string | number | null | boolean>;
1000
+ /**
1001
+ * Required.
1002
+ *
1003
+ * The location field to aggregate the data by.
1004
+ * This should match the selected map location granularity.
1005
+ */
1006
+ lapisLocationField: string;
1007
+ /**
1008
+ * Required when using the map view.
1009
+ *
1010
+ * The source of the map data. See component level docs for more information.
1011
+ */
1012
+ mapSource: {
1013
+ type: 'topojson';
1014
+ url: string;
1015
+ topologyObjectsKey: string;
1016
+ } | undefined;
1017
+ /**
1018
+ * Enable map navigation (dragging, keyboard navigation, zooming).
1019
+ */
1020
+ enableMapNavigation: boolean;
1021
+ /**
1022
+ * The width of the component.
1023
+ * Not that the map in the map view is not responsive
1024
+ * (i.e. does not adjust its size when the component is resized).
1025
+ *
1026
+ * Visit https://genspectrum.github.io/dashboard-components/?path=/docs/components-size-of-components--docs for more information.
1027
+ */
1028
+ width: string;
1029
+ /**
1030
+ * The height of the component.
1031
+ *
1032
+ * Visit https://genspectrum.github.io/dashboard-components/?path=/docs/components-size-of-components--docs for more information.
1033
+ */
1034
+ height: string;
1035
+ /**
1036
+ A list of tabs with views that this component should provide.
1037
+ */
1038
+ views: ('map' | 'table')[];
1039
+ /**
1040
+ * The initial zoom level of the map.
1041
+ */
1042
+ zoom: number;
1043
+ /**
1044
+ * Initially shift the center of the map in x direction (longitude).
1045
+ *
1046
+ * `-180` is the International Date Line with the map shifted to the right, `0` is the prime meridian,
1047
+ * `180` is the International Date Line with the map shifted to the left.
1048
+ */
1049
+ offsetX: number;
1050
+ /**
1051
+ * Initially shift the center of the map in y direction (latitude).
1052
+ *
1053
+ * `-90` is the South Pole, `0` is the equator, `90` is the North Pole.
1054
+ */
1055
+ offsetY: number;
1056
+ /**
1057
+ * The maximum number of rows to display in the table view.
1058
+ * Set to `false` to disable pagination. Set to `true` to enable pagination with a default limit (10).
1059
+ */
1060
+ pageSize: boolean | number;
1061
+ render(): JSX_2.Element;
1062
+ }
1063
+
924
1064
  /**
925
1065
  * ## Context
926
1066
  *
@@ -973,7 +1113,7 @@ export declare class TextInputComponent extends PreactLitAdapter {
973
1113
  /**
974
1114
  * The initial value to use for this text input.
975
1115
  */
976
- initialValue: string;
1116
+ initialValue: string | undefined;
977
1117
  /**
978
1118
  * Required.
979
1119
  *
@@ -984,7 +1124,7 @@ export declare class TextInputComponent extends PreactLitAdapter {
984
1124
  /**
985
1125
  * The placeholder text to display in the input field.
986
1126
  */
987
- placeholderText: string;
1127
+ placeholderText: string | undefined;
988
1128
  /**
989
1129
  * The width of the component.
990
1130
  *
@@ -999,7 +1139,9 @@ export declare class UserFacingError extends Error {
999
1139
  constructor(headline: string, message: string);
1000
1140
  }
1001
1141
 
1002
- declare type View = 'table';
1142
+ declare type View = default_2.infer<typeof viewSchema>;
1143
+
1144
+ declare const viewSchema: default_2.ZodLiteral<"table">;
1003
1145
 
1004
1146
  export { }
1005
1147
 
@@ -1029,11 +1171,7 @@ declare global {
1029
1171
 
1030
1172
  declare global {
1031
1173
  interface HTMLElementTagNameMap {
1032
- 'gs-date-range-selector': DateRangeSelectorComponent;
1033
- }
1034
- interface HTMLElementEventMap {
1035
- 'gs-date-range-filter-changed': CustomEvent<Record<string, string>>;
1036
- 'gs-date-range-option-changed': DateRangeOptionChangedEvent;
1174
+ 'gs-mutation-comparison-component': MutationComparisonComponent;
1037
1175
  }
1038
1176
  }
1039
1177
 
@@ -1041,7 +1179,7 @@ declare global {
1041
1179
  declare global {
1042
1180
  namespace JSX {
1043
1181
  interface IntrinsicElements {
1044
- 'gs-date-range-selector': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1182
+ 'gs-mutation-comparison-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1045
1183
  }
1046
1184
  }
1047
1185
  }
@@ -1049,10 +1187,7 @@ declare global {
1049
1187
 
1050
1188
  declare global {
1051
1189
  interface HTMLElementTagNameMap {
1052
- 'gs-location-filter': LocationFilterComponent;
1053
- }
1054
- interface HTMLElementEventMap {
1055
- 'gs-location-changed': CustomEvent<Record<string, string>>;
1190
+ 'gs-mutations-component': MutationsComponent;
1056
1191
  }
1057
1192
  }
1058
1193
 
@@ -1060,7 +1195,7 @@ declare global {
1060
1195
  declare global {
1061
1196
  namespace JSX {
1062
1197
  interface IntrinsicElements {
1063
- 'gs-location-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1198
+ 'gs-mutations-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1064
1199
  }
1065
1200
  }
1066
1201
  }
@@ -1068,10 +1203,7 @@ declare global {
1068
1203
 
1069
1204
  declare global {
1070
1205
  interface HTMLElementTagNameMap {
1071
- 'gs-text-input': TextInputComponent;
1072
- }
1073
- interface HTMLElementEventMap {
1074
- 'gs-text-input-changed': CustomEvent<Record<string, string>>;
1206
+ 'gs-prevalence-over-time': PrevalenceOverTimeComponent;
1075
1207
  }
1076
1208
  }
1077
1209
 
@@ -1079,7 +1211,7 @@ declare global {
1079
1211
  declare global {
1080
1212
  namespace JSX {
1081
1213
  interface IntrinsicElements {
1082
- 'gs-text-input': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1214
+ 'gs-prevalence-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1083
1215
  }
1084
1216
  }
1085
1217
  }
@@ -1087,10 +1219,7 @@ declare global {
1087
1219
 
1088
1220
  declare global {
1089
1221
  interface HTMLElementTagNameMap {
1090
- 'gs-mutation-filter': MutationFilterComponent;
1091
- }
1092
- interface HTMLElementEventMap {
1093
- 'gs-mutation-filter-changed': CustomEvent<SelectedMutationFilterStrings>;
1222
+ 'gs-relative-growth-advantage': RelativeGrowthAdvantageComponent;
1094
1223
  }
1095
1224
  }
1096
1225
 
@@ -1098,7 +1227,7 @@ declare global {
1098
1227
  declare global {
1099
1228
  namespace JSX {
1100
1229
  interface IntrinsicElements {
1101
- 'gs-mutation-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1230
+ 'gs-relative-growth-advantage': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1102
1231
  }
1103
1232
  }
1104
1233
  }
@@ -1106,10 +1235,23 @@ declare global {
1106
1235
 
1107
1236
  declare global {
1108
1237
  interface HTMLElementTagNameMap {
1109
- 'gs-lineage-filter': LineageFilterComponent;
1238
+ 'gs-aggregate': AggregateComponent;
1110
1239
  }
1111
- interface HTMLElementEventMap {
1112
- 'gs-lineage-filter-changed': CustomEvent<Record<string, string>>;
1240
+ }
1241
+
1242
+
1243
+ declare global {
1244
+ namespace JSX {
1245
+ interface IntrinsicElements {
1246
+ 'gs-aggregate': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1247
+ }
1248
+ }
1249
+ }
1250
+
1251
+
1252
+ declare global {
1253
+ interface HTMLElementTagNameMap {
1254
+ 'gs-number-sequences-over-time': NumberSequencesOverTimeComponent;
1113
1255
  }
1114
1256
  }
1115
1257
 
@@ -1117,7 +1259,7 @@ declare global {
1117
1259
  declare global {
1118
1260
  namespace JSX {
1119
1261
  interface IntrinsicElements {
1120
- 'gs-lineage-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1262
+ 'gs-number-sequences-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1121
1263
  }
1122
1264
  }
1123
1265
  }
@@ -1125,7 +1267,7 @@ declare global {
1125
1267
 
1126
1268
  declare global {
1127
1269
  interface HTMLElementTagNameMap {
1128
- 'gs-mutation-comparison-component': MutationComparisonComponent;
1270
+ 'gs-sequences-by-location': SequencesByLocationComponent;
1129
1271
  }
1130
1272
  }
1131
1273
 
@@ -1133,7 +1275,7 @@ declare global {
1133
1275
  declare global {
1134
1276
  namespace JSX {
1135
1277
  interface IntrinsicElements {
1136
- 'gs-mutation-comparison-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1278
+ 'gs-sequences-by-location': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1137
1279
  }
1138
1280
  }
1139
1281
  }
@@ -1141,7 +1283,7 @@ declare global {
1141
1283
 
1142
1284
  declare global {
1143
1285
  interface HTMLElementTagNameMap {
1144
- 'gs-mutations-component': MutationsComponent;
1286
+ 'gs-mutations-over-time': MutationsOverTimeComponent;
1145
1287
  }
1146
1288
  }
1147
1289
 
@@ -1149,7 +1291,7 @@ declare global {
1149
1291
  declare global {
1150
1292
  namespace JSX {
1151
1293
  interface IntrinsicElements {
1152
- 'gs-mutations-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1294
+ 'gs-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1153
1295
  }
1154
1296
  }
1155
1297
  }
@@ -1157,7 +1299,7 @@ declare global {
1157
1299
 
1158
1300
  declare global {
1159
1301
  interface HTMLElementTagNameMap {
1160
- 'gs-prevalence-over-time': PrevalenceOverTimeComponent;
1302
+ 'gs-statistics': StatisticsComponent;
1161
1303
  }
1162
1304
  }
1163
1305
 
@@ -1165,7 +1307,7 @@ declare global {
1165
1307
  declare global {
1166
1308
  namespace JSX {
1167
1309
  interface IntrinsicElements {
1168
- 'gs-prevalence-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1310
+ 'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1169
1311
  }
1170
1312
  }
1171
1313
  }
@@ -1173,7 +1315,10 @@ declare global {
1173
1315
 
1174
1316
  declare global {
1175
1317
  interface HTMLElementTagNameMap {
1176
- 'gs-relative-growth-advantage': RelativeGrowthAdvantageComponent;
1318
+ 'gs-location-filter': LocationFilterComponent;
1319
+ }
1320
+ interface HTMLElementEventMap {
1321
+ 'gs-location-changed': CustomEvent<Record<string, string>>;
1177
1322
  }
1178
1323
  }
1179
1324
 
@@ -1181,7 +1326,7 @@ declare global {
1181
1326
  declare global {
1182
1327
  namespace JSX {
1183
1328
  interface IntrinsicElements {
1184
- 'gs-relative-growth-advantage': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1329
+ 'gs-location-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1185
1330
  }
1186
1331
  }
1187
1332
  }
@@ -1189,7 +1334,11 @@ declare global {
1189
1334
 
1190
1335
  declare global {
1191
1336
  interface HTMLElementTagNameMap {
1192
- 'gs-aggregate': AggregateComponent;
1337
+ 'gs-date-range-selector': DateRangeSelectorComponent;
1338
+ }
1339
+ interface HTMLElementEventMap {
1340
+ 'gs-date-range-filter-changed': CustomEvent<Record<string, string>>;
1341
+ 'gs-date-range-option-changed': DateRangeOptionChangedEvent;
1193
1342
  }
1194
1343
  }
1195
1344
 
@@ -1197,7 +1346,7 @@ declare global {
1197
1346
  declare global {
1198
1347
  namespace JSX {
1199
1348
  interface IntrinsicElements {
1200
- 'gs-aggregate': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1349
+ 'gs-date-range-selector': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1201
1350
  }
1202
1351
  }
1203
1352
  }
@@ -1205,7 +1354,10 @@ declare global {
1205
1354
 
1206
1355
  declare global {
1207
1356
  interface HTMLElementTagNameMap {
1208
- 'gs-number-sequences-over-time': NumberSequencesOverTimeComponent;
1357
+ 'gs-text-input': TextInputComponent;
1358
+ }
1359
+ interface HTMLElementEventMap {
1360
+ 'gs-text-input-changed': CustomEvent<Record<string, string>>;
1209
1361
  }
1210
1362
  }
1211
1363
 
@@ -1213,7 +1365,7 @@ declare global {
1213
1365
  declare global {
1214
1366
  namespace JSX {
1215
1367
  interface IntrinsicElements {
1216
- 'gs-number-sequences-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1368
+ 'gs-text-input': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1217
1369
  }
1218
1370
  }
1219
1371
  }
@@ -1221,7 +1373,10 @@ declare global {
1221
1373
 
1222
1374
  declare global {
1223
1375
  interface HTMLElementTagNameMap {
1224
- 'gs-mutations-over-time': MutationsOverTimeComponent;
1376
+ 'gs-mutation-filter': MutationFilterComponent;
1377
+ }
1378
+ interface HTMLElementEventMap {
1379
+ 'gs-mutation-filter-changed': CustomEvent<SelectedMutationFilterStrings>;
1225
1380
  }
1226
1381
  }
1227
1382
 
@@ -1229,7 +1384,7 @@ declare global {
1229
1384
  declare global {
1230
1385
  namespace JSX {
1231
1386
  interface IntrinsicElements {
1232
- 'gs-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1387
+ 'gs-mutation-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1233
1388
  }
1234
1389
  }
1235
1390
  }
@@ -1237,7 +1392,10 @@ declare global {
1237
1392
 
1238
1393
  declare global {
1239
1394
  interface HTMLElementTagNameMap {
1240
- 'gs-statistics': StatisticsComponent;
1395
+ 'gs-lineage-filter': LineageFilterComponent;
1396
+ }
1397
+ interface HTMLElementEventMap {
1398
+ 'gs-lineage-filter-changed': CustomEvent<Record<string, string>>;
1241
1399
  }
1242
1400
  }
1243
1401
 
@@ -1245,7 +1403,7 @@ declare global {
1245
1403
  declare global {
1246
1404
  namespace JSX {
1247
1405
  interface IntrinsicElements {
1248
- 'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1406
+ 'gs-lineage-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1249
1407
  }
1250
1408
  }
1251
1409
  }