@genesislcap/foundation-ui 14.500.0 → 14.501.0

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 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}"
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": [
@@ -548,6 +548,14 @@
548
548
  "package": "./patterns"
549
549
  }
550
550
  },
551
+ {
552
+ "kind": "js",
553
+ "name": "*",
554
+ "declaration": {
555
+ "name": "*",
556
+ "package": "./pill"
557
+ }
558
+ },
551
559
  {
552
560
  "kind": "js",
553
561
  "name": "*",
@@ -1439,11 +1447,11 @@
1439
1447
  },
1440
1448
  {
1441
1449
  "kind": "javascript-module",
1442
- "path": "src/accordion/accordion.styles.ts",
1450
+ "path": "src/accordion-item/accordion-item.styles.ts",
1443
1451
  "declarations": [
1444
1452
  {
1445
1453
  "kind": "function",
1446
- "name": "foundationAccordionStyles",
1454
+ "name": "foundationAccordionItemStyles",
1447
1455
  "return": {
1448
1456
  "type": {
1449
1457
  "text": "ElementStyles"
@@ -1468,24 +1476,24 @@
1468
1476
  "exports": [
1469
1477
  {
1470
1478
  "kind": "js",
1471
- "name": "foundationAccordionStyles",
1479
+ "name": "foundationAccordionItemStyles",
1472
1480
  "declaration": {
1473
- "name": "foundationAccordionStyles",
1474
- "module": "src/accordion/accordion.styles.ts"
1481
+ "name": "foundationAccordionItemStyles",
1482
+ "module": "src/accordion-item/accordion-item.styles.ts"
1475
1483
  }
1476
1484
  }
1477
1485
  ]
1478
1486
  },
1479
1487
  {
1480
1488
  "kind": "javascript-module",
1481
- "path": "src/accordion/accordion.template.ts",
1489
+ "path": "src/accordion-item/accordion-item.template.ts",
1482
1490
  "declarations": [
1483
1491
  {
1484
1492
  "kind": "function",
1485
- "name": "foundationAccordionTemplate",
1493
+ "name": "foundationAccordionItemTemplate",
1486
1494
  "return": {
1487
1495
  "type": {
1488
- "text": "ViewTemplate<Accordion>"
1496
+ "text": "ViewTemplate<AccordionItem>"
1489
1497
  }
1490
1498
  },
1491
1499
  "parameters": [
@@ -1507,237 +1515,116 @@
1507
1515
  "exports": [
1508
1516
  {
1509
1517
  "kind": "js",
1510
- "name": "foundationAccordionTemplate",
1518
+ "name": "foundationAccordionItemTemplate",
1511
1519
  "declaration": {
1512
- "name": "foundationAccordionTemplate",
1513
- "module": "src/accordion/accordion.template.ts"
1520
+ "name": "foundationAccordionItemTemplate",
1521
+ "module": "src/accordion-item/accordion-item.template.ts"
1514
1522
  }
1515
1523
  }
1516
1524
  ]
1517
1525
  },
1518
1526
  {
1519
1527
  "kind": "javascript-module",
1520
- "path": "src/accordion/accordion.ts",
1528
+ "path": "src/accordion-item/accordion-item.ts",
1521
1529
  "declarations": [
1522
1530
  {
1523
1531
  "kind": "class",
1524
1532
  "description": "",
1525
- "name": "Accordion",
1533
+ "name": "AccordionItem",
1526
1534
  "superclass": {
1527
- "name": "FASTAccordion",
1528
- "package": "@microsoft/fast-foundation"
1535
+ "name": "FASTAccordionItem",
1536
+ "package": "@microsoft/fast-components"
1529
1537
  },
1530
- "tagName": "%%prefix%%-accordion",
1538
+ "tagName": "%%prefix%%-accordion-item",
1531
1539
  "customElement": true,
1532
1540
  "attributes": [
1533
1541
  {
1534
- "name": "expand-mode",
1535
- "type": {
1536
- "text": "AccordionExpandMode"
1537
- },
1538
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1539
- "fieldName": "expandmode",
1540
- "inheritedFrom": {
1541
- "name": "Accordion",
1542
- "module": "src/accordion/accordion.ts"
1543
- }
1544
- }
1545
- ],
1546
- "members": [
1547
- {
1548
- "kind": "field",
1549
- "name": "expandmode",
1542
+ "name": "heading-level",
1550
1543
  "type": {
1551
- "text": "AccordionExpandMode"
1544
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1552
1545
  },
1553
- "privacy": "public",
1554
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1546
+ "default": "2",
1547
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1548
+ "fieldName": "headinglevel",
1555
1549
  "inheritedFrom": {
1556
- "name": "Accordion",
1557
- "module": "src/accordion/accordion.ts"
1550
+ "name": "AccordionItem",
1551
+ "module": "src/accordion-item/accordion-item.ts"
1558
1552
  }
1559
1553
  },
1560
1554
  {
1561
- "kind": "field",
1562
- "name": "activeid",
1563
1555
  "type": {
1564
- "text": "string | null"
1556
+ "text": "boolean"
1565
1557
  },
1566
- "privacy": "private",
1558
+ "default": "false",
1559
+ "description": "Expands or collapses the item.",
1560
+ "fieldName": "expanded",
1567
1561
  "inheritedFrom": {
1568
- "name": "Accordion",
1569
- "module": "src/accordion/accordion.ts"
1562
+ "name": "AccordionItem",
1563
+ "module": "src/accordion-item/accordion-item.ts"
1570
1564
  }
1571
1565
  },
1572
1566
  {
1573
- "kind": "field",
1574
- "name": "activeItemIndex",
1567
+ "name": "id",
1575
1568
  "type": {
1576
- "text": "number"
1569
+ "text": "string"
1577
1570
  },
1578
- "privacy": "private",
1579
- "default": "0",
1571
+ "description": "The item ID",
1572
+ "fieldName": "id",
1580
1573
  "inheritedFrom": {
1581
- "name": "Accordion",
1582
- "module": "src/accordion/accordion.ts"
1574
+ "name": "AccordionItem",
1575
+ "module": "src/accordion-item/accordion-item.ts"
1583
1576
  }
1584
- },
1577
+ }
1578
+ ],
1579
+ "members": [
1585
1580
  {
1586
1581
  "kind": "field",
1587
- "name": "accordionIds",
1582
+ "name": "headinglevel",
1588
1583
  "type": {
1589
- "text": "Array<string | null>"
1590
- },
1591
- "privacy": "private",
1592
- "inheritedFrom": {
1593
- "name": "Accordion",
1594
- "module": "src/accordion/accordion.ts"
1595
- }
1596
- },
1597
- {
1598
- "kind": "field",
1599
- "name": "change",
1600
- "privacy": "private",
1601
- "inheritedFrom": {
1602
- "name": "Accordion",
1603
- "module": "src/accordion/accordion.ts"
1604
- }
1605
- },
1606
- {
1607
- "kind": "method",
1608
- "name": "findExpandedItem",
1609
- "privacy": "private",
1610
- "return": {
1611
- "type": {
1612
- "text": "AccordionItem | null"
1613
- }
1584
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1614
1585
  },
1586
+ "privacy": "public",
1587
+ "default": "2",
1588
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1615
1589
  "inheritedFrom": {
1616
- "name": "Accordion",
1617
- "module": "src/accordion/accordion.ts"
1590
+ "name": "AccordionItem",
1591
+ "module": "src/accordion-item/accordion-item.ts"
1618
1592
  }
1619
1593
  },
1620
1594
  {
1621
1595
  "kind": "field",
1622
- "name": "setItems",
1623
- "privacy": "private",
1624
- "inheritedFrom": {
1625
- "name": "Accordion",
1626
- "module": "src/accordion/accordion.ts"
1627
- }
1628
- },
1629
- {
1630
- "kind": "method",
1631
- "name": "resetItems",
1632
- "privacy": "private",
1633
- "return": {
1634
- "type": {
1635
- "text": "void"
1636
- }
1596
+ "name": "expanded",
1597
+ "type": {
1598
+ "text": "boolean"
1637
1599
  },
1600
+ "privacy": "public",
1601
+ "default": "false",
1602
+ "description": "Expands or collapses the item.",
1638
1603
  "inheritedFrom": {
1639
- "name": "Accordion",
1640
- "module": "src/accordion/accordion.ts"
1641
- }
1642
- },
1643
- {
1644
- "kind": "field",
1645
- "name": "removeItemListeners",
1646
- "privacy": "private",
1647
- "inheritedFrom": {
1648
- "name": "Accordion",
1649
- "module": "src/accordion/accordion.ts"
1604
+ "name": "AccordionItem",
1605
+ "module": "src/accordion-item/accordion-item.ts"
1650
1606
  }
1651
1607
  },
1652
1608
  {
1653
1609
  "kind": "field",
1654
- "name": "activeItemChange",
1655
- "privacy": "private",
1656
- "inheritedFrom": {
1657
- "name": "Accordion",
1658
- "module": "src/accordion/accordion.ts"
1659
- }
1660
- },
1661
- {
1662
- "kind": "method",
1663
- "name": "getItemIds",
1664
- "privacy": "private",
1665
- "return": {
1666
- "type": {
1667
- "text": "Array<string | null>"
1668
- }
1669
- },
1670
- "inheritedFrom": {
1671
- "name": "Accordion",
1672
- "module": "src/accordion/accordion.ts"
1673
- }
1674
- },
1675
- {
1676
- "kind": "method",
1677
- "name": "isSingleExpandMode",
1678
- "privacy": "private",
1679
- "return": {
1680
- "type": {
1681
- "text": "boolean"
1682
- }
1610
+ "name": "id",
1611
+ "type": {
1612
+ "text": "string"
1683
1613
  },
1614
+ "privacy": "public",
1615
+ "description": "The item ID",
1684
1616
  "inheritedFrom": {
1685
- "name": "Accordion",
1686
- "module": "src/accordion/accordion.ts"
1687
- }
1688
- },
1689
- {
1690
- "kind": "field",
1691
- "name": "handleItemKeyDown",
1692
- "privacy": "private",
1693
- "inheritedFrom": {
1694
- "name": "Accordion",
1695
- "module": "src/accordion/accordion.ts"
1617
+ "name": "AccordionItem",
1618
+ "module": "src/accordion-item/accordion-item.ts"
1696
1619
  }
1697
1620
  },
1698
1621
  {
1699
1622
  "kind": "field",
1700
- "name": "handleItemFocus",
1701
- "privacy": "private",
1702
- "inheritedFrom": {
1703
- "name": "Accordion",
1704
- "module": "src/accordion/accordion.ts"
1705
- }
1706
- },
1707
- {
1708
- "kind": "method",
1709
- "name": "adjust",
1710
- "privacy": "private",
1711
- "return": {
1712
- "type": {
1713
- "text": "void"
1714
- }
1715
- },
1716
- "parameters": [
1717
- {
1718
- "name": "adjustment",
1719
- "type": {
1720
- "text": "number"
1721
- }
1722
- }
1723
- ],
1724
- "inheritedFrom": {
1725
- "name": "Accordion",
1726
- "module": "src/accordion/accordion.ts"
1727
- }
1728
- },
1729
- {
1730
- "kind": "method",
1731
- "name": "focusItem",
1623
+ "name": "change",
1732
1624
  "privacy": "private",
1733
- "return": {
1734
- "type": {
1735
- "text": "void"
1736
- }
1737
- },
1738
1625
  "inheritedFrom": {
1739
- "name": "Accordion",
1740
- "module": "src/accordion/accordion.ts"
1626
+ "name": "AccordionItem",
1627
+ "module": "src/accordion-item/accordion-item.ts"
1741
1628
  }
1742
1629
  },
1743
1630
  {
@@ -1854,18 +1741,18 @@
1854
1741
  ],
1855
1742
  "events": [
1856
1743
  {
1857
- "description": "Fires a custom 'change' event when the active item changes",
1744
+ "description": "Fires a custom 'change' event when the button is invoked",
1858
1745
  "name": "change",
1859
1746
  "inheritedFrom": {
1860
- "name": "Accordion",
1861
- "module": "src/accordion/accordion.ts"
1747
+ "name": "AccordionItem",
1748
+ "module": "src/accordion-item/accordion-item.ts"
1862
1749
  }
1863
1750
  }
1864
1751
  ]
1865
1752
  },
1866
1753
  {
1867
1754
  "kind": "variable",
1868
- "name": "foundationAccordionShadowOptions",
1755
+ "name": "foundationAccordionItemShadowOptions",
1869
1756
  "type": {
1870
1757
  "text": "ShadowRootInit"
1871
1758
  },
@@ -1873,57 +1760,57 @@
1873
1760
  },
1874
1761
  {
1875
1762
  "kind": "variable",
1876
- "name": "defaultAccordionConfig",
1763
+ "name": "defaultAccordionItemConfig",
1877
1764
  "type": {
1878
1765
  "text": "object"
1879
1766
  },
1880
- "default": "{}"
1767
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1881
1768
  },
1882
1769
  {
1883
1770
  "kind": "variable",
1884
- "name": "foundationAccordion",
1885
- "description": "The Foundation Accordion",
1771
+ "name": "foundationAccordionItem",
1772
+ "description": "The Foundation Accordion Item",
1886
1773
  "privacy": "public"
1887
1774
  }
1888
1775
  ],
1889
1776
  "exports": [
1890
1777
  {
1891
1778
  "kind": "js",
1892
- "name": "Accordion",
1779
+ "name": "AccordionItem",
1893
1780
  "declaration": {
1894
- "name": "Accordion",
1895
- "module": "src/accordion/accordion.ts"
1781
+ "name": "AccordionItem",
1782
+ "module": "src/accordion-item/accordion-item.ts"
1896
1783
  }
1897
1784
  },
1898
1785
  {
1899
1786
  "kind": "js",
1900
- "name": "foundationAccordionShadowOptions",
1787
+ "name": "foundationAccordionItemShadowOptions",
1901
1788
  "declaration": {
1902
- "name": "foundationAccordionShadowOptions",
1903
- "module": "src/accordion/accordion.ts"
1789
+ "name": "foundationAccordionItemShadowOptions",
1790
+ "module": "src/accordion-item/accordion-item.ts"
1904
1791
  }
1905
1792
  },
1906
1793
  {
1907
1794
  "kind": "js",
1908
- "name": "defaultAccordionConfig",
1795
+ "name": "defaultAccordionItemConfig",
1909
1796
  "declaration": {
1910
- "name": "defaultAccordionConfig",
1911
- "module": "src/accordion/accordion.ts"
1797
+ "name": "defaultAccordionItemConfig",
1798
+ "module": "src/accordion-item/accordion-item.ts"
1912
1799
  }
1913
1800
  },
1914
1801
  {
1915
1802
  "kind": "js",
1916
- "name": "foundationAccordion",
1803
+ "name": "foundationAccordionItem",
1917
1804
  "declaration": {
1918
- "name": "foundationAccordion",
1919
- "module": "src/accordion/accordion.ts"
1805
+ "name": "foundationAccordionItem",
1806
+ "module": "src/accordion-item/accordion-item.ts"
1920
1807
  }
1921
1808
  }
1922
1809
  ]
1923
1810
  },
1924
1811
  {
1925
1812
  "kind": "javascript-module",
1926
- "path": "src/accordion/index.ts",
1813
+ "path": "src/accordion-item/index.ts",
1927
1814
  "declarations": [],
1928
1815
  "exports": [
1929
1816
  {
@@ -1931,7 +1818,7 @@
1931
1818
  "name": "*",
1932
1819
  "declaration": {
1933
1820
  "name": "*",
1934
- "package": "./accordion.template"
1821
+ "package": "./accordion-item.template"
1935
1822
  }
1936
1823
  },
1937
1824
  {
@@ -1939,7 +1826,7 @@
1939
1826
  "name": "*",
1940
1827
  "declaration": {
1941
1828
  "name": "*",
1942
- "package": "./accordion.styles"
1829
+ "package": "./accordion-item.styles"
1943
1830
  }
1944
1831
  },
1945
1832
  {
@@ -1947,18 +1834,18 @@
1947
1834
  "name": "*",
1948
1835
  "declaration": {
1949
1836
  "name": "*",
1950
- "package": "./accordion"
1837
+ "package": "./accordion-item"
1951
1838
  }
1952
1839
  }
1953
1840
  ]
1954
1841
  },
1955
1842
  {
1956
1843
  "kind": "javascript-module",
1957
- "path": "src/accordion-item/accordion-item.styles.ts",
1844
+ "path": "src/actions-menu/actions-menu.styles.ts",
1958
1845
  "declarations": [
1959
1846
  {
1960
1847
  "kind": "function",
1961
- "name": "foundationAccordionItemStyles",
1848
+ "name": "actionsMenuBaseStyles",
1962
1849
  "return": {
1963
1850
  "type": {
1964
1851
  "text": "ElementStyles"
@@ -1978,407 +1865,13 @@
1978
1865
  }
1979
1866
  }
1980
1867
  ]
1981
- }
1982
- ],
1983
- "exports": [
1984
- {
1985
- "kind": "js",
1986
- "name": "foundationAccordionItemStyles",
1987
- "declaration": {
1988
- "name": "foundationAccordionItemStyles",
1989
- "module": "src/accordion-item/accordion-item.styles.ts"
1990
- }
1991
- }
1992
- ]
1993
- },
1994
- {
1995
- "kind": "javascript-module",
1996
- "path": "src/accordion-item/accordion-item.template.ts",
1997
- "declarations": [
1868
+ },
1998
1869
  {
1999
1870
  "kind": "function",
2000
- "name": "foundationAccordionItemTemplate",
1871
+ "name": "foundationActionsMenuStyles",
2001
1872
  "return": {
2002
1873
  "type": {
2003
- "text": "ViewTemplate<AccordionItem>"
2004
- }
2005
- },
2006
- "parameters": [
2007
- {
2008
- "name": "context",
2009
- "type": {
2010
- "text": "ElementDefinitionContext"
2011
- }
2012
- },
2013
- {
2014
- "name": "definition",
2015
- "type": {
2016
- "text": "FoundationElementDefinition"
2017
- }
2018
- }
2019
- ]
2020
- }
2021
- ],
2022
- "exports": [
2023
- {
2024
- "kind": "js",
2025
- "name": "foundationAccordionItemTemplate",
2026
- "declaration": {
2027
- "name": "foundationAccordionItemTemplate",
2028
- "module": "src/accordion-item/accordion-item.template.ts"
2029
- }
2030
- }
2031
- ]
2032
- },
2033
- {
2034
- "kind": "javascript-module",
2035
- "path": "src/accordion-item/accordion-item.ts",
2036
- "declarations": [
2037
- {
2038
- "kind": "class",
2039
- "description": "",
2040
- "name": "AccordionItem",
2041
- "superclass": {
2042
- "name": "FASTAccordionItem",
2043
- "package": "@microsoft/fast-components"
2044
- },
2045
- "tagName": "%%prefix%%-accordion-item",
2046
- "customElement": true,
2047
- "attributes": [
2048
- {
2049
- "name": "heading-level",
2050
- "type": {
2051
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2052
- },
2053
- "default": "2",
2054
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2055
- "fieldName": "headinglevel",
2056
- "inheritedFrom": {
2057
- "name": "AccordionItem",
2058
- "module": "src/accordion-item/accordion-item.ts"
2059
- }
2060
- },
2061
- {
2062
- "type": {
2063
- "text": "boolean"
2064
- },
2065
- "default": "false",
2066
- "description": "Expands or collapses the item.",
2067
- "fieldName": "expanded",
2068
- "inheritedFrom": {
2069
- "name": "AccordionItem",
2070
- "module": "src/accordion-item/accordion-item.ts"
2071
- }
2072
- },
2073
- {
2074
- "name": "id",
2075
- "type": {
2076
- "text": "string"
2077
- },
2078
- "description": "The item ID",
2079
- "fieldName": "id",
2080
- "inheritedFrom": {
2081
- "name": "AccordionItem",
2082
- "module": "src/accordion-item/accordion-item.ts"
2083
- }
2084
- }
2085
- ],
2086
- "members": [
2087
- {
2088
- "kind": "field",
2089
- "name": "headinglevel",
2090
- "type": {
2091
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2092
- },
2093
- "privacy": "public",
2094
- "default": "2",
2095
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2096
- "inheritedFrom": {
2097
- "name": "AccordionItem",
2098
- "module": "src/accordion-item/accordion-item.ts"
2099
- }
2100
- },
2101
- {
2102
- "kind": "field",
2103
- "name": "expanded",
2104
- "type": {
2105
- "text": "boolean"
2106
- },
2107
- "privacy": "public",
2108
- "default": "false",
2109
- "description": "Expands or collapses the item.",
2110
- "inheritedFrom": {
2111
- "name": "AccordionItem",
2112
- "module": "src/accordion-item/accordion-item.ts"
2113
- }
2114
- },
2115
- {
2116
- "kind": "field",
2117
- "name": "id",
2118
- "type": {
2119
- "text": "string"
2120
- },
2121
- "privacy": "public",
2122
- "description": "The item ID",
2123
- "inheritedFrom": {
2124
- "name": "AccordionItem",
2125
- "module": "src/accordion-item/accordion-item.ts"
2126
- }
2127
- },
2128
- {
2129
- "kind": "field",
2130
- "name": "change",
2131
- "privacy": "private",
2132
- "inheritedFrom": {
2133
- "name": "AccordionItem",
2134
- "module": "src/accordion-item/accordion-item.ts"
2135
- }
2136
- },
2137
- {
2138
- "kind": "field",
2139
- "name": "_presentation",
2140
- "type": {
2141
- "text": "ComponentPresentation | null | undefined"
2142
- },
2143
- "privacy": "private",
2144
- "default": "void 0",
2145
- "inheritedFrom": {
2146
- "name": "FoundationElement",
2147
- "module": "src/foundation-element/foundation-element.ts"
2148
- }
2149
- },
2150
- {
2151
- "kind": "field",
2152
- "name": "$presentation",
2153
- "type": {
2154
- "text": "ComponentPresentation | null"
2155
- },
2156
- "privacy": "public",
2157
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2158
- "inheritedFrom": {
2159
- "name": "FoundationElement",
2160
- "module": "src/foundation-element/foundation-element.ts"
2161
- }
2162
- },
2163
- {
2164
- "kind": "field",
2165
- "name": "template",
2166
- "type": {
2167
- "text": "ElementViewTemplate | void | null"
2168
- },
2169
- "privacy": "public",
2170
- "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.",
2171
- "inheritedFrom": {
2172
- "name": "FoundationElement",
2173
- "module": "src/foundation-element/foundation-element.ts"
2174
- }
2175
- },
2176
- {
2177
- "kind": "method",
2178
- "name": "templateChanged",
2179
- "privacy": "protected",
2180
- "return": {
2181
- "type": {
2182
- "text": "void"
2183
- }
2184
- },
2185
- "inheritedFrom": {
2186
- "name": "FoundationElement",
2187
- "module": "src/foundation-element/foundation-element.ts"
2188
- }
2189
- },
2190
- {
2191
- "kind": "field",
2192
- "name": "styles",
2193
- "type": {
2194
- "text": "ElementStyles | void | null"
2195
- },
2196
- "privacy": "public",
2197
- "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.",
2198
- "inheritedFrom": {
2199
- "name": "FoundationElement",
2200
- "module": "src/foundation-element/foundation-element.ts"
2201
- }
2202
- },
2203
- {
2204
- "kind": "method",
2205
- "name": "stylesChanged",
2206
- "privacy": "protected",
2207
- "return": {
2208
- "type": {
2209
- "text": "void"
2210
- }
2211
- },
2212
- "inheritedFrom": {
2213
- "name": "FoundationElement",
2214
- "module": "src/foundation-element/foundation-element.ts"
2215
- }
2216
- },
2217
- {
2218
- "kind": "method",
2219
- "name": "compose",
2220
- "privacy": "public",
2221
- "static": true,
2222
- "return": {
2223
- "type": {
2224
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2225
- }
2226
- },
2227
- "parameters": [
2228
- {
2229
- "name": "this",
2230
- "type": {
2231
- "text": "K"
2232
- }
2233
- },
2234
- {
2235
- "name": "elementDefinition",
2236
- "type": {
2237
- "text": "T"
2238
- },
2239
- "description": "The definition of the element to create the registry\nfunction for."
2240
- }
2241
- ],
2242
- "description": "Defines an element registry function with a set of element definition defaults.",
2243
- "inheritedFrom": {
2244
- "name": "FoundationElement",
2245
- "module": "src/foundation-element/foundation-element.ts"
2246
- }
2247
- }
2248
- ],
2249
- "events": [
2250
- {
2251
- "description": "Fires a custom 'change' event when the button is invoked",
2252
- "name": "change",
2253
- "inheritedFrom": {
2254
- "name": "AccordionItem",
2255
- "module": "src/accordion-item/accordion-item.ts"
2256
- }
2257
- }
2258
- ]
2259
- },
2260
- {
2261
- "kind": "variable",
2262
- "name": "foundationAccordionItemShadowOptions",
2263
- "type": {
2264
- "text": "ShadowRootInit"
2265
- },
2266
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2267
- },
2268
- {
2269
- "kind": "variable",
2270
- "name": "defaultAccordionItemConfig",
2271
- "type": {
2272
- "text": "object"
2273
- },
2274
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2275
- },
2276
- {
2277
- "kind": "variable",
2278
- "name": "foundationAccordionItem",
2279
- "description": "The Foundation Accordion Item",
2280
- "privacy": "public"
2281
- }
2282
- ],
2283
- "exports": [
2284
- {
2285
- "kind": "js",
2286
- "name": "AccordionItem",
2287
- "declaration": {
2288
- "name": "AccordionItem",
2289
- "module": "src/accordion-item/accordion-item.ts"
2290
- }
2291
- },
2292
- {
2293
- "kind": "js",
2294
- "name": "foundationAccordionItemShadowOptions",
2295
- "declaration": {
2296
- "name": "foundationAccordionItemShadowOptions",
2297
- "module": "src/accordion-item/accordion-item.ts"
2298
- }
2299
- },
2300
- {
2301
- "kind": "js",
2302
- "name": "defaultAccordionItemConfig",
2303
- "declaration": {
2304
- "name": "defaultAccordionItemConfig",
2305
- "module": "src/accordion-item/accordion-item.ts"
2306
- }
2307
- },
2308
- {
2309
- "kind": "js",
2310
- "name": "foundationAccordionItem",
2311
- "declaration": {
2312
- "name": "foundationAccordionItem",
2313
- "module": "src/accordion-item/accordion-item.ts"
2314
- }
2315
- }
2316
- ]
2317
- },
2318
- {
2319
- "kind": "javascript-module",
2320
- "path": "src/accordion-item/index.ts",
2321
- "declarations": [],
2322
- "exports": [
2323
- {
2324
- "kind": "js",
2325
- "name": "*",
2326
- "declaration": {
2327
- "name": "*",
2328
- "package": "./accordion-item.template"
2329
- }
2330
- },
2331
- {
2332
- "kind": "js",
2333
- "name": "*",
2334
- "declaration": {
2335
- "name": "*",
2336
- "package": "./accordion-item.styles"
2337
- }
2338
- },
2339
- {
2340
- "kind": "js",
2341
- "name": "*",
2342
- "declaration": {
2343
- "name": "*",
2344
- "package": "./accordion-item"
2345
- }
2346
- }
2347
- ]
2348
- },
2349
- {
2350
- "kind": "javascript-module",
2351
- "path": "src/actions-menu/actions-menu.styles.ts",
2352
- "declarations": [
2353
- {
2354
- "kind": "function",
2355
- "name": "actionsMenuBaseStyles",
2356
- "return": {
2357
- "type": {
2358
- "text": "ElementStyles"
2359
- }
2360
- },
2361
- "parameters": [
2362
- {
2363
- "name": "context",
2364
- "type": {
2365
- "text": "ElementDefinitionContext"
2366
- }
2367
- },
2368
- {
2369
- "name": "definition",
2370
- "type": {
2371
- "text": "FoundationElementDefinition"
2372
- }
2373
- }
2374
- ]
2375
- },
2376
- {
2377
- "kind": "function",
2378
- "name": "foundationActionsMenuStyles",
2379
- "return": {
2380
- "type": {
2381
- "text": "ElementStyles"
1874
+ "text": "ElementStyles"
2382
1875
  }
2383
1876
  },
2384
1877
  "parameters": [
@@ -2905,6 +2398,521 @@
2905
2398
  }
2906
2399
  ]
2907
2400
  },
2401
+ {
2402
+ "kind": "javascript-module",
2403
+ "path": "src/accordion/accordion.styles.ts",
2404
+ "declarations": [
2405
+ {
2406
+ "kind": "function",
2407
+ "name": "foundationAccordionStyles",
2408
+ "return": {
2409
+ "type": {
2410
+ "text": "ElementStyles"
2411
+ }
2412
+ },
2413
+ "parameters": [
2414
+ {
2415
+ "name": "context",
2416
+ "type": {
2417
+ "text": "ElementDefinitionContext"
2418
+ }
2419
+ },
2420
+ {
2421
+ "name": "definition",
2422
+ "type": {
2423
+ "text": "FoundationElementDefinition"
2424
+ }
2425
+ }
2426
+ ]
2427
+ }
2428
+ ],
2429
+ "exports": [
2430
+ {
2431
+ "kind": "js",
2432
+ "name": "foundationAccordionStyles",
2433
+ "declaration": {
2434
+ "name": "foundationAccordionStyles",
2435
+ "module": "src/accordion/accordion.styles.ts"
2436
+ }
2437
+ }
2438
+ ]
2439
+ },
2440
+ {
2441
+ "kind": "javascript-module",
2442
+ "path": "src/accordion/accordion.template.ts",
2443
+ "declarations": [
2444
+ {
2445
+ "kind": "function",
2446
+ "name": "foundationAccordionTemplate",
2447
+ "return": {
2448
+ "type": {
2449
+ "text": "ViewTemplate<Accordion>"
2450
+ }
2451
+ },
2452
+ "parameters": [
2453
+ {
2454
+ "name": "context",
2455
+ "type": {
2456
+ "text": "ElementDefinitionContext"
2457
+ }
2458
+ },
2459
+ {
2460
+ "name": "definition",
2461
+ "type": {
2462
+ "text": "FoundationElementDefinition"
2463
+ }
2464
+ }
2465
+ ]
2466
+ }
2467
+ ],
2468
+ "exports": [
2469
+ {
2470
+ "kind": "js",
2471
+ "name": "foundationAccordionTemplate",
2472
+ "declaration": {
2473
+ "name": "foundationAccordionTemplate",
2474
+ "module": "src/accordion/accordion.template.ts"
2475
+ }
2476
+ }
2477
+ ]
2478
+ },
2479
+ {
2480
+ "kind": "javascript-module",
2481
+ "path": "src/accordion/accordion.ts",
2482
+ "declarations": [
2483
+ {
2484
+ "kind": "class",
2485
+ "description": "",
2486
+ "name": "Accordion",
2487
+ "superclass": {
2488
+ "name": "FASTAccordion",
2489
+ "package": "@microsoft/fast-foundation"
2490
+ },
2491
+ "tagName": "%%prefix%%-accordion",
2492
+ "customElement": true,
2493
+ "attributes": [
2494
+ {
2495
+ "name": "expand-mode",
2496
+ "type": {
2497
+ "text": "AccordionExpandMode"
2498
+ },
2499
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2500
+ "fieldName": "expandmode",
2501
+ "inheritedFrom": {
2502
+ "name": "Accordion",
2503
+ "module": "src/accordion/accordion.ts"
2504
+ }
2505
+ }
2506
+ ],
2507
+ "members": [
2508
+ {
2509
+ "kind": "field",
2510
+ "name": "expandmode",
2511
+ "type": {
2512
+ "text": "AccordionExpandMode"
2513
+ },
2514
+ "privacy": "public",
2515
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2516
+ "inheritedFrom": {
2517
+ "name": "Accordion",
2518
+ "module": "src/accordion/accordion.ts"
2519
+ }
2520
+ },
2521
+ {
2522
+ "kind": "field",
2523
+ "name": "activeid",
2524
+ "type": {
2525
+ "text": "string | null"
2526
+ },
2527
+ "privacy": "private",
2528
+ "inheritedFrom": {
2529
+ "name": "Accordion",
2530
+ "module": "src/accordion/accordion.ts"
2531
+ }
2532
+ },
2533
+ {
2534
+ "kind": "field",
2535
+ "name": "activeItemIndex",
2536
+ "type": {
2537
+ "text": "number"
2538
+ },
2539
+ "privacy": "private",
2540
+ "default": "0",
2541
+ "inheritedFrom": {
2542
+ "name": "Accordion",
2543
+ "module": "src/accordion/accordion.ts"
2544
+ }
2545
+ },
2546
+ {
2547
+ "kind": "field",
2548
+ "name": "accordionIds",
2549
+ "type": {
2550
+ "text": "Array<string | null>"
2551
+ },
2552
+ "privacy": "private",
2553
+ "inheritedFrom": {
2554
+ "name": "Accordion",
2555
+ "module": "src/accordion/accordion.ts"
2556
+ }
2557
+ },
2558
+ {
2559
+ "kind": "field",
2560
+ "name": "change",
2561
+ "privacy": "private",
2562
+ "inheritedFrom": {
2563
+ "name": "Accordion",
2564
+ "module": "src/accordion/accordion.ts"
2565
+ }
2566
+ },
2567
+ {
2568
+ "kind": "method",
2569
+ "name": "findExpandedItem",
2570
+ "privacy": "private",
2571
+ "return": {
2572
+ "type": {
2573
+ "text": "AccordionItem | null"
2574
+ }
2575
+ },
2576
+ "inheritedFrom": {
2577
+ "name": "Accordion",
2578
+ "module": "src/accordion/accordion.ts"
2579
+ }
2580
+ },
2581
+ {
2582
+ "kind": "field",
2583
+ "name": "setItems",
2584
+ "privacy": "private",
2585
+ "inheritedFrom": {
2586
+ "name": "Accordion",
2587
+ "module": "src/accordion/accordion.ts"
2588
+ }
2589
+ },
2590
+ {
2591
+ "kind": "method",
2592
+ "name": "resetItems",
2593
+ "privacy": "private",
2594
+ "return": {
2595
+ "type": {
2596
+ "text": "void"
2597
+ }
2598
+ },
2599
+ "inheritedFrom": {
2600
+ "name": "Accordion",
2601
+ "module": "src/accordion/accordion.ts"
2602
+ }
2603
+ },
2604
+ {
2605
+ "kind": "field",
2606
+ "name": "removeItemListeners",
2607
+ "privacy": "private",
2608
+ "inheritedFrom": {
2609
+ "name": "Accordion",
2610
+ "module": "src/accordion/accordion.ts"
2611
+ }
2612
+ },
2613
+ {
2614
+ "kind": "field",
2615
+ "name": "activeItemChange",
2616
+ "privacy": "private",
2617
+ "inheritedFrom": {
2618
+ "name": "Accordion",
2619
+ "module": "src/accordion/accordion.ts"
2620
+ }
2621
+ },
2622
+ {
2623
+ "kind": "method",
2624
+ "name": "getItemIds",
2625
+ "privacy": "private",
2626
+ "return": {
2627
+ "type": {
2628
+ "text": "Array<string | null>"
2629
+ }
2630
+ },
2631
+ "inheritedFrom": {
2632
+ "name": "Accordion",
2633
+ "module": "src/accordion/accordion.ts"
2634
+ }
2635
+ },
2636
+ {
2637
+ "kind": "method",
2638
+ "name": "isSingleExpandMode",
2639
+ "privacy": "private",
2640
+ "return": {
2641
+ "type": {
2642
+ "text": "boolean"
2643
+ }
2644
+ },
2645
+ "inheritedFrom": {
2646
+ "name": "Accordion",
2647
+ "module": "src/accordion/accordion.ts"
2648
+ }
2649
+ },
2650
+ {
2651
+ "kind": "field",
2652
+ "name": "handleItemKeyDown",
2653
+ "privacy": "private",
2654
+ "inheritedFrom": {
2655
+ "name": "Accordion",
2656
+ "module": "src/accordion/accordion.ts"
2657
+ }
2658
+ },
2659
+ {
2660
+ "kind": "field",
2661
+ "name": "handleItemFocus",
2662
+ "privacy": "private",
2663
+ "inheritedFrom": {
2664
+ "name": "Accordion",
2665
+ "module": "src/accordion/accordion.ts"
2666
+ }
2667
+ },
2668
+ {
2669
+ "kind": "method",
2670
+ "name": "adjust",
2671
+ "privacy": "private",
2672
+ "return": {
2673
+ "type": {
2674
+ "text": "void"
2675
+ }
2676
+ },
2677
+ "parameters": [
2678
+ {
2679
+ "name": "adjustment",
2680
+ "type": {
2681
+ "text": "number"
2682
+ }
2683
+ }
2684
+ ],
2685
+ "inheritedFrom": {
2686
+ "name": "Accordion",
2687
+ "module": "src/accordion/accordion.ts"
2688
+ }
2689
+ },
2690
+ {
2691
+ "kind": "method",
2692
+ "name": "focusItem",
2693
+ "privacy": "private",
2694
+ "return": {
2695
+ "type": {
2696
+ "text": "void"
2697
+ }
2698
+ },
2699
+ "inheritedFrom": {
2700
+ "name": "Accordion",
2701
+ "module": "src/accordion/accordion.ts"
2702
+ }
2703
+ },
2704
+ {
2705
+ "kind": "field",
2706
+ "name": "_presentation",
2707
+ "type": {
2708
+ "text": "ComponentPresentation | null | undefined"
2709
+ },
2710
+ "privacy": "private",
2711
+ "default": "void 0",
2712
+ "inheritedFrom": {
2713
+ "name": "FoundationElement",
2714
+ "module": "src/foundation-element/foundation-element.ts"
2715
+ }
2716
+ },
2717
+ {
2718
+ "kind": "field",
2719
+ "name": "$presentation",
2720
+ "type": {
2721
+ "text": "ComponentPresentation | null"
2722
+ },
2723
+ "privacy": "public",
2724
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2725
+ "inheritedFrom": {
2726
+ "name": "FoundationElement",
2727
+ "module": "src/foundation-element/foundation-element.ts"
2728
+ }
2729
+ },
2730
+ {
2731
+ "kind": "field",
2732
+ "name": "template",
2733
+ "type": {
2734
+ "text": "ElementViewTemplate | void | null"
2735
+ },
2736
+ "privacy": "public",
2737
+ "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.",
2738
+ "inheritedFrom": {
2739
+ "name": "FoundationElement",
2740
+ "module": "src/foundation-element/foundation-element.ts"
2741
+ }
2742
+ },
2743
+ {
2744
+ "kind": "method",
2745
+ "name": "templateChanged",
2746
+ "privacy": "protected",
2747
+ "return": {
2748
+ "type": {
2749
+ "text": "void"
2750
+ }
2751
+ },
2752
+ "inheritedFrom": {
2753
+ "name": "FoundationElement",
2754
+ "module": "src/foundation-element/foundation-element.ts"
2755
+ }
2756
+ },
2757
+ {
2758
+ "kind": "field",
2759
+ "name": "styles",
2760
+ "type": {
2761
+ "text": "ElementStyles | void | null"
2762
+ },
2763
+ "privacy": "public",
2764
+ "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.",
2765
+ "inheritedFrom": {
2766
+ "name": "FoundationElement",
2767
+ "module": "src/foundation-element/foundation-element.ts"
2768
+ }
2769
+ },
2770
+ {
2771
+ "kind": "method",
2772
+ "name": "stylesChanged",
2773
+ "privacy": "protected",
2774
+ "return": {
2775
+ "type": {
2776
+ "text": "void"
2777
+ }
2778
+ },
2779
+ "inheritedFrom": {
2780
+ "name": "FoundationElement",
2781
+ "module": "src/foundation-element/foundation-element.ts"
2782
+ }
2783
+ },
2784
+ {
2785
+ "kind": "method",
2786
+ "name": "compose",
2787
+ "privacy": "public",
2788
+ "static": true,
2789
+ "return": {
2790
+ "type": {
2791
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2792
+ }
2793
+ },
2794
+ "parameters": [
2795
+ {
2796
+ "name": "this",
2797
+ "type": {
2798
+ "text": "K"
2799
+ }
2800
+ },
2801
+ {
2802
+ "name": "elementDefinition",
2803
+ "type": {
2804
+ "text": "T"
2805
+ },
2806
+ "description": "The definition of the element to create the registry\nfunction for."
2807
+ }
2808
+ ],
2809
+ "description": "Defines an element registry function with a set of element definition defaults.",
2810
+ "inheritedFrom": {
2811
+ "name": "FoundationElement",
2812
+ "module": "src/foundation-element/foundation-element.ts"
2813
+ }
2814
+ }
2815
+ ],
2816
+ "events": [
2817
+ {
2818
+ "description": "Fires a custom 'change' event when the active item changes",
2819
+ "name": "change",
2820
+ "inheritedFrom": {
2821
+ "name": "Accordion",
2822
+ "module": "src/accordion/accordion.ts"
2823
+ }
2824
+ }
2825
+ ]
2826
+ },
2827
+ {
2828
+ "kind": "variable",
2829
+ "name": "foundationAccordionShadowOptions",
2830
+ "type": {
2831
+ "text": "ShadowRootInit"
2832
+ },
2833
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2834
+ },
2835
+ {
2836
+ "kind": "variable",
2837
+ "name": "defaultAccordionConfig",
2838
+ "type": {
2839
+ "text": "object"
2840
+ },
2841
+ "default": "{}"
2842
+ },
2843
+ {
2844
+ "kind": "variable",
2845
+ "name": "foundationAccordion",
2846
+ "description": "The Foundation Accordion",
2847
+ "privacy": "public"
2848
+ }
2849
+ ],
2850
+ "exports": [
2851
+ {
2852
+ "kind": "js",
2853
+ "name": "Accordion",
2854
+ "declaration": {
2855
+ "name": "Accordion",
2856
+ "module": "src/accordion/accordion.ts"
2857
+ }
2858
+ },
2859
+ {
2860
+ "kind": "js",
2861
+ "name": "foundationAccordionShadowOptions",
2862
+ "declaration": {
2863
+ "name": "foundationAccordionShadowOptions",
2864
+ "module": "src/accordion/accordion.ts"
2865
+ }
2866
+ },
2867
+ {
2868
+ "kind": "js",
2869
+ "name": "defaultAccordionConfig",
2870
+ "declaration": {
2871
+ "name": "defaultAccordionConfig",
2872
+ "module": "src/accordion/accordion.ts"
2873
+ }
2874
+ },
2875
+ {
2876
+ "kind": "js",
2877
+ "name": "foundationAccordion",
2878
+ "declaration": {
2879
+ "name": "foundationAccordion",
2880
+ "module": "src/accordion/accordion.ts"
2881
+ }
2882
+ }
2883
+ ]
2884
+ },
2885
+ {
2886
+ "kind": "javascript-module",
2887
+ "path": "src/accordion/index.ts",
2888
+ "declarations": [],
2889
+ "exports": [
2890
+ {
2891
+ "kind": "js",
2892
+ "name": "*",
2893
+ "declaration": {
2894
+ "name": "*",
2895
+ "package": "./accordion.template"
2896
+ }
2897
+ },
2898
+ {
2899
+ "kind": "js",
2900
+ "name": "*",
2901
+ "declaration": {
2902
+ "name": "*",
2903
+ "package": "./accordion.styles"
2904
+ }
2905
+ },
2906
+ {
2907
+ "kind": "js",
2908
+ "name": "*",
2909
+ "declaration": {
2910
+ "name": "*",
2911
+ "package": "./accordion"
2912
+ }
2913
+ }
2914
+ ]
2915
+ },
2908
2916
  {
2909
2917
  "kind": "javascript-module",
2910
2918
  "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
@@ -38695,6 +38703,410 @@
38695
38703
  }
38696
38704
  ]
38697
38705
  },
38706
+ {
38707
+ "kind": "javascript-module",
38708
+ "path": "src/pill/index.ts",
38709
+ "declarations": [],
38710
+ "exports": [
38711
+ {
38712
+ "kind": "js",
38713
+ "name": "*",
38714
+ "declaration": {
38715
+ "name": "*",
38716
+ "package": "./pill"
38717
+ }
38718
+ },
38719
+ {
38720
+ "kind": "js",
38721
+ "name": "*",
38722
+ "declaration": {
38723
+ "name": "*",
38724
+ "package": "./pill.styles"
38725
+ }
38726
+ },
38727
+ {
38728
+ "kind": "js",
38729
+ "name": "*",
38730
+ "declaration": {
38731
+ "name": "*",
38732
+ "package": "./pill.template"
38733
+ }
38734
+ }
38735
+ ]
38736
+ },
38737
+ {
38738
+ "kind": "javascript-module",
38739
+ "path": "src/pill/pill.styles.ts",
38740
+ "declarations": [
38741
+ {
38742
+ "kind": "variable",
38743
+ "name": "pillStyles",
38744
+ "default": "css`\n :host {\n --pill-fill: var(--neutral-fill-rest, #e5e5e5);\n --pill-fill-hover: var(--neutral-fill-hover, #d9d9d9);\n --pill-foreground: var(--neutral-foreground-rest, #1a1a1a);\n --pill-border-radius: 12px;\n\n display: inline-flex;\n }\n\n .pill {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n height: 24px;\n padding: 0 4px 0 10px;\n border-radius: var(--pill-border-radius);\n background: var(--pill-fill);\n color: var(--pill-foreground);\n font-size: 12px;\n line-height: 1;\n }\n\n .pill[disabled] {\n opacity: 50%;\n }\n\n .pill-body {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n border: none;\n background: transparent;\n color: inherit;\n font: inherit;\n padding: 0;\n cursor: pointer;\n }\n\n .pill-body:disabled {\n cursor: not-allowed;\n }\n\n .pill-body:hover:not(:disabled) {\n background: var(--pill-fill-hover);\n border-radius: var(--pill-border-radius);\n }\n\n .pill-label {\n font-weight: 600;\n white-space: nowrap;\n }\n\n .pill-value {\n white-space: nowrap;\n }\n\n .pill-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n border: none;\n border-radius: 50%;\n background: transparent;\n color: inherit;\n cursor: pointer;\n padding: 0;\n }\n\n .pill-remove:disabled {\n cursor: not-allowed;\n }\n\n .pill-remove:hover:not(:disabled) {\n background: var(--pill-fill-hover);\n }\n`"
38745
+ }
38746
+ ],
38747
+ "exports": [
38748
+ {
38749
+ "kind": "js",
38750
+ "name": "pillStyles",
38751
+ "declaration": {
38752
+ "name": "pillStyles",
38753
+ "module": "src/pill/pill.styles.ts"
38754
+ }
38755
+ }
38756
+ ]
38757
+ },
38758
+ {
38759
+ "kind": "javascript-module",
38760
+ "path": "src/pill/pill.template.ts",
38761
+ "declarations": [
38762
+ {
38763
+ "kind": "variable",
38764
+ "name": "foundationPillTemplate",
38765
+ "default": "html<Pill>`\n ${(x) => getPrefixedPillTemplate(getPrefix(x))}\n`"
38766
+ }
38767
+ ],
38768
+ "exports": [
38769
+ {
38770
+ "kind": "js",
38771
+ "name": "foundationPillTemplate",
38772
+ "declaration": {
38773
+ "name": "foundationPillTemplate",
38774
+ "module": "src/pill/pill.template.ts"
38775
+ }
38776
+ }
38777
+ ]
38778
+ },
38779
+ {
38780
+ "kind": "javascript-module",
38781
+ "path": "src/pill/pill.ts",
38782
+ "declarations": [
38783
+ {
38784
+ "kind": "variable",
38785
+ "name": "foundationPillShadowOptions",
38786
+ "type": {
38787
+ "text": "ShadowRootInit"
38788
+ },
38789
+ "default": "undefined"
38790
+ },
38791
+ {
38792
+ "kind": "variable",
38793
+ "name": "defaultPillConfig",
38794
+ "type": {
38795
+ "text": "object"
38796
+ },
38797
+ "default": "{}"
38798
+ },
38799
+ {
38800
+ "kind": "class",
38801
+ "description": "",
38802
+ "name": "Pill",
38803
+ "slots": [
38804
+ {
38805
+ "description": "Additional phrasing (inline, non-interactive) content rendered after the label/value, inside the pill body button. Do not slot interactive or block-level elements (e.g. `<button>`, `<a>`, `<div>`) here, as the body is itself a `<button>`.",
38806
+ "name": ""
38807
+ }
38808
+ ],
38809
+ "members": [
38810
+ {
38811
+ "kind": "field",
38812
+ "name": "label",
38813
+ "type": {
38814
+ "text": "string"
38815
+ },
38816
+ "attribute": "label"
38817
+ },
38818
+ {
38819
+ "kind": "field",
38820
+ "name": "value",
38821
+ "type": {
38822
+ "text": "string"
38823
+ },
38824
+ "attribute": "value"
38825
+ },
38826
+ {
38827
+ "kind": "field",
38828
+ "name": "removable",
38829
+ "type": {
38830
+ "text": "boolean"
38831
+ },
38832
+ "default": "true",
38833
+ "attribute": "removable"
38834
+ },
38835
+ {
38836
+ "kind": "field",
38837
+ "name": "disabled",
38838
+ "type": {
38839
+ "text": "boolean"
38840
+ },
38841
+ "default": "false",
38842
+ "attribute": "disabled"
38843
+ },
38844
+ {
38845
+ "kind": "method",
38846
+ "name": "handleBodyClick",
38847
+ "return": {
38848
+ "type": {
38849
+ "text": "void"
38850
+ }
38851
+ }
38852
+ },
38853
+ {
38854
+ "kind": "method",
38855
+ "name": "handleRemoveClick",
38856
+ "return": {
38857
+ "type": {
38858
+ "text": "void"
38859
+ }
38860
+ },
38861
+ "parameters": [
38862
+ {
38863
+ "name": "event",
38864
+ "optional": true,
38865
+ "type": {
38866
+ "text": "Event"
38867
+ }
38868
+ }
38869
+ ]
38870
+ },
38871
+ {
38872
+ "kind": "field",
38873
+ "name": "_presentation",
38874
+ "type": {
38875
+ "text": "ComponentPresentation | null | undefined"
38876
+ },
38877
+ "privacy": "private",
38878
+ "default": "void 0",
38879
+ "inheritedFrom": {
38880
+ "name": "FoundationElement",
38881
+ "module": "src/foundation-element/foundation-element.ts"
38882
+ }
38883
+ },
38884
+ {
38885
+ "kind": "field",
38886
+ "name": "$presentation",
38887
+ "type": {
38888
+ "text": "ComponentPresentation | null"
38889
+ },
38890
+ "privacy": "public",
38891
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
38892
+ "inheritedFrom": {
38893
+ "name": "FoundationElement",
38894
+ "module": "src/foundation-element/foundation-element.ts"
38895
+ }
38896
+ },
38897
+ {
38898
+ "kind": "field",
38899
+ "name": "template",
38900
+ "type": {
38901
+ "text": "ElementViewTemplate | void | null"
38902
+ },
38903
+ "privacy": "public",
38904
+ "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.",
38905
+ "inheritedFrom": {
38906
+ "name": "FoundationElement",
38907
+ "module": "src/foundation-element/foundation-element.ts"
38908
+ }
38909
+ },
38910
+ {
38911
+ "kind": "method",
38912
+ "name": "templateChanged",
38913
+ "privacy": "protected",
38914
+ "return": {
38915
+ "type": {
38916
+ "text": "void"
38917
+ }
38918
+ },
38919
+ "inheritedFrom": {
38920
+ "name": "FoundationElement",
38921
+ "module": "src/foundation-element/foundation-element.ts"
38922
+ }
38923
+ },
38924
+ {
38925
+ "kind": "field",
38926
+ "name": "styles",
38927
+ "type": {
38928
+ "text": "ElementStyles | void | null"
38929
+ },
38930
+ "privacy": "public",
38931
+ "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.",
38932
+ "inheritedFrom": {
38933
+ "name": "FoundationElement",
38934
+ "module": "src/foundation-element/foundation-element.ts"
38935
+ }
38936
+ },
38937
+ {
38938
+ "kind": "method",
38939
+ "name": "stylesChanged",
38940
+ "privacy": "protected",
38941
+ "return": {
38942
+ "type": {
38943
+ "text": "void"
38944
+ }
38945
+ },
38946
+ "inheritedFrom": {
38947
+ "name": "FoundationElement",
38948
+ "module": "src/foundation-element/foundation-element.ts"
38949
+ }
38950
+ },
38951
+ {
38952
+ "kind": "method",
38953
+ "name": "compose",
38954
+ "privacy": "public",
38955
+ "static": true,
38956
+ "return": {
38957
+ "type": {
38958
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
38959
+ }
38960
+ },
38961
+ "parameters": [
38962
+ {
38963
+ "name": "this",
38964
+ "type": {
38965
+ "text": "K"
38966
+ }
38967
+ },
38968
+ {
38969
+ "name": "elementDefinition",
38970
+ "type": {
38971
+ "text": "T"
38972
+ },
38973
+ "description": "The definition of the element to create the registry\nfunction for."
38974
+ }
38975
+ ],
38976
+ "description": "Defines an element registry function with a set of element definition defaults.",
38977
+ "inheritedFrom": {
38978
+ "name": "FoundationElement",
38979
+ "module": "src/foundation-element/foundation-element.ts"
38980
+ }
38981
+ }
38982
+ ],
38983
+ "events": [
38984
+ {
38985
+ "description": "Fired when the remove control is activated.",
38986
+ "name": "remove"
38987
+ },
38988
+ {
38989
+ "description": "Fired when the pill body (excluding the remove control) is activated.",
38990
+ "name": "pill-click"
38991
+ }
38992
+ ],
38993
+ "attributes": [
38994
+ {
38995
+ "name": "label",
38996
+ "type": {
38997
+ "text": "string"
38998
+ },
38999
+ "fieldName": "label",
39000
+ "description": "the name of the thing this pill represents, e.g. a filter field name"
39001
+ },
39002
+ {
39003
+ "name": "value",
39004
+ "type": {
39005
+ "text": "string"
39006
+ },
39007
+ "fieldName": "value",
39008
+ "description": "the current value shown alongside the label, e.g. \"Cpty Desk: EQUITIES\""
39009
+ },
39010
+ {
39011
+ "name": "removable",
39012
+ "type": {
39013
+ "text": "boolean"
39014
+ },
39015
+ "default": "true",
39016
+ "fieldName": "removable",
39017
+ "description": "whether the \"x\" remove control is shown"
39018
+ },
39019
+ {
39020
+ "name": "disabled",
39021
+ "type": {
39022
+ "text": "boolean"
39023
+ },
39024
+ "default": "false",
39025
+ "fieldName": "disabled",
39026
+ "description": "disables both the pill body and the remove control"
39027
+ },
39028
+ {
39029
+ "name": "label",
39030
+ "type": {
39031
+ "text": "string"
39032
+ },
39033
+ "attribute": "label",
39034
+ "fieldName": "label"
39035
+ },
39036
+ {
39037
+ "name": "value",
39038
+ "type": {
39039
+ "text": "string"
39040
+ },
39041
+ "attribute": "value",
39042
+ "fieldName": "value"
39043
+ },
39044
+ {
39045
+ "type": {
39046
+ "text": "boolean"
39047
+ },
39048
+ "default": "true",
39049
+ "attribute": "removable",
39050
+ "fieldName": "removable"
39051
+ },
39052
+ {
39053
+ "type": {
39054
+ "text": "boolean"
39055
+ },
39056
+ "default": "false",
39057
+ "attribute": "disabled",
39058
+ "fieldName": "disabled"
39059
+ }
39060
+ ],
39061
+ "superclass": {
39062
+ "name": "FoundationElement",
39063
+ "package": "@microsoft/fast-foundation"
39064
+ },
39065
+ "tagName": "%%prefix%%-pill",
39066
+ "customElement": true
39067
+ },
39068
+ {
39069
+ "kind": "variable",
39070
+ "name": "foundationPill",
39071
+ "description": "The Foundation Pill",
39072
+ "privacy": "public"
39073
+ }
39074
+ ],
39075
+ "exports": [
39076
+ {
39077
+ "kind": "js",
39078
+ "name": "foundationPillShadowOptions",
39079
+ "declaration": {
39080
+ "name": "foundationPillShadowOptions",
39081
+ "module": "src/pill/pill.ts"
39082
+ }
39083
+ },
39084
+ {
39085
+ "kind": "js",
39086
+ "name": "defaultPillConfig",
39087
+ "declaration": {
39088
+ "name": "defaultPillConfig",
39089
+ "module": "src/pill/pill.ts"
39090
+ }
39091
+ },
39092
+ {
39093
+ "kind": "js",
39094
+ "name": "Pill",
39095
+ "declaration": {
39096
+ "name": "Pill",
39097
+ "module": "src/pill/pill.ts"
39098
+ }
39099
+ },
39100
+ {
39101
+ "kind": "js",
39102
+ "name": "foundationPill",
39103
+ "declaration": {
39104
+ "name": "foundationPill",
39105
+ "module": "src/pill/pill.ts"
39106
+ }
39107
+ }
39108
+ ]
39109
+ },
38698
39110
  {
38699
39111
  "kind": "javascript-module",
38700
39112
  "path": "src/popper/index.ts",