@genesislcap/foundation-ui 15.85.1 → 15.86.0

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