@genesislcap/foundation-ui 15.0.0-FUI-2567.2 → 15.0.0-FUI-2571-formatters.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  "type": {
13
13
  "text": "object"
14
14
  },
15
- "default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPill,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationVerificationCodeInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
15
+ "default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPill,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
16
16
  }
17
17
  ],
18
18
  "exports": [
@@ -867,14 +867,6 @@
867
867
  "name": "getPrefix",
868
868
  "module": "./utils/dom"
869
869
  }
870
- },
871
- {
872
- "kind": "js",
873
- "name": "*",
874
- "declaration": {
875
- "name": "*",
876
- "package": "./verification-code-input"
877
- }
878
870
  }
879
871
  ]
880
872
  },
@@ -1424,42 +1416,11 @@
1424
1416
  },
1425
1417
  {
1426
1418
  "kind": "javascript-module",
1427
- "path": "src/_config/index.ts",
1428
- "declarations": [],
1429
- "exports": [
1430
- {
1431
- "kind": "js",
1432
- "name": "*",
1433
- "declaration": {
1434
- "name": "*",
1435
- "package": "./styles"
1436
- }
1437
- },
1438
- {
1439
- "kind": "js",
1440
- "name": "*",
1441
- "declaration": {
1442
- "name": "*",
1443
- "package": "./tokens"
1444
- }
1445
- },
1446
- {
1447
- "kind": "js",
1448
- "name": "*",
1449
- "declaration": {
1450
- "name": "*",
1451
- "package": "./values"
1452
- }
1453
- }
1454
- ]
1455
- },
1456
- {
1457
- "kind": "javascript-module",
1458
- "path": "src/accordion-item/accordion-item.styles.ts",
1419
+ "path": "src/accordion/accordion.styles.ts",
1459
1420
  "declarations": [
1460
1421
  {
1461
1422
  "kind": "function",
1462
- "name": "foundationAccordionItemStyles",
1423
+ "name": "foundationAccordionStyles",
1463
1424
  "return": {
1464
1425
  "type": {
1465
1426
  "text": "ElementStyles"
@@ -1484,24 +1445,24 @@
1484
1445
  "exports": [
1485
1446
  {
1486
1447
  "kind": "js",
1487
- "name": "foundationAccordionItemStyles",
1448
+ "name": "foundationAccordionStyles",
1488
1449
  "declaration": {
1489
- "name": "foundationAccordionItemStyles",
1490
- "module": "src/accordion-item/accordion-item.styles.ts"
1450
+ "name": "foundationAccordionStyles",
1451
+ "module": "src/accordion/accordion.styles.ts"
1491
1452
  }
1492
1453
  }
1493
1454
  ]
1494
1455
  },
1495
1456
  {
1496
1457
  "kind": "javascript-module",
1497
- "path": "src/accordion-item/accordion-item.template.ts",
1458
+ "path": "src/accordion/accordion.template.ts",
1498
1459
  "declarations": [
1499
1460
  {
1500
1461
  "kind": "function",
1501
- "name": "foundationAccordionItemTemplate",
1462
+ "name": "foundationAccordionTemplate",
1502
1463
  "return": {
1503
1464
  "type": {
1504
- "text": "ViewTemplate<AccordionItem>"
1465
+ "text": "ViewTemplate<Accordion>"
1505
1466
  }
1506
1467
  },
1507
1468
  "parameters": [
@@ -1523,116 +1484,662 @@
1523
1484
  "exports": [
1524
1485
  {
1525
1486
  "kind": "js",
1526
- "name": "foundationAccordionItemTemplate",
1487
+ "name": "foundationAccordionTemplate",
1527
1488
  "declaration": {
1528
- "name": "foundationAccordionItemTemplate",
1529
- "module": "src/accordion-item/accordion-item.template.ts"
1489
+ "name": "foundationAccordionTemplate",
1490
+ "module": "src/accordion/accordion.template.ts"
1530
1491
  }
1531
1492
  }
1532
1493
  ]
1533
1494
  },
1534
1495
  {
1535
1496
  "kind": "javascript-module",
1536
- "path": "src/accordion-item/accordion-item.ts",
1497
+ "path": "src/accordion/accordion.ts",
1537
1498
  "declarations": [
1538
1499
  {
1539
1500
  "kind": "class",
1540
1501
  "description": "",
1541
- "name": "AccordionItem",
1502
+ "name": "Accordion",
1542
1503
  "superclass": {
1543
- "name": "FASTAccordionItem",
1544
- "package": "@microsoft/fast-components"
1504
+ "name": "FASTAccordion",
1505
+ "package": "@microsoft/fast-foundation"
1545
1506
  },
1546
- "tagName": "%%prefix%%-accordion-item",
1507
+ "tagName": "%%prefix%%-accordion",
1547
1508
  "customElement": true,
1548
1509
  "attributes": [
1549
1510
  {
1550
- "name": "heading-level",
1511
+ "name": "expand-mode",
1551
1512
  "type": {
1552
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1513
+ "text": "AccordionExpandMode"
1553
1514
  },
1554
- "default": "2",
1555
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1556
- "fieldName": "headinglevel",
1515
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1516
+ "fieldName": "expandmode",
1557
1517
  "inheritedFrom": {
1558
- "name": "AccordionItem",
1559
- "module": "src/accordion-item/accordion-item.ts"
1518
+ "name": "Accordion",
1519
+ "module": "src/accordion/accordion.ts"
1560
1520
  }
1561
- },
1521
+ }
1522
+ ],
1523
+ "members": [
1562
1524
  {
1525
+ "kind": "field",
1526
+ "name": "expandmode",
1563
1527
  "type": {
1564
- "text": "boolean"
1528
+ "text": "AccordionExpandMode"
1565
1529
  },
1566
- "default": "false",
1567
- "description": "Expands or collapses the item.",
1568
- "fieldName": "expanded",
1530
+ "privacy": "public",
1531
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1569
1532
  "inheritedFrom": {
1570
- "name": "AccordionItem",
1571
- "module": "src/accordion-item/accordion-item.ts"
1533
+ "name": "Accordion",
1534
+ "module": "src/accordion/accordion.ts"
1572
1535
  }
1573
1536
  },
1574
1537
  {
1575
- "name": "id",
1538
+ "kind": "field",
1539
+ "name": "activeid",
1576
1540
  "type": {
1577
- "text": "string"
1541
+ "text": "string | null"
1578
1542
  },
1579
- "description": "The item ID",
1580
- "fieldName": "id",
1543
+ "privacy": "private",
1581
1544
  "inheritedFrom": {
1582
- "name": "AccordionItem",
1583
- "module": "src/accordion-item/accordion-item.ts"
1545
+ "name": "Accordion",
1546
+ "module": "src/accordion/accordion.ts"
1584
1547
  }
1585
- }
1586
- ],
1587
- "members": [
1548
+ },
1588
1549
  {
1589
1550
  "kind": "field",
1590
- "name": "headinglevel",
1551
+ "name": "activeItemIndex",
1591
1552
  "type": {
1592
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1553
+ "text": "number"
1593
1554
  },
1594
- "privacy": "public",
1595
- "default": "2",
1596
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1555
+ "privacy": "private",
1556
+ "default": "0",
1597
1557
  "inheritedFrom": {
1598
- "name": "AccordionItem",
1599
- "module": "src/accordion-item/accordion-item.ts"
1558
+ "name": "Accordion",
1559
+ "module": "src/accordion/accordion.ts"
1600
1560
  }
1601
1561
  },
1602
1562
  {
1603
1563
  "kind": "field",
1604
- "name": "expanded",
1564
+ "name": "accordionIds",
1605
1565
  "type": {
1606
- "text": "boolean"
1566
+ "text": "Array<string | null>"
1607
1567
  },
1608
- "privacy": "public",
1609
- "default": "false",
1610
- "description": "Expands or collapses the item.",
1568
+ "privacy": "private",
1611
1569
  "inheritedFrom": {
1612
- "name": "AccordionItem",
1613
- "module": "src/accordion-item/accordion-item.ts"
1570
+ "name": "Accordion",
1571
+ "module": "src/accordion/accordion.ts"
1614
1572
  }
1615
1573
  },
1616
1574
  {
1617
1575
  "kind": "field",
1618
- "name": "id",
1619
- "type": {
1620
- "text": "string"
1576
+ "name": "change",
1577
+ "privacy": "private",
1578
+ "inheritedFrom": {
1579
+ "name": "Accordion",
1580
+ "module": "src/accordion/accordion.ts"
1581
+ }
1582
+ },
1583
+ {
1584
+ "kind": "method",
1585
+ "name": "findExpandedItem",
1586
+ "privacy": "private",
1587
+ "return": {
1588
+ "type": {
1589
+ "text": "AccordionItem | null"
1590
+ }
1621
1591
  },
1622
- "privacy": "public",
1623
- "description": "The item ID",
1624
1592
  "inheritedFrom": {
1625
- "name": "AccordionItem",
1626
- "module": "src/accordion-item/accordion-item.ts"
1593
+ "name": "Accordion",
1594
+ "module": "src/accordion/accordion.ts"
1627
1595
  }
1628
1596
  },
1629
1597
  {
1630
1598
  "kind": "field",
1631
- "name": "change",
1599
+ "name": "setItems",
1632
1600
  "privacy": "private",
1633
1601
  "inheritedFrom": {
1634
- "name": "AccordionItem",
1635
- "module": "src/accordion-item/accordion-item.ts"
1602
+ "name": "Accordion",
1603
+ "module": "src/accordion/accordion.ts"
1604
+ }
1605
+ },
1606
+ {
1607
+ "kind": "method",
1608
+ "name": "resetItems",
1609
+ "privacy": "private",
1610
+ "return": {
1611
+ "type": {
1612
+ "text": "void"
1613
+ }
1614
+ },
1615
+ "inheritedFrom": {
1616
+ "name": "Accordion",
1617
+ "module": "src/accordion/accordion.ts"
1618
+ }
1619
+ },
1620
+ {
1621
+ "kind": "field",
1622
+ "name": "removeItemListeners",
1623
+ "privacy": "private",
1624
+ "inheritedFrom": {
1625
+ "name": "Accordion",
1626
+ "module": "src/accordion/accordion.ts"
1627
+ }
1628
+ },
1629
+ {
1630
+ "kind": "field",
1631
+ "name": "activeItemChange",
1632
+ "privacy": "private",
1633
+ "inheritedFrom": {
1634
+ "name": "Accordion",
1635
+ "module": "src/accordion/accordion.ts"
1636
+ }
1637
+ },
1638
+ {
1639
+ "kind": "method",
1640
+ "name": "getItemIds",
1641
+ "privacy": "private",
1642
+ "return": {
1643
+ "type": {
1644
+ "text": "Array<string | null>"
1645
+ }
1646
+ },
1647
+ "inheritedFrom": {
1648
+ "name": "Accordion",
1649
+ "module": "src/accordion/accordion.ts"
1650
+ }
1651
+ },
1652
+ {
1653
+ "kind": "method",
1654
+ "name": "isSingleExpandMode",
1655
+ "privacy": "private",
1656
+ "return": {
1657
+ "type": {
1658
+ "text": "boolean"
1659
+ }
1660
+ },
1661
+ "inheritedFrom": {
1662
+ "name": "Accordion",
1663
+ "module": "src/accordion/accordion.ts"
1664
+ }
1665
+ },
1666
+ {
1667
+ "kind": "field",
1668
+ "name": "handleItemKeyDown",
1669
+ "privacy": "private",
1670
+ "inheritedFrom": {
1671
+ "name": "Accordion",
1672
+ "module": "src/accordion/accordion.ts"
1673
+ }
1674
+ },
1675
+ {
1676
+ "kind": "field",
1677
+ "name": "handleItemFocus",
1678
+ "privacy": "private",
1679
+ "inheritedFrom": {
1680
+ "name": "Accordion",
1681
+ "module": "src/accordion/accordion.ts"
1682
+ }
1683
+ },
1684
+ {
1685
+ "kind": "method",
1686
+ "name": "adjust",
1687
+ "privacy": "private",
1688
+ "return": {
1689
+ "type": {
1690
+ "text": "void"
1691
+ }
1692
+ },
1693
+ "parameters": [
1694
+ {
1695
+ "name": "adjustment",
1696
+ "type": {
1697
+ "text": "number"
1698
+ }
1699
+ }
1700
+ ],
1701
+ "inheritedFrom": {
1702
+ "name": "Accordion",
1703
+ "module": "src/accordion/accordion.ts"
1704
+ }
1705
+ },
1706
+ {
1707
+ "kind": "method",
1708
+ "name": "focusItem",
1709
+ "privacy": "private",
1710
+ "return": {
1711
+ "type": {
1712
+ "text": "void"
1713
+ }
1714
+ },
1715
+ "inheritedFrom": {
1716
+ "name": "Accordion",
1717
+ "module": "src/accordion/accordion.ts"
1718
+ }
1719
+ },
1720
+ {
1721
+ "kind": "field",
1722
+ "name": "_presentation",
1723
+ "type": {
1724
+ "text": "ComponentPresentation | null | undefined"
1725
+ },
1726
+ "privacy": "private",
1727
+ "default": "void 0",
1728
+ "inheritedFrom": {
1729
+ "name": "FoundationElement",
1730
+ "module": "src/foundation-element/foundation-element.ts"
1731
+ }
1732
+ },
1733
+ {
1734
+ "kind": "field",
1735
+ "name": "$presentation",
1736
+ "type": {
1737
+ "text": "ComponentPresentation | null"
1738
+ },
1739
+ "privacy": "public",
1740
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1741
+ "inheritedFrom": {
1742
+ "name": "FoundationElement",
1743
+ "module": "src/foundation-element/foundation-element.ts"
1744
+ }
1745
+ },
1746
+ {
1747
+ "kind": "field",
1748
+ "name": "template",
1749
+ "type": {
1750
+ "text": "ElementViewTemplate | void | null"
1751
+ },
1752
+ "privacy": "public",
1753
+ "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.",
1754
+ "inheritedFrom": {
1755
+ "name": "FoundationElement",
1756
+ "module": "src/foundation-element/foundation-element.ts"
1757
+ }
1758
+ },
1759
+ {
1760
+ "kind": "method",
1761
+ "name": "templateChanged",
1762
+ "privacy": "protected",
1763
+ "return": {
1764
+ "type": {
1765
+ "text": "void"
1766
+ }
1767
+ },
1768
+ "inheritedFrom": {
1769
+ "name": "FoundationElement",
1770
+ "module": "src/foundation-element/foundation-element.ts"
1771
+ }
1772
+ },
1773
+ {
1774
+ "kind": "field",
1775
+ "name": "styles",
1776
+ "type": {
1777
+ "text": "ElementStyles | void | null"
1778
+ },
1779
+ "privacy": "public",
1780
+ "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.",
1781
+ "inheritedFrom": {
1782
+ "name": "FoundationElement",
1783
+ "module": "src/foundation-element/foundation-element.ts"
1784
+ }
1785
+ },
1786
+ {
1787
+ "kind": "method",
1788
+ "name": "stylesChanged",
1789
+ "privacy": "protected",
1790
+ "return": {
1791
+ "type": {
1792
+ "text": "void"
1793
+ }
1794
+ },
1795
+ "inheritedFrom": {
1796
+ "name": "FoundationElement",
1797
+ "module": "src/foundation-element/foundation-element.ts"
1798
+ }
1799
+ },
1800
+ {
1801
+ "kind": "method",
1802
+ "name": "compose",
1803
+ "privacy": "public",
1804
+ "static": true,
1805
+ "return": {
1806
+ "type": {
1807
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1808
+ }
1809
+ },
1810
+ "parameters": [
1811
+ {
1812
+ "name": "this",
1813
+ "type": {
1814
+ "text": "K"
1815
+ }
1816
+ },
1817
+ {
1818
+ "name": "elementDefinition",
1819
+ "type": {
1820
+ "text": "T"
1821
+ },
1822
+ "description": "The definition of the element to create the registry\nfunction for."
1823
+ }
1824
+ ],
1825
+ "description": "Defines an element registry function with a set of element definition defaults.",
1826
+ "inheritedFrom": {
1827
+ "name": "FoundationElement",
1828
+ "module": "src/foundation-element/foundation-element.ts"
1829
+ }
1830
+ }
1831
+ ],
1832
+ "events": [
1833
+ {
1834
+ "description": "Fires a custom 'change' event when the active item changes",
1835
+ "name": "change",
1836
+ "inheritedFrom": {
1837
+ "name": "Accordion",
1838
+ "module": "src/accordion/accordion.ts"
1839
+ }
1840
+ }
1841
+ ]
1842
+ },
1843
+ {
1844
+ "kind": "variable",
1845
+ "name": "foundationAccordionShadowOptions",
1846
+ "type": {
1847
+ "text": "ShadowRootInit"
1848
+ },
1849
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1850
+ },
1851
+ {
1852
+ "kind": "variable",
1853
+ "name": "defaultAccordionConfig",
1854
+ "type": {
1855
+ "text": "object"
1856
+ },
1857
+ "default": "{}"
1858
+ },
1859
+ {
1860
+ "kind": "variable",
1861
+ "name": "foundationAccordion",
1862
+ "description": "The Foundation Accordion",
1863
+ "privacy": "public"
1864
+ }
1865
+ ],
1866
+ "exports": [
1867
+ {
1868
+ "kind": "js",
1869
+ "name": "Accordion",
1870
+ "declaration": {
1871
+ "name": "Accordion",
1872
+ "module": "src/accordion/accordion.ts"
1873
+ }
1874
+ },
1875
+ {
1876
+ "kind": "js",
1877
+ "name": "foundationAccordionShadowOptions",
1878
+ "declaration": {
1879
+ "name": "foundationAccordionShadowOptions",
1880
+ "module": "src/accordion/accordion.ts"
1881
+ }
1882
+ },
1883
+ {
1884
+ "kind": "js",
1885
+ "name": "defaultAccordionConfig",
1886
+ "declaration": {
1887
+ "name": "defaultAccordionConfig",
1888
+ "module": "src/accordion/accordion.ts"
1889
+ }
1890
+ },
1891
+ {
1892
+ "kind": "js",
1893
+ "name": "foundationAccordion",
1894
+ "declaration": {
1895
+ "name": "foundationAccordion",
1896
+ "module": "src/accordion/accordion.ts"
1897
+ }
1898
+ }
1899
+ ]
1900
+ },
1901
+ {
1902
+ "kind": "javascript-module",
1903
+ "path": "src/accordion/index.ts",
1904
+ "declarations": [],
1905
+ "exports": [
1906
+ {
1907
+ "kind": "js",
1908
+ "name": "*",
1909
+ "declaration": {
1910
+ "name": "*",
1911
+ "package": "./accordion.template"
1912
+ }
1913
+ },
1914
+ {
1915
+ "kind": "js",
1916
+ "name": "*",
1917
+ "declaration": {
1918
+ "name": "*",
1919
+ "package": "./accordion.styles"
1920
+ }
1921
+ },
1922
+ {
1923
+ "kind": "js",
1924
+ "name": "*",
1925
+ "declaration": {
1926
+ "name": "*",
1927
+ "package": "./accordion"
1928
+ }
1929
+ }
1930
+ ]
1931
+ },
1932
+ {
1933
+ "kind": "javascript-module",
1934
+ "path": "src/_config/index.ts",
1935
+ "declarations": [],
1936
+ "exports": [
1937
+ {
1938
+ "kind": "js",
1939
+ "name": "*",
1940
+ "declaration": {
1941
+ "name": "*",
1942
+ "package": "./styles"
1943
+ }
1944
+ },
1945
+ {
1946
+ "kind": "js",
1947
+ "name": "*",
1948
+ "declaration": {
1949
+ "name": "*",
1950
+ "package": "./tokens"
1951
+ }
1952
+ },
1953
+ {
1954
+ "kind": "js",
1955
+ "name": "*",
1956
+ "declaration": {
1957
+ "name": "*",
1958
+ "package": "./values"
1959
+ }
1960
+ }
1961
+ ]
1962
+ },
1963
+ {
1964
+ "kind": "javascript-module",
1965
+ "path": "src/accordion-item/accordion-item.styles.ts",
1966
+ "declarations": [
1967
+ {
1968
+ "kind": "function",
1969
+ "name": "foundationAccordionItemStyles",
1970
+ "return": {
1971
+ "type": {
1972
+ "text": "ElementStyles"
1973
+ }
1974
+ },
1975
+ "parameters": [
1976
+ {
1977
+ "name": "context",
1978
+ "type": {
1979
+ "text": "ElementDefinitionContext"
1980
+ }
1981
+ },
1982
+ {
1983
+ "name": "definition",
1984
+ "type": {
1985
+ "text": "FoundationElementDefinition"
1986
+ }
1987
+ }
1988
+ ]
1989
+ }
1990
+ ],
1991
+ "exports": [
1992
+ {
1993
+ "kind": "js",
1994
+ "name": "foundationAccordionItemStyles",
1995
+ "declaration": {
1996
+ "name": "foundationAccordionItemStyles",
1997
+ "module": "src/accordion-item/accordion-item.styles.ts"
1998
+ }
1999
+ }
2000
+ ]
2001
+ },
2002
+ {
2003
+ "kind": "javascript-module",
2004
+ "path": "src/accordion-item/accordion-item.template.ts",
2005
+ "declarations": [
2006
+ {
2007
+ "kind": "function",
2008
+ "name": "foundationAccordionItemTemplate",
2009
+ "return": {
2010
+ "type": {
2011
+ "text": "ViewTemplate<AccordionItem>"
2012
+ }
2013
+ },
2014
+ "parameters": [
2015
+ {
2016
+ "name": "context",
2017
+ "type": {
2018
+ "text": "ElementDefinitionContext"
2019
+ }
2020
+ },
2021
+ {
2022
+ "name": "definition",
2023
+ "type": {
2024
+ "text": "FoundationElementDefinition"
2025
+ }
2026
+ }
2027
+ ]
2028
+ }
2029
+ ],
2030
+ "exports": [
2031
+ {
2032
+ "kind": "js",
2033
+ "name": "foundationAccordionItemTemplate",
2034
+ "declaration": {
2035
+ "name": "foundationAccordionItemTemplate",
2036
+ "module": "src/accordion-item/accordion-item.template.ts"
2037
+ }
2038
+ }
2039
+ ]
2040
+ },
2041
+ {
2042
+ "kind": "javascript-module",
2043
+ "path": "src/accordion-item/accordion-item.ts",
2044
+ "declarations": [
2045
+ {
2046
+ "kind": "class",
2047
+ "description": "",
2048
+ "name": "AccordionItem",
2049
+ "superclass": {
2050
+ "name": "FASTAccordionItem",
2051
+ "package": "@microsoft/fast-components"
2052
+ },
2053
+ "tagName": "%%prefix%%-accordion-item",
2054
+ "customElement": true,
2055
+ "attributes": [
2056
+ {
2057
+ "name": "heading-level",
2058
+ "type": {
2059
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2060
+ },
2061
+ "default": "2",
2062
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2063
+ "fieldName": "headinglevel",
2064
+ "inheritedFrom": {
2065
+ "name": "AccordionItem",
2066
+ "module": "src/accordion-item/accordion-item.ts"
2067
+ }
2068
+ },
2069
+ {
2070
+ "type": {
2071
+ "text": "boolean"
2072
+ },
2073
+ "default": "false",
2074
+ "description": "Expands or collapses the item.",
2075
+ "fieldName": "expanded",
2076
+ "inheritedFrom": {
2077
+ "name": "AccordionItem",
2078
+ "module": "src/accordion-item/accordion-item.ts"
2079
+ }
2080
+ },
2081
+ {
2082
+ "name": "id",
2083
+ "type": {
2084
+ "text": "string"
2085
+ },
2086
+ "description": "The item ID",
2087
+ "fieldName": "id",
2088
+ "inheritedFrom": {
2089
+ "name": "AccordionItem",
2090
+ "module": "src/accordion-item/accordion-item.ts"
2091
+ }
2092
+ }
2093
+ ],
2094
+ "members": [
2095
+ {
2096
+ "kind": "field",
2097
+ "name": "headinglevel",
2098
+ "type": {
2099
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2100
+ },
2101
+ "privacy": "public",
2102
+ "default": "2",
2103
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2104
+ "inheritedFrom": {
2105
+ "name": "AccordionItem",
2106
+ "module": "src/accordion-item/accordion-item.ts"
2107
+ }
2108
+ },
2109
+ {
2110
+ "kind": "field",
2111
+ "name": "expanded",
2112
+ "type": {
2113
+ "text": "boolean"
2114
+ },
2115
+ "privacy": "public",
2116
+ "default": "false",
2117
+ "description": "Expands or collapses the item.",
2118
+ "inheritedFrom": {
2119
+ "name": "AccordionItem",
2120
+ "module": "src/accordion-item/accordion-item.ts"
2121
+ }
2122
+ },
2123
+ {
2124
+ "kind": "field",
2125
+ "name": "id",
2126
+ "type": {
2127
+ "text": "string"
2128
+ },
2129
+ "privacy": "public",
2130
+ "description": "The item ID",
2131
+ "inheritedFrom": {
2132
+ "name": "AccordionItem",
2133
+ "module": "src/accordion-item/accordion-item.ts"
2134
+ }
2135
+ },
2136
+ {
2137
+ "kind": "field",
2138
+ "name": "change",
2139
+ "privacy": "private",
2140
+ "inheritedFrom": {
2141
+ "name": "AccordionItem",
2142
+ "module": "src/accordion-item/accordion-item.ts"
1636
2143
  }
1637
2144
  },
1638
2145
  {
@@ -3466,11 +3973,11 @@
3466
3973
  },
3467
3974
  {
3468
3975
  "kind": "javascript-module",
3469
- "path": "src/accordion/accordion.styles.ts",
3976
+ "path": "src/anchor/anchor.styles.ts",
3470
3977
  "declarations": [
3471
3978
  {
3472
3979
  "kind": "function",
3473
- "name": "foundationAccordionStyles",
3980
+ "name": "foundationAnchorStyles",
3474
3981
  "return": {
3475
3982
  "type": {
3476
3983
  "text": "ElementStyles"
@@ -3495,24 +4002,24 @@
3495
4002
  "exports": [
3496
4003
  {
3497
4004
  "kind": "js",
3498
- "name": "foundationAccordionStyles",
4005
+ "name": "foundationAnchorStyles",
3499
4006
  "declaration": {
3500
- "name": "foundationAccordionStyles",
3501
- "module": "src/accordion/accordion.styles.ts"
4007
+ "name": "foundationAnchorStyles",
4008
+ "module": "src/anchor/anchor.styles.ts"
3502
4009
  }
3503
4010
  }
3504
4011
  ]
3505
4012
  },
3506
4013
  {
3507
4014
  "kind": "javascript-module",
3508
- "path": "src/accordion/accordion.template.ts",
4015
+ "path": "src/anchor/anchor.template.ts",
3509
4016
  "declarations": [
3510
4017
  {
3511
4018
  "kind": "function",
3512
- "name": "foundationAccordionTemplate",
4019
+ "name": "foundationAnchorTemplate",
3513
4020
  "return": {
3514
4021
  "type": {
3515
- "text": "ViewTemplate<Accordion>"
4022
+ "text": "ViewTemplate<Anchor>"
3516
4023
  }
3517
4024
  },
3518
4025
  "parameters": [
@@ -3534,237 +4041,252 @@
3534
4041
  "exports": [
3535
4042
  {
3536
4043
  "kind": "js",
3537
- "name": "foundationAccordionTemplate",
4044
+ "name": "foundationAnchorTemplate",
3538
4045
  "declaration": {
3539
- "name": "foundationAccordionTemplate",
3540
- "module": "src/accordion/accordion.template.ts"
4046
+ "name": "foundationAnchorTemplate",
4047
+ "module": "src/anchor/anchor.template.ts"
3541
4048
  }
3542
4049
  }
3543
4050
  ]
3544
4051
  },
3545
4052
  {
3546
4053
  "kind": "javascript-module",
3547
- "path": "src/accordion/accordion.ts",
4054
+ "path": "src/anchor/anchor.ts",
3548
4055
  "declarations": [
3549
4056
  {
3550
4057
  "kind": "class",
3551
4058
  "description": "",
3552
- "name": "Accordion",
4059
+ "name": "Anchor",
3553
4060
  "superclass": {
3554
- "name": "FASTAccordion",
3555
- "package": "@microsoft/fast-foundation"
4061
+ "name": "FASTAnchor",
4062
+ "package": "@microsoft/fast-components"
3556
4063
  },
3557
- "tagName": "%%prefix%%-accordion",
4064
+ "tagName": "%%prefix%%-anchor",
3558
4065
  "customElement": true,
3559
4066
  "attributes": [
3560
4067
  {
3561
- "name": "expand-mode",
4068
+ "name": "download",
3562
4069
  "type": {
3563
- "text": "AccordionExpandMode"
4070
+ "text": "string"
3564
4071
  },
3565
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3566
- "fieldName": "expandmode",
4072
+ "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.",
4073
+ "fieldName": "download",
3567
4074
  "inheritedFrom": {
3568
- "name": "Accordion",
3569
- "module": "src/accordion/accordion.ts"
4075
+ "name": "Anchor",
4076
+ "module": "src/anchor/anchor.ts"
3570
4077
  }
3571
- }
3572
- ],
3573
- "members": [
4078
+ },
3574
4079
  {
3575
- "kind": "field",
3576
- "name": "expandmode",
4080
+ "name": "href",
3577
4081
  "type": {
3578
- "text": "AccordionExpandMode"
4082
+ "text": "string"
3579
4083
  },
3580
- "privacy": "public",
3581
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
4084
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4085
+ "fieldName": "href",
3582
4086
  "inheritedFrom": {
3583
- "name": "Accordion",
3584
- "module": "src/accordion/accordion.ts"
4087
+ "name": "Anchor",
4088
+ "module": "src/anchor/anchor.ts"
3585
4089
  }
3586
4090
  },
3587
4091
  {
3588
- "kind": "field",
3589
- "name": "activeid",
4092
+ "name": "hreflang",
3590
4093
  "type": {
3591
- "text": "string | null"
4094
+ "text": "string"
3592
4095
  },
3593
- "privacy": "private",
4096
+ "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.",
4097
+ "fieldName": "hreflang",
3594
4098
  "inheritedFrom": {
3595
- "name": "Accordion",
3596
- "module": "src/accordion/accordion.ts"
4099
+ "name": "Anchor",
4100
+ "module": "src/anchor/anchor.ts"
3597
4101
  }
3598
4102
  },
3599
4103
  {
3600
- "kind": "field",
3601
- "name": "activeItemIndex",
4104
+ "name": "ping",
3602
4105
  "type": {
3603
- "text": "number"
4106
+ "text": "string"
3604
4107
  },
3605
- "privacy": "private",
3606
- "default": "0",
4108
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4109
+ "fieldName": "ping",
3607
4110
  "inheritedFrom": {
3608
- "name": "Accordion",
3609
- "module": "src/accordion/accordion.ts"
4111
+ "name": "Anchor",
4112
+ "module": "src/anchor/anchor.ts"
3610
4113
  }
3611
4114
  },
3612
4115
  {
3613
- "kind": "field",
3614
- "name": "accordionIds",
4116
+ "name": "referrerpolicy",
3615
4117
  "type": {
3616
- "text": "Array<string | null>"
4118
+ "text": "string"
3617
4119
  },
3618
- "privacy": "private",
4120
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4121
+ "fieldName": "referrerpolicy",
3619
4122
  "inheritedFrom": {
3620
- "name": "Accordion",
3621
- "module": "src/accordion/accordion.ts"
4123
+ "name": "Anchor",
4124
+ "module": "src/anchor/anchor.ts"
3622
4125
  }
3623
4126
  },
3624
4127
  {
3625
- "kind": "field",
3626
- "name": "change",
3627
- "privacy": "private",
4128
+ "name": "rel",
4129
+ "type": {
4130
+ "text": "string"
4131
+ },
4132
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4133
+ "fieldName": "rel",
3628
4134
  "inheritedFrom": {
3629
- "name": "Accordion",
3630
- "module": "src/accordion/accordion.ts"
4135
+ "name": "Anchor",
4136
+ "module": "src/anchor/anchor.ts"
3631
4137
  }
3632
4138
  },
3633
4139
  {
3634
- "kind": "method",
3635
- "name": "findExpandedItem",
3636
- "privacy": "private",
3637
- "return": {
3638
- "type": {
3639
- "text": "AccordionItem | null"
3640
- }
4140
+ "name": "target",
4141
+ "type": {
4142
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
3641
4143
  },
4144
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4145
+ "fieldName": "target",
3642
4146
  "inheritedFrom": {
3643
- "name": "Accordion",
3644
- "module": "src/accordion/accordion.ts"
4147
+ "name": "Anchor",
4148
+ "module": "src/anchor/anchor.ts"
3645
4149
  }
3646
4150
  },
4151
+ {
4152
+ "name": "type",
4153
+ "type": {
4154
+ "text": "string"
4155
+ },
4156
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4157
+ "fieldName": "type",
4158
+ "inheritedFrom": {
4159
+ "name": "Anchor",
4160
+ "module": "src/anchor/anchor.ts"
4161
+ }
4162
+ }
4163
+ ],
4164
+ "members": [
3647
4165
  {
3648
4166
  "kind": "field",
3649
- "name": "setItems",
3650
- "privacy": "private",
4167
+ "name": "download",
4168
+ "type": {
4169
+ "text": "string"
4170
+ },
4171
+ "privacy": "public",
4172
+ "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.",
3651
4173
  "inheritedFrom": {
3652
- "name": "Accordion",
3653
- "module": "src/accordion/accordion.ts"
4174
+ "name": "Anchor",
4175
+ "module": "src/anchor/anchor.ts"
3654
4176
  }
3655
4177
  },
3656
4178
  {
3657
- "kind": "method",
3658
- "name": "resetItems",
3659
- "privacy": "private",
3660
- "return": {
3661
- "type": {
3662
- "text": "void"
3663
- }
4179
+ "kind": "field",
4180
+ "name": "href",
4181
+ "type": {
4182
+ "text": "string"
3664
4183
  },
4184
+ "privacy": "public",
4185
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3665
4186
  "inheritedFrom": {
3666
- "name": "Accordion",
3667
- "module": "src/accordion/accordion.ts"
4187
+ "name": "Anchor",
4188
+ "module": "src/anchor/anchor.ts"
3668
4189
  }
3669
4190
  },
3670
4191
  {
3671
4192
  "kind": "field",
3672
- "name": "removeItemListeners",
3673
- "privacy": "private",
4193
+ "name": "hreflang",
4194
+ "type": {
4195
+ "text": "string"
4196
+ },
4197
+ "privacy": "public",
4198
+ "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.",
3674
4199
  "inheritedFrom": {
3675
- "name": "Accordion",
3676
- "module": "src/accordion/accordion.ts"
4200
+ "name": "Anchor",
4201
+ "module": "src/anchor/anchor.ts"
3677
4202
  }
3678
4203
  },
3679
4204
  {
3680
4205
  "kind": "field",
3681
- "name": "activeItemChange",
3682
- "privacy": "private",
4206
+ "name": "ping",
4207
+ "type": {
4208
+ "text": "string"
4209
+ },
4210
+ "privacy": "public",
4211
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3683
4212
  "inheritedFrom": {
3684
- "name": "Accordion",
3685
- "module": "src/accordion/accordion.ts"
4213
+ "name": "Anchor",
4214
+ "module": "src/anchor/anchor.ts"
3686
4215
  }
3687
4216
  },
3688
4217
  {
3689
- "kind": "method",
3690
- "name": "getItemIds",
3691
- "privacy": "private",
3692
- "return": {
3693
- "type": {
3694
- "text": "Array<string | null>"
3695
- }
4218
+ "kind": "field",
4219
+ "name": "referrerpolicy",
4220
+ "type": {
4221
+ "text": "string"
3696
4222
  },
4223
+ "privacy": "public",
4224
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3697
4225
  "inheritedFrom": {
3698
- "name": "Accordion",
3699
- "module": "src/accordion/accordion.ts"
4226
+ "name": "Anchor",
4227
+ "module": "src/anchor/anchor.ts"
3700
4228
  }
3701
4229
  },
3702
4230
  {
3703
- "kind": "method",
3704
- "name": "isSingleExpandMode",
3705
- "privacy": "private",
3706
- "return": {
3707
- "type": {
3708
- "text": "boolean"
3709
- }
4231
+ "kind": "field",
4232
+ "name": "rel",
4233
+ "type": {
4234
+ "text": "string"
3710
4235
  },
4236
+ "privacy": "public",
4237
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3711
4238
  "inheritedFrom": {
3712
- "name": "Accordion",
3713
- "module": "src/accordion/accordion.ts"
4239
+ "name": "Anchor",
4240
+ "module": "src/anchor/anchor.ts"
3714
4241
  }
3715
4242
  },
3716
4243
  {
3717
4244
  "kind": "field",
3718
- "name": "handleItemKeyDown",
3719
- "privacy": "private",
4245
+ "name": "target",
4246
+ "type": {
4247
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
4248
+ },
4249
+ "privacy": "public",
4250
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3720
4251
  "inheritedFrom": {
3721
- "name": "Accordion",
3722
- "module": "src/accordion/accordion.ts"
4252
+ "name": "Anchor",
4253
+ "module": "src/anchor/anchor.ts"
3723
4254
  }
3724
4255
  },
3725
4256
  {
3726
4257
  "kind": "field",
3727
- "name": "handleItemFocus",
3728
- "privacy": "private",
4258
+ "name": "type",
4259
+ "type": {
4260
+ "text": "string"
4261
+ },
4262
+ "privacy": "public",
4263
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3729
4264
  "inheritedFrom": {
3730
- "name": "Accordion",
3731
- "module": "src/accordion/accordion.ts"
4265
+ "name": "Anchor",
4266
+ "module": "src/anchor/anchor.ts"
3732
4267
  }
3733
4268
  },
3734
4269
  {
3735
- "kind": "method",
3736
- "name": "adjust",
3737
- "privacy": "private",
3738
- "return": {
3739
- "type": {
3740
- "text": "void"
3741
- }
4270
+ "kind": "field",
4271
+ "name": "control",
4272
+ "type": {
4273
+ "text": "HTMLAnchorElement | undefined"
3742
4274
  },
3743
- "parameters": [
3744
- {
3745
- "name": "adjustment",
3746
- "type": {
3747
- "text": "number"
3748
- }
3749
- }
3750
- ],
4275
+ "privacy": "public",
4276
+ "description": "References the root element",
3751
4277
  "inheritedFrom": {
3752
- "name": "Accordion",
3753
- "module": "src/accordion/accordion.ts"
4278
+ "name": "Anchor",
4279
+ "module": "src/anchor/anchor.ts"
3754
4280
  }
3755
4281
  },
3756
4282
  {
3757
- "kind": "method",
3758
- "name": "focusItem",
4283
+ "kind": "field",
4284
+ "name": "handleUnsupportedDelegatesFocus",
3759
4285
  "privacy": "private",
3760
- "return": {
3761
- "type": {
3762
- "text": "void"
3763
- }
3764
- },
4286
+ "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",
3765
4287
  "inheritedFrom": {
3766
- "name": "Accordion",
3767
- "module": "src/accordion/accordion.ts"
4288
+ "name": "Anchor",
4289
+ "module": "src/anchor/anchor.ts"
3768
4290
  }
3769
4291
  },
3770
4292
  {
@@ -3878,21 +4400,11 @@
3878
4400
  "module": "src/foundation-element/foundation-element.ts"
3879
4401
  }
3880
4402
  }
3881
- ],
3882
- "events": [
3883
- {
3884
- "description": "Fires a custom 'change' event when the active item changes",
3885
- "name": "change",
3886
- "inheritedFrom": {
3887
- "name": "Accordion",
3888
- "module": "src/accordion/accordion.ts"
3889
- }
3890
- }
3891
4403
  ]
3892
4404
  },
3893
4405
  {
3894
4406
  "kind": "variable",
3895
- "name": "foundationAccordionShadowOptions",
4407
+ "name": "foundationAnchorShadowOptions",
3896
4408
  "type": {
3897
4409
  "text": "ShadowRootInit"
3898
4410
  },
@@ -3900,7 +4412,7 @@
3900
4412
  },
3901
4413
  {
3902
4414
  "kind": "variable",
3903
- "name": "defaultAccordionConfig",
4415
+ "name": "defaultAnchorConfig",
3904
4416
  "type": {
3905
4417
  "text": "object"
3906
4418
  },
@@ -3908,49 +4420,49 @@
3908
4420
  },
3909
4421
  {
3910
4422
  "kind": "variable",
3911
- "name": "foundationAccordion",
3912
- "description": "The Foundation Accordion",
4423
+ "name": "foundationAnchor",
4424
+ "description": "The Foundation Anchor",
3913
4425
  "privacy": "public"
3914
4426
  }
3915
4427
  ],
3916
4428
  "exports": [
3917
4429
  {
3918
4430
  "kind": "js",
3919
- "name": "Accordion",
4431
+ "name": "Anchor",
3920
4432
  "declaration": {
3921
- "name": "Accordion",
3922
- "module": "src/accordion/accordion.ts"
4433
+ "name": "Anchor",
4434
+ "module": "src/anchor/anchor.ts"
3923
4435
  }
3924
4436
  },
3925
4437
  {
3926
4438
  "kind": "js",
3927
- "name": "foundationAccordionShadowOptions",
4439
+ "name": "foundationAnchorShadowOptions",
3928
4440
  "declaration": {
3929
- "name": "foundationAccordionShadowOptions",
3930
- "module": "src/accordion/accordion.ts"
4441
+ "name": "foundationAnchorShadowOptions",
4442
+ "module": "src/anchor/anchor.ts"
3931
4443
  }
3932
4444
  },
3933
4445
  {
3934
4446
  "kind": "js",
3935
- "name": "defaultAccordionConfig",
4447
+ "name": "defaultAnchorConfig",
3936
4448
  "declaration": {
3937
- "name": "defaultAccordionConfig",
3938
- "module": "src/accordion/accordion.ts"
4449
+ "name": "defaultAnchorConfig",
4450
+ "module": "src/anchor/anchor.ts"
3939
4451
  }
3940
4452
  },
3941
4453
  {
3942
4454
  "kind": "js",
3943
- "name": "foundationAccordion",
4455
+ "name": "foundationAnchor",
3944
4456
  "declaration": {
3945
- "name": "foundationAccordion",
3946
- "module": "src/accordion/accordion.ts"
4457
+ "name": "foundationAnchor",
4458
+ "module": "src/anchor/anchor.ts"
3947
4459
  }
3948
4460
  }
3949
4461
  ]
3950
4462
  },
3951
4463
  {
3952
4464
  "kind": "javascript-module",
3953
- "path": "src/accordion/index.ts",
4465
+ "path": "src/anchor/index.ts",
3954
4466
  "declarations": [],
3955
4467
  "exports": [
3956
4468
  {
@@ -3958,7 +4470,7 @@
3958
4470
  "name": "*",
3959
4471
  "declaration": {
3960
4472
  "name": "*",
3961
- "package": "./accordion.template"
4473
+ "package": "./anchor.template"
3962
4474
  }
3963
4475
  },
3964
4476
  {
@@ -3966,7 +4478,7 @@
3966
4478
  "name": "*",
3967
4479
  "declaration": {
3968
4480
  "name": "*",
3969
- "package": "./accordion.styles"
4481
+ "package": "./anchor.styles"
3970
4482
  }
3971
4483
  },
3972
4484
  {
@@ -3974,21 +4486,21 @@
3974
4486
  "name": "*",
3975
4487
  "declaration": {
3976
4488
  "name": "*",
3977
- "package": "./accordion"
4489
+ "package": "./anchor"
3978
4490
  }
3979
4491
  }
3980
4492
  ]
3981
4493
  },
3982
4494
  {
3983
4495
  "kind": "javascript-module",
3984
- "path": "src/anchor/anchor.styles.ts",
4496
+ "path": "src/anchored-region/anchor-region.template.ts",
3985
4497
  "declarations": [
3986
4498
  {
3987
4499
  "kind": "function",
3988
- "name": "foundationAnchorStyles",
4500
+ "name": "foundationAnchoredRegionTemplate",
3989
4501
  "return": {
3990
4502
  "type": {
3991
- "text": "ElementStyles"
4503
+ "text": "ViewTemplate<AnchoredRegion>"
3992
4504
  }
3993
4505
  },
3994
4506
  "parameters": [
@@ -4010,24 +4522,24 @@
4010
4522
  "exports": [
4011
4523
  {
4012
4524
  "kind": "js",
4013
- "name": "foundationAnchorStyles",
4525
+ "name": "foundationAnchoredRegionTemplate",
4014
4526
  "declaration": {
4015
- "name": "foundationAnchorStyles",
4016
- "module": "src/anchor/anchor.styles.ts"
4527
+ "name": "foundationAnchoredRegionTemplate",
4528
+ "module": "src/anchored-region/anchor-region.template.ts"
4017
4529
  }
4018
4530
  }
4019
4531
  ]
4020
4532
  },
4021
4533
  {
4022
4534
  "kind": "javascript-module",
4023
- "path": "src/anchor/anchor.template.ts",
4535
+ "path": "src/anchored-region/anchored-region.styles.ts",
4024
4536
  "declarations": [
4025
4537
  {
4026
4538
  "kind": "function",
4027
- "name": "foundationAnchorTemplate",
4539
+ "name": "foundationAnchoredRegionStyles",
4028
4540
  "return": {
4029
4541
  "type": {
4030
- "text": "ViewTemplate<Anchor>"
4542
+ "text": "ElementStyles"
4031
4543
  }
4032
4544
  },
4033
4545
  "parameters": [
@@ -4049,1017 +4561,497 @@
4049
4561
  "exports": [
4050
4562
  {
4051
4563
  "kind": "js",
4052
- "name": "foundationAnchorTemplate",
4564
+ "name": "foundationAnchoredRegionStyles",
4053
4565
  "declaration": {
4054
- "name": "foundationAnchorTemplate",
4055
- "module": "src/anchor/anchor.template.ts"
4566
+ "name": "foundationAnchoredRegionStyles",
4567
+ "module": "src/anchored-region/anchored-region.styles.ts"
4056
4568
  }
4057
4569
  }
4058
4570
  ]
4059
4571
  },
4060
4572
  {
4061
4573
  "kind": "javascript-module",
4062
- "path": "src/anchor/anchor.ts",
4574
+ "path": "src/anchored-region/anchored-region.ts",
4063
4575
  "declarations": [
4064
4576
  {
4065
4577
  "kind": "class",
4066
4578
  "description": "",
4067
- "name": "Anchor",
4579
+ "name": "AnchoredRegion",
4068
4580
  "superclass": {
4069
- "name": "FASTAnchor",
4581
+ "name": "FASTAnchoredRegion",
4070
4582
  "package": "@microsoft/fast-components"
4071
4583
  },
4072
- "tagName": "%%prefix%%-anchor",
4584
+ "tagName": "%%prefix%%-anchored-region",
4073
4585
  "customElement": true,
4074
4586
  "attributes": [
4075
4587
  {
4076
- "name": "download",
4588
+ "name": "anchor",
4077
4589
  "type": {
4078
4590
  "text": "string"
4079
4591
  },
4080
- "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.",
4081
- "fieldName": "download",
4592
+ "default": "\"\"",
4593
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
4594
+ "fieldName": "anchor",
4082
4595
  "inheritedFrom": {
4083
- "name": "Anchor",
4084
- "module": "src/anchor/anchor.ts"
4596
+ "name": "AnchoredRegion",
4597
+ "module": "src/anchored-region/anchored-region.ts"
4085
4598
  }
4086
4599
  },
4087
4600
  {
4088
- "name": "href",
4601
+ "name": "viewport",
4089
4602
  "type": {
4090
4603
  "text": "string"
4091
4604
  },
4092
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4093
- "fieldName": "href",
4605
+ "default": "\"\"",
4606
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
4607
+ "fieldName": "viewport",
4094
4608
  "inheritedFrom": {
4095
- "name": "Anchor",
4096
- "module": "src/anchor/anchor.ts"
4609
+ "name": "AnchoredRegion",
4610
+ "module": "src/anchored-region/anchored-region.ts"
4097
4611
  }
4098
4612
  },
4099
4613
  {
4100
- "name": "hreflang",
4614
+ "name": "horizontal-positioning-mode",
4101
4615
  "type": {
4102
- "text": "string"
4616
+ "text": "AxisPositioningMode"
4103
4617
  },
4104
- "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.",
4105
- "fieldName": "hreflang",
4618
+ "default": "\"uncontrolled\"",
4619
+ "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",
4620
+ "fieldName": "horizontalPositioningMode",
4106
4621
  "inheritedFrom": {
4107
- "name": "Anchor",
4108
- "module": "src/anchor/anchor.ts"
4622
+ "name": "AnchoredRegion",
4623
+ "module": "src/anchored-region/anchored-region.ts"
4109
4624
  }
4110
4625
  },
4111
4626
  {
4112
- "name": "ping",
4627
+ "name": "horizontal-default-position",
4113
4628
  "type": {
4114
- "text": "string"
4629
+ "text": "HorizontalPosition"
4115
4630
  },
4116
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4117
- "fieldName": "ping",
4631
+ "default": "\"unset\"",
4632
+ "description": "The default horizontal position of the region relative to the anchor element",
4633
+ "fieldName": "horizontalDefaultPosition",
4118
4634
  "inheritedFrom": {
4119
- "name": "Anchor",
4120
- "module": "src/anchor/anchor.ts"
4635
+ "name": "AnchoredRegion",
4636
+ "module": "src/anchored-region/anchored-region.ts"
4121
4637
  }
4122
4638
  },
4123
4639
  {
4124
- "name": "referrerpolicy",
4640
+ "name": "horizontal-viewport-lock",
4125
4641
  "type": {
4126
- "text": "string"
4642
+ "text": "boolean"
4127
4643
  },
4128
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4129
- "fieldName": "referrerpolicy",
4644
+ "default": "false",
4645
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
4646
+ "fieldName": "horizontalViewportLock",
4130
4647
  "inheritedFrom": {
4131
- "name": "Anchor",
4132
- "module": "src/anchor/anchor.ts"
4648
+ "name": "AnchoredRegion",
4649
+ "module": "src/anchored-region/anchored-region.ts"
4133
4650
  }
4134
4651
  },
4135
4652
  {
4136
- "name": "rel",
4653
+ "name": "horizontal-inset",
4137
4654
  "type": {
4138
- "text": "string"
4655
+ "text": "boolean"
4139
4656
  },
4140
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4141
- "fieldName": "rel",
4657
+ "default": "false",
4658
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
4659
+ "fieldName": "horizontalInset",
4142
4660
  "inheritedFrom": {
4143
- "name": "Anchor",
4144
- "module": "src/anchor/anchor.ts"
4661
+ "name": "AnchoredRegion",
4662
+ "module": "src/anchored-region/anchored-region.ts"
4145
4663
  }
4146
4664
  },
4147
4665
  {
4148
- "name": "target",
4666
+ "name": "horizontal-threshold",
4149
4667
  "type": {
4150
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
4668
+ "text": "number"
4151
4669
  },
4152
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4153
- "fieldName": "target",
4670
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
4671
+ "fieldName": "horizontalThreshold",
4154
4672
  "inheritedFrom": {
4155
- "name": "Anchor",
4156
- "module": "src/anchor/anchor.ts"
4673
+ "name": "AnchoredRegion",
4674
+ "module": "src/anchored-region/anchored-region.ts"
4157
4675
  }
4158
4676
  },
4159
4677
  {
4160
- "name": "type",
4678
+ "name": "horizontal-scaling",
4161
4679
  "type": {
4162
- "text": "string"
4680
+ "text": "AxisScalingMode"
4163
4681
  },
4164
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
4165
- "fieldName": "type",
4682
+ "default": "\"content\"",
4683
+ "description": "Defines how the width of the region is calculated",
4684
+ "fieldName": "horizontalScaling",
4166
4685
  "inheritedFrom": {
4167
- "name": "Anchor",
4168
- "module": "src/anchor/anchor.ts"
4686
+ "name": "AnchoredRegion",
4687
+ "module": "src/anchored-region/anchored-region.ts"
4169
4688
  }
4170
- }
4171
- ],
4172
- "members": [
4689
+ },
4173
4690
  {
4174
- "kind": "field",
4175
- "name": "download",
4691
+ "name": "vertical-positioning-mode",
4176
4692
  "type": {
4177
- "text": "string"
4693
+ "text": "AxisPositioningMode"
4178
4694
  },
4179
- "privacy": "public",
4180
- "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.",
4695
+ "default": "\"uncontrolled\"",
4696
+ "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",
4697
+ "fieldName": "verticalPositioningMode",
4181
4698
  "inheritedFrom": {
4182
- "name": "Anchor",
4183
- "module": "src/anchor/anchor.ts"
4699
+ "name": "AnchoredRegion",
4700
+ "module": "src/anchored-region/anchored-region.ts"
4184
4701
  }
4185
4702
  },
4186
4703
  {
4187
- "kind": "field",
4188
- "name": "href",
4704
+ "name": "vertical-default-position",
4189
4705
  "type": {
4190
- "text": "string"
4706
+ "text": "VerticalPosition"
4191
4707
  },
4192
- "privacy": "public",
4193
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4708
+ "default": "\"unset\"",
4709
+ "description": "The default vertical position of the region relative to the anchor element",
4710
+ "fieldName": "verticalDefaultPosition",
4194
4711
  "inheritedFrom": {
4195
- "name": "Anchor",
4196
- "module": "src/anchor/anchor.ts"
4712
+ "name": "AnchoredRegion",
4713
+ "module": "src/anchored-region/anchored-region.ts"
4197
4714
  }
4198
4715
  },
4199
4716
  {
4200
- "kind": "field",
4201
- "name": "hreflang",
4717
+ "name": "vertical-viewport-lock",
4202
4718
  "type": {
4203
- "text": "string"
4719
+ "text": "boolean"
4204
4720
  },
4205
- "privacy": "public",
4206
- "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.",
4207
- "inheritedFrom": {
4208
- "name": "Anchor",
4209
- "module": "src/anchor/anchor.ts"
4721
+ "default": "false",
4722
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
4723
+ "fieldName": "verticalViewportLock",
4724
+ "inheritedFrom": {
4725
+ "name": "AnchoredRegion",
4726
+ "module": "src/anchored-region/anchored-region.ts"
4210
4727
  }
4211
4728
  },
4212
4729
  {
4213
- "kind": "field",
4214
- "name": "ping",
4730
+ "name": "vertical-inset",
4215
4731
  "type": {
4216
- "text": "string"
4732
+ "text": "boolean"
4217
4733
  },
4218
- "privacy": "public",
4219
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4734
+ "default": "false",
4735
+ "description": "Whether the region overlaps the anchor on the vertical axis",
4736
+ "fieldName": "verticalInset",
4220
4737
  "inheritedFrom": {
4221
- "name": "Anchor",
4222
- "module": "src/anchor/anchor.ts"
4738
+ "name": "AnchoredRegion",
4739
+ "module": "src/anchored-region/anchored-region.ts"
4223
4740
  }
4224
4741
  },
4225
4742
  {
4226
- "kind": "field",
4227
- "name": "referrerpolicy",
4743
+ "name": "vertical-threshold",
4228
4744
  "type": {
4229
- "text": "string"
4745
+ "text": "number"
4230
4746
  },
4231
- "privacy": "public",
4232
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4747
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
4748
+ "fieldName": "verticalThreshold",
4233
4749
  "inheritedFrom": {
4234
- "name": "Anchor",
4235
- "module": "src/anchor/anchor.ts"
4750
+ "name": "AnchoredRegion",
4751
+ "module": "src/anchored-region/anchored-region.ts"
4236
4752
  }
4237
4753
  },
4238
4754
  {
4239
- "kind": "field",
4240
- "name": "rel",
4755
+ "name": "vertical-scaling",
4241
4756
  "type": {
4242
- "text": "string"
4757
+ "text": "AxisScalingMode"
4243
4758
  },
4244
- "privacy": "public",
4245
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4759
+ "default": "\"content\"",
4760
+ "description": "Defines how the height of the region is calculated",
4761
+ "fieldName": "verticalScaling",
4246
4762
  "inheritedFrom": {
4247
- "name": "Anchor",
4248
- "module": "src/anchor/anchor.ts"
4763
+ "name": "AnchoredRegion",
4764
+ "module": "src/anchored-region/anchored-region.ts"
4249
4765
  }
4250
4766
  },
4251
4767
  {
4252
- "kind": "field",
4253
- "name": "target",
4768
+ "name": "fixed-placement",
4254
4769
  "type": {
4255
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
4770
+ "text": "boolean"
4256
4771
  },
4257
- "privacy": "public",
4258
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4772
+ "default": "false",
4773
+ "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,",
4774
+ "fieldName": "fixedPlacement",
4259
4775
  "inheritedFrom": {
4260
- "name": "Anchor",
4261
- "module": "src/anchor/anchor.ts"
4776
+ "name": "AnchoredRegion",
4777
+ "module": "src/anchored-region/anchored-region.ts"
4262
4778
  }
4263
4779
  },
4264
4780
  {
4265
- "kind": "field",
4266
- "name": "type",
4781
+ "name": "auto-update-mode",
4267
4782
  "type": {
4268
- "text": "string"
4783
+ "text": "AutoUpdateMode"
4269
4784
  },
4270
- "privacy": "public",
4271
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
4785
+ "default": "\"anchor\"",
4786
+ "description": "Defines what triggers the anchored region to revaluate positioning",
4787
+ "fieldName": "autoUpdateMode",
4272
4788
  "inheritedFrom": {
4273
- "name": "Anchor",
4274
- "module": "src/anchor/anchor.ts"
4789
+ "name": "AnchoredRegion",
4790
+ "module": "src/anchored-region/anchored-region.ts"
4275
4791
  }
4276
- },
4792
+ }
4793
+ ],
4794
+ "members": [
4277
4795
  {
4278
4796
  "kind": "field",
4279
- "name": "control",
4797
+ "name": "anchor",
4280
4798
  "type": {
4281
- "text": "HTMLAnchorElement | undefined"
4799
+ "text": "string"
4282
4800
  },
4283
4801
  "privacy": "public",
4284
- "description": "References the root element",
4802
+ "default": "\"\"",
4803
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
4285
4804
  "inheritedFrom": {
4286
- "name": "Anchor",
4287
- "module": "src/anchor/anchor.ts"
4805
+ "name": "AnchoredRegion",
4806
+ "module": "src/anchored-region/anchored-region.ts"
4288
4807
  }
4289
4808
  },
4290
4809
  {
4291
- "kind": "field",
4292
- "name": "handleUnsupportedDelegatesFocus",
4810
+ "kind": "method",
4811
+ "name": "anchorChanged",
4293
4812
  "privacy": "private",
4294
- "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",
4813
+ "return": {
4814
+ "type": {
4815
+ "text": "void"
4816
+ }
4817
+ },
4295
4818
  "inheritedFrom": {
4296
- "name": "Anchor",
4297
- "module": "src/anchor/anchor.ts"
4819
+ "name": "AnchoredRegion",
4820
+ "module": "src/anchored-region/anchored-region.ts"
4298
4821
  }
4299
4822
  },
4300
4823
  {
4301
4824
  "kind": "field",
4302
- "name": "_presentation",
4825
+ "name": "viewport",
4303
4826
  "type": {
4304
- "text": "ComponentPresentation | null | undefined"
4827
+ "text": "string"
4305
4828
  },
4306
- "privacy": "private",
4307
- "default": "void 0",
4829
+ "privacy": "public",
4830
+ "default": "\"\"",
4831
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
4308
4832
  "inheritedFrom": {
4309
- "name": "FoundationElement",
4310
- "module": "src/foundation-element/foundation-element.ts"
4833
+ "name": "AnchoredRegion",
4834
+ "module": "src/anchored-region/anchored-region.ts"
4311
4835
  }
4312
4836
  },
4313
4837
  {
4314
- "kind": "field",
4315
- "name": "$presentation",
4316
- "type": {
4317
- "text": "ComponentPresentation | null"
4838
+ "kind": "method",
4839
+ "name": "viewportChanged",
4840
+ "privacy": "private",
4841
+ "return": {
4842
+ "type": {
4843
+ "text": "void"
4844
+ }
4318
4845
  },
4319
- "privacy": "public",
4320
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4321
4846
  "inheritedFrom": {
4322
- "name": "FoundationElement",
4323
- "module": "src/foundation-element/foundation-element.ts"
4847
+ "name": "AnchoredRegion",
4848
+ "module": "src/anchored-region/anchored-region.ts"
4324
4849
  }
4325
4850
  },
4326
4851
  {
4327
4852
  "kind": "field",
4328
- "name": "template",
4853
+ "name": "horizontalPositioningMode",
4329
4854
  "type": {
4330
- "text": "ElementViewTemplate | void | null"
4855
+ "text": "AxisPositioningMode"
4331
4856
  },
4332
4857
  "privacy": "public",
4333
- "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.",
4858
+ "default": "\"uncontrolled\"",
4859
+ "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",
4334
4860
  "inheritedFrom": {
4335
- "name": "FoundationElement",
4336
- "module": "src/foundation-element/foundation-element.ts"
4861
+ "name": "AnchoredRegion",
4862
+ "module": "src/anchored-region/anchored-region.ts"
4337
4863
  }
4338
4864
  },
4339
4865
  {
4340
4866
  "kind": "method",
4341
- "name": "templateChanged",
4342
- "privacy": "protected",
4867
+ "name": "horizontalPositioningModeChanged",
4868
+ "privacy": "private",
4343
4869
  "return": {
4344
4870
  "type": {
4345
4871
  "text": "void"
4346
4872
  }
4347
4873
  },
4348
4874
  "inheritedFrom": {
4349
- "name": "FoundationElement",
4350
- "module": "src/foundation-element/foundation-element.ts"
4875
+ "name": "AnchoredRegion",
4876
+ "module": "src/anchored-region/anchored-region.ts"
4351
4877
  }
4352
4878
  },
4353
4879
  {
4354
4880
  "kind": "field",
4355
- "name": "styles",
4881
+ "name": "horizontalDefaultPosition",
4356
4882
  "type": {
4357
- "text": "ElementStyles | void | null"
4883
+ "text": "HorizontalPosition"
4358
4884
  },
4359
4885
  "privacy": "public",
4360
- "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.",
4886
+ "default": "\"unset\"",
4887
+ "description": "The default horizontal position of the region relative to the anchor element",
4361
4888
  "inheritedFrom": {
4362
- "name": "FoundationElement",
4363
- "module": "src/foundation-element/foundation-element.ts"
4889
+ "name": "AnchoredRegion",
4890
+ "module": "src/anchored-region/anchored-region.ts"
4364
4891
  }
4365
4892
  },
4366
4893
  {
4367
4894
  "kind": "method",
4368
- "name": "stylesChanged",
4369
- "privacy": "protected",
4895
+ "name": "horizontalDefaultPositionChanged",
4896
+ "privacy": "private",
4370
4897
  "return": {
4371
4898
  "type": {
4372
4899
  "text": "void"
4373
4900
  }
4374
4901
  },
4375
4902
  "inheritedFrom": {
4376
- "name": "FoundationElement",
4377
- "module": "src/foundation-element/foundation-element.ts"
4378
- }
4379
- },
4380
- {
4381
- "kind": "method",
4382
- "name": "compose",
4383
- "privacy": "public",
4384
- "static": true,
4385
- "return": {
4386
- "type": {
4387
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4388
- }
4389
- },
4390
- "parameters": [
4391
- {
4392
- "name": "this",
4393
- "type": {
4394
- "text": "K"
4395
- }
4396
- },
4397
- {
4398
- "name": "elementDefinition",
4399
- "type": {
4400
- "text": "T"
4401
- },
4402
- "description": "The definition of the element to create the registry\nfunction for."
4403
- }
4404
- ],
4405
- "description": "Defines an element registry function with a set of element definition defaults.",
4406
- "inheritedFrom": {
4407
- "name": "FoundationElement",
4408
- "module": "src/foundation-element/foundation-element.ts"
4409
- }
4410
- }
4411
- ]
4412
- },
4413
- {
4414
- "kind": "variable",
4415
- "name": "foundationAnchorShadowOptions",
4416
- "type": {
4417
- "text": "ShadowRootInit"
4418
- },
4419
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4420
- },
4421
- {
4422
- "kind": "variable",
4423
- "name": "defaultAnchorConfig",
4424
- "type": {
4425
- "text": "object"
4426
- },
4427
- "default": "{}"
4428
- },
4429
- {
4430
- "kind": "variable",
4431
- "name": "foundationAnchor",
4432
- "description": "The Foundation Anchor",
4433
- "privacy": "public"
4434
- }
4435
- ],
4436
- "exports": [
4437
- {
4438
- "kind": "js",
4439
- "name": "Anchor",
4440
- "declaration": {
4441
- "name": "Anchor",
4442
- "module": "src/anchor/anchor.ts"
4443
- }
4444
- },
4445
- {
4446
- "kind": "js",
4447
- "name": "foundationAnchorShadowOptions",
4448
- "declaration": {
4449
- "name": "foundationAnchorShadowOptions",
4450
- "module": "src/anchor/anchor.ts"
4451
- }
4452
- },
4453
- {
4454
- "kind": "js",
4455
- "name": "defaultAnchorConfig",
4456
- "declaration": {
4457
- "name": "defaultAnchorConfig",
4458
- "module": "src/anchor/anchor.ts"
4459
- }
4460
- },
4461
- {
4462
- "kind": "js",
4463
- "name": "foundationAnchor",
4464
- "declaration": {
4465
- "name": "foundationAnchor",
4466
- "module": "src/anchor/anchor.ts"
4467
- }
4468
- }
4469
- ]
4470
- },
4471
- {
4472
- "kind": "javascript-module",
4473
- "path": "src/anchor/index.ts",
4474
- "declarations": [],
4475
- "exports": [
4476
- {
4477
- "kind": "js",
4478
- "name": "*",
4479
- "declaration": {
4480
- "name": "*",
4481
- "package": "./anchor.template"
4482
- }
4483
- },
4484
- {
4485
- "kind": "js",
4486
- "name": "*",
4487
- "declaration": {
4488
- "name": "*",
4489
- "package": "./anchor.styles"
4490
- }
4491
- },
4492
- {
4493
- "kind": "js",
4494
- "name": "*",
4495
- "declaration": {
4496
- "name": "*",
4497
- "package": "./anchor"
4498
- }
4499
- }
4500
- ]
4501
- },
4502
- {
4503
- "kind": "javascript-module",
4504
- "path": "src/anchored-region/anchor-region.template.ts",
4505
- "declarations": [
4506
- {
4507
- "kind": "function",
4508
- "name": "foundationAnchoredRegionTemplate",
4509
- "return": {
4510
- "type": {
4511
- "text": "ViewTemplate<AnchoredRegion>"
4512
- }
4513
- },
4514
- "parameters": [
4515
- {
4516
- "name": "context",
4517
- "type": {
4518
- "text": "ElementDefinitionContext"
4519
- }
4520
- },
4521
- {
4522
- "name": "definition",
4523
- "type": {
4524
- "text": "FoundationElementDefinition"
4525
- }
4526
- }
4527
- ]
4528
- }
4529
- ],
4530
- "exports": [
4531
- {
4532
- "kind": "js",
4533
- "name": "foundationAnchoredRegionTemplate",
4534
- "declaration": {
4535
- "name": "foundationAnchoredRegionTemplate",
4536
- "module": "src/anchored-region/anchor-region.template.ts"
4537
- }
4538
- }
4539
- ]
4540
- },
4541
- {
4542
- "kind": "javascript-module",
4543
- "path": "src/anchored-region/anchored-region.styles.ts",
4544
- "declarations": [
4545
- {
4546
- "kind": "function",
4547
- "name": "foundationAnchoredRegionStyles",
4548
- "return": {
4549
- "type": {
4550
- "text": "ElementStyles"
4551
- }
4552
- },
4553
- "parameters": [
4554
- {
4555
- "name": "context",
4556
- "type": {
4557
- "text": "ElementDefinitionContext"
4903
+ "name": "AnchoredRegion",
4904
+ "module": "src/anchored-region/anchored-region.ts"
4558
4905
  }
4559
4906
  },
4560
4907
  {
4561
- "name": "definition",
4562
- "type": {
4563
- "text": "FoundationElementDefinition"
4564
- }
4565
- }
4566
- ]
4567
- }
4568
- ],
4569
- "exports": [
4570
- {
4571
- "kind": "js",
4572
- "name": "foundationAnchoredRegionStyles",
4573
- "declaration": {
4574
- "name": "foundationAnchoredRegionStyles",
4575
- "module": "src/anchored-region/anchored-region.styles.ts"
4576
- }
4577
- }
4578
- ]
4579
- },
4580
- {
4581
- "kind": "javascript-module",
4582
- "path": "src/anchored-region/anchored-region.ts",
4583
- "declarations": [
4584
- {
4585
- "kind": "class",
4586
- "description": "",
4587
- "name": "AnchoredRegion",
4588
- "superclass": {
4589
- "name": "FASTAnchoredRegion",
4590
- "package": "@microsoft/fast-components"
4591
- },
4592
- "tagName": "%%prefix%%-anchored-region",
4593
- "customElement": true,
4594
- "attributes": [
4595
- {
4596
- "name": "anchor",
4908
+ "kind": "field",
4909
+ "name": "horizontalViewportLock",
4597
4910
  "type": {
4598
- "text": "string"
4911
+ "text": "boolean"
4599
4912
  },
4600
- "default": "\"\"",
4601
- "description": "The HTML ID of the anchor element this region is positioned relative to",
4602
- "fieldName": "anchor",
4913
+ "privacy": "public",
4914
+ "default": "false",
4915
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
4603
4916
  "inheritedFrom": {
4604
4917
  "name": "AnchoredRegion",
4605
4918
  "module": "src/anchored-region/anchored-region.ts"
4606
4919
  }
4607
4920
  },
4608
4921
  {
4609
- "name": "viewport",
4610
- "type": {
4611
- "text": "string"
4922
+ "kind": "method",
4923
+ "name": "horizontalViewportLockChanged",
4924
+ "privacy": "private",
4925
+ "return": {
4926
+ "type": {
4927
+ "text": "void"
4928
+ }
4612
4929
  },
4613
- "default": "\"\"",
4614
- "description": "The HTML ID of the viewport element this region is positioned relative to",
4615
- "fieldName": "viewport",
4616
4930
  "inheritedFrom": {
4617
4931
  "name": "AnchoredRegion",
4618
4932
  "module": "src/anchored-region/anchored-region.ts"
4619
4933
  }
4620
4934
  },
4621
4935
  {
4622
- "name": "horizontal-positioning-mode",
4936
+ "kind": "field",
4937
+ "name": "horizontalInset",
4623
4938
  "type": {
4624
- "text": "AxisPositioningMode"
4939
+ "text": "boolean"
4625
4940
  },
4626
- "default": "\"uncontrolled\"",
4627
- "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",
4628
- "fieldName": "horizontalPositioningMode",
4941
+ "privacy": "public",
4942
+ "default": "false",
4943
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
4629
4944
  "inheritedFrom": {
4630
4945
  "name": "AnchoredRegion",
4631
4946
  "module": "src/anchored-region/anchored-region.ts"
4632
4947
  }
4633
4948
  },
4634
4949
  {
4635
- "name": "horizontal-default-position",
4636
- "type": {
4637
- "text": "HorizontalPosition"
4950
+ "kind": "method",
4951
+ "name": "horizontalInsetChanged",
4952
+ "privacy": "private",
4953
+ "return": {
4954
+ "type": {
4955
+ "text": "void"
4956
+ }
4638
4957
  },
4639
- "default": "\"unset\"",
4640
- "description": "The default horizontal position of the region relative to the anchor element",
4641
- "fieldName": "horizontalDefaultPosition",
4642
4958
  "inheritedFrom": {
4643
4959
  "name": "AnchoredRegion",
4644
4960
  "module": "src/anchored-region/anchored-region.ts"
4645
4961
  }
4646
4962
  },
4647
4963
  {
4648
- "name": "horizontal-viewport-lock",
4964
+ "kind": "field",
4965
+ "name": "horizontalThreshold",
4649
4966
  "type": {
4650
- "text": "boolean"
4967
+ "text": "number"
4651
4968
  },
4652
- "default": "false",
4653
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
4654
- "fieldName": "horizontalViewportLock",
4969
+ "privacy": "public",
4970
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
4655
4971
  "inheritedFrom": {
4656
4972
  "name": "AnchoredRegion",
4657
4973
  "module": "src/anchored-region/anchored-region.ts"
4658
4974
  }
4659
4975
  },
4660
4976
  {
4661
- "name": "horizontal-inset",
4662
- "type": {
4663
- "text": "boolean"
4977
+ "kind": "method",
4978
+ "name": "horizontalThresholdChanged",
4979
+ "privacy": "private",
4980
+ "return": {
4981
+ "type": {
4982
+ "text": "void"
4983
+ }
4664
4984
  },
4665
- "default": "false",
4666
- "description": "Whether the region overlaps the anchor on the horizontal axis",
4667
- "fieldName": "horizontalInset",
4668
4985
  "inheritedFrom": {
4669
4986
  "name": "AnchoredRegion",
4670
4987
  "module": "src/anchored-region/anchored-region.ts"
4671
4988
  }
4672
4989
  },
4673
4990
  {
4674
- "name": "horizontal-threshold",
4991
+ "kind": "field",
4992
+ "name": "horizontalScaling",
4675
4993
  "type": {
4676
- "text": "number"
4994
+ "text": "AxisScalingMode"
4677
4995
  },
4678
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
4679
- "fieldName": "horizontalThreshold",
4996
+ "privacy": "public",
4997
+ "default": "\"content\"",
4998
+ "description": "Defines how the width of the region is calculated",
4680
4999
  "inheritedFrom": {
4681
5000
  "name": "AnchoredRegion",
4682
5001
  "module": "src/anchored-region/anchored-region.ts"
4683
5002
  }
4684
5003
  },
4685
5004
  {
4686
- "name": "horizontal-scaling",
4687
- "type": {
4688
- "text": "AxisScalingMode"
5005
+ "kind": "method",
5006
+ "name": "horizontalScalingChanged",
5007
+ "privacy": "private",
5008
+ "return": {
5009
+ "type": {
5010
+ "text": "void"
5011
+ }
4689
5012
  },
4690
- "default": "\"content\"",
4691
- "description": "Defines how the width of the region is calculated",
4692
- "fieldName": "horizontalScaling",
4693
5013
  "inheritedFrom": {
4694
5014
  "name": "AnchoredRegion",
4695
5015
  "module": "src/anchored-region/anchored-region.ts"
4696
5016
  }
4697
5017
  },
4698
5018
  {
4699
- "name": "vertical-positioning-mode",
5019
+ "kind": "field",
5020
+ "name": "verticalPositioningMode",
4700
5021
  "type": {
4701
5022
  "text": "AxisPositioningMode"
4702
5023
  },
5024
+ "privacy": "public",
4703
5025
  "default": "\"uncontrolled\"",
4704
5026
  "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",
4705
- "fieldName": "verticalPositioningMode",
4706
5027
  "inheritedFrom": {
4707
5028
  "name": "AnchoredRegion",
4708
5029
  "module": "src/anchored-region/anchored-region.ts"
4709
5030
  }
4710
5031
  },
4711
5032
  {
4712
- "name": "vertical-default-position",
4713
- "type": {
4714
- "text": "VerticalPosition"
5033
+ "kind": "method",
5034
+ "name": "verticalPositioningModeChanged",
5035
+ "privacy": "private",
5036
+ "return": {
5037
+ "type": {
5038
+ "text": "void"
5039
+ }
4715
5040
  },
4716
- "default": "\"unset\"",
4717
- "description": "The default vertical position of the region relative to the anchor element",
4718
- "fieldName": "verticalDefaultPosition",
4719
5041
  "inheritedFrom": {
4720
5042
  "name": "AnchoredRegion",
4721
5043
  "module": "src/anchored-region/anchored-region.ts"
4722
5044
  }
4723
5045
  },
4724
5046
  {
4725
- "name": "vertical-viewport-lock",
5047
+ "kind": "field",
5048
+ "name": "verticalDefaultPosition",
4726
5049
  "type": {
4727
- "text": "boolean"
5050
+ "text": "VerticalPosition"
4728
5051
  },
4729
- "default": "false",
4730
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
4731
- "fieldName": "verticalViewportLock",
4732
- "inheritedFrom": {
4733
- "name": "AnchoredRegion",
4734
- "module": "src/anchored-region/anchored-region.ts"
4735
- }
4736
- },
4737
- {
4738
- "name": "vertical-inset",
4739
- "type": {
4740
- "text": "boolean"
4741
- },
4742
- "default": "false",
4743
- "description": "Whether the region overlaps the anchor on the vertical axis",
4744
- "fieldName": "verticalInset",
4745
- "inheritedFrom": {
4746
- "name": "AnchoredRegion",
4747
- "module": "src/anchored-region/anchored-region.ts"
4748
- }
4749
- },
4750
- {
4751
- "name": "vertical-threshold",
4752
- "type": {
4753
- "text": "number"
4754
- },
4755
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
4756
- "fieldName": "verticalThreshold",
4757
- "inheritedFrom": {
4758
- "name": "AnchoredRegion",
4759
- "module": "src/anchored-region/anchored-region.ts"
4760
- }
4761
- },
4762
- {
4763
- "name": "vertical-scaling",
4764
- "type": {
4765
- "text": "AxisScalingMode"
4766
- },
4767
- "default": "\"content\"",
4768
- "description": "Defines how the height of the region is calculated",
4769
- "fieldName": "verticalScaling",
4770
- "inheritedFrom": {
4771
- "name": "AnchoredRegion",
4772
- "module": "src/anchored-region/anchored-region.ts"
4773
- }
4774
- },
4775
- {
4776
- "name": "fixed-placement",
4777
- "type": {
4778
- "text": "boolean"
4779
- },
4780
- "default": "false",
4781
- "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,",
4782
- "fieldName": "fixedPlacement",
4783
- "inheritedFrom": {
4784
- "name": "AnchoredRegion",
4785
- "module": "src/anchored-region/anchored-region.ts"
4786
- }
4787
- },
4788
- {
4789
- "name": "auto-update-mode",
4790
- "type": {
4791
- "text": "AutoUpdateMode"
4792
- },
4793
- "default": "\"anchor\"",
4794
- "description": "Defines what triggers the anchored region to revaluate positioning",
4795
- "fieldName": "autoUpdateMode",
4796
- "inheritedFrom": {
4797
- "name": "AnchoredRegion",
4798
- "module": "src/anchored-region/anchored-region.ts"
4799
- }
4800
- }
4801
- ],
4802
- "members": [
4803
- {
4804
- "kind": "field",
4805
- "name": "anchor",
4806
- "type": {
4807
- "text": "string"
4808
- },
4809
- "privacy": "public",
4810
- "default": "\"\"",
4811
- "description": "The HTML ID of the anchor element this region is positioned relative to",
4812
- "inheritedFrom": {
4813
- "name": "AnchoredRegion",
4814
- "module": "src/anchored-region/anchored-region.ts"
4815
- }
4816
- },
4817
- {
4818
- "kind": "method",
4819
- "name": "anchorChanged",
4820
- "privacy": "private",
4821
- "return": {
4822
- "type": {
4823
- "text": "void"
4824
- }
4825
- },
4826
- "inheritedFrom": {
4827
- "name": "AnchoredRegion",
4828
- "module": "src/anchored-region/anchored-region.ts"
4829
- }
4830
- },
4831
- {
4832
- "kind": "field",
4833
- "name": "viewport",
4834
- "type": {
4835
- "text": "string"
4836
- },
4837
- "privacy": "public",
4838
- "default": "\"\"",
4839
- "description": "The HTML ID of the viewport element this region is positioned relative to",
4840
- "inheritedFrom": {
4841
- "name": "AnchoredRegion",
4842
- "module": "src/anchored-region/anchored-region.ts"
4843
- }
4844
- },
4845
- {
4846
- "kind": "method",
4847
- "name": "viewportChanged",
4848
- "privacy": "private",
4849
- "return": {
4850
- "type": {
4851
- "text": "void"
4852
- }
4853
- },
4854
- "inheritedFrom": {
4855
- "name": "AnchoredRegion",
4856
- "module": "src/anchored-region/anchored-region.ts"
4857
- }
4858
- },
4859
- {
4860
- "kind": "field",
4861
- "name": "horizontalPositioningMode",
4862
- "type": {
4863
- "text": "AxisPositioningMode"
4864
- },
4865
- "privacy": "public",
4866
- "default": "\"uncontrolled\"",
4867
- "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",
4868
- "inheritedFrom": {
4869
- "name": "AnchoredRegion",
4870
- "module": "src/anchored-region/anchored-region.ts"
4871
- }
4872
- },
4873
- {
4874
- "kind": "method",
4875
- "name": "horizontalPositioningModeChanged",
4876
- "privacy": "private",
4877
- "return": {
4878
- "type": {
4879
- "text": "void"
4880
- }
4881
- },
4882
- "inheritedFrom": {
4883
- "name": "AnchoredRegion",
4884
- "module": "src/anchored-region/anchored-region.ts"
4885
- }
4886
- },
4887
- {
4888
- "kind": "field",
4889
- "name": "horizontalDefaultPosition",
4890
- "type": {
4891
- "text": "HorizontalPosition"
4892
- },
4893
- "privacy": "public",
4894
- "default": "\"unset\"",
4895
- "description": "The default horizontal position of the region relative to the anchor element",
4896
- "inheritedFrom": {
4897
- "name": "AnchoredRegion",
4898
- "module": "src/anchored-region/anchored-region.ts"
4899
- }
4900
- },
4901
- {
4902
- "kind": "method",
4903
- "name": "horizontalDefaultPositionChanged",
4904
- "privacy": "private",
4905
- "return": {
4906
- "type": {
4907
- "text": "void"
4908
- }
4909
- },
4910
- "inheritedFrom": {
4911
- "name": "AnchoredRegion",
4912
- "module": "src/anchored-region/anchored-region.ts"
4913
- }
4914
- },
4915
- {
4916
- "kind": "field",
4917
- "name": "horizontalViewportLock",
4918
- "type": {
4919
- "text": "boolean"
4920
- },
4921
- "privacy": "public",
4922
- "default": "false",
4923
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
4924
- "inheritedFrom": {
4925
- "name": "AnchoredRegion",
4926
- "module": "src/anchored-region/anchored-region.ts"
4927
- }
4928
- },
4929
- {
4930
- "kind": "method",
4931
- "name": "horizontalViewportLockChanged",
4932
- "privacy": "private",
4933
- "return": {
4934
- "type": {
4935
- "text": "void"
4936
- }
4937
- },
4938
- "inheritedFrom": {
4939
- "name": "AnchoredRegion",
4940
- "module": "src/anchored-region/anchored-region.ts"
4941
- }
4942
- },
4943
- {
4944
- "kind": "field",
4945
- "name": "horizontalInset",
4946
- "type": {
4947
- "text": "boolean"
4948
- },
4949
- "privacy": "public",
4950
- "default": "false",
4951
- "description": "Whether the region overlaps the anchor on the horizontal axis",
4952
- "inheritedFrom": {
4953
- "name": "AnchoredRegion",
4954
- "module": "src/anchored-region/anchored-region.ts"
4955
- }
4956
- },
4957
- {
4958
- "kind": "method",
4959
- "name": "horizontalInsetChanged",
4960
- "privacy": "private",
4961
- "return": {
4962
- "type": {
4963
- "text": "void"
4964
- }
4965
- },
4966
- "inheritedFrom": {
4967
- "name": "AnchoredRegion",
4968
- "module": "src/anchored-region/anchored-region.ts"
4969
- }
4970
- },
4971
- {
4972
- "kind": "field",
4973
- "name": "horizontalThreshold",
4974
- "type": {
4975
- "text": "number"
4976
- },
4977
- "privacy": "public",
4978
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
4979
- "inheritedFrom": {
4980
- "name": "AnchoredRegion",
4981
- "module": "src/anchored-region/anchored-region.ts"
4982
- }
4983
- },
4984
- {
4985
- "kind": "method",
4986
- "name": "horizontalThresholdChanged",
4987
- "privacy": "private",
4988
- "return": {
4989
- "type": {
4990
- "text": "void"
4991
- }
4992
- },
4993
- "inheritedFrom": {
4994
- "name": "AnchoredRegion",
4995
- "module": "src/anchored-region/anchored-region.ts"
4996
- }
4997
- },
4998
- {
4999
- "kind": "field",
5000
- "name": "horizontalScaling",
5001
- "type": {
5002
- "text": "AxisScalingMode"
5003
- },
5004
- "privacy": "public",
5005
- "default": "\"content\"",
5006
- "description": "Defines how the width of the region is calculated",
5007
- "inheritedFrom": {
5008
- "name": "AnchoredRegion",
5009
- "module": "src/anchored-region/anchored-region.ts"
5010
- }
5011
- },
5012
- {
5013
- "kind": "method",
5014
- "name": "horizontalScalingChanged",
5015
- "privacy": "private",
5016
- "return": {
5017
- "type": {
5018
- "text": "void"
5019
- }
5020
- },
5021
- "inheritedFrom": {
5022
- "name": "AnchoredRegion",
5023
- "module": "src/anchored-region/anchored-region.ts"
5024
- }
5025
- },
5026
- {
5027
- "kind": "field",
5028
- "name": "verticalPositioningMode",
5029
- "type": {
5030
- "text": "AxisPositioningMode"
5031
- },
5032
- "privacy": "public",
5033
- "default": "\"uncontrolled\"",
5034
- "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",
5035
- "inheritedFrom": {
5036
- "name": "AnchoredRegion",
5037
- "module": "src/anchored-region/anchored-region.ts"
5038
- }
5039
- },
5040
- {
5041
- "kind": "method",
5042
- "name": "verticalPositioningModeChanged",
5043
- "privacy": "private",
5044
- "return": {
5045
- "type": {
5046
- "text": "void"
5047
- }
5048
- },
5049
- "inheritedFrom": {
5050
- "name": "AnchoredRegion",
5051
- "module": "src/anchored-region/anchored-region.ts"
5052
- }
5053
- },
5054
- {
5055
- "kind": "field",
5056
- "name": "verticalDefaultPosition",
5057
- "type": {
5058
- "text": "VerticalPosition"
5059
- },
5060
- "privacy": "public",
5061
- "default": "\"unset\"",
5062
- "description": "The default vertical position of the region relative to the anchor element",
5052
+ "privacy": "public",
5053
+ "default": "\"unset\"",
5054
+ "description": "The default vertical position of the region relative to the anchor element",
5063
5055
  "inheritedFrom": {
5064
5056
  "name": "AnchoredRegion",
5065
5057
  "module": "src/anchored-region/anchored-region.ts"
@@ -59131,797 +59123,6 @@
59131
59123
  }
59132
59124
  ]
59133
59125
  },
59134
- {
59135
- "kind": "javascript-module",
59136
- "path": "src/verification-code-input/index.ts",
59137
- "declarations": [],
59138
- "exports": [
59139
- {
59140
- "kind": "js",
59141
- "name": "*",
59142
- "declaration": {
59143
- "name": "*",
59144
- "package": "./verification-code-input"
59145
- }
59146
- },
59147
- {
59148
- "kind": "js",
59149
- "name": "*",
59150
- "declaration": {
59151
- "name": "*",
59152
- "package": "./verification-code-input.template"
59153
- }
59154
- },
59155
- {
59156
- "kind": "js",
59157
- "name": "*",
59158
- "declaration": {
59159
- "name": "*",
59160
- "package": "./verification-code-input.styles"
59161
- }
59162
- }
59163
- ]
59164
- },
59165
- {
59166
- "kind": "javascript-module",
59167
- "path": "src/verification-code-input/verification-code-input.styles.ts",
59168
- "declarations": [
59169
- {
59170
- "kind": "variable",
59171
- "name": "foundationVerificationCodeInputStyles",
59172
- "type": {
59173
- "text": "ElementStyles"
59174
- },
59175
- "default": "css`\n :host {\n display: block;\n font-family: var(--body-font);\n outline: none;\n }\n\n .label {\n display: block;\n color: var(--neutral-foreground-rest);\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n margin-bottom: 4px;\n }\n\n .label-hidden {\n display: none;\n }\n\n :host([readonly]) .label {\n cursor: var(--disabled-cursor);\n }\n\n .container {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n .digit {\n display: inline-block;\n box-sizing: border-box;\n outline: none;\n min-width: calc(\n (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px\n );\n }\n\n .digit .root {\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n color: var(--neutral-foreground-rest);\n background: var(--neutral-fill-input-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);\n height: calc(\n (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px\n );\n }\n\n .digit .control {\n appearance: none;\n font: inherit;\n background: transparent;\n border: 0;\n color: inherit;\n height: calc(100% - 4px);\n width: 100%;\n margin-top: auto;\n margin-bottom: auto;\n padding: 0 calc(var(--design-unit) * 2px + 1px);\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n text-align: center;\n outline: none;\n color-scheme: ${activeColorScheme};\n }\n\n .digit[appearance='filled'] .root {\n background: var(--neutral-fill-rest);\n }\n\n .digit.error .root {\n border-color: var(--error-fill-rest);\n }\n\n .digit.disabled {\n opacity: var(--disabled-opacity);\n cursor: var(--disabled-cursor);\n }\n\n .digit.disabled .control {\n cursor: var(--disabled-cursor);\n }\n\n .digit:hover:not(.disabled) .root {\n background: var(--neutral-fill-input-hover);\n border-color: var(--accent-fill-hover);\n }\n\n .digit:focus-within:not(.disabled) .root {\n border-color: var(--focus-stroke-outer);\n box-shadow: 0 0 0 calc(var(--focus-stroke-width) * 1px) var(--focus-stroke-outer) inset;\n }\n\n .digit[appearance='filled']:hover:not(.disabled) .root {\n background: var(--neutral-fill-hover);\n }\n\n ${sharedFieldStyles}\n`"
59176
- }
59177
- ],
59178
- "exports": [
59179
- {
59180
- "kind": "js",
59181
- "name": "foundationVerificationCodeInputStyles",
59182
- "declaration": {
59183
- "name": "foundationVerificationCodeInputStyles",
59184
- "module": "src/verification-code-input/verification-code-input.styles.ts"
59185
- }
59186
- }
59187
- ]
59188
- },
59189
- {
59190
- "kind": "javascript-module",
59191
- "path": "src/verification-code-input/verification-code-input.template.ts",
59192
- "declarations": [
59193
- {
59194
- "kind": "variable",
59195
- "name": "foundationVerificationCodeInputTemplate",
59196
- "default": "html<VerificationCodeInput>`\n <label\n part=\"label\"\n id=\"${(x) => x.labelId}\"\n for=\"${(x) => x.getControlId(0)}\"\n class=\"${(x) =>\n x.defaultSlottedNodes && x.defaultSlottedNodes.length ? 'label' : 'label label-hidden'}\"\n >\n <slot\n ${slotted({\n property: 'defaultSlottedNodes',\n filter: whitespaceFilter,\n })}\n ></slot>\n </label>\n <div\n class=\"container\"\n role=\"group\"\n aria-labelledby=\"${(x) => (x.hasLabel ? x.labelId : void 0)}\"\n aria-label=\"${(x) => (x.hasLabel ? void 0 : 'Verification code')}\"\n >\n ${repeat(\n (x) => x.digitsIndexes,\n html`\n <div\n class=\"digit ${(x, c) => (c.parent as VerificationCodeInput).digitClassnames}\"\n data-digit-index=\"${(x) => x}\"\n appearance=\"${(x, c) => (c.parent as VerificationCodeInput).appearance}\"\n >\n <div class=\"root\" part=\"root\">\n <div class=\"control-field\">\n <input\n class=\"control\"\n part=\"control\"\n type=\"text\"\n inputmode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n id=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n autocomplete=\"${(x) => (x === 0 ? 'one-time-code' : 'off')}\"\n data-test-id=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n title=\"Only numbers are allowed\"\n maxlength=\"1\"\n ?autofocus=\"${(x, c) => (c.parent as VerificationCodeInput).autofocus && x === 0}\"\n ?readonly=\"${(x, c) => (c.parent as VerificationCodeInput).readOnly}\"\n ?disabled=\"${(x, c) =>\n (c.parent as VerificationCodeInput).disabled ||\n (c.parent as VerificationCodeInput).readOnly}\"\n ?aria-required=\"${(x, c) => (c.parent as VerificationCodeInput).required}\"\n ?aria-invalid=\"${(x, c) => (c.parent as VerificationCodeInput).error}\"\n />\n </div>\n </div>\n </div>\n `,\n )}\n </div>\n`"
59197
- }
59198
- ],
59199
- "exports": [
59200
- {
59201
- "kind": "js",
59202
- "name": "foundationVerificationCodeInputTemplate",
59203
- "declaration": {
59204
- "name": "foundationVerificationCodeInputTemplate",
59205
- "module": "src/verification-code-input/verification-code-input.template.ts"
59206
- }
59207
- }
59208
- ]
59209
- },
59210
- {
59211
- "kind": "javascript-module",
59212
- "path": "src/verification-code-input/verification-code-input.ts",
59213
- "declarations": [
59214
- {
59215
- "kind": "variable",
59216
- "name": "foundationVerificationCodeInputShadowOptions",
59217
- "type": {
59218
- "text": "ShadowRootInit"
59219
- },
59220
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
59221
- },
59222
- {
59223
- "kind": "variable",
59224
- "name": "defaultVerificationCodeInputConfig",
59225
- "type": {
59226
- "text": "object"
59227
- },
59228
- "default": "{}"
59229
- },
59230
- {
59231
- "kind": "class",
59232
- "description": "Multi-digit verification code input for OTP / 2FA flows.\n\nForm-associated (FAST `FormAssociated`): host `name` / `required` / `value` participate\nin native HTML form validation and submission like TextField.",
59233
- "name": "VerificationCodeInput",
59234
- "members": [
59235
- {
59236
- "kind": "field",
59237
- "name": "values",
59238
- "type": {
59239
- "text": "string[]"
59240
- },
59241
- "default": "[]",
59242
- "description": "Per-digit values indexed from `0` to `digits - 1`."
59243
- },
59244
- {
59245
- "kind": "field",
59246
- "name": "defaultSlottedNodes",
59247
- "description": "Slotted label content; when empty the label is visually hidden."
59248
- },
59249
- {
59250
- "kind": "field",
59251
- "name": "controlListeners",
59252
- "type": {
59253
- "text": "Map<HTMLInputElement, ControlListeners>"
59254
- },
59255
- "privacy": "private",
59256
- "readonly": true,
59257
- "default": "new Map()"
59258
- },
59259
- {
59260
- "kind": "field",
59261
- "name": "syncingFromDigits",
59262
- "type": {
59263
- "text": "boolean"
59264
- },
59265
- "privacy": "private",
59266
- "default": "false",
59267
- "description": "Skip digit re-sync when `value` is updated from digit entry (`commitValues`)."
59268
- },
59269
- {
59270
- "kind": "field",
59271
- "name": "id",
59272
- "type": {
59273
- "text": "string"
59274
- },
59275
- "description": "Optional host id used as a prefix for digit input ids (`{id}-0`, `{id}-1`, …)\nand the associated label element."
59276
- },
59277
- {
59278
- "kind": "field",
59279
- "name": "appearance",
59280
- "type": {
59281
- "text": "string"
59282
- },
59283
- "default": "'outline'",
59284
- "description": "Visual treatment applied to each digit field.",
59285
- "privacy": "public"
59286
- },
59287
- {
59288
- "kind": "field",
59289
- "name": "digits",
59290
- "type": {
59291
- "text": "number"
59292
- },
59293
- "default": "6",
59294
- "description": "Number of single-character digit fields to render.",
59295
- "privacy": "public"
59296
- },
59297
- {
59298
- "kind": "field",
59299
- "name": "readOnly",
59300
- "type": {
59301
- "text": "boolean"
59302
- },
59303
- "default": "false",
59304
- "description": "When true, digit fields are non-interactive.",
59305
- "privacy": "public"
59306
- },
59307
- {
59308
- "kind": "field",
59309
- "name": "disabled",
59310
- "type": {
59311
- "text": "boolean"
59312
- },
59313
- "default": "false",
59314
- "description": "When true, digit fields are non-interactive.",
59315
- "privacy": "public"
59316
- },
59317
- {
59318
- "kind": "field",
59319
- "name": "autofocus",
59320
- "type": {
59321
- "text": "boolean"
59322
- },
59323
- "default": "false",
59324
- "description": "When true, focuses the first digit on connect (and after SPA route commit when hosted that way).",
59325
- "privacy": "public"
59326
- },
59327
- {
59328
- "kind": "field",
59329
- "name": "error",
59330
- "type": {
59331
- "text": "boolean"
59332
- },
59333
- "default": "false",
59334
- "description": "When true, applies the error visual state to each digit field.",
59335
- "privacy": "public"
59336
- },
59337
- {
59338
- "kind": "field",
59339
- "name": "digitsIndexes",
59340
- "type": {
59341
- "text": "number[]"
59342
- },
59343
- "privacy": "public",
59344
- "readonly": true
59345
- },
59346
- {
59347
- "kind": "field",
59348
- "name": "controlIdPrefix",
59349
- "type": {
59350
- "text": "string"
59351
- },
59352
- "privacy": "public",
59353
- "readonly": true
59354
- },
59355
- {
59356
- "kind": "field",
59357
- "name": "labelId",
59358
- "type": {
59359
- "text": "string"
59360
- },
59361
- "privacy": "public",
59362
- "readonly": true
59363
- },
59364
- {
59365
- "kind": "field",
59366
- "name": "hasLabel",
59367
- "type": {
59368
- "text": "boolean"
59369
- },
59370
- "privacy": "public",
59371
- "readonly": true
59372
- },
59373
- {
59374
- "kind": "method",
59375
- "name": "getControlId",
59376
- "privacy": "public",
59377
- "return": {
59378
- "type": {
59379
- "text": "string"
59380
- }
59381
- },
59382
- "parameters": [
59383
- {
59384
- "name": "index",
59385
- "type": {
59386
- "text": "number"
59387
- }
59388
- }
59389
- ]
59390
- },
59391
- {
59392
- "kind": "method",
59393
- "name": "clear",
59394
- "privacy": "public",
59395
- "return": {
59396
- "type": {
59397
- "text": "void"
59398
- }
59399
- },
59400
- "description": "Clears digits, emits `change`, and focuses the first field when connected."
59401
- },
59402
- {
59403
- "kind": "method",
59404
- "name": "focus",
59405
- "privacy": "public",
59406
- "return": {
59407
- "type": {
59408
- "text": "void"
59409
- }
59410
- }
59411
- },
59412
- {
59413
- "kind": "method",
59414
- "name": "digitsChanged",
59415
- "return": {
59416
- "type": {
59417
- "text": "void"
59418
- }
59419
- }
59420
- },
59421
- {
59422
- "kind": "field",
59423
- "name": "digitClassnames",
59424
- "type": {
59425
- "text": "string"
59426
- },
59427
- "privacy": "public",
59428
- "readonly": true
59429
- },
59430
- {
59431
- "kind": "method",
59432
- "name": "sanitizeCode",
59433
- "privacy": "private",
59434
- "return": {
59435
- "type": {
59436
- "text": "string"
59437
- }
59438
- },
59439
- "parameters": [
59440
- {
59441
- "name": "raw",
59442
- "type": {
59443
- "text": "unknown"
59444
- }
59445
- }
59446
- ]
59447
- },
59448
- {
59449
- "kind": "method",
59450
- "name": "bindControlListeners",
59451
- "privacy": "private",
59452
- "return": {
59453
- "type": {
59454
- "text": "void"
59455
- }
59456
- }
59457
- },
59458
- {
59459
- "kind": "method",
59460
- "name": "unbindControlListeners",
59461
- "privacy": "private",
59462
- "return": {
59463
- "type": {
59464
- "text": "void"
59465
- }
59466
- }
59467
- },
59468
- {
59469
- "kind": "method",
59470
- "name": "onKeyDown",
59471
- "privacy": "private",
59472
- "return": {
59473
- "type": {
59474
- "text": "void"
59475
- }
59476
- },
59477
- "parameters": [
59478
- {
59479
- "name": "event",
59480
- "type": {
59481
- "text": "KeyboardEvent"
59482
- }
59483
- },
59484
- {
59485
- "name": "index",
59486
- "type": {
59487
- "text": "number"
59488
- }
59489
- }
59490
- ]
59491
- },
59492
- {
59493
- "kind": "method",
59494
- "name": "isBlockedCharacter",
59495
- "privacy": "private",
59496
- "return": {
59497
- "type": {
59498
- "text": "boolean"
59499
- }
59500
- },
59501
- "parameters": [
59502
- {
59503
- "name": "event",
59504
- "type": {
59505
- "text": "KeyboardEvent"
59506
- }
59507
- }
59508
- ]
59509
- },
59510
- {
59511
- "kind": "method",
59512
- "name": "onInput",
59513
- "privacy": "private",
59514
- "return": {
59515
- "type": {
59516
- "text": "void"
59517
- }
59518
- },
59519
- "parameters": [
59520
- {
59521
- "name": "event",
59522
- "type": {
59523
- "text": "InputEvent"
59524
- }
59525
- },
59526
- {
59527
- "name": "index",
59528
- "type": {
59529
- "text": "number"
59530
- }
59531
- }
59532
- ]
59533
- },
59534
- {
59535
- "kind": "method",
59536
- "name": "onPaste",
59537
- "privacy": "private",
59538
- "return": {
59539
- "type": {
59540
- "text": "void"
59541
- }
59542
- },
59543
- "parameters": [
59544
- {
59545
- "name": "event",
59546
- "type": {
59547
- "text": "ClipboardEvent"
59548
- }
59549
- },
59550
- {
59551
- "name": "index",
59552
- "type": {
59553
- "text": "number"
59554
- }
59555
- }
59556
- ]
59557
- },
59558
- {
59559
- "kind": "method",
59560
- "name": "handleBackspace",
59561
- "privacy": "private",
59562
- "return": {
59563
- "type": {
59564
- "text": "void"
59565
- }
59566
- },
59567
- "parameters": [
59568
- {
59569
- "name": "index",
59570
- "type": {
59571
- "text": "number"
59572
- }
59573
- }
59574
- ]
59575
- },
59576
- {
59577
- "kind": "method",
59578
- "name": "handleDelete",
59579
- "privacy": "private",
59580
- "return": {
59581
- "type": {
59582
- "text": "void"
59583
- }
59584
- },
59585
- "parameters": [
59586
- {
59587
- "name": "index",
59588
- "type": {
59589
- "text": "number"
59590
- }
59591
- }
59592
- ]
59593
- },
59594
- {
59595
- "kind": "method",
59596
- "name": "getIndexFromInput",
59597
- "privacy": "private",
59598
- "return": {
59599
- "type": {
59600
- "text": "number | null"
59601
- }
59602
- },
59603
- "parameters": [
59604
- {
59605
- "name": "input",
59606
- "type": {
59607
- "text": "HTMLInputElement"
59608
- }
59609
- }
59610
- ]
59611
- },
59612
- {
59613
- "kind": "method",
59614
- "name": "syncDigitsFromValue",
59615
- "privacy": "private",
59616
- "return": {
59617
- "type": {
59618
- "text": "void"
59619
- }
59620
- },
59621
- "parameters": [
59622
- {
59623
- "name": "cleaned",
59624
- "type": {
59625
- "text": "string"
59626
- }
59627
- }
59628
- ],
59629
- "description": "Maps a sanitized code string into per-digit `values` and syncs the DOM when connected."
59630
- },
59631
- {
59632
- "kind": "method",
59633
- "name": "updateDigit",
59634
- "privacy": "private",
59635
- "return": {
59636
- "type": {
59637
- "text": "void"
59638
- }
59639
- },
59640
- "parameters": [
59641
- {
59642
- "name": "index",
59643
- "type": {
59644
- "text": "number"
59645
- }
59646
- },
59647
- {
59648
- "name": "digit",
59649
- "type": {
59650
- "text": "string"
59651
- }
59652
- }
59653
- ]
59654
- },
59655
- {
59656
- "kind": "method",
59657
- "name": "applyDigits",
59658
- "privacy": "private",
59659
- "return": {
59660
- "type": {
59661
- "text": "void"
59662
- }
59663
- },
59664
- "parameters": [
59665
- {
59666
- "name": "raw",
59667
- "type": {
59668
- "text": "string"
59669
- }
59670
- },
59671
- {
59672
- "name": "startIndex",
59673
- "type": {
59674
- "text": "number"
59675
- }
59676
- }
59677
- ]
59678
- },
59679
- {
59680
- "kind": "method",
59681
- "name": "commitValues",
59682
- "privacy": "private",
59683
- "return": {
59684
- "type": {
59685
- "text": "void"
59686
- }
59687
- },
59688
- "parameters": [
59689
- {
59690
- "name": "nextValues",
59691
- "type": {
59692
- "text": "string[]"
59693
- }
59694
- }
59695
- ],
59696
- "description": "Pushes digit state into the form-associated `value` and emits change / complete."
59697
- },
59698
- {
59699
- "kind": "method",
59700
- "name": "syncFieldValues",
59701
- "privacy": "private",
59702
- "return": {
59703
- "type": {
59704
- "text": "void"
59705
- }
59706
- }
59707
- },
59708
- {
59709
- "kind": "method",
59710
- "name": "syncFieldValue",
59711
- "privacy": "private",
59712
- "return": {
59713
- "type": {
59714
- "text": "void"
59715
- }
59716
- },
59717
- "parameters": [
59718
- {
59719
- "name": "index",
59720
- "type": {
59721
- "text": "number"
59722
- }
59723
- }
59724
- ]
59725
- },
59726
- {
59727
- "kind": "method",
59728
- "name": "focusDigit",
59729
- "privacy": "private",
59730
- "return": {
59731
- "type": {
59732
- "text": "void"
59733
- }
59734
- },
59735
- "parameters": [
59736
- {
59737
- "name": "index",
59738
- "type": {
59739
- "text": "number"
59740
- }
59741
- }
59742
- ]
59743
- },
59744
- {
59745
- "kind": "field",
59746
- "name": "rootNode",
59747
- "type": {
59748
- "text": "ParentNode"
59749
- },
59750
- "privacy": "private",
59751
- "readonly": true
59752
- },
59753
- {
59754
- "kind": "method",
59755
- "name": "getControlElement",
59756
- "privacy": "private",
59757
- "return": {
59758
- "type": {
59759
- "text": "HTMLInputElement | null"
59760
- }
59761
- },
59762
- "parameters": [
59763
- {
59764
- "name": "index",
59765
- "type": {
59766
- "text": "number"
59767
- }
59768
- }
59769
- ]
59770
- },
59771
- {
59772
- "kind": "method",
59773
- "name": "isComplete",
59774
- "privacy": "private",
59775
- "return": {
59776
- "type": {
59777
- "text": "boolean"
59778
- }
59779
- }
59780
- },
59781
- {
59782
- "kind": "method",
59783
- "name": "emitChange",
59784
- "privacy": "private",
59785
- "return": {
59786
- "type": {
59787
- "text": "void"
59788
- }
59789
- }
59790
- },
59791
- {
59792
- "kind": "field",
59793
- "name": "proxy"
59794
- }
59795
- ],
59796
- "events": [
59797
- {
59798
- "description": "Fired when any digit changes. Detail: `{ value: string }`.",
59799
- "name": "change"
59800
- },
59801
- {
59802
- "description": "Fired when all digits are filled. Detail: `{ value: string }`.",
59803
- "name": "complete"
59804
- }
59805
- ],
59806
- "attributes": [
59807
- {
59808
- "name": "id",
59809
- "type": {
59810
- "text": "string"
59811
- },
59812
- "description": "Optional host id used as a prefix for digit input ids (`{id}-0`, `{id}-1`, …)\nand the associated label element.",
59813
- "fieldName": "id"
59814
- },
59815
- {
59816
- "name": "appearance",
59817
- "type": {
59818
- "text": "string"
59819
- },
59820
- "default": "'outline'",
59821
- "description": "Visual treatment applied to each digit field.",
59822
- "fieldName": "appearance"
59823
- },
59824
- {
59825
- "name": "digits",
59826
- "type": {
59827
- "text": "number"
59828
- },
59829
- "default": "DEFAULT_DIGITS",
59830
- "description": "Number of single-character digit fields to render.",
59831
- "resolveInitializer": {
59832
- "module": "src/verification-code-input/verification-code-input.ts"
59833
- },
59834
- "fieldName": "digits"
59835
- },
59836
- {
59837
- "name": "readonly",
59838
- "type": {
59839
- "text": "boolean"
59840
- },
59841
- "default": "false",
59842
- "description": "When true, digit fields are non-interactive.",
59843
- "fieldName": "readOnly"
59844
- },
59845
- {
59846
- "type": {
59847
- "text": "boolean"
59848
- },
59849
- "default": "false",
59850
- "description": "When true, digit fields are non-interactive.",
59851
- "fieldName": "disabled"
59852
- },
59853
- {
59854
- "type": {
59855
- "text": "boolean"
59856
- },
59857
- "default": "false",
59858
- "description": "When true, focuses the first digit on connect (and after SPA route commit when hosted that way).",
59859
- "fieldName": "autofocus"
59860
- },
59861
- {
59862
- "type": {
59863
- "text": "boolean"
59864
- },
59865
- "default": "false",
59866
- "description": "When true, applies the error visual state to each digit field.",
59867
- "fieldName": "error"
59868
- }
59869
- ],
59870
- "mixins": [
59871
- {
59872
- "name": "FormAssociated",
59873
- "package": "@microsoft/fast-foundation"
59874
- }
59875
- ],
59876
- "superclass": {
59877
- "name": "_VerificationCodeInput",
59878
- "module": "src/verification-code-input/verification-code-input.ts"
59879
- },
59880
- "tagName": "%%prefix%%-verification-code-input",
59881
- "customElement": true
59882
- },
59883
- {
59884
- "kind": "variable",
59885
- "name": "foundationVerificationCodeInput",
59886
- "description": "The Foundation Verification Code Input",
59887
- "privacy": "public"
59888
- }
59889
- ],
59890
- "exports": [
59891
- {
59892
- "kind": "js",
59893
- "name": "foundationVerificationCodeInputShadowOptions",
59894
- "declaration": {
59895
- "name": "foundationVerificationCodeInputShadowOptions",
59896
- "module": "src/verification-code-input/verification-code-input.ts"
59897
- }
59898
- },
59899
- {
59900
- "kind": "js",
59901
- "name": "defaultVerificationCodeInputConfig",
59902
- "declaration": {
59903
- "name": "defaultVerificationCodeInputConfig",
59904
- "module": "src/verification-code-input/verification-code-input.ts"
59905
- }
59906
- },
59907
- {
59908
- "kind": "js",
59909
- "name": "VerificationCodeInput",
59910
- "declaration": {
59911
- "name": "VerificationCodeInput",
59912
- "module": "src/verification-code-input/verification-code-input.ts"
59913
- }
59914
- },
59915
- {
59916
- "kind": "js",
59917
- "name": "foundationVerificationCodeInput",
59918
- "declaration": {
59919
- "name": "foundationVerificationCodeInput",
59920
- "module": "src/verification-code-input/verification-code-input.ts"
59921
- }
59922
- }
59923
- ]
59924
- },
59925
59126
  {
59926
59127
  "kind": "javascript-module",
59927
59128
  "path": "src/_config/styles/colors.ts",