@genesislcap/foundation-ui 15.86.0 → 15.86.1-GENC-0.6

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,11 +1495,11 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/accordion-item/accordion-item.styles.ts",
1498
+ "path": "src/accordion/accordion.styles.ts",
1499
1499
  "declarations": [
1500
1500
  {
1501
1501
  "kind": "function",
1502
- "name": "foundationAccordionItemStyles",
1502
+ "name": "foundationAccordionStyles",
1503
1503
  "return": {
1504
1504
  "type": {
1505
1505
  "text": "ElementStyles"
@@ -1524,24 +1524,24 @@
1524
1524
  "exports": [
1525
1525
  {
1526
1526
  "kind": "js",
1527
- "name": "foundationAccordionItemStyles",
1527
+ "name": "foundationAccordionStyles",
1528
1528
  "declaration": {
1529
- "name": "foundationAccordionItemStyles",
1530
- "module": "src/accordion-item/accordion-item.styles.ts"
1529
+ "name": "foundationAccordionStyles",
1530
+ "module": "src/accordion/accordion.styles.ts"
1531
1531
  }
1532
1532
  }
1533
1533
  ]
1534
1534
  },
1535
1535
  {
1536
1536
  "kind": "javascript-module",
1537
- "path": "src/accordion-item/accordion-item.template.ts",
1537
+ "path": "src/accordion/accordion.template.ts",
1538
1538
  "declarations": [
1539
1539
  {
1540
1540
  "kind": "function",
1541
- "name": "foundationAccordionItemTemplate",
1541
+ "name": "foundationAccordionTemplate",
1542
1542
  "return": {
1543
1543
  "type": {
1544
- "text": "ViewTemplate<AccordionItem>"
1544
+ "text": "ViewTemplate<Accordion>"
1545
1545
  }
1546
1546
  },
1547
1547
  "parameters": [
@@ -1563,116 +1563,237 @@
1563
1563
  "exports": [
1564
1564
  {
1565
1565
  "kind": "js",
1566
- "name": "foundationAccordionItemTemplate",
1566
+ "name": "foundationAccordionTemplate",
1567
1567
  "declaration": {
1568
- "name": "foundationAccordionItemTemplate",
1569
- "module": "src/accordion-item/accordion-item.template.ts"
1568
+ "name": "foundationAccordionTemplate",
1569
+ "module": "src/accordion/accordion.template.ts"
1570
1570
  }
1571
1571
  }
1572
1572
  ]
1573
1573
  },
1574
1574
  {
1575
1575
  "kind": "javascript-module",
1576
- "path": "src/accordion-item/accordion-item.ts",
1576
+ "path": "src/accordion/accordion.ts",
1577
1577
  "declarations": [
1578
1578
  {
1579
1579
  "kind": "class",
1580
1580
  "description": "",
1581
- "name": "AccordionItem",
1581
+ "name": "Accordion",
1582
1582
  "superclass": {
1583
- "name": "FASTAccordionItem",
1584
- "package": "@microsoft/fast-components"
1583
+ "name": "FASTAccordion",
1584
+ "package": "@microsoft/fast-foundation"
1585
1585
  },
1586
- "tagName": "%%prefix%%-accordion-item",
1586
+ "tagName": "%%prefix%%-accordion",
1587
1587
  "customElement": true,
1588
1588
  "attributes": [
1589
1589
  {
1590
- "name": "heading-level",
1590
+ "name": "expand-mode",
1591
1591
  "type": {
1592
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1592
+ "text": "AccordionExpandMode"
1593
1593
  },
1594
- "default": "2",
1595
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1596
- "fieldName": "headinglevel",
1594
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1595
+ "fieldName": "expandmode",
1597
1596
  "inheritedFrom": {
1598
- "name": "AccordionItem",
1599
- "module": "src/accordion-item/accordion-item.ts"
1597
+ "name": "Accordion",
1598
+ "module": "src/accordion/accordion.ts"
1600
1599
  }
1601
- },
1600
+ }
1601
+ ],
1602
+ "members": [
1602
1603
  {
1604
+ "kind": "field",
1605
+ "name": "expandmode",
1603
1606
  "type": {
1604
- "text": "boolean"
1607
+ "text": "AccordionExpandMode"
1605
1608
  },
1606
- "default": "false",
1607
- "description": "Expands or collapses the item.",
1608
- "fieldName": "expanded",
1609
+ "privacy": "public",
1610
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1609
1611
  "inheritedFrom": {
1610
- "name": "AccordionItem",
1611
- "module": "src/accordion-item/accordion-item.ts"
1612
+ "name": "Accordion",
1613
+ "module": "src/accordion/accordion.ts"
1612
1614
  }
1613
1615
  },
1614
1616
  {
1615
- "name": "id",
1617
+ "kind": "field",
1618
+ "name": "activeid",
1616
1619
  "type": {
1617
- "text": "string"
1620
+ "text": "string | null"
1618
1621
  },
1619
- "description": "The item ID",
1620
- "fieldName": "id",
1622
+ "privacy": "private",
1621
1623
  "inheritedFrom": {
1622
- "name": "AccordionItem",
1623
- "module": "src/accordion-item/accordion-item.ts"
1624
+ "name": "Accordion",
1625
+ "module": "src/accordion/accordion.ts"
1624
1626
  }
1625
- }
1626
- ],
1627
- "members": [
1627
+ },
1628
1628
  {
1629
1629
  "kind": "field",
1630
- "name": "headinglevel",
1630
+ "name": "activeItemIndex",
1631
1631
  "type": {
1632
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1632
+ "text": "number"
1633
1633
  },
1634
- "privacy": "public",
1635
- "default": "2",
1636
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1634
+ "privacy": "private",
1635
+ "default": "0",
1637
1636
  "inheritedFrom": {
1638
- "name": "AccordionItem",
1639
- "module": "src/accordion-item/accordion-item.ts"
1637
+ "name": "Accordion",
1638
+ "module": "src/accordion/accordion.ts"
1640
1639
  }
1641
1640
  },
1642
1641
  {
1643
1642
  "kind": "field",
1644
- "name": "expanded",
1643
+ "name": "accordionIds",
1645
1644
  "type": {
1646
- "text": "boolean"
1645
+ "text": "Array<string | null>"
1647
1646
  },
1648
- "privacy": "public",
1649
- "default": "false",
1650
- "description": "Expands or collapses the item.",
1647
+ "privacy": "private",
1651
1648
  "inheritedFrom": {
1652
- "name": "AccordionItem",
1653
- "module": "src/accordion-item/accordion-item.ts"
1649
+ "name": "Accordion",
1650
+ "module": "src/accordion/accordion.ts"
1654
1651
  }
1655
1652
  },
1656
1653
  {
1657
1654
  "kind": "field",
1658
- "name": "id",
1659
- "type": {
1660
- "text": "string"
1655
+ "name": "change",
1656
+ "privacy": "private",
1657
+ "inheritedFrom": {
1658
+ "name": "Accordion",
1659
+ "module": "src/accordion/accordion.ts"
1660
+ }
1661
+ },
1662
+ {
1663
+ "kind": "method",
1664
+ "name": "findExpandedItem",
1665
+ "privacy": "private",
1666
+ "return": {
1667
+ "type": {
1668
+ "text": "AccordionItem | null"
1669
+ }
1661
1670
  },
1662
- "privacy": "public",
1663
- "description": "The item ID",
1664
1671
  "inheritedFrom": {
1665
- "name": "AccordionItem",
1666
- "module": "src/accordion-item/accordion-item.ts"
1672
+ "name": "Accordion",
1673
+ "module": "src/accordion/accordion.ts"
1667
1674
  }
1668
1675
  },
1669
1676
  {
1670
1677
  "kind": "field",
1671
- "name": "change",
1678
+ "name": "setItems",
1672
1679
  "privacy": "private",
1673
1680
  "inheritedFrom": {
1674
- "name": "AccordionItem",
1675
- "module": "src/accordion-item/accordion-item.ts"
1681
+ "name": "Accordion",
1682
+ "module": "src/accordion/accordion.ts"
1683
+ }
1684
+ },
1685
+ {
1686
+ "kind": "method",
1687
+ "name": "resetItems",
1688
+ "privacy": "private",
1689
+ "return": {
1690
+ "type": {
1691
+ "text": "void"
1692
+ }
1693
+ },
1694
+ "inheritedFrom": {
1695
+ "name": "Accordion",
1696
+ "module": "src/accordion/accordion.ts"
1697
+ }
1698
+ },
1699
+ {
1700
+ "kind": "field",
1701
+ "name": "removeItemListeners",
1702
+ "privacy": "private",
1703
+ "inheritedFrom": {
1704
+ "name": "Accordion",
1705
+ "module": "src/accordion/accordion.ts"
1706
+ }
1707
+ },
1708
+ {
1709
+ "kind": "field",
1710
+ "name": "activeItemChange",
1711
+ "privacy": "private",
1712
+ "inheritedFrom": {
1713
+ "name": "Accordion",
1714
+ "module": "src/accordion/accordion.ts"
1715
+ }
1716
+ },
1717
+ {
1718
+ "kind": "method",
1719
+ "name": "getItemIds",
1720
+ "privacy": "private",
1721
+ "return": {
1722
+ "type": {
1723
+ "text": "Array<string | null>"
1724
+ }
1725
+ },
1726
+ "inheritedFrom": {
1727
+ "name": "Accordion",
1728
+ "module": "src/accordion/accordion.ts"
1729
+ }
1730
+ },
1731
+ {
1732
+ "kind": "method",
1733
+ "name": "isSingleExpandMode",
1734
+ "privacy": "private",
1735
+ "return": {
1736
+ "type": {
1737
+ "text": "boolean"
1738
+ }
1739
+ },
1740
+ "inheritedFrom": {
1741
+ "name": "Accordion",
1742
+ "module": "src/accordion/accordion.ts"
1743
+ }
1744
+ },
1745
+ {
1746
+ "kind": "field",
1747
+ "name": "handleItemKeyDown",
1748
+ "privacy": "private",
1749
+ "inheritedFrom": {
1750
+ "name": "Accordion",
1751
+ "module": "src/accordion/accordion.ts"
1752
+ }
1753
+ },
1754
+ {
1755
+ "kind": "field",
1756
+ "name": "handleItemFocus",
1757
+ "privacy": "private",
1758
+ "inheritedFrom": {
1759
+ "name": "Accordion",
1760
+ "module": "src/accordion/accordion.ts"
1761
+ }
1762
+ },
1763
+ {
1764
+ "kind": "method",
1765
+ "name": "adjust",
1766
+ "privacy": "private",
1767
+ "return": {
1768
+ "type": {
1769
+ "text": "void"
1770
+ }
1771
+ },
1772
+ "parameters": [
1773
+ {
1774
+ "name": "adjustment",
1775
+ "type": {
1776
+ "text": "number"
1777
+ }
1778
+ }
1779
+ ],
1780
+ "inheritedFrom": {
1781
+ "name": "Accordion",
1782
+ "module": "src/accordion/accordion.ts"
1783
+ }
1784
+ },
1785
+ {
1786
+ "kind": "method",
1787
+ "name": "focusItem",
1788
+ "privacy": "private",
1789
+ "return": {
1790
+ "type": {
1791
+ "text": "void"
1792
+ }
1793
+ },
1794
+ "inheritedFrom": {
1795
+ "name": "Accordion",
1796
+ "module": "src/accordion/accordion.ts"
1676
1797
  }
1677
1798
  },
1678
1799
  {
@@ -1789,18 +1910,18 @@
1789
1910
  ],
1790
1911
  "events": [
1791
1912
  {
1792
- "description": "Fires a custom 'change' event when the button is invoked",
1913
+ "description": "Fires a custom 'change' event when the active item changes",
1793
1914
  "name": "change",
1794
1915
  "inheritedFrom": {
1795
- "name": "AccordionItem",
1796
- "module": "src/accordion-item/accordion-item.ts"
1916
+ "name": "Accordion",
1917
+ "module": "src/accordion/accordion.ts"
1797
1918
  }
1798
1919
  }
1799
1920
  ]
1800
1921
  },
1801
1922
  {
1802
1923
  "kind": "variable",
1803
- "name": "foundationAccordionItemShadowOptions",
1924
+ "name": "foundationAccordionShadowOptions",
1804
1925
  "type": {
1805
1926
  "text": "ShadowRootInit"
1806
1927
  },
@@ -1808,57 +1929,57 @@
1808
1929
  },
1809
1930
  {
1810
1931
  "kind": "variable",
1811
- "name": "defaultAccordionItemConfig",
1932
+ "name": "defaultAccordionConfig",
1812
1933
  "type": {
1813
1934
  "text": "object"
1814
1935
  },
1815
- "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}"
1936
+ "default": "{}"
1816
1937
  },
1817
1938
  {
1818
1939
  "kind": "variable",
1819
- "name": "foundationAccordionItem",
1820
- "description": "The Foundation Accordion Item",
1940
+ "name": "foundationAccordion",
1941
+ "description": "The Foundation Accordion",
1821
1942
  "privacy": "public"
1822
1943
  }
1823
1944
  ],
1824
1945
  "exports": [
1825
1946
  {
1826
1947
  "kind": "js",
1827
- "name": "AccordionItem",
1948
+ "name": "Accordion",
1828
1949
  "declaration": {
1829
- "name": "AccordionItem",
1830
- "module": "src/accordion-item/accordion-item.ts"
1950
+ "name": "Accordion",
1951
+ "module": "src/accordion/accordion.ts"
1831
1952
  }
1832
1953
  },
1833
1954
  {
1834
1955
  "kind": "js",
1835
- "name": "foundationAccordionItemShadowOptions",
1956
+ "name": "foundationAccordionShadowOptions",
1836
1957
  "declaration": {
1837
- "name": "foundationAccordionItemShadowOptions",
1838
- "module": "src/accordion-item/accordion-item.ts"
1958
+ "name": "foundationAccordionShadowOptions",
1959
+ "module": "src/accordion/accordion.ts"
1839
1960
  }
1840
1961
  },
1841
1962
  {
1842
1963
  "kind": "js",
1843
- "name": "defaultAccordionItemConfig",
1964
+ "name": "defaultAccordionConfig",
1844
1965
  "declaration": {
1845
- "name": "defaultAccordionItemConfig",
1846
- "module": "src/accordion-item/accordion-item.ts"
1966
+ "name": "defaultAccordionConfig",
1967
+ "module": "src/accordion/accordion.ts"
1847
1968
  }
1848
1969
  },
1849
1970
  {
1850
1971
  "kind": "js",
1851
- "name": "foundationAccordionItem",
1972
+ "name": "foundationAccordion",
1852
1973
  "declaration": {
1853
- "name": "foundationAccordionItem",
1854
- "module": "src/accordion-item/accordion-item.ts"
1974
+ "name": "foundationAccordion",
1975
+ "module": "src/accordion/accordion.ts"
1855
1976
  }
1856
1977
  }
1857
1978
  ]
1858
1979
  },
1859
1980
  {
1860
1981
  "kind": "javascript-module",
1861
- "path": "src/accordion-item/index.ts",
1982
+ "path": "src/accordion/index.ts",
1862
1983
  "declarations": [],
1863
1984
  "exports": [
1864
1985
  {
@@ -1866,7 +1987,7 @@
1866
1987
  "name": "*",
1867
1988
  "declaration": {
1868
1989
  "name": "*",
1869
- "package": "./accordion-item.template"
1990
+ "package": "./accordion.template"
1870
1991
  }
1871
1992
  },
1872
1993
  {
@@ -1874,7 +1995,7 @@
1874
1995
  "name": "*",
1875
1996
  "declaration": {
1876
1997
  "name": "*",
1877
- "package": "./accordion-item.styles"
1998
+ "package": "./accordion.styles"
1878
1999
  }
1879
2000
  },
1880
2001
  {
@@ -1882,7 +2003,7 @@
1882
2003
  "name": "*",
1883
2004
  "declaration": {
1884
2005
  "name": "*",
1885
- "package": "./accordion-item"
2006
+ "package": "./accordion"
1886
2007
  }
1887
2008
  }
1888
2009
  ]
@@ -2645,275 +2766,208 @@
2645
2766
  },
2646
2767
  {
2647
2768
  "kind": "javascript-module",
2648
- "path": "src/accordion/accordion.styles.ts",
2769
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2649
2770
  "declarations": [
2650
2771
  {
2651
- "kind": "function",
2652
- "name": "foundationAccordionStyles",
2653
- "return": {
2654
- "type": {
2655
- "text": "ElementStyles"
2656
- }
2657
- },
2658
- "parameters": [
2659
- {
2660
- "name": "context",
2661
- "type": {
2662
- "text": "ElementDefinitionContext"
2663
- }
2664
- },
2665
- {
2666
- "name": "definition",
2667
- "type": {
2668
- "text": "FoundationElementDefinition"
2669
- }
2670
- }
2671
- ]
2772
+ "kind": "variable",
2773
+ "name": "foundationAiCriteriaSearchStyles",
2774
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2672
2775
  }
2673
2776
  ],
2674
2777
  "exports": [
2675
2778
  {
2676
2779
  "kind": "js",
2677
- "name": "foundationAccordionStyles",
2780
+ "name": "foundationAiCriteriaSearchStyles",
2678
2781
  "declaration": {
2679
- "name": "foundationAccordionStyles",
2680
- "module": "src/accordion/accordion.styles.ts"
2782
+ "name": "foundationAiCriteriaSearchStyles",
2783
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2681
2784
  }
2682
2785
  }
2683
2786
  ]
2684
2787
  },
2685
2788
  {
2686
2789
  "kind": "javascript-module",
2687
- "path": "src/accordion/accordion.template.ts",
2790
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2688
2791
  "declarations": [
2689
2792
  {
2690
- "kind": "function",
2691
- "name": "foundationAccordionTemplate",
2692
- "return": {
2693
- "type": {
2694
- "text": "ViewTemplate<Accordion>"
2695
- }
2793
+ "kind": "variable",
2794
+ "name": "foundationAiCriteriaSearchTemplate",
2795
+ "type": {
2796
+ "text": "ViewTemplate<AiCriteriaSearch>"
2696
2797
  },
2697
- "parameters": [
2698
- {
2699
- "name": "context",
2700
- "type": {
2701
- "text": "ElementDefinitionContext"
2702
- }
2703
- },
2704
- {
2705
- "name": "definition",
2706
- "type": {
2707
- "text": "FoundationElementDefinition"
2708
- }
2709
- }
2710
- ]
2798
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2711
2799
  }
2712
2800
  ],
2713
2801
  "exports": [
2714
2802
  {
2715
2803
  "kind": "js",
2716
- "name": "foundationAccordionTemplate",
2804
+ "name": "foundationAiCriteriaSearchTemplate",
2717
2805
  "declaration": {
2718
- "name": "foundationAccordionTemplate",
2719
- "module": "src/accordion/accordion.template.ts"
2806
+ "name": "foundationAiCriteriaSearchTemplate",
2807
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2720
2808
  }
2721
2809
  }
2722
2810
  ]
2723
2811
  },
2724
2812
  {
2725
2813
  "kind": "javascript-module",
2726
- "path": "src/accordion/accordion.ts",
2814
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2727
2815
  "declarations": [
2728
2816
  {
2729
2817
  "kind": "class",
2730
- "description": "",
2731
- "name": "Accordion",
2732
- "superclass": {
2733
- "name": "FASTAccordion",
2734
- "package": "@microsoft/fast-foundation"
2735
- },
2736
- "tagName": "%%prefix%%-accordion",
2737
- "customElement": true,
2738
- "attributes": [
2818
+ "description": "Natural-language criteria search input with AI interpretation.",
2819
+ "name": "AiCriteriaSearch",
2820
+ "members": [
2739
2821
  {
2740
- "name": "expand-mode",
2822
+ "kind": "field",
2823
+ "name": "providerRegistry",
2741
2824
  "type": {
2742
- "text": "AccordionExpandMode"
2743
- },
2744
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2745
- "fieldName": "expandmode",
2746
- "inheritedFrom": {
2747
- "name": "Accordion",
2748
- "module": "src/accordion/accordion.ts"
2825
+ "text": "AIProviderRegistry"
2749
2826
  }
2750
- }
2751
- ],
2752
- "members": [
2827
+ },
2753
2828
  {
2754
2829
  "kind": "field",
2755
- "name": "expandmode",
2830
+ "name": "placeholder",
2756
2831
  "type": {
2757
- "text": "AccordionExpandMode"
2832
+ "text": "string"
2758
2833
  },
2759
- "privacy": "public",
2760
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2761
- "inheritedFrom": {
2762
- "name": "Accordion",
2763
- "module": "src/accordion/accordion.ts"
2834
+ "default": "'Describe your search criteria in natural language...'"
2835
+ },
2836
+ {
2837
+ "kind": "field",
2838
+ "name": "disabled",
2839
+ "type": {
2840
+ "text": "boolean"
2764
2841
  }
2765
2842
  },
2766
2843
  {
2767
2844
  "kind": "field",
2768
- "name": "activeid",
2845
+ "name": "inputValue",
2769
2846
  "type": {
2770
- "text": "string | null"
2847
+ "text": "string"
2771
2848
  },
2772
- "privacy": "private",
2773
- "inheritedFrom": {
2774
- "name": "Accordion",
2775
- "module": "src/accordion/accordion.ts"
2776
- }
2849
+ "default": "''"
2777
2850
  },
2778
2851
  {
2779
2852
  "kind": "field",
2780
- "name": "activeItemIndex",
2853
+ "name": "isInterpreting",
2781
2854
  "type": {
2782
- "text": "number"
2855
+ "text": "boolean"
2783
2856
  },
2784
- "privacy": "private",
2785
- "default": "0",
2786
- "inheritedFrom": {
2787
- "name": "Accordion",
2788
- "module": "src/accordion/accordion.ts"
2789
- }
2857
+ "default": "false"
2790
2858
  },
2791
2859
  {
2792
2860
  "kind": "field",
2793
- "name": "accordionIds",
2861
+ "name": "lastValidCriteria",
2794
2862
  "type": {
2795
- "text": "Array<string | null>"
2863
+ "text": "string | null"
2796
2864
  },
2797
- "privacy": "private",
2798
- "inheritedFrom": {
2799
- "name": "Accordion",
2800
- "module": "src/accordion/accordion.ts"
2801
- }
2865
+ "default": "null"
2802
2866
  },
2803
2867
  {
2804
2868
  "kind": "field",
2805
- "name": "change",
2806
- "privacy": "private",
2807
- "inheritedFrom": {
2808
- "name": "Accordion",
2809
- "module": "src/accordion/accordion.ts"
2810
- }
2869
+ "name": "activeGroups",
2870
+ "type": {
2871
+ "text": "CriteriaGroup[]"
2872
+ },
2873
+ "default": "[]"
2811
2874
  },
2812
2875
  {
2813
- "kind": "method",
2814
- "name": "findExpandedItem",
2815
- "privacy": "private",
2816
- "return": {
2817
- "type": {
2818
- "text": "AccordionItem | null"
2819
- }
2876
+ "kind": "field",
2877
+ "name": "showingChips",
2878
+ "type": {
2879
+ "text": "boolean"
2820
2880
  },
2821
- "inheritedFrom": {
2822
- "name": "Accordion",
2823
- "module": "src/accordion/accordion.ts"
2824
- }
2881
+ "default": "false"
2825
2882
  },
2826
2883
  {
2827
2884
  "kind": "field",
2828
- "name": "setItems",
2829
- "privacy": "private",
2830
- "inheritedFrom": {
2831
- "name": "Accordion",
2832
- "module": "src/accordion/accordion.ts"
2833
- }
2885
+ "name": "fieldMetadata",
2886
+ "type": {
2887
+ "text": "MetadataDetail[] | string[]"
2888
+ },
2889
+ "default": "[]"
2834
2890
  },
2835
2891
  {
2836
- "kind": "method",
2837
- "name": "resetItems",
2838
- "privacy": "private",
2839
- "return": {
2840
- "type": {
2841
- "text": "void"
2842
- }
2892
+ "kind": "field",
2893
+ "name": "isRecording",
2894
+ "type": {
2895
+ "text": "boolean"
2843
2896
  },
2844
- "inheritedFrom": {
2845
- "name": "Accordion",
2846
- "module": "src/accordion/accordion.ts"
2847
- }
2897
+ "default": "false"
2848
2898
  },
2849
2899
  {
2850
2900
  "kind": "field",
2851
- "name": "removeItemListeners",
2852
- "privacy": "private",
2853
- "inheritedFrom": {
2854
- "name": "Accordion",
2855
- "module": "src/accordion/accordion.ts"
2856
- }
2901
+ "name": "textAreaRef",
2902
+ "type": {
2903
+ "text": "HTMLTextAreaElement"
2904
+ },
2905
+ "privacy": "public"
2857
2906
  },
2858
2907
  {
2859
2908
  "kind": "field",
2860
- "name": "activeItemChange",
2909
+ "name": "stopRecording",
2910
+ "type": {
2911
+ "text": "(() => void) | null"
2912
+ },
2861
2913
  "privacy": "private",
2862
- "inheritedFrom": {
2863
- "name": "Accordion",
2864
- "module": "src/accordion/accordion.ts"
2865
- }
2914
+ "default": "null"
2866
2915
  },
2867
2916
  {
2868
- "kind": "method",
2869
- "name": "getItemIds",
2917
+ "kind": "field",
2918
+ "name": "speechApplyDebounceTimer",
2919
+ "type": {
2920
+ "text": "ReturnType<typeof setTimeout> | null"
2921
+ },
2870
2922
  "privacy": "private",
2871
- "return": {
2872
- "type": {
2873
- "text": "Array<string | null>"
2874
- }
2923
+ "default": "null"
2924
+ },
2925
+ {
2926
+ "kind": "field",
2927
+ "name": "speechAvailable",
2928
+ "type": {
2929
+ "text": "boolean"
2875
2930
  },
2876
- "inheritedFrom": {
2877
- "name": "Accordion",
2878
- "module": "src/accordion/accordion.ts"
2879
- }
2931
+ "readonly": true
2932
+ },
2933
+ {
2934
+ "kind": "field",
2935
+ "name": "criteriaChips",
2936
+ "type": {
2937
+ "text": "CriteriaChip[]"
2938
+ },
2939
+ "readonly": true
2880
2940
  },
2881
2941
  {
2882
2942
  "kind": "method",
2883
- "name": "isSingleExpandMode",
2943
+ "name": "getFieldLabel",
2884
2944
  "privacy": "private",
2885
2945
  "return": {
2886
2946
  "type": {
2887
- "text": "boolean"
2947
+ "text": "string"
2888
2948
  }
2889
2949
  },
2890
- "inheritedFrom": {
2891
- "name": "Accordion",
2892
- "module": "src/accordion/accordion.ts"
2893
- }
2894
- },
2895
- {
2896
- "kind": "field",
2897
- "name": "handleItemKeyDown",
2898
- "privacy": "private",
2899
- "inheritedFrom": {
2900
- "name": "Accordion",
2901
- "module": "src/accordion/accordion.ts"
2902
- }
2950
+ "parameters": [
2951
+ {
2952
+ "name": "fieldName",
2953
+ "type": {
2954
+ "text": "string"
2955
+ }
2956
+ }
2957
+ ]
2903
2958
  },
2904
2959
  {
2905
- "kind": "field",
2906
- "name": "handleItemFocus",
2907
- "privacy": "private",
2908
- "inheritedFrom": {
2909
- "name": "Accordion",
2910
- "module": "src/accordion/accordion.ts"
2960
+ "kind": "method",
2961
+ "name": "toggleCriteriaView",
2962
+ "return": {
2963
+ "type": {
2964
+ "text": "void"
2965
+ }
2911
2966
  }
2912
2967
  },
2913
2968
  {
2914
2969
  "kind": "method",
2915
- "name": "adjust",
2916
- "privacy": "private",
2970
+ "name": "removeChip",
2917
2971
  "return": {
2918
2972
  "type": {
2919
2973
  "text": "void"
@@ -2921,31 +2975,49 @@
2921
2975
  },
2922
2976
  "parameters": [
2923
2977
  {
2924
- "name": "adjustment",
2978
+ "name": "groupIndex",
2979
+ "type": {
2980
+ "text": "number"
2981
+ }
2982
+ },
2983
+ {
2984
+ "name": "clauseIndex",
2925
2985
  "type": {
2926
2986
  "text": "number"
2927
2987
  }
2928
2988
  }
2929
- ],
2930
- "inheritedFrom": {
2931
- "name": "Accordion",
2932
- "module": "src/accordion/accordion.ts"
2933
- }
2989
+ ]
2934
2990
  },
2935
2991
  {
2936
2992
  "kind": "method",
2937
- "name": "focusItem",
2938
- "privacy": "private",
2993
+ "name": "clearChips",
2939
2994
  "return": {
2940
2995
  "type": {
2941
2996
  "text": "void"
2942
2997
  }
2943
- },
2944
- "inheritedFrom": {
2945
- "name": "Accordion",
2946
- "module": "src/accordion/accordion.ts"
2947
2998
  }
2948
2999
  },
3000
+ {
3001
+ "kind": "method",
3002
+ "name": "handleSubmit"
3003
+ },
3004
+ {
3005
+ "kind": "method",
3006
+ "name": "handleBlur"
3007
+ },
3008
+ {
3009
+ "kind": "method",
3010
+ "name": "clear"
3011
+ },
3012
+ {
3013
+ "kind": "method",
3014
+ "name": "toggleSpeechInput"
3015
+ },
3016
+ {
3017
+ "kind": "method",
3018
+ "name": "clearSpeechApplyDebounce",
3019
+ "privacy": "private"
3020
+ },
2949
3021
  {
2950
3022
  "kind": "field",
2951
3023
  "name": "_presentation",
@@ -3060,26 +3132,48 @@
3060
3132
  ],
3061
3133
  "events": [
3062
3134
  {
3063
- "description": "Fires a custom 'change' event when the active item changes",
3064
- "name": "change",
3065
- "inheritedFrom": {
3066
- "name": "Accordion",
3067
- "module": "src/accordion/accordion.ts"
3068
- }
3135
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3136
+ "name": "criteria-changed"
3137
+ },
3138
+ {
3139
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3140
+ "name": "validation-errors"
3069
3141
  }
3070
- ]
3142
+ ],
3143
+ "attributes": [
3144
+ {
3145
+ "name": "placeholder",
3146
+ "type": {
3147
+ "text": "string"
3148
+ },
3149
+ "default": "'Describe your search criteria in natural language...'",
3150
+ "fieldName": "placeholder"
3151
+ },
3152
+ {
3153
+ "type": {
3154
+ "text": "boolean"
3155
+ },
3156
+ "fieldName": "disabled"
3157
+ }
3158
+ ],
3159
+ "superclass": {
3160
+ "name": "FoundationElement",
3161
+ "package": "@microsoft/fast-foundation"
3162
+ },
3163
+ "tagName": "%%prefix%%-ai-criteria-search",
3164
+ "customElement": true
3071
3165
  },
3072
3166
  {
3073
3167
  "kind": "variable",
3074
- "name": "foundationAccordionShadowOptions",
3168
+ "name": "foundationAiCriteriaSearchShadowOptions",
3075
3169
  "type": {
3076
3170
  "text": "ShadowRootInit"
3077
3171
  },
3078
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3172
+ "default": "undefined"
3079
3173
  },
3080
3174
  {
3081
3175
  "kind": "variable",
3082
- "name": "defaultAccordionConfig",
3176
+ "name": "defaultAiCriteriaSearchConfig",
3083
3177
  "type": {
3084
3178
  "text": "object"
3085
3179
  },
@@ -3087,188 +3181,298 @@
3087
3181
  },
3088
3182
  {
3089
3183
  "kind": "variable",
3090
- "name": "foundationAccordion",
3091
- "description": "The Foundation Accordion",
3092
- "privacy": "public"
3184
+ "name": "foundationAiCriteriaSearch"
3093
3185
  }
3094
3186
  ],
3095
3187
  "exports": [
3096
3188
  {
3097
3189
  "kind": "js",
3098
- "name": "Accordion",
3190
+ "name": "AiCriteriaSearch",
3099
3191
  "declaration": {
3100
- "name": "Accordion",
3101
- "module": "src/accordion/accordion.ts"
3192
+ "name": "AiCriteriaSearch",
3193
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3102
3194
  }
3103
3195
  },
3104
3196
  {
3105
3197
  "kind": "js",
3106
- "name": "foundationAccordionShadowOptions",
3198
+ "name": "foundationAiCriteriaSearchShadowOptions",
3107
3199
  "declaration": {
3108
- "name": "foundationAccordionShadowOptions",
3109
- "module": "src/accordion/accordion.ts"
3200
+ "name": "foundationAiCriteriaSearchShadowOptions",
3201
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3110
3202
  }
3111
3203
  },
3112
3204
  {
3113
3205
  "kind": "js",
3114
- "name": "defaultAccordionConfig",
3206
+ "name": "defaultAiCriteriaSearchConfig",
3115
3207
  "declaration": {
3116
- "name": "defaultAccordionConfig",
3117
- "module": "src/accordion/accordion.ts"
3208
+ "name": "defaultAiCriteriaSearchConfig",
3209
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3118
3210
  }
3119
3211
  },
3120
3212
  {
3121
3213
  "kind": "js",
3122
- "name": "foundationAccordion",
3214
+ "name": "foundationAiCriteriaSearch",
3123
3215
  "declaration": {
3124
- "name": "foundationAccordion",
3125
- "module": "src/accordion/accordion.ts"
3216
+ "name": "foundationAiCriteriaSearch",
3217
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3126
3218
  }
3127
3219
  }
3128
3220
  ]
3129
3221
  },
3130
3222
  {
3131
3223
  "kind": "javascript-module",
3132
- "path": "src/accordion/index.ts",
3224
+ "path": "src/ai-criteria-search/index.ts",
3133
3225
  "declarations": [],
3134
3226
  "exports": [
3135
3227
  {
3136
3228
  "kind": "js",
3137
- "name": "*",
3229
+ "name": "AiCriteriaSearch",
3138
3230
  "declaration": {
3139
- "name": "*",
3140
- "package": "./accordion.template"
3231
+ "name": "AiCriteriaSearch",
3232
+ "module": "./ai-criteria-search"
3141
3233
  }
3142
3234
  },
3143
3235
  {
3144
3236
  "kind": "js",
3145
- "name": "*",
3237
+ "name": "defaultAiCriteriaSearchConfig",
3146
3238
  "declaration": {
3147
- "name": "*",
3148
- "package": "./accordion.styles"
3239
+ "name": "defaultAiCriteriaSearchConfig",
3240
+ "module": "./ai-criteria-search"
3149
3241
  }
3150
3242
  },
3151
3243
  {
3152
3244
  "kind": "js",
3153
- "name": "*",
3245
+ "name": "foundationAiCriteriaSearch",
3154
3246
  "declaration": {
3155
- "name": "*",
3156
- "package": "./accordion"
3247
+ "name": "foundationAiCriteriaSearch",
3248
+ "module": "./ai-criteria-search"
3157
3249
  }
3158
- }
3159
- ]
3160
- },
3161
- {
3162
- "kind": "javascript-module",
3163
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3164
- "declarations": [
3250
+ },
3165
3251
  {
3166
- "kind": "variable",
3167
- "name": "foundationAiCriteriaSearchStyles",
3168
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
3169
- }
3170
- ],
3171
- "exports": [
3252
+ "kind": "js",
3253
+ "name": "foundationAiCriteriaSearchShadowOptions",
3254
+ "declaration": {
3255
+ "name": "foundationAiCriteriaSearchShadowOptions",
3256
+ "module": "./ai-criteria-search"
3257
+ }
3258
+ },
3172
3259
  {
3173
3260
  "kind": "js",
3174
3261
  "name": "foundationAiCriteriaSearchStyles",
3175
3262
  "declaration": {
3176
3263
  "name": "foundationAiCriteriaSearchStyles",
3177
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3264
+ "module": "./ai-criteria-search.styles"
3178
3265
  }
3179
- }
3180
- ]
3181
- },
3182
- {
3183
- "kind": "javascript-module",
3184
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3185
- "declarations": [
3186
- {
3187
- "kind": "variable",
3188
- "name": "foundationAiCriteriaSearchTemplate",
3189
- "type": {
3190
- "text": "ViewTemplate<AiCriteriaSearch>"
3191
- },
3192
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3193
- }
3194
- ],
3195
- "exports": [
3266
+ },
3196
3267
  {
3197
3268
  "kind": "js",
3198
3269
  "name": "foundationAiCriteriaSearchTemplate",
3199
3270
  "declaration": {
3200
3271
  "name": "foundationAiCriteriaSearchTemplate",
3201
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3272
+ "module": "./ai-criteria-search.template"
3202
3273
  }
3203
- }
3204
- ]
3205
- },
3206
- {
3207
- "kind": "javascript-module",
3208
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3209
- "declarations": [
3274
+ },
3210
3275
  {
3211
- "kind": "class",
3212
- "description": "Natural-language criteria search input with AI interpretation.",
3213
- "name": "AiCriteriaSearch",
3214
- "members": [
3276
+ "kind": "js",
3277
+ "name": "*",
3278
+ "declaration": {
3279
+ "name": "*",
3280
+ "package": "./validation/criteria-ir"
3281
+ }
3282
+ },
3283
+ {
3284
+ "kind": "js",
3285
+ "name": "*",
3286
+ "declaration": {
3287
+ "name": "*",
3288
+ "package": "./validation/operator-map"
3289
+ }
3290
+ },
3291
+ {
3292
+ "kind": "js",
3293
+ "name": "*",
3294
+ "declaration": {
3295
+ "name": "*",
3296
+ "package": "./validation/schema-validator"
3297
+ }
3298
+ }
3299
+ ]
3300
+ },
3301
+ {
3302
+ "kind": "javascript-module",
3303
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3304
+ "declarations": [
3305
+ {
3306
+ "kind": "function",
3307
+ "name": "formatValidationErrors",
3308
+ "return": {
3309
+ "type": {
3310
+ "text": "string"
3311
+ }
3312
+ },
3313
+ "parameters": [
3215
3314
  {
3216
- "kind": "field",
3217
- "name": "providerRegistry",
3315
+ "name": "errors",
3218
3316
  "type": {
3219
- "text": "AIProviderRegistry"
3317
+ "text": "ValidationError[]"
3220
3318
  }
3221
- },
3319
+ }
3320
+ ],
3321
+ "description": "Formats validation errors into a user-friendly message."
3322
+ },
3323
+ {
3324
+ "kind": "function",
3325
+ "name": "showCriteriaError",
3326
+ "return": {
3327
+ "type": {
3328
+ "text": "void"
3329
+ }
3330
+ },
3331
+ "parameters": [
3222
3332
  {
3223
- "kind": "field",
3224
- "name": "placeholder",
3333
+ "name": "title",
3225
3334
  "type": {
3226
3335
  "text": "string"
3227
3336
  },
3228
- "default": "'Describe your search criteria in natural language...'"
3337
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3229
3338
  },
3230
3339
  {
3231
- "kind": "field",
3232
- "name": "disabled",
3340
+ "name": "body",
3233
3341
  "type": {
3234
- "text": "boolean"
3235
- }
3342
+ "text": "string"
3343
+ },
3344
+ "description": "Error message to display"
3236
3345
  },
3237
3346
  {
3238
- "kind": "field",
3239
- "name": "inputValue",
3347
+ "name": "tagName",
3240
3348
  "type": {
3241
3349
  "text": "string"
3242
3350
  },
3243
- "default": "''"
3351
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3352
+ }
3353
+ ],
3354
+ "description": "Shows a criteria error as a toast notification."
3355
+ }
3356
+ ],
3357
+ "exports": [
3358
+ {
3359
+ "kind": "js",
3360
+ "name": "formatValidationErrors",
3361
+ "declaration": {
3362
+ "name": "formatValidationErrors",
3363
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3364
+ }
3365
+ },
3366
+ {
3367
+ "kind": "js",
3368
+ "name": "showCriteriaError",
3369
+ "declaration": {
3370
+ "name": "showCriteriaError",
3371
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3372
+ }
3373
+ }
3374
+ ]
3375
+ },
3376
+ {
3377
+ "kind": "javascript-module",
3378
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3379
+ "declarations": [
3380
+ {
3381
+ "kind": "function",
3382
+ "name": "foundationAiIndicatorStyles",
3383
+ "return": {
3384
+ "type": {
3385
+ "text": "ElementStyles"
3386
+ }
3387
+ },
3388
+ "parameters": [
3389
+ {
3390
+ "name": "context",
3391
+ "type": {
3392
+ "text": "ElementDefinitionContext"
3393
+ }
3244
3394
  },
3395
+ {
3396
+ "name": "definition",
3397
+ "type": {
3398
+ "text": "FoundationElementDefinition"
3399
+ }
3400
+ }
3401
+ ]
3402
+ }
3403
+ ],
3404
+ "exports": [
3405
+ {
3406
+ "kind": "js",
3407
+ "name": "foundationAiIndicatorStyles",
3408
+ "declaration": {
3409
+ "name": "foundationAiIndicatorStyles",
3410
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3411
+ }
3412
+ }
3413
+ ]
3414
+ },
3415
+ {
3416
+ "kind": "javascript-module",
3417
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3418
+ "declarations": [
3419
+ {
3420
+ "kind": "variable",
3421
+ "name": "foundationAiIndicatorTemplate",
3422
+ "type": {
3423
+ "text": "ViewTemplate<AiIndicator>"
3424
+ },
3425
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3426
+ }
3427
+ ],
3428
+ "exports": [
3429
+ {
3430
+ "kind": "js",
3431
+ "name": "foundationAiIndicatorTemplate",
3432
+ "declaration": {
3433
+ "name": "foundationAiIndicatorTemplate",
3434
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3435
+ }
3436
+ }
3437
+ ]
3438
+ },
3439
+ {
3440
+ "kind": "javascript-module",
3441
+ "path": "src/ai-indicator/ai-indicator.ts",
3442
+ "declarations": [
3443
+ {
3444
+ "kind": "class",
3445
+ "description": "",
3446
+ "name": "AiIndicator",
3447
+ "members": [
3245
3448
  {
3246
3449
  "kind": "field",
3247
- "name": "isInterpreting",
3450
+ "name": "providerRegistry",
3248
3451
  "type": {
3249
- "text": "boolean"
3250
- },
3251
- "default": "false"
3452
+ "text": "AIProviderRegistry"
3453
+ }
3252
3454
  },
3253
3455
  {
3254
3456
  "kind": "field",
3255
- "name": "lastValidCriteria",
3457
+ "name": "aiProvider",
3256
3458
  "type": {
3257
- "text": "string | null"
3459
+ "text": "AIProvider | undefined"
3258
3460
  },
3259
- "default": "null"
3461
+ "privacy": "private",
3462
+ "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.",
3463
+ "readonly": true
3260
3464
  },
3261
3465
  {
3262
3466
  "kind": "field",
3263
- "name": "activeGroups",
3467
+ "name": "status",
3264
3468
  "type": {
3265
- "text": "CriteriaGroup[]"
3469
+ "text": "AIStatus | null"
3266
3470
  },
3267
- "default": "[]"
3471
+ "default": "null"
3268
3472
  },
3269
3473
  {
3270
3474
  "kind": "field",
3271
- "name": "showingChips",
3475
+ "name": "open",
3272
3476
  "type": {
3273
3477
  "text": "boolean"
3274
3478
  },
@@ -3276,15 +3480,15 @@
3276
3480
  },
3277
3481
  {
3278
3482
  "kind": "field",
3279
- "name": "fieldMetadata",
3483
+ "name": "state",
3280
3484
  "type": {
3281
- "text": "MetadataDetail[] | string[]"
3485
+ "text": "AIIndicatorState"
3282
3486
  },
3283
- "default": "[]"
3487
+ "default": "'none'"
3284
3488
  },
3285
3489
  {
3286
3490
  "kind": "field",
3287
- "name": "isRecording",
3491
+ "name": "isInstalling",
3288
3492
  "type": {
3289
3493
  "text": "boolean"
3290
3494
  },
@@ -3292,33 +3496,29 @@
3292
3496
  },
3293
3497
  {
3294
3498
  "kind": "field",
3295
- "name": "textAreaRef",
3499
+ "name": "pollTimer",
3296
3500
  "type": {
3297
- "text": "HTMLTextAreaElement"
3501
+ "text": "ReturnType<typeof setInterval> | null"
3298
3502
  },
3299
- "privacy": "public"
3503
+ "privacy": "private",
3504
+ "default": "null"
3300
3505
  },
3301
3506
  {
3302
3507
  "kind": "field",
3303
- "name": "stopRecording",
3304
- "type": {
3305
- "text": "(() => void) | null"
3306
- },
3307
- "privacy": "private",
3308
- "default": "null"
3508
+ "name": "clickOutside",
3509
+ "privacy": "private"
3309
3510
  },
3310
3511
  {
3311
3512
  "kind": "field",
3312
- "name": "speechApplyDebounceTimer",
3513
+ "name": "chromeStatusLabel",
3313
3514
  "type": {
3314
- "text": "ReturnType<typeof setTimeout> | null"
3515
+ "text": "string | null"
3315
3516
  },
3316
- "privacy": "private",
3317
- "default": "null"
3517
+ "readonly": true
3318
3518
  },
3319
3519
  {
3320
3520
  "kind": "field",
3321
- "name": "speechAvailable",
3521
+ "name": "canInstall",
3322
3522
  "type": {
3323
3523
  "text": "boolean"
3324
3524
  },
@@ -3326,65 +3526,69 @@
3326
3526
  },
3327
3527
  {
3328
3528
  "kind": "field",
3329
- "name": "criteriaChips",
3529
+ "name": "isDownloading",
3330
3530
  "type": {
3331
- "text": "CriteriaChip[]"
3531
+ "text": "boolean"
3332
3532
  },
3333
3533
  "readonly": true
3334
3534
  },
3335
3535
  {
3336
3536
  "kind": "method",
3337
- "name": "getFieldLabel",
3338
- "privacy": "private",
3537
+ "name": "openChanged",
3339
3538
  "return": {
3340
3539
  "type": {
3341
- "text": "string"
3540
+ "text": "void"
3342
3541
  }
3343
- },
3542
+ }
3543
+ },
3544
+ {
3545
+ "kind": "method",
3546
+ "name": "handleClickOutside",
3547
+ "privacy": "private",
3344
3548
  "parameters": [
3345
3549
  {
3346
- "name": "fieldName",
3550
+ "name": "event",
3347
3551
  "type": {
3348
- "text": "string"
3552
+ "text": "MouseEvent"
3349
3553
  }
3350
3554
  }
3351
3555
  ]
3352
3556
  },
3353
3557
  {
3354
3558
  "kind": "method",
3355
- "name": "toggleCriteriaView",
3559
+ "name": "toggleDropdown"
3560
+ },
3561
+ {
3562
+ "kind": "method",
3563
+ "name": "refreshStatus",
3356
3564
  "return": {
3357
3565
  "type": {
3358
- "text": "void"
3566
+ "text": "Promise<void>"
3359
3567
  }
3360
3568
  }
3361
3569
  },
3362
3570
  {
3363
3571
  "kind": "method",
3364
- "name": "removeChip",
3572
+ "name": "deriveState",
3573
+ "privacy": "private",
3365
3574
  "return": {
3366
3575
  "type": {
3367
- "text": "void"
3576
+ "text": "AIIndicatorState"
3368
3577
  }
3369
3578
  },
3370
3579
  "parameters": [
3371
3580
  {
3372
- "name": "groupIndex",
3373
- "type": {
3374
- "text": "number"
3375
- }
3376
- },
3377
- {
3378
- "name": "clauseIndex",
3581
+ "name": "s",
3379
3582
  "type": {
3380
- "text": "number"
3583
+ "text": "AIStatus | null"
3381
3584
  }
3382
3585
  }
3383
3586
  ]
3384
3587
  },
3385
3588
  {
3386
3589
  "kind": "method",
3387
- "name": "clearChips",
3590
+ "name": "maybeStartPolling",
3591
+ "privacy": "private",
3388
3592
  "return": {
3389
3593
  "type": {
3390
3594
  "text": "void"
@@ -3393,24 +3597,32 @@
3393
3597
  },
3394
3598
  {
3395
3599
  "kind": "method",
3396
- "name": "handleSubmit"
3397
- },
3398
- {
3399
- "kind": "method",
3400
- "name": "handleBlur"
3401
- },
3402
- {
3403
- "kind": "method",
3404
- "name": "clear"
3600
+ "name": "startPolling",
3601
+ "privacy": "private",
3602
+ "return": {
3603
+ "type": {
3604
+ "text": "void"
3605
+ }
3606
+ }
3405
3607
  },
3406
3608
  {
3407
3609
  "kind": "method",
3408
- "name": "toggleSpeechInput"
3610
+ "name": "stopPolling",
3611
+ "privacy": "private",
3612
+ "return": {
3613
+ "type": {
3614
+ "text": "void"
3615
+ }
3616
+ }
3409
3617
  },
3410
3618
  {
3411
3619
  "kind": "method",
3412
- "name": "clearSpeechApplyDebounce",
3413
- "privacy": "private"
3620
+ "name": "onInstall",
3621
+ "return": {
3622
+ "type": {
3623
+ "text": "Promise<void>"
3624
+ }
3625
+ }
3414
3626
  },
3415
3627
  {
3416
3628
  "kind": "field",
@@ -3520,263 +3732,145 @@
3520
3732
  "description": "Defines an element registry function with a set of element definition defaults.",
3521
3733
  "inheritedFrom": {
3522
3734
  "name": "FoundationElement",
3523
- "module": "src/foundation-element/foundation-element.ts"
3524
- }
3525
- }
3526
- ],
3527
- "events": [
3528
- {
3529
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3530
- "name": "criteria-changed"
3531
- },
3532
- {
3533
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3534
- "name": "validation-errors"
3535
- }
3536
- ],
3537
- "attributes": [
3538
- {
3539
- "name": "placeholder",
3540
- "type": {
3541
- "text": "string"
3542
- },
3543
- "default": "'Describe your search criteria in natural language...'",
3544
- "fieldName": "placeholder"
3545
- },
3546
- {
3547
- "type": {
3548
- "text": "boolean"
3549
- },
3550
- "fieldName": "disabled"
3551
- }
3552
- ],
3553
- "superclass": {
3554
- "name": "FoundationElement",
3555
- "package": "@microsoft/fast-foundation"
3556
- },
3557
- "tagName": "%%prefix%%-ai-criteria-search",
3558
- "customElement": true
3559
- },
3560
- {
3561
- "kind": "variable",
3562
- "name": "foundationAiCriteriaSearchShadowOptions",
3563
- "type": {
3564
- "text": "ShadowRootInit"
3565
- },
3566
- "default": "undefined"
3567
- },
3568
- {
3569
- "kind": "variable",
3570
- "name": "defaultAiCriteriaSearchConfig",
3571
- "type": {
3572
- "text": "object"
3735
+ "module": "src/foundation-element/foundation-element.ts"
3736
+ }
3737
+ }
3738
+ ],
3739
+ "superclass": {
3740
+ "name": "FoundationElement",
3741
+ "package": "@microsoft/fast-foundation"
3573
3742
  },
3574
- "default": "{}"
3743
+ "tagName": "%%prefix%%-ai-indicator",
3744
+ "customElement": true
3575
3745
  },
3576
3746
  {
3577
3747
  "kind": "variable",
3578
- "name": "foundationAiCriteriaSearch"
3748
+ "name": "foundationAiIndicator"
3579
3749
  }
3580
3750
  ],
3581
3751
  "exports": [
3582
3752
  {
3583
3753
  "kind": "js",
3584
- "name": "AiCriteriaSearch",
3585
- "declaration": {
3586
- "name": "AiCriteriaSearch",
3587
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3588
- }
3589
- },
3590
- {
3591
- "kind": "js",
3592
- "name": "foundationAiCriteriaSearchShadowOptions",
3593
- "declaration": {
3594
- "name": "foundationAiCriteriaSearchShadowOptions",
3595
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3596
- }
3597
- },
3598
- {
3599
- "kind": "js",
3600
- "name": "defaultAiCriteriaSearchConfig",
3754
+ "name": "AiIndicator",
3601
3755
  "declaration": {
3602
- "name": "defaultAiCriteriaSearchConfig",
3603
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3756
+ "name": "AiIndicator",
3757
+ "module": "src/ai-indicator/ai-indicator.ts"
3604
3758
  }
3605
3759
  },
3606
3760
  {
3607
3761
  "kind": "js",
3608
- "name": "foundationAiCriteriaSearch",
3762
+ "name": "foundationAiIndicator",
3609
3763
  "declaration": {
3610
- "name": "foundationAiCriteriaSearch",
3611
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3764
+ "name": "foundationAiIndicator",
3765
+ "module": "src/ai-indicator/ai-indicator.ts"
3612
3766
  }
3613
3767
  }
3614
3768
  ]
3615
3769
  },
3616
3770
  {
3617
3771
  "kind": "javascript-module",
3618
- "path": "src/ai-criteria-search/index.ts",
3772
+ "path": "src/ai-indicator/index.ts",
3619
3773
  "declarations": [],
3620
3774
  "exports": [
3621
3775
  {
3622
3776
  "kind": "js",
3623
- "name": "AiCriteriaSearch",
3624
- "declaration": {
3625
- "name": "AiCriteriaSearch",
3626
- "module": "./ai-criteria-search"
3627
- }
3628
- },
3629
- {
3630
- "kind": "js",
3631
- "name": "defaultAiCriteriaSearchConfig",
3632
- "declaration": {
3633
- "name": "defaultAiCriteriaSearchConfig",
3634
- "module": "./ai-criteria-search"
3635
- }
3636
- },
3637
- {
3638
- "kind": "js",
3639
- "name": "foundationAiCriteriaSearch",
3640
- "declaration": {
3641
- "name": "foundationAiCriteriaSearch",
3642
- "module": "./ai-criteria-search"
3643
- }
3644
- },
3645
- {
3646
- "kind": "js",
3647
- "name": "foundationAiCriteriaSearchShadowOptions",
3777
+ "name": "AiIndicator",
3648
3778
  "declaration": {
3649
- "name": "foundationAiCriteriaSearchShadowOptions",
3650
- "module": "./ai-criteria-search"
3779
+ "name": "AiIndicator",
3780
+ "module": "./ai-indicator"
3651
3781
  }
3652
3782
  },
3653
3783
  {
3654
3784
  "kind": "js",
3655
- "name": "foundationAiCriteriaSearchStyles",
3785
+ "name": "foundationAiIndicator",
3656
3786
  "declaration": {
3657
- "name": "foundationAiCriteriaSearchStyles",
3658
- "module": "./ai-criteria-search.styles"
3787
+ "name": "foundationAiIndicator",
3788
+ "module": "./ai-indicator"
3659
3789
  }
3660
3790
  },
3661
3791
  {
3662
3792
  "kind": "js",
3663
- "name": "foundationAiCriteriaSearchTemplate",
3793
+ "name": "type",
3664
3794
  "declaration": {
3665
- "name": "foundationAiCriteriaSearchTemplate",
3666
- "module": "./ai-criteria-search.template"
3795
+ "name": "type",
3796
+ "module": "./ai-indicator"
3667
3797
  }
3668
3798
  },
3669
3799
  {
3670
3800
  "kind": "js",
3671
- "name": "*",
3801
+ "name": "AIIndicatorState",
3672
3802
  "declaration": {
3673
- "name": "*",
3674
- "package": "./validation/criteria-ir"
3803
+ "name": "AIIndicatorState",
3804
+ "module": "./ai-indicator"
3675
3805
  }
3676
3806
  },
3677
3807
  {
3678
3808
  "kind": "js",
3679
- "name": "*",
3809
+ "name": "foundationAiIndicatorTemplate",
3680
3810
  "declaration": {
3681
- "name": "*",
3682
- "package": "./validation/operator-map"
3811
+ "name": "foundationAiIndicatorTemplate",
3812
+ "module": "./ai-indicator.template"
3683
3813
  }
3684
3814
  },
3685
3815
  {
3686
3816
  "kind": "js",
3687
- "name": "*",
3817
+ "name": "foundationAiIndicatorStyles",
3688
3818
  "declaration": {
3689
- "name": "*",
3690
- "package": "./validation/schema-validator"
3819
+ "name": "foundationAiIndicatorStyles",
3820
+ "module": "./ai-indicator.styles"
3691
3821
  }
3692
3822
  }
3693
3823
  ]
3694
3824
  },
3695
3825
  {
3696
3826
  "kind": "javascript-module",
3697
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3827
+ "path": "src/accordion-item/accordion-item.styles.ts",
3698
3828
  "declarations": [
3699
3829
  {
3700
3830
  "kind": "function",
3701
- "name": "formatValidationErrors",
3831
+ "name": "foundationAccordionItemStyles",
3702
3832
  "return": {
3703
3833
  "type": {
3704
- "text": "string"
3834
+ "text": "ElementStyles"
3705
3835
  }
3706
3836
  },
3707
3837
  "parameters": [
3708
3838
  {
3709
- "name": "errors",
3839
+ "name": "context",
3710
3840
  "type": {
3711
- "text": "ValidationError[]"
3841
+ "text": "ElementDefinitionContext"
3712
3842
  }
3713
- }
3714
- ],
3715
- "description": "Formats validation errors into a user-friendly message."
3716
- },
3717
- {
3718
- "kind": "function",
3719
- "name": "showCriteriaError",
3720
- "return": {
3721
- "type": {
3722
- "text": "void"
3723
- }
3724
- },
3725
- "parameters": [
3726
- {
3727
- "name": "title",
3728
- "type": {
3729
- "text": "string"
3730
- },
3731
- "description": "Notification title (e.g. \"Criteria validation error\")"
3732
- },
3733
- {
3734
- "name": "body",
3735
- "type": {
3736
- "text": "string"
3737
- },
3738
- "description": "Error message to display"
3739
3843
  },
3740
3844
  {
3741
- "name": "tagName",
3845
+ "name": "definition",
3742
3846
  "type": {
3743
- "text": "string"
3744
- },
3745
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3847
+ "text": "FoundationElementDefinition"
3848
+ }
3746
3849
  }
3747
- ],
3748
- "description": "Shows a criteria error as a toast notification."
3850
+ ]
3749
3851
  }
3750
3852
  ],
3751
3853
  "exports": [
3752
3854
  {
3753
3855
  "kind": "js",
3754
- "name": "formatValidationErrors",
3755
- "declaration": {
3756
- "name": "formatValidationErrors",
3757
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3758
- }
3759
- },
3760
- {
3761
- "kind": "js",
3762
- "name": "showCriteriaError",
3856
+ "name": "foundationAccordionItemStyles",
3763
3857
  "declaration": {
3764
- "name": "showCriteriaError",
3765
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3858
+ "name": "foundationAccordionItemStyles",
3859
+ "module": "src/accordion-item/accordion-item.styles.ts"
3766
3860
  }
3767
3861
  }
3768
3862
  ]
3769
3863
  },
3770
3864
  {
3771
3865
  "kind": "javascript-module",
3772
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3866
+ "path": "src/accordion-item/accordion-item.template.ts",
3773
3867
  "declarations": [
3774
3868
  {
3775
3869
  "kind": "function",
3776
- "name": "foundationAiIndicatorStyles",
3870
+ "name": "foundationAccordionItemTemplate",
3777
3871
  "return": {
3778
3872
  "type": {
3779
- "text": "ElementStyles"
3873
+ "text": "ViewTemplate<AccordionItem>"
3780
3874
  }
3781
3875
  },
3782
3876
  "parameters": [
@@ -3798,224 +3892,116 @@
3798
3892
  "exports": [
3799
3893
  {
3800
3894
  "kind": "js",
3801
- "name": "foundationAiIndicatorStyles",
3802
- "declaration": {
3803
- "name": "foundationAiIndicatorStyles",
3804
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3805
- }
3806
- }
3807
- ]
3808
- },
3809
- {
3810
- "kind": "javascript-module",
3811
- "path": "src/ai-indicator/ai-indicator.template.ts",
3812
- "declarations": [
3813
- {
3814
- "kind": "variable",
3815
- "name": "foundationAiIndicatorTemplate",
3816
- "type": {
3817
- "text": "ViewTemplate<AiIndicator>"
3818
- },
3819
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3820
- }
3821
- ],
3822
- "exports": [
3823
- {
3824
- "kind": "js",
3825
- "name": "foundationAiIndicatorTemplate",
3895
+ "name": "foundationAccordionItemTemplate",
3826
3896
  "declaration": {
3827
- "name": "foundationAiIndicatorTemplate",
3828
- "module": "src/ai-indicator/ai-indicator.template.ts"
3897
+ "name": "foundationAccordionItemTemplate",
3898
+ "module": "src/accordion-item/accordion-item.template.ts"
3829
3899
  }
3830
3900
  }
3831
3901
  ]
3832
3902
  },
3833
3903
  {
3834
3904
  "kind": "javascript-module",
3835
- "path": "src/ai-indicator/ai-indicator.ts",
3905
+ "path": "src/accordion-item/accordion-item.ts",
3836
3906
  "declarations": [
3837
3907
  {
3838
3908
  "kind": "class",
3839
3909
  "description": "",
3840
- "name": "AiIndicator",
3841
- "members": [
3842
- {
3843
- "kind": "field",
3844
- "name": "providerRegistry",
3845
- "type": {
3846
- "text": "AIProviderRegistry"
3847
- }
3848
- },
3849
- {
3850
- "kind": "field",
3851
- "name": "aiProvider",
3852
- "type": {
3853
- "text": "AIProvider | undefined"
3854
- },
3855
- "privacy": "private",
3856
- "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.",
3857
- "readonly": true
3858
- },
3859
- {
3860
- "kind": "field",
3861
- "name": "status",
3862
- "type": {
3863
- "text": "AIStatus | null"
3864
- },
3865
- "default": "null"
3866
- },
3867
- {
3868
- "kind": "field",
3869
- "name": "open",
3870
- "type": {
3871
- "text": "boolean"
3872
- },
3873
- "default": "false"
3874
- },
3910
+ "name": "AccordionItem",
3911
+ "superclass": {
3912
+ "name": "FASTAccordionItem",
3913
+ "package": "@microsoft/fast-components"
3914
+ },
3915
+ "tagName": "%%prefix%%-accordion-item",
3916
+ "customElement": true,
3917
+ "attributes": [
3875
3918
  {
3876
- "kind": "field",
3877
- "name": "state",
3919
+ "name": "heading-level",
3878
3920
  "type": {
3879
- "text": "AIIndicatorState"
3921
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3880
3922
  },
3881
- "default": "'none'"
3923
+ "default": "2",
3924
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3925
+ "fieldName": "headinglevel",
3926
+ "inheritedFrom": {
3927
+ "name": "AccordionItem",
3928
+ "module": "src/accordion-item/accordion-item.ts"
3929
+ }
3882
3930
  },
3883
3931
  {
3884
- "kind": "field",
3885
- "name": "isInstalling",
3886
3932
  "type": {
3887
3933
  "text": "boolean"
3888
3934
  },
3889
- "default": "false"
3935
+ "default": "false",
3936
+ "description": "Expands or collapses the item.",
3937
+ "fieldName": "expanded",
3938
+ "inheritedFrom": {
3939
+ "name": "AccordionItem",
3940
+ "module": "src/accordion-item/accordion-item.ts"
3941
+ }
3890
3942
  },
3891
3943
  {
3892
- "kind": "field",
3893
- "name": "pollTimer",
3944
+ "name": "id",
3894
3945
  "type": {
3895
- "text": "ReturnType<typeof setInterval> | null"
3946
+ "text": "string"
3896
3947
  },
3897
- "privacy": "private",
3898
- "default": "null"
3899
- },
3900
- {
3901
- "kind": "field",
3902
- "name": "clickOutside",
3903
- "privacy": "private"
3904
- },
3948
+ "description": "The item ID",
3949
+ "fieldName": "id",
3950
+ "inheritedFrom": {
3951
+ "name": "AccordionItem",
3952
+ "module": "src/accordion-item/accordion-item.ts"
3953
+ }
3954
+ }
3955
+ ],
3956
+ "members": [
3905
3957
  {
3906
3958
  "kind": "field",
3907
- "name": "chromeStatusLabel",
3959
+ "name": "headinglevel",
3908
3960
  "type": {
3909
- "text": "string | null"
3961
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3910
3962
  },
3911
- "readonly": true
3963
+ "privacy": "public",
3964
+ "default": "2",
3965
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3966
+ "inheritedFrom": {
3967
+ "name": "AccordionItem",
3968
+ "module": "src/accordion-item/accordion-item.ts"
3969
+ }
3912
3970
  },
3913
3971
  {
3914
3972
  "kind": "field",
3915
- "name": "canInstall",
3973
+ "name": "expanded",
3916
3974
  "type": {
3917
3975
  "text": "boolean"
3918
3976
  },
3919
- "readonly": true
3977
+ "privacy": "public",
3978
+ "default": "false",
3979
+ "description": "Expands or collapses the item.",
3980
+ "inheritedFrom": {
3981
+ "name": "AccordionItem",
3982
+ "module": "src/accordion-item/accordion-item.ts"
3983
+ }
3920
3984
  },
3921
3985
  {
3922
3986
  "kind": "field",
3923
- "name": "isDownloading",
3987
+ "name": "id",
3924
3988
  "type": {
3925
- "text": "boolean"
3926
- },
3927
- "readonly": true
3928
- },
3929
- {
3930
- "kind": "method",
3931
- "name": "openChanged",
3932
- "return": {
3933
- "type": {
3934
- "text": "void"
3935
- }
3936
- }
3937
- },
3938
- {
3939
- "kind": "method",
3940
- "name": "handleClickOutside",
3941
- "privacy": "private",
3942
- "parameters": [
3943
- {
3944
- "name": "event",
3945
- "type": {
3946
- "text": "MouseEvent"
3947
- }
3948
- }
3949
- ]
3950
- },
3951
- {
3952
- "kind": "method",
3953
- "name": "toggleDropdown"
3954
- },
3955
- {
3956
- "kind": "method",
3957
- "name": "refreshStatus",
3958
- "return": {
3959
- "type": {
3960
- "text": "Promise<void>"
3961
- }
3962
- }
3963
- },
3964
- {
3965
- "kind": "method",
3966
- "name": "deriveState",
3967
- "privacy": "private",
3968
- "return": {
3969
- "type": {
3970
- "text": "AIIndicatorState"
3971
- }
3989
+ "text": "string"
3972
3990
  },
3973
- "parameters": [
3974
- {
3975
- "name": "s",
3976
- "type": {
3977
- "text": "AIStatus | null"
3978
- }
3979
- }
3980
- ]
3981
- },
3982
- {
3983
- "kind": "method",
3984
- "name": "maybeStartPolling",
3985
- "privacy": "private",
3986
- "return": {
3987
- "type": {
3988
- "text": "void"
3989
- }
3990
- }
3991
- },
3992
- {
3993
- "kind": "method",
3994
- "name": "startPolling",
3995
- "privacy": "private",
3996
- "return": {
3997
- "type": {
3998
- "text": "void"
3999
- }
3991
+ "privacy": "public",
3992
+ "description": "The item ID",
3993
+ "inheritedFrom": {
3994
+ "name": "AccordionItem",
3995
+ "module": "src/accordion-item/accordion-item.ts"
4000
3996
  }
4001
3997
  },
4002
3998
  {
4003
- "kind": "method",
4004
- "name": "stopPolling",
3999
+ "kind": "field",
4000
+ "name": "change",
4005
4001
  "privacy": "private",
4006
- "return": {
4007
- "type": {
4008
- "text": "void"
4009
- }
4010
- }
4011
- },
4012
- {
4013
- "kind": "method",
4014
- "name": "onInstall",
4015
- "return": {
4016
- "type": {
4017
- "text": "Promise<void>"
4018
- }
4002
+ "inheritedFrom": {
4003
+ "name": "AccordionItem",
4004
+ "module": "src/accordion-item/accordion-item.ts"
4019
4005
  }
4020
4006
  },
4021
4007
  {
@@ -4130,88 +4116,102 @@
4130
4116
  }
4131
4117
  }
4132
4118
  ],
4133
- "superclass": {
4134
- "name": "FoundationElement",
4135
- "package": "@microsoft/fast-foundation"
4119
+ "events": [
4120
+ {
4121
+ "description": "Fires a custom 'change' event when the button is invoked",
4122
+ "name": "change",
4123
+ "inheritedFrom": {
4124
+ "name": "AccordionItem",
4125
+ "module": "src/accordion-item/accordion-item.ts"
4126
+ }
4127
+ }
4128
+ ]
4129
+ },
4130
+ {
4131
+ "kind": "variable",
4132
+ "name": "foundationAccordionItemShadowOptions",
4133
+ "type": {
4134
+ "text": "ShadowRootInit"
4136
4135
  },
4137
- "tagName": "%%prefix%%-ai-indicator",
4138
- "customElement": true
4136
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4139
4137
  },
4140
4138
  {
4141
4139
  "kind": "variable",
4142
- "name": "foundationAiIndicator"
4140
+ "name": "defaultAccordionItemConfig",
4141
+ "type": {
4142
+ "text": "object"
4143
+ },
4144
+ "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}"
4145
+ },
4146
+ {
4147
+ "kind": "variable",
4148
+ "name": "foundationAccordionItem",
4149
+ "description": "The Foundation Accordion Item",
4150
+ "privacy": "public"
4143
4151
  }
4144
4152
  ],
4145
4153
  "exports": [
4146
4154
  {
4147
4155
  "kind": "js",
4148
- "name": "AiIndicator",
4156
+ "name": "AccordionItem",
4149
4157
  "declaration": {
4150
- "name": "AiIndicator",
4151
- "module": "src/ai-indicator/ai-indicator.ts"
4158
+ "name": "AccordionItem",
4159
+ "module": "src/accordion-item/accordion-item.ts"
4152
4160
  }
4153
4161
  },
4154
4162
  {
4155
4163
  "kind": "js",
4156
- "name": "foundationAiIndicator",
4157
- "declaration": {
4158
- "name": "foundationAiIndicator",
4159
- "module": "src/ai-indicator/ai-indicator.ts"
4160
- }
4161
- }
4162
- ]
4163
- },
4164
- {
4165
- "kind": "javascript-module",
4166
- "path": "src/ai-indicator/index.ts",
4167
- "declarations": [],
4168
- "exports": [
4169
- {
4170
- "kind": "js",
4171
- "name": "AiIndicator",
4164
+ "name": "foundationAccordionItemShadowOptions",
4172
4165
  "declaration": {
4173
- "name": "AiIndicator",
4174
- "module": "./ai-indicator"
4166
+ "name": "foundationAccordionItemShadowOptions",
4167
+ "module": "src/accordion-item/accordion-item.ts"
4175
4168
  }
4176
4169
  },
4177
4170
  {
4178
4171
  "kind": "js",
4179
- "name": "foundationAiIndicator",
4172
+ "name": "defaultAccordionItemConfig",
4180
4173
  "declaration": {
4181
- "name": "foundationAiIndicator",
4182
- "module": "./ai-indicator"
4174
+ "name": "defaultAccordionItemConfig",
4175
+ "module": "src/accordion-item/accordion-item.ts"
4183
4176
  }
4184
4177
  },
4185
4178
  {
4186
4179
  "kind": "js",
4187
- "name": "type",
4180
+ "name": "foundationAccordionItem",
4188
4181
  "declaration": {
4189
- "name": "type",
4190
- "module": "./ai-indicator"
4182
+ "name": "foundationAccordionItem",
4183
+ "module": "src/accordion-item/accordion-item.ts"
4191
4184
  }
4192
- },
4185
+ }
4186
+ ]
4187
+ },
4188
+ {
4189
+ "kind": "javascript-module",
4190
+ "path": "src/accordion-item/index.ts",
4191
+ "declarations": [],
4192
+ "exports": [
4193
4193
  {
4194
4194
  "kind": "js",
4195
- "name": "AIIndicatorState",
4195
+ "name": "*",
4196
4196
  "declaration": {
4197
- "name": "AIIndicatorState",
4198
- "module": "./ai-indicator"
4197
+ "name": "*",
4198
+ "package": "./accordion-item.template"
4199
4199
  }
4200
4200
  },
4201
4201
  {
4202
4202
  "kind": "js",
4203
- "name": "foundationAiIndicatorTemplate",
4203
+ "name": "*",
4204
4204
  "declaration": {
4205
- "name": "foundationAiIndicatorTemplate",
4206
- "module": "./ai-indicator.template"
4205
+ "name": "*",
4206
+ "package": "./accordion-item.styles"
4207
4207
  }
4208
4208
  },
4209
4209
  {
4210
4210
  "kind": "js",
4211
- "name": "foundationAiIndicatorStyles",
4211
+ "name": "*",
4212
4212
  "declaration": {
4213
- "name": "foundationAiIndicatorStyles",
4214
- "module": "./ai-indicator.styles"
4213
+ "name": "*",
4214
+ "package": "./accordion-item"
4215
4215
  }
4216
4216
  }
4217
4217
  ]