@genesislcap/foundation-ui 15.28.1 → 15.29.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.
@@ -1495,42 +1495,34 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/_config/index.ts",
1499
- "declarations": [],
1500
- "exports": [
1501
- {
1502
- "kind": "js",
1503
- "name": "*",
1504
- "declaration": {
1505
- "name": "*",
1506
- "package": "./styles"
1507
- }
1508
- },
1498
+ "path": "src/actions-menu/actions-menu.styles.ts",
1499
+ "declarations": [
1509
1500
  {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./tokens"
1515
- }
1501
+ "kind": "function",
1502
+ "name": "actionsMenuBaseStyles",
1503
+ "return": {
1504
+ "type": {
1505
+ "text": "ElementStyles"
1506
+ }
1507
+ },
1508
+ "parameters": [
1509
+ {
1510
+ "name": "context",
1511
+ "type": {
1512
+ "text": "ElementDefinitionContext"
1513
+ }
1514
+ },
1515
+ {
1516
+ "name": "definition",
1517
+ "type": {
1518
+ "text": "FoundationElementDefinition"
1519
+ }
1520
+ }
1521
+ ]
1516
1522
  },
1517
- {
1518
- "kind": "js",
1519
- "name": "*",
1520
- "declaration": {
1521
- "name": "*",
1522
- "package": "./values"
1523
- }
1524
- }
1525
- ]
1526
- },
1527
- {
1528
- "kind": "javascript-module",
1529
- "path": "src/accordion/accordion.styles.ts",
1530
- "declarations": [
1531
1523
  {
1532
1524
  "kind": "function",
1533
- "name": "foundationAccordionStyles",
1525
+ "name": "foundationActionsMenuStyles",
1534
1526
  "return": {
1535
1527
  "type": {
1536
1528
  "text": "ElementStyles"
@@ -1555,277 +1547,281 @@
1555
1547
  "exports": [
1556
1548
  {
1557
1549
  "kind": "js",
1558
- "name": "foundationAccordionStyles",
1550
+ "name": "actionsMenuBaseStyles",
1559
1551
  "declaration": {
1560
- "name": "foundationAccordionStyles",
1561
- "module": "src/accordion/accordion.styles.ts"
1552
+ "name": "actionsMenuBaseStyles",
1553
+ "module": "src/actions-menu/actions-menu.styles.ts"
1554
+ }
1555
+ },
1556
+ {
1557
+ "kind": "js",
1558
+ "name": "foundationActionsMenuStyles",
1559
+ "declaration": {
1560
+ "name": "foundationActionsMenuStyles",
1561
+ "module": "src/actions-menu/actions-menu.styles.ts"
1562
1562
  }
1563
1563
  }
1564
1564
  ]
1565
1565
  },
1566
1566
  {
1567
1567
  "kind": "javascript-module",
1568
- "path": "src/accordion/accordion.template.ts",
1568
+ "path": "src/actions-menu/actions-menu.template.ts",
1569
1569
  "declarations": [
1570
1570
  {
1571
1571
  "kind": "function",
1572
- "name": "foundationAccordionTemplate",
1573
- "return": {
1574
- "type": {
1575
- "text": "ViewTemplate<Accordion>"
1576
- }
1577
- },
1572
+ "name": "menuTemplate",
1578
1573
  "parameters": [
1579
1574
  {
1580
- "name": "context",
1575
+ "name": "prefix",
1581
1576
  "type": {
1582
- "text": "ElementDefinitionContext"
1577
+ "text": "string"
1583
1578
  }
1584
- },
1579
+ }
1580
+ ]
1581
+ },
1582
+ {
1583
+ "kind": "function",
1584
+ "name": "singleOptionTemplate",
1585
+ "parameters": [
1585
1586
  {
1586
- "name": "definition",
1587
+ "name": "prefix",
1587
1588
  "type": {
1588
- "text": "FoundationElementDefinition"
1589
+ "text": "string"
1589
1590
  }
1590
1591
  }
1591
1592
  ]
1593
+ },
1594
+ {
1595
+ "kind": "variable",
1596
+ "name": "foundationActionsMenuTemplate",
1597
+ "type": {
1598
+ "text": "ViewTemplate<ActionsMenu>"
1599
+ },
1600
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1592
1601
  }
1593
1602
  ],
1594
1603
  "exports": [
1595
1604
  {
1596
1605
  "kind": "js",
1597
- "name": "foundationAccordionTemplate",
1606
+ "name": "menuTemplate",
1598
1607
  "declaration": {
1599
- "name": "foundationAccordionTemplate",
1600
- "module": "src/accordion/accordion.template.ts"
1608
+ "name": "menuTemplate",
1609
+ "module": "src/actions-menu/actions-menu.template.ts"
1610
+ }
1611
+ },
1612
+ {
1613
+ "kind": "js",
1614
+ "name": "singleOptionTemplate",
1615
+ "declaration": {
1616
+ "name": "singleOptionTemplate",
1617
+ "module": "src/actions-menu/actions-menu.template.ts"
1618
+ }
1619
+ },
1620
+ {
1621
+ "kind": "js",
1622
+ "name": "foundationActionsMenuTemplate",
1623
+ "declaration": {
1624
+ "name": "foundationActionsMenuTemplate",
1625
+ "module": "src/actions-menu/actions-menu.template.ts"
1601
1626
  }
1602
1627
  }
1603
1628
  ]
1604
1629
  },
1605
1630
  {
1606
1631
  "kind": "javascript-module",
1607
- "path": "src/accordion/accordion.ts",
1632
+ "path": "src/actions-menu/actions-menu.ts",
1608
1633
  "declarations": [
1609
1634
  {
1610
1635
  "kind": "class",
1611
1636
  "description": "",
1612
- "name": "Accordion",
1613
- "superclass": {
1614
- "name": "FASTAccordion",
1615
- "package": "@microsoft/fast-foundation"
1616
- },
1617
- "tagName": "%%prefix%%-accordion",
1618
- "customElement": true,
1619
- "attributes": [
1637
+ "name": "ActionsMenu",
1638
+ "members": [
1620
1639
  {
1621
- "name": "expand-mode",
1640
+ "kind": "field",
1641
+ "name": "actions",
1622
1642
  "type": {
1623
- "text": "AccordionExpandMode"
1624
- },
1625
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1626
- "fieldName": "expandmode",
1627
- "inheritedFrom": {
1628
- "name": "Accordion",
1629
- "module": "src/accordion/accordion.ts"
1643
+ "text": "ActionMenuItem[]"
1630
1644
  }
1631
- }
1632
- ],
1633
- "members": [
1645
+ },
1634
1646
  {
1635
1647
  "kind": "field",
1636
- "name": "expandmode",
1648
+ "name": "isVertical",
1637
1649
  "type": {
1638
- "text": "AccordionExpandMode"
1650
+ "text": "boolean"
1639
1651
  },
1640
- "privacy": "public",
1641
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1642
- "inheritedFrom": {
1643
- "name": "Accordion",
1644
- "module": "src/accordion/accordion.ts"
1645
- }
1652
+ "default": "false"
1646
1653
  },
1647
1654
  {
1648
1655
  "kind": "field",
1649
- "name": "activeid",
1656
+ "name": "addDefaultActions",
1650
1657
  "type": {
1651
- "text": "string | null"
1658
+ "text": "boolean"
1652
1659
  },
1653
- "privacy": "private",
1654
- "inheritedFrom": {
1655
- "name": "Accordion",
1656
- "module": "src/accordion/accordion.ts"
1657
- }
1660
+ "default": "true"
1658
1661
  },
1659
1662
  {
1660
1663
  "kind": "field",
1661
- "name": "activeItemIndex",
1664
+ "name": "autoCloseOnAction",
1662
1665
  "type": {
1663
- "text": "number"
1666
+ "text": "boolean"
1664
1667
  },
1665
- "privacy": "private",
1666
- "default": "0",
1667
- "inheritedFrom": {
1668
- "name": "Accordion",
1669
- "module": "src/accordion/accordion.ts"
1670
- }
1668
+ "default": "true"
1671
1669
  },
1672
1670
  {
1673
1671
  "kind": "field",
1674
- "name": "accordionIds",
1672
+ "name": "classNames",
1675
1673
  "type": {
1676
- "text": "Array<string | null>"
1677
- },
1678
- "privacy": "private",
1679
- "inheritedFrom": {
1680
- "name": "Accordion",
1681
- "module": "src/accordion/accordion.ts"
1674
+ "text": "string"
1682
1675
  }
1683
1676
  },
1684
1677
  {
1685
1678
  "kind": "field",
1686
- "name": "change",
1687
- "privacy": "private",
1688
- "inheritedFrom": {
1689
- "name": "Accordion",
1690
- "module": "src/accordion/accordion.ts"
1679
+ "name": "definition",
1680
+ "type": {
1681
+ "text": "any"
1691
1682
  }
1692
1683
  },
1693
1684
  {
1694
- "kind": "method",
1695
- "name": "findExpandedItem",
1696
- "privacy": "private",
1697
- "return": {
1698
- "type": {
1699
- "text": "AccordionItem | null"
1700
- }
1685
+ "kind": "field",
1686
+ "name": "name",
1687
+ "type": {
1688
+ "text": "string"
1701
1689
  },
1702
- "inheritedFrom": {
1703
- "name": "Accordion",
1704
- "module": "src/accordion/accordion.ts"
1705
- }
1690
+ "default": "'Actions'"
1706
1691
  },
1707
1692
  {
1708
1693
  "kind": "field",
1709
- "name": "setItems",
1710
- "privacy": "private",
1711
- "inheritedFrom": {
1712
- "name": "Accordion",
1713
- "module": "src/accordion/accordion.ts"
1694
+ "name": "open",
1695
+ "type": {
1696
+ "text": "boolean"
1697
+ },
1698
+ "default": "false"
1699
+ },
1700
+ {
1701
+ "kind": "field",
1702
+ "name": "buttonAppearance",
1703
+ "type": {
1704
+ "text": "string"
1714
1705
  }
1715
1706
  },
1716
1707
  {
1717
- "kind": "method",
1718
- "name": "resetItems",
1719
- "privacy": "private",
1720
- "return": {
1721
- "type": {
1722
- "text": "void"
1723
- }
1708
+ "kind": "field",
1709
+ "name": "hideDisabled",
1710
+ "type": {
1711
+ "text": "boolean"
1724
1712
  },
1725
- "inheritedFrom": {
1726
- "name": "Accordion",
1727
- "module": "src/accordion/accordion.ts"
1713
+ "default": "false"
1714
+ },
1715
+ {
1716
+ "kind": "field",
1717
+ "name": "hideMenuSingleOption",
1718
+ "type": {
1719
+ "text": "boolean"
1720
+ },
1721
+ "default": "false"
1722
+ },
1723
+ {
1724
+ "kind": "field",
1725
+ "name": "singleOption",
1726
+ "type": {
1727
+ "text": "ActionMenuItem"
1728
1728
  }
1729
1729
  },
1730
1730
  {
1731
1731
  "kind": "field",
1732
- "name": "removeItemListeners",
1733
- "privacy": "private",
1734
- "inheritedFrom": {
1735
- "name": "Accordion",
1736
- "module": "src/accordion/accordion.ts"
1732
+ "name": "actionsMenu",
1733
+ "type": {
1734
+ "text": "HTMLElement"
1737
1735
  }
1738
1736
  },
1739
1737
  {
1740
1738
  "kind": "field",
1741
- "name": "activeItemChange",
1742
- "privacy": "private",
1743
- "inheritedFrom": {
1744
- "name": "Accordion",
1745
- "module": "src/accordion/accordion.ts"
1739
+ "name": "actionsOpener",
1740
+ "type": {
1741
+ "text": "HTMLElement"
1746
1742
  }
1747
1743
  },
1748
1744
  {
1749
1745
  "kind": "method",
1750
- "name": "getItemIds",
1751
- "privacy": "private",
1752
- "return": {
1753
- "type": {
1754
- "text": "Array<string | null>"
1746
+ "name": "updateMenuPosition",
1747
+ "privacy": "private"
1748
+ },
1749
+ {
1750
+ "kind": "method",
1751
+ "name": "definitionChanged",
1752
+ "privacy": "protected",
1753
+ "parameters": [
1754
+ {
1755
+ "name": "oldValue",
1756
+ "type": {
1757
+ "text": "any"
1758
+ }
1759
+ },
1760
+ {
1761
+ "name": "newValue",
1762
+ "type": {
1763
+ "text": "any"
1764
+ }
1755
1765
  }
1756
- },
1757
- "inheritedFrom": {
1758
- "name": "Accordion",
1759
- "module": "src/accordion/accordion.ts"
1760
- }
1766
+ ]
1761
1767
  },
1762
1768
  {
1763
1769
  "kind": "method",
1764
- "name": "isSingleExpandMode",
1765
- "privacy": "private",
1766
- "return": {
1767
- "type": {
1768
- "text": "boolean"
1770
+ "name": "openChanged",
1771
+ "privacy": "protected"
1772
+ },
1773
+ {
1774
+ "kind": "method",
1775
+ "name": "toggleActionsMenuVisibility"
1776
+ },
1777
+ {
1778
+ "kind": "method",
1779
+ "name": "onActionMenuItemClick",
1780
+ "parameters": [
1781
+ {
1782
+ "name": "callback",
1783
+ "type": {
1784
+ "text": "(rowData) => void | any"
1785
+ }
1769
1786
  }
1770
- },
1771
- "inheritedFrom": {
1772
- "name": "Accordion",
1773
- "module": "src/accordion/accordion.ts"
1774
- }
1787
+ ]
1775
1788
  },
1776
1789
  {
1777
1790
  "kind": "field",
1778
- "name": "handleItemKeyDown",
1779
- "privacy": "private",
1780
- "inheritedFrom": {
1781
- "name": "Accordion",
1782
- "module": "src/accordion/accordion.ts"
1783
- }
1791
+ "name": "allActions",
1792
+ "type": {
1793
+ "text": "ActionMenuItem[]"
1794
+ },
1795
+ "readonly": true
1784
1796
  },
1785
1797
  {
1786
1798
  "kind": "field",
1787
- "name": "handleItemFocus",
1788
- "privacy": "private",
1789
- "inheritedFrom": {
1790
- "name": "Accordion",
1791
- "module": "src/accordion/accordion.ts"
1792
- }
1799
+ "name": "rowData",
1800
+ "readonly": true
1793
1801
  },
1794
1802
  {
1795
1803
  "kind": "method",
1796
- "name": "adjust",
1797
- "privacy": "private",
1798
- "return": {
1799
- "type": {
1800
- "text": "void"
1801
- }
1802
- },
1804
+ "name": "getLabel",
1803
1805
  "parameters": [
1804
1806
  {
1805
- "name": "adjustment",
1807
+ "name": "name",
1806
1808
  "type": {
1807
- "text": "number"
1809
+ "text": "string | ((rowData: any) => string)"
1808
1810
  }
1809
1811
  }
1810
- ],
1811
- "inheritedFrom": {
1812
- "name": "Accordion",
1813
- "module": "src/accordion/accordion.ts"
1814
- }
1812
+ ]
1815
1813
  },
1816
1814
  {
1817
1815
  "kind": "method",
1818
- "name": "focusItem",
1819
- "privacy": "private",
1820
- "return": {
1821
- "type": {
1822
- "text": "void"
1816
+ "name": "getTemplate",
1817
+ "parameters": [
1818
+ {
1819
+ "name": "prefix",
1820
+ "type": {
1821
+ "text": "string"
1822
+ }
1823
1823
  }
1824
- },
1825
- "inheritedFrom": {
1826
- "name": "Accordion",
1827
- "module": "src/accordion/accordion.ts"
1828
- }
1824
+ ]
1829
1825
  },
1830
1826
  {
1831
1827
  "kind": "field",
@@ -1939,78 +1935,107 @@
1939
1935
  }
1940
1936
  }
1941
1937
  ],
1942
- "events": [
1938
+ "attributes": [
1943
1939
  {
1944
- "description": "Fires a custom 'change' event when the active item changes",
1945
- "name": "change",
1946
- "inheritedFrom": {
1947
- "name": "Accordion",
1948
- "module": "src/accordion/accordion.ts"
1949
- }
1940
+ "name": "is-vertical",
1941
+ "type": {
1942
+ "text": "boolean"
1943
+ },
1944
+ "default": "false",
1945
+ "fieldName": "isVertical"
1946
+ },
1947
+ {
1948
+ "name": "add-default-actions",
1949
+ "type": {
1950
+ "text": "boolean"
1951
+ },
1952
+ "default": "true",
1953
+ "fieldName": "addDefaultActions"
1954
+ },
1955
+ {
1956
+ "name": "auto-close-on-action",
1957
+ "type": {
1958
+ "text": "boolean"
1959
+ },
1960
+ "default": "true",
1961
+ "fieldName": "autoCloseOnAction"
1962
+ },
1963
+ {
1964
+ "name": "name",
1965
+ "type": {
1966
+ "text": "string"
1967
+ },
1968
+ "default": "'Actions'",
1969
+ "fieldName": "name"
1970
+ },
1971
+ {
1972
+ "name": "open",
1973
+ "type": {
1974
+ "text": "boolean"
1975
+ },
1976
+ "default": "false",
1977
+ "fieldName": "open"
1978
+ },
1979
+ {
1980
+ "name": "buttonAppearance",
1981
+ "type": {
1982
+ "text": "string"
1983
+ },
1984
+ "fieldName": "buttonAppearance"
1985
+ },
1986
+ {
1987
+ "name": "hide-disabled",
1988
+ "type": {
1989
+ "text": "boolean"
1990
+ },
1991
+ "default": "false",
1992
+ "fieldName": "hideDisabled"
1993
+ },
1994
+ {
1995
+ "name": "hide-menu-single-option",
1996
+ "type": {
1997
+ "text": "boolean"
1998
+ },
1999
+ "default": "false",
2000
+ "fieldName": "hideMenuSingleOption"
1950
2001
  }
1951
- ]
1952
- },
1953
- {
1954
- "kind": "variable",
1955
- "name": "foundationAccordionShadowOptions",
1956
- "type": {
1957
- "text": "ShadowRootInit"
1958
- },
1959
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1960
- },
1961
- {
1962
- "kind": "variable",
1963
- "name": "defaultAccordionConfig",
1964
- "type": {
1965
- "text": "object"
2002
+ ],
2003
+ "superclass": {
2004
+ "name": "FoundationElement",
2005
+ "package": "@microsoft/fast-foundation"
1966
2006
  },
1967
- "default": "{}"
2007
+ "tagName": "%%prefix%%-actions-menu",
2008
+ "customElement": true
1968
2009
  },
1969
2010
  {
1970
2011
  "kind": "variable",
1971
- "name": "foundationAccordion",
1972
- "description": "The Foundation Accordion",
2012
+ "name": "foundationActionsMenu",
2013
+ "description": "The Foundation Actions Menu",
1973
2014
  "privacy": "public"
1974
2015
  }
1975
2016
  ],
1976
2017
  "exports": [
1977
2018
  {
1978
2019
  "kind": "js",
1979
- "name": "Accordion",
1980
- "declaration": {
1981
- "name": "Accordion",
1982
- "module": "src/accordion/accordion.ts"
1983
- }
1984
- },
1985
- {
1986
- "kind": "js",
1987
- "name": "foundationAccordionShadowOptions",
1988
- "declaration": {
1989
- "name": "foundationAccordionShadowOptions",
1990
- "module": "src/accordion/accordion.ts"
1991
- }
1992
- },
1993
- {
1994
- "kind": "js",
1995
- "name": "defaultAccordionConfig",
2020
+ "name": "ActionsMenu",
1996
2021
  "declaration": {
1997
- "name": "defaultAccordionConfig",
1998
- "module": "src/accordion/accordion.ts"
2022
+ "name": "ActionsMenu",
2023
+ "module": "src/actions-menu/actions-menu.ts"
1999
2024
  }
2000
2025
  },
2001
2026
  {
2002
2027
  "kind": "js",
2003
- "name": "foundationAccordion",
2028
+ "name": "foundationActionsMenu",
2004
2029
  "declaration": {
2005
- "name": "foundationAccordion",
2006
- "module": "src/accordion/accordion.ts"
2030
+ "name": "foundationActionsMenu",
2031
+ "module": "src/actions-menu/actions-menu.ts"
2007
2032
  }
2008
2033
  }
2009
2034
  ]
2010
2035
  },
2011
2036
  {
2012
2037
  "kind": "javascript-module",
2013
- "path": "src/accordion/index.ts",
2038
+ "path": "src/actions-menu/index.ts",
2014
2039
  "declarations": [],
2015
2040
  "exports": [
2016
2041
  {
@@ -2018,7 +2043,7 @@
2018
2043
  "name": "*",
2019
2044
  "declaration": {
2020
2045
  "name": "*",
2021
- "package": "./accordion.template"
2046
+ "package": "./actions-menu.styles"
2022
2047
  }
2023
2048
  },
2024
2049
  {
@@ -2026,7 +2051,7 @@
2026
2051
  "name": "*",
2027
2052
  "declaration": {
2028
2053
  "name": "*",
2029
- "package": "./accordion.styles"
2054
+ "package": "./actions-menu.template"
2030
2055
  }
2031
2056
  },
2032
2057
  {
@@ -2034,41 +2059,18 @@
2034
2059
  "name": "*",
2035
2060
  "declaration": {
2036
2061
  "name": "*",
2037
- "package": "./accordion"
2062
+ "package": "./actions-menu"
2038
2063
  }
2039
2064
  }
2040
2065
  ]
2041
2066
  },
2042
2067
  {
2043
2068
  "kind": "javascript-module",
2044
- "path": "src/actions-menu/actions-menu.styles.ts",
2069
+ "path": "src/accordion-item/accordion-item.styles.ts",
2045
2070
  "declarations": [
2046
2071
  {
2047
2072
  "kind": "function",
2048
- "name": "actionsMenuBaseStyles",
2049
- "return": {
2050
- "type": {
2051
- "text": "ElementStyles"
2052
- }
2053
- },
2054
- "parameters": [
2055
- {
2056
- "name": "context",
2057
- "type": {
2058
- "text": "ElementDefinitionContext"
2059
- }
2060
- },
2061
- {
2062
- "name": "definition",
2063
- "type": {
2064
- "text": "FoundationElementDefinition"
2065
- }
2066
- }
2067
- ]
2068
- },
2069
- {
2070
- "kind": "function",
2071
- "name": "foundationActionsMenuStyles",
2073
+ "name": "foundationAccordionItemStyles",
2072
2074
  "return": {
2073
2075
  "type": {
2074
2076
  "text": "ElementStyles"
@@ -2093,281 +2095,156 @@
2093
2095
  "exports": [
2094
2096
  {
2095
2097
  "kind": "js",
2096
- "name": "actionsMenuBaseStyles",
2097
- "declaration": {
2098
- "name": "actionsMenuBaseStyles",
2099
- "module": "src/actions-menu/actions-menu.styles.ts"
2100
- }
2101
- },
2102
- {
2103
- "kind": "js",
2104
- "name": "foundationActionsMenuStyles",
2098
+ "name": "foundationAccordionItemStyles",
2105
2099
  "declaration": {
2106
- "name": "foundationActionsMenuStyles",
2107
- "module": "src/actions-menu/actions-menu.styles.ts"
2100
+ "name": "foundationAccordionItemStyles",
2101
+ "module": "src/accordion-item/accordion-item.styles.ts"
2108
2102
  }
2109
2103
  }
2110
2104
  ]
2111
2105
  },
2112
2106
  {
2113
2107
  "kind": "javascript-module",
2114
- "path": "src/actions-menu/actions-menu.template.ts",
2108
+ "path": "src/accordion-item/accordion-item.template.ts",
2115
2109
  "declarations": [
2116
2110
  {
2117
2111
  "kind": "function",
2118
- "name": "menuTemplate",
2112
+ "name": "foundationAccordionItemTemplate",
2113
+ "return": {
2114
+ "type": {
2115
+ "text": "ViewTemplate<AccordionItem>"
2116
+ }
2117
+ },
2119
2118
  "parameters": [
2120
2119
  {
2121
- "name": "prefix",
2120
+ "name": "context",
2122
2121
  "type": {
2123
- "text": "string"
2122
+ "text": "ElementDefinitionContext"
2124
2123
  }
2125
- }
2126
- ]
2127
- },
2128
- {
2129
- "kind": "function",
2130
- "name": "singleOptionTemplate",
2131
- "parameters": [
2124
+ },
2132
2125
  {
2133
- "name": "prefix",
2126
+ "name": "definition",
2134
2127
  "type": {
2135
- "text": "string"
2128
+ "text": "FoundationElementDefinition"
2136
2129
  }
2137
2130
  }
2138
2131
  ]
2139
- },
2140
- {
2141
- "kind": "variable",
2142
- "name": "foundationActionsMenuTemplate",
2143
- "type": {
2144
- "text": "ViewTemplate<ActionsMenu>"
2145
- },
2146
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2147
2132
  }
2148
2133
  ],
2149
2134
  "exports": [
2150
2135
  {
2151
2136
  "kind": "js",
2152
- "name": "menuTemplate",
2153
- "declaration": {
2154
- "name": "menuTemplate",
2155
- "module": "src/actions-menu/actions-menu.template.ts"
2156
- }
2157
- },
2158
- {
2159
- "kind": "js",
2160
- "name": "singleOptionTemplate",
2161
- "declaration": {
2162
- "name": "singleOptionTemplate",
2163
- "module": "src/actions-menu/actions-menu.template.ts"
2164
- }
2165
- },
2166
- {
2167
- "kind": "js",
2168
- "name": "foundationActionsMenuTemplate",
2137
+ "name": "foundationAccordionItemTemplate",
2169
2138
  "declaration": {
2170
- "name": "foundationActionsMenuTemplate",
2171
- "module": "src/actions-menu/actions-menu.template.ts"
2139
+ "name": "foundationAccordionItemTemplate",
2140
+ "module": "src/accordion-item/accordion-item.template.ts"
2172
2141
  }
2173
2142
  }
2174
2143
  ]
2175
2144
  },
2176
2145
  {
2177
2146
  "kind": "javascript-module",
2178
- "path": "src/actions-menu/actions-menu.ts",
2147
+ "path": "src/accordion-item/accordion-item.ts",
2179
2148
  "declarations": [
2180
2149
  {
2181
2150
  "kind": "class",
2182
2151
  "description": "",
2183
- "name": "ActionsMenu",
2184
- "members": [
2185
- {
2186
- "kind": "field",
2187
- "name": "actions",
2188
- "type": {
2189
- "text": "ActionMenuItem[]"
2190
- }
2191
- },
2192
- {
2193
- "kind": "field",
2194
- "name": "isVertical",
2195
- "type": {
2196
- "text": "boolean"
2197
- },
2198
- "default": "false"
2199
- },
2152
+ "name": "AccordionItem",
2153
+ "superclass": {
2154
+ "name": "FASTAccordionItem",
2155
+ "package": "@microsoft/fast-components"
2156
+ },
2157
+ "tagName": "%%prefix%%-accordion-item",
2158
+ "customElement": true,
2159
+ "attributes": [
2200
2160
  {
2201
- "kind": "field",
2202
- "name": "addDefaultActions",
2161
+ "name": "heading-level",
2203
2162
  "type": {
2204
- "text": "boolean"
2163
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2205
2164
  },
2206
- "default": "true"
2165
+ "default": "2",
2166
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2167
+ "fieldName": "headinglevel",
2168
+ "inheritedFrom": {
2169
+ "name": "AccordionItem",
2170
+ "module": "src/accordion-item/accordion-item.ts"
2171
+ }
2207
2172
  },
2208
2173
  {
2209
- "kind": "field",
2210
- "name": "autoCloseOnAction",
2211
2174
  "type": {
2212
2175
  "text": "boolean"
2213
2176
  },
2214
- "default": "true"
2215
- },
2216
- {
2217
- "kind": "field",
2218
- "name": "classNames",
2219
- "type": {
2220
- "text": "string"
2221
- }
2222
- },
2223
- {
2224
- "kind": "field",
2225
- "name": "definition",
2226
- "type": {
2227
- "text": "any"
2177
+ "default": "false",
2178
+ "description": "Expands or collapses the item.",
2179
+ "fieldName": "expanded",
2180
+ "inheritedFrom": {
2181
+ "name": "AccordionItem",
2182
+ "module": "src/accordion-item/accordion-item.ts"
2228
2183
  }
2229
2184
  },
2230
2185
  {
2231
- "kind": "field",
2232
- "name": "name",
2186
+ "name": "id",
2233
2187
  "type": {
2234
2188
  "text": "string"
2235
2189
  },
2236
- "default": "'Actions'"
2237
- },
2238
- {
2239
- "kind": "field",
2240
- "name": "open",
2241
- "type": {
2242
- "text": "boolean"
2243
- },
2244
- "default": "false"
2245
- },
2246
- {
2247
- "kind": "field",
2248
- "name": "buttonAppearance",
2249
- "type": {
2250
- "text": "string"
2190
+ "description": "The item ID",
2191
+ "fieldName": "id",
2192
+ "inheritedFrom": {
2193
+ "name": "AccordionItem",
2194
+ "module": "src/accordion-item/accordion-item.ts"
2251
2195
  }
2252
- },
2196
+ }
2197
+ ],
2198
+ "members": [
2253
2199
  {
2254
2200
  "kind": "field",
2255
- "name": "hideDisabled",
2201
+ "name": "headinglevel",
2256
2202
  "type": {
2257
- "text": "boolean"
2203
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2258
2204
  },
2259
- "default": "false"
2205
+ "privacy": "public",
2206
+ "default": "2",
2207
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2208
+ "inheritedFrom": {
2209
+ "name": "AccordionItem",
2210
+ "module": "src/accordion-item/accordion-item.ts"
2211
+ }
2260
2212
  },
2261
2213
  {
2262
2214
  "kind": "field",
2263
- "name": "hideMenuSingleOption",
2215
+ "name": "expanded",
2264
2216
  "type": {
2265
2217
  "text": "boolean"
2266
2218
  },
2267
- "default": "false"
2268
- },
2269
- {
2270
- "kind": "field",
2271
- "name": "singleOption",
2272
- "type": {
2273
- "text": "ActionMenuItem"
2274
- }
2275
- },
2276
- {
2277
- "kind": "field",
2278
- "name": "actionsMenu",
2279
- "type": {
2280
- "text": "HTMLElement"
2219
+ "privacy": "public",
2220
+ "default": "false",
2221
+ "description": "Expands or collapses the item.",
2222
+ "inheritedFrom": {
2223
+ "name": "AccordionItem",
2224
+ "module": "src/accordion-item/accordion-item.ts"
2281
2225
  }
2282
2226
  },
2283
2227
  {
2284
2228
  "kind": "field",
2285
- "name": "actionsOpener",
2286
- "type": {
2287
- "text": "HTMLElement"
2288
- }
2289
- },
2290
- {
2291
- "kind": "method",
2292
- "name": "updateMenuPosition",
2293
- "privacy": "private"
2294
- },
2295
- {
2296
- "kind": "method",
2297
- "name": "definitionChanged",
2298
- "privacy": "protected",
2299
- "parameters": [
2300
- {
2301
- "name": "oldValue",
2302
- "type": {
2303
- "text": "any"
2304
- }
2305
- },
2306
- {
2307
- "name": "newValue",
2308
- "type": {
2309
- "text": "any"
2310
- }
2311
- }
2312
- ]
2313
- },
2314
- {
2315
- "kind": "method",
2316
- "name": "openChanged",
2317
- "privacy": "protected"
2318
- },
2319
- {
2320
- "kind": "method",
2321
- "name": "toggleActionsMenuVisibility"
2322
- },
2323
- {
2324
- "kind": "method",
2325
- "name": "onActionMenuItemClick",
2326
- "parameters": [
2327
- {
2328
- "name": "callback",
2329
- "type": {
2330
- "text": "(rowData) => void | any"
2331
- }
2332
- }
2333
- ]
2334
- },
2335
- {
2336
- "kind": "field",
2337
- "name": "allActions",
2229
+ "name": "id",
2338
2230
  "type": {
2339
- "text": "ActionMenuItem[]"
2231
+ "text": "string"
2340
2232
  },
2341
- "readonly": true
2342
- },
2343
- {
2344
- "kind": "field",
2345
- "name": "rowData",
2346
- "readonly": true
2347
- },
2348
- {
2349
- "kind": "method",
2350
- "name": "getLabel",
2351
- "parameters": [
2352
- {
2353
- "name": "name",
2354
- "type": {
2355
- "text": "string | ((rowData: any) => string)"
2356
- }
2357
- }
2358
- ]
2233
+ "privacy": "public",
2234
+ "description": "The item ID",
2235
+ "inheritedFrom": {
2236
+ "name": "AccordionItem",
2237
+ "module": "src/accordion-item/accordion-item.ts"
2238
+ }
2359
2239
  },
2360
2240
  {
2361
- "kind": "method",
2362
- "name": "getTemplate",
2363
- "parameters": [
2364
- {
2365
- "name": "prefix",
2366
- "type": {
2367
- "text": "string"
2368
- }
2369
- }
2370
- ]
2241
+ "kind": "field",
2242
+ "name": "change",
2243
+ "privacy": "private",
2244
+ "inheritedFrom": {
2245
+ "name": "AccordionItem",
2246
+ "module": "src/accordion-item/accordion-item.ts"
2247
+ }
2371
2248
  },
2372
2249
  {
2373
2250
  "kind": "field",
@@ -2481,107 +2358,78 @@
2481
2358
  }
2482
2359
  }
2483
2360
  ],
2484
- "attributes": [
2485
- {
2486
- "name": "is-vertical",
2487
- "type": {
2488
- "text": "boolean"
2489
- },
2490
- "default": "false",
2491
- "fieldName": "isVertical"
2492
- },
2493
- {
2494
- "name": "add-default-actions",
2495
- "type": {
2496
- "text": "boolean"
2497
- },
2498
- "default": "true",
2499
- "fieldName": "addDefaultActions"
2500
- },
2501
- {
2502
- "name": "auto-close-on-action",
2503
- "type": {
2504
- "text": "boolean"
2505
- },
2506
- "default": "true",
2507
- "fieldName": "autoCloseOnAction"
2508
- },
2509
- {
2510
- "name": "name",
2511
- "type": {
2512
- "text": "string"
2513
- },
2514
- "default": "'Actions'",
2515
- "fieldName": "name"
2516
- },
2517
- {
2518
- "name": "open",
2519
- "type": {
2520
- "text": "boolean"
2521
- },
2522
- "default": "false",
2523
- "fieldName": "open"
2524
- },
2525
- {
2526
- "name": "buttonAppearance",
2527
- "type": {
2528
- "text": "string"
2529
- },
2530
- "fieldName": "buttonAppearance"
2531
- },
2532
- {
2533
- "name": "hide-disabled",
2534
- "type": {
2535
- "text": "boolean"
2536
- },
2537
- "default": "false",
2538
- "fieldName": "hideDisabled"
2539
- },
2361
+ "events": [
2540
2362
  {
2541
- "name": "hide-menu-single-option",
2542
- "type": {
2543
- "text": "boolean"
2544
- },
2545
- "default": "false",
2546
- "fieldName": "hideMenuSingleOption"
2363
+ "description": "Fires a custom 'change' event when the button is invoked",
2364
+ "name": "change",
2365
+ "inheritedFrom": {
2366
+ "name": "AccordionItem",
2367
+ "module": "src/accordion-item/accordion-item.ts"
2368
+ }
2547
2369
  }
2548
- ],
2549
- "superclass": {
2550
- "name": "FoundationElement",
2551
- "package": "@microsoft/fast-foundation"
2370
+ ]
2371
+ },
2372
+ {
2373
+ "kind": "variable",
2374
+ "name": "foundationAccordionItemShadowOptions",
2375
+ "type": {
2376
+ "text": "ShadowRootInit"
2552
2377
  },
2553
- "tagName": "%%prefix%%-actions-menu",
2554
- "customElement": true
2378
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2555
2379
  },
2556
2380
  {
2557
2381
  "kind": "variable",
2558
- "name": "foundationActionsMenu",
2559
- "description": "The Foundation Actions Menu",
2382
+ "name": "defaultAccordionItemConfig",
2383
+ "type": {
2384
+ "text": "object"
2385
+ },
2386
+ "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}"
2387
+ },
2388
+ {
2389
+ "kind": "variable",
2390
+ "name": "foundationAccordionItem",
2391
+ "description": "The Foundation Accordion Item",
2560
2392
  "privacy": "public"
2561
2393
  }
2562
2394
  ],
2563
2395
  "exports": [
2564
2396
  {
2565
2397
  "kind": "js",
2566
- "name": "ActionsMenu",
2398
+ "name": "AccordionItem",
2567
2399
  "declaration": {
2568
- "name": "ActionsMenu",
2569
- "module": "src/actions-menu/actions-menu.ts"
2400
+ "name": "AccordionItem",
2401
+ "module": "src/accordion-item/accordion-item.ts"
2570
2402
  }
2571
2403
  },
2572
2404
  {
2573
2405
  "kind": "js",
2574
- "name": "foundationActionsMenu",
2406
+ "name": "foundationAccordionItemShadowOptions",
2575
2407
  "declaration": {
2576
- "name": "foundationActionsMenu",
2577
- "module": "src/actions-menu/actions-menu.ts"
2408
+ "name": "foundationAccordionItemShadowOptions",
2409
+ "module": "src/accordion-item/accordion-item.ts"
2410
+ }
2411
+ },
2412
+ {
2413
+ "kind": "js",
2414
+ "name": "defaultAccordionItemConfig",
2415
+ "declaration": {
2416
+ "name": "defaultAccordionItemConfig",
2417
+ "module": "src/accordion-item/accordion-item.ts"
2418
+ }
2419
+ },
2420
+ {
2421
+ "kind": "js",
2422
+ "name": "foundationAccordionItem",
2423
+ "declaration": {
2424
+ "name": "foundationAccordionItem",
2425
+ "module": "src/accordion-item/accordion-item.ts"
2578
2426
  }
2579
2427
  }
2580
2428
  ]
2581
2429
  },
2582
2430
  {
2583
2431
  "kind": "javascript-module",
2584
- "path": "src/actions-menu/index.ts",
2432
+ "path": "src/accordion-item/index.ts",
2585
2433
  "declarations": [],
2586
2434
  "exports": [
2587
2435
  {
@@ -2589,7 +2437,7 @@
2589
2437
  "name": "*",
2590
2438
  "declaration": {
2591
2439
  "name": "*",
2592
- "package": "./actions-menu.styles"
2440
+ "package": "./accordion-item.template"
2593
2441
  }
2594
2442
  },
2595
2443
  {
@@ -2597,7 +2445,7 @@
2597
2445
  "name": "*",
2598
2446
  "declaration": {
2599
2447
  "name": "*",
2600
- "package": "./actions-menu.template"
2448
+ "package": "./accordion-item.styles"
2601
2449
  }
2602
2450
  },
2603
2451
  {
@@ -2605,18 +2453,18 @@
2605
2453
  "name": "*",
2606
2454
  "declaration": {
2607
2455
  "name": "*",
2608
- "package": "./actions-menu"
2456
+ "package": "./accordion-item"
2609
2457
  }
2610
2458
  }
2611
2459
  ]
2612
2460
  },
2613
2461
  {
2614
2462
  "kind": "javascript-module",
2615
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2463
+ "path": "src/accordion/accordion.styles.ts",
2616
2464
  "declarations": [
2617
2465
  {
2618
2466
  "kind": "function",
2619
- "name": "foundationAiIndicatorStyles",
2467
+ "name": "foundationAccordionStyles",
2620
2468
  "return": {
2621
2469
  "type": {
2622
2470
  "text": "ElementStyles"
@@ -2641,224 +2489,276 @@
2641
2489
  "exports": [
2642
2490
  {
2643
2491
  "kind": "js",
2644
- "name": "foundationAiIndicatorStyles",
2492
+ "name": "foundationAccordionStyles",
2645
2493
  "declaration": {
2646
- "name": "foundationAiIndicatorStyles",
2647
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2494
+ "name": "foundationAccordionStyles",
2495
+ "module": "src/accordion/accordion.styles.ts"
2648
2496
  }
2649
2497
  }
2650
2498
  ]
2651
2499
  },
2652
2500
  {
2653
2501
  "kind": "javascript-module",
2654
- "path": "src/ai-indicator/ai-indicator.template.ts",
2502
+ "path": "src/accordion/accordion.template.ts",
2655
2503
  "declarations": [
2656
2504
  {
2657
- "kind": "variable",
2658
- "name": "foundationAiIndicatorTemplate",
2659
- "type": {
2660
- "text": "ViewTemplate<AiIndicator>"
2505
+ "kind": "function",
2506
+ "name": "foundationAccordionTemplate",
2507
+ "return": {
2508
+ "type": {
2509
+ "text": "ViewTemplate<Accordion>"
2510
+ }
2661
2511
  },
2662
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2512
+ "parameters": [
2513
+ {
2514
+ "name": "context",
2515
+ "type": {
2516
+ "text": "ElementDefinitionContext"
2517
+ }
2518
+ },
2519
+ {
2520
+ "name": "definition",
2521
+ "type": {
2522
+ "text": "FoundationElementDefinition"
2523
+ }
2524
+ }
2525
+ ]
2663
2526
  }
2664
2527
  ],
2665
2528
  "exports": [
2666
2529
  {
2667
2530
  "kind": "js",
2668
- "name": "foundationAiIndicatorTemplate",
2531
+ "name": "foundationAccordionTemplate",
2669
2532
  "declaration": {
2670
- "name": "foundationAiIndicatorTemplate",
2671
- "module": "src/ai-indicator/ai-indicator.template.ts"
2533
+ "name": "foundationAccordionTemplate",
2534
+ "module": "src/accordion/accordion.template.ts"
2672
2535
  }
2673
2536
  }
2674
2537
  ]
2675
2538
  },
2676
2539
  {
2677
2540
  "kind": "javascript-module",
2678
- "path": "src/ai-indicator/ai-indicator.ts",
2541
+ "path": "src/accordion/accordion.ts",
2679
2542
  "declarations": [
2680
2543
  {
2681
2544
  "kind": "class",
2682
2545
  "description": "",
2683
- "name": "AiIndicator",
2684
- "members": [
2685
- {
2686
- "kind": "field",
2687
- "name": "providerRegistry",
2688
- "type": {
2689
- "text": "AIProviderRegistry"
2690
- }
2691
- },
2692
- {
2693
- "kind": "field",
2694
- "name": "aiProvider",
2695
- "type": {
2696
- "text": "AIProvider | undefined"
2697
- },
2698
- "privacy": "private",
2699
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
2700
- "readonly": true
2701
- },
2546
+ "name": "Accordion",
2547
+ "superclass": {
2548
+ "name": "FASTAccordion",
2549
+ "package": "@microsoft/fast-foundation"
2550
+ },
2551
+ "tagName": "%%prefix%%-accordion",
2552
+ "customElement": true,
2553
+ "attributes": [
2702
2554
  {
2703
- "kind": "field",
2704
- "name": "status",
2555
+ "name": "expand-mode",
2705
2556
  "type": {
2706
- "text": "AIStatus | null"
2557
+ "text": "AccordionExpandMode"
2707
2558
  },
2708
- "default": "null"
2709
- },
2559
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2560
+ "fieldName": "expandmode",
2561
+ "inheritedFrom": {
2562
+ "name": "Accordion",
2563
+ "module": "src/accordion/accordion.ts"
2564
+ }
2565
+ }
2566
+ ],
2567
+ "members": [
2710
2568
  {
2711
2569
  "kind": "field",
2712
- "name": "open",
2570
+ "name": "expandmode",
2713
2571
  "type": {
2714
- "text": "boolean"
2572
+ "text": "AccordionExpandMode"
2715
2573
  },
2716
- "default": "false"
2574
+ "privacy": "public",
2575
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2576
+ "inheritedFrom": {
2577
+ "name": "Accordion",
2578
+ "module": "src/accordion/accordion.ts"
2579
+ }
2717
2580
  },
2718
2581
  {
2719
2582
  "kind": "field",
2720
- "name": "state",
2583
+ "name": "activeid",
2721
2584
  "type": {
2722
- "text": "AIIndicatorState"
2585
+ "text": "string | null"
2723
2586
  },
2724
- "default": "'none'"
2587
+ "privacy": "private",
2588
+ "inheritedFrom": {
2589
+ "name": "Accordion",
2590
+ "module": "src/accordion/accordion.ts"
2591
+ }
2725
2592
  },
2726
2593
  {
2727
2594
  "kind": "field",
2728
- "name": "isInstalling",
2595
+ "name": "activeItemIndex",
2729
2596
  "type": {
2730
- "text": "boolean"
2597
+ "text": "number"
2731
2598
  },
2732
- "default": "false"
2599
+ "privacy": "private",
2600
+ "default": "0",
2601
+ "inheritedFrom": {
2602
+ "name": "Accordion",
2603
+ "module": "src/accordion/accordion.ts"
2604
+ }
2733
2605
  },
2734
2606
  {
2735
2607
  "kind": "field",
2736
- "name": "pollTimer",
2608
+ "name": "accordionIds",
2737
2609
  "type": {
2738
- "text": "ReturnType<typeof setInterval> | null"
2610
+ "text": "Array<string | null>"
2739
2611
  },
2740
2612
  "privacy": "private",
2741
- "default": "null"
2742
- },
2743
- {
2744
- "kind": "field",
2745
- "name": "clickOutside",
2746
- "privacy": "private"
2613
+ "inheritedFrom": {
2614
+ "name": "Accordion",
2615
+ "module": "src/accordion/accordion.ts"
2616
+ }
2747
2617
  },
2748
2618
  {
2749
2619
  "kind": "field",
2750
- "name": "chromeStatusLabel",
2751
- "type": {
2752
- "text": "string | null"
2753
- },
2754
- "readonly": true
2620
+ "name": "change",
2621
+ "privacy": "private",
2622
+ "inheritedFrom": {
2623
+ "name": "Accordion",
2624
+ "module": "src/accordion/accordion.ts"
2625
+ }
2755
2626
  },
2756
2627
  {
2757
- "kind": "field",
2758
- "name": "canInstall",
2759
- "type": {
2760
- "text": "boolean"
2628
+ "kind": "method",
2629
+ "name": "findExpandedItem",
2630
+ "privacy": "private",
2631
+ "return": {
2632
+ "type": {
2633
+ "text": "AccordionItem | null"
2634
+ }
2761
2635
  },
2762
- "readonly": true
2636
+ "inheritedFrom": {
2637
+ "name": "Accordion",
2638
+ "module": "src/accordion/accordion.ts"
2639
+ }
2763
2640
  },
2764
2641
  {
2765
2642
  "kind": "field",
2766
- "name": "isDownloading",
2767
- "type": {
2768
- "text": "boolean"
2769
- },
2770
- "readonly": true
2643
+ "name": "setItems",
2644
+ "privacy": "private",
2645
+ "inheritedFrom": {
2646
+ "name": "Accordion",
2647
+ "module": "src/accordion/accordion.ts"
2648
+ }
2771
2649
  },
2772
2650
  {
2773
2651
  "kind": "method",
2774
- "name": "openChanged",
2652
+ "name": "resetItems",
2653
+ "privacy": "private",
2775
2654
  "return": {
2776
2655
  "type": {
2777
2656
  "text": "void"
2778
2657
  }
2658
+ },
2659
+ "inheritedFrom": {
2660
+ "name": "Accordion",
2661
+ "module": "src/accordion/accordion.ts"
2779
2662
  }
2780
2663
  },
2781
2664
  {
2782
- "kind": "method",
2783
- "name": "handleClickOutside",
2665
+ "kind": "field",
2666
+ "name": "removeItemListeners",
2784
2667
  "privacy": "private",
2785
- "parameters": [
2786
- {
2787
- "name": "event",
2788
- "type": {
2789
- "text": "MouseEvent"
2790
- }
2791
- }
2792
- ]
2668
+ "inheritedFrom": {
2669
+ "name": "Accordion",
2670
+ "module": "src/accordion/accordion.ts"
2671
+ }
2793
2672
  },
2794
2673
  {
2795
- "kind": "method",
2796
- "name": "toggleDropdown"
2674
+ "kind": "field",
2675
+ "name": "activeItemChange",
2676
+ "privacy": "private",
2677
+ "inheritedFrom": {
2678
+ "name": "Accordion",
2679
+ "module": "src/accordion/accordion.ts"
2680
+ }
2797
2681
  },
2798
2682
  {
2799
2683
  "kind": "method",
2800
- "name": "refreshStatus",
2684
+ "name": "getItemIds",
2685
+ "privacy": "private",
2801
2686
  "return": {
2802
2687
  "type": {
2803
- "text": "Promise<void>"
2688
+ "text": "Array<string | null>"
2804
2689
  }
2690
+ },
2691
+ "inheritedFrom": {
2692
+ "name": "Accordion",
2693
+ "module": "src/accordion/accordion.ts"
2805
2694
  }
2806
2695
  },
2807
2696
  {
2808
2697
  "kind": "method",
2809
- "name": "deriveState",
2698
+ "name": "isSingleExpandMode",
2810
2699
  "privacy": "private",
2811
2700
  "return": {
2812
2701
  "type": {
2813
- "text": "AIIndicatorState"
2702
+ "text": "boolean"
2814
2703
  }
2815
2704
  },
2816
- "parameters": [
2817
- {
2818
- "name": "s",
2819
- "type": {
2820
- "text": "AIStatus | null"
2821
- }
2822
- }
2823
- ]
2705
+ "inheritedFrom": {
2706
+ "name": "Accordion",
2707
+ "module": "src/accordion/accordion.ts"
2708
+ }
2824
2709
  },
2825
2710
  {
2826
- "kind": "method",
2827
- "name": "maybeStartPolling",
2711
+ "kind": "field",
2712
+ "name": "handleItemKeyDown",
2828
2713
  "privacy": "private",
2829
- "return": {
2830
- "type": {
2831
- "text": "void"
2832
- }
2714
+ "inheritedFrom": {
2715
+ "name": "Accordion",
2716
+ "module": "src/accordion/accordion.ts"
2833
2717
  }
2834
2718
  },
2835
2719
  {
2836
- "kind": "method",
2837
- "name": "startPolling",
2720
+ "kind": "field",
2721
+ "name": "handleItemFocus",
2838
2722
  "privacy": "private",
2839
- "return": {
2840
- "type": {
2841
- "text": "void"
2842
- }
2723
+ "inheritedFrom": {
2724
+ "name": "Accordion",
2725
+ "module": "src/accordion/accordion.ts"
2843
2726
  }
2844
2727
  },
2845
2728
  {
2846
2729
  "kind": "method",
2847
- "name": "stopPolling",
2730
+ "name": "adjust",
2848
2731
  "privacy": "private",
2849
2732
  "return": {
2850
2733
  "type": {
2851
2734
  "text": "void"
2852
2735
  }
2736
+ },
2737
+ "parameters": [
2738
+ {
2739
+ "name": "adjustment",
2740
+ "type": {
2741
+ "text": "number"
2742
+ }
2743
+ }
2744
+ ],
2745
+ "inheritedFrom": {
2746
+ "name": "Accordion",
2747
+ "module": "src/accordion/accordion.ts"
2853
2748
  }
2854
2749
  },
2855
2750
  {
2856
2751
  "kind": "method",
2857
- "name": "onInstall",
2752
+ "name": "focusItem",
2753
+ "privacy": "private",
2858
2754
  "return": {
2859
2755
  "type": {
2860
- "text": "Promise<void>"
2756
+ "text": "void"
2861
2757
  }
2758
+ },
2759
+ "inheritedFrom": {
2760
+ "name": "Accordion",
2761
+ "module": "src/accordion/accordion.ts"
2862
2762
  }
2863
2763
  },
2864
2764
  {
@@ -2973,88 +2873,102 @@
2973
2873
  }
2974
2874
  }
2975
2875
  ],
2976
- "superclass": {
2977
- "name": "FoundationElement",
2978
- "package": "@microsoft/fast-foundation"
2876
+ "events": [
2877
+ {
2878
+ "description": "Fires a custom 'change' event when the active item changes",
2879
+ "name": "change",
2880
+ "inheritedFrom": {
2881
+ "name": "Accordion",
2882
+ "module": "src/accordion/accordion.ts"
2883
+ }
2884
+ }
2885
+ ]
2886
+ },
2887
+ {
2888
+ "kind": "variable",
2889
+ "name": "foundationAccordionShadowOptions",
2890
+ "type": {
2891
+ "text": "ShadowRootInit"
2979
2892
  },
2980
- "tagName": "%%prefix%%-ai-indicator",
2981
- "customElement": true
2893
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2982
2894
  },
2983
2895
  {
2984
2896
  "kind": "variable",
2985
- "name": "foundationAiIndicator"
2897
+ "name": "defaultAccordionConfig",
2898
+ "type": {
2899
+ "text": "object"
2900
+ },
2901
+ "default": "{}"
2902
+ },
2903
+ {
2904
+ "kind": "variable",
2905
+ "name": "foundationAccordion",
2906
+ "description": "The Foundation Accordion",
2907
+ "privacy": "public"
2986
2908
  }
2987
2909
  ],
2988
2910
  "exports": [
2989
2911
  {
2990
2912
  "kind": "js",
2991
- "name": "AiIndicator",
2913
+ "name": "Accordion",
2992
2914
  "declaration": {
2993
- "name": "AiIndicator",
2994
- "module": "src/ai-indicator/ai-indicator.ts"
2915
+ "name": "Accordion",
2916
+ "module": "src/accordion/accordion.ts"
2995
2917
  }
2996
2918
  },
2997
2919
  {
2998
2920
  "kind": "js",
2999
- "name": "foundationAiIndicator",
3000
- "declaration": {
3001
- "name": "foundationAiIndicator",
3002
- "module": "src/ai-indicator/ai-indicator.ts"
3003
- }
3004
- }
3005
- ]
3006
- },
3007
- {
3008
- "kind": "javascript-module",
3009
- "path": "src/ai-indicator/index.ts",
3010
- "declarations": [],
3011
- "exports": [
3012
- {
3013
- "kind": "js",
3014
- "name": "AiIndicator",
2921
+ "name": "foundationAccordionShadowOptions",
3015
2922
  "declaration": {
3016
- "name": "AiIndicator",
3017
- "module": "./ai-indicator"
2923
+ "name": "foundationAccordionShadowOptions",
2924
+ "module": "src/accordion/accordion.ts"
3018
2925
  }
3019
2926
  },
3020
2927
  {
3021
2928
  "kind": "js",
3022
- "name": "foundationAiIndicator",
2929
+ "name": "defaultAccordionConfig",
3023
2930
  "declaration": {
3024
- "name": "foundationAiIndicator",
3025
- "module": "./ai-indicator"
2931
+ "name": "defaultAccordionConfig",
2932
+ "module": "src/accordion/accordion.ts"
3026
2933
  }
3027
2934
  },
3028
2935
  {
3029
2936
  "kind": "js",
3030
- "name": "type",
2937
+ "name": "foundationAccordion",
3031
2938
  "declaration": {
3032
- "name": "type",
3033
- "module": "./ai-indicator"
2939
+ "name": "foundationAccordion",
2940
+ "module": "src/accordion/accordion.ts"
3034
2941
  }
3035
- },
2942
+ }
2943
+ ]
2944
+ },
2945
+ {
2946
+ "kind": "javascript-module",
2947
+ "path": "src/accordion/index.ts",
2948
+ "declarations": [],
2949
+ "exports": [
3036
2950
  {
3037
2951
  "kind": "js",
3038
- "name": "AIIndicatorState",
2952
+ "name": "*",
3039
2953
  "declaration": {
3040
- "name": "AIIndicatorState",
3041
- "module": "./ai-indicator"
2954
+ "name": "*",
2955
+ "package": "./accordion.template"
3042
2956
  }
3043
2957
  },
3044
2958
  {
3045
2959
  "kind": "js",
3046
- "name": "foundationAiIndicatorTemplate",
2960
+ "name": "*",
3047
2961
  "declaration": {
3048
- "name": "foundationAiIndicatorTemplate",
3049
- "module": "./ai-indicator.template"
2962
+ "name": "*",
2963
+ "package": "./accordion.styles"
3050
2964
  }
3051
2965
  },
3052
2966
  {
3053
2967
  "kind": "js",
3054
- "name": "foundationAiIndicatorStyles",
2968
+ "name": "*",
3055
2969
  "declaration": {
3056
- "name": "foundationAiIndicatorStyles",
3057
- "module": "./ai-indicator.styles"
2970
+ "name": "*",
2971
+ "package": "./accordion"
3058
2972
  }
3059
2973
  }
3060
2974
  ]
@@ -3670,11 +3584,42 @@
3670
3584
  },
3671
3585
  {
3672
3586
  "kind": "javascript-module",
3673
- "path": "src/accordion-item/accordion-item.styles.ts",
3587
+ "path": "src/_config/index.ts",
3588
+ "declarations": [],
3589
+ "exports": [
3590
+ {
3591
+ "kind": "js",
3592
+ "name": "*",
3593
+ "declaration": {
3594
+ "name": "*",
3595
+ "package": "./styles"
3596
+ }
3597
+ },
3598
+ {
3599
+ "kind": "js",
3600
+ "name": "*",
3601
+ "declaration": {
3602
+ "name": "*",
3603
+ "package": "./tokens"
3604
+ }
3605
+ },
3606
+ {
3607
+ "kind": "js",
3608
+ "name": "*",
3609
+ "declaration": {
3610
+ "name": "*",
3611
+ "package": "./values"
3612
+ }
3613
+ }
3614
+ ]
3615
+ },
3616
+ {
3617
+ "kind": "javascript-module",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3674
3619
  "declarations": [
3675
3620
  {
3676
3621
  "kind": "function",
3677
- "name": "foundationAccordionItemStyles",
3622
+ "name": "foundationAiIndicatorStyles",
3678
3623
  "return": {
3679
3624
  "type": {
3680
3625
  "text": "ElementStyles"
@@ -3699,155 +3644,224 @@
3699
3644
  "exports": [
3700
3645
  {
3701
3646
  "kind": "js",
3702
- "name": "foundationAccordionItemStyles",
3647
+ "name": "foundationAiIndicatorStyles",
3703
3648
  "declaration": {
3704
- "name": "foundationAccordionItemStyles",
3705
- "module": "src/accordion-item/accordion-item.styles.ts"
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3706
3651
  }
3707
3652
  }
3708
3653
  ]
3709
3654
  },
3710
3655
  {
3711
3656
  "kind": "javascript-module",
3712
- "path": "src/accordion-item/accordion-item.template.ts",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3713
3658
  "declarations": [
3714
3659
  {
3715
- "kind": "function",
3716
- "name": "foundationAccordionItemTemplate",
3717
- "return": {
3718
- "type": {
3719
- "text": "ViewTemplate<AccordionItem>"
3720
- }
3660
+ "kind": "variable",
3661
+ "name": "foundationAiIndicatorTemplate",
3662
+ "type": {
3663
+ "text": "ViewTemplate<AiIndicator>"
3721
3664
  },
3722
- "parameters": [
3723
- {
3724
- "name": "context",
3725
- "type": {
3726
- "text": "ElementDefinitionContext"
3727
- }
3728
- },
3729
- {
3730
- "name": "definition",
3731
- "type": {
3732
- "text": "FoundationElementDefinition"
3733
- }
3734
- }
3735
- ]
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3736
3666
  }
3737
3667
  ],
3738
3668
  "exports": [
3739
3669
  {
3740
3670
  "kind": "js",
3741
- "name": "foundationAccordionItemTemplate",
3671
+ "name": "foundationAiIndicatorTemplate",
3742
3672
  "declaration": {
3743
- "name": "foundationAccordionItemTemplate",
3744
- "module": "src/accordion-item/accordion-item.template.ts"
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3745
3675
  }
3746
3676
  }
3747
3677
  ]
3748
3678
  },
3749
3679
  {
3750
3680
  "kind": "javascript-module",
3751
- "path": "src/accordion-item/accordion-item.ts",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3752
3682
  "declarations": [
3753
3683
  {
3754
3684
  "kind": "class",
3755
3685
  "description": "",
3756
- "name": "AccordionItem",
3757
- "superclass": {
3758
- "name": "FASTAccordionItem",
3759
- "package": "@microsoft/fast-components"
3760
- },
3761
- "tagName": "%%prefix%%-accordion-item",
3762
- "customElement": true,
3763
- "attributes": [
3686
+ "name": "AiIndicator",
3687
+ "members": [
3764
3688
  {
3765
- "name": "heading-level",
3689
+ "kind": "field",
3690
+ "name": "providerRegistry",
3766
3691
  "type": {
3767
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3768
- },
3769
- "default": "2",
3770
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3771
- "fieldName": "headinglevel",
3772
- "inheritedFrom": {
3773
- "name": "AccordionItem",
3774
- "module": "src/accordion-item/accordion-item.ts"
3692
+ "text": "AIProviderRegistry"
3775
3693
  }
3776
3694
  },
3777
3695
  {
3696
+ "kind": "field",
3697
+ "name": "aiProvider",
3698
+ "type": {
3699
+ "text": "AIProvider | undefined"
3700
+ },
3701
+ "privacy": "private",
3702
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3703
+ "readonly": true
3704
+ },
3705
+ {
3706
+ "kind": "field",
3707
+ "name": "status",
3708
+ "type": {
3709
+ "text": "AIStatus | null"
3710
+ },
3711
+ "default": "null"
3712
+ },
3713
+ {
3714
+ "kind": "field",
3715
+ "name": "open",
3778
3716
  "type": {
3779
3717
  "text": "boolean"
3780
3718
  },
3781
- "default": "false",
3782
- "description": "Expands or collapses the item.",
3783
- "fieldName": "expanded",
3784
- "inheritedFrom": {
3785
- "name": "AccordionItem",
3786
- "module": "src/accordion-item/accordion-item.ts"
3787
- }
3719
+ "default": "false"
3788
3720
  },
3789
3721
  {
3790
- "name": "id",
3722
+ "kind": "field",
3723
+ "name": "state",
3791
3724
  "type": {
3792
- "text": "string"
3725
+ "text": "AIIndicatorState"
3793
3726
  },
3794
- "description": "The item ID",
3795
- "fieldName": "id",
3796
- "inheritedFrom": {
3797
- "name": "AccordionItem",
3798
- "module": "src/accordion-item/accordion-item.ts"
3799
- }
3800
- }
3801
- ],
3802
- "members": [
3727
+ "default": "'none'"
3728
+ },
3803
3729
  {
3804
3730
  "kind": "field",
3805
- "name": "headinglevel",
3731
+ "name": "isInstalling",
3806
3732
  "type": {
3807
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3733
+ "text": "boolean"
3808
3734
  },
3809
- "privacy": "public",
3810
- "default": "2",
3811
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3812
- "inheritedFrom": {
3813
- "name": "AccordionItem",
3814
- "module": "src/accordion-item/accordion-item.ts"
3815
- }
3735
+ "default": "false"
3816
3736
  },
3817
3737
  {
3818
3738
  "kind": "field",
3819
- "name": "expanded",
3739
+ "name": "pollTimer",
3740
+ "type": {
3741
+ "text": "ReturnType<typeof setInterval> | null"
3742
+ },
3743
+ "privacy": "private",
3744
+ "default": "null"
3745
+ },
3746
+ {
3747
+ "kind": "field",
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3750
+ },
3751
+ {
3752
+ "kind": "field",
3753
+ "name": "chromeStatusLabel",
3754
+ "type": {
3755
+ "text": "string | null"
3756
+ },
3757
+ "readonly": true
3758
+ },
3759
+ {
3760
+ "kind": "field",
3761
+ "name": "canInstall",
3820
3762
  "type": {
3821
3763
  "text": "boolean"
3822
3764
  },
3823
- "privacy": "public",
3824
- "default": "false",
3825
- "description": "Expands or collapses the item.",
3826
- "inheritedFrom": {
3827
- "name": "AccordionItem",
3828
- "module": "src/accordion-item/accordion-item.ts"
3829
- }
3765
+ "readonly": true
3830
3766
  },
3831
3767
  {
3832
3768
  "kind": "field",
3833
- "name": "id",
3769
+ "name": "isDownloading",
3834
3770
  "type": {
3835
- "text": "string"
3771
+ "text": "boolean"
3836
3772
  },
3837
- "privacy": "public",
3838
- "description": "The item ID",
3839
- "inheritedFrom": {
3840
- "name": "AccordionItem",
3841
- "module": "src/accordion-item/accordion-item.ts"
3773
+ "readonly": true
3774
+ },
3775
+ {
3776
+ "kind": "method",
3777
+ "name": "openChanged",
3778
+ "return": {
3779
+ "type": {
3780
+ "text": "void"
3781
+ }
3842
3782
  }
3843
3783
  },
3844
3784
  {
3845
- "kind": "field",
3846
- "name": "change",
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3847
3787
  "privacy": "private",
3848
- "inheritedFrom": {
3849
- "name": "AccordionItem",
3850
- "module": "src/accordion-item/accordion-item.ts"
3788
+ "parameters": [
3789
+ {
3790
+ "name": "event",
3791
+ "type": {
3792
+ "text": "MouseEvent"
3793
+ }
3794
+ }
3795
+ ]
3796
+ },
3797
+ {
3798
+ "kind": "method",
3799
+ "name": "toggleDropdown"
3800
+ },
3801
+ {
3802
+ "kind": "method",
3803
+ "name": "refreshStatus",
3804
+ "return": {
3805
+ "type": {
3806
+ "text": "Promise<void>"
3807
+ }
3808
+ }
3809
+ },
3810
+ {
3811
+ "kind": "method",
3812
+ "name": "deriveState",
3813
+ "privacy": "private",
3814
+ "return": {
3815
+ "type": {
3816
+ "text": "AIIndicatorState"
3817
+ }
3818
+ },
3819
+ "parameters": [
3820
+ {
3821
+ "name": "s",
3822
+ "type": {
3823
+ "text": "AIStatus | null"
3824
+ }
3825
+ }
3826
+ ]
3827
+ },
3828
+ {
3829
+ "kind": "method",
3830
+ "name": "maybeStartPolling",
3831
+ "privacy": "private",
3832
+ "return": {
3833
+ "type": {
3834
+ "text": "void"
3835
+ }
3836
+ }
3837
+ },
3838
+ {
3839
+ "kind": "method",
3840
+ "name": "startPolling",
3841
+ "privacy": "private",
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3846
+ }
3847
+ },
3848
+ {
3849
+ "kind": "method",
3850
+ "name": "stopPolling",
3851
+ "privacy": "private",
3852
+ "return": {
3853
+ "type": {
3854
+ "text": "void"
3855
+ }
3856
+ }
3857
+ },
3858
+ {
3859
+ "kind": "method",
3860
+ "name": "onInstall",
3861
+ "return": {
3862
+ "type": {
3863
+ "text": "Promise<void>"
3864
+ }
3851
3865
  }
3852
3866
  },
3853
3867
  {
@@ -3962,102 +3976,88 @@
3962
3976
  }
3963
3977
  }
3964
3978
  ],
3965
- "events": [
3966
- {
3967
- "description": "Fires a custom 'change' event when the button is invoked",
3968
- "name": "change",
3969
- "inheritedFrom": {
3970
- "name": "AccordionItem",
3971
- "module": "src/accordion-item/accordion-item.ts"
3972
- }
3973
- }
3974
- ]
3975
- },
3976
- {
3977
- "kind": "variable",
3978
- "name": "foundationAccordionItemShadowOptions",
3979
- "type": {
3980
- "text": "ShadowRootInit"
3981
- },
3982
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3983
- },
3984
- {
3985
- "kind": "variable",
3986
- "name": "defaultAccordionItemConfig",
3987
- "type": {
3988
- "text": "object"
3979
+ "superclass": {
3980
+ "name": "FoundationElement",
3981
+ "package": "@microsoft/fast-foundation"
3989
3982
  },
3990
- "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}"
3983
+ "tagName": "%%prefix%%-ai-indicator",
3984
+ "customElement": true
3991
3985
  },
3992
3986
  {
3993
3987
  "kind": "variable",
3994
- "name": "foundationAccordionItem",
3995
- "description": "The Foundation Accordion Item",
3996
- "privacy": "public"
3988
+ "name": "foundationAiIndicator"
3997
3989
  }
3998
3990
  ],
3999
3991
  "exports": [
4000
3992
  {
4001
3993
  "kind": "js",
4002
- "name": "AccordionItem",
3994
+ "name": "AiIndicator",
4003
3995
  "declaration": {
4004
- "name": "AccordionItem",
4005
- "module": "src/accordion-item/accordion-item.ts"
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
3998
  }
4007
3999
  },
4008
4000
  {
4009
4001
  "kind": "js",
4010
- "name": "foundationAccordionItemShadowOptions",
4002
+ "name": "foundationAiIndicator",
4011
4003
  "declaration": {
4012
- "name": "foundationAccordionItemShadowOptions",
4013
- "module": "src/accordion-item/accordion-item.ts"
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
+ }
4007
+ }
4008
+ ]
4009
+ },
4010
+ {
4011
+ "kind": "javascript-module",
4012
+ "path": "src/ai-indicator/index.ts",
4013
+ "declarations": [],
4014
+ "exports": [
4015
+ {
4016
+ "kind": "js",
4017
+ "name": "AiIndicator",
4018
+ "declaration": {
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
4014
4021
  }
4015
4022
  },
4016
4023
  {
4017
4024
  "kind": "js",
4018
- "name": "defaultAccordionItemConfig",
4025
+ "name": "foundationAiIndicator",
4019
4026
  "declaration": {
4020
- "name": "defaultAccordionItemConfig",
4021
- "module": "src/accordion-item/accordion-item.ts"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
4022
4029
  }
4023
4030
  },
4024
4031
  {
4025
4032
  "kind": "js",
4026
- "name": "foundationAccordionItem",
4033
+ "name": "type",
4027
4034
  "declaration": {
4028
- "name": "foundationAccordionItem",
4029
- "module": "src/accordion-item/accordion-item.ts"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
4030
4037
  }
4031
- }
4032
- ]
4033
- },
4034
- {
4035
- "kind": "javascript-module",
4036
- "path": "src/accordion-item/index.ts",
4037
- "declarations": [],
4038
- "exports": [
4038
+ },
4039
4039
  {
4040
4040
  "kind": "js",
4041
- "name": "*",
4041
+ "name": "AIIndicatorState",
4042
4042
  "declaration": {
4043
- "name": "*",
4044
- "package": "./accordion-item.template"
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
4045
4045
  }
4046
4046
  },
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "*",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
4050
  "declaration": {
4051
- "name": "*",
4052
- "package": "./accordion-item.styles"
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "*",
4057
+ "name": "foundationAiIndicatorStyles",
4058
4058
  "declaration": {
4059
- "name": "*",
4060
- "package": "./accordion-item"
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -60120,6 +60120,197 @@
60120
60120
  }
60121
60121
  ]
60122
60122
  },
60123
+ {
60124
+ "kind": "javascript-module",
60125
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60126
+ "declarations": [],
60127
+ "exports": []
60128
+ },
60129
+ {
60130
+ "kind": "javascript-module",
60131
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
60132
+ "declarations": [
60133
+ {
60134
+ "kind": "function",
60135
+ "name": "groupsToCriteria",
60136
+ "return": {
60137
+ "type": {
60138
+ "text": "string"
60139
+ }
60140
+ },
60141
+ "parameters": [
60142
+ {
60143
+ "name": "groups",
60144
+ "type": {
60145
+ "text": "CriteriaGroup[]"
60146
+ }
60147
+ }
60148
+ ],
60149
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
60150
+ },
60151
+ {
60152
+ "kind": "variable",
60153
+ "name": "STRING_OPERATORS",
60154
+ "type": {
60155
+ "text": "CriteriaOperator[]"
60156
+ },
60157
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60158
+ },
60159
+ {
60160
+ "kind": "variable",
60161
+ "name": "NUMERIC_OPERATORS",
60162
+ "type": {
60163
+ "text": "CriteriaOperator[]"
60164
+ },
60165
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60166
+ },
60167
+ {
60168
+ "kind": "variable",
60169
+ "name": "DATE_OPERATORS",
60170
+ "type": {
60171
+ "text": "CriteriaOperator[]"
60172
+ },
60173
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60174
+ },
60175
+ {
60176
+ "kind": "variable",
60177
+ "name": "DATETIME_OPERATORS",
60178
+ "type": {
60179
+ "text": "CriteriaOperator[]"
60180
+ },
60181
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60182
+ },
60183
+ {
60184
+ "kind": "variable",
60185
+ "name": "OPERATOR_DISPLAY_LABEL",
60186
+ "type": {
60187
+ "text": "Record<CriteriaOperator, string>"
60188
+ },
60189
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
60190
+ }
60191
+ ],
60192
+ "exports": [
60193
+ {
60194
+ "kind": "js",
60195
+ "name": "groupsToCriteria",
60196
+ "declaration": {
60197
+ "name": "groupsToCriteria",
60198
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60199
+ }
60200
+ },
60201
+ {
60202
+ "kind": "js",
60203
+ "name": "STRING_OPERATORS",
60204
+ "declaration": {
60205
+ "name": "STRING_OPERATORS",
60206
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60207
+ }
60208
+ },
60209
+ {
60210
+ "kind": "js",
60211
+ "name": "NUMERIC_OPERATORS",
60212
+ "declaration": {
60213
+ "name": "NUMERIC_OPERATORS",
60214
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60215
+ }
60216
+ },
60217
+ {
60218
+ "kind": "js",
60219
+ "name": "DATE_OPERATORS",
60220
+ "declaration": {
60221
+ "name": "DATE_OPERATORS",
60222
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60223
+ }
60224
+ },
60225
+ {
60226
+ "kind": "js",
60227
+ "name": "DATETIME_OPERATORS",
60228
+ "declaration": {
60229
+ "name": "DATETIME_OPERATORS",
60230
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60231
+ }
60232
+ },
60233
+ {
60234
+ "kind": "js",
60235
+ "name": "OPERATOR_DISPLAY_LABEL",
60236
+ "declaration": {
60237
+ "name": "OPERATOR_DISPLAY_LABEL",
60238
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60239
+ }
60240
+ }
60241
+ ]
60242
+ },
60243
+ {
60244
+ "kind": "javascript-module",
60245
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
60246
+ "declarations": [
60247
+ {
60248
+ "kind": "function",
60249
+ "name": "validateClauses",
60250
+ "return": {
60251
+ "type": {
60252
+ "text": "ValidationResult"
60253
+ }
60254
+ },
60255
+ "parameters": [
60256
+ {
60257
+ "name": "clauses",
60258
+ "type": {
60259
+ "text": "CriteriaClause[]"
60260
+ }
60261
+ },
60262
+ {
60263
+ "name": "fieldMetadata",
60264
+ "type": {
60265
+ "text": "MetadataDetail[] | string[]"
60266
+ }
60267
+ }
60268
+ ]
60269
+ },
60270
+ {
60271
+ "kind": "function",
60272
+ "name": "validateGroups",
60273
+ "return": {
60274
+ "type": {
60275
+ "text": "GroupsValidationResult"
60276
+ }
60277
+ },
60278
+ "parameters": [
60279
+ {
60280
+ "name": "groups",
60281
+ "type": {
60282
+ "text": "CriteriaGroup[]"
60283
+ }
60284
+ },
60285
+ {
60286
+ "name": "fieldMetadata",
60287
+ "type": {
60288
+ "text": "MetadataDetail[] | string[]"
60289
+ }
60290
+ }
60291
+ ],
60292
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60293
+ }
60294
+ ],
60295
+ "exports": [
60296
+ {
60297
+ "kind": "js",
60298
+ "name": "validateClauses",
60299
+ "declaration": {
60300
+ "name": "validateClauses",
60301
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60302
+ }
60303
+ },
60304
+ {
60305
+ "kind": "js",
60306
+ "name": "validateGroups",
60307
+ "declaration": {
60308
+ "name": "validateGroups",
60309
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60310
+ }
60311
+ }
60312
+ ]
60313
+ },
60123
60314
  {
60124
60315
  "kind": "javascript-module",
60125
60316
  "path": "src/_config/styles/colors.ts",
@@ -61492,197 +61683,6 @@
61492
61683
  "declarations": [],
61493
61684
  "exports": []
61494
61685
  },
61495
- {
61496
- "kind": "javascript-module",
61497
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61498
- "declarations": [],
61499
- "exports": []
61500
- },
61501
- {
61502
- "kind": "javascript-module",
61503
- "path": "src/ai-criteria-search/validation/operator-map.ts",
61504
- "declarations": [
61505
- {
61506
- "kind": "function",
61507
- "name": "groupsToCriteria",
61508
- "return": {
61509
- "type": {
61510
- "text": "string"
61511
- }
61512
- },
61513
- "parameters": [
61514
- {
61515
- "name": "groups",
61516
- "type": {
61517
- "text": "CriteriaGroup[]"
61518
- }
61519
- }
61520
- ],
61521
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
61522
- },
61523
- {
61524
- "kind": "variable",
61525
- "name": "STRING_OPERATORS",
61526
- "type": {
61527
- "text": "CriteriaOperator[]"
61528
- },
61529
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61530
- },
61531
- {
61532
- "kind": "variable",
61533
- "name": "NUMERIC_OPERATORS",
61534
- "type": {
61535
- "text": "CriteriaOperator[]"
61536
- },
61537
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61538
- },
61539
- {
61540
- "kind": "variable",
61541
- "name": "DATE_OPERATORS",
61542
- "type": {
61543
- "text": "CriteriaOperator[]"
61544
- },
61545
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61546
- },
61547
- {
61548
- "kind": "variable",
61549
- "name": "DATETIME_OPERATORS",
61550
- "type": {
61551
- "text": "CriteriaOperator[]"
61552
- },
61553
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61554
- },
61555
- {
61556
- "kind": "variable",
61557
- "name": "OPERATOR_DISPLAY_LABEL",
61558
- "type": {
61559
- "text": "Record<CriteriaOperator, string>"
61560
- },
61561
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
61562
- }
61563
- ],
61564
- "exports": [
61565
- {
61566
- "kind": "js",
61567
- "name": "groupsToCriteria",
61568
- "declaration": {
61569
- "name": "groupsToCriteria",
61570
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61571
- }
61572
- },
61573
- {
61574
- "kind": "js",
61575
- "name": "STRING_OPERATORS",
61576
- "declaration": {
61577
- "name": "STRING_OPERATORS",
61578
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61579
- }
61580
- },
61581
- {
61582
- "kind": "js",
61583
- "name": "NUMERIC_OPERATORS",
61584
- "declaration": {
61585
- "name": "NUMERIC_OPERATORS",
61586
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61587
- }
61588
- },
61589
- {
61590
- "kind": "js",
61591
- "name": "DATE_OPERATORS",
61592
- "declaration": {
61593
- "name": "DATE_OPERATORS",
61594
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61595
- }
61596
- },
61597
- {
61598
- "kind": "js",
61599
- "name": "DATETIME_OPERATORS",
61600
- "declaration": {
61601
- "name": "DATETIME_OPERATORS",
61602
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61603
- }
61604
- },
61605
- {
61606
- "kind": "js",
61607
- "name": "OPERATOR_DISPLAY_LABEL",
61608
- "declaration": {
61609
- "name": "OPERATOR_DISPLAY_LABEL",
61610
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61611
- }
61612
- }
61613
- ]
61614
- },
61615
- {
61616
- "kind": "javascript-module",
61617
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
61618
- "declarations": [
61619
- {
61620
- "kind": "function",
61621
- "name": "validateClauses",
61622
- "return": {
61623
- "type": {
61624
- "text": "ValidationResult"
61625
- }
61626
- },
61627
- "parameters": [
61628
- {
61629
- "name": "clauses",
61630
- "type": {
61631
- "text": "CriteriaClause[]"
61632
- }
61633
- },
61634
- {
61635
- "name": "fieldMetadata",
61636
- "type": {
61637
- "text": "MetadataDetail[] | string[]"
61638
- }
61639
- }
61640
- ]
61641
- },
61642
- {
61643
- "kind": "function",
61644
- "name": "validateGroups",
61645
- "return": {
61646
- "type": {
61647
- "text": "GroupsValidationResult"
61648
- }
61649
- },
61650
- "parameters": [
61651
- {
61652
- "name": "groups",
61653
- "type": {
61654
- "text": "CriteriaGroup[]"
61655
- }
61656
- },
61657
- {
61658
- "name": "fieldMetadata",
61659
- "type": {
61660
- "text": "MetadataDetail[] | string[]"
61661
- }
61662
- }
61663
- ],
61664
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61665
- }
61666
- ],
61667
- "exports": [
61668
- {
61669
- "kind": "js",
61670
- "name": "validateClauses",
61671
- "declaration": {
61672
- "name": "validateClauses",
61673
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61674
- }
61675
- },
61676
- {
61677
- "kind": "js",
61678
- "name": "validateGroups",
61679
- "declaration": {
61680
- "name": "validateGroups",
61681
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61682
- }
61683
- }
61684
- ]
61685
- },
61686
61686
  {
61687
61687
  "kind": "javascript-module",
61688
61688
  "path": "src/environment-indicator/utils/configure.ts",