@genesislcap/foundation-ui 15.58.0 → 15.58.2

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
  ]
@@ -2491,275 +2612,208 @@
2491
2612
  },
2492
2613
  {
2493
2614
  "kind": "javascript-module",
2494
- "path": "src/accordion/accordion.styles.ts",
2615
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2495
2616
  "declarations": [
2496
2617
  {
2497
- "kind": "function",
2498
- "name": "foundationAccordionStyles",
2499
- "return": {
2500
- "type": {
2501
- "text": "ElementStyles"
2502
- }
2503
- },
2504
- "parameters": [
2505
- {
2506
- "name": "context",
2507
- "type": {
2508
- "text": "ElementDefinitionContext"
2509
- }
2510
- },
2511
- {
2512
- "name": "definition",
2513
- "type": {
2514
- "text": "FoundationElementDefinition"
2515
- }
2516
- }
2517
- ]
2618
+ "kind": "variable",
2619
+ "name": "foundationAiCriteriaSearchStyles",
2620
+ "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`"
2518
2621
  }
2519
2622
  ],
2520
2623
  "exports": [
2521
2624
  {
2522
2625
  "kind": "js",
2523
- "name": "foundationAccordionStyles",
2626
+ "name": "foundationAiCriteriaSearchStyles",
2524
2627
  "declaration": {
2525
- "name": "foundationAccordionStyles",
2526
- "module": "src/accordion/accordion.styles.ts"
2628
+ "name": "foundationAiCriteriaSearchStyles",
2629
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2527
2630
  }
2528
2631
  }
2529
2632
  ]
2530
2633
  },
2531
2634
  {
2532
2635
  "kind": "javascript-module",
2533
- "path": "src/accordion/accordion.template.ts",
2636
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2534
2637
  "declarations": [
2535
2638
  {
2536
- "kind": "function",
2537
- "name": "foundationAccordionTemplate",
2538
- "return": {
2539
- "type": {
2540
- "text": "ViewTemplate<Accordion>"
2541
- }
2639
+ "kind": "variable",
2640
+ "name": "foundationAiCriteriaSearchTemplate",
2641
+ "type": {
2642
+ "text": "ViewTemplate<AiCriteriaSearch>"
2542
2643
  },
2543
- "parameters": [
2544
- {
2545
- "name": "context",
2546
- "type": {
2547
- "text": "ElementDefinitionContext"
2548
- }
2549
- },
2550
- {
2551
- "name": "definition",
2552
- "type": {
2553
- "text": "FoundationElementDefinition"
2554
- }
2555
- }
2556
- ]
2644
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2557
2645
  }
2558
2646
  ],
2559
2647
  "exports": [
2560
2648
  {
2561
2649
  "kind": "js",
2562
- "name": "foundationAccordionTemplate",
2650
+ "name": "foundationAiCriteriaSearchTemplate",
2563
2651
  "declaration": {
2564
- "name": "foundationAccordionTemplate",
2565
- "module": "src/accordion/accordion.template.ts"
2652
+ "name": "foundationAiCriteriaSearchTemplate",
2653
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2566
2654
  }
2567
2655
  }
2568
2656
  ]
2569
2657
  },
2570
2658
  {
2571
2659
  "kind": "javascript-module",
2572
- "path": "src/accordion/accordion.ts",
2660
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2573
2661
  "declarations": [
2574
2662
  {
2575
2663
  "kind": "class",
2576
- "description": "",
2577
- "name": "Accordion",
2578
- "superclass": {
2579
- "name": "FASTAccordion",
2580
- "package": "@microsoft/fast-foundation"
2581
- },
2582
- "tagName": "%%prefix%%-accordion",
2583
- "customElement": true,
2584
- "attributes": [
2664
+ "description": "Natural-language criteria search input with AI interpretation.",
2665
+ "name": "AiCriteriaSearch",
2666
+ "members": [
2585
2667
  {
2586
- "name": "expand-mode",
2668
+ "kind": "field",
2669
+ "name": "providerRegistry",
2587
2670
  "type": {
2588
- "text": "AccordionExpandMode"
2589
- },
2590
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2591
- "fieldName": "expandmode",
2592
- "inheritedFrom": {
2593
- "name": "Accordion",
2594
- "module": "src/accordion/accordion.ts"
2671
+ "text": "AIProviderRegistry"
2595
2672
  }
2596
- }
2597
- ],
2598
- "members": [
2673
+ },
2599
2674
  {
2600
2675
  "kind": "field",
2601
- "name": "expandmode",
2676
+ "name": "placeholder",
2602
2677
  "type": {
2603
- "text": "AccordionExpandMode"
2678
+ "text": "string"
2604
2679
  },
2605
- "privacy": "public",
2606
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2607
- "inheritedFrom": {
2608
- "name": "Accordion",
2609
- "module": "src/accordion/accordion.ts"
2680
+ "default": "'Describe your search criteria in natural language...'"
2681
+ },
2682
+ {
2683
+ "kind": "field",
2684
+ "name": "disabled",
2685
+ "type": {
2686
+ "text": "boolean"
2610
2687
  }
2611
2688
  },
2612
2689
  {
2613
2690
  "kind": "field",
2614
- "name": "activeid",
2691
+ "name": "inputValue",
2615
2692
  "type": {
2616
- "text": "string | null"
2693
+ "text": "string"
2617
2694
  },
2618
- "privacy": "private",
2619
- "inheritedFrom": {
2620
- "name": "Accordion",
2621
- "module": "src/accordion/accordion.ts"
2622
- }
2695
+ "default": "''"
2623
2696
  },
2624
2697
  {
2625
2698
  "kind": "field",
2626
- "name": "activeItemIndex",
2699
+ "name": "isInterpreting",
2627
2700
  "type": {
2628
- "text": "number"
2701
+ "text": "boolean"
2629
2702
  },
2630
- "privacy": "private",
2631
- "default": "0",
2632
- "inheritedFrom": {
2633
- "name": "Accordion",
2634
- "module": "src/accordion/accordion.ts"
2635
- }
2703
+ "default": "false"
2636
2704
  },
2637
2705
  {
2638
2706
  "kind": "field",
2639
- "name": "accordionIds",
2707
+ "name": "lastValidCriteria",
2640
2708
  "type": {
2641
- "text": "Array<string | null>"
2709
+ "text": "string | null"
2642
2710
  },
2643
- "privacy": "private",
2644
- "inheritedFrom": {
2645
- "name": "Accordion",
2646
- "module": "src/accordion/accordion.ts"
2647
- }
2711
+ "default": "null"
2648
2712
  },
2649
2713
  {
2650
2714
  "kind": "field",
2651
- "name": "change",
2652
- "privacy": "private",
2653
- "inheritedFrom": {
2654
- "name": "Accordion",
2655
- "module": "src/accordion/accordion.ts"
2656
- }
2715
+ "name": "activeGroups",
2716
+ "type": {
2717
+ "text": "CriteriaGroup[]"
2718
+ },
2719
+ "default": "[]"
2657
2720
  },
2658
2721
  {
2659
- "kind": "method",
2660
- "name": "findExpandedItem",
2661
- "privacy": "private",
2662
- "return": {
2663
- "type": {
2664
- "text": "AccordionItem | null"
2665
- }
2722
+ "kind": "field",
2723
+ "name": "showingChips",
2724
+ "type": {
2725
+ "text": "boolean"
2666
2726
  },
2667
- "inheritedFrom": {
2668
- "name": "Accordion",
2669
- "module": "src/accordion/accordion.ts"
2670
- }
2727
+ "default": "false"
2671
2728
  },
2672
2729
  {
2673
2730
  "kind": "field",
2674
- "name": "setItems",
2675
- "privacy": "private",
2676
- "inheritedFrom": {
2677
- "name": "Accordion",
2678
- "module": "src/accordion/accordion.ts"
2679
- }
2731
+ "name": "fieldMetadata",
2732
+ "type": {
2733
+ "text": "MetadataDetail[] | string[]"
2734
+ },
2735
+ "default": "[]"
2680
2736
  },
2681
2737
  {
2682
- "kind": "method",
2683
- "name": "resetItems",
2684
- "privacy": "private",
2685
- "return": {
2686
- "type": {
2687
- "text": "void"
2688
- }
2738
+ "kind": "field",
2739
+ "name": "isRecording",
2740
+ "type": {
2741
+ "text": "boolean"
2689
2742
  },
2690
- "inheritedFrom": {
2691
- "name": "Accordion",
2692
- "module": "src/accordion/accordion.ts"
2693
- }
2743
+ "default": "false"
2694
2744
  },
2695
2745
  {
2696
2746
  "kind": "field",
2697
- "name": "removeItemListeners",
2698
- "privacy": "private",
2699
- "inheritedFrom": {
2700
- "name": "Accordion",
2701
- "module": "src/accordion/accordion.ts"
2702
- }
2747
+ "name": "textAreaRef",
2748
+ "type": {
2749
+ "text": "HTMLTextAreaElement"
2750
+ },
2751
+ "privacy": "public"
2703
2752
  },
2704
2753
  {
2705
2754
  "kind": "field",
2706
- "name": "activeItemChange",
2755
+ "name": "stopRecording",
2756
+ "type": {
2757
+ "text": "(() => void) | null"
2758
+ },
2707
2759
  "privacy": "private",
2708
- "inheritedFrom": {
2709
- "name": "Accordion",
2710
- "module": "src/accordion/accordion.ts"
2711
- }
2760
+ "default": "null"
2712
2761
  },
2713
2762
  {
2714
- "kind": "method",
2715
- "name": "getItemIds",
2763
+ "kind": "field",
2764
+ "name": "speechApplyDebounceTimer",
2765
+ "type": {
2766
+ "text": "ReturnType<typeof setTimeout> | null"
2767
+ },
2716
2768
  "privacy": "private",
2717
- "return": {
2718
- "type": {
2719
- "text": "Array<string | null>"
2720
- }
2769
+ "default": "null"
2770
+ },
2771
+ {
2772
+ "kind": "field",
2773
+ "name": "speechAvailable",
2774
+ "type": {
2775
+ "text": "boolean"
2721
2776
  },
2722
- "inheritedFrom": {
2723
- "name": "Accordion",
2724
- "module": "src/accordion/accordion.ts"
2725
- }
2777
+ "readonly": true
2778
+ },
2779
+ {
2780
+ "kind": "field",
2781
+ "name": "criteriaChips",
2782
+ "type": {
2783
+ "text": "CriteriaChip[]"
2784
+ },
2785
+ "readonly": true
2726
2786
  },
2727
2787
  {
2728
2788
  "kind": "method",
2729
- "name": "isSingleExpandMode",
2789
+ "name": "getFieldLabel",
2730
2790
  "privacy": "private",
2731
2791
  "return": {
2732
2792
  "type": {
2733
- "text": "boolean"
2793
+ "text": "string"
2734
2794
  }
2735
2795
  },
2736
- "inheritedFrom": {
2737
- "name": "Accordion",
2738
- "module": "src/accordion/accordion.ts"
2739
- }
2740
- },
2741
- {
2742
- "kind": "field",
2743
- "name": "handleItemKeyDown",
2744
- "privacy": "private",
2745
- "inheritedFrom": {
2746
- "name": "Accordion",
2747
- "module": "src/accordion/accordion.ts"
2748
- }
2796
+ "parameters": [
2797
+ {
2798
+ "name": "fieldName",
2799
+ "type": {
2800
+ "text": "string"
2801
+ }
2802
+ }
2803
+ ]
2749
2804
  },
2750
2805
  {
2751
- "kind": "field",
2752
- "name": "handleItemFocus",
2753
- "privacy": "private",
2754
- "inheritedFrom": {
2755
- "name": "Accordion",
2756
- "module": "src/accordion/accordion.ts"
2806
+ "kind": "method",
2807
+ "name": "toggleCriteriaView",
2808
+ "return": {
2809
+ "type": {
2810
+ "text": "void"
2811
+ }
2757
2812
  }
2758
2813
  },
2759
2814
  {
2760
2815
  "kind": "method",
2761
- "name": "adjust",
2762
- "privacy": "private",
2816
+ "name": "removeChip",
2763
2817
  "return": {
2764
2818
  "type": {
2765
2819
  "text": "void"
@@ -2767,31 +2821,49 @@
2767
2821
  },
2768
2822
  "parameters": [
2769
2823
  {
2770
- "name": "adjustment",
2824
+ "name": "groupIndex",
2825
+ "type": {
2826
+ "text": "number"
2827
+ }
2828
+ },
2829
+ {
2830
+ "name": "clauseIndex",
2771
2831
  "type": {
2772
2832
  "text": "number"
2773
2833
  }
2774
2834
  }
2775
- ],
2776
- "inheritedFrom": {
2777
- "name": "Accordion",
2778
- "module": "src/accordion/accordion.ts"
2779
- }
2835
+ ]
2780
2836
  },
2781
2837
  {
2782
2838
  "kind": "method",
2783
- "name": "focusItem",
2784
- "privacy": "private",
2839
+ "name": "clearChips",
2785
2840
  "return": {
2786
2841
  "type": {
2787
2842
  "text": "void"
2788
2843
  }
2789
- },
2790
- "inheritedFrom": {
2791
- "name": "Accordion",
2792
- "module": "src/accordion/accordion.ts"
2793
2844
  }
2794
2845
  },
2846
+ {
2847
+ "kind": "method",
2848
+ "name": "handleSubmit"
2849
+ },
2850
+ {
2851
+ "kind": "method",
2852
+ "name": "handleBlur"
2853
+ },
2854
+ {
2855
+ "kind": "method",
2856
+ "name": "clear"
2857
+ },
2858
+ {
2859
+ "kind": "method",
2860
+ "name": "toggleSpeechInput"
2861
+ },
2862
+ {
2863
+ "kind": "method",
2864
+ "name": "clearSpeechApplyDebounce",
2865
+ "privacy": "private"
2866
+ },
2795
2867
  {
2796
2868
  "kind": "field",
2797
2869
  "name": "_presentation",
@@ -2906,26 +2978,48 @@
2906
2978
  ],
2907
2979
  "events": [
2908
2980
  {
2909
- "description": "Fires a custom 'change' event when the active item changes",
2910
- "name": "change",
2911
- "inheritedFrom": {
2912
- "name": "Accordion",
2913
- "module": "src/accordion/accordion.ts"
2914
- }
2981
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2982
+ "name": "criteria-changed"
2983
+ },
2984
+ {
2985
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2986
+ "name": "validation-errors"
2915
2987
  }
2916
- ]
2988
+ ],
2989
+ "attributes": [
2990
+ {
2991
+ "name": "placeholder",
2992
+ "type": {
2993
+ "text": "string"
2994
+ },
2995
+ "default": "'Describe your search criteria in natural language...'",
2996
+ "fieldName": "placeholder"
2997
+ },
2998
+ {
2999
+ "type": {
3000
+ "text": "boolean"
3001
+ },
3002
+ "fieldName": "disabled"
3003
+ }
3004
+ ],
3005
+ "superclass": {
3006
+ "name": "FoundationElement",
3007
+ "package": "@microsoft/fast-foundation"
3008
+ },
3009
+ "tagName": "%%prefix%%-ai-criteria-search",
3010
+ "customElement": true
2917
3011
  },
2918
3012
  {
2919
3013
  "kind": "variable",
2920
- "name": "foundationAccordionShadowOptions",
3014
+ "name": "foundationAiCriteriaSearchShadowOptions",
2921
3015
  "type": {
2922
3016
  "text": "ShadowRootInit"
2923
3017
  },
2924
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3018
+ "default": "undefined"
2925
3019
  },
2926
3020
  {
2927
3021
  "kind": "variable",
2928
- "name": "defaultAccordionConfig",
3022
+ "name": "defaultAiCriteriaSearchConfig",
2929
3023
  "type": {
2930
3024
  "text": "object"
2931
3025
  },
@@ -2933,188 +3027,298 @@
2933
3027
  },
2934
3028
  {
2935
3029
  "kind": "variable",
2936
- "name": "foundationAccordion",
2937
- "description": "The Foundation Accordion",
2938
- "privacy": "public"
3030
+ "name": "foundationAiCriteriaSearch"
2939
3031
  }
2940
3032
  ],
2941
3033
  "exports": [
2942
3034
  {
2943
3035
  "kind": "js",
2944
- "name": "Accordion",
3036
+ "name": "AiCriteriaSearch",
2945
3037
  "declaration": {
2946
- "name": "Accordion",
2947
- "module": "src/accordion/accordion.ts"
3038
+ "name": "AiCriteriaSearch",
3039
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2948
3040
  }
2949
3041
  },
2950
3042
  {
2951
3043
  "kind": "js",
2952
- "name": "foundationAccordionShadowOptions",
3044
+ "name": "foundationAiCriteriaSearchShadowOptions",
2953
3045
  "declaration": {
2954
- "name": "foundationAccordionShadowOptions",
2955
- "module": "src/accordion/accordion.ts"
3046
+ "name": "foundationAiCriteriaSearchShadowOptions",
3047
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2956
3048
  }
2957
3049
  },
2958
3050
  {
2959
3051
  "kind": "js",
2960
- "name": "defaultAccordionConfig",
3052
+ "name": "defaultAiCriteriaSearchConfig",
2961
3053
  "declaration": {
2962
- "name": "defaultAccordionConfig",
2963
- "module": "src/accordion/accordion.ts"
3054
+ "name": "defaultAiCriteriaSearchConfig",
3055
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2964
3056
  }
2965
3057
  },
2966
3058
  {
2967
3059
  "kind": "js",
2968
- "name": "foundationAccordion",
3060
+ "name": "foundationAiCriteriaSearch",
2969
3061
  "declaration": {
2970
- "name": "foundationAccordion",
2971
- "module": "src/accordion/accordion.ts"
3062
+ "name": "foundationAiCriteriaSearch",
3063
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2972
3064
  }
2973
3065
  }
2974
3066
  ]
2975
3067
  },
2976
3068
  {
2977
3069
  "kind": "javascript-module",
2978
- "path": "src/accordion/index.ts",
3070
+ "path": "src/ai-criteria-search/index.ts",
2979
3071
  "declarations": [],
2980
3072
  "exports": [
2981
3073
  {
2982
3074
  "kind": "js",
2983
- "name": "*",
3075
+ "name": "AiCriteriaSearch",
2984
3076
  "declaration": {
2985
- "name": "*",
2986
- "package": "./accordion.template"
3077
+ "name": "AiCriteriaSearch",
3078
+ "module": "./ai-criteria-search"
2987
3079
  }
2988
3080
  },
2989
3081
  {
2990
3082
  "kind": "js",
2991
- "name": "*",
3083
+ "name": "defaultAiCriteriaSearchConfig",
2992
3084
  "declaration": {
2993
- "name": "*",
2994
- "package": "./accordion.styles"
3085
+ "name": "defaultAiCriteriaSearchConfig",
3086
+ "module": "./ai-criteria-search"
2995
3087
  }
2996
3088
  },
2997
3089
  {
2998
3090
  "kind": "js",
2999
- "name": "*",
3091
+ "name": "foundationAiCriteriaSearch",
3000
3092
  "declaration": {
3001
- "name": "*",
3002
- "package": "./accordion"
3093
+ "name": "foundationAiCriteriaSearch",
3094
+ "module": "./ai-criteria-search"
3003
3095
  }
3004
- }
3005
- ]
3006
- },
3007
- {
3008
- "kind": "javascript-module",
3009
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3010
- "declarations": [
3096
+ },
3011
3097
  {
3012
- "kind": "variable",
3013
- "name": "foundationAiCriteriaSearchStyles",
3014
- "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`"
3015
- }
3016
- ],
3017
- "exports": [
3098
+ "kind": "js",
3099
+ "name": "foundationAiCriteriaSearchShadowOptions",
3100
+ "declaration": {
3101
+ "name": "foundationAiCriteriaSearchShadowOptions",
3102
+ "module": "./ai-criteria-search"
3103
+ }
3104
+ },
3018
3105
  {
3019
3106
  "kind": "js",
3020
3107
  "name": "foundationAiCriteriaSearchStyles",
3021
3108
  "declaration": {
3022
3109
  "name": "foundationAiCriteriaSearchStyles",
3023
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3110
+ "module": "./ai-criteria-search.styles"
3024
3111
  }
3025
- }
3026
- ]
3027
- },
3028
- {
3029
- "kind": "javascript-module",
3030
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3031
- "declarations": [
3032
- {
3033
- "kind": "variable",
3034
- "name": "foundationAiCriteriaSearchTemplate",
3035
- "type": {
3036
- "text": "ViewTemplate<AiCriteriaSearch>"
3037
- },
3038
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3039
- }
3040
- ],
3041
- "exports": [
3112
+ },
3042
3113
  {
3043
3114
  "kind": "js",
3044
3115
  "name": "foundationAiCriteriaSearchTemplate",
3045
3116
  "declaration": {
3046
3117
  "name": "foundationAiCriteriaSearchTemplate",
3047
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3118
+ "module": "./ai-criteria-search.template"
3048
3119
  }
3049
- }
3050
- ]
3051
- },
3052
- {
3053
- "kind": "javascript-module",
3054
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3055
- "declarations": [
3120
+ },
3056
3121
  {
3057
- "kind": "class",
3058
- "description": "Natural-language criteria search input with AI interpretation.",
3059
- "name": "AiCriteriaSearch",
3060
- "members": [
3122
+ "kind": "js",
3123
+ "name": "*",
3124
+ "declaration": {
3125
+ "name": "*",
3126
+ "package": "./validation/criteria-ir"
3127
+ }
3128
+ },
3129
+ {
3130
+ "kind": "js",
3131
+ "name": "*",
3132
+ "declaration": {
3133
+ "name": "*",
3134
+ "package": "./validation/operator-map"
3135
+ }
3136
+ },
3137
+ {
3138
+ "kind": "js",
3139
+ "name": "*",
3140
+ "declaration": {
3141
+ "name": "*",
3142
+ "package": "./validation/schema-validator"
3143
+ }
3144
+ }
3145
+ ]
3146
+ },
3147
+ {
3148
+ "kind": "javascript-module",
3149
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3150
+ "declarations": [
3151
+ {
3152
+ "kind": "function",
3153
+ "name": "formatValidationErrors",
3154
+ "return": {
3155
+ "type": {
3156
+ "text": "string"
3157
+ }
3158
+ },
3159
+ "parameters": [
3061
3160
  {
3062
- "kind": "field",
3063
- "name": "providerRegistry",
3161
+ "name": "errors",
3064
3162
  "type": {
3065
- "text": "AIProviderRegistry"
3163
+ "text": "ValidationError[]"
3066
3164
  }
3067
- },
3165
+ }
3166
+ ],
3167
+ "description": "Formats validation errors into a user-friendly message."
3168
+ },
3169
+ {
3170
+ "kind": "function",
3171
+ "name": "showCriteriaError",
3172
+ "return": {
3173
+ "type": {
3174
+ "text": "void"
3175
+ }
3176
+ },
3177
+ "parameters": [
3068
3178
  {
3069
- "kind": "field",
3070
- "name": "placeholder",
3179
+ "name": "title",
3071
3180
  "type": {
3072
3181
  "text": "string"
3073
3182
  },
3074
- "default": "'Describe your search criteria in natural language...'"
3183
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3075
3184
  },
3076
3185
  {
3077
- "kind": "field",
3078
- "name": "disabled",
3186
+ "name": "body",
3079
3187
  "type": {
3080
- "text": "boolean"
3081
- }
3188
+ "text": "string"
3189
+ },
3190
+ "description": "Error message to display"
3082
3191
  },
3083
3192
  {
3084
- "kind": "field",
3085
- "name": "inputValue",
3193
+ "name": "tagName",
3086
3194
  "type": {
3087
3195
  "text": "string"
3088
3196
  },
3089
- "default": "''"
3197
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3198
+ }
3199
+ ],
3200
+ "description": "Shows a criteria error as a toast notification."
3201
+ }
3202
+ ],
3203
+ "exports": [
3204
+ {
3205
+ "kind": "js",
3206
+ "name": "formatValidationErrors",
3207
+ "declaration": {
3208
+ "name": "formatValidationErrors",
3209
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3210
+ }
3211
+ },
3212
+ {
3213
+ "kind": "js",
3214
+ "name": "showCriteriaError",
3215
+ "declaration": {
3216
+ "name": "showCriteriaError",
3217
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3218
+ }
3219
+ }
3220
+ ]
3221
+ },
3222
+ {
3223
+ "kind": "javascript-module",
3224
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3225
+ "declarations": [
3226
+ {
3227
+ "kind": "function",
3228
+ "name": "foundationAiIndicatorStyles",
3229
+ "return": {
3230
+ "type": {
3231
+ "text": "ElementStyles"
3232
+ }
3233
+ },
3234
+ "parameters": [
3235
+ {
3236
+ "name": "context",
3237
+ "type": {
3238
+ "text": "ElementDefinitionContext"
3239
+ }
3090
3240
  },
3241
+ {
3242
+ "name": "definition",
3243
+ "type": {
3244
+ "text": "FoundationElementDefinition"
3245
+ }
3246
+ }
3247
+ ]
3248
+ }
3249
+ ],
3250
+ "exports": [
3251
+ {
3252
+ "kind": "js",
3253
+ "name": "foundationAiIndicatorStyles",
3254
+ "declaration": {
3255
+ "name": "foundationAiIndicatorStyles",
3256
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3257
+ }
3258
+ }
3259
+ ]
3260
+ },
3261
+ {
3262
+ "kind": "javascript-module",
3263
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3264
+ "declarations": [
3265
+ {
3266
+ "kind": "variable",
3267
+ "name": "foundationAiIndicatorTemplate",
3268
+ "type": {
3269
+ "text": "ViewTemplate<AiIndicator>"
3270
+ },
3271
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3272
+ }
3273
+ ],
3274
+ "exports": [
3275
+ {
3276
+ "kind": "js",
3277
+ "name": "foundationAiIndicatorTemplate",
3278
+ "declaration": {
3279
+ "name": "foundationAiIndicatorTemplate",
3280
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3281
+ }
3282
+ }
3283
+ ]
3284
+ },
3285
+ {
3286
+ "kind": "javascript-module",
3287
+ "path": "src/ai-indicator/ai-indicator.ts",
3288
+ "declarations": [
3289
+ {
3290
+ "kind": "class",
3291
+ "description": "",
3292
+ "name": "AiIndicator",
3293
+ "members": [
3091
3294
  {
3092
3295
  "kind": "field",
3093
- "name": "isInterpreting",
3296
+ "name": "providerRegistry",
3094
3297
  "type": {
3095
- "text": "boolean"
3096
- },
3097
- "default": "false"
3298
+ "text": "AIProviderRegistry"
3299
+ }
3098
3300
  },
3099
3301
  {
3100
3302
  "kind": "field",
3101
- "name": "lastValidCriteria",
3303
+ "name": "aiProvider",
3102
3304
  "type": {
3103
- "text": "string | null"
3305
+ "text": "AIProvider | undefined"
3104
3306
  },
3105
- "default": "null"
3307
+ "privacy": "private",
3308
+ "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.",
3309
+ "readonly": true
3106
3310
  },
3107
3311
  {
3108
3312
  "kind": "field",
3109
- "name": "activeGroups",
3313
+ "name": "status",
3110
3314
  "type": {
3111
- "text": "CriteriaGroup[]"
3315
+ "text": "AIStatus | null"
3112
3316
  },
3113
- "default": "[]"
3317
+ "default": "null"
3114
3318
  },
3115
3319
  {
3116
3320
  "kind": "field",
3117
- "name": "showingChips",
3321
+ "name": "open",
3118
3322
  "type": {
3119
3323
  "text": "boolean"
3120
3324
  },
@@ -3122,15 +3326,15 @@
3122
3326
  },
3123
3327
  {
3124
3328
  "kind": "field",
3125
- "name": "fieldMetadata",
3329
+ "name": "state",
3126
3330
  "type": {
3127
- "text": "MetadataDetail[] | string[]"
3331
+ "text": "AIIndicatorState"
3128
3332
  },
3129
- "default": "[]"
3333
+ "default": "'none'"
3130
3334
  },
3131
3335
  {
3132
3336
  "kind": "field",
3133
- "name": "isRecording",
3337
+ "name": "isInstalling",
3134
3338
  "type": {
3135
3339
  "text": "boolean"
3136
3340
  },
@@ -3138,33 +3342,29 @@
3138
3342
  },
3139
3343
  {
3140
3344
  "kind": "field",
3141
- "name": "textAreaRef",
3345
+ "name": "pollTimer",
3142
3346
  "type": {
3143
- "text": "HTMLTextAreaElement"
3347
+ "text": "ReturnType<typeof setInterval> | null"
3144
3348
  },
3145
- "privacy": "public"
3349
+ "privacy": "private",
3350
+ "default": "null"
3146
3351
  },
3147
3352
  {
3148
3353
  "kind": "field",
3149
- "name": "stopRecording",
3150
- "type": {
3151
- "text": "(() => void) | null"
3152
- },
3153
- "privacy": "private",
3154
- "default": "null"
3354
+ "name": "clickOutside",
3355
+ "privacy": "private"
3155
3356
  },
3156
3357
  {
3157
3358
  "kind": "field",
3158
- "name": "speechApplyDebounceTimer",
3359
+ "name": "chromeStatusLabel",
3159
3360
  "type": {
3160
- "text": "ReturnType<typeof setTimeout> | null"
3361
+ "text": "string | null"
3161
3362
  },
3162
- "privacy": "private",
3163
- "default": "null"
3363
+ "readonly": true
3164
3364
  },
3165
3365
  {
3166
3366
  "kind": "field",
3167
- "name": "speechAvailable",
3367
+ "name": "canInstall",
3168
3368
  "type": {
3169
3369
  "text": "boolean"
3170
3370
  },
@@ -3172,65 +3372,69 @@
3172
3372
  },
3173
3373
  {
3174
3374
  "kind": "field",
3175
- "name": "criteriaChips",
3375
+ "name": "isDownloading",
3176
3376
  "type": {
3177
- "text": "CriteriaChip[]"
3377
+ "text": "boolean"
3178
3378
  },
3179
3379
  "readonly": true
3180
3380
  },
3181
3381
  {
3182
3382
  "kind": "method",
3183
- "name": "getFieldLabel",
3184
- "privacy": "private",
3383
+ "name": "openChanged",
3185
3384
  "return": {
3186
3385
  "type": {
3187
- "text": "string"
3386
+ "text": "void"
3188
3387
  }
3189
- },
3388
+ }
3389
+ },
3390
+ {
3391
+ "kind": "method",
3392
+ "name": "handleClickOutside",
3393
+ "privacy": "private",
3190
3394
  "parameters": [
3191
3395
  {
3192
- "name": "fieldName",
3396
+ "name": "event",
3193
3397
  "type": {
3194
- "text": "string"
3398
+ "text": "MouseEvent"
3195
3399
  }
3196
3400
  }
3197
3401
  ]
3198
3402
  },
3199
3403
  {
3200
3404
  "kind": "method",
3201
- "name": "toggleCriteriaView",
3405
+ "name": "toggleDropdown"
3406
+ },
3407
+ {
3408
+ "kind": "method",
3409
+ "name": "refreshStatus",
3202
3410
  "return": {
3203
3411
  "type": {
3204
- "text": "void"
3412
+ "text": "Promise<void>"
3205
3413
  }
3206
3414
  }
3207
3415
  },
3208
3416
  {
3209
3417
  "kind": "method",
3210
- "name": "removeChip",
3418
+ "name": "deriveState",
3419
+ "privacy": "private",
3211
3420
  "return": {
3212
3421
  "type": {
3213
- "text": "void"
3422
+ "text": "AIIndicatorState"
3214
3423
  }
3215
3424
  },
3216
3425
  "parameters": [
3217
3426
  {
3218
- "name": "groupIndex",
3219
- "type": {
3220
- "text": "number"
3221
- }
3222
- },
3223
- {
3224
- "name": "clauseIndex",
3427
+ "name": "s",
3225
3428
  "type": {
3226
- "text": "number"
3429
+ "text": "AIStatus | null"
3227
3430
  }
3228
3431
  }
3229
3432
  ]
3230
3433
  },
3231
3434
  {
3232
3435
  "kind": "method",
3233
- "name": "clearChips",
3436
+ "name": "maybeStartPolling",
3437
+ "privacy": "private",
3234
3438
  "return": {
3235
3439
  "type": {
3236
3440
  "text": "void"
@@ -3239,24 +3443,32 @@
3239
3443
  },
3240
3444
  {
3241
3445
  "kind": "method",
3242
- "name": "handleSubmit"
3243
- },
3244
- {
3245
- "kind": "method",
3246
- "name": "handleBlur"
3247
- },
3248
- {
3249
- "kind": "method",
3250
- "name": "clear"
3446
+ "name": "startPolling",
3447
+ "privacy": "private",
3448
+ "return": {
3449
+ "type": {
3450
+ "text": "void"
3451
+ }
3452
+ }
3251
3453
  },
3252
3454
  {
3253
3455
  "kind": "method",
3254
- "name": "toggleSpeechInput"
3456
+ "name": "stopPolling",
3457
+ "privacy": "private",
3458
+ "return": {
3459
+ "type": {
3460
+ "text": "void"
3461
+ }
3462
+ }
3255
3463
  },
3256
3464
  {
3257
3465
  "kind": "method",
3258
- "name": "clearSpeechApplyDebounce",
3259
- "privacy": "private"
3466
+ "name": "onInstall",
3467
+ "return": {
3468
+ "type": {
3469
+ "text": "Promise<void>"
3470
+ }
3471
+ }
3260
3472
  },
3261
3473
  {
3262
3474
  "kind": "field",
@@ -3366,263 +3578,145 @@
3366
3578
  "description": "Defines an element registry function with a set of element definition defaults.",
3367
3579
  "inheritedFrom": {
3368
3580
  "name": "FoundationElement",
3369
- "module": "src/foundation-element/foundation-element.ts"
3370
- }
3371
- }
3372
- ],
3373
- "events": [
3374
- {
3375
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3376
- "name": "criteria-changed"
3377
- },
3378
- {
3379
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3380
- "name": "validation-errors"
3381
- }
3382
- ],
3383
- "attributes": [
3384
- {
3385
- "name": "placeholder",
3386
- "type": {
3387
- "text": "string"
3388
- },
3389
- "default": "'Describe your search criteria in natural language...'",
3390
- "fieldName": "placeholder"
3391
- },
3392
- {
3393
- "type": {
3394
- "text": "boolean"
3395
- },
3396
- "fieldName": "disabled"
3397
- }
3398
- ],
3399
- "superclass": {
3400
- "name": "FoundationElement",
3401
- "package": "@microsoft/fast-foundation"
3402
- },
3403
- "tagName": "%%prefix%%-ai-criteria-search",
3404
- "customElement": true
3405
- },
3406
- {
3407
- "kind": "variable",
3408
- "name": "foundationAiCriteriaSearchShadowOptions",
3409
- "type": {
3410
- "text": "ShadowRootInit"
3411
- },
3412
- "default": "undefined"
3413
- },
3414
- {
3415
- "kind": "variable",
3416
- "name": "defaultAiCriteriaSearchConfig",
3417
- "type": {
3418
- "text": "object"
3581
+ "module": "src/foundation-element/foundation-element.ts"
3582
+ }
3583
+ }
3584
+ ],
3585
+ "superclass": {
3586
+ "name": "FoundationElement",
3587
+ "package": "@microsoft/fast-foundation"
3419
3588
  },
3420
- "default": "{}"
3589
+ "tagName": "%%prefix%%-ai-indicator",
3590
+ "customElement": true
3421
3591
  },
3422
3592
  {
3423
3593
  "kind": "variable",
3424
- "name": "foundationAiCriteriaSearch"
3594
+ "name": "foundationAiIndicator"
3425
3595
  }
3426
3596
  ],
3427
3597
  "exports": [
3428
3598
  {
3429
3599
  "kind": "js",
3430
- "name": "AiCriteriaSearch",
3431
- "declaration": {
3432
- "name": "AiCriteriaSearch",
3433
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3434
- }
3435
- },
3436
- {
3437
- "kind": "js",
3438
- "name": "foundationAiCriteriaSearchShadowOptions",
3439
- "declaration": {
3440
- "name": "foundationAiCriteriaSearchShadowOptions",
3441
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3442
- }
3443
- },
3444
- {
3445
- "kind": "js",
3446
- "name": "defaultAiCriteriaSearchConfig",
3600
+ "name": "AiIndicator",
3447
3601
  "declaration": {
3448
- "name": "defaultAiCriteriaSearchConfig",
3449
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3602
+ "name": "AiIndicator",
3603
+ "module": "src/ai-indicator/ai-indicator.ts"
3450
3604
  }
3451
3605
  },
3452
3606
  {
3453
3607
  "kind": "js",
3454
- "name": "foundationAiCriteriaSearch",
3608
+ "name": "foundationAiIndicator",
3455
3609
  "declaration": {
3456
- "name": "foundationAiCriteriaSearch",
3457
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3610
+ "name": "foundationAiIndicator",
3611
+ "module": "src/ai-indicator/ai-indicator.ts"
3458
3612
  }
3459
3613
  }
3460
3614
  ]
3461
3615
  },
3462
3616
  {
3463
3617
  "kind": "javascript-module",
3464
- "path": "src/ai-criteria-search/index.ts",
3618
+ "path": "src/ai-indicator/index.ts",
3465
3619
  "declarations": [],
3466
3620
  "exports": [
3467
3621
  {
3468
3622
  "kind": "js",
3469
- "name": "AiCriteriaSearch",
3470
- "declaration": {
3471
- "name": "AiCriteriaSearch",
3472
- "module": "./ai-criteria-search"
3473
- }
3474
- },
3475
- {
3476
- "kind": "js",
3477
- "name": "defaultAiCriteriaSearchConfig",
3478
- "declaration": {
3479
- "name": "defaultAiCriteriaSearchConfig",
3480
- "module": "./ai-criteria-search"
3481
- }
3482
- },
3483
- {
3484
- "kind": "js",
3485
- "name": "foundationAiCriteriaSearch",
3486
- "declaration": {
3487
- "name": "foundationAiCriteriaSearch",
3488
- "module": "./ai-criteria-search"
3489
- }
3490
- },
3491
- {
3492
- "kind": "js",
3493
- "name": "foundationAiCriteriaSearchShadowOptions",
3623
+ "name": "AiIndicator",
3494
3624
  "declaration": {
3495
- "name": "foundationAiCriteriaSearchShadowOptions",
3496
- "module": "./ai-criteria-search"
3625
+ "name": "AiIndicator",
3626
+ "module": "./ai-indicator"
3497
3627
  }
3498
3628
  },
3499
3629
  {
3500
3630
  "kind": "js",
3501
- "name": "foundationAiCriteriaSearchStyles",
3631
+ "name": "foundationAiIndicator",
3502
3632
  "declaration": {
3503
- "name": "foundationAiCriteriaSearchStyles",
3504
- "module": "./ai-criteria-search.styles"
3633
+ "name": "foundationAiIndicator",
3634
+ "module": "./ai-indicator"
3505
3635
  }
3506
3636
  },
3507
3637
  {
3508
3638
  "kind": "js",
3509
- "name": "foundationAiCriteriaSearchTemplate",
3639
+ "name": "type",
3510
3640
  "declaration": {
3511
- "name": "foundationAiCriteriaSearchTemplate",
3512
- "module": "./ai-criteria-search.template"
3641
+ "name": "type",
3642
+ "module": "./ai-indicator"
3513
3643
  }
3514
3644
  },
3515
3645
  {
3516
3646
  "kind": "js",
3517
- "name": "*",
3647
+ "name": "AIIndicatorState",
3518
3648
  "declaration": {
3519
- "name": "*",
3520
- "package": "./validation/criteria-ir"
3649
+ "name": "AIIndicatorState",
3650
+ "module": "./ai-indicator"
3521
3651
  }
3522
3652
  },
3523
3653
  {
3524
3654
  "kind": "js",
3525
- "name": "*",
3655
+ "name": "foundationAiIndicatorTemplate",
3526
3656
  "declaration": {
3527
- "name": "*",
3528
- "package": "./validation/operator-map"
3657
+ "name": "foundationAiIndicatorTemplate",
3658
+ "module": "./ai-indicator.template"
3529
3659
  }
3530
3660
  },
3531
3661
  {
3532
3662
  "kind": "js",
3533
- "name": "*",
3663
+ "name": "foundationAiIndicatorStyles",
3534
3664
  "declaration": {
3535
- "name": "*",
3536
- "package": "./validation/schema-validator"
3665
+ "name": "foundationAiIndicatorStyles",
3666
+ "module": "./ai-indicator.styles"
3537
3667
  }
3538
3668
  }
3539
3669
  ]
3540
3670
  },
3541
3671
  {
3542
3672
  "kind": "javascript-module",
3543
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3673
+ "path": "src/accordion-item/accordion-item.styles.ts",
3544
3674
  "declarations": [
3545
3675
  {
3546
3676
  "kind": "function",
3547
- "name": "formatValidationErrors",
3677
+ "name": "foundationAccordionItemStyles",
3548
3678
  "return": {
3549
3679
  "type": {
3550
- "text": "string"
3680
+ "text": "ElementStyles"
3551
3681
  }
3552
3682
  },
3553
3683
  "parameters": [
3554
3684
  {
3555
- "name": "errors",
3685
+ "name": "context",
3556
3686
  "type": {
3557
- "text": "ValidationError[]"
3687
+ "text": "ElementDefinitionContext"
3558
3688
  }
3559
- }
3560
- ],
3561
- "description": "Formats validation errors into a user-friendly message."
3562
- },
3563
- {
3564
- "kind": "function",
3565
- "name": "showCriteriaError",
3566
- "return": {
3567
- "type": {
3568
- "text": "void"
3569
- }
3570
- },
3571
- "parameters": [
3572
- {
3573
- "name": "title",
3574
- "type": {
3575
- "text": "string"
3576
- },
3577
- "description": "Notification title (e.g. \"Criteria validation error\")"
3578
- },
3579
- {
3580
- "name": "body",
3581
- "type": {
3582
- "text": "string"
3583
- },
3584
- "description": "Error message to display"
3585
3689
  },
3586
3690
  {
3587
- "name": "tagName",
3691
+ "name": "definition",
3588
3692
  "type": {
3589
- "text": "string"
3590
- },
3591
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3693
+ "text": "FoundationElementDefinition"
3694
+ }
3592
3695
  }
3593
- ],
3594
- "description": "Shows a criteria error as a toast notification."
3696
+ ]
3595
3697
  }
3596
3698
  ],
3597
3699
  "exports": [
3598
3700
  {
3599
3701
  "kind": "js",
3600
- "name": "formatValidationErrors",
3601
- "declaration": {
3602
- "name": "formatValidationErrors",
3603
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3604
- }
3605
- },
3606
- {
3607
- "kind": "js",
3608
- "name": "showCriteriaError",
3702
+ "name": "foundationAccordionItemStyles",
3609
3703
  "declaration": {
3610
- "name": "showCriteriaError",
3611
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3704
+ "name": "foundationAccordionItemStyles",
3705
+ "module": "src/accordion-item/accordion-item.styles.ts"
3612
3706
  }
3613
3707
  }
3614
3708
  ]
3615
3709
  },
3616
3710
  {
3617
3711
  "kind": "javascript-module",
3618
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3712
+ "path": "src/accordion-item/accordion-item.template.ts",
3619
3713
  "declarations": [
3620
3714
  {
3621
3715
  "kind": "function",
3622
- "name": "foundationAiIndicatorStyles",
3716
+ "name": "foundationAccordionItemTemplate",
3623
3717
  "return": {
3624
3718
  "type": {
3625
- "text": "ElementStyles"
3719
+ "text": "ViewTemplate<AccordionItem>"
3626
3720
  }
3627
3721
  },
3628
3722
  "parameters": [
@@ -3644,224 +3738,116 @@
3644
3738
  "exports": [
3645
3739
  {
3646
3740
  "kind": "js",
3647
- "name": "foundationAiIndicatorStyles",
3648
- "declaration": {
3649
- "name": "foundationAiIndicatorStyles",
3650
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3651
- }
3652
- }
3653
- ]
3654
- },
3655
- {
3656
- "kind": "javascript-module",
3657
- "path": "src/ai-indicator/ai-indicator.template.ts",
3658
- "declarations": [
3659
- {
3660
- "kind": "variable",
3661
- "name": "foundationAiIndicatorTemplate",
3662
- "type": {
3663
- "text": "ViewTemplate<AiIndicator>"
3664
- },
3665
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3666
- }
3667
- ],
3668
- "exports": [
3669
- {
3670
- "kind": "js",
3671
- "name": "foundationAiIndicatorTemplate",
3741
+ "name": "foundationAccordionItemTemplate",
3672
3742
  "declaration": {
3673
- "name": "foundationAiIndicatorTemplate",
3674
- "module": "src/ai-indicator/ai-indicator.template.ts"
3743
+ "name": "foundationAccordionItemTemplate",
3744
+ "module": "src/accordion-item/accordion-item.template.ts"
3675
3745
  }
3676
3746
  }
3677
3747
  ]
3678
3748
  },
3679
3749
  {
3680
3750
  "kind": "javascript-module",
3681
- "path": "src/ai-indicator/ai-indicator.ts",
3751
+ "path": "src/accordion-item/accordion-item.ts",
3682
3752
  "declarations": [
3683
3753
  {
3684
3754
  "kind": "class",
3685
3755
  "description": "",
3686
- "name": "AiIndicator",
3687
- "members": [
3688
- {
3689
- "kind": "field",
3690
- "name": "providerRegistry",
3691
- "type": {
3692
- "text": "AIProviderRegistry"
3693
- }
3694
- },
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",
3716
- "type": {
3717
- "text": "boolean"
3718
- },
3719
- "default": "false"
3720
- },
3756
+ "name": "AccordionItem",
3757
+ "superclass": {
3758
+ "name": "FASTAccordionItem",
3759
+ "package": "@microsoft/fast-components"
3760
+ },
3761
+ "tagName": "%%prefix%%-accordion-item",
3762
+ "customElement": true,
3763
+ "attributes": [
3721
3764
  {
3722
- "kind": "field",
3723
- "name": "state",
3765
+ "name": "heading-level",
3724
3766
  "type": {
3725
- "text": "AIIndicatorState"
3767
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3726
3768
  },
3727
- "default": "'none'"
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"
3775
+ }
3728
3776
  },
3729
3777
  {
3730
- "kind": "field",
3731
- "name": "isInstalling",
3732
3778
  "type": {
3733
3779
  "text": "boolean"
3734
3780
  },
3735
- "default": "false"
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
+ }
3736
3788
  },
3737
3789
  {
3738
- "kind": "field",
3739
- "name": "pollTimer",
3790
+ "name": "id",
3740
3791
  "type": {
3741
- "text": "ReturnType<typeof setInterval> | null"
3792
+ "text": "string"
3742
3793
  },
3743
- "privacy": "private",
3744
- "default": "null"
3745
- },
3746
- {
3747
- "kind": "field",
3748
- "name": "clickOutside",
3749
- "privacy": "private"
3750
- },
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": [
3751
3803
  {
3752
3804
  "kind": "field",
3753
- "name": "chromeStatusLabel",
3805
+ "name": "headinglevel",
3754
3806
  "type": {
3755
- "text": "string | null"
3807
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3756
3808
  },
3757
- "readonly": true
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
+ }
3758
3816
  },
3759
3817
  {
3760
3818
  "kind": "field",
3761
- "name": "canInstall",
3819
+ "name": "expanded",
3762
3820
  "type": {
3763
3821
  "text": "boolean"
3764
3822
  },
3765
- "readonly": true
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
+ }
3766
3830
  },
3767
3831
  {
3768
3832
  "kind": "field",
3769
- "name": "isDownloading",
3833
+ "name": "id",
3770
3834
  "type": {
3771
- "text": "boolean"
3772
- },
3773
- "readonly": true
3774
- },
3775
- {
3776
- "kind": "method",
3777
- "name": "openChanged",
3778
- "return": {
3779
- "type": {
3780
- "text": "void"
3781
- }
3782
- }
3783
- },
3784
- {
3785
- "kind": "method",
3786
- "name": "handleClickOutside",
3787
- "privacy": "private",
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
- }
3835
+ "text": "string"
3818
3836
  },
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
- }
3837
+ "privacy": "public",
3838
+ "description": "The item ID",
3839
+ "inheritedFrom": {
3840
+ "name": "AccordionItem",
3841
+ "module": "src/accordion-item/accordion-item.ts"
3846
3842
  }
3847
3843
  },
3848
3844
  {
3849
- "kind": "method",
3850
- "name": "stopPolling",
3845
+ "kind": "field",
3846
+ "name": "change",
3851
3847
  "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
- }
3848
+ "inheritedFrom": {
3849
+ "name": "AccordionItem",
3850
+ "module": "src/accordion-item/accordion-item.ts"
3865
3851
  }
3866
3852
  },
3867
3853
  {
@@ -3976,88 +3962,102 @@
3976
3962
  }
3977
3963
  }
3978
3964
  ],
3979
- "superclass": {
3980
- "name": "FoundationElement",
3981
- "package": "@microsoft/fast-foundation"
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"
3982
3981
  },
3983
- "tagName": "%%prefix%%-ai-indicator",
3984
- "customElement": true
3982
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3985
3983
  },
3986
3984
  {
3987
3985
  "kind": "variable",
3988
- "name": "foundationAiIndicator"
3986
+ "name": "defaultAccordionItemConfig",
3987
+ "type": {
3988
+ "text": "object"
3989
+ },
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}"
3991
+ },
3992
+ {
3993
+ "kind": "variable",
3994
+ "name": "foundationAccordionItem",
3995
+ "description": "The Foundation Accordion Item",
3996
+ "privacy": "public"
3989
3997
  }
3990
3998
  ],
3991
3999
  "exports": [
3992
4000
  {
3993
4001
  "kind": "js",
3994
- "name": "AiIndicator",
4002
+ "name": "AccordionItem",
3995
4003
  "declaration": {
3996
- "name": "AiIndicator",
3997
- "module": "src/ai-indicator/ai-indicator.ts"
4004
+ "name": "AccordionItem",
4005
+ "module": "src/accordion-item/accordion-item.ts"
3998
4006
  }
3999
4007
  },
4000
4008
  {
4001
4009
  "kind": "js",
4002
- "name": "foundationAiIndicator",
4003
- "declaration": {
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",
4010
+ "name": "foundationAccordionItemShadowOptions",
4018
4011
  "declaration": {
4019
- "name": "AiIndicator",
4020
- "module": "./ai-indicator"
4012
+ "name": "foundationAccordionItemShadowOptions",
4013
+ "module": "src/accordion-item/accordion-item.ts"
4021
4014
  }
4022
4015
  },
4023
4016
  {
4024
4017
  "kind": "js",
4025
- "name": "foundationAiIndicator",
4018
+ "name": "defaultAccordionItemConfig",
4026
4019
  "declaration": {
4027
- "name": "foundationAiIndicator",
4028
- "module": "./ai-indicator"
4020
+ "name": "defaultAccordionItemConfig",
4021
+ "module": "src/accordion-item/accordion-item.ts"
4029
4022
  }
4030
4023
  },
4031
4024
  {
4032
4025
  "kind": "js",
4033
- "name": "type",
4026
+ "name": "foundationAccordionItem",
4034
4027
  "declaration": {
4035
- "name": "type",
4036
- "module": "./ai-indicator"
4028
+ "name": "foundationAccordionItem",
4029
+ "module": "src/accordion-item/accordion-item.ts"
4037
4030
  }
4038
- },
4031
+ }
4032
+ ]
4033
+ },
4034
+ {
4035
+ "kind": "javascript-module",
4036
+ "path": "src/accordion-item/index.ts",
4037
+ "declarations": [],
4038
+ "exports": [
4039
4039
  {
4040
4040
  "kind": "js",
4041
- "name": "AIIndicatorState",
4041
+ "name": "*",
4042
4042
  "declaration": {
4043
- "name": "AIIndicatorState",
4044
- "module": "./ai-indicator"
4043
+ "name": "*",
4044
+ "package": "./accordion-item.template"
4045
4045
  }
4046
4046
  },
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "foundationAiIndicatorTemplate",
4049
+ "name": "*",
4050
4050
  "declaration": {
4051
- "name": "foundationAiIndicatorTemplate",
4052
- "module": "./ai-indicator.template"
4051
+ "name": "*",
4052
+ "package": "./accordion-item.styles"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "foundationAiIndicatorStyles",
4057
+ "name": "*",
4058
4058
  "declaration": {
4059
- "name": "foundationAiIndicatorStyles",
4060
- "module": "./ai-indicator.styles"
4059
+ "name": "*",
4060
+ "package": "./accordion-item"
4061
4061
  }
4062
4062
  }
4063
4063
  ]