@genspectrum/dashboard-components 0.19.0 → 0.19.1

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/dist/util.d.ts CHANGED
@@ -902,7 +902,7 @@ declare global {
902
902
 
903
903
  declare global {
904
904
  interface HTMLElementTagNameMap {
905
- 'gs-mutation-comparison-component': MutationComparisonComponent;
905
+ 'gs-wastewater-mutations-over-time': WastewaterMutationsOverTimeComponent;
906
906
  }
907
907
  }
908
908
 
@@ -910,7 +910,7 @@ declare global {
910
910
  declare global {
911
911
  namespace JSX {
912
912
  interface IntrinsicElements {
913
- 'gs-mutation-comparison-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
913
+ 'gs-wastewater-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
914
914
  }
915
915
  }
916
916
  }
@@ -918,7 +918,7 @@ declare global {
918
918
 
919
919
  declare global {
920
920
  interface HTMLElementTagNameMap {
921
- 'gs-prevalence-over-time': PrevalenceOverTimeComponent;
921
+ 'gs-mutation-comparison-component': MutationComparisonComponent;
922
922
  }
923
923
  }
924
924
 
@@ -926,7 +926,7 @@ declare global {
926
926
  declare global {
927
927
  namespace JSX {
928
928
  interface IntrinsicElements {
929
- 'gs-prevalence-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
929
+ 'gs-mutation-comparison-component': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
930
930
  }
931
931
  }
932
932
  }
@@ -950,7 +950,7 @@ declare global {
950
950
 
951
951
  declare global {
952
952
  interface HTMLElementTagNameMap {
953
- 'gs-relative-growth-advantage': RelativeGrowthAdvantageComponent;
953
+ 'gs-prevalence-over-time': PrevalenceOverTimeComponent;
954
954
  }
955
955
  }
956
956
 
@@ -958,7 +958,7 @@ declare global {
958
958
  declare global {
959
959
  namespace JSX {
960
960
  interface IntrinsicElements {
961
- 'gs-relative-growth-advantage': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
961
+ 'gs-prevalence-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
962
962
  }
963
963
  }
964
964
  }
@@ -966,7 +966,7 @@ declare global {
966
966
 
967
967
  declare global {
968
968
  interface HTMLElementTagNameMap {
969
- 'gs-aggregate': AggregateComponent;
969
+ 'gs-number-sequences-over-time': NumberSequencesOverTimeComponent;
970
970
  }
971
971
  }
972
972
 
@@ -974,7 +974,7 @@ declare global {
974
974
  declare global {
975
975
  namespace JSX {
976
976
  interface IntrinsicElements {
977
- 'gs-aggregate': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
977
+ 'gs-number-sequences-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
978
978
  }
979
979
  }
980
980
  }
@@ -982,7 +982,7 @@ declare global {
982
982
 
983
983
  declare global {
984
984
  interface HTMLElementTagNameMap {
985
- 'gs-number-sequences-over-time': NumberSequencesOverTimeComponent;
985
+ 'gs-relative-growth-advantage': RelativeGrowthAdvantageComponent;
986
986
  }
987
987
  }
988
988
 
@@ -990,7 +990,7 @@ declare global {
990
990
  declare global {
991
991
  namespace JSX {
992
992
  interface IntrinsicElements {
993
- 'gs-number-sequences-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
993
+ 'gs-relative-growth-advantage': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
994
994
  }
995
995
  }
996
996
  }
@@ -1014,7 +1014,7 @@ declare global {
1014
1014
 
1015
1015
  declare global {
1016
1016
  interface HTMLElementTagNameMap {
1017
- 'gs-sequences-by-location': SequencesByLocationComponent;
1017
+ 'gs-aggregate': AggregateComponent;
1018
1018
  }
1019
1019
  }
1020
1020
 
@@ -1022,7 +1022,7 @@ declare global {
1022
1022
  declare global {
1023
1023
  namespace JSX {
1024
1024
  interface IntrinsicElements {
1025
- 'gs-sequences-by-location': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1025
+ 'gs-aggregate': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1026
1026
  }
1027
1027
  }
1028
1028
  }
@@ -1030,7 +1030,7 @@ declare global {
1030
1030
 
1031
1031
  declare global {
1032
1032
  interface HTMLElementTagNameMap {
1033
- 'gs-statistics': StatisticsComponent;
1033
+ 'gs-sequences-by-location': SequencesByLocationComponent;
1034
1034
  }
1035
1035
  }
1036
1036
 
@@ -1038,7 +1038,7 @@ declare global {
1038
1038
  declare global {
1039
1039
  namespace JSX {
1040
1040
  interface IntrinsicElements {
1041
- 'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1041
+ 'gs-sequences-by-location': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1042
1042
  }
1043
1043
  }
1044
1044
  }
@@ -1046,7 +1046,7 @@ declare global {
1046
1046
 
1047
1047
  declare global {
1048
1048
  interface HTMLElementTagNameMap {
1049
- 'gs-wastewater-mutations-over-time': WastewaterMutationsOverTimeComponent;
1049
+ 'gs-statistics': StatisticsComponent;
1050
1050
  }
1051
1051
  }
1052
1052
 
@@ -1054,7 +1054,7 @@ declare global {
1054
1054
  declare global {
1055
1055
  namespace JSX {
1056
1056
  interface IntrinsicElements {
1057
- 'gs-wastewater-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1057
+ 'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1058
1058
  }
1059
1059
  }
1060
1060
  }
@@ -1062,10 +1062,11 @@ declare global {
1062
1062
 
1063
1063
  declare global {
1064
1064
  interface HTMLElementTagNameMap {
1065
- 'gs-location-filter': LocationFilterComponent;
1065
+ 'gs-date-range-filter': DateRangeFilterComponent;
1066
1066
  }
1067
1067
  interface HTMLElementEventMap {
1068
- 'gs-location-changed': LocationChangedEvent;
1068
+ 'gs-date-range-filter-changed': CustomEvent<Record<string, string>>;
1069
+ 'gs-date-range-option-changed': DateRangeOptionChangedEvent;
1069
1070
  }
1070
1071
  }
1071
1072
 
@@ -1073,7 +1074,7 @@ declare global {
1073
1074
  declare global {
1074
1075
  namespace JSX {
1075
1076
  interface IntrinsicElements {
1076
- 'gs-location-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1077
+ 'gs-date-range-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1077
1078
  }
1078
1079
  }
1079
1080
  }
@@ -1081,10 +1082,10 @@ declare global {
1081
1082
 
1082
1083
  declare global {
1083
1084
  interface HTMLElementTagNameMap {
1084
- 'gs-text-filter': TextFilterComponent;
1085
+ 'gs-location-filter': LocationFilterComponent;
1085
1086
  }
1086
1087
  interface HTMLElementEventMap {
1087
- 'gs-text-filter-changed': TextFilterChangedEvent;
1088
+ 'gs-location-changed': LocationChangedEvent;
1088
1089
  }
1089
1090
  }
1090
1091
 
@@ -1092,7 +1093,7 @@ declare global {
1092
1093
  declare global {
1093
1094
  namespace JSX {
1094
1095
  interface IntrinsicElements {
1095
- 'gs-text-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1096
+ 'gs-location-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1096
1097
  }
1097
1098
  }
1098
1099
  }
@@ -1100,11 +1101,10 @@ declare global {
1100
1101
 
1101
1102
  declare global {
1102
1103
  interface HTMLElementTagNameMap {
1103
- 'gs-date-range-filter': DateRangeFilterComponent;
1104
+ 'gs-text-filter': TextFilterComponent;
1104
1105
  }
1105
1106
  interface HTMLElementEventMap {
1106
- 'gs-date-range-filter-changed': CustomEvent<Record<string, string>>;
1107
- 'gs-date-range-option-changed': DateRangeOptionChangedEvent;
1107
+ 'gs-text-filter-changed': TextFilterChangedEvent;
1108
1108
  }
1109
1109
  }
1110
1110
 
@@ -1112,7 +1112,7 @@ declare global {
1112
1112
  declare global {
1113
1113
  namespace JSX {
1114
1114
  interface IntrinsicElements {
1115
- 'gs-date-range-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1115
+ 'gs-text-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1116
1116
  }
1117
1117
  }
1118
1118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genspectrum/dashboard-components",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "description": "GenSpectrum web components for building dashboards",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-only",
@@ -47,7 +47,7 @@ export function getFilteredMutationOverTimeData({
47
47
  return true;
48
48
  }
49
49
 
50
- if (displayMutationsSet !== null && !displayMutationsSet.has(entry.mutation.code)) {
50
+ if (displayMutationsSet !== null && !displayMutationsSet.has(entry.mutation.code.toUpperCase())) {
51
51
  return true;
52
52
  }
53
53