@genesislcap/foundation-ui 14.264.2 → 14.264.3

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 (2) hide show
  1. package/dist/custom-elements.json +1355 -1355
  2. package/package.json +18 -18
@@ -911,6 +911,188 @@
911
911
  }
912
912
  ]
913
913
  },
914
+ {
915
+ "kind": "javascript-module",
916
+ "path": "src/accordion/accordion.styles.ts",
917
+ "declarations": [
918
+ {
919
+ "kind": "function",
920
+ "name": "foundationAccordionStyles",
921
+ "return": {
922
+ "type": {
923
+ "text": "ElementStyles"
924
+ }
925
+ },
926
+ "parameters": [
927
+ {
928
+ "name": "context",
929
+ "type": {
930
+ "text": "ElementDefinitionContext"
931
+ }
932
+ },
933
+ {
934
+ "name": "definition",
935
+ "type": {
936
+ "text": "FoundationElementDefinition"
937
+ }
938
+ }
939
+ ]
940
+ }
941
+ ],
942
+ "exports": [
943
+ {
944
+ "kind": "js",
945
+ "name": "foundationAccordionStyles",
946
+ "declaration": {
947
+ "name": "foundationAccordionStyles",
948
+ "module": "src/accordion/accordion.styles.ts"
949
+ }
950
+ }
951
+ ]
952
+ },
953
+ {
954
+ "kind": "javascript-module",
955
+ "path": "src/accordion/accordion.template.ts",
956
+ "declarations": [
957
+ {
958
+ "kind": "function",
959
+ "name": "foundationAccordionTemplate",
960
+ "return": {
961
+ "type": {
962
+ "text": "ViewTemplate<Accordion>"
963
+ }
964
+ },
965
+ "parameters": [
966
+ {
967
+ "name": "context",
968
+ "type": {
969
+ "text": "ElementDefinitionContext"
970
+ }
971
+ },
972
+ {
973
+ "name": "definition",
974
+ "type": {
975
+ "text": "FoundationElementDefinition"
976
+ }
977
+ }
978
+ ]
979
+ }
980
+ ],
981
+ "exports": [
982
+ {
983
+ "kind": "js",
984
+ "name": "foundationAccordionTemplate",
985
+ "declaration": {
986
+ "name": "foundationAccordionTemplate",
987
+ "module": "src/accordion/accordion.template.ts"
988
+ }
989
+ }
990
+ ]
991
+ },
992
+ {
993
+ "kind": "javascript-module",
994
+ "path": "src/accordion/accordion.ts",
995
+ "declarations": [
996
+ {
997
+ "kind": "class",
998
+ "description": "",
999
+ "name": "Accordion",
1000
+ "superclass": {
1001
+ "name": "FASTAccordion",
1002
+ "package": "@microsoft/fast-foundation"
1003
+ },
1004
+ "tagName": "%%prefix%%-accordion",
1005
+ "customElement": true
1006
+ },
1007
+ {
1008
+ "kind": "variable",
1009
+ "name": "foundationAccordionShadowOptions",
1010
+ "type": {
1011
+ "text": "ShadowRootInit"
1012
+ },
1013
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1014
+ },
1015
+ {
1016
+ "kind": "variable",
1017
+ "name": "defaultAccordionConfig",
1018
+ "type": {
1019
+ "text": "object"
1020
+ },
1021
+ "default": "{}"
1022
+ },
1023
+ {
1024
+ "kind": "variable",
1025
+ "name": "foundationAccordion",
1026
+ "description": "The Foundation Accordion",
1027
+ "privacy": "public"
1028
+ }
1029
+ ],
1030
+ "exports": [
1031
+ {
1032
+ "kind": "js",
1033
+ "name": "Accordion",
1034
+ "declaration": {
1035
+ "name": "Accordion",
1036
+ "module": "src/accordion/accordion.ts"
1037
+ }
1038
+ },
1039
+ {
1040
+ "kind": "js",
1041
+ "name": "foundationAccordionShadowOptions",
1042
+ "declaration": {
1043
+ "name": "foundationAccordionShadowOptions",
1044
+ "module": "src/accordion/accordion.ts"
1045
+ }
1046
+ },
1047
+ {
1048
+ "kind": "js",
1049
+ "name": "defaultAccordionConfig",
1050
+ "declaration": {
1051
+ "name": "defaultAccordionConfig",
1052
+ "module": "src/accordion/accordion.ts"
1053
+ }
1054
+ },
1055
+ {
1056
+ "kind": "js",
1057
+ "name": "foundationAccordion",
1058
+ "declaration": {
1059
+ "name": "foundationAccordion",
1060
+ "module": "src/accordion/accordion.ts"
1061
+ }
1062
+ }
1063
+ ]
1064
+ },
1065
+ {
1066
+ "kind": "javascript-module",
1067
+ "path": "src/accordion/index.ts",
1068
+ "declarations": [],
1069
+ "exports": [
1070
+ {
1071
+ "kind": "js",
1072
+ "name": "*",
1073
+ "declaration": {
1074
+ "name": "*",
1075
+ "package": "./accordion.template"
1076
+ }
1077
+ },
1078
+ {
1079
+ "kind": "js",
1080
+ "name": "*",
1081
+ "declaration": {
1082
+ "name": "*",
1083
+ "package": "./accordion.styles"
1084
+ }
1085
+ },
1086
+ {
1087
+ "kind": "js",
1088
+ "name": "*",
1089
+ "declaration": {
1090
+ "name": "*",
1091
+ "package": "./accordion"
1092
+ }
1093
+ }
1094
+ ]
1095
+ },
914
1096
  {
915
1097
  "kind": "javascript-module",
916
1098
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1307,11 +1489,11 @@
1307
1489
  },
1308
1490
  {
1309
1491
  "kind": "javascript-module",
1310
- "path": "src/accordion/accordion.styles.ts",
1492
+ "path": "src/anchor/anchor.styles.ts",
1311
1493
  "declarations": [
1312
1494
  {
1313
1495
  "kind": "function",
1314
- "name": "foundationAccordionStyles",
1496
+ "name": "foundationAnchorStyles",
1315
1497
  "return": {
1316
1498
  "type": {
1317
1499
  "text": "ElementStyles"
@@ -1336,24 +1518,24 @@
1336
1518
  "exports": [
1337
1519
  {
1338
1520
  "kind": "js",
1339
- "name": "foundationAccordionStyles",
1521
+ "name": "foundationAnchorStyles",
1340
1522
  "declaration": {
1341
- "name": "foundationAccordionStyles",
1342
- "module": "src/accordion/accordion.styles.ts"
1523
+ "name": "foundationAnchorStyles",
1524
+ "module": "src/anchor/anchor.styles.ts"
1343
1525
  }
1344
1526
  }
1345
1527
  ]
1346
1528
  },
1347
1529
  {
1348
1530
  "kind": "javascript-module",
1349
- "path": "src/accordion/accordion.template.ts",
1531
+ "path": "src/anchor/anchor.template.ts",
1350
1532
  "declarations": [
1351
1533
  {
1352
1534
  "kind": "function",
1353
- "name": "foundationAccordionTemplate",
1535
+ "name": "foundationAnchorTemplate",
1354
1536
  "return": {
1355
1537
  "type": {
1356
- "text": "ViewTemplate<Accordion>"
1538
+ "text": "ViewTemplate<Anchor>"
1357
1539
  }
1358
1540
  },
1359
1541
  "parameters": [
@@ -1375,766 +1557,25 @@
1375
1557
  "exports": [
1376
1558
  {
1377
1559
  "kind": "js",
1378
- "name": "foundationAccordionTemplate",
1560
+ "name": "foundationAnchorTemplate",
1379
1561
  "declaration": {
1380
- "name": "foundationAccordionTemplate",
1381
- "module": "src/accordion/accordion.template.ts"
1562
+ "name": "foundationAnchorTemplate",
1563
+ "module": "src/anchor/anchor.template.ts"
1382
1564
  }
1383
1565
  }
1384
1566
  ]
1385
1567
  },
1386
1568
  {
1387
1569
  "kind": "javascript-module",
1388
- "path": "src/accordion/accordion.ts",
1570
+ "path": "src/anchor/anchor.ts",
1389
1571
  "declarations": [
1390
1572
  {
1391
1573
  "kind": "class",
1392
1574
  "description": "",
1393
- "name": "Accordion",
1575
+ "name": "Anchor",
1394
1576
  "superclass": {
1395
- "name": "FASTAccordion",
1396
- "package": "@microsoft/fast-foundation"
1397
- },
1398
- "tagName": "%%prefix%%-accordion",
1399
- "customElement": true
1400
- },
1401
- {
1402
- "kind": "variable",
1403
- "name": "foundationAccordionShadowOptions",
1404
- "type": {
1405
- "text": "ShadowRootInit"
1406
- },
1407
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1408
- },
1409
- {
1410
- "kind": "variable",
1411
- "name": "defaultAccordionConfig",
1412
- "type": {
1413
- "text": "object"
1414
- },
1415
- "default": "{}"
1416
- },
1417
- {
1418
- "kind": "variable",
1419
- "name": "foundationAccordion",
1420
- "description": "The Foundation Accordion",
1421
- "privacy": "public"
1422
- }
1423
- ],
1424
- "exports": [
1425
- {
1426
- "kind": "js",
1427
- "name": "Accordion",
1428
- "declaration": {
1429
- "name": "Accordion",
1430
- "module": "src/accordion/accordion.ts"
1431
- }
1432
- },
1433
- {
1434
- "kind": "js",
1435
- "name": "foundationAccordionShadowOptions",
1436
- "declaration": {
1437
- "name": "foundationAccordionShadowOptions",
1438
- "module": "src/accordion/accordion.ts"
1439
- }
1440
- },
1441
- {
1442
- "kind": "js",
1443
- "name": "defaultAccordionConfig",
1444
- "declaration": {
1445
- "name": "defaultAccordionConfig",
1446
- "module": "src/accordion/accordion.ts"
1447
- }
1448
- },
1449
- {
1450
- "kind": "js",
1451
- "name": "foundationAccordion",
1452
- "declaration": {
1453
- "name": "foundationAccordion",
1454
- "module": "src/accordion/accordion.ts"
1455
- }
1456
- }
1457
- ]
1458
- },
1459
- {
1460
- "kind": "javascript-module",
1461
- "path": "src/accordion/index.ts",
1462
- "declarations": [],
1463
- "exports": [
1464
- {
1465
- "kind": "js",
1466
- "name": "*",
1467
- "declaration": {
1468
- "name": "*",
1469
- "package": "./accordion.template"
1470
- }
1471
- },
1472
- {
1473
- "kind": "js",
1474
- "name": "*",
1475
- "declaration": {
1476
- "name": "*",
1477
- "package": "./accordion.styles"
1478
- }
1479
- },
1480
- {
1481
- "kind": "js",
1482
- "name": "*",
1483
- "declaration": {
1484
- "name": "*",
1485
- "package": "./accordion"
1486
- }
1487
- }
1488
- ]
1489
- },
1490
- {
1491
- "kind": "javascript-module",
1492
- "path": "src/actions-menu/actions-menu.styles.ts",
1493
- "declarations": [
1494
- {
1495
- "kind": "function",
1496
- "name": "actionsMenuBaseStyles",
1497
- "return": {
1498
- "type": {
1499
- "text": "ElementStyles"
1500
- }
1501
- },
1502
- "parameters": [
1503
- {
1504
- "name": "context",
1505
- "type": {
1506
- "text": "ElementDefinitionContext"
1507
- }
1508
- },
1509
- {
1510
- "name": "definition",
1511
- "type": {
1512
- "text": "FoundationElementDefinition"
1513
- }
1514
- }
1515
- ]
1516
- },
1517
- {
1518
- "kind": "function",
1519
- "name": "foundationActionsMenuStyles",
1520
- "return": {
1521
- "type": {
1522
- "text": "ElementStyles"
1523
- }
1524
- },
1525
- "parameters": [
1526
- {
1527
- "name": "context",
1528
- "type": {
1529
- "text": "ElementDefinitionContext"
1530
- }
1531
- },
1532
- {
1533
- "name": "definition",
1534
- "type": {
1535
- "text": "FoundationElementDefinition"
1536
- }
1537
- }
1538
- ]
1539
- }
1540
- ],
1541
- "exports": [
1542
- {
1543
- "kind": "js",
1544
- "name": "actionsMenuBaseStyles",
1545
- "declaration": {
1546
- "name": "actionsMenuBaseStyles",
1547
- "module": "src/actions-menu/actions-menu.styles.ts"
1548
- }
1549
- },
1550
- {
1551
- "kind": "js",
1552
- "name": "foundationActionsMenuStyles",
1553
- "declaration": {
1554
- "name": "foundationActionsMenuStyles",
1555
- "module": "src/actions-menu/actions-menu.styles.ts"
1556
- }
1557
- }
1558
- ]
1559
- },
1560
- {
1561
- "kind": "javascript-module",
1562
- "path": "src/actions-menu/actions-menu.template.ts",
1563
- "declarations": [
1564
- {
1565
- "kind": "function",
1566
- "name": "menuTemplate",
1567
- "parameters": [
1568
- {
1569
- "name": "prefix",
1570
- "type": {
1571
- "text": "string"
1572
- }
1573
- }
1574
- ]
1575
- },
1576
- {
1577
- "kind": "function",
1578
- "name": "singleOptionTemplate",
1579
- "parameters": [
1580
- {
1581
- "name": "prefix",
1582
- "type": {
1583
- "text": "string"
1584
- }
1585
- }
1586
- ]
1587
- },
1588
- {
1589
- "kind": "variable",
1590
- "name": "foundationActionsMenuTemplate",
1591
- "type": {
1592
- "text": "ViewTemplate<ActionsMenu>"
1593
- },
1594
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1595
- }
1596
- ],
1597
- "exports": [
1598
- {
1599
- "kind": "js",
1600
- "name": "menuTemplate",
1601
- "declaration": {
1602
- "name": "menuTemplate",
1603
- "module": "src/actions-menu/actions-menu.template.ts"
1604
- }
1605
- },
1606
- {
1607
- "kind": "js",
1608
- "name": "singleOptionTemplate",
1609
- "declaration": {
1610
- "name": "singleOptionTemplate",
1611
- "module": "src/actions-menu/actions-menu.template.ts"
1612
- }
1613
- },
1614
- {
1615
- "kind": "js",
1616
- "name": "foundationActionsMenuTemplate",
1617
- "declaration": {
1618
- "name": "foundationActionsMenuTemplate",
1619
- "module": "src/actions-menu/actions-menu.template.ts"
1620
- }
1621
- }
1622
- ]
1623
- },
1624
- {
1625
- "kind": "javascript-module",
1626
- "path": "src/actions-menu/actions-menu.ts",
1627
- "declarations": [
1628
- {
1629
- "kind": "class",
1630
- "description": "",
1631
- "name": "ActionsMenu",
1632
- "members": [
1633
- {
1634
- "kind": "field",
1635
- "name": "actions",
1636
- "type": {
1637
- "text": "ActionMenuItem[]"
1638
- }
1639
- },
1640
- {
1641
- "kind": "field",
1642
- "name": "isVertical",
1643
- "type": {
1644
- "text": "boolean"
1645
- },
1646
- "default": "false"
1647
- },
1648
- {
1649
- "kind": "field",
1650
- "name": "addDefaultActions",
1651
- "type": {
1652
- "text": "boolean"
1653
- },
1654
- "default": "true"
1655
- },
1656
- {
1657
- "kind": "field",
1658
- "name": "autoCloseOnAction",
1659
- "type": {
1660
- "text": "boolean"
1661
- },
1662
- "default": "true"
1663
- },
1664
- {
1665
- "kind": "field",
1666
- "name": "classNames",
1667
- "type": {
1668
- "text": "string"
1669
- }
1670
- },
1671
- {
1672
- "kind": "field",
1673
- "name": "definition",
1674
- "type": {
1675
- "text": "any"
1676
- }
1677
- },
1678
- {
1679
- "kind": "field",
1680
- "name": "name",
1681
- "type": {
1682
- "text": "string"
1683
- },
1684
- "default": "'Actions'"
1685
- },
1686
- {
1687
- "kind": "field",
1688
- "name": "open",
1689
- "type": {
1690
- "text": "boolean"
1691
- },
1692
- "default": "false"
1693
- },
1694
- {
1695
- "kind": "field",
1696
- "name": "buttonAppearance",
1697
- "type": {
1698
- "text": "string"
1699
- }
1700
- },
1701
- {
1702
- "kind": "field",
1703
- "name": "hideDisabled",
1704
- "type": {
1705
- "text": "boolean"
1706
- },
1707
- "default": "false"
1708
- },
1709
- {
1710
- "kind": "field",
1711
- "name": "hideMenuSingleOption",
1712
- "type": {
1713
- "text": "boolean"
1714
- },
1715
- "default": "false"
1716
- },
1717
- {
1718
- "kind": "field",
1719
- "name": "singleOption",
1720
- "type": {
1721
- "text": "ActionMenuItem"
1722
- }
1723
- },
1724
- {
1725
- "kind": "field",
1726
- "name": "actionsMenu",
1727
- "type": {
1728
- "text": "HTMLElement"
1729
- }
1730
- },
1731
- {
1732
- "kind": "method",
1733
- "name": "definitionChanged",
1734
- "privacy": "protected",
1735
- "parameters": [
1736
- {
1737
- "name": "oldValue",
1738
- "type": {
1739
- "text": "any"
1740
- }
1741
- },
1742
- {
1743
- "name": "newValue",
1744
- "type": {
1745
- "text": "any"
1746
- }
1747
- }
1748
- ]
1749
- },
1750
- {
1751
- "kind": "method",
1752
- "name": "openChanged",
1753
- "privacy": "protected"
1754
- },
1755
- {
1756
- "kind": "method",
1757
- "name": "toggleActionsMenuVisibility"
1758
- },
1759
- {
1760
- "kind": "method",
1761
- "name": "onActionMenuItemClick",
1762
- "parameters": [
1763
- {
1764
- "name": "callback",
1765
- "type": {
1766
- "text": "(rowData) => void | any"
1767
- }
1768
- }
1769
- ]
1770
- },
1771
- {
1772
- "kind": "field",
1773
- "name": "allActions",
1774
- "type": {
1775
- "text": "ActionMenuItem[]"
1776
- },
1777
- "readonly": true
1778
- },
1779
- {
1780
- "kind": "field",
1781
- "name": "rowData",
1782
- "readonly": true
1783
- },
1784
- {
1785
- "kind": "method",
1786
- "name": "getLabel",
1787
- "parameters": [
1788
- {
1789
- "name": "name",
1790
- "type": {
1791
- "text": "string | ((rowData: any) => string)"
1792
- }
1793
- }
1794
- ]
1795
- },
1796
- {
1797
- "kind": "method",
1798
- "name": "getTemplate",
1799
- "parameters": [
1800
- {
1801
- "name": "prefix",
1802
- "type": {
1803
- "text": "string"
1804
- }
1805
- }
1806
- ]
1807
- },
1808
- {
1809
- "kind": "field",
1810
- "name": "_presentation",
1811
- "type": {
1812
- "text": "ComponentPresentation | null | undefined"
1813
- },
1814
- "privacy": "private",
1815
- "default": "void 0",
1816
- "inheritedFrom": {
1817
- "name": "FoundationElement",
1818
- "module": "src/foundation-element/foundation-element.ts"
1819
- }
1820
- },
1821
- {
1822
- "kind": "field",
1823
- "name": "$presentation",
1824
- "type": {
1825
- "text": "ComponentPresentation | null"
1826
- },
1827
- "privacy": "public",
1828
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1829
- "inheritedFrom": {
1830
- "name": "FoundationElement",
1831
- "module": "src/foundation-element/foundation-element.ts"
1832
- }
1833
- },
1834
- {
1835
- "kind": "field",
1836
- "name": "template",
1837
- "type": {
1838
- "text": "ElementViewTemplate | void | null"
1839
- },
1840
- "privacy": "public",
1841
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1842
- "inheritedFrom": {
1843
- "name": "FoundationElement",
1844
- "module": "src/foundation-element/foundation-element.ts"
1845
- }
1846
- },
1847
- {
1848
- "kind": "method",
1849
- "name": "templateChanged",
1850
- "privacy": "protected",
1851
- "return": {
1852
- "type": {
1853
- "text": "void"
1854
- }
1855
- },
1856
- "inheritedFrom": {
1857
- "name": "FoundationElement",
1858
- "module": "src/foundation-element/foundation-element.ts"
1859
- }
1860
- },
1861
- {
1862
- "kind": "field",
1863
- "name": "styles",
1864
- "type": {
1865
- "text": "ElementStyles | void | null"
1866
- },
1867
- "privacy": "public",
1868
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1869
- "inheritedFrom": {
1870
- "name": "FoundationElement",
1871
- "module": "src/foundation-element/foundation-element.ts"
1872
- }
1873
- },
1874
- {
1875
- "kind": "method",
1876
- "name": "stylesChanged",
1877
- "privacy": "protected",
1878
- "return": {
1879
- "type": {
1880
- "text": "void"
1881
- }
1882
- },
1883
- "inheritedFrom": {
1884
- "name": "FoundationElement",
1885
- "module": "src/foundation-element/foundation-element.ts"
1886
- }
1887
- },
1888
- {
1889
- "kind": "method",
1890
- "name": "compose",
1891
- "privacy": "public",
1892
- "static": true,
1893
- "return": {
1894
- "type": {
1895
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1896
- }
1897
- },
1898
- "parameters": [
1899
- {
1900
- "name": "this",
1901
- "type": {
1902
- "text": "K"
1903
- }
1904
- },
1905
- {
1906
- "name": "elementDefinition",
1907
- "type": {
1908
- "text": "T"
1909
- },
1910
- "description": "The definition of the element to create the registry\nfunction for."
1911
- }
1912
- ],
1913
- "description": "Defines an element registry function with a set of element definition defaults.",
1914
- "inheritedFrom": {
1915
- "name": "FoundationElement",
1916
- "module": "src/foundation-element/foundation-element.ts"
1917
- }
1918
- }
1919
- ],
1920
- "attributes": [
1921
- {
1922
- "name": "is-vertical",
1923
- "type": {
1924
- "text": "boolean"
1925
- },
1926
- "default": "false",
1927
- "fieldName": "isVertical"
1928
- },
1929
- {
1930
- "name": "add-default-actions",
1931
- "type": {
1932
- "text": "boolean"
1933
- },
1934
- "default": "true",
1935
- "fieldName": "addDefaultActions"
1936
- },
1937
- {
1938
- "name": "auto-close-on-action",
1939
- "type": {
1940
- "text": "boolean"
1941
- },
1942
- "default": "true",
1943
- "fieldName": "autoCloseOnAction"
1944
- },
1945
- {
1946
- "name": "name",
1947
- "type": {
1948
- "text": "string"
1949
- },
1950
- "default": "'Actions'",
1951
- "fieldName": "name"
1952
- },
1953
- {
1954
- "name": "open",
1955
- "type": {
1956
- "text": "boolean"
1957
- },
1958
- "default": "false",
1959
- "fieldName": "open"
1960
- },
1961
- {
1962
- "name": "buttonAppearance",
1963
- "type": {
1964
- "text": "string"
1965
- },
1966
- "fieldName": "buttonAppearance"
1967
- },
1968
- {
1969
- "name": "hide-disabled",
1970
- "type": {
1971
- "text": "boolean"
1972
- },
1973
- "default": "false",
1974
- "fieldName": "hideDisabled"
1975
- },
1976
- {
1977
- "name": "hide-menu-single-option",
1978
- "type": {
1979
- "text": "boolean"
1980
- },
1981
- "default": "false",
1982
- "fieldName": "hideMenuSingleOption"
1983
- }
1984
- ],
1985
- "superclass": {
1986
- "name": "FoundationElement",
1987
- "package": "@microsoft/fast-foundation"
1988
- },
1989
- "tagName": "%%prefix%%-actions-menu",
1990
- "customElement": true
1991
- },
1992
- {
1993
- "kind": "variable",
1994
- "name": "foundationActionsMenu",
1995
- "description": "The Foundation Actions Menu",
1996
- "privacy": "public"
1997
- }
1998
- ],
1999
- "exports": [
2000
- {
2001
- "kind": "js",
2002
- "name": "ActionsMenu",
2003
- "declaration": {
2004
- "name": "ActionsMenu",
2005
- "module": "src/actions-menu/actions-menu.ts"
2006
- }
2007
- },
2008
- {
2009
- "kind": "js",
2010
- "name": "foundationActionsMenu",
2011
- "declaration": {
2012
- "name": "foundationActionsMenu",
2013
- "module": "src/actions-menu/actions-menu.ts"
2014
- }
2015
- }
2016
- ]
2017
- },
2018
- {
2019
- "kind": "javascript-module",
2020
- "path": "src/actions-menu/index.ts",
2021
- "declarations": [],
2022
- "exports": [
2023
- {
2024
- "kind": "js",
2025
- "name": "*",
2026
- "declaration": {
2027
- "name": "*",
2028
- "package": "./actions-menu.styles"
2029
- }
2030
- },
2031
- {
2032
- "kind": "js",
2033
- "name": "*",
2034
- "declaration": {
2035
- "name": "*",
2036
- "package": "./actions-menu.template"
2037
- }
2038
- },
2039
- {
2040
- "kind": "js",
2041
- "name": "*",
2042
- "declaration": {
2043
- "name": "*",
2044
- "package": "./actions-menu"
2045
- }
2046
- }
2047
- ]
2048
- },
2049
- {
2050
- "kind": "javascript-module",
2051
- "path": "src/anchor/anchor.styles.ts",
2052
- "declarations": [
2053
- {
2054
- "kind": "function",
2055
- "name": "foundationAnchorStyles",
2056
- "return": {
2057
- "type": {
2058
- "text": "ElementStyles"
2059
- }
2060
- },
2061
- "parameters": [
2062
- {
2063
- "name": "context",
2064
- "type": {
2065
- "text": "ElementDefinitionContext"
2066
- }
2067
- },
2068
- {
2069
- "name": "definition",
2070
- "type": {
2071
- "text": "FoundationElementDefinition"
2072
- }
2073
- }
2074
- ]
2075
- }
2076
- ],
2077
- "exports": [
2078
- {
2079
- "kind": "js",
2080
- "name": "foundationAnchorStyles",
2081
- "declaration": {
2082
- "name": "foundationAnchorStyles",
2083
- "module": "src/anchor/anchor.styles.ts"
2084
- }
2085
- }
2086
- ]
2087
- },
2088
- {
2089
- "kind": "javascript-module",
2090
- "path": "src/anchor/anchor.template.ts",
2091
- "declarations": [
2092
- {
2093
- "kind": "function",
2094
- "name": "foundationAnchorTemplate",
2095
- "return": {
2096
- "type": {
2097
- "text": "ViewTemplate<Anchor>"
2098
- }
2099
- },
2100
- "parameters": [
2101
- {
2102
- "name": "context",
2103
- "type": {
2104
- "text": "ElementDefinitionContext"
2105
- }
2106
- },
2107
- {
2108
- "name": "definition",
2109
- "type": {
2110
- "text": "FoundationElementDefinition"
2111
- }
2112
- }
2113
- ]
2114
- }
2115
- ],
2116
- "exports": [
2117
- {
2118
- "kind": "js",
2119
- "name": "foundationAnchorTemplate",
2120
- "declaration": {
2121
- "name": "foundationAnchorTemplate",
2122
- "module": "src/anchor/anchor.template.ts"
2123
- }
2124
- }
2125
- ]
2126
- },
2127
- {
2128
- "kind": "javascript-module",
2129
- "path": "src/anchor/anchor.ts",
2130
- "declarations": [
2131
- {
2132
- "kind": "class",
2133
- "description": "",
2134
- "name": "Anchor",
2135
- "superclass": {
2136
- "name": "FASTAnchor",
2137
- "package": "@microsoft/fast-components"
1577
+ "name": "FASTAnchor",
1578
+ "package": "@microsoft/fast-components"
2138
1579
  },
2139
1580
  "tagName": "%%prefix%%-anchor",
2140
1581
  "customElement": true,
@@ -2625,257 +2066,591 @@
2625
2066
  }
2626
2067
  },
2627
2068
  {
2628
- "name": "definition",
2069
+ "name": "definition",
2070
+ "type": {
2071
+ "text": "FoundationElementDefinition"
2072
+ }
2073
+ }
2074
+ ]
2075
+ }
2076
+ ],
2077
+ "exports": [
2078
+ {
2079
+ "kind": "js",
2080
+ "name": "foundationAnchoredRegionStyles",
2081
+ "declaration": {
2082
+ "name": "foundationAnchoredRegionStyles",
2083
+ "module": "src/anchored-region/anchored-region.styles.ts"
2084
+ }
2085
+ }
2086
+ ]
2087
+ },
2088
+ {
2089
+ "kind": "javascript-module",
2090
+ "path": "src/anchored-region/anchored-region.ts",
2091
+ "declarations": [
2092
+ {
2093
+ "kind": "class",
2094
+ "description": "",
2095
+ "name": "AnchoredRegion",
2096
+ "superclass": {
2097
+ "name": "FASTAnchoredRegion",
2098
+ "package": "@microsoft/fast-components"
2099
+ },
2100
+ "tagName": "%%prefix%%-anchored-region",
2101
+ "customElement": true,
2102
+ "attributes": [
2103
+ {
2104
+ "name": "anchor",
2105
+ "type": {
2106
+ "text": "string"
2107
+ },
2108
+ "default": "\"\"",
2109
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
2110
+ "fieldName": "anchor",
2111
+ "inheritedFrom": {
2112
+ "name": "AnchoredRegion",
2113
+ "module": "src/anchored-region/anchored-region.ts"
2114
+ }
2115
+ },
2116
+ {
2117
+ "name": "viewport",
2118
+ "type": {
2119
+ "text": "string"
2120
+ },
2121
+ "default": "\"\"",
2122
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
2123
+ "fieldName": "viewport",
2124
+ "inheritedFrom": {
2125
+ "name": "AnchoredRegion",
2126
+ "module": "src/anchored-region/anchored-region.ts"
2127
+ }
2128
+ },
2129
+ {
2130
+ "name": "horizontal-positioning-mode",
2131
+ "type": {
2132
+ "text": "AxisPositioningMode"
2133
+ },
2134
+ "default": "\"uncontrolled\"",
2135
+ "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
2136
+ "fieldName": "horizontalPositioningMode",
2137
+ "inheritedFrom": {
2138
+ "name": "AnchoredRegion",
2139
+ "module": "src/anchored-region/anchored-region.ts"
2140
+ }
2141
+ },
2142
+ {
2143
+ "name": "horizontal-default-position",
2144
+ "type": {
2145
+ "text": "HorizontalPosition"
2146
+ },
2147
+ "default": "\"unset\"",
2148
+ "description": "The default horizontal position of the region relative to the anchor element",
2149
+ "fieldName": "horizontalDefaultPosition",
2150
+ "inheritedFrom": {
2151
+ "name": "AnchoredRegion",
2152
+ "module": "src/anchored-region/anchored-region.ts"
2153
+ }
2154
+ },
2155
+ {
2156
+ "name": "horizontal-viewport-lock",
2157
+ "type": {
2158
+ "text": "boolean"
2159
+ },
2160
+ "default": "false",
2161
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2162
+ "fieldName": "horizontalViewportLock",
2163
+ "inheritedFrom": {
2164
+ "name": "AnchoredRegion",
2165
+ "module": "src/anchored-region/anchored-region.ts"
2166
+ }
2167
+ },
2168
+ {
2169
+ "name": "horizontal-inset",
2170
+ "type": {
2171
+ "text": "boolean"
2172
+ },
2173
+ "default": "false",
2174
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
2175
+ "fieldName": "horizontalInset",
2176
+ "inheritedFrom": {
2177
+ "name": "AnchoredRegion",
2178
+ "module": "src/anchored-region/anchored-region.ts"
2179
+ }
2180
+ },
2181
+ {
2182
+ "name": "horizontal-threshold",
2183
+ "type": {
2184
+ "text": "number"
2185
+ },
2186
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2187
+ "fieldName": "horizontalThreshold",
2188
+ "inheritedFrom": {
2189
+ "name": "AnchoredRegion",
2190
+ "module": "src/anchored-region/anchored-region.ts"
2191
+ }
2192
+ },
2193
+ {
2194
+ "name": "horizontal-scaling",
2195
+ "type": {
2196
+ "text": "AxisScalingMode"
2197
+ },
2198
+ "default": "\"content\"",
2199
+ "description": "Defines how the width of the region is calculated",
2200
+ "fieldName": "horizontalScaling",
2201
+ "inheritedFrom": {
2202
+ "name": "AnchoredRegion",
2203
+ "module": "src/anchored-region/anchored-region.ts"
2204
+ }
2205
+ },
2206
+ {
2207
+ "name": "vertical-positioning-mode",
2208
+ "type": {
2209
+ "text": "AxisPositioningMode"
2210
+ },
2211
+ "default": "\"uncontrolled\"",
2212
+ "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
2213
+ "fieldName": "verticalPositioningMode",
2214
+ "inheritedFrom": {
2215
+ "name": "AnchoredRegion",
2216
+ "module": "src/anchored-region/anchored-region.ts"
2217
+ }
2218
+ },
2219
+ {
2220
+ "name": "vertical-default-position",
2221
+ "type": {
2222
+ "text": "VerticalPosition"
2223
+ },
2224
+ "default": "\"unset\"",
2225
+ "description": "The default vertical position of the region relative to the anchor element",
2226
+ "fieldName": "verticalDefaultPosition",
2227
+ "inheritedFrom": {
2228
+ "name": "AnchoredRegion",
2229
+ "module": "src/anchored-region/anchored-region.ts"
2230
+ }
2231
+ },
2232
+ {
2233
+ "name": "vertical-viewport-lock",
2234
+ "type": {
2235
+ "text": "boolean"
2236
+ },
2237
+ "default": "false",
2238
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2239
+ "fieldName": "verticalViewportLock",
2240
+ "inheritedFrom": {
2241
+ "name": "AnchoredRegion",
2242
+ "module": "src/anchored-region/anchored-region.ts"
2243
+ }
2244
+ },
2245
+ {
2246
+ "name": "vertical-inset",
2247
+ "type": {
2248
+ "text": "boolean"
2249
+ },
2250
+ "default": "false",
2251
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2252
+ "fieldName": "verticalInset",
2253
+ "inheritedFrom": {
2254
+ "name": "AnchoredRegion",
2255
+ "module": "src/anchored-region/anchored-region.ts"
2256
+ }
2257
+ },
2258
+ {
2259
+ "name": "vertical-threshold",
2260
+ "type": {
2261
+ "text": "number"
2262
+ },
2263
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2264
+ "fieldName": "verticalThreshold",
2265
+ "inheritedFrom": {
2266
+ "name": "AnchoredRegion",
2267
+ "module": "src/anchored-region/anchored-region.ts"
2268
+ }
2269
+ },
2270
+ {
2271
+ "name": "vertical-scaling",
2272
+ "type": {
2273
+ "text": "AxisScalingMode"
2274
+ },
2275
+ "default": "\"content\"",
2276
+ "description": "Defines how the height of the region is calculated",
2277
+ "fieldName": "verticalScaling",
2278
+ "inheritedFrom": {
2279
+ "name": "AnchoredRegion",
2280
+ "module": "src/anchored-region/anchored-region.ts"
2281
+ }
2282
+ },
2283
+ {
2284
+ "name": "fixed-placement",
2285
+ "type": {
2286
+ "text": "boolean"
2287
+ },
2288
+ "default": "false",
2289
+ "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
2290
+ "fieldName": "fixedPlacement",
2291
+ "inheritedFrom": {
2292
+ "name": "AnchoredRegion",
2293
+ "module": "src/anchored-region/anchored-region.ts"
2294
+ }
2295
+ },
2296
+ {
2297
+ "name": "auto-update-mode",
2629
2298
  "type": {
2630
- "text": "FoundationElementDefinition"
2299
+ "text": "AutoUpdateMode"
2300
+ },
2301
+ "default": "\"anchor\"",
2302
+ "description": "Defines what triggers the anchored region to revaluate positioning",
2303
+ "fieldName": "autoUpdateMode",
2304
+ "inheritedFrom": {
2305
+ "name": "AnchoredRegion",
2306
+ "module": "src/anchored-region/anchored-region.ts"
2631
2307
  }
2632
2308
  }
2633
- ]
2634
- }
2635
- ],
2636
- "exports": [
2637
- {
2638
- "kind": "js",
2639
- "name": "foundationAnchoredRegionStyles",
2640
- "declaration": {
2641
- "name": "foundationAnchoredRegionStyles",
2642
- "module": "src/anchored-region/anchored-region.styles.ts"
2643
- }
2644
- }
2645
- ]
2646
- },
2647
- {
2648
- "kind": "javascript-module",
2649
- "path": "src/anchored-region/anchored-region.ts",
2650
- "declarations": [
2651
- {
2652
- "kind": "class",
2653
- "description": "",
2654
- "name": "AnchoredRegion",
2655
- "superclass": {
2656
- "name": "FASTAnchoredRegion",
2657
- "package": "@microsoft/fast-components"
2658
- },
2659
- "tagName": "%%prefix%%-anchored-region",
2660
- "customElement": true,
2661
- "attributes": [
2309
+ ],
2310
+ "members": [
2662
2311
  {
2312
+ "kind": "field",
2663
2313
  "name": "anchor",
2664
2314
  "type": {
2665
2315
  "text": "string"
2666
2316
  },
2317
+ "privacy": "public",
2667
2318
  "default": "\"\"",
2668
2319
  "description": "The HTML ID of the anchor element this region is positioned relative to",
2669
- "fieldName": "anchor",
2670
2320
  "inheritedFrom": {
2671
2321
  "name": "AnchoredRegion",
2672
2322
  "module": "src/anchored-region/anchored-region.ts"
2673
2323
  }
2674
2324
  },
2675
2325
  {
2326
+ "kind": "method",
2327
+ "name": "anchorChanged",
2328
+ "privacy": "private",
2329
+ "return": {
2330
+ "type": {
2331
+ "text": "void"
2332
+ }
2333
+ },
2334
+ "inheritedFrom": {
2335
+ "name": "AnchoredRegion",
2336
+ "module": "src/anchored-region/anchored-region.ts"
2337
+ }
2338
+ },
2339
+ {
2340
+ "kind": "field",
2676
2341
  "name": "viewport",
2677
2342
  "type": {
2678
2343
  "text": "string"
2679
2344
  },
2345
+ "privacy": "public",
2680
2346
  "default": "\"\"",
2681
2347
  "description": "The HTML ID of the viewport element this region is positioned relative to",
2682
- "fieldName": "viewport",
2683
2348
  "inheritedFrom": {
2684
2349
  "name": "AnchoredRegion",
2685
2350
  "module": "src/anchored-region/anchored-region.ts"
2686
2351
  }
2687
2352
  },
2688
2353
  {
2689
- "name": "horizontal-positioning-mode",
2354
+ "kind": "method",
2355
+ "name": "viewportChanged",
2356
+ "privacy": "private",
2357
+ "return": {
2358
+ "type": {
2359
+ "text": "void"
2360
+ }
2361
+ },
2362
+ "inheritedFrom": {
2363
+ "name": "AnchoredRegion",
2364
+ "module": "src/anchored-region/anchored-region.ts"
2365
+ }
2366
+ },
2367
+ {
2368
+ "kind": "field",
2369
+ "name": "horizontalPositioningMode",
2690
2370
  "type": {
2691
2371
  "text": "AxisPositioningMode"
2692
2372
  },
2373
+ "privacy": "public",
2693
2374
  "default": "\"uncontrolled\"",
2694
2375
  "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
2695
- "fieldName": "horizontalPositioningMode",
2696
2376
  "inheritedFrom": {
2697
2377
  "name": "AnchoredRegion",
2698
2378
  "module": "src/anchored-region/anchored-region.ts"
2699
2379
  }
2700
2380
  },
2701
2381
  {
2702
- "name": "horizontal-default-position",
2382
+ "kind": "method",
2383
+ "name": "horizontalPositioningModeChanged",
2384
+ "privacy": "private",
2385
+ "return": {
2386
+ "type": {
2387
+ "text": "void"
2388
+ }
2389
+ },
2390
+ "inheritedFrom": {
2391
+ "name": "AnchoredRegion",
2392
+ "module": "src/anchored-region/anchored-region.ts"
2393
+ }
2394
+ },
2395
+ {
2396
+ "kind": "field",
2397
+ "name": "horizontalDefaultPosition",
2703
2398
  "type": {
2704
2399
  "text": "HorizontalPosition"
2705
2400
  },
2401
+ "privacy": "public",
2706
2402
  "default": "\"unset\"",
2707
2403
  "description": "The default horizontal position of the region relative to the anchor element",
2708
- "fieldName": "horizontalDefaultPosition",
2709
2404
  "inheritedFrom": {
2710
2405
  "name": "AnchoredRegion",
2711
2406
  "module": "src/anchored-region/anchored-region.ts"
2712
2407
  }
2713
2408
  },
2714
2409
  {
2715
- "name": "horizontal-viewport-lock",
2410
+ "kind": "method",
2411
+ "name": "horizontalDefaultPositionChanged",
2412
+ "privacy": "private",
2413
+ "return": {
2414
+ "type": {
2415
+ "text": "void"
2416
+ }
2417
+ },
2418
+ "inheritedFrom": {
2419
+ "name": "AnchoredRegion",
2420
+ "module": "src/anchored-region/anchored-region.ts"
2421
+ }
2422
+ },
2423
+ {
2424
+ "kind": "field",
2425
+ "name": "horizontalViewportLock",
2716
2426
  "type": {
2717
2427
  "text": "boolean"
2718
2428
  },
2429
+ "privacy": "public",
2719
2430
  "default": "false",
2720
2431
  "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2721
- "fieldName": "horizontalViewportLock",
2722
2432
  "inheritedFrom": {
2723
2433
  "name": "AnchoredRegion",
2724
2434
  "module": "src/anchored-region/anchored-region.ts"
2725
2435
  }
2726
2436
  },
2727
2437
  {
2728
- "name": "horizontal-inset",
2438
+ "kind": "method",
2439
+ "name": "horizontalViewportLockChanged",
2440
+ "privacy": "private",
2441
+ "return": {
2442
+ "type": {
2443
+ "text": "void"
2444
+ }
2445
+ },
2446
+ "inheritedFrom": {
2447
+ "name": "AnchoredRegion",
2448
+ "module": "src/anchored-region/anchored-region.ts"
2449
+ }
2450
+ },
2451
+ {
2452
+ "kind": "field",
2453
+ "name": "horizontalInset",
2729
2454
  "type": {
2730
2455
  "text": "boolean"
2731
2456
  },
2457
+ "privacy": "public",
2732
2458
  "default": "false",
2733
2459
  "description": "Whether the region overlaps the anchor on the horizontal axis",
2734
- "fieldName": "horizontalInset",
2735
2460
  "inheritedFrom": {
2736
2461
  "name": "AnchoredRegion",
2737
2462
  "module": "src/anchored-region/anchored-region.ts"
2738
2463
  }
2739
2464
  },
2740
2465
  {
2741
- "name": "horizontal-threshold",
2466
+ "kind": "method",
2467
+ "name": "horizontalInsetChanged",
2468
+ "privacy": "private",
2469
+ "return": {
2470
+ "type": {
2471
+ "text": "void"
2472
+ }
2473
+ },
2474
+ "inheritedFrom": {
2475
+ "name": "AnchoredRegion",
2476
+ "module": "src/anchored-region/anchored-region.ts"
2477
+ }
2478
+ },
2479
+ {
2480
+ "kind": "field",
2481
+ "name": "horizontalThreshold",
2742
2482
  "type": {
2743
2483
  "text": "number"
2744
2484
  },
2485
+ "privacy": "public",
2745
2486
  "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2746
- "fieldName": "horizontalThreshold",
2747
2487
  "inheritedFrom": {
2748
2488
  "name": "AnchoredRegion",
2749
2489
  "module": "src/anchored-region/anchored-region.ts"
2750
2490
  }
2751
2491
  },
2752
2492
  {
2753
- "name": "horizontal-scaling",
2493
+ "kind": "method",
2494
+ "name": "horizontalThresholdChanged",
2495
+ "privacy": "private",
2496
+ "return": {
2497
+ "type": {
2498
+ "text": "void"
2499
+ }
2500
+ },
2501
+ "inheritedFrom": {
2502
+ "name": "AnchoredRegion",
2503
+ "module": "src/anchored-region/anchored-region.ts"
2504
+ }
2505
+ },
2506
+ {
2507
+ "kind": "field",
2508
+ "name": "horizontalScaling",
2754
2509
  "type": {
2755
2510
  "text": "AxisScalingMode"
2756
2511
  },
2512
+ "privacy": "public",
2757
2513
  "default": "\"content\"",
2758
2514
  "description": "Defines how the width of the region is calculated",
2759
- "fieldName": "horizontalScaling",
2760
2515
  "inheritedFrom": {
2761
2516
  "name": "AnchoredRegion",
2762
2517
  "module": "src/anchored-region/anchored-region.ts"
2763
2518
  }
2764
2519
  },
2765
2520
  {
2766
- "name": "vertical-positioning-mode",
2521
+ "kind": "method",
2522
+ "name": "horizontalScalingChanged",
2523
+ "privacy": "private",
2524
+ "return": {
2525
+ "type": {
2526
+ "text": "void"
2527
+ }
2528
+ },
2529
+ "inheritedFrom": {
2530
+ "name": "AnchoredRegion",
2531
+ "module": "src/anchored-region/anchored-region.ts"
2532
+ }
2533
+ },
2534
+ {
2535
+ "kind": "field",
2536
+ "name": "verticalPositioningMode",
2767
2537
  "type": {
2768
2538
  "text": "AxisPositioningMode"
2769
2539
  },
2540
+ "privacy": "public",
2770
2541
  "default": "\"uncontrolled\"",
2771
2542
  "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
2772
- "fieldName": "verticalPositioningMode",
2773
2543
  "inheritedFrom": {
2774
2544
  "name": "AnchoredRegion",
2775
2545
  "module": "src/anchored-region/anchored-region.ts"
2776
2546
  }
2777
2547
  },
2778
2548
  {
2779
- "name": "vertical-default-position",
2780
- "type": {
2781
- "text": "VerticalPosition"
2549
+ "kind": "method",
2550
+ "name": "verticalPositioningModeChanged",
2551
+ "privacy": "private",
2552
+ "return": {
2553
+ "type": {
2554
+ "text": "void"
2555
+ }
2782
2556
  },
2783
- "default": "\"unset\"",
2784
- "description": "The default vertical position of the region relative to the anchor element",
2785
- "fieldName": "verticalDefaultPosition",
2786
2557
  "inheritedFrom": {
2787
2558
  "name": "AnchoredRegion",
2788
2559
  "module": "src/anchored-region/anchored-region.ts"
2789
2560
  }
2790
2561
  },
2791
2562
  {
2792
- "name": "vertical-viewport-lock",
2563
+ "kind": "field",
2564
+ "name": "verticalDefaultPosition",
2793
2565
  "type": {
2794
- "text": "boolean"
2566
+ "text": "VerticalPosition"
2795
2567
  },
2796
- "default": "false",
2797
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2798
- "fieldName": "verticalViewportLock",
2568
+ "privacy": "public",
2569
+ "default": "\"unset\"",
2570
+ "description": "The default vertical position of the region relative to the anchor element",
2799
2571
  "inheritedFrom": {
2800
2572
  "name": "AnchoredRegion",
2801
2573
  "module": "src/anchored-region/anchored-region.ts"
2802
2574
  }
2803
2575
  },
2804
2576
  {
2805
- "name": "vertical-inset",
2806
- "type": {
2807
- "text": "boolean"
2577
+ "kind": "method",
2578
+ "name": "verticalDefaultPositionChanged",
2579
+ "privacy": "private",
2580
+ "return": {
2581
+ "type": {
2582
+ "text": "void"
2583
+ }
2808
2584
  },
2809
- "default": "false",
2810
- "description": "Whether the region overlaps the anchor on the vertical axis",
2811
- "fieldName": "verticalInset",
2812
2585
  "inheritedFrom": {
2813
2586
  "name": "AnchoredRegion",
2814
2587
  "module": "src/anchored-region/anchored-region.ts"
2815
2588
  }
2816
2589
  },
2817
2590
  {
2818
- "name": "vertical-threshold",
2591
+ "kind": "field",
2592
+ "name": "verticalViewportLock",
2819
2593
  "type": {
2820
- "text": "number"
2594
+ "text": "boolean"
2821
2595
  },
2822
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2823
- "fieldName": "verticalThreshold",
2596
+ "privacy": "public",
2597
+ "default": "false",
2598
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2824
2599
  "inheritedFrom": {
2825
2600
  "name": "AnchoredRegion",
2826
2601
  "module": "src/anchored-region/anchored-region.ts"
2827
2602
  }
2828
2603
  },
2829
2604
  {
2830
- "name": "vertical-scaling",
2831
- "type": {
2832
- "text": "AxisScalingMode"
2605
+ "kind": "method",
2606
+ "name": "verticalViewportLockChanged",
2607
+ "privacy": "private",
2608
+ "return": {
2609
+ "type": {
2610
+ "text": "void"
2611
+ }
2833
2612
  },
2834
- "default": "\"content\"",
2835
- "description": "Defines how the height of the region is calculated",
2836
- "fieldName": "verticalScaling",
2837
2613
  "inheritedFrom": {
2838
2614
  "name": "AnchoredRegion",
2839
2615
  "module": "src/anchored-region/anchored-region.ts"
2840
2616
  }
2841
2617
  },
2842
2618
  {
2843
- "name": "fixed-placement",
2619
+ "kind": "field",
2620
+ "name": "verticalInset",
2844
2621
  "type": {
2845
2622
  "text": "boolean"
2846
2623
  },
2624
+ "privacy": "public",
2847
2625
  "default": "false",
2848
- "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
2849
- "fieldName": "fixedPlacement",
2626
+ "description": "Whether the region overlaps the anchor on the vertical axis",
2850
2627
  "inheritedFrom": {
2851
2628
  "name": "AnchoredRegion",
2852
2629
  "module": "src/anchored-region/anchored-region.ts"
2853
2630
  }
2854
2631
  },
2855
2632
  {
2856
- "name": "auto-update-mode",
2857
- "type": {
2858
- "text": "AutoUpdateMode"
2633
+ "kind": "method",
2634
+ "name": "verticalInsetChanged",
2635
+ "privacy": "private",
2636
+ "return": {
2637
+ "type": {
2638
+ "text": "void"
2639
+ }
2859
2640
  },
2860
- "default": "\"anchor\"",
2861
- "description": "Defines what triggers the anchored region to revaluate positioning",
2862
- "fieldName": "autoUpdateMode",
2863
2641
  "inheritedFrom": {
2864
2642
  "name": "AnchoredRegion",
2865
2643
  "module": "src/anchored-region/anchored-region.ts"
2866
2644
  }
2867
- }
2868
- ],
2869
- "members": [
2645
+ },
2870
2646
  {
2871
2647
  "kind": "field",
2872
- "name": "anchor",
2648
+ "name": "verticalThreshold",
2873
2649
  "type": {
2874
- "text": "string"
2650
+ "text": "number"
2875
2651
  },
2876
2652
  "privacy": "public",
2877
- "default": "\"\"",
2878
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2653
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2879
2654
  "inheritedFrom": {
2880
2655
  "name": "AnchoredRegion",
2881
2656
  "module": "src/anchored-region/anchored-region.ts"
@@ -2883,7 +2658,7 @@
2883
2658
  },
2884
2659
  {
2885
2660
  "kind": "method",
2886
- "name": "anchorChanged",
2661
+ "name": "verticalThresholdChanged",
2887
2662
  "privacy": "private",
2888
2663
  "return": {
2889
2664
  "type": {
@@ -2897,13 +2672,13 @@
2897
2672
  },
2898
2673
  {
2899
2674
  "kind": "field",
2900
- "name": "viewport",
2675
+ "name": "verticalScaling",
2901
2676
  "type": {
2902
- "text": "string"
2677
+ "text": "AxisScalingMode"
2903
2678
  },
2904
2679
  "privacy": "public",
2905
- "default": "\"\"",
2906
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2680
+ "default": "\"content\"",
2681
+ "description": "Defines how the height of the region is calculated",
2907
2682
  "inheritedFrom": {
2908
2683
  "name": "AnchoredRegion",
2909
2684
  "module": "src/anchored-region/anchored-region.ts"
@@ -2911,7 +2686,7 @@
2911
2686
  },
2912
2687
  {
2913
2688
  "kind": "method",
2914
- "name": "viewportChanged",
2689
+ "name": "verticalScalingChanged",
2915
2690
  "privacy": "private",
2916
2691
  "return": {
2917
2692
  "type": {
@@ -2925,13 +2700,13 @@
2925
2700
  },
2926
2701
  {
2927
2702
  "kind": "field",
2928
- "name": "horizontalPositioningMode",
2703
+ "name": "fixedPlacement",
2929
2704
  "type": {
2930
- "text": "AxisPositioningMode"
2705
+ "text": "boolean"
2931
2706
  },
2932
2707
  "privacy": "public",
2933
- "default": "\"uncontrolled\"",
2934
- "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
2708
+ "default": "false",
2709
+ "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
2935
2710
  "inheritedFrom": {
2936
2711
  "name": "AnchoredRegion",
2937
2712
  "module": "src/anchored-region/anchored-region.ts"
@@ -2939,7 +2714,7 @@
2939
2714
  },
2940
2715
  {
2941
2716
  "kind": "method",
2942
- "name": "horizontalPositioningModeChanged",
2717
+ "name": "fixedPlacementChanged",
2943
2718
  "privacy": "private",
2944
2719
  "return": {
2945
2720
  "type": {
@@ -2953,13 +2728,13 @@
2953
2728
  },
2954
2729
  {
2955
2730
  "kind": "field",
2956
- "name": "horizontalDefaultPosition",
2731
+ "name": "autoUpdateMode",
2957
2732
  "type": {
2958
- "text": "HorizontalPosition"
2733
+ "text": "AutoUpdateMode"
2959
2734
  },
2960
2735
  "privacy": "public",
2961
- "default": "\"unset\"",
2962
- "description": "The default horizontal position of the region relative to the anchor element",
2736
+ "default": "\"anchor\"",
2737
+ "description": "Defines what triggers the anchored region to revaluate positioning",
2963
2738
  "inheritedFrom": {
2964
2739
  "name": "AnchoredRegion",
2965
2740
  "module": "src/anchored-region/anchored-region.ts"
@@ -2967,13 +2742,27 @@
2967
2742
  },
2968
2743
  {
2969
2744
  "kind": "method",
2970
- "name": "horizontalDefaultPositionChanged",
2745
+ "name": "autoUpdateModeChanged",
2971
2746
  "privacy": "private",
2972
2747
  "return": {
2973
2748
  "type": {
2974
2749
  "text": "void"
2975
2750
  }
2976
2751
  },
2752
+ "parameters": [
2753
+ {
2754
+ "name": "prevMode",
2755
+ "type": {
2756
+ "text": "AutoUpdateMode"
2757
+ }
2758
+ },
2759
+ {
2760
+ "name": "newMode",
2761
+ "type": {
2762
+ "text": "AutoUpdateMode"
2763
+ }
2764
+ }
2765
+ ],
2977
2766
  "inheritedFrom": {
2978
2767
  "name": "AnchoredRegion",
2979
2768
  "module": "src/anchored-region/anchored-region.ts"
@@ -2981,13 +2770,13 @@
2981
2770
  },
2982
2771
  {
2983
2772
  "kind": "field",
2984
- "name": "horizontalViewportLock",
2773
+ "name": "anchorElement",
2985
2774
  "type": {
2986
- "text": "boolean"
2775
+ "text": "HTMLElement | null"
2987
2776
  },
2988
2777
  "privacy": "public",
2989
- "default": "false",
2990
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2778
+ "default": "null",
2779
+ "description": "The HTML element being used as the anchor",
2991
2780
  "inheritedFrom": {
2992
2781
  "name": "AnchoredRegion",
2993
2782
  "module": "src/anchored-region/anchored-region.ts"
@@ -2995,7 +2784,7 @@
2995
2784
  },
2996
2785
  {
2997
2786
  "kind": "method",
2998
- "name": "horizontalViewportLockChanged",
2787
+ "name": "anchorElementChanged",
2999
2788
  "privacy": "private",
3000
2789
  "return": {
3001
2790
  "type": {
@@ -3009,13 +2798,13 @@
3009
2798
  },
3010
2799
  {
3011
2800
  "kind": "field",
3012
- "name": "horizontalInset",
2801
+ "name": "viewportElement",
3013
2802
  "type": {
3014
- "text": "boolean"
2803
+ "text": "HTMLElement | null"
3015
2804
  },
3016
2805
  "privacy": "public",
3017
- "default": "false",
3018
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2806
+ "default": "null",
2807
+ "description": "The HTML element being used as the viewport",
3019
2808
  "inheritedFrom": {
3020
2809
  "name": "AnchoredRegion",
3021
2810
  "module": "src/anchored-region/anchored-region.ts"
@@ -3023,7 +2812,7 @@
3023
2812
  },
3024
2813
  {
3025
2814
  "kind": "method",
3026
- "name": "horizontalInsetChanged",
2815
+ "name": "viewportElementChanged",
3027
2816
  "privacy": "private",
3028
2817
  "return": {
3029
2818
  "type": {
@@ -3037,26 +2826,25 @@
3037
2826
  },
3038
2827
  {
3039
2828
  "kind": "field",
3040
- "name": "horizontalThreshold",
2829
+ "name": "verticalPosition",
3041
2830
  "type": {
3042
- "text": "number"
2831
+ "text": "AnchoredRegionPositionLabel | undefined"
3043
2832
  },
3044
2833
  "privacy": "public",
3045
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2834
+ "description": "indicates the current horizontal position of the region",
3046
2835
  "inheritedFrom": {
3047
2836
  "name": "AnchoredRegion",
3048
2837
  "module": "src/anchored-region/anchored-region.ts"
3049
2838
  }
3050
2839
  },
3051
2840
  {
3052
- "kind": "method",
3053
- "name": "horizontalThresholdChanged",
3054
- "privacy": "private",
3055
- "return": {
3056
- "type": {
3057
- "text": "void"
3058
- }
2841
+ "kind": "field",
2842
+ "name": "horizontalPosition",
2843
+ "type": {
2844
+ "text": "AnchoredRegionPositionLabel | undefined"
3059
2845
  },
2846
+ "privacy": "public",
2847
+ "description": "indicates the current vertical position of the region",
3060
2848
  "inheritedFrom": {
3061
2849
  "name": "AnchoredRegion",
3062
2850
  "module": "src/anchored-region/anchored-region.ts"
@@ -3064,27 +2852,37 @@
3064
2852
  },
3065
2853
  {
3066
2854
  "kind": "field",
3067
- "name": "horizontalScaling",
2855
+ "name": "translateX",
3068
2856
  "type": {
3069
- "text": "AxisScalingMode"
2857
+ "text": "number"
3070
2858
  },
3071
- "privacy": "public",
3072
- "default": "\"content\"",
3073
- "description": "Defines how the width of the region is calculated",
2859
+ "privacy": "private",
2860
+ "description": "values to be applied to the component's transform on render",
3074
2861
  "inheritedFrom": {
3075
2862
  "name": "AnchoredRegion",
3076
2863
  "module": "src/anchored-region/anchored-region.ts"
3077
2864
  }
3078
2865
  },
3079
2866
  {
3080
- "kind": "method",
3081
- "name": "horizontalScalingChanged",
2867
+ "kind": "field",
2868
+ "name": "translateY",
2869
+ "type": {
2870
+ "text": "number"
2871
+ },
3082
2872
  "privacy": "private",
3083
- "return": {
3084
- "type": {
3085
- "text": "void"
3086
- }
2873
+ "inheritedFrom": {
2874
+ "name": "AnchoredRegion",
2875
+ "module": "src/anchored-region/anchored-region.ts"
2876
+ }
2877
+ },
2878
+ {
2879
+ "kind": "field",
2880
+ "name": "regionWidth",
2881
+ "type": {
2882
+ "text": "string"
3087
2883
  },
2884
+ "privacy": "private",
2885
+ "description": "the span to be applied to the region on each axis",
3088
2886
  "inheritedFrom": {
3089
2887
  "name": "AnchoredRegion",
3090
2888
  "module": "src/anchored-region/anchored-region.ts"
@@ -3092,27 +2890,36 @@
3092
2890
  },
3093
2891
  {
3094
2892
  "kind": "field",
3095
- "name": "verticalPositioningMode",
2893
+ "name": "regionHeight",
3096
2894
  "type": {
3097
- "text": "AxisPositioningMode"
2895
+ "text": "string"
3098
2896
  },
3099
- "privacy": "public",
3100
- "default": "\"uncontrolled\"",
3101
- "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
2897
+ "privacy": "private",
3102
2898
  "inheritedFrom": {
3103
2899
  "name": "AnchoredRegion",
3104
2900
  "module": "src/anchored-region/anchored-region.ts"
3105
2901
  }
3106
2902
  },
3107
2903
  {
3108
- "kind": "method",
3109
- "name": "verticalPositioningModeChanged",
2904
+ "kind": "field",
2905
+ "name": "resizeDetector",
2906
+ "type": {
2907
+ "text": "ResizeObserverClassDefinition | null"
2908
+ },
3110
2909
  "privacy": "private",
3111
- "return": {
3112
- "type": {
3113
- "text": "void"
3114
- }
2910
+ "default": "null",
2911
+ "inheritedFrom": {
2912
+ "name": "AnchoredRegion",
2913
+ "module": "src/anchored-region/anchored-region.ts"
2914
+ }
2915
+ },
2916
+ {
2917
+ "kind": "field",
2918
+ "name": "viewportRect",
2919
+ "type": {
2920
+ "text": "ClientRect | DOMRect | undefined"
3115
2921
  },
2922
+ "privacy": "private",
3116
2923
  "inheritedFrom": {
3117
2924
  "name": "AnchoredRegion",
3118
2925
  "module": "src/anchored-region/anchored-region.ts"
@@ -3120,27 +2927,37 @@
3120
2927
  },
3121
2928
  {
3122
2929
  "kind": "field",
3123
- "name": "verticalDefaultPosition",
2930
+ "name": "anchorRect",
3124
2931
  "type": {
3125
- "text": "VerticalPosition"
2932
+ "text": "ClientRect | DOMRect | undefined"
3126
2933
  },
3127
- "privacy": "public",
3128
- "default": "\"unset\"",
3129
- "description": "The default vertical position of the region relative to the anchor element",
2934
+ "privacy": "private",
3130
2935
  "inheritedFrom": {
3131
2936
  "name": "AnchoredRegion",
3132
2937
  "module": "src/anchored-region/anchored-region.ts"
3133
2938
  }
3134
2939
  },
3135
2940
  {
3136
- "kind": "method",
3137
- "name": "verticalDefaultPositionChanged",
2941
+ "kind": "field",
2942
+ "name": "regionRect",
2943
+ "type": {
2944
+ "text": "ClientRect | DOMRect | undefined"
2945
+ },
3138
2946
  "privacy": "private",
3139
- "return": {
3140
- "type": {
3141
- "text": "void"
3142
- }
2947
+ "inheritedFrom": {
2948
+ "name": "AnchoredRegion",
2949
+ "module": "src/anchored-region/anchored-region.ts"
2950
+ }
2951
+ },
2952
+ {
2953
+ "kind": "field",
2954
+ "name": "baseHorizontalOffset",
2955
+ "type": {
2956
+ "text": "number"
3143
2957
  },
2958
+ "privacy": "private",
2959
+ "default": "0",
2960
+ "description": "base offsets between the positioner's base position and the anchor's",
3144
2961
  "inheritedFrom": {
3145
2962
  "name": "AnchoredRegion",
3146
2963
  "module": "src/anchored-region/anchored-region.ts"
@@ -3148,27 +2965,50 @@
3148
2965
  },
3149
2966
  {
3150
2967
  "kind": "field",
3151
- "name": "verticalViewportLock",
2968
+ "name": "baseVerticalOffset",
2969
+ "type": {
2970
+ "text": "number"
2971
+ },
2972
+ "privacy": "private",
2973
+ "default": "0",
2974
+ "inheritedFrom": {
2975
+ "name": "AnchoredRegion",
2976
+ "module": "src/anchored-region/anchored-region.ts"
2977
+ }
2978
+ },
2979
+ {
2980
+ "kind": "field",
2981
+ "name": "pendingPositioningUpdate",
3152
2982
  "type": {
3153
2983
  "text": "boolean"
3154
2984
  },
3155
- "privacy": "public",
2985
+ "privacy": "private",
3156
2986
  "default": "false",
3157
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
3158
2987
  "inheritedFrom": {
3159
2988
  "name": "AnchoredRegion",
3160
2989
  "module": "src/anchored-region/anchored-region.ts"
3161
2990
  }
3162
2991
  },
3163
2992
  {
3164
- "kind": "method",
3165
- "name": "verticalViewportLockChanged",
2993
+ "kind": "field",
2994
+ "name": "pendingReset",
2995
+ "type": {
2996
+ "text": "boolean"
2997
+ },
3166
2998
  "privacy": "private",
3167
- "return": {
3168
- "type": {
3169
- "text": "void"
3170
- }
2999
+ "default": "false",
3000
+ "inheritedFrom": {
3001
+ "name": "AnchoredRegion",
3002
+ "module": "src/anchored-region/anchored-region.ts"
3003
+ }
3004
+ },
3005
+ {
3006
+ "kind": "field",
3007
+ "name": "currentDirection",
3008
+ "type": {
3009
+ "text": "Direction"
3171
3010
  },
3011
+ "privacy": "private",
3172
3012
  "inheritedFrom": {
3173
3013
  "name": "AnchoredRegion",
3174
3014
  "module": "src/anchored-region/anchored-region.ts"
@@ -3176,27 +3016,25 @@
3176
3016
  },
3177
3017
  {
3178
3018
  "kind": "field",
3179
- "name": "verticalInset",
3019
+ "name": "regionVisible",
3180
3020
  "type": {
3181
3021
  "text": "boolean"
3182
3022
  },
3183
- "privacy": "public",
3023
+ "privacy": "private",
3184
3024
  "default": "false",
3185
- "description": "Whether the region overlaps the anchor on the vertical axis",
3186
3025
  "inheritedFrom": {
3187
3026
  "name": "AnchoredRegion",
3188
3027
  "module": "src/anchored-region/anchored-region.ts"
3189
3028
  }
3190
3029
  },
3191
3030
  {
3192
- "kind": "method",
3193
- "name": "verticalInsetChanged",
3194
- "privacy": "private",
3195
- "return": {
3196
- "type": {
3197
- "text": "void"
3198
- }
3031
+ "kind": "field",
3032
+ "name": "forceUpdate",
3033
+ "type": {
3034
+ "text": "boolean"
3199
3035
  },
3036
+ "privacy": "private",
3037
+ "default": "false",
3200
3038
  "inheritedFrom": {
3201
3039
  "name": "AnchoredRegion",
3202
3040
  "module": "src/anchored-region/anchored-region.ts"
@@ -3204,26 +3042,26 @@
3204
3042
  },
3205
3043
  {
3206
3044
  "kind": "field",
3207
- "name": "verticalThreshold",
3045
+ "name": "updateThreshold",
3208
3046
  "type": {
3209
3047
  "text": "number"
3210
3048
  },
3211
- "privacy": "public",
3212
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3049
+ "privacy": "private",
3050
+ "default": "0.5",
3213
3051
  "inheritedFrom": {
3214
3052
  "name": "AnchoredRegion",
3215
3053
  "module": "src/anchored-region/anchored-region.ts"
3216
3054
  }
3217
3055
  },
3218
3056
  {
3219
- "kind": "method",
3220
- "name": "verticalThresholdChanged",
3221
- "privacy": "private",
3222
- "return": {
3223
- "type": {
3224
- "text": "void"
3225
- }
3057
+ "kind": "field",
3058
+ "name": "intersectionService",
3059
+ "type": {
3060
+ "text": "IntersectionService"
3226
3061
  },
3062
+ "privacy": "private",
3063
+ "static": true,
3064
+ "default": "new IntersectionService()",
3227
3065
  "inheritedFrom": {
3228
3066
  "name": "AnchoredRegion",
3229
3067
  "module": "src/anchored-region/anchored-region.ts"
@@ -3231,13 +3069,9 @@
3231
3069
  },
3232
3070
  {
3233
3071
  "kind": "field",
3234
- "name": "verticalScaling",
3235
- "type": {
3236
- "text": "AxisScalingMode"
3237
- },
3072
+ "name": "update",
3238
3073
  "privacy": "public",
3239
- "default": "\"content\"",
3240
- "description": "Defines how the height of the region is calculated",
3074
+ "description": "update position",
3241
3075
  "inheritedFrom": {
3242
3076
  "name": "AnchoredRegion",
3243
3077
  "module": "src/anchored-region/anchored-region.ts"
@@ -3245,27 +3079,29 @@
3245
3079
  },
3246
3080
  {
3247
3081
  "kind": "method",
3248
- "name": "verticalScalingChanged",
3082
+ "name": "disconnectResizeDetector",
3249
3083
  "privacy": "private",
3250
3084
  "return": {
3251
3085
  "type": {
3252
3086
  "text": "void"
3253
3087
  }
3254
3088
  },
3089
+ "description": "destroys the instance's resize observer",
3255
3090
  "inheritedFrom": {
3256
3091
  "name": "AnchoredRegion",
3257
3092
  "module": "src/anchored-region/anchored-region.ts"
3258
3093
  }
3259
3094
  },
3260
3095
  {
3261
- "kind": "field",
3262
- "name": "fixedPlacement",
3263
- "type": {
3264
- "text": "boolean"
3096
+ "kind": "method",
3097
+ "name": "initializeResizeDetector",
3098
+ "privacy": "private",
3099
+ "return": {
3100
+ "type": {
3101
+ "text": "void"
3102
+ }
3265
3103
  },
3266
- "privacy": "public",
3267
- "default": "false",
3268
- "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
3104
+ "description": "initializes the instance's resize observer",
3269
3105
  "inheritedFrom": {
3270
3106
  "name": "AnchoredRegion",
3271
3107
  "module": "src/anchored-region/anchored-region.ts"
@@ -3273,27 +3109,29 @@
3273
3109
  },
3274
3110
  {
3275
3111
  "kind": "method",
3276
- "name": "fixedPlacementChanged",
3112
+ "name": "updateForAttributeChange",
3277
3113
  "privacy": "private",
3278
3114
  "return": {
3279
3115
  "type": {
3280
3116
  "text": "void"
3281
3117
  }
3282
3118
  },
3119
+ "description": "react to attribute changes that don't require a reset",
3283
3120
  "inheritedFrom": {
3284
3121
  "name": "AnchoredRegion",
3285
3122
  "module": "src/anchored-region/anchored-region.ts"
3286
3123
  }
3287
3124
  },
3288
3125
  {
3289
- "kind": "field",
3290
- "name": "autoUpdateMode",
3291
- "type": {
3292
- "text": "AutoUpdateMode"
3126
+ "kind": "method",
3127
+ "name": "initialize",
3128
+ "privacy": "private",
3129
+ "return": {
3130
+ "type": {
3131
+ "text": "void"
3132
+ }
3293
3133
  },
3294
- "privacy": "public",
3295
- "default": "\"anchor\"",
3296
- "description": "Defines what triggers the anchored region to revaluate positioning",
3134
+ "description": "fully initializes the component",
3297
3135
  "inheritedFrom": {
3298
3136
  "name": "AnchoredRegion",
3299
3137
  "module": "src/anchored-region/anchored-region.ts"
@@ -3301,27 +3139,29 @@
3301
3139
  },
3302
3140
  {
3303
3141
  "kind": "method",
3304
- "name": "autoUpdateModeChanged",
3142
+ "name": "requestReset",
3305
3143
  "privacy": "private",
3306
3144
  "return": {
3307
3145
  "type": {
3308
3146
  "text": "void"
3309
3147
  }
3310
3148
  },
3311
- "parameters": [
3312
- {
3313
- "name": "prevMode",
3314
- "type": {
3315
- "text": "AutoUpdateMode"
3316
- }
3317
- },
3318
- {
3319
- "name": "newMode",
3320
- "type": {
3321
- "text": "AutoUpdateMode"
3322
- }
3149
+ "description": "Request a reset if there are currently no open requests",
3150
+ "inheritedFrom": {
3151
+ "name": "AnchoredRegion",
3152
+ "module": "src/anchored-region/anchored-region.ts"
3153
+ }
3154
+ },
3155
+ {
3156
+ "kind": "method",
3157
+ "name": "setInitialState",
3158
+ "privacy": "private",
3159
+ "return": {
3160
+ "type": {
3161
+ "text": "void"
3323
3162
  }
3324
- ],
3163
+ },
3164
+ "description": "sets the starting configuration for component internal values",
3325
3165
  "inheritedFrom": {
3326
3166
  "name": "AnchoredRegion",
3327
3167
  "module": "src/anchored-region/anchored-region.ts"
@@ -3329,27 +3169,19 @@
3329
3169
  },
3330
3170
  {
3331
3171
  "kind": "field",
3332
- "name": "anchorElement",
3333
- "type": {
3334
- "text": "HTMLElement | null"
3335
- },
3336
- "privacy": "public",
3337
- "default": "null",
3338
- "description": "The HTML element being used as the anchor",
3172
+ "name": "startObservers",
3173
+ "privacy": "private",
3174
+ "description": "starts observers",
3339
3175
  "inheritedFrom": {
3340
3176
  "name": "AnchoredRegion",
3341
3177
  "module": "src/anchored-region/anchored-region.ts"
3342
3178
  }
3343
3179
  },
3344
3180
  {
3345
- "kind": "method",
3346
- "name": "anchorElementChanged",
3181
+ "kind": "field",
3182
+ "name": "requestPositionUpdates",
3347
3183
  "privacy": "private",
3348
- "return": {
3349
- "type": {
3350
- "text": "void"
3351
- }
3352
- },
3184
+ "description": "get position updates",
3353
3185
  "inheritedFrom": {
3354
3186
  "name": "AnchoredRegion",
3355
3187
  "module": "src/anchored-region/anchored-region.ts"
@@ -3357,27 +3189,19 @@
3357
3189
  },
3358
3190
  {
3359
3191
  "kind": "field",
3360
- "name": "viewportElement",
3361
- "type": {
3362
- "text": "HTMLElement | null"
3363
- },
3364
- "privacy": "public",
3365
- "default": "null",
3366
- "description": "The HTML element being used as the viewport",
3192
+ "name": "stopObservers",
3193
+ "privacy": "private",
3194
+ "description": "stops observers",
3367
3195
  "inheritedFrom": {
3368
3196
  "name": "AnchoredRegion",
3369
3197
  "module": "src/anchored-region/anchored-region.ts"
3370
3198
  }
3371
3199
  },
3372
3200
  {
3373
- "kind": "method",
3374
- "name": "viewportElementChanged",
3201
+ "kind": "field",
3202
+ "name": "getViewport",
3375
3203
  "privacy": "private",
3376
- "return": {
3377
- "type": {
3378
- "text": "void"
3379
- }
3380
- },
3204
+ "description": "Gets the viewport element by id, or defaults to document root",
3381
3205
  "inheritedFrom": {
3382
3206
  "name": "AnchoredRegion",
3383
3207
  "module": "src/anchored-region/anchored-region.ts"
@@ -3385,12 +3209,9 @@
3385
3209
  },
3386
3210
  {
3387
3211
  "kind": "field",
3388
- "name": "verticalPosition",
3389
- "type": {
3390
- "text": "AnchoredRegionPositionLabel | undefined"
3391
- },
3392
- "privacy": "public",
3393
- "description": "indicates the current horizontal position of the region",
3212
+ "name": "getAnchor",
3213
+ "privacy": "private",
3214
+ "description": "Gets the anchor element by id",
3394
3215
  "inheritedFrom": {
3395
3216
  "name": "AnchoredRegion",
3396
3217
  "module": "src/anchored-region/anchored-region.ts"
@@ -3398,12 +3219,9 @@
3398
3219
  },
3399
3220
  {
3400
3221
  "kind": "field",
3401
- "name": "horizontalPosition",
3402
- "type": {
3403
- "text": "AnchoredRegionPositionLabel | undefined"
3404
- },
3405
- "privacy": "public",
3406
- "description": "indicates the current vertical position of the region",
3222
+ "name": "handleIntersection",
3223
+ "privacy": "private",
3224
+ "description": "Handle intersections",
3407
3225
  "inheritedFrom": {
3408
3226
  "name": "AnchoredRegion",
3409
3227
  "module": "src/anchored-region/anchored-region.ts"
@@ -3411,12 +3229,9 @@
3411
3229
  },
3412
3230
  {
3413
3231
  "kind": "field",
3414
- "name": "translateX",
3415
- "type": {
3416
- "text": "number"
3417
- },
3232
+ "name": "applyIntersectionEntries",
3418
3233
  "privacy": "private",
3419
- "description": "values to be applied to the component's transform on render",
3234
+ "description": "iterate through intersection entries and apply data",
3420
3235
  "inheritedFrom": {
3421
3236
  "name": "AnchoredRegion",
3422
3237
  "module": "src/anchored-region/anchored-region.ts"
@@ -3424,11 +3239,9 @@
3424
3239
  },
3425
3240
  {
3426
3241
  "kind": "field",
3427
- "name": "translateY",
3428
- "type": {
3429
- "text": "number"
3430
- },
3242
+ "name": "updateRegionOffset",
3431
3243
  "privacy": "private",
3244
+ "description": "Update the offset values",
3432
3245
  "inheritedFrom": {
3433
3246
  "name": "AnchoredRegion",
3434
3247
  "module": "src/anchored-region/anchored-region.ts"
@@ -3436,12 +3249,9 @@
3436
3249
  },
3437
3250
  {
3438
3251
  "kind": "field",
3439
- "name": "regionWidth",
3440
- "type": {
3441
- "text": "string"
3442
- },
3252
+ "name": "isRectDifferent",
3443
3253
  "privacy": "private",
3444
- "description": "the span to be applied to the region on each axis",
3254
+ "description": "compare rects to see if there is enough change to justify a DOM update",
3445
3255
  "inheritedFrom": {
3446
3256
  "name": "AnchoredRegion",
3447
3257
  "module": "src/anchored-region/anchored-region.ts"
@@ -3449,11 +3259,9 @@
3449
3259
  },
3450
3260
  {
3451
3261
  "kind": "field",
3452
- "name": "regionHeight",
3453
- "type": {
3454
- "text": "string"
3455
- },
3262
+ "name": "handleResize",
3456
3263
  "privacy": "private",
3264
+ "description": "Handle resize events",
3457
3265
  "inheritedFrom": {
3458
3266
  "name": "AnchoredRegion",
3459
3267
  "module": "src/anchored-region/anchored-region.ts"
@@ -3461,12 +3269,9 @@
3461
3269
  },
3462
3270
  {
3463
3271
  "kind": "field",
3464
- "name": "resizeDetector",
3465
- "type": {
3466
- "text": "ResizeObserverClassDefinition | null"
3467
- },
3272
+ "name": "reset",
3468
3273
  "privacy": "private",
3469
- "default": "null",
3274
+ "description": "resets the component",
3470
3275
  "inheritedFrom": {
3471
3276
  "name": "AnchoredRegion",
3472
3277
  "module": "src/anchored-region/anchored-region.ts"
@@ -3474,11 +3279,9 @@
3474
3279
  },
3475
3280
  {
3476
3281
  "kind": "field",
3477
- "name": "viewportRect",
3478
- "type": {
3479
- "text": "ClientRect | DOMRect | undefined"
3480
- },
3282
+ "name": "updateLayout",
3481
3283
  "privacy": "private",
3284
+ "description": "Recalculate layout related state values",
3482
3285
  "inheritedFrom": {
3483
3286
  "name": "AnchoredRegion",
3484
3287
  "module": "src/anchored-region/anchored-region.ts"
@@ -3486,11 +3289,9 @@
3486
3289
  },
3487
3290
  {
3488
3291
  "kind": "field",
3489
- "name": "anchorRect",
3490
- "type": {
3491
- "text": "ClientRect | DOMRect | undefined"
3492
- },
3292
+ "name": "updateRegionStyle",
3493
3293
  "privacy": "private",
3294
+ "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3494
3295
  "inheritedFrom": {
3495
3296
  "name": "AnchoredRegion",
3496
3297
  "module": "src/anchored-region/anchored-region.ts"
@@ -3498,11 +3299,9 @@
3498
3299
  },
3499
3300
  {
3500
3301
  "kind": "field",
3501
- "name": "regionRect",
3502
- "type": {
3503
- "text": "ClientRect | DOMRect | undefined"
3504
- },
3302
+ "name": "updatePositionClasses",
3505
3303
  "privacy": "private",
3304
+ "description": "Updates the css classes that reflect the current position of the element",
3506
3305
  "inheritedFrom": {
3507
3306
  "name": "AnchoredRegion",
3508
3307
  "module": "src/anchored-region/anchored-region.ts"
@@ -3510,13 +3309,9 @@
3510
3309
  },
3511
3310
  {
3512
3311
  "kind": "field",
3513
- "name": "baseHorizontalOffset",
3514
- "type": {
3515
- "text": "number"
3516
- },
3312
+ "name": "setHorizontalPosition",
3517
3313
  "privacy": "private",
3518
- "default": "0",
3519
- "description": "base offsets between the positioner's base position and the anchor's",
3314
+ "description": "Get horizontal positioning state based on desired position",
3520
3315
  "inheritedFrom": {
3521
3316
  "name": "AnchoredRegion",
3522
3317
  "module": "src/anchored-region/anchored-region.ts"
@@ -3524,12 +3319,9 @@
3524
3319
  },
3525
3320
  {
3526
3321
  "kind": "field",
3527
- "name": "baseVerticalOffset",
3528
- "type": {
3529
- "text": "number"
3530
- },
3322
+ "name": "setVerticalPosition",
3531
3323
  "privacy": "private",
3532
- "default": "0",
3324
+ "description": "Set vertical positioning state based on desired position",
3533
3325
  "inheritedFrom": {
3534
3326
  "name": "AnchoredRegion",
3535
3327
  "module": "src/anchored-region/anchored-region.ts"
@@ -3537,12 +3329,9 @@
3537
3329
  },
3538
3330
  {
3539
3331
  "kind": "field",
3540
- "name": "pendingPositioningUpdate",
3541
- "type": {
3542
- "text": "boolean"
3543
- },
3332
+ "name": "getPositioningOptions",
3544
3333
  "privacy": "private",
3545
- "default": "false",
3334
+ "description": "Get available positions based on positioning mode",
3546
3335
  "inheritedFrom": {
3547
3336
  "name": "AnchoredRegion",
3548
3337
  "module": "src/anchored-region/anchored-region.ts"
@@ -3550,12 +3339,9 @@
3550
3339
  },
3551
3340
  {
3552
3341
  "kind": "field",
3553
- "name": "pendingReset",
3554
- "type": {
3555
- "text": "boolean"
3556
- },
3342
+ "name": "getAvailableSpace",
3557
3343
  "privacy": "private",
3558
- "default": "false",
3344
+ "description": "Get the space available for a particular relative position",
3559
3345
  "inheritedFrom": {
3560
3346
  "name": "AnchoredRegion",
3561
3347
  "module": "src/anchored-region/anchored-region.ts"
@@ -3563,11 +3349,9 @@
3563
3349
  },
3564
3350
  {
3565
3351
  "kind": "field",
3566
- "name": "currentDirection",
3567
- "type": {
3568
- "text": "Direction"
3569
- },
3352
+ "name": "getNextRegionDimension",
3570
3353
  "privacy": "private",
3354
+ "description": "Get region dimensions",
3571
3355
  "inheritedFrom": {
3572
3356
  "name": "AnchoredRegion",
3573
3357
  "module": "src/anchored-region/anchored-region.ts"
@@ -3575,12 +3359,9 @@
3575
3359
  },
3576
3360
  {
3577
3361
  "kind": "field",
3578
- "name": "regionVisible",
3579
- "type": {
3580
- "text": "boolean"
3581
- },
3362
+ "name": "startAutoUpdateEventListeners",
3582
3363
  "privacy": "private",
3583
- "default": "false",
3364
+ "description": "starts event listeners that can trigger auto updating",
3584
3365
  "inheritedFrom": {
3585
3366
  "name": "AnchoredRegion",
3586
3367
  "module": "src/anchored-region/anchored-region.ts"
@@ -3588,12 +3369,9 @@
3588
3369
  },
3589
3370
  {
3590
3371
  "kind": "field",
3591
- "name": "forceUpdate",
3592
- "type": {
3593
- "text": "boolean"
3594
- },
3372
+ "name": "stopAutoUpdateEventListeners",
3595
3373
  "privacy": "private",
3596
- "default": "false",
3374
+ "description": "stops event listeners that can trigger auto updating",
3597
3375
  "inheritedFrom": {
3598
3376
  "name": "AnchoredRegion",
3599
3377
  "module": "src/anchored-region/anchored-region.ts"
@@ -3601,340 +3379,541 @@
3601
3379
  },
3602
3380
  {
3603
3381
  "kind": "field",
3604
- "name": "updateThreshold",
3382
+ "name": "_presentation",
3605
3383
  "type": {
3606
- "text": "number"
3384
+ "text": "ComponentPresentation | null | undefined"
3607
3385
  },
3608
3386
  "privacy": "private",
3609
- "default": "0.5",
3387
+ "default": "void 0",
3610
3388
  "inheritedFrom": {
3611
- "name": "AnchoredRegion",
3612
- "module": "src/anchored-region/anchored-region.ts"
3389
+ "name": "FoundationElement",
3390
+ "module": "src/foundation-element/foundation-element.ts"
3613
3391
  }
3614
3392
  },
3615
3393
  {
3616
3394
  "kind": "field",
3617
- "name": "intersectionService",
3395
+ "name": "$presentation",
3618
3396
  "type": {
3619
- "text": "IntersectionService"
3397
+ "text": "ComponentPresentation | null"
3620
3398
  },
3621
- "privacy": "private",
3622
- "static": true,
3623
- "default": "new IntersectionService()",
3399
+ "privacy": "public",
3400
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3624
3401
  "inheritedFrom": {
3625
- "name": "AnchoredRegion",
3626
- "module": "src/anchored-region/anchored-region.ts"
3402
+ "name": "FoundationElement",
3403
+ "module": "src/foundation-element/foundation-element.ts"
3627
3404
  }
3628
3405
  },
3629
3406
  {
3630
3407
  "kind": "field",
3631
- "name": "update",
3408
+ "name": "template",
3409
+ "type": {
3410
+ "text": "ElementViewTemplate | void | null"
3411
+ },
3632
3412
  "privacy": "public",
3633
- "description": "update position",
3413
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
3634
3414
  "inheritedFrom": {
3635
- "name": "AnchoredRegion",
3636
- "module": "src/anchored-region/anchored-region.ts"
3415
+ "name": "FoundationElement",
3416
+ "module": "src/foundation-element/foundation-element.ts"
3637
3417
  }
3638
3418
  },
3639
3419
  {
3640
3420
  "kind": "method",
3641
- "name": "disconnectResizeDetector",
3642
- "privacy": "private",
3421
+ "name": "templateChanged",
3422
+ "privacy": "protected",
3643
3423
  "return": {
3644
3424
  "type": {
3645
3425
  "text": "void"
3646
3426
  }
3647
3427
  },
3648
- "description": "destroys the instance's resize observer",
3649
3428
  "inheritedFrom": {
3650
- "name": "AnchoredRegion",
3651
- "module": "src/anchored-region/anchored-region.ts"
3429
+ "name": "FoundationElement",
3430
+ "module": "src/foundation-element/foundation-element.ts"
3652
3431
  }
3653
3432
  },
3654
3433
  {
3655
- "kind": "method",
3656
- "name": "initializeResizeDetector",
3657
- "privacy": "private",
3658
- "return": {
3659
- "type": {
3660
- "text": "void"
3661
- }
3434
+ "kind": "field",
3435
+ "name": "styles",
3436
+ "type": {
3437
+ "text": "ElementStyles | void | null"
3662
3438
  },
3663
- "description": "initializes the instance's resize observer",
3439
+ "privacy": "public",
3440
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3664
3441
  "inheritedFrom": {
3665
- "name": "AnchoredRegion",
3666
- "module": "src/anchored-region/anchored-region.ts"
3442
+ "name": "FoundationElement",
3443
+ "module": "src/foundation-element/foundation-element.ts"
3667
3444
  }
3668
3445
  },
3669
3446
  {
3670
3447
  "kind": "method",
3671
- "name": "updateForAttributeChange",
3672
- "privacy": "private",
3448
+ "name": "stylesChanged",
3449
+ "privacy": "protected",
3673
3450
  "return": {
3674
3451
  "type": {
3675
3452
  "text": "void"
3676
3453
  }
3677
3454
  },
3678
- "description": "react to attribute changes that don't require a reset",
3679
3455
  "inheritedFrom": {
3680
- "name": "AnchoredRegion",
3681
- "module": "src/anchored-region/anchored-region.ts"
3456
+ "name": "FoundationElement",
3457
+ "module": "src/foundation-element/foundation-element.ts"
3682
3458
  }
3683
3459
  },
3684
3460
  {
3685
3461
  "kind": "method",
3686
- "name": "initialize",
3687
- "privacy": "private",
3462
+ "name": "compose",
3463
+ "privacy": "public",
3464
+ "static": true,
3688
3465
  "return": {
3689
3466
  "type": {
3690
- "text": "void"
3467
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3691
3468
  }
3692
3469
  },
3693
- "description": "fully initializes the component",
3470
+ "parameters": [
3471
+ {
3472
+ "name": "this",
3473
+ "type": {
3474
+ "text": "K"
3475
+ }
3476
+ },
3477
+ {
3478
+ "name": "elementDefinition",
3479
+ "type": {
3480
+ "text": "T"
3481
+ },
3482
+ "description": "The definition of the element to create the registry\nfunction for."
3483
+ }
3484
+ ],
3485
+ "description": "Defines an element registry function with a set of element definition defaults.",
3486
+ "inheritedFrom": {
3487
+ "name": "FoundationElement",
3488
+ "module": "src/foundation-element/foundation-element.ts"
3489
+ }
3490
+ }
3491
+ ],
3492
+ "events": [
3493
+ {
3494
+ "description": "Fires a custom 'loaded' event when the region is loaded and visible",
3495
+ "name": "loaded",
3694
3496
  "inheritedFrom": {
3695
3497
  "name": "AnchoredRegion",
3696
3498
  "module": "src/anchored-region/anchored-region.ts"
3697
3499
  }
3698
3500
  },
3699
3501
  {
3700
- "kind": "method",
3701
- "name": "requestReset",
3702
- "privacy": "private",
3703
- "return": {
3704
- "type": {
3705
- "text": "void"
3706
- }
3707
- },
3708
- "description": "Request a reset if there are currently no open requests",
3502
+ "description": "Fires a custom 'positionchange' event when the position has changed",
3503
+ "name": "positionchange",
3709
3504
  "inheritedFrom": {
3710
3505
  "name": "AnchoredRegion",
3711
3506
  "module": "src/anchored-region/anchored-region.ts"
3712
3507
  }
3508
+ }
3509
+ ]
3510
+ },
3511
+ {
3512
+ "kind": "variable",
3513
+ "name": "foundationAnchoredRegionShadowOptions",
3514
+ "type": {
3515
+ "text": "ShadowRootInit"
3516
+ },
3517
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3518
+ },
3519
+ {
3520
+ "kind": "variable",
3521
+ "name": "defaultAnchoredRegionConfig",
3522
+ "type": {
3523
+ "text": "object"
3524
+ },
3525
+ "default": "{}"
3526
+ },
3527
+ {
3528
+ "kind": "variable",
3529
+ "name": "foundationAnchoredRegion",
3530
+ "description": "The Foundation Anchored Region",
3531
+ "privacy": "public"
3532
+ }
3533
+ ],
3534
+ "exports": [
3535
+ {
3536
+ "kind": "js",
3537
+ "name": "AnchoredRegion",
3538
+ "declaration": {
3539
+ "name": "AnchoredRegion",
3540
+ "module": "src/anchored-region/anchored-region.ts"
3541
+ }
3542
+ },
3543
+ {
3544
+ "kind": "js",
3545
+ "name": "foundationAnchoredRegionShadowOptions",
3546
+ "declaration": {
3547
+ "name": "foundationAnchoredRegionShadowOptions",
3548
+ "module": "src/anchored-region/anchored-region.ts"
3549
+ }
3550
+ },
3551
+ {
3552
+ "kind": "js",
3553
+ "name": "defaultAnchoredRegionConfig",
3554
+ "declaration": {
3555
+ "name": "defaultAnchoredRegionConfig",
3556
+ "module": "src/anchored-region/anchored-region.ts"
3557
+ }
3558
+ },
3559
+ {
3560
+ "kind": "js",
3561
+ "name": "foundationAnchoredRegion",
3562
+ "declaration": {
3563
+ "name": "foundationAnchoredRegion",
3564
+ "module": "src/anchored-region/anchored-region.ts"
3565
+ }
3566
+ }
3567
+ ]
3568
+ },
3569
+ {
3570
+ "kind": "javascript-module",
3571
+ "path": "src/anchored-region/index.ts",
3572
+ "declarations": [],
3573
+ "exports": [
3574
+ {
3575
+ "kind": "js",
3576
+ "name": "*",
3577
+ "declaration": {
3578
+ "name": "*",
3579
+ "package": "./anchor-region.template"
3580
+ }
3581
+ },
3582
+ {
3583
+ "kind": "js",
3584
+ "name": "*",
3585
+ "declaration": {
3586
+ "name": "*",
3587
+ "package": "./anchored-region.styles"
3588
+ }
3589
+ },
3590
+ {
3591
+ "kind": "js",
3592
+ "name": "*",
3593
+ "declaration": {
3594
+ "name": "*",
3595
+ "package": "./anchored-region"
3596
+ }
3597
+ }
3598
+ ]
3599
+ },
3600
+ {
3601
+ "kind": "javascript-module",
3602
+ "path": "src/actions-menu/actions-menu.styles.ts",
3603
+ "declarations": [
3604
+ {
3605
+ "kind": "function",
3606
+ "name": "actionsMenuBaseStyles",
3607
+ "return": {
3608
+ "type": {
3609
+ "text": "ElementStyles"
3610
+ }
3611
+ },
3612
+ "parameters": [
3613
+ {
3614
+ "name": "context",
3615
+ "type": {
3616
+ "text": "ElementDefinitionContext"
3617
+ }
3713
3618
  },
3714
3619
  {
3715
- "kind": "method",
3716
- "name": "setInitialState",
3717
- "privacy": "private",
3718
- "return": {
3719
- "type": {
3720
- "text": "void"
3721
- }
3722
- },
3723
- "description": "sets the starting configuration for component internal values",
3724
- "inheritedFrom": {
3725
- "name": "AnchoredRegion",
3726
- "module": "src/anchored-region/anchored-region.ts"
3620
+ "name": "definition",
3621
+ "type": {
3622
+ "text": "FoundationElementDefinition"
3623
+ }
3624
+ }
3625
+ ]
3626
+ },
3627
+ {
3628
+ "kind": "function",
3629
+ "name": "foundationActionsMenuStyles",
3630
+ "return": {
3631
+ "type": {
3632
+ "text": "ElementStyles"
3633
+ }
3634
+ },
3635
+ "parameters": [
3636
+ {
3637
+ "name": "context",
3638
+ "type": {
3639
+ "text": "ElementDefinitionContext"
3727
3640
  }
3728
3641
  },
3729
3642
  {
3730
- "kind": "field",
3731
- "name": "startObservers",
3732
- "privacy": "private",
3733
- "description": "starts observers",
3734
- "inheritedFrom": {
3735
- "name": "AnchoredRegion",
3736
- "module": "src/anchored-region/anchored-region.ts"
3643
+ "name": "definition",
3644
+ "type": {
3645
+ "text": "FoundationElementDefinition"
3737
3646
  }
3738
- },
3647
+ }
3648
+ ]
3649
+ }
3650
+ ],
3651
+ "exports": [
3652
+ {
3653
+ "kind": "js",
3654
+ "name": "actionsMenuBaseStyles",
3655
+ "declaration": {
3656
+ "name": "actionsMenuBaseStyles",
3657
+ "module": "src/actions-menu/actions-menu.styles.ts"
3658
+ }
3659
+ },
3660
+ {
3661
+ "kind": "js",
3662
+ "name": "foundationActionsMenuStyles",
3663
+ "declaration": {
3664
+ "name": "foundationActionsMenuStyles",
3665
+ "module": "src/actions-menu/actions-menu.styles.ts"
3666
+ }
3667
+ }
3668
+ ]
3669
+ },
3670
+ {
3671
+ "kind": "javascript-module",
3672
+ "path": "src/actions-menu/actions-menu.template.ts",
3673
+ "declarations": [
3674
+ {
3675
+ "kind": "function",
3676
+ "name": "menuTemplate",
3677
+ "parameters": [
3739
3678
  {
3740
- "kind": "field",
3741
- "name": "requestPositionUpdates",
3742
- "privacy": "private",
3743
- "description": "get position updates",
3744
- "inheritedFrom": {
3745
- "name": "AnchoredRegion",
3746
- "module": "src/anchored-region/anchored-region.ts"
3679
+ "name": "prefix",
3680
+ "type": {
3681
+ "text": "string"
3747
3682
  }
3748
- },
3683
+ }
3684
+ ]
3685
+ },
3686
+ {
3687
+ "kind": "function",
3688
+ "name": "singleOptionTemplate",
3689
+ "parameters": [
3749
3690
  {
3750
- "kind": "field",
3751
- "name": "stopObservers",
3752
- "privacy": "private",
3753
- "description": "stops observers",
3754
- "inheritedFrom": {
3755
- "name": "AnchoredRegion",
3756
- "module": "src/anchored-region/anchored-region.ts"
3691
+ "name": "prefix",
3692
+ "type": {
3693
+ "text": "string"
3757
3694
  }
3758
- },
3695
+ }
3696
+ ]
3697
+ },
3698
+ {
3699
+ "kind": "variable",
3700
+ "name": "foundationActionsMenuTemplate",
3701
+ "type": {
3702
+ "text": "ViewTemplate<ActionsMenu>"
3703
+ },
3704
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
3705
+ }
3706
+ ],
3707
+ "exports": [
3708
+ {
3709
+ "kind": "js",
3710
+ "name": "menuTemplate",
3711
+ "declaration": {
3712
+ "name": "menuTemplate",
3713
+ "module": "src/actions-menu/actions-menu.template.ts"
3714
+ }
3715
+ },
3716
+ {
3717
+ "kind": "js",
3718
+ "name": "singleOptionTemplate",
3719
+ "declaration": {
3720
+ "name": "singleOptionTemplate",
3721
+ "module": "src/actions-menu/actions-menu.template.ts"
3722
+ }
3723
+ },
3724
+ {
3725
+ "kind": "js",
3726
+ "name": "foundationActionsMenuTemplate",
3727
+ "declaration": {
3728
+ "name": "foundationActionsMenuTemplate",
3729
+ "module": "src/actions-menu/actions-menu.template.ts"
3730
+ }
3731
+ }
3732
+ ]
3733
+ },
3734
+ {
3735
+ "kind": "javascript-module",
3736
+ "path": "src/actions-menu/actions-menu.ts",
3737
+ "declarations": [
3738
+ {
3739
+ "kind": "class",
3740
+ "description": "",
3741
+ "name": "ActionsMenu",
3742
+ "members": [
3759
3743
  {
3760
3744
  "kind": "field",
3761
- "name": "getViewport",
3762
- "privacy": "private",
3763
- "description": "Gets the viewport element by id, or defaults to document root",
3764
- "inheritedFrom": {
3765
- "name": "AnchoredRegion",
3766
- "module": "src/anchored-region/anchored-region.ts"
3745
+ "name": "actions",
3746
+ "type": {
3747
+ "text": "ActionMenuItem[]"
3767
3748
  }
3768
3749
  },
3769
3750
  {
3770
3751
  "kind": "field",
3771
- "name": "getAnchor",
3772
- "privacy": "private",
3773
- "description": "Gets the anchor element by id",
3774
- "inheritedFrom": {
3775
- "name": "AnchoredRegion",
3776
- "module": "src/anchored-region/anchored-region.ts"
3777
- }
3752
+ "name": "isVertical",
3753
+ "type": {
3754
+ "text": "boolean"
3755
+ },
3756
+ "default": "false"
3778
3757
  },
3779
3758
  {
3780
3759
  "kind": "field",
3781
- "name": "handleIntersection",
3782
- "privacy": "private",
3783
- "description": "Handle intersections",
3784
- "inheritedFrom": {
3785
- "name": "AnchoredRegion",
3786
- "module": "src/anchored-region/anchored-region.ts"
3787
- }
3760
+ "name": "addDefaultActions",
3761
+ "type": {
3762
+ "text": "boolean"
3763
+ },
3764
+ "default": "true"
3788
3765
  },
3789
3766
  {
3790
3767
  "kind": "field",
3791
- "name": "applyIntersectionEntries",
3792
- "privacy": "private",
3793
- "description": "iterate through intersection entries and apply data",
3794
- "inheritedFrom": {
3795
- "name": "AnchoredRegion",
3796
- "module": "src/anchored-region/anchored-region.ts"
3797
- }
3768
+ "name": "autoCloseOnAction",
3769
+ "type": {
3770
+ "text": "boolean"
3771
+ },
3772
+ "default": "true"
3798
3773
  },
3799
3774
  {
3800
3775
  "kind": "field",
3801
- "name": "updateRegionOffset",
3802
- "privacy": "private",
3803
- "description": "Update the offset values",
3804
- "inheritedFrom": {
3805
- "name": "AnchoredRegion",
3806
- "module": "src/anchored-region/anchored-region.ts"
3776
+ "name": "classNames",
3777
+ "type": {
3778
+ "text": "string"
3807
3779
  }
3808
3780
  },
3809
3781
  {
3810
3782
  "kind": "field",
3811
- "name": "isRectDifferent",
3812
- "privacy": "private",
3813
- "description": "compare rects to see if there is enough change to justify a DOM update",
3814
- "inheritedFrom": {
3815
- "name": "AnchoredRegion",
3816
- "module": "src/anchored-region/anchored-region.ts"
3783
+ "name": "definition",
3784
+ "type": {
3785
+ "text": "any"
3817
3786
  }
3818
3787
  },
3819
3788
  {
3820
3789
  "kind": "field",
3821
- "name": "handleResize",
3822
- "privacy": "private",
3823
- "description": "Handle resize events",
3824
- "inheritedFrom": {
3825
- "name": "AnchoredRegion",
3826
- "module": "src/anchored-region/anchored-region.ts"
3827
- }
3790
+ "name": "name",
3791
+ "type": {
3792
+ "text": "string"
3793
+ },
3794
+ "default": "'Actions'"
3828
3795
  },
3829
3796
  {
3830
3797
  "kind": "field",
3831
- "name": "reset",
3832
- "privacy": "private",
3833
- "description": "resets the component",
3834
- "inheritedFrom": {
3835
- "name": "AnchoredRegion",
3836
- "module": "src/anchored-region/anchored-region.ts"
3837
- }
3798
+ "name": "open",
3799
+ "type": {
3800
+ "text": "boolean"
3801
+ },
3802
+ "default": "false"
3838
3803
  },
3839
3804
  {
3840
3805
  "kind": "field",
3841
- "name": "updateLayout",
3842
- "privacy": "private",
3843
- "description": "Recalculate layout related state values",
3844
- "inheritedFrom": {
3845
- "name": "AnchoredRegion",
3846
- "module": "src/anchored-region/anchored-region.ts"
3806
+ "name": "buttonAppearance",
3807
+ "type": {
3808
+ "text": "string"
3847
3809
  }
3848
3810
  },
3849
3811
  {
3850
3812
  "kind": "field",
3851
- "name": "updateRegionStyle",
3852
- "privacy": "private",
3853
- "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3854
- "inheritedFrom": {
3855
- "name": "AnchoredRegion",
3856
- "module": "src/anchored-region/anchored-region.ts"
3857
- }
3813
+ "name": "hideDisabled",
3814
+ "type": {
3815
+ "text": "boolean"
3816
+ },
3817
+ "default": "false"
3858
3818
  },
3859
3819
  {
3860
3820
  "kind": "field",
3861
- "name": "updatePositionClasses",
3862
- "privacy": "private",
3863
- "description": "Updates the css classes that reflect the current position of the element",
3864
- "inheritedFrom": {
3865
- "name": "AnchoredRegion",
3866
- "module": "src/anchored-region/anchored-region.ts"
3867
- }
3821
+ "name": "hideMenuSingleOption",
3822
+ "type": {
3823
+ "text": "boolean"
3824
+ },
3825
+ "default": "false"
3868
3826
  },
3869
3827
  {
3870
3828
  "kind": "field",
3871
- "name": "setHorizontalPosition",
3872
- "privacy": "private",
3873
- "description": "Get horizontal positioning state based on desired position",
3874
- "inheritedFrom": {
3875
- "name": "AnchoredRegion",
3876
- "module": "src/anchored-region/anchored-region.ts"
3829
+ "name": "singleOption",
3830
+ "type": {
3831
+ "text": "ActionMenuItem"
3877
3832
  }
3878
3833
  },
3879
3834
  {
3880
3835
  "kind": "field",
3881
- "name": "setVerticalPosition",
3882
- "privacy": "private",
3883
- "description": "Set vertical positioning state based on desired position",
3884
- "inheritedFrom": {
3885
- "name": "AnchoredRegion",
3886
- "module": "src/anchored-region/anchored-region.ts"
3836
+ "name": "actionsMenu",
3837
+ "type": {
3838
+ "text": "HTMLElement"
3887
3839
  }
3888
3840
  },
3889
3841
  {
3890
- "kind": "field",
3891
- "name": "getPositioningOptions",
3892
- "privacy": "private",
3893
- "description": "Get available positions based on positioning mode",
3894
- "inheritedFrom": {
3895
- "name": "AnchoredRegion",
3896
- "module": "src/anchored-region/anchored-region.ts"
3897
- }
3842
+ "kind": "method",
3843
+ "name": "definitionChanged",
3844
+ "privacy": "protected",
3845
+ "parameters": [
3846
+ {
3847
+ "name": "oldValue",
3848
+ "type": {
3849
+ "text": "any"
3850
+ }
3851
+ },
3852
+ {
3853
+ "name": "newValue",
3854
+ "type": {
3855
+ "text": "any"
3856
+ }
3857
+ }
3858
+ ]
3898
3859
  },
3899
3860
  {
3900
- "kind": "field",
3901
- "name": "getAvailableSpace",
3902
- "privacy": "private",
3903
- "description": "Get the space available for a particular relative position",
3904
- "inheritedFrom": {
3905
- "name": "AnchoredRegion",
3906
- "module": "src/anchored-region/anchored-region.ts"
3907
- }
3861
+ "kind": "method",
3862
+ "name": "openChanged",
3863
+ "privacy": "protected"
3908
3864
  },
3909
3865
  {
3910
- "kind": "field",
3911
- "name": "getNextRegionDimension",
3912
- "privacy": "private",
3913
- "description": "Get region dimensions",
3914
- "inheritedFrom": {
3915
- "name": "AnchoredRegion",
3916
- "module": "src/anchored-region/anchored-region.ts"
3917
- }
3866
+ "kind": "method",
3867
+ "name": "toggleActionsMenuVisibility"
3868
+ },
3869
+ {
3870
+ "kind": "method",
3871
+ "name": "onActionMenuItemClick",
3872
+ "parameters": [
3873
+ {
3874
+ "name": "callback",
3875
+ "type": {
3876
+ "text": "(rowData) => void | any"
3877
+ }
3878
+ }
3879
+ ]
3918
3880
  },
3919
3881
  {
3920
3882
  "kind": "field",
3921
- "name": "startAutoUpdateEventListeners",
3922
- "privacy": "private",
3923
- "description": "starts event listeners that can trigger auto updating",
3924
- "inheritedFrom": {
3925
- "name": "AnchoredRegion",
3926
- "module": "src/anchored-region/anchored-region.ts"
3927
- }
3883
+ "name": "allActions",
3884
+ "type": {
3885
+ "text": "ActionMenuItem[]"
3886
+ },
3887
+ "readonly": true
3928
3888
  },
3929
3889
  {
3930
3890
  "kind": "field",
3931
- "name": "stopAutoUpdateEventListeners",
3932
- "privacy": "private",
3933
- "description": "stops event listeners that can trigger auto updating",
3934
- "inheritedFrom": {
3935
- "name": "AnchoredRegion",
3936
- "module": "src/anchored-region/anchored-region.ts"
3937
- }
3891
+ "name": "rowData",
3892
+ "readonly": true
3893
+ },
3894
+ {
3895
+ "kind": "method",
3896
+ "name": "getLabel",
3897
+ "parameters": [
3898
+ {
3899
+ "name": "name",
3900
+ "type": {
3901
+ "text": "string | ((rowData: any) => string)"
3902
+ }
3903
+ }
3904
+ ]
3905
+ },
3906
+ {
3907
+ "kind": "method",
3908
+ "name": "getTemplate",
3909
+ "parameters": [
3910
+ {
3911
+ "name": "prefix",
3912
+ "type": {
3913
+ "text": "string"
3914
+ }
3915
+ }
3916
+ ]
3938
3917
  },
3939
3918
  {
3940
3919
  "kind": "field",
@@ -4048,86 +4027,107 @@
4048
4027
  }
4049
4028
  }
4050
4029
  ],
4051
- "events": [
4030
+ "attributes": [
4052
4031
  {
4053
- "description": "Fires a custom 'loaded' event when the region is loaded and visible",
4054
- "name": "loaded",
4055
- "inheritedFrom": {
4056
- "name": "AnchoredRegion",
4057
- "module": "src/anchored-region/anchored-region.ts"
4058
- }
4032
+ "name": "is-vertical",
4033
+ "type": {
4034
+ "text": "boolean"
4035
+ },
4036
+ "default": "false",
4037
+ "fieldName": "isVertical"
4059
4038
  },
4060
4039
  {
4061
- "description": "Fires a custom 'positionchange' event when the position has changed",
4062
- "name": "positionchange",
4063
- "inheritedFrom": {
4064
- "name": "AnchoredRegion",
4065
- "module": "src/anchored-region/anchored-region.ts"
4066
- }
4040
+ "name": "add-default-actions",
4041
+ "type": {
4042
+ "text": "boolean"
4043
+ },
4044
+ "default": "true",
4045
+ "fieldName": "addDefaultActions"
4046
+ },
4047
+ {
4048
+ "name": "auto-close-on-action",
4049
+ "type": {
4050
+ "text": "boolean"
4051
+ },
4052
+ "default": "true",
4053
+ "fieldName": "autoCloseOnAction"
4054
+ },
4055
+ {
4056
+ "name": "name",
4057
+ "type": {
4058
+ "text": "string"
4059
+ },
4060
+ "default": "'Actions'",
4061
+ "fieldName": "name"
4062
+ },
4063
+ {
4064
+ "name": "open",
4065
+ "type": {
4066
+ "text": "boolean"
4067
+ },
4068
+ "default": "false",
4069
+ "fieldName": "open"
4070
+ },
4071
+ {
4072
+ "name": "buttonAppearance",
4073
+ "type": {
4074
+ "text": "string"
4075
+ },
4076
+ "fieldName": "buttonAppearance"
4077
+ },
4078
+ {
4079
+ "name": "hide-disabled",
4080
+ "type": {
4081
+ "text": "boolean"
4082
+ },
4083
+ "default": "false",
4084
+ "fieldName": "hideDisabled"
4085
+ },
4086
+ {
4087
+ "name": "hide-menu-single-option",
4088
+ "type": {
4089
+ "text": "boolean"
4090
+ },
4091
+ "default": "false",
4092
+ "fieldName": "hideMenuSingleOption"
4067
4093
  }
4068
- ]
4069
- },
4070
- {
4071
- "kind": "variable",
4072
- "name": "foundationAnchoredRegionShadowOptions",
4073
- "type": {
4074
- "text": "ShadowRootInit"
4075
- },
4076
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4077
- },
4078
- {
4079
- "kind": "variable",
4080
- "name": "defaultAnchoredRegionConfig",
4081
- "type": {
4082
- "text": "object"
4094
+ ],
4095
+ "superclass": {
4096
+ "name": "FoundationElement",
4097
+ "package": "@microsoft/fast-foundation"
4083
4098
  },
4084
- "default": "{}"
4099
+ "tagName": "%%prefix%%-actions-menu",
4100
+ "customElement": true
4085
4101
  },
4086
4102
  {
4087
4103
  "kind": "variable",
4088
- "name": "foundationAnchoredRegion",
4089
- "description": "The Foundation Anchored Region",
4104
+ "name": "foundationActionsMenu",
4105
+ "description": "The Foundation Actions Menu",
4090
4106
  "privacy": "public"
4091
4107
  }
4092
4108
  ],
4093
4109
  "exports": [
4094
4110
  {
4095
4111
  "kind": "js",
4096
- "name": "AnchoredRegion",
4097
- "declaration": {
4098
- "name": "AnchoredRegion",
4099
- "module": "src/anchored-region/anchored-region.ts"
4100
- }
4101
- },
4102
- {
4103
- "kind": "js",
4104
- "name": "foundationAnchoredRegionShadowOptions",
4105
- "declaration": {
4106
- "name": "foundationAnchoredRegionShadowOptions",
4107
- "module": "src/anchored-region/anchored-region.ts"
4108
- }
4109
- },
4110
- {
4111
- "kind": "js",
4112
- "name": "defaultAnchoredRegionConfig",
4112
+ "name": "ActionsMenu",
4113
4113
  "declaration": {
4114
- "name": "defaultAnchoredRegionConfig",
4115
- "module": "src/anchored-region/anchored-region.ts"
4114
+ "name": "ActionsMenu",
4115
+ "module": "src/actions-menu/actions-menu.ts"
4116
4116
  }
4117
4117
  },
4118
4118
  {
4119
4119
  "kind": "js",
4120
- "name": "foundationAnchoredRegion",
4120
+ "name": "foundationActionsMenu",
4121
4121
  "declaration": {
4122
- "name": "foundationAnchoredRegion",
4123
- "module": "src/anchored-region/anchored-region.ts"
4122
+ "name": "foundationActionsMenu",
4123
+ "module": "src/actions-menu/actions-menu.ts"
4124
4124
  }
4125
4125
  }
4126
4126
  ]
4127
4127
  },
4128
4128
  {
4129
4129
  "kind": "javascript-module",
4130
- "path": "src/anchored-region/index.ts",
4130
+ "path": "src/actions-menu/index.ts",
4131
4131
  "declarations": [],
4132
4132
  "exports": [
4133
4133
  {
@@ -4135,7 +4135,7 @@
4135
4135
  "name": "*",
4136
4136
  "declaration": {
4137
4137
  "name": "*",
4138
- "package": "./anchor-region.template"
4138
+ "package": "./actions-menu.styles"
4139
4139
  }
4140
4140
  },
4141
4141
  {
@@ -4143,7 +4143,7 @@
4143
4143
  "name": "*",
4144
4144
  "declaration": {
4145
4145
  "name": "*",
4146
- "package": "./anchored-region.styles"
4146
+ "package": "./actions-menu.template"
4147
4147
  }
4148
4148
  },
4149
4149
  {
@@ -4151,7 +4151,7 @@
4151
4151
  "name": "*",
4152
4152
  "declaration": {
4153
4153
  "name": "*",
4154
- "package": "./anchored-region"
4154
+ "package": "./actions-menu"
4155
4155
  }
4156
4156
  }
4157
4157
  ]