@genspectrum/dashboard-components 0.10.0 → 0.10.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.
@@ -919,6 +919,38 @@ export declare class RelativeGrowthAdvantageComponent extends PreactLitAdapter {
919
919
  render(): JSX_2.Element;
920
920
  }
921
921
 
922
+ /**
923
+ * ## Context
924
+ *
925
+ * This component displays general statistics (number of sequences, overall proportion)
926
+ * for a given numerator and denominator filter.
927
+ */
928
+ export declare class StatisticsComponent extends PreactLitAdapterWithGridJsStyles {
929
+ /**
930
+ * The filter to apply to the data for the overall number of sequences and as the numerator for the proportion.
931
+ * It must be a valid LAPIS filter object.
932
+ */
933
+ numeratorFilter: LapisFilter;
934
+ /**
935
+ * The filter to apply to the data for the denominator of the proportion.
936
+ * It must be a valid LAPIS filter object.
937
+ */
938
+ denominatorFilter: LapisFilter;
939
+ /**
940
+ * The width of the component.
941
+ *
942
+ * Visit https://genspectrum.github.io/dashboard-components/?path=/docs/components-size-of-components--docs for more information.
943
+ */
944
+ width: string;
945
+ /**
946
+ * The height of the component.
947
+ *
948
+ * Visit https://genspectrum.github.io/dashboard-components/?path=/docs/components-size-of-components--docs for more information.
949
+ */
950
+ height: string;
951
+ render(): JSX_2.Element;
952
+ }
953
+
922
954
  /**
923
955
  *
924
956
  * ## Context
@@ -1105,6 +1137,22 @@ declare global {
1105
1137
  }
1106
1138
 
1107
1139
 
1140
+ declare global {
1141
+ interface HTMLElementTagNameMap {
1142
+ 'gs-statistics': StatisticsComponent;
1143
+ }
1144
+ }
1145
+
1146
+
1147
+ declare global {
1148
+ namespace JSX {
1149
+ interface IntrinsicElements {
1150
+ 'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1151
+ }
1152
+ }
1153
+ }
1154
+
1155
+
1108
1156
  declare global {
1109
1157
  interface HTMLElementTagNameMap {
1110
1158
  'gs-date-range-selector': DateRangeSelectorComponent;