@genspectrum/dashboard-components 0.16.3 → 0.16.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.
- package/dist/assets/{mutationOverTimeWorker-DJcZmEH9.js.map → mutationOverTimeWorker-CPfQDLe6.js.map} +1 -1
- package/dist/components.d.ts +30 -29
- package/dist/components.js +833 -794
- package/dist/components.js.map +1 -1
- package/dist/style.css +5 -0
- package/dist/util.d.ts +77 -33
- package/package.json +2 -1
- package/src/preact/components/annotated-mutation.stories.tsx +2 -1
- package/src/preact/components/annotated-mutation.tsx +6 -2
- package/src/preact/mutationComparison/mutation-comparison-table.tsx +14 -1
- package/src/preact/mutationComparison/mutation-comparison-venn.tsx +39 -8
- package/src/preact/mutationComparison/mutation-comparison.stories.tsx +36 -12
- package/src/preact/mutationComparison/mutation-comparison.tsx +2 -0
- package/src/preact/mutations/mutations.stories.tsx +3 -9
- package/src/preact/mutationsOverTime/mutations-over-time.stories.tsx +3 -8
- package/src/preact/shared/stories/expectMutationAnnotation.ts +13 -0
- package/src/utilEntrypoint.ts +2 -0
- package/src/web-components/visualization/gs-mutation-comparison.stories.ts +18 -1
- package/src/web-components/visualization/gs-mutation-comparison.tsx +19 -8
- package/src/web-components/visualization/gs-mutations-over-time.stories.ts +2 -1
- package/src/web-components/visualization/gs-mutations.stories.ts +2 -1
- package/standalone-bundle/assets/mutationOverTimeWorker-CERZSdcA.js.map +1 -1
- package/standalone-bundle/dashboard-components.js +12787 -12215
- package/standalone-bundle/dashboard-components.js.map +1 -1
- package/standalone-bundle/style.css +1 -1
package/dist/components.d.ts
CHANGED
|
@@ -437,6 +437,7 @@ export declare class MutationComparisonComponent extends PreactLitAdapterWithGri
|
|
|
437
437
|
* Set to `false` to disable pagination. Set to `true` to enable pagination with a default limit (10).
|
|
438
438
|
*/
|
|
439
439
|
pageSize: boolean | number;
|
|
440
|
+
/* Excluded from this release type: mutationAnnotations */
|
|
440
441
|
render(): JSX_2.Element;
|
|
441
442
|
}
|
|
442
443
|
|
|
@@ -1429,7 +1430,7 @@ declare global {
|
|
|
1429
1430
|
|
|
1430
1431
|
declare global {
|
|
1431
1432
|
interface HTMLElementTagNameMap {
|
|
1432
|
-
'gs-
|
|
1433
|
+
'gs-prevalence-over-time': PrevalenceOverTimeComponent;
|
|
1433
1434
|
}
|
|
1434
1435
|
}
|
|
1435
1436
|
|
|
@@ -1437,7 +1438,7 @@ declare global {
|
|
|
1437
1438
|
declare global {
|
|
1438
1439
|
namespace JSX {
|
|
1439
1440
|
interface IntrinsicElements {
|
|
1440
|
-
'gs-
|
|
1441
|
+
'gs-prevalence-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1441
1442
|
}
|
|
1442
1443
|
}
|
|
1443
1444
|
}
|
|
@@ -1445,7 +1446,7 @@ declare global {
|
|
|
1445
1446
|
|
|
1446
1447
|
declare global {
|
|
1447
1448
|
interface HTMLElementTagNameMap {
|
|
1448
|
-
'gs-
|
|
1449
|
+
'gs-relative-growth-advantage': RelativeGrowthAdvantageComponent;
|
|
1449
1450
|
}
|
|
1450
1451
|
}
|
|
1451
1452
|
|
|
@@ -1453,7 +1454,7 @@ declare global {
|
|
|
1453
1454
|
declare global {
|
|
1454
1455
|
namespace JSX {
|
|
1455
1456
|
interface IntrinsicElements {
|
|
1456
|
-
'gs-
|
|
1457
|
+
'gs-relative-growth-advantage': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1457
1458
|
}
|
|
1458
1459
|
}
|
|
1459
1460
|
}
|
|
@@ -1461,7 +1462,7 @@ declare global {
|
|
|
1461
1462
|
|
|
1462
1463
|
declare global {
|
|
1463
1464
|
interface HTMLElementTagNameMap {
|
|
1464
|
-
'gs-
|
|
1465
|
+
'gs-aggregate': AggregateComponent;
|
|
1465
1466
|
}
|
|
1466
1467
|
}
|
|
1467
1468
|
|
|
@@ -1469,7 +1470,7 @@ declare global {
|
|
|
1469
1470
|
declare global {
|
|
1470
1471
|
namespace JSX {
|
|
1471
1472
|
interface IntrinsicElements {
|
|
1472
|
-
'gs-
|
|
1473
|
+
'gs-aggregate': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1473
1474
|
}
|
|
1474
1475
|
}
|
|
1475
1476
|
}
|
|
@@ -1477,7 +1478,7 @@ declare global {
|
|
|
1477
1478
|
|
|
1478
1479
|
declare global {
|
|
1479
1480
|
interface HTMLElementTagNameMap {
|
|
1480
|
-
'gs-
|
|
1481
|
+
'gs-number-sequences-over-time': NumberSequencesOverTimeComponent;
|
|
1481
1482
|
}
|
|
1482
1483
|
}
|
|
1483
1484
|
|
|
@@ -1485,7 +1486,7 @@ declare global {
|
|
|
1485
1486
|
declare global {
|
|
1486
1487
|
namespace JSX {
|
|
1487
1488
|
interface IntrinsicElements {
|
|
1488
|
-
'gs-
|
|
1489
|
+
'gs-number-sequences-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1489
1490
|
}
|
|
1490
1491
|
}
|
|
1491
1492
|
}
|
|
@@ -1493,7 +1494,7 @@ declare global {
|
|
|
1493
1494
|
|
|
1494
1495
|
declare global {
|
|
1495
1496
|
interface HTMLElementTagNameMap {
|
|
1496
|
-
'gs-
|
|
1497
|
+
'gs-mutations-over-time': MutationsOverTimeComponent;
|
|
1497
1498
|
}
|
|
1498
1499
|
}
|
|
1499
1500
|
|
|
@@ -1501,7 +1502,7 @@ declare global {
|
|
|
1501
1502
|
declare global {
|
|
1502
1503
|
namespace JSX {
|
|
1503
1504
|
interface IntrinsicElements {
|
|
1504
|
-
'gs-
|
|
1505
|
+
'gs-mutations-over-time': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1505
1506
|
}
|
|
1506
1507
|
}
|
|
1507
1508
|
}
|
|
@@ -1509,7 +1510,7 @@ declare global {
|
|
|
1509
1510
|
|
|
1510
1511
|
declare global {
|
|
1511
1512
|
interface HTMLElementTagNameMap {
|
|
1512
|
-
'gs-
|
|
1513
|
+
'gs-sequences-by-location': SequencesByLocationComponent;
|
|
1513
1514
|
}
|
|
1514
1515
|
}
|
|
1515
1516
|
|
|
@@ -1517,7 +1518,7 @@ declare global {
|
|
|
1517
1518
|
declare global {
|
|
1518
1519
|
namespace JSX {
|
|
1519
1520
|
interface IntrinsicElements {
|
|
1520
|
-
'gs-
|
|
1521
|
+
'gs-sequences-by-location': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1521
1522
|
}
|
|
1522
1523
|
}
|
|
1523
1524
|
}
|
|
@@ -1525,10 +1526,7 @@ declare global {
|
|
|
1525
1526
|
|
|
1526
1527
|
declare global {
|
|
1527
1528
|
interface HTMLElementTagNameMap {
|
|
1528
|
-
'gs-
|
|
1529
|
-
}
|
|
1530
|
-
interface HTMLElementEventMap {
|
|
1531
|
-
'gs-location-changed': LocationChangedEvent;
|
|
1529
|
+
'gs-statistics': StatisticsComponent;
|
|
1532
1530
|
}
|
|
1533
1531
|
}
|
|
1534
1532
|
|
|
@@ -1536,7 +1534,7 @@ declare global {
|
|
|
1536
1534
|
declare global {
|
|
1537
1535
|
namespace JSX {
|
|
1538
1536
|
interface IntrinsicElements {
|
|
1539
|
-
'gs-
|
|
1537
|
+
'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1540
1538
|
}
|
|
1541
1539
|
}
|
|
1542
1540
|
}
|
|
@@ -1544,7 +1542,11 @@ declare global {
|
|
|
1544
1542
|
|
|
1545
1543
|
declare global {
|
|
1546
1544
|
interface HTMLElementTagNameMap {
|
|
1547
|
-
'gs-
|
|
1545
|
+
'gs-date-range-filter': DateRangeFilterComponent;
|
|
1546
|
+
}
|
|
1547
|
+
interface HTMLElementEventMap {
|
|
1548
|
+
'gs-date-range-filter-changed': CustomEvent<Record<string, string>>;
|
|
1549
|
+
'gs-date-range-option-changed': DateRangeOptionChangedEvent;
|
|
1548
1550
|
}
|
|
1549
1551
|
}
|
|
1550
1552
|
|
|
@@ -1552,7 +1554,7 @@ declare global {
|
|
|
1552
1554
|
declare global {
|
|
1553
1555
|
namespace JSX {
|
|
1554
1556
|
interface IntrinsicElements {
|
|
1555
|
-
'gs-
|
|
1557
|
+
'gs-date-range-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1556
1558
|
}
|
|
1557
1559
|
}
|
|
1558
1560
|
}
|
|
@@ -1576,11 +1578,10 @@ declare global {
|
|
|
1576
1578
|
|
|
1577
1579
|
declare global {
|
|
1578
1580
|
interface HTMLElementTagNameMap {
|
|
1579
|
-
'gs-
|
|
1581
|
+
'gs-location-filter': LocationFilterComponent;
|
|
1580
1582
|
}
|
|
1581
1583
|
interface HTMLElementEventMap {
|
|
1582
|
-
'gs-
|
|
1583
|
-
'gs-date-range-option-changed': DateRangeOptionChangedEvent;
|
|
1584
|
+
'gs-location-changed': LocationChangedEvent;
|
|
1584
1585
|
}
|
|
1585
1586
|
}
|
|
1586
1587
|
|
|
@@ -1588,7 +1589,7 @@ declare global {
|
|
|
1588
1589
|
declare global {
|
|
1589
1590
|
namespace JSX {
|
|
1590
1591
|
interface IntrinsicElements {
|
|
1591
|
-
'gs-
|
|
1592
|
+
'gs-location-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1592
1593
|
}
|
|
1593
1594
|
}
|
|
1594
1595
|
}
|
|
@@ -1615,10 +1616,10 @@ declare global {
|
|
|
1615
1616
|
|
|
1616
1617
|
declare global {
|
|
1617
1618
|
interface HTMLElementTagNameMap {
|
|
1618
|
-
'gs-
|
|
1619
|
+
'gs-lineage-filter': LineageFilterComponent;
|
|
1619
1620
|
}
|
|
1620
1621
|
interface HTMLElementEventMap {
|
|
1621
|
-
'gs-
|
|
1622
|
+
'gs-lineage-filter-changed': LineageFilterChangedEvent;
|
|
1622
1623
|
}
|
|
1623
1624
|
}
|
|
1624
1625
|
|
|
@@ -1626,7 +1627,7 @@ declare global {
|
|
|
1626
1627
|
declare global {
|
|
1627
1628
|
namespace JSX {
|
|
1628
1629
|
interface IntrinsicElements {
|
|
1629
|
-
'gs-
|
|
1630
|
+
'gs-lineage-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1630
1631
|
}
|
|
1631
1632
|
}
|
|
1632
1633
|
}
|
|
@@ -1634,10 +1635,10 @@ declare global {
|
|
|
1634
1635
|
|
|
1635
1636
|
declare global {
|
|
1636
1637
|
interface HTMLElementTagNameMap {
|
|
1637
|
-
'gs-
|
|
1638
|
+
'gs-mutation-filter': MutationFilterComponent;
|
|
1638
1639
|
}
|
|
1639
1640
|
interface HTMLElementEventMap {
|
|
1640
|
-
'gs-
|
|
1641
|
+
'gs-mutation-filter-changed': CustomEvent<MutationsFilter>;
|
|
1641
1642
|
}
|
|
1642
1643
|
}
|
|
1643
1644
|
|
|
@@ -1645,7 +1646,7 @@ declare global {
|
|
|
1645
1646
|
declare global {
|
|
1646
1647
|
namespace JSX {
|
|
1647
1648
|
interface IntrinsicElements {
|
|
1648
|
-
'gs-
|
|
1649
|
+
'gs-mutation-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
1649
1650
|
}
|
|
1650
1651
|
}
|
|
1651
1652
|
}
|