@genesislcap/foundation-ui 14.340.2 → 14.340.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.
@@ -1255,188 +1255,6 @@
1255
1255
  }
1256
1256
  ]
1257
1257
  },
1258
- {
1259
- "kind": "javascript-module",
1260
- "path": "src/accordion/accordion.styles.ts",
1261
- "declarations": [
1262
- {
1263
- "kind": "function",
1264
- "name": "foundationAccordionStyles",
1265
- "return": {
1266
- "type": {
1267
- "text": "ElementStyles"
1268
- }
1269
- },
1270
- "parameters": [
1271
- {
1272
- "name": "context",
1273
- "type": {
1274
- "text": "ElementDefinitionContext"
1275
- }
1276
- },
1277
- {
1278
- "name": "definition",
1279
- "type": {
1280
- "text": "FoundationElementDefinition"
1281
- }
1282
- }
1283
- ]
1284
- }
1285
- ],
1286
- "exports": [
1287
- {
1288
- "kind": "js",
1289
- "name": "foundationAccordionStyles",
1290
- "declaration": {
1291
- "name": "foundationAccordionStyles",
1292
- "module": "src/accordion/accordion.styles.ts"
1293
- }
1294
- }
1295
- ]
1296
- },
1297
- {
1298
- "kind": "javascript-module",
1299
- "path": "src/accordion/accordion.template.ts",
1300
- "declarations": [
1301
- {
1302
- "kind": "function",
1303
- "name": "foundationAccordionTemplate",
1304
- "return": {
1305
- "type": {
1306
- "text": "ViewTemplate<Accordion>"
1307
- }
1308
- },
1309
- "parameters": [
1310
- {
1311
- "name": "context",
1312
- "type": {
1313
- "text": "ElementDefinitionContext"
1314
- }
1315
- },
1316
- {
1317
- "name": "definition",
1318
- "type": {
1319
- "text": "FoundationElementDefinition"
1320
- }
1321
- }
1322
- ]
1323
- }
1324
- ],
1325
- "exports": [
1326
- {
1327
- "kind": "js",
1328
- "name": "foundationAccordionTemplate",
1329
- "declaration": {
1330
- "name": "foundationAccordionTemplate",
1331
- "module": "src/accordion/accordion.template.ts"
1332
- }
1333
- }
1334
- ]
1335
- },
1336
- {
1337
- "kind": "javascript-module",
1338
- "path": "src/accordion/accordion.ts",
1339
- "declarations": [
1340
- {
1341
- "kind": "class",
1342
- "description": "",
1343
- "name": "Accordion",
1344
- "superclass": {
1345
- "name": "FASTAccordion",
1346
- "package": "@microsoft/fast-foundation"
1347
- },
1348
- "tagName": "%%prefix%%-accordion",
1349
- "customElement": true
1350
- },
1351
- {
1352
- "kind": "variable",
1353
- "name": "foundationAccordionShadowOptions",
1354
- "type": {
1355
- "text": "ShadowRootInit"
1356
- },
1357
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1358
- },
1359
- {
1360
- "kind": "variable",
1361
- "name": "defaultAccordionConfig",
1362
- "type": {
1363
- "text": "object"
1364
- },
1365
- "default": "{}"
1366
- },
1367
- {
1368
- "kind": "variable",
1369
- "name": "foundationAccordion",
1370
- "description": "The Foundation Accordion",
1371
- "privacy": "public"
1372
- }
1373
- ],
1374
- "exports": [
1375
- {
1376
- "kind": "js",
1377
- "name": "Accordion",
1378
- "declaration": {
1379
- "name": "Accordion",
1380
- "module": "src/accordion/accordion.ts"
1381
- }
1382
- },
1383
- {
1384
- "kind": "js",
1385
- "name": "foundationAccordionShadowOptions",
1386
- "declaration": {
1387
- "name": "foundationAccordionShadowOptions",
1388
- "module": "src/accordion/accordion.ts"
1389
- }
1390
- },
1391
- {
1392
- "kind": "js",
1393
- "name": "defaultAccordionConfig",
1394
- "declaration": {
1395
- "name": "defaultAccordionConfig",
1396
- "module": "src/accordion/accordion.ts"
1397
- }
1398
- },
1399
- {
1400
- "kind": "js",
1401
- "name": "foundationAccordion",
1402
- "declaration": {
1403
- "name": "foundationAccordion",
1404
- "module": "src/accordion/accordion.ts"
1405
- }
1406
- }
1407
- ]
1408
- },
1409
- {
1410
- "kind": "javascript-module",
1411
- "path": "src/accordion/index.ts",
1412
- "declarations": [],
1413
- "exports": [
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./accordion.template"
1420
- }
1421
- },
1422
- {
1423
- "kind": "js",
1424
- "name": "*",
1425
- "declaration": {
1426
- "name": "*",
1427
- "package": "./accordion.styles"
1428
- }
1429
- },
1430
- {
1431
- "kind": "js",
1432
- "name": "*",
1433
- "declaration": {
1434
- "name": "*",
1435
- "package": "./accordion"
1436
- }
1437
- }
1438
- ]
1439
- },
1440
1258
  {
1441
1259
  "kind": "javascript-module",
1442
1260
  "path": "src/_config/index.ts",
@@ -1470,11 +1288,11 @@
1470
1288
  },
1471
1289
  {
1472
1290
  "kind": "javascript-module",
1473
- "path": "src/actions-menu/actions-menu.styles.ts",
1291
+ "path": "src/accordion-item/accordion-item.styles.ts",
1474
1292
  "declarations": [
1475
1293
  {
1476
1294
  "kind": "function",
1477
- "name": "actionsMenuBaseStyles",
1295
+ "name": "foundationAccordionItemStyles",
1478
1296
  "return": {
1479
1297
  "type": {
1480
1298
  "text": "ElementStyles"
@@ -1494,13 +1312,29 @@
1494
1312
  }
1495
1313
  }
1496
1314
  ]
1497
- },
1315
+ }
1316
+ ],
1317
+ "exports": [
1318
+ {
1319
+ "kind": "js",
1320
+ "name": "foundationAccordionItemStyles",
1321
+ "declaration": {
1322
+ "name": "foundationAccordionItemStyles",
1323
+ "module": "src/accordion-item/accordion-item.styles.ts"
1324
+ }
1325
+ }
1326
+ ]
1327
+ },
1328
+ {
1329
+ "kind": "javascript-module",
1330
+ "path": "src/accordion-item/accordion-item.template.ts",
1331
+ "declarations": [
1498
1332
  {
1499
1333
  "kind": "function",
1500
- "name": "foundationActionsMenuStyles",
1334
+ "name": "foundationAccordionItemTemplate",
1501
1335
  "return": {
1502
1336
  "type": {
1503
- "text": "ElementStyles"
1337
+ "text": "ViewTemplate<AccordionItem>"
1504
1338
  }
1505
1339
  },
1506
1340
  "parameters": [
@@ -1522,270 +1356,118 @@
1522
1356
  "exports": [
1523
1357
  {
1524
1358
  "kind": "js",
1525
- "name": "actionsMenuBaseStyles",
1526
- "declaration": {
1527
- "name": "actionsMenuBaseStyles",
1528
- "module": "src/actions-menu/actions-menu.styles.ts"
1529
- }
1530
- },
1531
- {
1532
- "kind": "js",
1533
- "name": "foundationActionsMenuStyles",
1359
+ "name": "foundationAccordionItemTemplate",
1534
1360
  "declaration": {
1535
- "name": "foundationActionsMenuStyles",
1536
- "module": "src/actions-menu/actions-menu.styles.ts"
1361
+ "name": "foundationAccordionItemTemplate",
1362
+ "module": "src/accordion-item/accordion-item.template.ts"
1537
1363
  }
1538
1364
  }
1539
1365
  ]
1540
1366
  },
1541
1367
  {
1542
1368
  "kind": "javascript-module",
1543
- "path": "src/actions-menu/actions-menu.template.ts",
1369
+ "path": "src/accordion-item/accordion-item.ts",
1544
1370
  "declarations": [
1545
1371
  {
1546
- "kind": "function",
1547
- "name": "menuTemplate",
1548
- "parameters": [
1372
+ "kind": "class",
1373
+ "description": "",
1374
+ "name": "AccordionItem",
1375
+ "superclass": {
1376
+ "name": "FASTAccordionItem",
1377
+ "package": "@microsoft/fast-components"
1378
+ },
1379
+ "tagName": "%%prefix%%-accordion-item",
1380
+ "customElement": true,
1381
+ "attributes": [
1549
1382
  {
1550
- "name": "prefix",
1383
+ "name": "heading-level",
1551
1384
  "type": {
1552
- "text": "string"
1385
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1386
+ },
1387
+ "default": "2",
1388
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1389
+ "fieldName": "headinglevel",
1390
+ "inheritedFrom": {
1391
+ "name": "AccordionItem",
1392
+ "module": "src/accordion-item/accordion-item.ts"
1553
1393
  }
1554
- }
1555
- ]
1556
- },
1557
- {
1558
- "kind": "function",
1559
- "name": "singleOptionTemplate",
1560
- "parameters": [
1394
+ },
1561
1395
  {
1562
- "name": "prefix",
1563
- "type": {
1564
- "text": "string"
1565
- }
1566
- }
1567
- ]
1568
- },
1569
- {
1570
- "kind": "variable",
1571
- "name": "foundationActionsMenuTemplate",
1572
- "type": {
1573
- "text": "ViewTemplate<ActionsMenu>"
1574
- },
1575
- "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`"
1576
- }
1577
- ],
1578
- "exports": [
1579
- {
1580
- "kind": "js",
1581
- "name": "menuTemplate",
1582
- "declaration": {
1583
- "name": "menuTemplate",
1584
- "module": "src/actions-menu/actions-menu.template.ts"
1585
- }
1586
- },
1587
- {
1588
- "kind": "js",
1589
- "name": "singleOptionTemplate",
1590
- "declaration": {
1591
- "name": "singleOptionTemplate",
1592
- "module": "src/actions-menu/actions-menu.template.ts"
1593
- }
1594
- },
1595
- {
1596
- "kind": "js",
1597
- "name": "foundationActionsMenuTemplate",
1598
- "declaration": {
1599
- "name": "foundationActionsMenuTemplate",
1600
- "module": "src/actions-menu/actions-menu.template.ts"
1601
- }
1602
- }
1603
- ]
1604
- },
1605
- {
1606
- "kind": "javascript-module",
1607
- "path": "src/actions-menu/actions-menu.ts",
1608
- "declarations": [
1609
- {
1610
- "kind": "class",
1611
- "description": "",
1612
- "name": "ActionsMenu",
1613
- "members": [
1614
- {
1615
- "kind": "field",
1616
- "name": "actions",
1617
- "type": {
1618
- "text": "ActionMenuItem[]"
1619
- }
1620
- },
1621
- {
1622
- "kind": "field",
1623
- "name": "isVertical",
1624
- "type": {
1625
- "text": "boolean"
1626
- },
1627
- "default": "false"
1628
- },
1629
- {
1630
- "kind": "field",
1631
- "name": "addDefaultActions",
1632
- "type": {
1633
- "text": "boolean"
1634
- },
1635
- "default": "true"
1636
- },
1637
- {
1638
- "kind": "field",
1639
- "name": "autoCloseOnAction",
1640
1396
  "type": {
1641
1397
  "text": "boolean"
1642
1398
  },
1643
- "default": "true"
1644
- },
1645
- {
1646
- "kind": "field",
1647
- "name": "classNames",
1648
- "type": {
1649
- "text": "string"
1650
- }
1651
- },
1652
- {
1653
- "kind": "field",
1654
- "name": "definition",
1655
- "type": {
1656
- "text": "any"
1399
+ "default": "false",
1400
+ "description": "Expands or collapses the item.",
1401
+ "fieldName": "expanded",
1402
+ "inheritedFrom": {
1403
+ "name": "AccordionItem",
1404
+ "module": "src/accordion-item/accordion-item.ts"
1657
1405
  }
1658
1406
  },
1659
1407
  {
1660
- "kind": "field",
1661
- "name": "name",
1408
+ "name": "id",
1662
1409
  "type": {
1663
1410
  "text": "string"
1664
1411
  },
1665
- "default": "'Actions'"
1666
- },
1412
+ "description": "The item ID",
1413
+ "fieldName": "id",
1414
+ "inheritedFrom": {
1415
+ "name": "AccordionItem",
1416
+ "module": "src/accordion-item/accordion-item.ts"
1417
+ }
1418
+ }
1419
+ ],
1420
+ "members": [
1667
1421
  {
1668
1422
  "kind": "field",
1669
- "name": "open",
1423
+ "name": "headinglevel",
1670
1424
  "type": {
1671
- "text": "boolean"
1425
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1672
1426
  },
1673
- "default": "false"
1674
- },
1675
- {
1676
- "kind": "field",
1677
- "name": "buttonAppearance",
1678
- "type": {
1679
- "text": "string"
1427
+ "privacy": "public",
1428
+ "default": "2",
1429
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1430
+ "inheritedFrom": {
1431
+ "name": "AccordionItem",
1432
+ "module": "src/accordion-item/accordion-item.ts"
1680
1433
  }
1681
1434
  },
1682
1435
  {
1683
1436
  "kind": "field",
1684
- "name": "hideDisabled",
1437
+ "name": "expanded",
1685
1438
  "type": {
1686
1439
  "text": "boolean"
1687
1440
  },
1688
- "default": "false"
1441
+ "privacy": "public",
1442
+ "default": "false",
1443
+ "description": "Expands or collapses the item.",
1444
+ "inheritedFrom": {
1445
+ "name": "AccordionItem",
1446
+ "module": "src/accordion-item/accordion-item.ts"
1447
+ }
1689
1448
  },
1690
1449
  {
1691
1450
  "kind": "field",
1692
- "name": "hideMenuSingleOption",
1451
+ "name": "id",
1693
1452
  "type": {
1694
- "text": "boolean"
1453
+ "text": "string"
1695
1454
  },
1696
- "default": "false"
1697
- },
1698
- {
1699
- "kind": "field",
1700
- "name": "singleOption",
1701
- "type": {
1702
- "text": "ActionMenuItem"
1455
+ "privacy": "public",
1456
+ "description": "The item ID",
1457
+ "inheritedFrom": {
1458
+ "name": "AccordionItem",
1459
+ "module": "src/accordion-item/accordion-item.ts"
1703
1460
  }
1704
1461
  },
1705
1462
  {
1706
1463
  "kind": "field",
1707
- "name": "actionsMenu",
1708
- "type": {
1709
- "text": "HTMLElement"
1464
+ "name": "change",
1465
+ "privacy": "private",
1466
+ "inheritedFrom": {
1467
+ "name": "AccordionItem",
1468
+ "module": "src/accordion-item/accordion-item.ts"
1710
1469
  }
1711
1470
  },
1712
- {
1713
- "kind": "method",
1714
- "name": "definitionChanged",
1715
- "privacy": "protected",
1716
- "parameters": [
1717
- {
1718
- "name": "oldValue",
1719
- "type": {
1720
- "text": "any"
1721
- }
1722
- },
1723
- {
1724
- "name": "newValue",
1725
- "type": {
1726
- "text": "any"
1727
- }
1728
- }
1729
- ]
1730
- },
1731
- {
1732
- "kind": "method",
1733
- "name": "openChanged",
1734
- "privacy": "protected"
1735
- },
1736
- {
1737
- "kind": "method",
1738
- "name": "toggleActionsMenuVisibility"
1739
- },
1740
- {
1741
- "kind": "method",
1742
- "name": "onActionMenuItemClick",
1743
- "parameters": [
1744
- {
1745
- "name": "callback",
1746
- "type": {
1747
- "text": "(rowData) => void | any"
1748
- }
1749
- }
1750
- ]
1751
- },
1752
- {
1753
- "kind": "field",
1754
- "name": "allActions",
1755
- "type": {
1756
- "text": "ActionMenuItem[]"
1757
- },
1758
- "readonly": true
1759
- },
1760
- {
1761
- "kind": "field",
1762
- "name": "rowData",
1763
- "readonly": true
1764
- },
1765
- {
1766
- "kind": "method",
1767
- "name": "getLabel",
1768
- "parameters": [
1769
- {
1770
- "name": "name",
1771
- "type": {
1772
- "text": "string | ((rowData: any) => string)"
1773
- }
1774
- }
1775
- ]
1776
- },
1777
- {
1778
- "kind": "method",
1779
- "name": "getTemplate",
1780
- "parameters": [
1781
- {
1782
- "name": "prefix",
1783
- "type": {
1784
- "text": "string"
1785
- }
1786
- }
1787
- ]
1788
- },
1789
1471
  {
1790
1472
  "kind": "field",
1791
1473
  "name": "_presentation",
@@ -1898,107 +1580,78 @@
1898
1580
  }
1899
1581
  }
1900
1582
  ],
1901
- "attributes": [
1902
- {
1903
- "name": "is-vertical",
1904
- "type": {
1905
- "text": "boolean"
1906
- },
1907
- "default": "false",
1908
- "fieldName": "isVertical"
1909
- },
1583
+ "events": [
1910
1584
  {
1911
- "name": "add-default-actions",
1912
- "type": {
1913
- "text": "boolean"
1914
- },
1915
- "default": "true",
1916
- "fieldName": "addDefaultActions"
1917
- },
1918
- {
1919
- "name": "auto-close-on-action",
1920
- "type": {
1921
- "text": "boolean"
1922
- },
1923
- "default": "true",
1924
- "fieldName": "autoCloseOnAction"
1925
- },
1926
- {
1927
- "name": "name",
1928
- "type": {
1929
- "text": "string"
1930
- },
1931
- "default": "'Actions'",
1932
- "fieldName": "name"
1933
- },
1934
- {
1935
- "name": "open",
1936
- "type": {
1937
- "text": "boolean"
1938
- },
1939
- "default": "false",
1940
- "fieldName": "open"
1941
- },
1942
- {
1943
- "name": "buttonAppearance",
1944
- "type": {
1945
- "text": "string"
1946
- },
1947
- "fieldName": "buttonAppearance"
1948
- },
1949
- {
1950
- "name": "hide-disabled",
1951
- "type": {
1952
- "text": "boolean"
1953
- },
1954
- "default": "false",
1955
- "fieldName": "hideDisabled"
1956
- },
1957
- {
1958
- "name": "hide-menu-single-option",
1959
- "type": {
1960
- "text": "boolean"
1961
- },
1962
- "default": "false",
1963
- "fieldName": "hideMenuSingleOption"
1585
+ "description": "Fires a custom 'change' event when the button is invoked",
1586
+ "name": "change",
1587
+ "inheritedFrom": {
1588
+ "name": "AccordionItem",
1589
+ "module": "src/accordion-item/accordion-item.ts"
1590
+ }
1964
1591
  }
1965
- ],
1966
- "superclass": {
1967
- "name": "FoundationElement",
1968
- "package": "@microsoft/fast-foundation"
1592
+ ]
1593
+ },
1594
+ {
1595
+ "kind": "variable",
1596
+ "name": "foundationAccordionItemShadowOptions",
1597
+ "type": {
1598
+ "text": "ShadowRootInit"
1969
1599
  },
1970
- "tagName": "%%prefix%%-actions-menu",
1971
- "customElement": true
1600
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1972
1601
  },
1973
1602
  {
1974
1603
  "kind": "variable",
1975
- "name": "foundationActionsMenu",
1976
- "description": "The Foundation Actions Menu",
1604
+ "name": "defaultAccordionItemConfig",
1605
+ "type": {
1606
+ "text": "object"
1607
+ },
1608
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1609
+ },
1610
+ {
1611
+ "kind": "variable",
1612
+ "name": "foundationAccordionItem",
1613
+ "description": "The Foundation Accordion Item",
1977
1614
  "privacy": "public"
1978
1615
  }
1979
1616
  ],
1980
1617
  "exports": [
1981
1618
  {
1982
1619
  "kind": "js",
1983
- "name": "ActionsMenu",
1620
+ "name": "AccordionItem",
1984
1621
  "declaration": {
1985
- "name": "ActionsMenu",
1986
- "module": "src/actions-menu/actions-menu.ts"
1622
+ "name": "AccordionItem",
1623
+ "module": "src/accordion-item/accordion-item.ts"
1987
1624
  }
1988
1625
  },
1989
1626
  {
1990
1627
  "kind": "js",
1991
- "name": "foundationActionsMenu",
1628
+ "name": "foundationAccordionItemShadowOptions",
1992
1629
  "declaration": {
1993
- "name": "foundationActionsMenu",
1994
- "module": "src/actions-menu/actions-menu.ts"
1630
+ "name": "foundationAccordionItemShadowOptions",
1631
+ "module": "src/accordion-item/accordion-item.ts"
1632
+ }
1633
+ },
1634
+ {
1635
+ "kind": "js",
1636
+ "name": "defaultAccordionItemConfig",
1637
+ "declaration": {
1638
+ "name": "defaultAccordionItemConfig",
1639
+ "module": "src/accordion-item/accordion-item.ts"
1640
+ }
1641
+ },
1642
+ {
1643
+ "kind": "js",
1644
+ "name": "foundationAccordionItem",
1645
+ "declaration": {
1646
+ "name": "foundationAccordionItem",
1647
+ "module": "src/accordion-item/accordion-item.ts"
1995
1648
  }
1996
1649
  }
1997
1650
  ]
1998
1651
  },
1999
1652
  {
2000
1653
  "kind": "javascript-module",
2001
- "path": "src/actions-menu/index.ts",
1654
+ "path": "src/accordion-item/index.ts",
2002
1655
  "declarations": [],
2003
1656
  "exports": [
2004
1657
  {
@@ -2006,7 +1659,7 @@
2006
1659
  "name": "*",
2007
1660
  "declaration": {
2008
1661
  "name": "*",
2009
- "package": "./actions-menu.styles"
1662
+ "package": "./accordion-item.template"
2010
1663
  }
2011
1664
  },
2012
1665
  {
@@ -2014,7 +1667,7 @@
2014
1667
  "name": "*",
2015
1668
  "declaration": {
2016
1669
  "name": "*",
2017
- "package": "./actions-menu.template"
1670
+ "package": "./accordion-item.styles"
2018
1671
  }
2019
1672
  },
2020
1673
  {
@@ -2022,18 +1675,41 @@
2022
1675
  "name": "*",
2023
1676
  "declaration": {
2024
1677
  "name": "*",
2025
- "package": "./actions-menu"
1678
+ "package": "./accordion-item"
2026
1679
  }
2027
1680
  }
2028
1681
  ]
2029
1682
  },
2030
1683
  {
2031
1684
  "kind": "javascript-module",
2032
- "path": "src/anchor/anchor.styles.ts",
1685
+ "path": "src/actions-menu/actions-menu.styles.ts",
2033
1686
  "declarations": [
2034
1687
  {
2035
1688
  "kind": "function",
2036
- "name": "foundationAnchorStyles",
1689
+ "name": "actionsMenuBaseStyles",
1690
+ "return": {
1691
+ "type": {
1692
+ "text": "ElementStyles"
1693
+ }
1694
+ },
1695
+ "parameters": [
1696
+ {
1697
+ "name": "context",
1698
+ "type": {
1699
+ "text": "ElementDefinitionContext"
1700
+ }
1701
+ },
1702
+ {
1703
+ "name": "definition",
1704
+ "type": {
1705
+ "text": "FoundationElementDefinition"
1706
+ }
1707
+ }
1708
+ ]
1709
+ },
1710
+ {
1711
+ "kind": "function",
1712
+ "name": "foundationActionsMenuStyles",
2037
1713
  "return": {
2038
1714
  "type": {
2039
1715
  "text": "ElementStyles"
@@ -2058,292 +1734,269 @@
2058
1734
  "exports": [
2059
1735
  {
2060
1736
  "kind": "js",
2061
- "name": "foundationAnchorStyles",
1737
+ "name": "actionsMenuBaseStyles",
2062
1738
  "declaration": {
2063
- "name": "foundationAnchorStyles",
2064
- "module": "src/anchor/anchor.styles.ts"
1739
+ "name": "actionsMenuBaseStyles",
1740
+ "module": "src/actions-menu/actions-menu.styles.ts"
1741
+ }
1742
+ },
1743
+ {
1744
+ "kind": "js",
1745
+ "name": "foundationActionsMenuStyles",
1746
+ "declaration": {
1747
+ "name": "foundationActionsMenuStyles",
1748
+ "module": "src/actions-menu/actions-menu.styles.ts"
2065
1749
  }
2066
1750
  }
2067
1751
  ]
2068
1752
  },
2069
1753
  {
2070
1754
  "kind": "javascript-module",
2071
- "path": "src/anchor/anchor.template.ts",
1755
+ "path": "src/actions-menu/actions-menu.template.ts",
2072
1756
  "declarations": [
2073
1757
  {
2074
1758
  "kind": "function",
2075
- "name": "foundationAnchorTemplate",
2076
- "return": {
2077
- "type": {
2078
- "text": "ViewTemplate<Anchor>"
2079
- }
2080
- },
1759
+ "name": "menuTemplate",
2081
1760
  "parameters": [
2082
1761
  {
2083
- "name": "context",
1762
+ "name": "prefix",
2084
1763
  "type": {
2085
- "text": "ElementDefinitionContext"
1764
+ "text": "string"
2086
1765
  }
2087
- },
1766
+ }
1767
+ ]
1768
+ },
1769
+ {
1770
+ "kind": "function",
1771
+ "name": "singleOptionTemplate",
1772
+ "parameters": [
2088
1773
  {
2089
- "name": "definition",
1774
+ "name": "prefix",
2090
1775
  "type": {
2091
- "text": "FoundationElementDefinition"
1776
+ "text": "string"
2092
1777
  }
2093
1778
  }
2094
1779
  ]
1780
+ },
1781
+ {
1782
+ "kind": "variable",
1783
+ "name": "foundationActionsMenuTemplate",
1784
+ "type": {
1785
+ "text": "ViewTemplate<ActionsMenu>"
1786
+ },
1787
+ "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`"
2095
1788
  }
2096
1789
  ],
2097
1790
  "exports": [
2098
1791
  {
2099
1792
  "kind": "js",
2100
- "name": "foundationAnchorTemplate",
1793
+ "name": "menuTemplate",
2101
1794
  "declaration": {
2102
- "name": "foundationAnchorTemplate",
2103
- "module": "src/anchor/anchor.template.ts"
1795
+ "name": "menuTemplate",
1796
+ "module": "src/actions-menu/actions-menu.template.ts"
1797
+ }
1798
+ },
1799
+ {
1800
+ "kind": "js",
1801
+ "name": "singleOptionTemplate",
1802
+ "declaration": {
1803
+ "name": "singleOptionTemplate",
1804
+ "module": "src/actions-menu/actions-menu.template.ts"
1805
+ }
1806
+ },
1807
+ {
1808
+ "kind": "js",
1809
+ "name": "foundationActionsMenuTemplate",
1810
+ "declaration": {
1811
+ "name": "foundationActionsMenuTemplate",
1812
+ "module": "src/actions-menu/actions-menu.template.ts"
2104
1813
  }
2105
1814
  }
2106
1815
  ]
2107
1816
  },
2108
1817
  {
2109
1818
  "kind": "javascript-module",
2110
- "path": "src/anchor/anchor.ts",
1819
+ "path": "src/actions-menu/actions-menu.ts",
2111
1820
  "declarations": [
2112
1821
  {
2113
1822
  "kind": "class",
2114
1823
  "description": "",
2115
- "name": "Anchor",
2116
- "superclass": {
2117
- "name": "FASTAnchor",
2118
- "package": "@microsoft/fast-components"
2119
- },
2120
- "tagName": "%%prefix%%-anchor",
2121
- "customElement": true,
2122
- "attributes": [
1824
+ "name": "ActionsMenu",
1825
+ "members": [
2123
1826
  {
2124
- "name": "download",
1827
+ "kind": "field",
1828
+ "name": "actions",
2125
1829
  "type": {
2126
- "text": "string"
2127
- },
2128
- "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2129
- "fieldName": "download",
2130
- "inheritedFrom": {
2131
- "name": "Anchor",
2132
- "module": "src/anchor/anchor.ts"
1830
+ "text": "ActionMenuItem[]"
2133
1831
  }
2134
1832
  },
2135
1833
  {
2136
- "name": "href",
1834
+ "kind": "field",
1835
+ "name": "isVertical",
2137
1836
  "type": {
2138
- "text": "string"
1837
+ "text": "boolean"
2139
1838
  },
2140
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2141
- "fieldName": "href",
2142
- "inheritedFrom": {
2143
- "name": "Anchor",
2144
- "module": "src/anchor/anchor.ts"
2145
- }
1839
+ "default": "false"
2146
1840
  },
2147
1841
  {
2148
- "name": "hreflang",
1842
+ "kind": "field",
1843
+ "name": "addDefaultActions",
2149
1844
  "type": {
2150
- "text": "string"
1845
+ "text": "boolean"
2151
1846
  },
2152
- "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2153
- "fieldName": "hreflang",
2154
- "inheritedFrom": {
2155
- "name": "Anchor",
2156
- "module": "src/anchor/anchor.ts"
2157
- }
2158
- },
2159
- {
2160
- "name": "ping",
2161
- "type": {
2162
- "text": "string"
2163
- },
2164
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2165
- "fieldName": "ping",
2166
- "inheritedFrom": {
2167
- "name": "Anchor",
2168
- "module": "src/anchor/anchor.ts"
2169
- }
1847
+ "default": "true"
2170
1848
  },
2171
1849
  {
2172
- "name": "referrerpolicy",
1850
+ "kind": "field",
1851
+ "name": "autoCloseOnAction",
2173
1852
  "type": {
2174
- "text": "string"
1853
+ "text": "boolean"
2175
1854
  },
2176
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2177
- "fieldName": "referrerpolicy",
2178
- "inheritedFrom": {
2179
- "name": "Anchor",
2180
- "module": "src/anchor/anchor.ts"
2181
- }
1855
+ "default": "true"
2182
1856
  },
2183
1857
  {
2184
- "name": "rel",
1858
+ "kind": "field",
1859
+ "name": "classNames",
2185
1860
  "type": {
2186
1861
  "text": "string"
2187
- },
2188
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2189
- "fieldName": "rel",
2190
- "inheritedFrom": {
2191
- "name": "Anchor",
2192
- "module": "src/anchor/anchor.ts"
2193
1862
  }
2194
1863
  },
2195
1864
  {
2196
- "name": "target",
1865
+ "kind": "field",
1866
+ "name": "definition",
2197
1867
  "type": {
2198
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2199
- },
2200
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2201
- "fieldName": "target",
2202
- "inheritedFrom": {
2203
- "name": "Anchor",
2204
- "module": "src/anchor/anchor.ts"
1868
+ "text": "any"
2205
1869
  }
2206
1870
  },
2207
- {
2208
- "name": "type",
2209
- "type": {
2210
- "text": "string"
2211
- },
2212
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2213
- "fieldName": "type",
2214
- "inheritedFrom": {
2215
- "name": "Anchor",
2216
- "module": "src/anchor/anchor.ts"
2217
- }
2218
- }
2219
- ],
2220
- "members": [
2221
1871
  {
2222
1872
  "kind": "field",
2223
- "name": "download",
1873
+ "name": "name",
2224
1874
  "type": {
2225
1875
  "text": "string"
2226
1876
  },
2227
- "privacy": "public",
2228
- "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2229
- "inheritedFrom": {
2230
- "name": "Anchor",
2231
- "module": "src/anchor/anchor.ts"
2232
- }
1877
+ "default": "'Actions'"
2233
1878
  },
2234
1879
  {
2235
1880
  "kind": "field",
2236
- "name": "href",
1881
+ "name": "open",
2237
1882
  "type": {
2238
- "text": "string"
1883
+ "text": "boolean"
2239
1884
  },
2240
- "privacy": "public",
2241
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2242
- "inheritedFrom": {
2243
- "name": "Anchor",
2244
- "module": "src/anchor/anchor.ts"
2245
- }
1885
+ "default": "false"
2246
1886
  },
2247
1887
  {
2248
1888
  "kind": "field",
2249
- "name": "hreflang",
1889
+ "name": "buttonAppearance",
2250
1890
  "type": {
2251
1891
  "text": "string"
2252
- },
2253
- "privacy": "public",
2254
- "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2255
- "inheritedFrom": {
2256
- "name": "Anchor",
2257
- "module": "src/anchor/anchor.ts"
2258
1892
  }
2259
1893
  },
2260
1894
  {
2261
1895
  "kind": "field",
2262
- "name": "ping",
1896
+ "name": "hideDisabled",
2263
1897
  "type": {
2264
- "text": "string"
1898
+ "text": "boolean"
2265
1899
  },
2266
- "privacy": "public",
2267
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2268
- "inheritedFrom": {
2269
- "name": "Anchor",
2270
- "module": "src/anchor/anchor.ts"
2271
- }
1900
+ "default": "false"
2272
1901
  },
2273
1902
  {
2274
1903
  "kind": "field",
2275
- "name": "referrerpolicy",
1904
+ "name": "hideMenuSingleOption",
2276
1905
  "type": {
2277
- "text": "string"
1906
+ "text": "boolean"
2278
1907
  },
2279
- "privacy": "public",
2280
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2281
- "inheritedFrom": {
2282
- "name": "Anchor",
2283
- "module": "src/anchor/anchor.ts"
2284
- }
1908
+ "default": "false"
2285
1909
  },
2286
1910
  {
2287
1911
  "kind": "field",
2288
- "name": "rel",
1912
+ "name": "singleOption",
2289
1913
  "type": {
2290
- "text": "string"
2291
- },
2292
- "privacy": "public",
2293
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2294
- "inheritedFrom": {
2295
- "name": "Anchor",
2296
- "module": "src/anchor/anchor.ts"
1914
+ "text": "ActionMenuItem"
2297
1915
  }
2298
1916
  },
2299
1917
  {
2300
1918
  "kind": "field",
2301
- "name": "target",
1919
+ "name": "actionsMenu",
2302
1920
  "type": {
2303
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2304
- },
2305
- "privacy": "public",
2306
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2307
- "inheritedFrom": {
2308
- "name": "Anchor",
2309
- "module": "src/anchor/anchor.ts"
1921
+ "text": "HTMLElement"
2310
1922
  }
2311
1923
  },
2312
1924
  {
2313
- "kind": "field",
2314
- "name": "type",
2315
- "type": {
2316
- "text": "string"
2317
- },
2318
- "privacy": "public",
2319
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2320
- "inheritedFrom": {
2321
- "name": "Anchor",
2322
- "module": "src/anchor/anchor.ts"
2323
- }
1925
+ "kind": "method",
1926
+ "name": "definitionChanged",
1927
+ "privacy": "protected",
1928
+ "parameters": [
1929
+ {
1930
+ "name": "oldValue",
1931
+ "type": {
1932
+ "text": "any"
1933
+ }
1934
+ },
1935
+ {
1936
+ "name": "newValue",
1937
+ "type": {
1938
+ "text": "any"
1939
+ }
1940
+ }
1941
+ ]
1942
+ },
1943
+ {
1944
+ "kind": "method",
1945
+ "name": "openChanged",
1946
+ "privacy": "protected"
1947
+ },
1948
+ {
1949
+ "kind": "method",
1950
+ "name": "toggleActionsMenuVisibility"
1951
+ },
1952
+ {
1953
+ "kind": "method",
1954
+ "name": "onActionMenuItemClick",
1955
+ "parameters": [
1956
+ {
1957
+ "name": "callback",
1958
+ "type": {
1959
+ "text": "(rowData) => void | any"
1960
+ }
1961
+ }
1962
+ ]
2324
1963
  },
2325
1964
  {
2326
1965
  "kind": "field",
2327
- "name": "control",
1966
+ "name": "allActions",
2328
1967
  "type": {
2329
- "text": "HTMLAnchorElement | undefined"
1968
+ "text": "ActionMenuItem[]"
2330
1969
  },
2331
- "privacy": "public",
2332
- "description": "References the root element",
2333
- "inheritedFrom": {
2334
- "name": "Anchor",
2335
- "module": "src/anchor/anchor.ts"
2336
- }
1970
+ "readonly": true
2337
1971
  },
2338
1972
  {
2339
1973
  "kind": "field",
2340
- "name": "handleUnsupportedDelegatesFocus",
2341
- "privacy": "private",
2342
- "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
2343
- "inheritedFrom": {
2344
- "name": "Anchor",
2345
- "module": "src/anchor/anchor.ts"
2346
- }
1974
+ "name": "rowData",
1975
+ "readonly": true
1976
+ },
1977
+ {
1978
+ "kind": "method",
1979
+ "name": "getLabel",
1980
+ "parameters": [
1981
+ {
1982
+ "name": "name",
1983
+ "type": {
1984
+ "text": "string | ((rowData: any) => string)"
1985
+ }
1986
+ }
1987
+ ]
1988
+ },
1989
+ {
1990
+ "kind": "method",
1991
+ "name": "getTemplate",
1992
+ "parameters": [
1993
+ {
1994
+ "name": "prefix",
1995
+ "type": {
1996
+ "text": "string"
1997
+ }
1998
+ }
1999
+ ]
2347
2000
  },
2348
2001
  {
2349
2002
  "kind": "field",
@@ -2456,69 +2109,108 @@
2456
2109
  "module": "src/foundation-element/foundation-element.ts"
2457
2110
  }
2458
2111
  }
2459
- ]
2460
- },
2461
- {
2462
- "kind": "variable",
2463
- "name": "foundationAnchorShadowOptions",
2464
- "type": {
2465
- "text": "ShadowRootInit"
2466
- },
2467
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2468
- },
2469
- {
2470
- "kind": "variable",
2471
- "name": "defaultAnchorConfig",
2472
- "type": {
2473
- "text": "object"
2474
- },
2475
- "default": "{}"
2476
- },
2477
- {
2478
- "kind": "variable",
2479
- "name": "foundationAnchor",
2480
- "description": "The Foundation Anchor",
2481
- "privacy": "public"
2482
- }
2483
- ],
2484
- "exports": [
2485
- {
2486
- "kind": "js",
2487
- "name": "Anchor",
2488
- "declaration": {
2489
- "name": "Anchor",
2490
- "module": "src/anchor/anchor.ts"
2491
- }
2112
+ ],
2113
+ "attributes": [
2114
+ {
2115
+ "name": "is-vertical",
2116
+ "type": {
2117
+ "text": "boolean"
2118
+ },
2119
+ "default": "false",
2120
+ "fieldName": "isVertical"
2121
+ },
2122
+ {
2123
+ "name": "add-default-actions",
2124
+ "type": {
2125
+ "text": "boolean"
2126
+ },
2127
+ "default": "true",
2128
+ "fieldName": "addDefaultActions"
2129
+ },
2130
+ {
2131
+ "name": "auto-close-on-action",
2132
+ "type": {
2133
+ "text": "boolean"
2134
+ },
2135
+ "default": "true",
2136
+ "fieldName": "autoCloseOnAction"
2137
+ },
2138
+ {
2139
+ "name": "name",
2140
+ "type": {
2141
+ "text": "string"
2142
+ },
2143
+ "default": "'Actions'",
2144
+ "fieldName": "name"
2145
+ },
2146
+ {
2147
+ "name": "open",
2148
+ "type": {
2149
+ "text": "boolean"
2150
+ },
2151
+ "default": "false",
2152
+ "fieldName": "open"
2153
+ },
2154
+ {
2155
+ "name": "buttonAppearance",
2156
+ "type": {
2157
+ "text": "string"
2158
+ },
2159
+ "fieldName": "buttonAppearance"
2160
+ },
2161
+ {
2162
+ "name": "hide-disabled",
2163
+ "type": {
2164
+ "text": "boolean"
2165
+ },
2166
+ "default": "false",
2167
+ "fieldName": "hideDisabled"
2168
+ },
2169
+ {
2170
+ "name": "hide-menu-single-option",
2171
+ "type": {
2172
+ "text": "boolean"
2173
+ },
2174
+ "default": "false",
2175
+ "fieldName": "hideMenuSingleOption"
2176
+ }
2177
+ ],
2178
+ "superclass": {
2179
+ "name": "FoundationElement",
2180
+ "package": "@microsoft/fast-foundation"
2181
+ },
2182
+ "tagName": "%%prefix%%-actions-menu",
2183
+ "customElement": true
2492
2184
  },
2493
2185
  {
2494
- "kind": "js",
2495
- "name": "foundationAnchorShadowOptions",
2496
- "declaration": {
2497
- "name": "foundationAnchorShadowOptions",
2498
- "module": "src/anchor/anchor.ts"
2499
- }
2500
- },
2186
+ "kind": "variable",
2187
+ "name": "foundationActionsMenu",
2188
+ "description": "The Foundation Actions Menu",
2189
+ "privacy": "public"
2190
+ }
2191
+ ],
2192
+ "exports": [
2501
2193
  {
2502
2194
  "kind": "js",
2503
- "name": "defaultAnchorConfig",
2195
+ "name": "ActionsMenu",
2504
2196
  "declaration": {
2505
- "name": "defaultAnchorConfig",
2506
- "module": "src/anchor/anchor.ts"
2197
+ "name": "ActionsMenu",
2198
+ "module": "src/actions-menu/actions-menu.ts"
2507
2199
  }
2508
2200
  },
2509
2201
  {
2510
2202
  "kind": "js",
2511
- "name": "foundationAnchor",
2203
+ "name": "foundationActionsMenu",
2512
2204
  "declaration": {
2513
- "name": "foundationAnchor",
2514
- "module": "src/anchor/anchor.ts"
2205
+ "name": "foundationActionsMenu",
2206
+ "module": "src/actions-menu/actions-menu.ts"
2515
2207
  }
2516
2208
  }
2517
2209
  ]
2518
2210
  },
2519
2211
  {
2520
2212
  "kind": "javascript-module",
2521
- "path": "src/anchor/index.ts",
2213
+ "path": "src/actions-menu/index.ts",
2522
2214
  "declarations": [],
2523
2215
  "exports": [
2524
2216
  {
@@ -2526,7 +2218,7 @@
2526
2218
  "name": "*",
2527
2219
  "declaration": {
2528
2220
  "name": "*",
2529
- "package": "./anchor.template"
2221
+ "package": "./actions-menu.styles"
2530
2222
  }
2531
2223
  },
2532
2224
  {
@@ -2534,7 +2226,7 @@
2534
2226
  "name": "*",
2535
2227
  "declaration": {
2536
2228
  "name": "*",
2537
- "package": "./anchor.styles"
2229
+ "package": "./actions-menu.template"
2538
2230
  }
2539
2231
  },
2540
2232
  {
@@ -2542,21 +2234,21 @@
2542
2234
  "name": "*",
2543
2235
  "declaration": {
2544
2236
  "name": "*",
2545
- "package": "./anchor"
2237
+ "package": "./actions-menu"
2546
2238
  }
2547
2239
  }
2548
2240
  ]
2549
2241
  },
2550
2242
  {
2551
2243
  "kind": "javascript-module",
2552
- "path": "src/anchored-region/anchor-region.template.ts",
2244
+ "path": "src/anchor/anchor.styles.ts",
2553
2245
  "declarations": [
2554
2246
  {
2555
2247
  "kind": "function",
2556
- "name": "foundationAnchoredRegionTemplate",
2248
+ "name": "foundationAnchorStyles",
2557
2249
  "return": {
2558
2250
  "type": {
2559
- "text": "ViewTemplate<AnchoredRegion>"
2251
+ "text": "ElementStyles"
2560
2252
  }
2561
2253
  },
2562
2254
  "parameters": [
@@ -2578,24 +2270,24 @@
2578
2270
  "exports": [
2579
2271
  {
2580
2272
  "kind": "js",
2581
- "name": "foundationAnchoredRegionTemplate",
2273
+ "name": "foundationAnchorStyles",
2582
2274
  "declaration": {
2583
- "name": "foundationAnchoredRegionTemplate",
2584
- "module": "src/anchored-region/anchor-region.template.ts"
2275
+ "name": "foundationAnchorStyles",
2276
+ "module": "src/anchor/anchor.styles.ts"
2585
2277
  }
2586
2278
  }
2587
2279
  ]
2588
2280
  },
2589
2281
  {
2590
2282
  "kind": "javascript-module",
2591
- "path": "src/anchored-region/anchored-region.styles.ts",
2283
+ "path": "src/anchor/anchor.template.ts",
2592
2284
  "declarations": [
2593
2285
  {
2594
2286
  "kind": "function",
2595
- "name": "foundationAnchoredRegionStyles",
2287
+ "name": "foundationAnchorTemplate",
2596
2288
  "return": {
2597
2289
  "type": {
2598
- "text": "ElementStyles"
2290
+ "text": "ViewTemplate<Anchor>"
2599
2291
  }
2600
2292
  },
2601
2293
  "parameters": [
@@ -2617,430 +2309,1132 @@
2617
2309
  "exports": [
2618
2310
  {
2619
2311
  "kind": "js",
2620
- "name": "foundationAnchoredRegionStyles",
2312
+ "name": "foundationAnchorTemplate",
2621
2313
  "declaration": {
2622
- "name": "foundationAnchoredRegionStyles",
2623
- "module": "src/anchored-region/anchored-region.styles.ts"
2314
+ "name": "foundationAnchorTemplate",
2315
+ "module": "src/anchor/anchor.template.ts"
2624
2316
  }
2625
2317
  }
2626
2318
  ]
2627
2319
  },
2628
2320
  {
2629
2321
  "kind": "javascript-module",
2630
- "path": "src/anchored-region/anchored-region.ts",
2322
+ "path": "src/anchor/anchor.ts",
2631
2323
  "declarations": [
2632
2324
  {
2633
2325
  "kind": "class",
2634
2326
  "description": "",
2635
- "name": "AnchoredRegion",
2327
+ "name": "Anchor",
2636
2328
  "superclass": {
2637
- "name": "FASTAnchoredRegion",
2329
+ "name": "FASTAnchor",
2638
2330
  "package": "@microsoft/fast-components"
2639
2331
  },
2640
- "tagName": "%%prefix%%-anchored-region",
2332
+ "tagName": "%%prefix%%-anchor",
2641
2333
  "customElement": true,
2642
2334
  "attributes": [
2643
2335
  {
2644
- "name": "anchor",
2336
+ "name": "download",
2645
2337
  "type": {
2646
2338
  "text": "string"
2647
2339
  },
2648
- "default": "\"\"",
2649
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2650
- "fieldName": "anchor",
2340
+ "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2341
+ "fieldName": "download",
2651
2342
  "inheritedFrom": {
2652
- "name": "AnchoredRegion",
2653
- "module": "src/anchored-region/anchored-region.ts"
2343
+ "name": "Anchor",
2344
+ "module": "src/anchor/anchor.ts"
2654
2345
  }
2655
2346
  },
2656
2347
  {
2657
- "name": "viewport",
2348
+ "name": "href",
2658
2349
  "type": {
2659
2350
  "text": "string"
2660
2351
  },
2661
- "default": "\"\"",
2662
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2663
- "fieldName": "viewport",
2352
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2353
+ "fieldName": "href",
2664
2354
  "inheritedFrom": {
2665
- "name": "AnchoredRegion",
2666
- "module": "src/anchored-region/anchored-region.ts"
2355
+ "name": "Anchor",
2356
+ "module": "src/anchor/anchor.ts"
2667
2357
  }
2668
2358
  },
2669
2359
  {
2670
- "name": "horizontal-positioning-mode",
2360
+ "name": "hreflang",
2671
2361
  "type": {
2672
- "text": "AxisPositioningMode"
2362
+ "text": "string"
2673
2363
  },
2674
- "default": "\"uncontrolled\"",
2675
- "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",
2676
- "fieldName": "horizontalPositioningMode",
2364
+ "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2365
+ "fieldName": "hreflang",
2677
2366
  "inheritedFrom": {
2678
- "name": "AnchoredRegion",
2679
- "module": "src/anchored-region/anchored-region.ts"
2367
+ "name": "Anchor",
2368
+ "module": "src/anchor/anchor.ts"
2680
2369
  }
2681
2370
  },
2682
2371
  {
2683
- "name": "horizontal-default-position",
2372
+ "name": "ping",
2684
2373
  "type": {
2685
- "text": "HorizontalPosition"
2374
+ "text": "string"
2686
2375
  },
2687
- "default": "\"unset\"",
2688
- "description": "The default horizontal position of the region relative to the anchor element",
2689
- "fieldName": "horizontalDefaultPosition",
2376
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2377
+ "fieldName": "ping",
2690
2378
  "inheritedFrom": {
2691
- "name": "AnchoredRegion",
2692
- "module": "src/anchored-region/anchored-region.ts"
2379
+ "name": "Anchor",
2380
+ "module": "src/anchor/anchor.ts"
2693
2381
  }
2694
2382
  },
2695
2383
  {
2696
- "name": "horizontal-viewport-lock",
2384
+ "name": "referrerpolicy",
2697
2385
  "type": {
2698
- "text": "boolean"
2386
+ "text": "string"
2699
2387
  },
2700
- "default": "false",
2701
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2702
- "fieldName": "horizontalViewportLock",
2388
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2389
+ "fieldName": "referrerpolicy",
2703
2390
  "inheritedFrom": {
2704
- "name": "AnchoredRegion",
2705
- "module": "src/anchored-region/anchored-region.ts"
2391
+ "name": "Anchor",
2392
+ "module": "src/anchor/anchor.ts"
2706
2393
  }
2707
2394
  },
2708
2395
  {
2709
- "name": "horizontal-inset",
2396
+ "name": "rel",
2710
2397
  "type": {
2711
- "text": "boolean"
2398
+ "text": "string"
2712
2399
  },
2713
- "default": "false",
2714
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2715
- "fieldName": "horizontalInset",
2400
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2401
+ "fieldName": "rel",
2716
2402
  "inheritedFrom": {
2717
- "name": "AnchoredRegion",
2718
- "module": "src/anchored-region/anchored-region.ts"
2403
+ "name": "Anchor",
2404
+ "module": "src/anchor/anchor.ts"
2719
2405
  }
2720
2406
  },
2721
2407
  {
2722
- "name": "horizontal-threshold",
2408
+ "name": "target",
2723
2409
  "type": {
2724
- "text": "number"
2410
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2725
2411
  },
2726
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2727
- "fieldName": "horizontalThreshold",
2412
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2413
+ "fieldName": "target",
2728
2414
  "inheritedFrom": {
2729
- "name": "AnchoredRegion",
2730
- "module": "src/anchored-region/anchored-region.ts"
2415
+ "name": "Anchor",
2416
+ "module": "src/anchor/anchor.ts"
2731
2417
  }
2732
2418
  },
2733
2419
  {
2734
- "name": "horizontal-scaling",
2420
+ "name": "type",
2735
2421
  "type": {
2736
- "text": "AxisScalingMode"
2422
+ "text": "string"
2737
2423
  },
2738
- "default": "\"content\"",
2739
- "description": "Defines how the width of the region is calculated",
2740
- "fieldName": "horizontalScaling",
2424
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2425
+ "fieldName": "type",
2741
2426
  "inheritedFrom": {
2742
- "name": "AnchoredRegion",
2743
- "module": "src/anchored-region/anchored-region.ts"
2427
+ "name": "Anchor",
2428
+ "module": "src/anchor/anchor.ts"
2744
2429
  }
2745
- },
2430
+ }
2431
+ ],
2432
+ "members": [
2746
2433
  {
2747
- "name": "vertical-positioning-mode",
2434
+ "kind": "field",
2435
+ "name": "download",
2748
2436
  "type": {
2749
- "text": "AxisPositioningMode"
2437
+ "text": "string"
2750
2438
  },
2751
- "default": "\"uncontrolled\"",
2752
- "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",
2753
- "fieldName": "verticalPositioningMode",
2439
+ "privacy": "public",
2440
+ "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2754
2441
  "inheritedFrom": {
2755
- "name": "AnchoredRegion",
2756
- "module": "src/anchored-region/anchored-region.ts"
2442
+ "name": "Anchor",
2443
+ "module": "src/anchor/anchor.ts"
2757
2444
  }
2758
2445
  },
2759
2446
  {
2760
- "name": "vertical-default-position",
2447
+ "kind": "field",
2448
+ "name": "href",
2761
2449
  "type": {
2762
- "text": "VerticalPosition"
2450
+ "text": "string"
2763
2451
  },
2764
- "default": "\"unset\"",
2765
- "description": "The default vertical position of the region relative to the anchor element",
2766
- "fieldName": "verticalDefaultPosition",
2452
+ "privacy": "public",
2453
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2767
2454
  "inheritedFrom": {
2768
- "name": "AnchoredRegion",
2769
- "module": "src/anchored-region/anchored-region.ts"
2455
+ "name": "Anchor",
2456
+ "module": "src/anchor/anchor.ts"
2770
2457
  }
2771
2458
  },
2772
2459
  {
2773
- "name": "vertical-viewport-lock",
2460
+ "kind": "field",
2461
+ "name": "hreflang",
2774
2462
  "type": {
2775
- "text": "boolean"
2463
+ "text": "string"
2776
2464
  },
2777
- "default": "false",
2778
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2779
- "fieldName": "verticalViewportLock",
2465
+ "privacy": "public",
2466
+ "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2780
2467
  "inheritedFrom": {
2781
- "name": "AnchoredRegion",
2782
- "module": "src/anchored-region/anchored-region.ts"
2468
+ "name": "Anchor",
2469
+ "module": "src/anchor/anchor.ts"
2783
2470
  }
2784
2471
  },
2785
2472
  {
2786
- "name": "vertical-inset",
2473
+ "kind": "field",
2474
+ "name": "ping",
2787
2475
  "type": {
2788
- "text": "boolean"
2476
+ "text": "string"
2789
2477
  },
2790
- "default": "false",
2791
- "description": "Whether the region overlaps the anchor on the vertical axis",
2792
- "fieldName": "verticalInset",
2478
+ "privacy": "public",
2479
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2793
2480
  "inheritedFrom": {
2794
- "name": "AnchoredRegion",
2795
- "module": "src/anchored-region/anchored-region.ts"
2481
+ "name": "Anchor",
2482
+ "module": "src/anchor/anchor.ts"
2796
2483
  }
2797
2484
  },
2798
2485
  {
2799
- "name": "vertical-threshold",
2486
+ "kind": "field",
2487
+ "name": "referrerpolicy",
2800
2488
  "type": {
2801
- "text": "number"
2489
+ "text": "string"
2802
2490
  },
2803
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2804
- "fieldName": "verticalThreshold",
2491
+ "privacy": "public",
2492
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2805
2493
  "inheritedFrom": {
2806
- "name": "AnchoredRegion",
2807
- "module": "src/anchored-region/anchored-region.ts"
2494
+ "name": "Anchor",
2495
+ "module": "src/anchor/anchor.ts"
2808
2496
  }
2809
2497
  },
2810
2498
  {
2811
- "name": "vertical-scaling",
2499
+ "kind": "field",
2500
+ "name": "rel",
2812
2501
  "type": {
2813
- "text": "AxisScalingMode"
2502
+ "text": "string"
2814
2503
  },
2815
- "default": "\"content\"",
2816
- "description": "Defines how the height of the region is calculated",
2817
- "fieldName": "verticalScaling",
2504
+ "privacy": "public",
2505
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2818
2506
  "inheritedFrom": {
2819
- "name": "AnchoredRegion",
2820
- "module": "src/anchored-region/anchored-region.ts"
2507
+ "name": "Anchor",
2508
+ "module": "src/anchor/anchor.ts"
2821
2509
  }
2822
2510
  },
2823
2511
  {
2824
- "name": "fixed-placement",
2512
+ "kind": "field",
2513
+ "name": "target",
2825
2514
  "type": {
2826
- "text": "boolean"
2515
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2827
2516
  },
2828
- "default": "false",
2829
- "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,",
2830
- "fieldName": "fixedPlacement",
2517
+ "privacy": "public",
2518
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2831
2519
  "inheritedFrom": {
2832
- "name": "AnchoredRegion",
2833
- "module": "src/anchored-region/anchored-region.ts"
2520
+ "name": "Anchor",
2521
+ "module": "src/anchor/anchor.ts"
2834
2522
  }
2835
2523
  },
2836
- {
2837
- "name": "auto-update-mode",
2838
- "type": {
2839
- "text": "AutoUpdateMode"
2840
- },
2841
- "default": "\"anchor\"",
2842
- "description": "Defines what triggers the anchored region to revaluate positioning",
2843
- "fieldName": "autoUpdateMode",
2844
- "inheritedFrom": {
2845
- "name": "AnchoredRegion",
2846
- "module": "src/anchored-region/anchored-region.ts"
2847
- }
2848
- }
2849
- ],
2850
- "members": [
2851
2524
  {
2852
2525
  "kind": "field",
2853
- "name": "anchor",
2526
+ "name": "type",
2854
2527
  "type": {
2855
2528
  "text": "string"
2856
2529
  },
2857
2530
  "privacy": "public",
2858
- "default": "\"\"",
2859
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2860
- "inheritedFrom": {
2861
- "name": "AnchoredRegion",
2862
- "module": "src/anchored-region/anchored-region.ts"
2863
- }
2864
- },
2865
- {
2866
- "kind": "method",
2867
- "name": "anchorChanged",
2868
- "privacy": "private",
2869
- "return": {
2870
- "type": {
2871
- "text": "void"
2872
- }
2873
- },
2531
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2874
2532
  "inheritedFrom": {
2875
- "name": "AnchoredRegion",
2876
- "module": "src/anchored-region/anchored-region.ts"
2533
+ "name": "Anchor",
2534
+ "module": "src/anchor/anchor.ts"
2877
2535
  }
2878
2536
  },
2879
2537
  {
2880
2538
  "kind": "field",
2881
- "name": "viewport",
2539
+ "name": "control",
2882
2540
  "type": {
2883
- "text": "string"
2541
+ "text": "HTMLAnchorElement | undefined"
2884
2542
  },
2885
2543
  "privacy": "public",
2886
- "default": "\"\"",
2887
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2544
+ "description": "References the root element",
2888
2545
  "inheritedFrom": {
2889
- "name": "AnchoredRegion",
2890
- "module": "src/anchored-region/anchored-region.ts"
2546
+ "name": "Anchor",
2547
+ "module": "src/anchor/anchor.ts"
2891
2548
  }
2892
2549
  },
2893
2550
  {
2894
- "kind": "method",
2895
- "name": "viewportChanged",
2551
+ "kind": "field",
2552
+ "name": "handleUnsupportedDelegatesFocus",
2896
2553
  "privacy": "private",
2897
- "return": {
2898
- "type": {
2899
- "text": "void"
2900
- }
2901
- },
2554
+ "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
2902
2555
  "inheritedFrom": {
2903
- "name": "AnchoredRegion",
2904
- "module": "src/anchored-region/anchored-region.ts"
2556
+ "name": "Anchor",
2557
+ "module": "src/anchor/anchor.ts"
2905
2558
  }
2906
2559
  },
2907
2560
  {
2908
2561
  "kind": "field",
2909
- "name": "horizontalPositioningMode",
2562
+ "name": "_presentation",
2910
2563
  "type": {
2911
- "text": "AxisPositioningMode"
2564
+ "text": "ComponentPresentation | null | undefined"
2912
2565
  },
2913
- "privacy": "public",
2914
- "default": "\"uncontrolled\"",
2915
- "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",
2916
- "inheritedFrom": {
2917
- "name": "AnchoredRegion",
2918
- "module": "src/anchored-region/anchored-region.ts"
2919
- }
2920
- },
2921
- {
2922
- "kind": "method",
2923
- "name": "horizontalPositioningModeChanged",
2924
2566
  "privacy": "private",
2925
- "return": {
2926
- "type": {
2927
- "text": "void"
2928
- }
2929
- },
2567
+ "default": "void 0",
2930
2568
  "inheritedFrom": {
2931
- "name": "AnchoredRegion",
2932
- "module": "src/anchored-region/anchored-region.ts"
2569
+ "name": "FoundationElement",
2570
+ "module": "src/foundation-element/foundation-element.ts"
2933
2571
  }
2934
2572
  },
2935
2573
  {
2936
2574
  "kind": "field",
2937
- "name": "horizontalDefaultPosition",
2575
+ "name": "$presentation",
2938
2576
  "type": {
2939
- "text": "HorizontalPosition"
2577
+ "text": "ComponentPresentation | null"
2940
2578
  },
2941
2579
  "privacy": "public",
2942
- "default": "\"unset\"",
2943
- "description": "The default horizontal position of the region relative to the anchor element",
2944
- "inheritedFrom": {
2945
- "name": "AnchoredRegion",
2946
- "module": "src/anchored-region/anchored-region.ts"
2947
- }
2948
- },
2949
- {
2950
- "kind": "method",
2951
- "name": "horizontalDefaultPositionChanged",
2952
- "privacy": "private",
2953
- "return": {
2954
- "type": {
2955
- "text": "void"
2956
- }
2957
- },
2580
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2958
2581
  "inheritedFrom": {
2959
- "name": "AnchoredRegion",
2960
- "module": "src/anchored-region/anchored-region.ts"
2582
+ "name": "FoundationElement",
2583
+ "module": "src/foundation-element/foundation-element.ts"
2961
2584
  }
2962
2585
  },
2963
2586
  {
2964
2587
  "kind": "field",
2965
- "name": "horizontalViewportLock",
2588
+ "name": "template",
2966
2589
  "type": {
2967
- "text": "boolean"
2590
+ "text": "ElementViewTemplate | void | null"
2968
2591
  },
2969
2592
  "privacy": "public",
2970
- "default": "false",
2971
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2593
+ "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.",
2972
2594
  "inheritedFrom": {
2973
- "name": "AnchoredRegion",
2974
- "module": "src/anchored-region/anchored-region.ts"
2595
+ "name": "FoundationElement",
2596
+ "module": "src/foundation-element/foundation-element.ts"
2975
2597
  }
2976
2598
  },
2977
2599
  {
2978
2600
  "kind": "method",
2979
- "name": "horizontalViewportLockChanged",
2980
- "privacy": "private",
2601
+ "name": "templateChanged",
2602
+ "privacy": "protected",
2981
2603
  "return": {
2982
2604
  "type": {
2983
2605
  "text": "void"
2984
2606
  }
2985
2607
  },
2986
2608
  "inheritedFrom": {
2987
- "name": "AnchoredRegion",
2988
- "module": "src/anchored-region/anchored-region.ts"
2609
+ "name": "FoundationElement",
2610
+ "module": "src/foundation-element/foundation-element.ts"
2989
2611
  }
2990
2612
  },
2991
2613
  {
2992
2614
  "kind": "field",
2993
- "name": "horizontalInset",
2615
+ "name": "styles",
2994
2616
  "type": {
2995
- "text": "boolean"
2617
+ "text": "ElementStyles | void | null"
2996
2618
  },
2997
2619
  "privacy": "public",
2998
- "default": "false",
2999
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2620
+ "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.",
3000
2621
  "inheritedFrom": {
3001
- "name": "AnchoredRegion",
3002
- "module": "src/anchored-region/anchored-region.ts"
2622
+ "name": "FoundationElement",
2623
+ "module": "src/foundation-element/foundation-element.ts"
3003
2624
  }
3004
2625
  },
3005
2626
  {
3006
2627
  "kind": "method",
3007
- "name": "horizontalInsetChanged",
3008
- "privacy": "private",
2628
+ "name": "stylesChanged",
2629
+ "privacy": "protected",
3009
2630
  "return": {
3010
2631
  "type": {
3011
2632
  "text": "void"
3012
2633
  }
3013
2634
  },
3014
2635
  "inheritedFrom": {
3015
- "name": "AnchoredRegion",
3016
- "module": "src/anchored-region/anchored-region.ts"
3017
- }
3018
- },
3019
- {
3020
- "kind": "field",
3021
- "name": "horizontalThreshold",
3022
- "type": {
3023
- "text": "number"
3024
- },
3025
- "privacy": "public",
3026
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
3027
- "inheritedFrom": {
3028
- "name": "AnchoredRegion",
3029
- "module": "src/anchored-region/anchored-region.ts"
2636
+ "name": "FoundationElement",
2637
+ "module": "src/foundation-element/foundation-element.ts"
3030
2638
  }
3031
2639
  },
3032
2640
  {
3033
2641
  "kind": "method",
3034
- "name": "horizontalThresholdChanged",
3035
- "privacy": "private",
2642
+ "name": "compose",
2643
+ "privacy": "public",
2644
+ "static": true,
3036
2645
  "return": {
3037
2646
  "type": {
3038
- "text": "void"
2647
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3039
2648
  }
3040
2649
  },
3041
- "inheritedFrom": {
3042
- "name": "AnchoredRegion",
3043
- "module": "src/anchored-region/anchored-region.ts"
2650
+ "parameters": [
2651
+ {
2652
+ "name": "this",
2653
+ "type": {
2654
+ "text": "K"
2655
+ }
2656
+ },
2657
+ {
2658
+ "name": "elementDefinition",
2659
+ "type": {
2660
+ "text": "T"
2661
+ },
2662
+ "description": "The definition of the element to create the registry\nfunction for."
2663
+ }
2664
+ ],
2665
+ "description": "Defines an element registry function with a set of element definition defaults.",
2666
+ "inheritedFrom": {
2667
+ "name": "FoundationElement",
2668
+ "module": "src/foundation-element/foundation-element.ts"
2669
+ }
2670
+ }
2671
+ ]
2672
+ },
2673
+ {
2674
+ "kind": "variable",
2675
+ "name": "foundationAnchorShadowOptions",
2676
+ "type": {
2677
+ "text": "ShadowRootInit"
2678
+ },
2679
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2680
+ },
2681
+ {
2682
+ "kind": "variable",
2683
+ "name": "defaultAnchorConfig",
2684
+ "type": {
2685
+ "text": "object"
2686
+ },
2687
+ "default": "{}"
2688
+ },
2689
+ {
2690
+ "kind": "variable",
2691
+ "name": "foundationAnchor",
2692
+ "description": "The Foundation Anchor",
2693
+ "privacy": "public"
2694
+ }
2695
+ ],
2696
+ "exports": [
2697
+ {
2698
+ "kind": "js",
2699
+ "name": "Anchor",
2700
+ "declaration": {
2701
+ "name": "Anchor",
2702
+ "module": "src/anchor/anchor.ts"
2703
+ }
2704
+ },
2705
+ {
2706
+ "kind": "js",
2707
+ "name": "foundationAnchorShadowOptions",
2708
+ "declaration": {
2709
+ "name": "foundationAnchorShadowOptions",
2710
+ "module": "src/anchor/anchor.ts"
2711
+ }
2712
+ },
2713
+ {
2714
+ "kind": "js",
2715
+ "name": "defaultAnchorConfig",
2716
+ "declaration": {
2717
+ "name": "defaultAnchorConfig",
2718
+ "module": "src/anchor/anchor.ts"
2719
+ }
2720
+ },
2721
+ {
2722
+ "kind": "js",
2723
+ "name": "foundationAnchor",
2724
+ "declaration": {
2725
+ "name": "foundationAnchor",
2726
+ "module": "src/anchor/anchor.ts"
2727
+ }
2728
+ }
2729
+ ]
2730
+ },
2731
+ {
2732
+ "kind": "javascript-module",
2733
+ "path": "src/anchor/index.ts",
2734
+ "declarations": [],
2735
+ "exports": [
2736
+ {
2737
+ "kind": "js",
2738
+ "name": "*",
2739
+ "declaration": {
2740
+ "name": "*",
2741
+ "package": "./anchor.template"
2742
+ }
2743
+ },
2744
+ {
2745
+ "kind": "js",
2746
+ "name": "*",
2747
+ "declaration": {
2748
+ "name": "*",
2749
+ "package": "./anchor.styles"
2750
+ }
2751
+ },
2752
+ {
2753
+ "kind": "js",
2754
+ "name": "*",
2755
+ "declaration": {
2756
+ "name": "*",
2757
+ "package": "./anchor"
2758
+ }
2759
+ }
2760
+ ]
2761
+ },
2762
+ {
2763
+ "kind": "javascript-module",
2764
+ "path": "src/accordion/accordion.styles.ts",
2765
+ "declarations": [
2766
+ {
2767
+ "kind": "function",
2768
+ "name": "foundationAccordionStyles",
2769
+ "return": {
2770
+ "type": {
2771
+ "text": "ElementStyles"
2772
+ }
2773
+ },
2774
+ "parameters": [
2775
+ {
2776
+ "name": "context",
2777
+ "type": {
2778
+ "text": "ElementDefinitionContext"
2779
+ }
2780
+ },
2781
+ {
2782
+ "name": "definition",
2783
+ "type": {
2784
+ "text": "FoundationElementDefinition"
2785
+ }
2786
+ }
2787
+ ]
2788
+ }
2789
+ ],
2790
+ "exports": [
2791
+ {
2792
+ "kind": "js",
2793
+ "name": "foundationAccordionStyles",
2794
+ "declaration": {
2795
+ "name": "foundationAccordionStyles",
2796
+ "module": "src/accordion/accordion.styles.ts"
2797
+ }
2798
+ }
2799
+ ]
2800
+ },
2801
+ {
2802
+ "kind": "javascript-module",
2803
+ "path": "src/accordion/accordion.template.ts",
2804
+ "declarations": [
2805
+ {
2806
+ "kind": "function",
2807
+ "name": "foundationAccordionTemplate",
2808
+ "return": {
2809
+ "type": {
2810
+ "text": "ViewTemplate<Accordion>"
2811
+ }
2812
+ },
2813
+ "parameters": [
2814
+ {
2815
+ "name": "context",
2816
+ "type": {
2817
+ "text": "ElementDefinitionContext"
2818
+ }
2819
+ },
2820
+ {
2821
+ "name": "definition",
2822
+ "type": {
2823
+ "text": "FoundationElementDefinition"
2824
+ }
2825
+ }
2826
+ ]
2827
+ }
2828
+ ],
2829
+ "exports": [
2830
+ {
2831
+ "kind": "js",
2832
+ "name": "foundationAccordionTemplate",
2833
+ "declaration": {
2834
+ "name": "foundationAccordionTemplate",
2835
+ "module": "src/accordion/accordion.template.ts"
2836
+ }
2837
+ }
2838
+ ]
2839
+ },
2840
+ {
2841
+ "kind": "javascript-module",
2842
+ "path": "src/accordion/accordion.ts",
2843
+ "declarations": [
2844
+ {
2845
+ "kind": "class",
2846
+ "description": "",
2847
+ "name": "Accordion",
2848
+ "superclass": {
2849
+ "name": "FASTAccordion",
2850
+ "package": "@microsoft/fast-foundation"
2851
+ },
2852
+ "tagName": "%%prefix%%-accordion",
2853
+ "customElement": true
2854
+ },
2855
+ {
2856
+ "kind": "variable",
2857
+ "name": "foundationAccordionShadowOptions",
2858
+ "type": {
2859
+ "text": "ShadowRootInit"
2860
+ },
2861
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2862
+ },
2863
+ {
2864
+ "kind": "variable",
2865
+ "name": "defaultAccordionConfig",
2866
+ "type": {
2867
+ "text": "object"
2868
+ },
2869
+ "default": "{}"
2870
+ },
2871
+ {
2872
+ "kind": "variable",
2873
+ "name": "foundationAccordion",
2874
+ "description": "The Foundation Accordion",
2875
+ "privacy": "public"
2876
+ }
2877
+ ],
2878
+ "exports": [
2879
+ {
2880
+ "kind": "js",
2881
+ "name": "Accordion",
2882
+ "declaration": {
2883
+ "name": "Accordion",
2884
+ "module": "src/accordion/accordion.ts"
2885
+ }
2886
+ },
2887
+ {
2888
+ "kind": "js",
2889
+ "name": "foundationAccordionShadowOptions",
2890
+ "declaration": {
2891
+ "name": "foundationAccordionShadowOptions",
2892
+ "module": "src/accordion/accordion.ts"
2893
+ }
2894
+ },
2895
+ {
2896
+ "kind": "js",
2897
+ "name": "defaultAccordionConfig",
2898
+ "declaration": {
2899
+ "name": "defaultAccordionConfig",
2900
+ "module": "src/accordion/accordion.ts"
2901
+ }
2902
+ },
2903
+ {
2904
+ "kind": "js",
2905
+ "name": "foundationAccordion",
2906
+ "declaration": {
2907
+ "name": "foundationAccordion",
2908
+ "module": "src/accordion/accordion.ts"
2909
+ }
2910
+ }
2911
+ ]
2912
+ },
2913
+ {
2914
+ "kind": "javascript-module",
2915
+ "path": "src/accordion/index.ts",
2916
+ "declarations": [],
2917
+ "exports": [
2918
+ {
2919
+ "kind": "js",
2920
+ "name": "*",
2921
+ "declaration": {
2922
+ "name": "*",
2923
+ "package": "./accordion.template"
2924
+ }
2925
+ },
2926
+ {
2927
+ "kind": "js",
2928
+ "name": "*",
2929
+ "declaration": {
2930
+ "name": "*",
2931
+ "package": "./accordion.styles"
2932
+ }
2933
+ },
2934
+ {
2935
+ "kind": "js",
2936
+ "name": "*",
2937
+ "declaration": {
2938
+ "name": "*",
2939
+ "package": "./accordion"
2940
+ }
2941
+ }
2942
+ ]
2943
+ },
2944
+ {
2945
+ "kind": "javascript-module",
2946
+ "path": "src/anchored-region/anchor-region.template.ts",
2947
+ "declarations": [
2948
+ {
2949
+ "kind": "function",
2950
+ "name": "foundationAnchoredRegionTemplate",
2951
+ "return": {
2952
+ "type": {
2953
+ "text": "ViewTemplate<AnchoredRegion>"
2954
+ }
2955
+ },
2956
+ "parameters": [
2957
+ {
2958
+ "name": "context",
2959
+ "type": {
2960
+ "text": "ElementDefinitionContext"
2961
+ }
2962
+ },
2963
+ {
2964
+ "name": "definition",
2965
+ "type": {
2966
+ "text": "FoundationElementDefinition"
2967
+ }
2968
+ }
2969
+ ]
2970
+ }
2971
+ ],
2972
+ "exports": [
2973
+ {
2974
+ "kind": "js",
2975
+ "name": "foundationAnchoredRegionTemplate",
2976
+ "declaration": {
2977
+ "name": "foundationAnchoredRegionTemplate",
2978
+ "module": "src/anchored-region/anchor-region.template.ts"
2979
+ }
2980
+ }
2981
+ ]
2982
+ },
2983
+ {
2984
+ "kind": "javascript-module",
2985
+ "path": "src/anchored-region/anchored-region.styles.ts",
2986
+ "declarations": [
2987
+ {
2988
+ "kind": "function",
2989
+ "name": "foundationAnchoredRegionStyles",
2990
+ "return": {
2991
+ "type": {
2992
+ "text": "ElementStyles"
2993
+ }
2994
+ },
2995
+ "parameters": [
2996
+ {
2997
+ "name": "context",
2998
+ "type": {
2999
+ "text": "ElementDefinitionContext"
3000
+ }
3001
+ },
3002
+ {
3003
+ "name": "definition",
3004
+ "type": {
3005
+ "text": "FoundationElementDefinition"
3006
+ }
3007
+ }
3008
+ ]
3009
+ }
3010
+ ],
3011
+ "exports": [
3012
+ {
3013
+ "kind": "js",
3014
+ "name": "foundationAnchoredRegionStyles",
3015
+ "declaration": {
3016
+ "name": "foundationAnchoredRegionStyles",
3017
+ "module": "src/anchored-region/anchored-region.styles.ts"
3018
+ }
3019
+ }
3020
+ ]
3021
+ },
3022
+ {
3023
+ "kind": "javascript-module",
3024
+ "path": "src/anchored-region/anchored-region.ts",
3025
+ "declarations": [
3026
+ {
3027
+ "kind": "class",
3028
+ "description": "",
3029
+ "name": "AnchoredRegion",
3030
+ "superclass": {
3031
+ "name": "FASTAnchoredRegion",
3032
+ "package": "@microsoft/fast-components"
3033
+ },
3034
+ "tagName": "%%prefix%%-anchored-region",
3035
+ "customElement": true,
3036
+ "attributes": [
3037
+ {
3038
+ "name": "anchor",
3039
+ "type": {
3040
+ "text": "string"
3041
+ },
3042
+ "default": "\"\"",
3043
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
3044
+ "fieldName": "anchor",
3045
+ "inheritedFrom": {
3046
+ "name": "AnchoredRegion",
3047
+ "module": "src/anchored-region/anchored-region.ts"
3048
+ }
3049
+ },
3050
+ {
3051
+ "name": "viewport",
3052
+ "type": {
3053
+ "text": "string"
3054
+ },
3055
+ "default": "\"\"",
3056
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
3057
+ "fieldName": "viewport",
3058
+ "inheritedFrom": {
3059
+ "name": "AnchoredRegion",
3060
+ "module": "src/anchored-region/anchored-region.ts"
3061
+ }
3062
+ },
3063
+ {
3064
+ "name": "horizontal-positioning-mode",
3065
+ "type": {
3066
+ "text": "AxisPositioningMode"
3067
+ },
3068
+ "default": "\"uncontrolled\"",
3069
+ "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",
3070
+ "fieldName": "horizontalPositioningMode",
3071
+ "inheritedFrom": {
3072
+ "name": "AnchoredRegion",
3073
+ "module": "src/anchored-region/anchored-region.ts"
3074
+ }
3075
+ },
3076
+ {
3077
+ "name": "horizontal-default-position",
3078
+ "type": {
3079
+ "text": "HorizontalPosition"
3080
+ },
3081
+ "default": "\"unset\"",
3082
+ "description": "The default horizontal position of the region relative to the anchor element",
3083
+ "fieldName": "horizontalDefaultPosition",
3084
+ "inheritedFrom": {
3085
+ "name": "AnchoredRegion",
3086
+ "module": "src/anchored-region/anchored-region.ts"
3087
+ }
3088
+ },
3089
+ {
3090
+ "name": "horizontal-viewport-lock",
3091
+ "type": {
3092
+ "text": "boolean"
3093
+ },
3094
+ "default": "false",
3095
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
3096
+ "fieldName": "horizontalViewportLock",
3097
+ "inheritedFrom": {
3098
+ "name": "AnchoredRegion",
3099
+ "module": "src/anchored-region/anchored-region.ts"
3100
+ }
3101
+ },
3102
+ {
3103
+ "name": "horizontal-inset",
3104
+ "type": {
3105
+ "text": "boolean"
3106
+ },
3107
+ "default": "false",
3108
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
3109
+ "fieldName": "horizontalInset",
3110
+ "inheritedFrom": {
3111
+ "name": "AnchoredRegion",
3112
+ "module": "src/anchored-region/anchored-region.ts"
3113
+ }
3114
+ },
3115
+ {
3116
+ "name": "horizontal-threshold",
3117
+ "type": {
3118
+ "text": "number"
3119
+ },
3120
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
3121
+ "fieldName": "horizontalThreshold",
3122
+ "inheritedFrom": {
3123
+ "name": "AnchoredRegion",
3124
+ "module": "src/anchored-region/anchored-region.ts"
3125
+ }
3126
+ },
3127
+ {
3128
+ "name": "horizontal-scaling",
3129
+ "type": {
3130
+ "text": "AxisScalingMode"
3131
+ },
3132
+ "default": "\"content\"",
3133
+ "description": "Defines how the width of the region is calculated",
3134
+ "fieldName": "horizontalScaling",
3135
+ "inheritedFrom": {
3136
+ "name": "AnchoredRegion",
3137
+ "module": "src/anchored-region/anchored-region.ts"
3138
+ }
3139
+ },
3140
+ {
3141
+ "name": "vertical-positioning-mode",
3142
+ "type": {
3143
+ "text": "AxisPositioningMode"
3144
+ },
3145
+ "default": "\"uncontrolled\"",
3146
+ "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",
3147
+ "fieldName": "verticalPositioningMode",
3148
+ "inheritedFrom": {
3149
+ "name": "AnchoredRegion",
3150
+ "module": "src/anchored-region/anchored-region.ts"
3151
+ }
3152
+ },
3153
+ {
3154
+ "name": "vertical-default-position",
3155
+ "type": {
3156
+ "text": "VerticalPosition"
3157
+ },
3158
+ "default": "\"unset\"",
3159
+ "description": "The default vertical position of the region relative to the anchor element",
3160
+ "fieldName": "verticalDefaultPosition",
3161
+ "inheritedFrom": {
3162
+ "name": "AnchoredRegion",
3163
+ "module": "src/anchored-region/anchored-region.ts"
3164
+ }
3165
+ },
3166
+ {
3167
+ "name": "vertical-viewport-lock",
3168
+ "type": {
3169
+ "text": "boolean"
3170
+ },
3171
+ "default": "false",
3172
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
3173
+ "fieldName": "verticalViewportLock",
3174
+ "inheritedFrom": {
3175
+ "name": "AnchoredRegion",
3176
+ "module": "src/anchored-region/anchored-region.ts"
3177
+ }
3178
+ },
3179
+ {
3180
+ "name": "vertical-inset",
3181
+ "type": {
3182
+ "text": "boolean"
3183
+ },
3184
+ "default": "false",
3185
+ "description": "Whether the region overlaps the anchor on the vertical axis",
3186
+ "fieldName": "verticalInset",
3187
+ "inheritedFrom": {
3188
+ "name": "AnchoredRegion",
3189
+ "module": "src/anchored-region/anchored-region.ts"
3190
+ }
3191
+ },
3192
+ {
3193
+ "name": "vertical-threshold",
3194
+ "type": {
3195
+ "text": "number"
3196
+ },
3197
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3198
+ "fieldName": "verticalThreshold",
3199
+ "inheritedFrom": {
3200
+ "name": "AnchoredRegion",
3201
+ "module": "src/anchored-region/anchored-region.ts"
3202
+ }
3203
+ },
3204
+ {
3205
+ "name": "vertical-scaling",
3206
+ "type": {
3207
+ "text": "AxisScalingMode"
3208
+ },
3209
+ "default": "\"content\"",
3210
+ "description": "Defines how the height of the region is calculated",
3211
+ "fieldName": "verticalScaling",
3212
+ "inheritedFrom": {
3213
+ "name": "AnchoredRegion",
3214
+ "module": "src/anchored-region/anchored-region.ts"
3215
+ }
3216
+ },
3217
+ {
3218
+ "name": "fixed-placement",
3219
+ "type": {
3220
+ "text": "boolean"
3221
+ },
3222
+ "default": "false",
3223
+ "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,",
3224
+ "fieldName": "fixedPlacement",
3225
+ "inheritedFrom": {
3226
+ "name": "AnchoredRegion",
3227
+ "module": "src/anchored-region/anchored-region.ts"
3228
+ }
3229
+ },
3230
+ {
3231
+ "name": "auto-update-mode",
3232
+ "type": {
3233
+ "text": "AutoUpdateMode"
3234
+ },
3235
+ "default": "\"anchor\"",
3236
+ "description": "Defines what triggers the anchored region to revaluate positioning",
3237
+ "fieldName": "autoUpdateMode",
3238
+ "inheritedFrom": {
3239
+ "name": "AnchoredRegion",
3240
+ "module": "src/anchored-region/anchored-region.ts"
3241
+ }
3242
+ }
3243
+ ],
3244
+ "members": [
3245
+ {
3246
+ "kind": "field",
3247
+ "name": "anchor",
3248
+ "type": {
3249
+ "text": "string"
3250
+ },
3251
+ "privacy": "public",
3252
+ "default": "\"\"",
3253
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
3254
+ "inheritedFrom": {
3255
+ "name": "AnchoredRegion",
3256
+ "module": "src/anchored-region/anchored-region.ts"
3257
+ }
3258
+ },
3259
+ {
3260
+ "kind": "method",
3261
+ "name": "anchorChanged",
3262
+ "privacy": "private",
3263
+ "return": {
3264
+ "type": {
3265
+ "text": "void"
3266
+ }
3267
+ },
3268
+ "inheritedFrom": {
3269
+ "name": "AnchoredRegion",
3270
+ "module": "src/anchored-region/anchored-region.ts"
3271
+ }
3272
+ },
3273
+ {
3274
+ "kind": "field",
3275
+ "name": "viewport",
3276
+ "type": {
3277
+ "text": "string"
3278
+ },
3279
+ "privacy": "public",
3280
+ "default": "\"\"",
3281
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
3282
+ "inheritedFrom": {
3283
+ "name": "AnchoredRegion",
3284
+ "module": "src/anchored-region/anchored-region.ts"
3285
+ }
3286
+ },
3287
+ {
3288
+ "kind": "method",
3289
+ "name": "viewportChanged",
3290
+ "privacy": "private",
3291
+ "return": {
3292
+ "type": {
3293
+ "text": "void"
3294
+ }
3295
+ },
3296
+ "inheritedFrom": {
3297
+ "name": "AnchoredRegion",
3298
+ "module": "src/anchored-region/anchored-region.ts"
3299
+ }
3300
+ },
3301
+ {
3302
+ "kind": "field",
3303
+ "name": "horizontalPositioningMode",
3304
+ "type": {
3305
+ "text": "AxisPositioningMode"
3306
+ },
3307
+ "privacy": "public",
3308
+ "default": "\"uncontrolled\"",
3309
+ "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",
3310
+ "inheritedFrom": {
3311
+ "name": "AnchoredRegion",
3312
+ "module": "src/anchored-region/anchored-region.ts"
3313
+ }
3314
+ },
3315
+ {
3316
+ "kind": "method",
3317
+ "name": "horizontalPositioningModeChanged",
3318
+ "privacy": "private",
3319
+ "return": {
3320
+ "type": {
3321
+ "text": "void"
3322
+ }
3323
+ },
3324
+ "inheritedFrom": {
3325
+ "name": "AnchoredRegion",
3326
+ "module": "src/anchored-region/anchored-region.ts"
3327
+ }
3328
+ },
3329
+ {
3330
+ "kind": "field",
3331
+ "name": "horizontalDefaultPosition",
3332
+ "type": {
3333
+ "text": "HorizontalPosition"
3334
+ },
3335
+ "privacy": "public",
3336
+ "default": "\"unset\"",
3337
+ "description": "The default horizontal position of the region relative to the anchor element",
3338
+ "inheritedFrom": {
3339
+ "name": "AnchoredRegion",
3340
+ "module": "src/anchored-region/anchored-region.ts"
3341
+ }
3342
+ },
3343
+ {
3344
+ "kind": "method",
3345
+ "name": "horizontalDefaultPositionChanged",
3346
+ "privacy": "private",
3347
+ "return": {
3348
+ "type": {
3349
+ "text": "void"
3350
+ }
3351
+ },
3352
+ "inheritedFrom": {
3353
+ "name": "AnchoredRegion",
3354
+ "module": "src/anchored-region/anchored-region.ts"
3355
+ }
3356
+ },
3357
+ {
3358
+ "kind": "field",
3359
+ "name": "horizontalViewportLock",
3360
+ "type": {
3361
+ "text": "boolean"
3362
+ },
3363
+ "privacy": "public",
3364
+ "default": "false",
3365
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
3366
+ "inheritedFrom": {
3367
+ "name": "AnchoredRegion",
3368
+ "module": "src/anchored-region/anchored-region.ts"
3369
+ }
3370
+ },
3371
+ {
3372
+ "kind": "method",
3373
+ "name": "horizontalViewportLockChanged",
3374
+ "privacy": "private",
3375
+ "return": {
3376
+ "type": {
3377
+ "text": "void"
3378
+ }
3379
+ },
3380
+ "inheritedFrom": {
3381
+ "name": "AnchoredRegion",
3382
+ "module": "src/anchored-region/anchored-region.ts"
3383
+ }
3384
+ },
3385
+ {
3386
+ "kind": "field",
3387
+ "name": "horizontalInset",
3388
+ "type": {
3389
+ "text": "boolean"
3390
+ },
3391
+ "privacy": "public",
3392
+ "default": "false",
3393
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
3394
+ "inheritedFrom": {
3395
+ "name": "AnchoredRegion",
3396
+ "module": "src/anchored-region/anchored-region.ts"
3397
+ }
3398
+ },
3399
+ {
3400
+ "kind": "method",
3401
+ "name": "horizontalInsetChanged",
3402
+ "privacy": "private",
3403
+ "return": {
3404
+ "type": {
3405
+ "text": "void"
3406
+ }
3407
+ },
3408
+ "inheritedFrom": {
3409
+ "name": "AnchoredRegion",
3410
+ "module": "src/anchored-region/anchored-region.ts"
3411
+ }
3412
+ },
3413
+ {
3414
+ "kind": "field",
3415
+ "name": "horizontalThreshold",
3416
+ "type": {
3417
+ "text": "number"
3418
+ },
3419
+ "privacy": "public",
3420
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
3421
+ "inheritedFrom": {
3422
+ "name": "AnchoredRegion",
3423
+ "module": "src/anchored-region/anchored-region.ts"
3424
+ }
3425
+ },
3426
+ {
3427
+ "kind": "method",
3428
+ "name": "horizontalThresholdChanged",
3429
+ "privacy": "private",
3430
+ "return": {
3431
+ "type": {
3432
+ "text": "void"
3433
+ }
3434
+ },
3435
+ "inheritedFrom": {
3436
+ "name": "AnchoredRegion",
3437
+ "module": "src/anchored-region/anchored-region.ts"
3044
3438
  }
3045
3439
  },
3046
3440
  {
@@ -3709,149 +4103,9 @@
3709
4103
  },
3710
4104
  {
3711
4105
  "kind": "field",
3712
- "name": "startObservers",
3713
- "privacy": "private",
3714
- "description": "starts observers",
3715
- "inheritedFrom": {
3716
- "name": "AnchoredRegion",
3717
- "module": "src/anchored-region/anchored-region.ts"
3718
- }
3719
- },
3720
- {
3721
- "kind": "field",
3722
- "name": "requestPositionUpdates",
3723
- "privacy": "private",
3724
- "description": "get position updates",
3725
- "inheritedFrom": {
3726
- "name": "AnchoredRegion",
3727
- "module": "src/anchored-region/anchored-region.ts"
3728
- }
3729
- },
3730
- {
3731
- "kind": "field",
3732
- "name": "stopObservers",
3733
- "privacy": "private",
3734
- "description": "stops observers",
3735
- "inheritedFrom": {
3736
- "name": "AnchoredRegion",
3737
- "module": "src/anchored-region/anchored-region.ts"
3738
- }
3739
- },
3740
- {
3741
- "kind": "field",
3742
- "name": "getViewport",
3743
- "privacy": "private",
3744
- "description": "Gets the viewport element by id, or defaults to document root",
3745
- "inheritedFrom": {
3746
- "name": "AnchoredRegion",
3747
- "module": "src/anchored-region/anchored-region.ts"
3748
- }
3749
- },
3750
- {
3751
- "kind": "field",
3752
- "name": "getAnchor",
3753
- "privacy": "private",
3754
- "description": "Gets the anchor element by id",
3755
- "inheritedFrom": {
3756
- "name": "AnchoredRegion",
3757
- "module": "src/anchored-region/anchored-region.ts"
3758
- }
3759
- },
3760
- {
3761
- "kind": "field",
3762
- "name": "handleIntersection",
3763
- "privacy": "private",
3764
- "description": "Handle intersections",
3765
- "inheritedFrom": {
3766
- "name": "AnchoredRegion",
3767
- "module": "src/anchored-region/anchored-region.ts"
3768
- }
3769
- },
3770
- {
3771
- "kind": "field",
3772
- "name": "applyIntersectionEntries",
3773
- "privacy": "private",
3774
- "description": "iterate through intersection entries and apply data",
3775
- "inheritedFrom": {
3776
- "name": "AnchoredRegion",
3777
- "module": "src/anchored-region/anchored-region.ts"
3778
- }
3779
- },
3780
- {
3781
- "kind": "field",
3782
- "name": "updateRegionOffset",
3783
- "privacy": "private",
3784
- "description": "Update the offset values",
3785
- "inheritedFrom": {
3786
- "name": "AnchoredRegion",
3787
- "module": "src/anchored-region/anchored-region.ts"
3788
- }
3789
- },
3790
- {
3791
- "kind": "field",
3792
- "name": "isRectDifferent",
3793
- "privacy": "private",
3794
- "description": "compare rects to see if there is enough change to justify a DOM update",
3795
- "inheritedFrom": {
3796
- "name": "AnchoredRegion",
3797
- "module": "src/anchored-region/anchored-region.ts"
3798
- }
3799
- },
3800
- {
3801
- "kind": "field",
3802
- "name": "handleResize",
3803
- "privacy": "private",
3804
- "description": "Handle resize events",
3805
- "inheritedFrom": {
3806
- "name": "AnchoredRegion",
3807
- "module": "src/anchored-region/anchored-region.ts"
3808
- }
3809
- },
3810
- {
3811
- "kind": "field",
3812
- "name": "reset",
3813
- "privacy": "private",
3814
- "description": "resets the component",
3815
- "inheritedFrom": {
3816
- "name": "AnchoredRegion",
3817
- "module": "src/anchored-region/anchored-region.ts"
3818
- }
3819
- },
3820
- {
3821
- "kind": "field",
3822
- "name": "updateLayout",
3823
- "privacy": "private",
3824
- "description": "Recalculate layout related state values",
3825
- "inheritedFrom": {
3826
- "name": "AnchoredRegion",
3827
- "module": "src/anchored-region/anchored-region.ts"
3828
- }
3829
- },
3830
- {
3831
- "kind": "field",
3832
- "name": "updateRegionStyle",
3833
- "privacy": "private",
3834
- "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3835
- "inheritedFrom": {
3836
- "name": "AnchoredRegion",
3837
- "module": "src/anchored-region/anchored-region.ts"
3838
- }
3839
- },
3840
- {
3841
- "kind": "field",
3842
- "name": "updatePositionClasses",
3843
- "privacy": "private",
3844
- "description": "Updates the css classes that reflect the current position of the element",
3845
- "inheritedFrom": {
3846
- "name": "AnchoredRegion",
3847
- "module": "src/anchored-region/anchored-region.ts"
3848
- }
3849
- },
3850
- {
3851
- "kind": "field",
3852
- "name": "setHorizontalPosition",
4106
+ "name": "startObservers",
3853
4107
  "privacy": "private",
3854
- "description": "Get horizontal positioning state based on desired position",
4108
+ "description": "starts observers",
3855
4109
  "inheritedFrom": {
3856
4110
  "name": "AnchoredRegion",
3857
4111
  "module": "src/anchored-region/anchored-region.ts"
@@ -3859,9 +4113,9 @@
3859
4113
  },
3860
4114
  {
3861
4115
  "kind": "field",
3862
- "name": "setVerticalPosition",
4116
+ "name": "requestPositionUpdates",
3863
4117
  "privacy": "private",
3864
- "description": "Set vertical positioning state based on desired position",
4118
+ "description": "get position updates",
3865
4119
  "inheritedFrom": {
3866
4120
  "name": "AnchoredRegion",
3867
4121
  "module": "src/anchored-region/anchored-region.ts"
@@ -3869,9 +4123,9 @@
3869
4123
  },
3870
4124
  {
3871
4125
  "kind": "field",
3872
- "name": "getPositioningOptions",
4126
+ "name": "stopObservers",
3873
4127
  "privacy": "private",
3874
- "description": "Get available positions based on positioning mode",
4128
+ "description": "stops observers",
3875
4129
  "inheritedFrom": {
3876
4130
  "name": "AnchoredRegion",
3877
4131
  "module": "src/anchored-region/anchored-region.ts"
@@ -3879,9 +4133,9 @@
3879
4133
  },
3880
4134
  {
3881
4135
  "kind": "field",
3882
- "name": "getAvailableSpace",
4136
+ "name": "getViewport",
3883
4137
  "privacy": "private",
3884
- "description": "Get the space available for a particular relative position",
4138
+ "description": "Gets the viewport element by id, or defaults to document root",
3885
4139
  "inheritedFrom": {
3886
4140
  "name": "AnchoredRegion",
3887
4141
  "module": "src/anchored-region/anchored-region.ts"
@@ -3889,9 +4143,9 @@
3889
4143
  },
3890
4144
  {
3891
4145
  "kind": "field",
3892
- "name": "getNextRegionDimension",
4146
+ "name": "getAnchor",
3893
4147
  "privacy": "private",
3894
- "description": "Get region dimensions",
4148
+ "description": "Gets the anchor element by id",
3895
4149
  "inheritedFrom": {
3896
4150
  "name": "AnchoredRegion",
3897
4151
  "module": "src/anchored-region/anchored-region.ts"
@@ -3899,9 +4153,9 @@
3899
4153
  },
3900
4154
  {
3901
4155
  "kind": "field",
3902
- "name": "startAutoUpdateEventListeners",
4156
+ "name": "handleIntersection",
3903
4157
  "privacy": "private",
3904
- "description": "starts event listeners that can trigger auto updating",
4158
+ "description": "Handle intersections",
3905
4159
  "inheritedFrom": {
3906
4160
  "name": "AnchoredRegion",
3907
4161
  "module": "src/anchored-region/anchored-region.ts"
@@ -3909,9 +4163,9 @@
3909
4163
  },
3910
4164
  {
3911
4165
  "kind": "field",
3912
- "name": "stopAutoUpdateEventListeners",
4166
+ "name": "applyIntersectionEntries",
3913
4167
  "privacy": "private",
3914
- "description": "stops event listeners that can trigger auto updating",
4168
+ "description": "iterate through intersection entries and apply data",
3915
4169
  "inheritedFrom": {
3916
4170
  "name": "AnchoredRegion",
3917
4171
  "module": "src/anchored-region/anchored-region.ts"
@@ -3919,404 +4173,142 @@
3919
4173
  },
3920
4174
  {
3921
4175
  "kind": "field",
3922
- "name": "_presentation",
3923
- "type": {
3924
- "text": "ComponentPresentation | null | undefined"
3925
- },
4176
+ "name": "updateRegionOffset",
3926
4177
  "privacy": "private",
3927
- "default": "void 0",
3928
- "inheritedFrom": {
3929
- "name": "FoundationElement",
3930
- "module": "src/foundation-element/foundation-element.ts"
3931
- }
3932
- },
3933
- {
3934
- "kind": "field",
3935
- "name": "$presentation",
3936
- "type": {
3937
- "text": "ComponentPresentation | null"
3938
- },
3939
- "privacy": "public",
3940
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3941
- "inheritedFrom": {
3942
- "name": "FoundationElement",
3943
- "module": "src/foundation-element/foundation-element.ts"
3944
- }
3945
- },
3946
- {
3947
- "kind": "field",
3948
- "name": "template",
3949
- "type": {
3950
- "text": "ElementViewTemplate | void | null"
3951
- },
3952
- "privacy": "public",
3953
- "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.",
3954
- "inheritedFrom": {
3955
- "name": "FoundationElement",
3956
- "module": "src/foundation-element/foundation-element.ts"
3957
- }
3958
- },
3959
- {
3960
- "kind": "method",
3961
- "name": "templateChanged",
3962
- "privacy": "protected",
3963
- "return": {
3964
- "type": {
3965
- "text": "void"
3966
- }
3967
- },
4178
+ "description": "Update the offset values",
3968
4179
  "inheritedFrom": {
3969
- "name": "FoundationElement",
3970
- "module": "src/foundation-element/foundation-element.ts"
4180
+ "name": "AnchoredRegion",
4181
+ "module": "src/anchored-region/anchored-region.ts"
3971
4182
  }
3972
4183
  },
3973
4184
  {
3974
4185
  "kind": "field",
3975
- "name": "styles",
3976
- "type": {
3977
- "text": "ElementStyles | void | null"
3978
- },
3979
- "privacy": "public",
3980
- "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.",
3981
- "inheritedFrom": {
3982
- "name": "FoundationElement",
3983
- "module": "src/foundation-element/foundation-element.ts"
3984
- }
3985
- },
3986
- {
3987
- "kind": "method",
3988
- "name": "stylesChanged",
3989
- "privacy": "protected",
3990
- "return": {
3991
- "type": {
3992
- "text": "void"
3993
- }
3994
- },
3995
- "inheritedFrom": {
3996
- "name": "FoundationElement",
3997
- "module": "src/foundation-element/foundation-element.ts"
3998
- }
3999
- },
4000
- {
4001
- "kind": "method",
4002
- "name": "compose",
4003
- "privacy": "public",
4004
- "static": true,
4005
- "return": {
4006
- "type": {
4007
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4008
- }
4009
- },
4010
- "parameters": [
4011
- {
4012
- "name": "this",
4013
- "type": {
4014
- "text": "K"
4015
- }
4016
- },
4017
- {
4018
- "name": "elementDefinition",
4019
- "type": {
4020
- "text": "T"
4021
- },
4022
- "description": "The definition of the element to create the registry\nfunction for."
4023
- }
4024
- ],
4025
- "description": "Defines an element registry function with a set of element definition defaults.",
4026
- "inheritedFrom": {
4027
- "name": "FoundationElement",
4028
- "module": "src/foundation-element/foundation-element.ts"
4029
- }
4030
- }
4031
- ],
4032
- "events": [
4033
- {
4034
- "description": "Fires a custom 'loaded' event when the region is loaded and visible",
4035
- "name": "loaded",
4186
+ "name": "isRectDifferent",
4187
+ "privacy": "private",
4188
+ "description": "compare rects to see if there is enough change to justify a DOM update",
4036
4189
  "inheritedFrom": {
4037
4190
  "name": "AnchoredRegion",
4038
4191
  "module": "src/anchored-region/anchored-region.ts"
4039
4192
  }
4040
4193
  },
4041
4194
  {
4042
- "description": "Fires a custom 'positionchange' event when the position has changed",
4043
- "name": "positionchange",
4195
+ "kind": "field",
4196
+ "name": "handleResize",
4197
+ "privacy": "private",
4198
+ "description": "Handle resize events",
4044
4199
  "inheritedFrom": {
4045
4200
  "name": "AnchoredRegion",
4046
- "module": "src/anchored-region/anchored-region.ts"
4047
- }
4048
- }
4049
- ]
4050
- },
4051
- {
4052
- "kind": "variable",
4053
- "name": "foundationAnchoredRegionShadowOptions",
4054
- "type": {
4055
- "text": "ShadowRootInit"
4056
- },
4057
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4058
- },
4059
- {
4060
- "kind": "variable",
4061
- "name": "defaultAnchoredRegionConfig",
4062
- "type": {
4063
- "text": "object"
4064
- },
4065
- "default": "{}"
4066
- },
4067
- {
4068
- "kind": "variable",
4069
- "name": "foundationAnchoredRegion",
4070
- "description": "The Foundation Anchored Region",
4071
- "privacy": "public"
4072
- }
4073
- ],
4074
- "exports": [
4075
- {
4076
- "kind": "js",
4077
- "name": "AnchoredRegion",
4078
- "declaration": {
4079
- "name": "AnchoredRegion",
4080
- "module": "src/anchored-region/anchored-region.ts"
4081
- }
4082
- },
4083
- {
4084
- "kind": "js",
4085
- "name": "foundationAnchoredRegionShadowOptions",
4086
- "declaration": {
4087
- "name": "foundationAnchoredRegionShadowOptions",
4088
- "module": "src/anchored-region/anchored-region.ts"
4089
- }
4090
- },
4091
- {
4092
- "kind": "js",
4093
- "name": "defaultAnchoredRegionConfig",
4094
- "declaration": {
4095
- "name": "defaultAnchoredRegionConfig",
4096
- "module": "src/anchored-region/anchored-region.ts"
4097
- }
4098
- },
4099
- {
4100
- "kind": "js",
4101
- "name": "foundationAnchoredRegion",
4102
- "declaration": {
4103
- "name": "foundationAnchoredRegion",
4104
- "module": "src/anchored-region/anchored-region.ts"
4105
- }
4106
- }
4107
- ]
4108
- },
4109
- {
4110
- "kind": "javascript-module",
4111
- "path": "src/anchored-region/index.ts",
4112
- "declarations": [],
4113
- "exports": [
4114
- {
4115
- "kind": "js",
4116
- "name": "*",
4117
- "declaration": {
4118
- "name": "*",
4119
- "package": "./anchor-region.template"
4120
- }
4121
- },
4122
- {
4123
- "kind": "js",
4124
- "name": "*",
4125
- "declaration": {
4126
- "name": "*",
4127
- "package": "./anchored-region.styles"
4128
- }
4129
- },
4130
- {
4131
- "kind": "js",
4132
- "name": "*",
4133
- "declaration": {
4134
- "name": "*",
4135
- "package": "./anchored-region"
4136
- }
4137
- }
4138
- ]
4139
- },
4140
- {
4141
- "kind": "javascript-module",
4142
- "path": "src/accordion-item/accordion-item.styles.ts",
4143
- "declarations": [
4144
- {
4145
- "kind": "function",
4146
- "name": "foundationAccordionItemStyles",
4147
- "return": {
4148
- "type": {
4149
- "text": "ElementStyles"
4150
- }
4151
- },
4152
- "parameters": [
4201
+ "module": "src/anchored-region/anchored-region.ts"
4202
+ }
4203
+ },
4153
4204
  {
4154
- "name": "context",
4155
- "type": {
4156
- "text": "ElementDefinitionContext"
4205
+ "kind": "field",
4206
+ "name": "reset",
4207
+ "privacy": "private",
4208
+ "description": "resets the component",
4209
+ "inheritedFrom": {
4210
+ "name": "AnchoredRegion",
4211
+ "module": "src/anchored-region/anchored-region.ts"
4157
4212
  }
4158
4213
  },
4159
4214
  {
4160
- "name": "definition",
4161
- "type": {
4162
- "text": "FoundationElementDefinition"
4215
+ "kind": "field",
4216
+ "name": "updateLayout",
4217
+ "privacy": "private",
4218
+ "description": "Recalculate layout related state values",
4219
+ "inheritedFrom": {
4220
+ "name": "AnchoredRegion",
4221
+ "module": "src/anchored-region/anchored-region.ts"
4163
4222
  }
4164
- }
4165
- ]
4166
- }
4167
- ],
4168
- "exports": [
4169
- {
4170
- "kind": "js",
4171
- "name": "foundationAccordionItemStyles",
4172
- "declaration": {
4173
- "name": "foundationAccordionItemStyles",
4174
- "module": "src/accordion-item/accordion-item.styles.ts"
4175
- }
4176
- }
4177
- ]
4178
- },
4179
- {
4180
- "kind": "javascript-module",
4181
- "path": "src/accordion-item/accordion-item.template.ts",
4182
- "declarations": [
4183
- {
4184
- "kind": "function",
4185
- "name": "foundationAccordionItemTemplate",
4186
- "return": {
4187
- "type": {
4188
- "text": "ViewTemplate<AccordionItem>"
4189
- }
4190
- },
4191
- "parameters": [
4223
+ },
4192
4224
  {
4193
- "name": "context",
4194
- "type": {
4195
- "text": "ElementDefinitionContext"
4225
+ "kind": "field",
4226
+ "name": "updateRegionStyle",
4227
+ "privacy": "private",
4228
+ "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
4229
+ "inheritedFrom": {
4230
+ "name": "AnchoredRegion",
4231
+ "module": "src/anchored-region/anchored-region.ts"
4196
4232
  }
4197
4233
  },
4198
4234
  {
4199
- "name": "definition",
4200
- "type": {
4201
- "text": "FoundationElementDefinition"
4235
+ "kind": "field",
4236
+ "name": "updatePositionClasses",
4237
+ "privacy": "private",
4238
+ "description": "Updates the css classes that reflect the current position of the element",
4239
+ "inheritedFrom": {
4240
+ "name": "AnchoredRegion",
4241
+ "module": "src/anchored-region/anchored-region.ts"
4202
4242
  }
4203
- }
4204
- ]
4205
- }
4206
- ],
4207
- "exports": [
4208
- {
4209
- "kind": "js",
4210
- "name": "foundationAccordionItemTemplate",
4211
- "declaration": {
4212
- "name": "foundationAccordionItemTemplate",
4213
- "module": "src/accordion-item/accordion-item.template.ts"
4214
- }
4215
- }
4216
- ]
4217
- },
4218
- {
4219
- "kind": "javascript-module",
4220
- "path": "src/accordion-item/accordion-item.ts",
4221
- "declarations": [
4222
- {
4223
- "kind": "class",
4224
- "description": "",
4225
- "name": "AccordionItem",
4226
- "superclass": {
4227
- "name": "FASTAccordionItem",
4228
- "package": "@microsoft/fast-components"
4229
- },
4230
- "tagName": "%%prefix%%-accordion-item",
4231
- "customElement": true,
4232
- "attributes": [
4243
+ },
4233
4244
  {
4234
- "name": "heading-level",
4235
- "type": {
4236
- "text": "1 | 2 | 3 | 4 | 5 | 6"
4237
- },
4238
- "default": "2",
4239
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
4240
- "fieldName": "headinglevel",
4245
+ "kind": "field",
4246
+ "name": "setHorizontalPosition",
4247
+ "privacy": "private",
4248
+ "description": "Get horizontal positioning state based on desired position",
4241
4249
  "inheritedFrom": {
4242
- "name": "AccordionItem",
4243
- "module": "src/accordion-item/accordion-item.ts"
4250
+ "name": "AnchoredRegion",
4251
+ "module": "src/anchored-region/anchored-region.ts"
4244
4252
  }
4245
4253
  },
4246
4254
  {
4247
- "type": {
4248
- "text": "boolean"
4249
- },
4250
- "default": "false",
4251
- "description": "Expands or collapses the item.",
4252
- "fieldName": "expanded",
4255
+ "kind": "field",
4256
+ "name": "setVerticalPosition",
4257
+ "privacy": "private",
4258
+ "description": "Set vertical positioning state based on desired position",
4253
4259
  "inheritedFrom": {
4254
- "name": "AccordionItem",
4255
- "module": "src/accordion-item/accordion-item.ts"
4260
+ "name": "AnchoredRegion",
4261
+ "module": "src/anchored-region/anchored-region.ts"
4256
4262
  }
4257
4263
  },
4258
4264
  {
4259
- "name": "id",
4260
- "type": {
4261
- "text": "string"
4262
- },
4263
- "description": "The item ID",
4264
- "fieldName": "id",
4265
+ "kind": "field",
4266
+ "name": "getPositioningOptions",
4267
+ "privacy": "private",
4268
+ "description": "Get available positions based on positioning mode",
4265
4269
  "inheritedFrom": {
4266
- "name": "AccordionItem",
4267
- "module": "src/accordion-item/accordion-item.ts"
4270
+ "name": "AnchoredRegion",
4271
+ "module": "src/anchored-region/anchored-region.ts"
4268
4272
  }
4269
- }
4270
- ],
4271
- "members": [
4273
+ },
4272
4274
  {
4273
4275
  "kind": "field",
4274
- "name": "headinglevel",
4275
- "type": {
4276
- "text": "1 | 2 | 3 | 4 | 5 | 6"
4277
- },
4278
- "privacy": "public",
4279
- "default": "2",
4280
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
4276
+ "name": "getAvailableSpace",
4277
+ "privacy": "private",
4278
+ "description": "Get the space available for a particular relative position",
4281
4279
  "inheritedFrom": {
4282
- "name": "AccordionItem",
4283
- "module": "src/accordion-item/accordion-item.ts"
4280
+ "name": "AnchoredRegion",
4281
+ "module": "src/anchored-region/anchored-region.ts"
4284
4282
  }
4285
4283
  },
4286
4284
  {
4287
4285
  "kind": "field",
4288
- "name": "expanded",
4289
- "type": {
4290
- "text": "boolean"
4291
- },
4292
- "privacy": "public",
4293
- "default": "false",
4294
- "description": "Expands or collapses the item.",
4286
+ "name": "getNextRegionDimension",
4287
+ "privacy": "private",
4288
+ "description": "Get region dimensions",
4295
4289
  "inheritedFrom": {
4296
- "name": "AccordionItem",
4297
- "module": "src/accordion-item/accordion-item.ts"
4290
+ "name": "AnchoredRegion",
4291
+ "module": "src/anchored-region/anchored-region.ts"
4298
4292
  }
4299
4293
  },
4300
4294
  {
4301
4295
  "kind": "field",
4302
- "name": "id",
4303
- "type": {
4304
- "text": "string"
4305
- },
4306
- "privacy": "public",
4307
- "description": "The item ID",
4296
+ "name": "startAutoUpdateEventListeners",
4297
+ "privacy": "private",
4298
+ "description": "starts event listeners that can trigger auto updating",
4308
4299
  "inheritedFrom": {
4309
- "name": "AccordionItem",
4310
- "module": "src/accordion-item/accordion-item.ts"
4300
+ "name": "AnchoredRegion",
4301
+ "module": "src/anchored-region/anchored-region.ts"
4311
4302
  }
4312
4303
  },
4313
4304
  {
4314
4305
  "kind": "field",
4315
- "name": "change",
4306
+ "name": "stopAutoUpdateEventListeners",
4316
4307
  "privacy": "private",
4308
+ "description": "stops event listeners that can trigger auto updating",
4317
4309
  "inheritedFrom": {
4318
- "name": "AccordionItem",
4319
- "module": "src/accordion-item/accordion-item.ts"
4310
+ "name": "AnchoredRegion",
4311
+ "module": "src/anchored-region/anchored-region.ts"
4320
4312
  }
4321
4313
  },
4322
4314
  {
@@ -4433,18 +4425,26 @@
4433
4425
  ],
4434
4426
  "events": [
4435
4427
  {
4436
- "description": "Fires a custom 'change' event when the button is invoked",
4437
- "name": "change",
4428
+ "description": "Fires a custom 'loaded' event when the region is loaded and visible",
4429
+ "name": "loaded",
4438
4430
  "inheritedFrom": {
4439
- "name": "AccordionItem",
4440
- "module": "src/accordion-item/accordion-item.ts"
4431
+ "name": "AnchoredRegion",
4432
+ "module": "src/anchored-region/anchored-region.ts"
4433
+ }
4434
+ },
4435
+ {
4436
+ "description": "Fires a custom 'positionchange' event when the position has changed",
4437
+ "name": "positionchange",
4438
+ "inheritedFrom": {
4439
+ "name": "AnchoredRegion",
4440
+ "module": "src/anchored-region/anchored-region.ts"
4441
4441
  }
4442
4442
  }
4443
4443
  ]
4444
4444
  },
4445
4445
  {
4446
4446
  "kind": "variable",
4447
- "name": "foundationAccordionItemShadowOptions",
4447
+ "name": "foundationAnchoredRegionShadowOptions",
4448
4448
  "type": {
4449
4449
  "text": "ShadowRootInit"
4450
4450
  },
@@ -4452,57 +4452,57 @@
4452
4452
  },
4453
4453
  {
4454
4454
  "kind": "variable",
4455
- "name": "defaultAccordionItemConfig",
4455
+ "name": "defaultAnchoredRegionConfig",
4456
4456
  "type": {
4457
4457
  "text": "object"
4458
4458
  },
4459
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
4459
+ "default": "{}"
4460
4460
  },
4461
4461
  {
4462
4462
  "kind": "variable",
4463
- "name": "foundationAccordionItem",
4464
- "description": "The Foundation Accordion Item",
4463
+ "name": "foundationAnchoredRegion",
4464
+ "description": "The Foundation Anchored Region",
4465
4465
  "privacy": "public"
4466
4466
  }
4467
4467
  ],
4468
4468
  "exports": [
4469
4469
  {
4470
4470
  "kind": "js",
4471
- "name": "AccordionItem",
4471
+ "name": "AnchoredRegion",
4472
4472
  "declaration": {
4473
- "name": "AccordionItem",
4474
- "module": "src/accordion-item/accordion-item.ts"
4473
+ "name": "AnchoredRegion",
4474
+ "module": "src/anchored-region/anchored-region.ts"
4475
4475
  }
4476
4476
  },
4477
4477
  {
4478
4478
  "kind": "js",
4479
- "name": "foundationAccordionItemShadowOptions",
4479
+ "name": "foundationAnchoredRegionShadowOptions",
4480
4480
  "declaration": {
4481
- "name": "foundationAccordionItemShadowOptions",
4482
- "module": "src/accordion-item/accordion-item.ts"
4481
+ "name": "foundationAnchoredRegionShadowOptions",
4482
+ "module": "src/anchored-region/anchored-region.ts"
4483
4483
  }
4484
4484
  },
4485
4485
  {
4486
4486
  "kind": "js",
4487
- "name": "defaultAccordionItemConfig",
4487
+ "name": "defaultAnchoredRegionConfig",
4488
4488
  "declaration": {
4489
- "name": "defaultAccordionItemConfig",
4490
- "module": "src/accordion-item/accordion-item.ts"
4489
+ "name": "defaultAnchoredRegionConfig",
4490
+ "module": "src/anchored-region/anchored-region.ts"
4491
4491
  }
4492
4492
  },
4493
4493
  {
4494
4494
  "kind": "js",
4495
- "name": "foundationAccordionItem",
4495
+ "name": "foundationAnchoredRegion",
4496
4496
  "declaration": {
4497
- "name": "foundationAccordionItem",
4498
- "module": "src/accordion-item/accordion-item.ts"
4497
+ "name": "foundationAnchoredRegion",
4498
+ "module": "src/anchored-region/anchored-region.ts"
4499
4499
  }
4500
4500
  }
4501
4501
  ]
4502
4502
  },
4503
4503
  {
4504
4504
  "kind": "javascript-module",
4505
- "path": "src/accordion-item/index.ts",
4505
+ "path": "src/anchored-region/index.ts",
4506
4506
  "declarations": [],
4507
4507
  "exports": [
4508
4508
  {
@@ -4510,7 +4510,7 @@
4510
4510
  "name": "*",
4511
4511
  "declaration": {
4512
4512
  "name": "*",
4513
- "package": "./accordion-item.template"
4513
+ "package": "./anchor-region.template"
4514
4514
  }
4515
4515
  },
4516
4516
  {
@@ -4518,7 +4518,7 @@
4518
4518
  "name": "*",
4519
4519
  "declaration": {
4520
4520
  "name": "*",
4521
- "package": "./accordion-item.styles"
4521
+ "package": "./anchored-region.styles"
4522
4522
  }
4523
4523
  },
4524
4524
  {
@@ -4526,7 +4526,7 @@
4526
4526
  "name": "*",
4527
4527
  "declaration": {
4528
4528
  "name": "*",
4529
- "package": "./accordion-item"
4529
+ "package": "./anchored-region"
4530
4530
  }
4531
4531
  }
4532
4532
  ]