@genspectrum/dashboard-components 0.19.8 → 0.19.9
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 +31 -13
- package/dist/assets/mutationOverTimeWorker-BzmkceEA.js.map +1 -0
- package/dist/components.d.ts +35 -35
- package/dist/components.js +4 -6
- package/dist/components.js.map +1 -1
- package/dist/util.d.ts +35 -35
- package/package.json +1 -1
- package/src/web-components/input/introduction.mdx +57 -2
- package/src/web-components/tutorials/CreateYourFirstOwnDashboard.mdx +85 -0
- package/src/web-components/tutorials/UseTheComponentsWithPlainJavaScript.mdx +140 -0
- package/src/web-components/tutorials/UseTheComponentsWithReact.mdx +166 -0
- package/src/web-components/visualization/gs-mutations.tsx +2 -2
- package/src/web-components/visualization/introduction.mdx +51 -0
- package/standalone-bundle/assets/mutationOverTimeWorker-jUeItsGM.js.map +1 -0
- package/standalone-bundle/dashboard-components.js +7070 -7101
- package/standalone-bundle/dashboard-components.js.map +1 -1
- package/dist/assets/mutationOverTimeWorker-CBXsEsiT.js.map +0 -1
- package/src/web-components/visualization/data_visualization_statistical_analysis.mdx +0 -26
- package/standalone-bundle/assets/mutationOverTimeWorker-CN4SJC7C.js.map +0 -1
- /package/src/web-components/{MutationAnnotations.mdx → mutationAnnotations.mdx} +0 -0
- /package/src/web-components/{ResizeContainer.mdx → sizeOfComponents.mdx} +0 -0
package/dist/components.d.ts
CHANGED
|
@@ -1581,6 +1581,22 @@ declare global {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
1583
1583
|
|
|
1584
|
+
declare global {
|
|
1585
|
+
interface HTMLElementTagNameMap {
|
|
1586
|
+
'gs-wastewater-mutations-over-time': WastewaterMutationsOverTimeComponent;
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
declare global {
|
|
1592
|
+
namespace JSX {
|
|
1593
|
+
interface IntrinsicElements {
|
|
1594
|
+
'gs-wastewater-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
|
|
1584
1600
|
declare global {
|
|
1585
1601
|
interface HTMLElementTagNameMap {
|
|
1586
1602
|
'gs-genome-data-viewer': GenomeDataViewerComponent;
|
|
@@ -1615,7 +1631,7 @@ declare global {
|
|
|
1615
1631
|
|
|
1616
1632
|
declare global {
|
|
1617
1633
|
interface HTMLElementTagNameMap {
|
|
1618
|
-
'gs-mutations
|
|
1634
|
+
'gs-mutations': MutationsComponent;
|
|
1619
1635
|
}
|
|
1620
1636
|
}
|
|
1621
1637
|
|
|
@@ -1623,7 +1639,7 @@ declare global {
|
|
|
1623
1639
|
declare global {
|
|
1624
1640
|
namespace JSX {
|
|
1625
1641
|
interface IntrinsicElements {
|
|
1626
|
-
'gs-mutations
|
|
1642
|
+
'gs-mutations': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1627
1643
|
}
|
|
1628
1644
|
}
|
|
1629
1645
|
}
|
|
@@ -1631,7 +1647,7 @@ declare global {
|
|
|
1631
1647
|
|
|
1632
1648
|
declare global {
|
|
1633
1649
|
interface HTMLElementTagNameMap {
|
|
1634
|
-
'gs-
|
|
1650
|
+
'gs-relative-growth-advantage': RelativeGrowthAdvantageComponent;
|
|
1635
1651
|
}
|
|
1636
1652
|
}
|
|
1637
1653
|
|
|
@@ -1639,7 +1655,7 @@ declare global {
|
|
|
1639
1655
|
declare global {
|
|
1640
1656
|
namespace JSX {
|
|
1641
1657
|
interface IntrinsicElements {
|
|
1642
|
-
'gs-
|
|
1658
|
+
'gs-relative-growth-advantage': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1643
1659
|
}
|
|
1644
1660
|
}
|
|
1645
1661
|
}
|
|
@@ -1647,7 +1663,7 @@ declare global {
|
|
|
1647
1663
|
|
|
1648
1664
|
declare global {
|
|
1649
1665
|
interface HTMLElementTagNameMap {
|
|
1650
|
-
'gs-
|
|
1666
|
+
'gs-prevalence-over-time': PrevalenceOverTimeComponent;
|
|
1651
1667
|
}
|
|
1652
1668
|
}
|
|
1653
1669
|
|
|
@@ -1655,7 +1671,7 @@ declare global {
|
|
|
1655
1671
|
declare global {
|
|
1656
1672
|
namespace JSX {
|
|
1657
1673
|
interface IntrinsicElements {
|
|
1658
|
-
'gs-
|
|
1674
|
+
'gs-prevalence-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1659
1675
|
}
|
|
1660
1676
|
}
|
|
1661
1677
|
}
|
|
@@ -1747,10 +1763,7 @@ declare global {
|
|
|
1747
1763
|
|
|
1748
1764
|
declare global {
|
|
1749
1765
|
interface HTMLElementTagNameMap {
|
|
1750
|
-
'gs-
|
|
1751
|
-
}
|
|
1752
|
-
interface HTMLElementEventMap {
|
|
1753
|
-
[gsEventNames.locationChanged]: LocationChangedEvent;
|
|
1766
|
+
'gs-statistics': StatisticsComponent;
|
|
1754
1767
|
}
|
|
1755
1768
|
}
|
|
1756
1769
|
|
|
@@ -1758,7 +1771,7 @@ declare global {
|
|
|
1758
1771
|
declare global {
|
|
1759
1772
|
namespace JSX {
|
|
1760
1773
|
interface IntrinsicElements {
|
|
1761
|
-
'gs-
|
|
1774
|
+
'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1762
1775
|
}
|
|
1763
1776
|
}
|
|
1764
1777
|
}
|
|
@@ -1766,7 +1779,10 @@ declare global {
|
|
|
1766
1779
|
|
|
1767
1780
|
declare global {
|
|
1768
1781
|
interface HTMLElementTagNameMap {
|
|
1769
|
-
'gs-
|
|
1782
|
+
'gs-location-filter': LocationFilterComponent;
|
|
1783
|
+
}
|
|
1784
|
+
interface HTMLElementEventMap {
|
|
1785
|
+
[gsEventNames.locationChanged]: LocationChangedEvent;
|
|
1770
1786
|
}
|
|
1771
1787
|
}
|
|
1772
1788
|
|
|
@@ -1774,7 +1790,7 @@ declare global {
|
|
|
1774
1790
|
declare global {
|
|
1775
1791
|
namespace JSX {
|
|
1776
1792
|
interface IntrinsicElements {
|
|
1777
|
-
'gs-
|
|
1793
|
+
'gs-location-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1778
1794
|
}
|
|
1779
1795
|
}
|
|
1780
1796
|
}
|
|
@@ -1801,10 +1817,10 @@ declare global {
|
|
|
1801
1817
|
|
|
1802
1818
|
declare global {
|
|
1803
1819
|
interface HTMLElementTagNameMap {
|
|
1804
|
-
'gs-
|
|
1820
|
+
'gs-mutation-filter': MutationFilterComponent;
|
|
1805
1821
|
}
|
|
1806
1822
|
interface HTMLElementEventMap {
|
|
1807
|
-
[gsEventNames.
|
|
1823
|
+
[gsEventNames.mutationFilterChanged]: CustomEvent<MutationsFilter>;
|
|
1808
1824
|
}
|
|
1809
1825
|
}
|
|
1810
1826
|
|
|
@@ -1812,7 +1828,7 @@ declare global {
|
|
|
1812
1828
|
declare global {
|
|
1813
1829
|
namespace JSX {
|
|
1814
1830
|
interface IntrinsicElements {
|
|
1815
|
-
'gs-
|
|
1831
|
+
'gs-mutation-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1816
1832
|
}
|
|
1817
1833
|
}
|
|
1818
1834
|
}
|
|
@@ -1820,10 +1836,10 @@ declare global {
|
|
|
1820
1836
|
|
|
1821
1837
|
declare global {
|
|
1822
1838
|
interface HTMLElementTagNameMap {
|
|
1823
|
-
'gs-
|
|
1839
|
+
'gs-lineage-filter': LineageFilterComponent;
|
|
1824
1840
|
}
|
|
1825
1841
|
interface HTMLElementEventMap {
|
|
1826
|
-
[gsEventNames.
|
|
1842
|
+
[gsEventNames.lineageFilterChanged]: LineageFilterChangedEvent;
|
|
1827
1843
|
}
|
|
1828
1844
|
}
|
|
1829
1845
|
|
|
@@ -1831,7 +1847,7 @@ declare global {
|
|
|
1831
1847
|
declare global {
|
|
1832
1848
|
namespace JSX {
|
|
1833
1849
|
interface IntrinsicElements {
|
|
1834
|
-
'gs-
|
|
1850
|
+
'gs-lineage-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1835
1851
|
}
|
|
1836
1852
|
}
|
|
1837
1853
|
}
|
|
@@ -1857,22 +1873,6 @@ declare global {
|
|
|
1857
1873
|
}
|
|
1858
1874
|
|
|
1859
1875
|
|
|
1860
|
-
declare global {
|
|
1861
|
-
interface HTMLElementTagNameMap {
|
|
1862
|
-
'gs-wastewater-mutations-over-time': WastewaterMutationsOverTimeComponent;
|
|
1863
|
-
}
|
|
1864
|
-
}
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
declare global {
|
|
1868
|
-
namespace JSX {
|
|
1869
|
-
interface IntrinsicElements {
|
|
1870
|
-
'gs-wastewater-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1871
|
-
}
|
|
1872
|
-
}
|
|
1873
|
-
}
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
1876
|
declare module 'chart.js' {
|
|
1877
1877
|
interface CartesianScaleTypeRegistry {
|
|
1878
1878
|
logit: {
|