@genesislcap/foundation-ui 14.451.3 → 14.451.5-alpha-a976431.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.
@@ -1400,11 +1400,11 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/accordion-item/accordion-item.styles.ts",
1403
+ "path": "src/accordion/accordion.styles.ts",
1404
1404
  "declarations": [
1405
1405
  {
1406
1406
  "kind": "function",
1407
- "name": "foundationAccordionItemStyles",
1407
+ "name": "foundationAccordionStyles",
1408
1408
  "return": {
1409
1409
  "type": {
1410
1410
  "text": "ElementStyles"
@@ -1429,24 +1429,24 @@
1429
1429
  "exports": [
1430
1430
  {
1431
1431
  "kind": "js",
1432
- "name": "foundationAccordionItemStyles",
1432
+ "name": "foundationAccordionStyles",
1433
1433
  "declaration": {
1434
- "name": "foundationAccordionItemStyles",
1435
- "module": "src/accordion-item/accordion-item.styles.ts"
1434
+ "name": "foundationAccordionStyles",
1435
+ "module": "src/accordion/accordion.styles.ts"
1436
1436
  }
1437
1437
  }
1438
1438
  ]
1439
1439
  },
1440
1440
  {
1441
1441
  "kind": "javascript-module",
1442
- "path": "src/accordion-item/accordion-item.template.ts",
1442
+ "path": "src/accordion/accordion.template.ts",
1443
1443
  "declarations": [
1444
1444
  {
1445
1445
  "kind": "function",
1446
- "name": "foundationAccordionItemTemplate",
1446
+ "name": "foundationAccordionTemplate",
1447
1447
  "return": {
1448
1448
  "type": {
1449
- "text": "ViewTemplate<AccordionItem>"
1449
+ "text": "ViewTemplate<Accordion>"
1450
1450
  }
1451
1451
  },
1452
1452
  "parameters": [
@@ -1468,116 +1468,237 @@
1468
1468
  "exports": [
1469
1469
  {
1470
1470
  "kind": "js",
1471
- "name": "foundationAccordionItemTemplate",
1471
+ "name": "foundationAccordionTemplate",
1472
1472
  "declaration": {
1473
- "name": "foundationAccordionItemTemplate",
1474
- "module": "src/accordion-item/accordion-item.template.ts"
1473
+ "name": "foundationAccordionTemplate",
1474
+ "module": "src/accordion/accordion.template.ts"
1475
1475
  }
1476
1476
  }
1477
1477
  ]
1478
1478
  },
1479
1479
  {
1480
1480
  "kind": "javascript-module",
1481
- "path": "src/accordion-item/accordion-item.ts",
1481
+ "path": "src/accordion/accordion.ts",
1482
1482
  "declarations": [
1483
1483
  {
1484
1484
  "kind": "class",
1485
1485
  "description": "",
1486
- "name": "AccordionItem",
1486
+ "name": "Accordion",
1487
1487
  "superclass": {
1488
- "name": "FASTAccordionItem",
1489
- "package": "@microsoft/fast-components"
1488
+ "name": "FASTAccordion",
1489
+ "package": "@microsoft/fast-foundation"
1490
1490
  },
1491
- "tagName": "%%prefix%%-accordion-item",
1491
+ "tagName": "%%prefix%%-accordion",
1492
1492
  "customElement": true,
1493
1493
  "attributes": [
1494
1494
  {
1495
- "name": "heading-level",
1495
+ "name": "expand-mode",
1496
1496
  "type": {
1497
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1497
+ "text": "AccordionExpandMode"
1498
1498
  },
1499
- "default": "2",
1500
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1501
- "fieldName": "headinglevel",
1499
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1500
+ "fieldName": "expandmode",
1502
1501
  "inheritedFrom": {
1503
- "name": "AccordionItem",
1504
- "module": "src/accordion-item/accordion-item.ts"
1502
+ "name": "Accordion",
1503
+ "module": "src/accordion/accordion.ts"
1505
1504
  }
1506
- },
1505
+ }
1506
+ ],
1507
+ "members": [
1507
1508
  {
1509
+ "kind": "field",
1510
+ "name": "expandmode",
1508
1511
  "type": {
1509
- "text": "boolean"
1512
+ "text": "AccordionExpandMode"
1510
1513
  },
1511
- "default": "false",
1512
- "description": "Expands or collapses the item.",
1513
- "fieldName": "expanded",
1514
+ "privacy": "public",
1515
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1514
1516
  "inheritedFrom": {
1515
- "name": "AccordionItem",
1516
- "module": "src/accordion-item/accordion-item.ts"
1517
+ "name": "Accordion",
1518
+ "module": "src/accordion/accordion.ts"
1517
1519
  }
1518
1520
  },
1519
1521
  {
1520
- "name": "id",
1522
+ "kind": "field",
1523
+ "name": "activeid",
1521
1524
  "type": {
1522
- "text": "string"
1525
+ "text": "string | null"
1523
1526
  },
1524
- "description": "The item ID",
1525
- "fieldName": "id",
1527
+ "privacy": "private",
1526
1528
  "inheritedFrom": {
1527
- "name": "AccordionItem",
1528
- "module": "src/accordion-item/accordion-item.ts"
1529
+ "name": "Accordion",
1530
+ "module": "src/accordion/accordion.ts"
1529
1531
  }
1530
- }
1531
- ],
1532
- "members": [
1532
+ },
1533
1533
  {
1534
1534
  "kind": "field",
1535
- "name": "headinglevel",
1535
+ "name": "activeItemIndex",
1536
1536
  "type": {
1537
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1537
+ "text": "number"
1538
1538
  },
1539
- "privacy": "public",
1540
- "default": "2",
1541
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1539
+ "privacy": "private",
1540
+ "default": "0",
1542
1541
  "inheritedFrom": {
1543
- "name": "AccordionItem",
1544
- "module": "src/accordion-item/accordion-item.ts"
1542
+ "name": "Accordion",
1543
+ "module": "src/accordion/accordion.ts"
1545
1544
  }
1546
1545
  },
1547
1546
  {
1548
1547
  "kind": "field",
1549
- "name": "expanded",
1548
+ "name": "accordionIds",
1550
1549
  "type": {
1551
- "text": "boolean"
1550
+ "text": "Array<string | null>"
1552
1551
  },
1553
- "privacy": "public",
1554
- "default": "false",
1555
- "description": "Expands or collapses the item.",
1552
+ "privacy": "private",
1556
1553
  "inheritedFrom": {
1557
- "name": "AccordionItem",
1558
- "module": "src/accordion-item/accordion-item.ts"
1554
+ "name": "Accordion",
1555
+ "module": "src/accordion/accordion.ts"
1559
1556
  }
1560
1557
  },
1561
1558
  {
1562
1559
  "kind": "field",
1563
- "name": "id",
1564
- "type": {
1565
- "text": "string"
1560
+ "name": "change",
1561
+ "privacy": "private",
1562
+ "inheritedFrom": {
1563
+ "name": "Accordion",
1564
+ "module": "src/accordion/accordion.ts"
1565
+ }
1566
+ },
1567
+ {
1568
+ "kind": "method",
1569
+ "name": "findExpandedItem",
1570
+ "privacy": "private",
1571
+ "return": {
1572
+ "type": {
1573
+ "text": "AccordionItem | null"
1574
+ }
1566
1575
  },
1567
- "privacy": "public",
1568
- "description": "The item ID",
1569
1576
  "inheritedFrom": {
1570
- "name": "AccordionItem",
1571
- "module": "src/accordion-item/accordion-item.ts"
1577
+ "name": "Accordion",
1578
+ "module": "src/accordion/accordion.ts"
1572
1579
  }
1573
1580
  },
1574
1581
  {
1575
1582
  "kind": "field",
1576
- "name": "change",
1583
+ "name": "setItems",
1577
1584
  "privacy": "private",
1578
1585
  "inheritedFrom": {
1579
- "name": "AccordionItem",
1580
- "module": "src/accordion-item/accordion-item.ts"
1586
+ "name": "Accordion",
1587
+ "module": "src/accordion/accordion.ts"
1588
+ }
1589
+ },
1590
+ {
1591
+ "kind": "method",
1592
+ "name": "resetItems",
1593
+ "privacy": "private",
1594
+ "return": {
1595
+ "type": {
1596
+ "text": "void"
1597
+ }
1598
+ },
1599
+ "inheritedFrom": {
1600
+ "name": "Accordion",
1601
+ "module": "src/accordion/accordion.ts"
1602
+ }
1603
+ },
1604
+ {
1605
+ "kind": "field",
1606
+ "name": "removeItemListeners",
1607
+ "privacy": "private",
1608
+ "inheritedFrom": {
1609
+ "name": "Accordion",
1610
+ "module": "src/accordion/accordion.ts"
1611
+ }
1612
+ },
1613
+ {
1614
+ "kind": "field",
1615
+ "name": "activeItemChange",
1616
+ "privacy": "private",
1617
+ "inheritedFrom": {
1618
+ "name": "Accordion",
1619
+ "module": "src/accordion/accordion.ts"
1620
+ }
1621
+ },
1622
+ {
1623
+ "kind": "method",
1624
+ "name": "getItemIds",
1625
+ "privacy": "private",
1626
+ "return": {
1627
+ "type": {
1628
+ "text": "Array<string | null>"
1629
+ }
1630
+ },
1631
+ "inheritedFrom": {
1632
+ "name": "Accordion",
1633
+ "module": "src/accordion/accordion.ts"
1634
+ }
1635
+ },
1636
+ {
1637
+ "kind": "method",
1638
+ "name": "isSingleExpandMode",
1639
+ "privacy": "private",
1640
+ "return": {
1641
+ "type": {
1642
+ "text": "boolean"
1643
+ }
1644
+ },
1645
+ "inheritedFrom": {
1646
+ "name": "Accordion",
1647
+ "module": "src/accordion/accordion.ts"
1648
+ }
1649
+ },
1650
+ {
1651
+ "kind": "field",
1652
+ "name": "handleItemKeyDown",
1653
+ "privacy": "private",
1654
+ "inheritedFrom": {
1655
+ "name": "Accordion",
1656
+ "module": "src/accordion/accordion.ts"
1657
+ }
1658
+ },
1659
+ {
1660
+ "kind": "field",
1661
+ "name": "handleItemFocus",
1662
+ "privacy": "private",
1663
+ "inheritedFrom": {
1664
+ "name": "Accordion",
1665
+ "module": "src/accordion/accordion.ts"
1666
+ }
1667
+ },
1668
+ {
1669
+ "kind": "method",
1670
+ "name": "adjust",
1671
+ "privacy": "private",
1672
+ "return": {
1673
+ "type": {
1674
+ "text": "void"
1675
+ }
1676
+ },
1677
+ "parameters": [
1678
+ {
1679
+ "name": "adjustment",
1680
+ "type": {
1681
+ "text": "number"
1682
+ }
1683
+ }
1684
+ ],
1685
+ "inheritedFrom": {
1686
+ "name": "Accordion",
1687
+ "module": "src/accordion/accordion.ts"
1688
+ }
1689
+ },
1690
+ {
1691
+ "kind": "method",
1692
+ "name": "focusItem",
1693
+ "privacy": "private",
1694
+ "return": {
1695
+ "type": {
1696
+ "text": "void"
1697
+ }
1698
+ },
1699
+ "inheritedFrom": {
1700
+ "name": "Accordion",
1701
+ "module": "src/accordion/accordion.ts"
1581
1702
  }
1582
1703
  },
1583
1704
  {
@@ -1694,18 +1815,18 @@
1694
1815
  ],
1695
1816
  "events": [
1696
1817
  {
1697
- "description": "Fires a custom 'change' event when the button is invoked",
1818
+ "description": "Fires a custom 'change' event when the active item changes",
1698
1819
  "name": "change",
1699
1820
  "inheritedFrom": {
1700
- "name": "AccordionItem",
1701
- "module": "src/accordion-item/accordion-item.ts"
1821
+ "name": "Accordion",
1822
+ "module": "src/accordion/accordion.ts"
1702
1823
  }
1703
1824
  }
1704
1825
  ]
1705
1826
  },
1706
1827
  {
1707
1828
  "kind": "variable",
1708
- "name": "foundationAccordionItemShadowOptions",
1829
+ "name": "foundationAccordionShadowOptions",
1709
1830
  "type": {
1710
1831
  "text": "ShadowRootInit"
1711
1832
  },
@@ -1713,88 +1834,57 @@
1713
1834
  },
1714
1835
  {
1715
1836
  "kind": "variable",
1716
- "name": "defaultAccordionItemConfig",
1837
+ "name": "defaultAccordionConfig",
1717
1838
  "type": {
1718
1839
  "text": "object"
1719
1840
  },
1720
- "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}"
1841
+ "default": "{}"
1721
1842
  },
1722
1843
  {
1723
1844
  "kind": "variable",
1724
- "name": "foundationAccordionItem",
1725
- "description": "The Foundation Accordion Item",
1845
+ "name": "foundationAccordion",
1846
+ "description": "The Foundation Accordion",
1726
1847
  "privacy": "public"
1727
1848
  }
1728
1849
  ],
1729
1850
  "exports": [
1730
1851
  {
1731
1852
  "kind": "js",
1732
- "name": "AccordionItem",
1733
- "declaration": {
1734
- "name": "AccordionItem",
1735
- "module": "src/accordion-item/accordion-item.ts"
1736
- }
1737
- },
1738
- {
1739
- "kind": "js",
1740
- "name": "foundationAccordionItemShadowOptions",
1741
- "declaration": {
1742
- "name": "foundationAccordionItemShadowOptions",
1743
- "module": "src/accordion-item/accordion-item.ts"
1744
- }
1745
- },
1746
- {
1747
- "kind": "js",
1748
- "name": "defaultAccordionItemConfig",
1853
+ "name": "Accordion",
1749
1854
  "declaration": {
1750
- "name": "defaultAccordionItemConfig",
1751
- "module": "src/accordion-item/accordion-item.ts"
1855
+ "name": "Accordion",
1856
+ "module": "src/accordion/accordion.ts"
1752
1857
  }
1753
1858
  },
1754
1859
  {
1755
1860
  "kind": "js",
1756
- "name": "foundationAccordionItem",
1757
- "declaration": {
1758
- "name": "foundationAccordionItem",
1759
- "module": "src/accordion-item/accordion-item.ts"
1760
- }
1761
- }
1762
- ]
1763
- },
1764
- {
1765
- "kind": "javascript-module",
1766
- "path": "src/accordion-item/index.ts",
1767
- "declarations": [],
1768
- "exports": [
1769
- {
1770
- "kind": "js",
1771
- "name": "*",
1861
+ "name": "foundationAccordionShadowOptions",
1772
1862
  "declaration": {
1773
- "name": "*",
1774
- "package": "./accordion-item.template"
1863
+ "name": "foundationAccordionShadowOptions",
1864
+ "module": "src/accordion/accordion.ts"
1775
1865
  }
1776
1866
  },
1777
1867
  {
1778
1868
  "kind": "js",
1779
- "name": "*",
1869
+ "name": "defaultAccordionConfig",
1780
1870
  "declaration": {
1781
- "name": "*",
1782
- "package": "./accordion-item.styles"
1871
+ "name": "defaultAccordionConfig",
1872
+ "module": "src/accordion/accordion.ts"
1783
1873
  }
1784
1874
  },
1785
1875
  {
1786
1876
  "kind": "js",
1787
- "name": "*",
1877
+ "name": "foundationAccordion",
1788
1878
  "declaration": {
1789
- "name": "*",
1790
- "package": "./accordion-item"
1879
+ "name": "foundationAccordion",
1880
+ "module": "src/accordion/accordion.ts"
1791
1881
  }
1792
1882
  }
1793
1883
  ]
1794
1884
  },
1795
1885
  {
1796
1886
  "kind": "javascript-module",
1797
- "path": "src/_config/index.ts",
1887
+ "path": "src/accordion/index.ts",
1798
1888
  "declarations": [],
1799
1889
  "exports": [
1800
1890
  {
@@ -1802,7 +1892,7 @@
1802
1892
  "name": "*",
1803
1893
  "declaration": {
1804
1894
  "name": "*",
1805
- "package": "./styles"
1895
+ "package": "./accordion.template"
1806
1896
  }
1807
1897
  },
1808
1898
  {
@@ -1810,7 +1900,7 @@
1810
1900
  "name": "*",
1811
1901
  "declaration": {
1812
1902
  "name": "*",
1813
- "package": "./tokens"
1903
+ "package": "./accordion.styles"
1814
1904
  }
1815
1905
  },
1816
1906
  {
@@ -1818,294 +1908,222 @@
1818
1908
  "name": "*",
1819
1909
  "declaration": {
1820
1910
  "name": "*",
1821
- "package": "./values"
1911
+ "package": "./accordion"
1822
1912
  }
1823
1913
  }
1824
1914
  ]
1825
1915
  },
1826
1916
  {
1827
1917
  "kind": "javascript-module",
1828
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1918
+ "path": "src/accordion-item/accordion-item.styles.ts",
1829
1919
  "declarations": [
1830
1920
  {
1831
- "kind": "variable",
1832
- "name": "foundationAiCriteriaSearchStyles",
1833
- "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`"
1921
+ "kind": "function",
1922
+ "name": "foundationAccordionItemStyles",
1923
+ "return": {
1924
+ "type": {
1925
+ "text": "ElementStyles"
1926
+ }
1927
+ },
1928
+ "parameters": [
1929
+ {
1930
+ "name": "context",
1931
+ "type": {
1932
+ "text": "ElementDefinitionContext"
1933
+ }
1934
+ },
1935
+ {
1936
+ "name": "definition",
1937
+ "type": {
1938
+ "text": "FoundationElementDefinition"
1939
+ }
1940
+ }
1941
+ ]
1834
1942
  }
1835
1943
  ],
1836
1944
  "exports": [
1837
1945
  {
1838
1946
  "kind": "js",
1839
- "name": "foundationAiCriteriaSearchStyles",
1947
+ "name": "foundationAccordionItemStyles",
1840
1948
  "declaration": {
1841
- "name": "foundationAiCriteriaSearchStyles",
1842
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1949
+ "name": "foundationAccordionItemStyles",
1950
+ "module": "src/accordion-item/accordion-item.styles.ts"
1843
1951
  }
1844
1952
  }
1845
1953
  ]
1846
1954
  },
1847
1955
  {
1848
1956
  "kind": "javascript-module",
1849
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1957
+ "path": "src/accordion-item/accordion-item.template.ts",
1850
1958
  "declarations": [
1851
1959
  {
1852
- "kind": "variable",
1853
- "name": "foundationAiCriteriaSearchTemplate",
1854
- "type": {
1855
- "text": "ViewTemplate<AiCriteriaSearch>"
1960
+ "kind": "function",
1961
+ "name": "foundationAccordionItemTemplate",
1962
+ "return": {
1963
+ "type": {
1964
+ "text": "ViewTemplate<AccordionItem>"
1965
+ }
1856
1966
  },
1857
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1967
+ "parameters": [
1968
+ {
1969
+ "name": "context",
1970
+ "type": {
1971
+ "text": "ElementDefinitionContext"
1972
+ }
1973
+ },
1974
+ {
1975
+ "name": "definition",
1976
+ "type": {
1977
+ "text": "FoundationElementDefinition"
1978
+ }
1979
+ }
1980
+ ]
1858
1981
  }
1859
1982
  ],
1860
1983
  "exports": [
1861
1984
  {
1862
1985
  "kind": "js",
1863
- "name": "foundationAiCriteriaSearchTemplate",
1986
+ "name": "foundationAccordionItemTemplate",
1864
1987
  "declaration": {
1865
- "name": "foundationAiCriteriaSearchTemplate",
1866
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1988
+ "name": "foundationAccordionItemTemplate",
1989
+ "module": "src/accordion-item/accordion-item.template.ts"
1867
1990
  }
1868
1991
  }
1869
1992
  ]
1870
1993
  },
1871
1994
  {
1872
1995
  "kind": "javascript-module",
1873
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1996
+ "path": "src/accordion-item/accordion-item.ts",
1874
1997
  "declarations": [
1875
1998
  {
1876
1999
  "kind": "class",
1877
- "description": "Natural-language criteria search input with AI interpretation.",
1878
- "name": "AiCriteriaSearch",
1879
- "members": [
2000
+ "description": "",
2001
+ "name": "AccordionItem",
2002
+ "superclass": {
2003
+ "name": "FASTAccordionItem",
2004
+ "package": "@microsoft/fast-components"
2005
+ },
2006
+ "tagName": "%%prefix%%-accordion-item",
2007
+ "customElement": true,
2008
+ "attributes": [
1880
2009
  {
1881
- "kind": "field",
1882
- "name": "providerRegistry",
2010
+ "name": "heading-level",
1883
2011
  "type": {
1884
- "text": "AIProviderRegistry"
2012
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2013
+ },
2014
+ "default": "2",
2015
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2016
+ "fieldName": "headinglevel",
2017
+ "inheritedFrom": {
2018
+ "name": "AccordionItem",
2019
+ "module": "src/accordion-item/accordion-item.ts"
1885
2020
  }
1886
2021
  },
1887
2022
  {
1888
- "kind": "field",
1889
- "name": "placeholder",
1890
2023
  "type": {
1891
- "text": "string"
2024
+ "text": "boolean"
1892
2025
  },
1893
- "default": "'Describe your search criteria in natural language...'"
2026
+ "default": "false",
2027
+ "description": "Expands or collapses the item.",
2028
+ "fieldName": "expanded",
2029
+ "inheritedFrom": {
2030
+ "name": "AccordionItem",
2031
+ "module": "src/accordion-item/accordion-item.ts"
2032
+ }
1894
2033
  },
1895
2034
  {
1896
- "kind": "field",
1897
- "name": "disabled",
2035
+ "name": "id",
1898
2036
  "type": {
1899
- "text": "boolean"
2037
+ "text": "string"
2038
+ },
2039
+ "description": "The item ID",
2040
+ "fieldName": "id",
2041
+ "inheritedFrom": {
2042
+ "name": "AccordionItem",
2043
+ "module": "src/accordion-item/accordion-item.ts"
1900
2044
  }
1901
- },
2045
+ }
2046
+ ],
2047
+ "members": [
1902
2048
  {
1903
2049
  "kind": "field",
1904
- "name": "inputValue",
2050
+ "name": "headinglevel",
1905
2051
  "type": {
1906
- "text": "string"
2052
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1907
2053
  },
1908
- "default": "''"
2054
+ "privacy": "public",
2055
+ "default": "2",
2056
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2057
+ "inheritedFrom": {
2058
+ "name": "AccordionItem",
2059
+ "module": "src/accordion-item/accordion-item.ts"
2060
+ }
1909
2061
  },
1910
2062
  {
1911
2063
  "kind": "field",
1912
- "name": "isInterpreting",
2064
+ "name": "expanded",
1913
2065
  "type": {
1914
2066
  "text": "boolean"
1915
2067
  },
1916
- "default": "false"
2068
+ "privacy": "public",
2069
+ "default": "false",
2070
+ "description": "Expands or collapses the item.",
2071
+ "inheritedFrom": {
2072
+ "name": "AccordionItem",
2073
+ "module": "src/accordion-item/accordion-item.ts"
2074
+ }
1917
2075
  },
1918
2076
  {
1919
2077
  "kind": "field",
1920
- "name": "lastValidCriteria",
2078
+ "name": "id",
1921
2079
  "type": {
1922
- "text": "string | null"
2080
+ "text": "string"
1923
2081
  },
1924
- "default": "null"
2082
+ "privacy": "public",
2083
+ "description": "The item ID",
2084
+ "inheritedFrom": {
2085
+ "name": "AccordionItem",
2086
+ "module": "src/accordion-item/accordion-item.ts"
2087
+ }
1925
2088
  },
1926
2089
  {
1927
2090
  "kind": "field",
1928
- "name": "activeGroups",
1929
- "type": {
1930
- "text": "CriteriaGroup[]"
1931
- },
1932
- "default": "[]"
2091
+ "name": "change",
2092
+ "privacy": "private",
2093
+ "inheritedFrom": {
2094
+ "name": "AccordionItem",
2095
+ "module": "src/accordion-item/accordion-item.ts"
2096
+ }
1933
2097
  },
1934
2098
  {
1935
2099
  "kind": "field",
1936
- "name": "showingChips",
2100
+ "name": "_presentation",
1937
2101
  "type": {
1938
- "text": "boolean"
2102
+ "text": "ComponentPresentation | null | undefined"
1939
2103
  },
1940
- "default": "false"
2104
+ "privacy": "private",
2105
+ "default": "void 0",
2106
+ "inheritedFrom": {
2107
+ "name": "FoundationElement",
2108
+ "module": "src/foundation-element/foundation-element.ts"
2109
+ }
1941
2110
  },
1942
2111
  {
1943
2112
  "kind": "field",
1944
- "name": "fieldMetadata",
2113
+ "name": "$presentation",
1945
2114
  "type": {
1946
- "text": "MetadataDetail[] | string[]"
2115
+ "text": "ComponentPresentation | null"
1947
2116
  },
1948
- "default": "[]"
2117
+ "privacy": "public",
2118
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2119
+ "inheritedFrom": {
2120
+ "name": "FoundationElement",
2121
+ "module": "src/foundation-element/foundation-element.ts"
2122
+ }
1949
2123
  },
1950
2124
  {
1951
2125
  "kind": "field",
1952
- "name": "isRecording",
1953
- "type": {
1954
- "text": "boolean"
1955
- },
1956
- "default": "false"
1957
- },
1958
- {
1959
- "kind": "field",
1960
- "name": "textAreaRef",
1961
- "type": {
1962
- "text": "HTMLTextAreaElement"
1963
- },
1964
- "privacy": "public"
1965
- },
1966
- {
1967
- "kind": "field",
1968
- "name": "stopRecording",
1969
- "type": {
1970
- "text": "(() => void) | null"
1971
- },
1972
- "privacy": "private",
1973
- "default": "null"
1974
- },
1975
- {
1976
- "kind": "field",
1977
- "name": "speechApplyDebounceTimer",
1978
- "type": {
1979
- "text": "ReturnType<typeof setTimeout> | null"
1980
- },
1981
- "privacy": "private",
1982
- "default": "null"
1983
- },
1984
- {
1985
- "kind": "field",
1986
- "name": "speechAvailable",
1987
- "type": {
1988
- "text": "boolean"
1989
- },
1990
- "readonly": true
1991
- },
1992
- {
1993
- "kind": "field",
1994
- "name": "criteriaChips",
1995
- "type": {
1996
- "text": "CriteriaChip[]"
1997
- },
1998
- "readonly": true
1999
- },
2000
- {
2001
- "kind": "method",
2002
- "name": "getFieldLabel",
2003
- "privacy": "private",
2004
- "return": {
2005
- "type": {
2006
- "text": "string"
2007
- }
2008
- },
2009
- "parameters": [
2010
- {
2011
- "name": "fieldName",
2012
- "type": {
2013
- "text": "string"
2014
- }
2015
- }
2016
- ]
2017
- },
2018
- {
2019
- "kind": "method",
2020
- "name": "toggleCriteriaView",
2021
- "return": {
2022
- "type": {
2023
- "text": "void"
2024
- }
2025
- }
2026
- },
2027
- {
2028
- "kind": "method",
2029
- "name": "removeChip",
2030
- "return": {
2031
- "type": {
2032
- "text": "void"
2033
- }
2034
- },
2035
- "parameters": [
2036
- {
2037
- "name": "groupIndex",
2038
- "type": {
2039
- "text": "number"
2040
- }
2041
- },
2042
- {
2043
- "name": "clauseIndex",
2044
- "type": {
2045
- "text": "number"
2046
- }
2047
- }
2048
- ]
2049
- },
2050
- {
2051
- "kind": "method",
2052
- "name": "clearChips",
2053
- "return": {
2054
- "type": {
2055
- "text": "void"
2056
- }
2057
- }
2058
- },
2059
- {
2060
- "kind": "method",
2061
- "name": "handleSubmit"
2062
- },
2063
- {
2064
- "kind": "method",
2065
- "name": "handleBlur"
2066
- },
2067
- {
2068
- "kind": "method",
2069
- "name": "clear"
2070
- },
2071
- {
2072
- "kind": "method",
2073
- "name": "toggleSpeechInput"
2074
- },
2075
- {
2076
- "kind": "method",
2077
- "name": "clearSpeechApplyDebounce",
2078
- "privacy": "private"
2079
- },
2080
- {
2081
- "kind": "field",
2082
- "name": "_presentation",
2083
- "type": {
2084
- "text": "ComponentPresentation | null | undefined"
2085
- },
2086
- "privacy": "private",
2087
- "default": "void 0",
2088
- "inheritedFrom": {
2089
- "name": "FoundationElement",
2090
- "module": "src/foundation-element/foundation-element.ts"
2091
- }
2092
- },
2093
- {
2094
- "kind": "field",
2095
- "name": "$presentation",
2096
- "type": {
2097
- "text": "ComponentPresentation | null"
2098
- },
2099
- "privacy": "public",
2100
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2101
- "inheritedFrom": {
2102
- "name": "FoundationElement",
2103
- "module": "src/foundation-element/foundation-element.ts"
2104
- }
2105
- },
2106
- {
2107
- "kind": "field",
2108
- "name": "template",
2126
+ "name": "template",
2109
2127
  "type": {
2110
2128
  "text": "ElementViewTemplate | void | null"
2111
2129
  },
@@ -2191,152 +2209,115 @@
2191
2209
  ],
2192
2210
  "events": [
2193
2211
  {
2194
- "description": "Fired when interpreted criteria is applied or cleared",
2195
- "name": "criteria-changed"
2196
- },
2197
- {
2198
- "description": "Fired when interpreted criteria contains invalid clauses",
2199
- "name": "validation-errors"
2200
- }
2201
- ],
2202
- "attributes": [
2203
- {
2204
- "name": "placeholder",
2205
- "type": {
2206
- "text": "string"
2207
- },
2208
- "default": "'Describe your search criteria in natural language...'",
2209
- "fieldName": "placeholder"
2210
- },
2211
- {
2212
- "type": {
2213
- "text": "boolean"
2214
- },
2215
- "fieldName": "disabled"
2212
+ "description": "Fires a custom 'change' event when the button is invoked",
2213
+ "name": "change",
2214
+ "inheritedFrom": {
2215
+ "name": "AccordionItem",
2216
+ "module": "src/accordion-item/accordion-item.ts"
2217
+ }
2216
2218
  }
2217
- ],
2218
- "superclass": {
2219
- "name": "FoundationElement",
2220
- "package": "@microsoft/fast-foundation"
2221
- },
2222
- "tagName": "%%prefix%%-ai-criteria-search",
2223
- "customElement": true
2219
+ ]
2224
2220
  },
2225
2221
  {
2226
2222
  "kind": "variable",
2227
- "name": "foundationAiCriteriaSearchShadowOptions",
2223
+ "name": "foundationAccordionItemShadowOptions",
2228
2224
  "type": {
2229
2225
  "text": "ShadowRootInit"
2230
2226
  },
2231
- "default": "undefined"
2227
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2232
2228
  },
2233
2229
  {
2234
2230
  "kind": "variable",
2235
- "name": "defaultAiCriteriaSearchConfig",
2231
+ "name": "defaultAccordionItemConfig",
2236
2232
  "type": {
2237
2233
  "text": "object"
2238
2234
  },
2239
- "default": "{}"
2235
+ "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}"
2240
2236
  },
2241
2237
  {
2242
2238
  "kind": "variable",
2243
- "name": "foundationAiCriteriaSearch"
2239
+ "name": "foundationAccordionItem",
2240
+ "description": "The Foundation Accordion Item",
2241
+ "privacy": "public"
2244
2242
  }
2245
2243
  ],
2246
2244
  "exports": [
2247
2245
  {
2248
2246
  "kind": "js",
2249
- "name": "AiCriteriaSearch",
2247
+ "name": "AccordionItem",
2250
2248
  "declaration": {
2251
- "name": "AiCriteriaSearch",
2252
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2249
+ "name": "AccordionItem",
2250
+ "module": "src/accordion-item/accordion-item.ts"
2253
2251
  }
2254
2252
  },
2255
2253
  {
2256
2254
  "kind": "js",
2257
- "name": "foundationAiCriteriaSearchShadowOptions",
2255
+ "name": "foundationAccordionItemShadowOptions",
2258
2256
  "declaration": {
2259
- "name": "foundationAiCriteriaSearchShadowOptions",
2260
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2257
+ "name": "foundationAccordionItemShadowOptions",
2258
+ "module": "src/accordion-item/accordion-item.ts"
2261
2259
  }
2262
2260
  },
2263
2261
  {
2264
2262
  "kind": "js",
2265
- "name": "defaultAiCriteriaSearchConfig",
2263
+ "name": "defaultAccordionItemConfig",
2266
2264
  "declaration": {
2267
- "name": "defaultAiCriteriaSearchConfig",
2268
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2265
+ "name": "defaultAccordionItemConfig",
2266
+ "module": "src/accordion-item/accordion-item.ts"
2269
2267
  }
2270
2268
  },
2271
2269
  {
2272
2270
  "kind": "js",
2273
- "name": "foundationAiCriteriaSearch",
2271
+ "name": "foundationAccordionItem",
2274
2272
  "declaration": {
2275
- "name": "foundationAiCriteriaSearch",
2276
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2273
+ "name": "foundationAccordionItem",
2274
+ "module": "src/accordion-item/accordion-item.ts"
2277
2275
  }
2278
2276
  }
2279
2277
  ]
2280
2278
  },
2281
2279
  {
2282
2280
  "kind": "javascript-module",
2283
- "path": "src/ai-criteria-search/index.ts",
2281
+ "path": "src/accordion-item/index.ts",
2284
2282
  "declarations": [],
2285
2283
  "exports": [
2286
2284
  {
2287
2285
  "kind": "js",
2288
- "name": "AiCriteriaSearch",
2289
- "declaration": {
2290
- "name": "AiCriteriaSearch",
2291
- "module": "./ai-criteria-search"
2292
- }
2293
- },
2294
- {
2295
- "kind": "js",
2296
- "name": "defaultAiCriteriaSearchConfig",
2286
+ "name": "*",
2297
2287
  "declaration": {
2298
- "name": "defaultAiCriteriaSearchConfig",
2299
- "module": "./ai-criteria-search"
2288
+ "name": "*",
2289
+ "package": "./accordion-item.template"
2300
2290
  }
2301
2291
  },
2302
2292
  {
2303
2293
  "kind": "js",
2304
- "name": "foundationAiCriteriaSearch",
2294
+ "name": "*",
2305
2295
  "declaration": {
2306
- "name": "foundationAiCriteriaSearch",
2307
- "module": "./ai-criteria-search"
2296
+ "name": "*",
2297
+ "package": "./accordion-item.styles"
2308
2298
  }
2309
2299
  },
2310
2300
  {
2311
2301
  "kind": "js",
2312
- "name": "foundationAiCriteriaSearchShadowOptions",
2302
+ "name": "*",
2313
2303
  "declaration": {
2314
- "name": "foundationAiCriteriaSearchShadowOptions",
2315
- "module": "./ai-criteria-search"
2304
+ "name": "*",
2305
+ "package": "./accordion-item"
2316
2306
  }
2317
- },
2318
- {
2319
- "kind": "js",
2320
- "name": "foundationAiCriteriaSearchStyles",
2321
- "declaration": {
2322
- "name": "foundationAiCriteriaSearchStyles",
2323
- "module": "./ai-criteria-search.styles"
2324
- }
2325
- },
2326
- {
2327
- "kind": "js",
2328
- "name": "foundationAiCriteriaSearchTemplate",
2329
- "declaration": {
2330
- "name": "foundationAiCriteriaSearchTemplate",
2331
- "module": "./ai-criteria-search.template"
2332
- }
2333
- },
2307
+ }
2308
+ ]
2309
+ },
2310
+ {
2311
+ "kind": "javascript-module",
2312
+ "path": "src/_config/index.ts",
2313
+ "declarations": [],
2314
+ "exports": [
2334
2315
  {
2335
2316
  "kind": "js",
2336
2317
  "name": "*",
2337
2318
  "declaration": {
2338
2319
  "name": "*",
2339
- "package": "./validation/criteria-ir"
2320
+ "package": "./styles"
2340
2321
  }
2341
2322
  },
2342
2323
  {
@@ -2344,7 +2325,7 @@
2344
2325
  "name": "*",
2345
2326
  "declaration": {
2346
2327
  "name": "*",
2347
- "package": "./validation/operator-map"
2328
+ "package": "./tokens"
2348
2329
  }
2349
2330
  },
2350
2331
  {
@@ -2352,116 +2333,18 @@
2352
2333
  "name": "*",
2353
2334
  "declaration": {
2354
2335
  "name": "*",
2355
- "package": "./validation/schema-validator"
2356
- }
2357
- }
2358
- ]
2359
- },
2360
- {
2361
- "kind": "javascript-module",
2362
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2363
- "declarations": [
2364
- {
2365
- "kind": "function",
2366
- "name": "formatValidationErrors",
2367
- "return": {
2368
- "type": {
2369
- "text": "string"
2370
- }
2371
- },
2372
- "parameters": [
2373
- {
2374
- "name": "errors",
2375
- "type": {
2376
- "text": "ValidationError[]"
2377
- }
2378
- }
2379
- ],
2380
- "description": "Formats validation errors into a user-friendly message."
2381
- },
2382
- {
2383
- "kind": "function",
2384
- "name": "showCriteriaError",
2385
- "return": {
2386
- "type": {
2387
- "text": "void"
2388
- }
2389
- },
2390
- "parameters": [
2391
- {
2392
- "name": "title",
2393
- "type": {
2394
- "text": "string"
2395
- },
2396
- "description": "Notification title (e.g. \"Criteria validation error\")"
2397
- },
2398
- {
2399
- "name": "body",
2400
- "type": {
2401
- "text": "string"
2402
- },
2403
- "description": "Error message to display"
2404
- },
2405
- {
2406
- "name": "tagName",
2407
- "type": {
2408
- "text": "string"
2409
- },
2410
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2411
- }
2412
- ],
2413
- "description": "Shows a criteria error as a toast notification."
2414
- }
2415
- ],
2416
- "exports": [
2417
- {
2418
- "kind": "js",
2419
- "name": "formatValidationErrors",
2420
- "declaration": {
2421
- "name": "formatValidationErrors",
2422
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2423
- }
2424
- },
2425
- {
2426
- "kind": "js",
2427
- "name": "showCriteriaError",
2428
- "declaration": {
2429
- "name": "showCriteriaError",
2430
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2336
+ "package": "./values"
2431
2337
  }
2432
2338
  }
2433
2339
  ]
2434
2340
  },
2435
2341
  {
2436
2342
  "kind": "javascript-module",
2437
- "path": "src/actions-menu/actions-menu.styles.ts",
2343
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2438
2344
  "declarations": [
2439
2345
  {
2440
2346
  "kind": "function",
2441
- "name": "actionsMenuBaseStyles",
2442
- "return": {
2443
- "type": {
2444
- "text": "ElementStyles"
2445
- }
2446
- },
2447
- "parameters": [
2448
- {
2449
- "name": "context",
2450
- "type": {
2451
- "text": "ElementDefinitionContext"
2452
- }
2453
- },
2454
- {
2455
- "name": "definition",
2456
- "type": {
2457
- "text": "FoundationElementDefinition"
2458
- }
2459
- }
2460
- ]
2461
- },
2462
- {
2463
- "kind": "function",
2464
- "name": "foundationActionsMenuStyles",
2347
+ "name": "foundationAiIndicatorStyles",
2465
2348
  "return": {
2466
2349
  "type": {
2467
2350
  "text": "ElementStyles"
@@ -2486,269 +2369,225 @@
2486
2369
  "exports": [
2487
2370
  {
2488
2371
  "kind": "js",
2489
- "name": "actionsMenuBaseStyles",
2490
- "declaration": {
2491
- "name": "actionsMenuBaseStyles",
2492
- "module": "src/actions-menu/actions-menu.styles.ts"
2493
- }
2494
- },
2495
- {
2496
- "kind": "js",
2497
- "name": "foundationActionsMenuStyles",
2372
+ "name": "foundationAiIndicatorStyles",
2498
2373
  "declaration": {
2499
- "name": "foundationActionsMenuStyles",
2500
- "module": "src/actions-menu/actions-menu.styles.ts"
2374
+ "name": "foundationAiIndicatorStyles",
2375
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2501
2376
  }
2502
2377
  }
2503
2378
  ]
2504
2379
  },
2505
2380
  {
2506
2381
  "kind": "javascript-module",
2507
- "path": "src/actions-menu/actions-menu.template.ts",
2382
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2508
2383
  "declarations": [
2509
- {
2510
- "kind": "function",
2511
- "name": "menuTemplate",
2512
- "parameters": [
2513
- {
2514
- "name": "prefix",
2515
- "type": {
2516
- "text": "string"
2517
- }
2518
- }
2519
- ]
2520
- },
2521
- {
2522
- "kind": "function",
2523
- "name": "singleOptionTemplate",
2524
- "parameters": [
2525
- {
2526
- "name": "prefix",
2527
- "type": {
2528
- "text": "string"
2529
- }
2530
- }
2531
- ]
2532
- },
2533
2384
  {
2534
2385
  "kind": "variable",
2535
- "name": "foundationActionsMenuTemplate",
2386
+ "name": "foundationAiIndicatorTemplate",
2536
2387
  "type": {
2537
- "text": "ViewTemplate<ActionsMenu>"
2388
+ "text": "ViewTemplate<AiIndicator>"
2538
2389
  },
2539
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2390
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2540
2391
  }
2541
2392
  ],
2542
2393
  "exports": [
2543
2394
  {
2544
2395
  "kind": "js",
2545
- "name": "menuTemplate",
2546
- "declaration": {
2547
- "name": "menuTemplate",
2548
- "module": "src/actions-menu/actions-menu.template.ts"
2549
- }
2550
- },
2551
- {
2552
- "kind": "js",
2553
- "name": "singleOptionTemplate",
2554
- "declaration": {
2555
- "name": "singleOptionTemplate",
2556
- "module": "src/actions-menu/actions-menu.template.ts"
2557
- }
2558
- },
2559
- {
2560
- "kind": "js",
2561
- "name": "foundationActionsMenuTemplate",
2396
+ "name": "foundationAiIndicatorTemplate",
2562
2397
  "declaration": {
2563
- "name": "foundationActionsMenuTemplate",
2564
- "module": "src/actions-menu/actions-menu.template.ts"
2398
+ "name": "foundationAiIndicatorTemplate",
2399
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2565
2400
  }
2566
2401
  }
2567
2402
  ]
2568
2403
  },
2569
2404
  {
2570
2405
  "kind": "javascript-module",
2571
- "path": "src/actions-menu/actions-menu.ts",
2406
+ "path": "src/ai-indicator/ai-indicator.ts",
2572
2407
  "declarations": [
2573
2408
  {
2574
2409
  "kind": "class",
2575
2410
  "description": "",
2576
- "name": "ActionsMenu",
2411
+ "name": "AiIndicator",
2577
2412
  "members": [
2578
2413
  {
2579
2414
  "kind": "field",
2580
- "name": "actions",
2415
+ "name": "providerRegistry",
2581
2416
  "type": {
2582
- "text": "ActionMenuItem[]"
2417
+ "text": "AIProviderRegistry"
2583
2418
  }
2584
2419
  },
2585
2420
  {
2586
2421
  "kind": "field",
2587
- "name": "isVertical",
2422
+ "name": "aiProvider",
2588
2423
  "type": {
2589
- "text": "boolean"
2424
+ "text": "AIProvider | undefined"
2590
2425
  },
2591
- "default": "false"
2426
+ "privacy": "private",
2427
+ "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.",
2428
+ "readonly": true
2592
2429
  },
2593
2430
  {
2594
2431
  "kind": "field",
2595
- "name": "addDefaultActions",
2432
+ "name": "status",
2596
2433
  "type": {
2597
- "text": "boolean"
2434
+ "text": "AIStatus | null"
2598
2435
  },
2599
- "default": "true"
2436
+ "default": "null"
2600
2437
  },
2601
2438
  {
2602
2439
  "kind": "field",
2603
- "name": "autoCloseOnAction",
2440
+ "name": "open",
2604
2441
  "type": {
2605
2442
  "text": "boolean"
2606
2443
  },
2607
- "default": "true"
2444
+ "default": "false"
2608
2445
  },
2609
2446
  {
2610
2447
  "kind": "field",
2611
- "name": "classNames",
2448
+ "name": "state",
2612
2449
  "type": {
2613
- "text": "string"
2614
- }
2450
+ "text": "AIIndicatorState"
2451
+ },
2452
+ "default": "'none'"
2615
2453
  },
2616
2454
  {
2617
2455
  "kind": "field",
2618
- "name": "definition",
2456
+ "name": "isInstalling",
2619
2457
  "type": {
2620
- "text": "any"
2621
- }
2458
+ "text": "boolean"
2459
+ },
2460
+ "default": "false"
2622
2461
  },
2623
2462
  {
2624
2463
  "kind": "field",
2625
- "name": "name",
2464
+ "name": "pollTimer",
2626
2465
  "type": {
2627
- "text": "string"
2466
+ "text": "ReturnType<typeof setInterval> | null"
2628
2467
  },
2629
- "default": "'Actions'"
2468
+ "privacy": "private",
2469
+ "default": "null"
2630
2470
  },
2631
2471
  {
2632
2472
  "kind": "field",
2633
- "name": "open",
2634
- "type": {
2635
- "text": "boolean"
2636
- },
2637
- "default": "false"
2473
+ "name": "clickOutside",
2474
+ "privacy": "private"
2638
2475
  },
2639
2476
  {
2640
2477
  "kind": "field",
2641
- "name": "buttonAppearance",
2478
+ "name": "chromeStatusLabel",
2642
2479
  "type": {
2643
- "text": "string"
2644
- }
2480
+ "text": "string | null"
2481
+ },
2482
+ "readonly": true
2645
2483
  },
2646
2484
  {
2647
2485
  "kind": "field",
2648
- "name": "hideDisabled",
2486
+ "name": "canInstall",
2649
2487
  "type": {
2650
2488
  "text": "boolean"
2651
2489
  },
2652
- "default": "false"
2490
+ "readonly": true
2653
2491
  },
2654
2492
  {
2655
2493
  "kind": "field",
2656
- "name": "hideMenuSingleOption",
2494
+ "name": "isDownloading",
2657
2495
  "type": {
2658
2496
  "text": "boolean"
2659
2497
  },
2660
- "default": "false"
2661
- },
2662
- {
2663
- "kind": "field",
2664
- "name": "singleOption",
2665
- "type": {
2666
- "text": "ActionMenuItem"
2667
- }
2498
+ "readonly": true
2668
2499
  },
2669
2500
  {
2670
- "kind": "field",
2671
- "name": "actionsMenu",
2672
- "type": {
2673
- "text": "HTMLElement"
2501
+ "kind": "method",
2502
+ "name": "openChanged",
2503
+ "return": {
2504
+ "type": {
2505
+ "text": "void"
2506
+ }
2674
2507
  }
2675
2508
  },
2676
2509
  {
2677
2510
  "kind": "method",
2678
- "name": "definitionChanged",
2679
- "privacy": "protected",
2511
+ "name": "handleClickOutside",
2512
+ "privacy": "private",
2680
2513
  "parameters": [
2681
2514
  {
2682
- "name": "oldValue",
2683
- "type": {
2684
- "text": "any"
2685
- }
2686
- },
2687
- {
2688
- "name": "newValue",
2515
+ "name": "event",
2689
2516
  "type": {
2690
- "text": "any"
2517
+ "text": "MouseEvent"
2691
2518
  }
2692
2519
  }
2693
2520
  ]
2694
2521
  },
2695
2522
  {
2696
2523
  "kind": "method",
2697
- "name": "openChanged",
2698
- "privacy": "protected"
2524
+ "name": "toggleDropdown"
2699
2525
  },
2700
2526
  {
2701
2527
  "kind": "method",
2702
- "name": "toggleActionsMenuVisibility"
2528
+ "name": "refreshStatus",
2529
+ "return": {
2530
+ "type": {
2531
+ "text": "Promise<void>"
2532
+ }
2533
+ }
2703
2534
  },
2704
2535
  {
2705
2536
  "kind": "method",
2706
- "name": "onActionMenuItemClick",
2537
+ "name": "deriveState",
2538
+ "privacy": "private",
2539
+ "return": {
2540
+ "type": {
2541
+ "text": "AIIndicatorState"
2542
+ }
2543
+ },
2707
2544
  "parameters": [
2708
2545
  {
2709
- "name": "callback",
2546
+ "name": "s",
2710
2547
  "type": {
2711
- "text": "(rowData) => void | any"
2548
+ "text": "AIStatus | null"
2712
2549
  }
2713
2550
  }
2714
2551
  ]
2715
2552
  },
2716
2553
  {
2717
- "kind": "field",
2718
- "name": "allActions",
2719
- "type": {
2720
- "text": "ActionMenuItem[]"
2721
- },
2722
- "readonly": true
2554
+ "kind": "method",
2555
+ "name": "maybeStartPolling",
2556
+ "privacy": "private",
2557
+ "return": {
2558
+ "type": {
2559
+ "text": "void"
2560
+ }
2561
+ }
2723
2562
  },
2724
2563
  {
2725
- "kind": "field",
2726
- "name": "rowData",
2727
- "readonly": true
2564
+ "kind": "method",
2565
+ "name": "startPolling",
2566
+ "privacy": "private",
2567
+ "return": {
2568
+ "type": {
2569
+ "text": "void"
2570
+ }
2571
+ }
2728
2572
  },
2729
2573
  {
2730
2574
  "kind": "method",
2731
- "name": "getLabel",
2732
- "parameters": [
2733
- {
2734
- "name": "name",
2735
- "type": {
2736
- "text": "string | ((rowData: any) => string)"
2737
- }
2575
+ "name": "stopPolling",
2576
+ "privacy": "private",
2577
+ "return": {
2578
+ "type": {
2579
+ "text": "void"
2738
2580
  }
2739
- ]
2581
+ }
2740
2582
  },
2741
2583
  {
2742
2584
  "kind": "method",
2743
- "name": "getTemplate",
2744
- "parameters": [
2745
- {
2746
- "name": "prefix",
2747
- "type": {
2748
- "text": "string"
2749
- }
2585
+ "name": "onInstall",
2586
+ "return": {
2587
+ "type": {
2588
+ "text": "Promise<void>"
2750
2589
  }
2751
- ]
2590
+ }
2752
2591
  },
2753
2592
  {
2754
2593
  "kind": "field",
@@ -2862,206 +2701,145 @@
2862
2701
  }
2863
2702
  }
2864
2703
  ],
2865
- "attributes": [
2866
- {
2867
- "name": "is-vertical",
2868
- "type": {
2869
- "text": "boolean"
2870
- },
2871
- "default": "false",
2872
- "fieldName": "isVertical"
2873
- },
2874
- {
2875
- "name": "add-default-actions",
2876
- "type": {
2877
- "text": "boolean"
2878
- },
2879
- "default": "true",
2880
- "fieldName": "addDefaultActions"
2881
- },
2882
- {
2883
- "name": "auto-close-on-action",
2884
- "type": {
2885
- "text": "boolean"
2886
- },
2887
- "default": "true",
2888
- "fieldName": "autoCloseOnAction"
2889
- },
2890
- {
2891
- "name": "name",
2892
- "type": {
2893
- "text": "string"
2894
- },
2895
- "default": "'Actions'",
2896
- "fieldName": "name"
2897
- },
2898
- {
2899
- "name": "open",
2900
- "type": {
2901
- "text": "boolean"
2902
- },
2903
- "default": "false",
2904
- "fieldName": "open"
2905
- },
2906
- {
2907
- "name": "buttonAppearance",
2908
- "type": {
2909
- "text": "string"
2910
- },
2911
- "fieldName": "buttonAppearance"
2912
- },
2913
- {
2914
- "name": "hide-disabled",
2915
- "type": {
2916
- "text": "boolean"
2917
- },
2918
- "default": "false",
2919
- "fieldName": "hideDisabled"
2920
- },
2921
- {
2922
- "name": "hide-menu-single-option",
2923
- "type": {
2924
- "text": "boolean"
2925
- },
2926
- "default": "false",
2927
- "fieldName": "hideMenuSingleOption"
2928
- }
2929
- ],
2930
2704
  "superclass": {
2931
2705
  "name": "FoundationElement",
2932
2706
  "package": "@microsoft/fast-foundation"
2933
2707
  },
2934
- "tagName": "%%prefix%%-actions-menu",
2708
+ "tagName": "%%prefix%%-ai-indicator",
2935
2709
  "customElement": true
2936
2710
  },
2937
2711
  {
2938
2712
  "kind": "variable",
2939
- "name": "foundationActionsMenu",
2940
- "description": "The Foundation Actions Menu",
2941
- "privacy": "public"
2713
+ "name": "foundationAiIndicator"
2942
2714
  }
2943
2715
  ],
2944
2716
  "exports": [
2945
2717
  {
2946
2718
  "kind": "js",
2947
- "name": "ActionsMenu",
2719
+ "name": "AiIndicator",
2948
2720
  "declaration": {
2949
- "name": "ActionsMenu",
2950
- "module": "src/actions-menu/actions-menu.ts"
2721
+ "name": "AiIndicator",
2722
+ "module": "src/ai-indicator/ai-indicator.ts"
2951
2723
  }
2952
2724
  },
2953
2725
  {
2954
2726
  "kind": "js",
2955
- "name": "foundationActionsMenu",
2727
+ "name": "foundationAiIndicator",
2956
2728
  "declaration": {
2957
- "name": "foundationActionsMenu",
2958
- "module": "src/actions-menu/actions-menu.ts"
2729
+ "name": "foundationAiIndicator",
2730
+ "module": "src/ai-indicator/ai-indicator.ts"
2959
2731
  }
2960
2732
  }
2961
2733
  ]
2962
2734
  },
2963
2735
  {
2964
2736
  "kind": "javascript-module",
2965
- "path": "src/actions-menu/index.ts",
2737
+ "path": "src/ai-indicator/index.ts",
2966
2738
  "declarations": [],
2967
2739
  "exports": [
2968
2740
  {
2969
2741
  "kind": "js",
2970
- "name": "*",
2742
+ "name": "AiIndicator",
2971
2743
  "declaration": {
2972
- "name": "*",
2973
- "package": "./actions-menu.styles"
2744
+ "name": "AiIndicator",
2745
+ "module": "./ai-indicator"
2974
2746
  }
2975
2747
  },
2976
2748
  {
2977
2749
  "kind": "js",
2978
- "name": "*",
2750
+ "name": "foundationAiIndicator",
2979
2751
  "declaration": {
2980
- "name": "*",
2981
- "package": "./actions-menu.template"
2752
+ "name": "foundationAiIndicator",
2753
+ "module": "./ai-indicator"
2982
2754
  }
2983
2755
  },
2984
2756
  {
2985
2757
  "kind": "js",
2986
- "name": "*",
2758
+ "name": "type",
2987
2759
  "declaration": {
2988
- "name": "*",
2989
- "package": "./actions-menu"
2760
+ "name": "type",
2761
+ "module": "./ai-indicator"
2762
+ }
2763
+ },
2764
+ {
2765
+ "kind": "js",
2766
+ "name": "AIIndicatorState",
2767
+ "declaration": {
2768
+ "name": "AIIndicatorState",
2769
+ "module": "./ai-indicator"
2770
+ }
2771
+ },
2772
+ {
2773
+ "kind": "js",
2774
+ "name": "foundationAiIndicatorTemplate",
2775
+ "declaration": {
2776
+ "name": "foundationAiIndicatorTemplate",
2777
+ "module": "./ai-indicator.template"
2778
+ }
2779
+ },
2780
+ {
2781
+ "kind": "js",
2782
+ "name": "foundationAiIndicatorStyles",
2783
+ "declaration": {
2784
+ "name": "foundationAiIndicatorStyles",
2785
+ "module": "./ai-indicator.styles"
2990
2786
  }
2991
2787
  }
2992
2788
  ]
2993
2789
  },
2994
2790
  {
2995
2791
  "kind": "javascript-module",
2996
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2792
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2997
2793
  "declarations": [
2998
2794
  {
2999
- "kind": "function",
3000
- "name": "foundationAiIndicatorStyles",
3001
- "return": {
3002
- "type": {
3003
- "text": "ElementStyles"
3004
- }
3005
- },
3006
- "parameters": [
3007
- {
3008
- "name": "context",
3009
- "type": {
3010
- "text": "ElementDefinitionContext"
3011
- }
3012
- },
3013
- {
3014
- "name": "definition",
3015
- "type": {
3016
- "text": "FoundationElementDefinition"
3017
- }
3018
- }
3019
- ]
2795
+ "kind": "variable",
2796
+ "name": "foundationAiCriteriaSearchStyles",
2797
+ "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`"
3020
2798
  }
3021
2799
  ],
3022
2800
  "exports": [
3023
2801
  {
3024
2802
  "kind": "js",
3025
- "name": "foundationAiIndicatorStyles",
2803
+ "name": "foundationAiCriteriaSearchStyles",
3026
2804
  "declaration": {
3027
- "name": "foundationAiIndicatorStyles",
3028
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2805
+ "name": "foundationAiCriteriaSearchStyles",
2806
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3029
2807
  }
3030
2808
  }
3031
2809
  ]
3032
2810
  },
3033
2811
  {
3034
2812
  "kind": "javascript-module",
3035
- "path": "src/ai-indicator/ai-indicator.template.ts",
2813
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3036
2814
  "declarations": [
3037
2815
  {
3038
2816
  "kind": "variable",
3039
- "name": "foundationAiIndicatorTemplate",
2817
+ "name": "foundationAiCriteriaSearchTemplate",
3040
2818
  "type": {
3041
- "text": "ViewTemplate<AiIndicator>"
2819
+ "text": "ViewTemplate<AiCriteriaSearch>"
3042
2820
  },
3043
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2821
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3044
2822
  }
3045
2823
  ],
3046
2824
  "exports": [
3047
2825
  {
3048
2826
  "kind": "js",
3049
- "name": "foundationAiIndicatorTemplate",
2827
+ "name": "foundationAiCriteriaSearchTemplate",
3050
2828
  "declaration": {
3051
- "name": "foundationAiIndicatorTemplate",
3052
- "module": "src/ai-indicator/ai-indicator.template.ts"
2829
+ "name": "foundationAiCriteriaSearchTemplate",
2830
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3053
2831
  }
3054
2832
  }
3055
2833
  ]
3056
2834
  },
3057
2835
  {
3058
2836
  "kind": "javascript-module",
3059
- "path": "src/ai-indicator/ai-indicator.ts",
2837
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3060
2838
  "declarations": [
3061
2839
  {
3062
2840
  "kind": "class",
3063
- "description": "",
3064
- "name": "AiIndicator",
2841
+ "description": "Natural-language criteria search input with AI interpretation.",
2842
+ "name": "AiCriteriaSearch",
3065
2843
  "members": [
3066
2844
  {
3067
2845
  "kind": "field",
@@ -3072,25 +2850,54 @@
3072
2850
  },
3073
2851
  {
3074
2852
  "kind": "field",
3075
- "name": "aiProvider",
2853
+ "name": "placeholder",
3076
2854
  "type": {
3077
- "text": "AIProvider | undefined"
2855
+ "text": "string"
3078
2856
  },
3079
- "privacy": "private",
3080
- "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.",
3081
- "readonly": true
2857
+ "default": "'Describe your search criteria in natural language...'"
3082
2858
  },
3083
2859
  {
3084
2860
  "kind": "field",
3085
- "name": "status",
2861
+ "name": "disabled",
3086
2862
  "type": {
3087
- "text": "AIStatus | null"
2863
+ "text": "boolean"
2864
+ }
2865
+ },
2866
+ {
2867
+ "kind": "field",
2868
+ "name": "inputValue",
2869
+ "type": {
2870
+ "text": "string"
2871
+ },
2872
+ "default": "''"
2873
+ },
2874
+ {
2875
+ "kind": "field",
2876
+ "name": "isInterpreting",
2877
+ "type": {
2878
+ "text": "boolean"
2879
+ },
2880
+ "default": "false"
2881
+ },
2882
+ {
2883
+ "kind": "field",
2884
+ "name": "lastValidCriteria",
2885
+ "type": {
2886
+ "text": "string | null"
3088
2887
  },
3089
2888
  "default": "null"
3090
2889
  },
3091
2890
  {
3092
2891
  "kind": "field",
3093
- "name": "open",
2892
+ "name": "activeGroups",
2893
+ "type": {
2894
+ "text": "CriteriaGroup[]"
2895
+ },
2896
+ "default": "[]"
2897
+ },
2898
+ {
2899
+ "kind": "field",
2900
+ "name": "showingChips",
3094
2901
  "type": {
3095
2902
  "text": "boolean"
3096
2903
  },
@@ -3098,15 +2905,15 @@
3098
2905
  },
3099
2906
  {
3100
2907
  "kind": "field",
3101
- "name": "state",
2908
+ "name": "fieldMetadata",
3102
2909
  "type": {
3103
- "text": "AIIndicatorState"
2910
+ "text": "MetadataDetail[] | string[]"
3104
2911
  },
3105
- "default": "'none'"
2912
+ "default": "[]"
3106
2913
  },
3107
2914
  {
3108
2915
  "kind": "field",
3109
- "name": "isInstalling",
2916
+ "name": "isRecording",
3110
2917
  "type": {
3111
2918
  "text": "boolean"
3112
2919
  },
@@ -3114,29 +2921,33 @@
3114
2921
  },
3115
2922
  {
3116
2923
  "kind": "field",
3117
- "name": "pollTimer",
2924
+ "name": "textAreaRef",
3118
2925
  "type": {
3119
- "text": "ReturnType<typeof setInterval> | null"
2926
+ "text": "HTMLTextAreaElement"
3120
2927
  },
3121
- "privacy": "private",
3122
- "default": "null"
2928
+ "privacy": "public"
3123
2929
  },
3124
2930
  {
3125
2931
  "kind": "field",
3126
- "name": "clickOutside",
3127
- "privacy": "private"
2932
+ "name": "stopRecording",
2933
+ "type": {
2934
+ "text": "(() => void) | null"
2935
+ },
2936
+ "privacy": "private",
2937
+ "default": "null"
3128
2938
  },
3129
2939
  {
3130
2940
  "kind": "field",
3131
- "name": "chromeStatusLabel",
2941
+ "name": "speechApplyDebounceTimer",
3132
2942
  "type": {
3133
- "text": "string | null"
2943
+ "text": "ReturnType<typeof setTimeout> | null"
3134
2944
  },
3135
- "readonly": true
2945
+ "privacy": "private",
2946
+ "default": "null"
3136
2947
  },
3137
2948
  {
3138
2949
  "kind": "field",
3139
- "name": "canInstall",
2950
+ "name": "speechAvailable",
3140
2951
  "type": {
3141
2952
  "text": "boolean"
3142
2953
  },
@@ -3144,69 +2955,65 @@
3144
2955
  },
3145
2956
  {
3146
2957
  "kind": "field",
3147
- "name": "isDownloading",
2958
+ "name": "criteriaChips",
3148
2959
  "type": {
3149
- "text": "boolean"
2960
+ "text": "CriteriaChip[]"
3150
2961
  },
3151
2962
  "readonly": true
3152
2963
  },
3153
2964
  {
3154
2965
  "kind": "method",
3155
- "name": "openChanged",
2966
+ "name": "getFieldLabel",
2967
+ "privacy": "private",
3156
2968
  "return": {
3157
2969
  "type": {
3158
- "text": "void"
2970
+ "text": "string"
3159
2971
  }
3160
- }
3161
- },
3162
- {
3163
- "kind": "method",
3164
- "name": "handleClickOutside",
3165
- "privacy": "private",
2972
+ },
3166
2973
  "parameters": [
3167
2974
  {
3168
- "name": "event",
2975
+ "name": "fieldName",
3169
2976
  "type": {
3170
- "text": "MouseEvent"
2977
+ "text": "string"
3171
2978
  }
3172
2979
  }
3173
2980
  ]
3174
2981
  },
3175
2982
  {
3176
2983
  "kind": "method",
3177
- "name": "toggleDropdown"
3178
- },
3179
- {
3180
- "kind": "method",
3181
- "name": "refreshStatus",
2984
+ "name": "toggleCriteriaView",
3182
2985
  "return": {
3183
2986
  "type": {
3184
- "text": "Promise<void>"
2987
+ "text": "void"
3185
2988
  }
3186
2989
  }
3187
2990
  },
3188
2991
  {
3189
2992
  "kind": "method",
3190
- "name": "deriveState",
3191
- "privacy": "private",
2993
+ "name": "removeChip",
3192
2994
  "return": {
3193
2995
  "type": {
3194
- "text": "AIIndicatorState"
2996
+ "text": "void"
3195
2997
  }
3196
2998
  },
3197
2999
  "parameters": [
3198
3000
  {
3199
- "name": "s",
3001
+ "name": "groupIndex",
3200
3002
  "type": {
3201
- "text": "AIStatus | null"
3003
+ "text": "number"
3004
+ }
3005
+ },
3006
+ {
3007
+ "name": "clauseIndex",
3008
+ "type": {
3009
+ "text": "number"
3202
3010
  }
3203
3011
  }
3204
3012
  ]
3205
3013
  },
3206
3014
  {
3207
3015
  "kind": "method",
3208
- "name": "maybeStartPolling",
3209
- "privacy": "private",
3016
+ "name": "clearChips",
3210
3017
  "return": {
3211
3018
  "type": {
3212
3019
  "text": "void"
@@ -3215,32 +3022,24 @@
3215
3022
  },
3216
3023
  {
3217
3024
  "kind": "method",
3218
- "name": "startPolling",
3219
- "privacy": "private",
3220
- "return": {
3221
- "type": {
3222
- "text": "void"
3223
- }
3224
- }
3025
+ "name": "handleSubmit"
3225
3026
  },
3226
3027
  {
3227
3028
  "kind": "method",
3228
- "name": "stopPolling",
3229
- "privacy": "private",
3230
- "return": {
3231
- "type": {
3232
- "text": "void"
3233
- }
3234
- }
3029
+ "name": "handleBlur"
3235
3030
  },
3236
3031
  {
3237
3032
  "kind": "method",
3238
- "name": "onInstall",
3239
- "return": {
3240
- "type": {
3241
- "text": "Promise<void>"
3242
- }
3243
- }
3033
+ "name": "clear"
3034
+ },
3035
+ {
3036
+ "kind": "method",
3037
+ "name": "toggleSpeechInput"
3038
+ },
3039
+ {
3040
+ "kind": "method",
3041
+ "name": "clearSpeechApplyDebounce",
3042
+ "privacy": "private"
3244
3043
  },
3245
3044
  {
3246
3045
  "kind": "field",
@@ -3354,141 +3153,282 @@
3354
3153
  }
3355
3154
  }
3356
3155
  ],
3156
+ "events": [
3157
+ {
3158
+ "description": "Fired when interpreted criteria is applied or cleared",
3159
+ "name": "criteria-changed"
3160
+ },
3161
+ {
3162
+ "description": "Fired when interpreted criteria contains invalid clauses",
3163
+ "name": "validation-errors"
3164
+ }
3165
+ ],
3166
+ "attributes": [
3167
+ {
3168
+ "name": "placeholder",
3169
+ "type": {
3170
+ "text": "string"
3171
+ },
3172
+ "default": "'Describe your search criteria in natural language...'",
3173
+ "fieldName": "placeholder"
3174
+ },
3175
+ {
3176
+ "type": {
3177
+ "text": "boolean"
3178
+ },
3179
+ "fieldName": "disabled"
3180
+ }
3181
+ ],
3357
3182
  "superclass": {
3358
3183
  "name": "FoundationElement",
3359
3184
  "package": "@microsoft/fast-foundation"
3360
3185
  },
3361
- "tagName": "%%prefix%%-ai-indicator",
3186
+ "tagName": "%%prefix%%-ai-criteria-search",
3362
3187
  "customElement": true
3363
3188
  },
3364
3189
  {
3365
3190
  "kind": "variable",
3366
- "name": "foundationAiIndicator"
3191
+ "name": "foundationAiCriteriaSearchShadowOptions",
3192
+ "type": {
3193
+ "text": "ShadowRootInit"
3194
+ },
3195
+ "default": "undefined"
3196
+ },
3197
+ {
3198
+ "kind": "variable",
3199
+ "name": "defaultAiCriteriaSearchConfig",
3200
+ "type": {
3201
+ "text": "object"
3202
+ },
3203
+ "default": "{}"
3204
+ },
3205
+ {
3206
+ "kind": "variable",
3207
+ "name": "foundationAiCriteriaSearch"
3367
3208
  }
3368
3209
  ],
3369
3210
  "exports": [
3370
3211
  {
3371
3212
  "kind": "js",
3372
- "name": "AiIndicator",
3213
+ "name": "AiCriteriaSearch",
3373
3214
  "declaration": {
3374
- "name": "AiIndicator",
3375
- "module": "src/ai-indicator/ai-indicator.ts"
3215
+ "name": "AiCriteriaSearch",
3216
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3376
3217
  }
3377
3218
  },
3378
3219
  {
3379
3220
  "kind": "js",
3380
- "name": "foundationAiIndicator",
3221
+ "name": "foundationAiCriteriaSearchShadowOptions",
3381
3222
  "declaration": {
3382
- "name": "foundationAiIndicator",
3383
- "module": "src/ai-indicator/ai-indicator.ts"
3223
+ "name": "foundationAiCriteriaSearchShadowOptions",
3224
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3384
3225
  }
3385
- }
3226
+ },
3227
+ {
3228
+ "kind": "js",
3229
+ "name": "defaultAiCriteriaSearchConfig",
3230
+ "declaration": {
3231
+ "name": "defaultAiCriteriaSearchConfig",
3232
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3233
+ }
3234
+ },
3235
+ {
3236
+ "kind": "js",
3237
+ "name": "foundationAiCriteriaSearch",
3238
+ "declaration": {
3239
+ "name": "foundationAiCriteriaSearch",
3240
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3241
+ }
3242
+ }
3386
3243
  ]
3387
3244
  },
3388
3245
  {
3389
3246
  "kind": "javascript-module",
3390
- "path": "src/ai-indicator/index.ts",
3247
+ "path": "src/ai-criteria-search/index.ts",
3391
3248
  "declarations": [],
3392
3249
  "exports": [
3393
3250
  {
3394
3251
  "kind": "js",
3395
- "name": "AiIndicator",
3252
+ "name": "AiCriteriaSearch",
3396
3253
  "declaration": {
3397
- "name": "AiIndicator",
3398
- "module": "./ai-indicator"
3254
+ "name": "AiCriteriaSearch",
3255
+ "module": "./ai-criteria-search"
3399
3256
  }
3400
3257
  },
3401
3258
  {
3402
3259
  "kind": "js",
3403
- "name": "foundationAiIndicator",
3260
+ "name": "defaultAiCriteriaSearchConfig",
3404
3261
  "declaration": {
3405
- "name": "foundationAiIndicator",
3406
- "module": "./ai-indicator"
3262
+ "name": "defaultAiCriteriaSearchConfig",
3263
+ "module": "./ai-criteria-search"
3407
3264
  }
3408
3265
  },
3409
3266
  {
3410
3267
  "kind": "js",
3411
- "name": "type",
3268
+ "name": "foundationAiCriteriaSearch",
3412
3269
  "declaration": {
3413
- "name": "type",
3414
- "module": "./ai-indicator"
3270
+ "name": "foundationAiCriteriaSearch",
3271
+ "module": "./ai-criteria-search"
3415
3272
  }
3416
3273
  },
3417
3274
  {
3418
3275
  "kind": "js",
3419
- "name": "AIIndicatorState",
3276
+ "name": "foundationAiCriteriaSearchShadowOptions",
3420
3277
  "declaration": {
3421
- "name": "AIIndicatorState",
3422
- "module": "./ai-indicator"
3278
+ "name": "foundationAiCriteriaSearchShadowOptions",
3279
+ "module": "./ai-criteria-search"
3423
3280
  }
3424
3281
  },
3425
3282
  {
3426
3283
  "kind": "js",
3427
- "name": "foundationAiIndicatorTemplate",
3284
+ "name": "foundationAiCriteriaSearchStyles",
3428
3285
  "declaration": {
3429
- "name": "foundationAiIndicatorTemplate",
3430
- "module": "./ai-indicator.template"
3286
+ "name": "foundationAiCriteriaSearchStyles",
3287
+ "module": "./ai-criteria-search.styles"
3431
3288
  }
3432
3289
  },
3433
3290
  {
3434
3291
  "kind": "js",
3435
- "name": "foundationAiIndicatorStyles",
3292
+ "name": "foundationAiCriteriaSearchTemplate",
3436
3293
  "declaration": {
3437
- "name": "foundationAiIndicatorStyles",
3438
- "module": "./ai-indicator.styles"
3294
+ "name": "foundationAiCriteriaSearchTemplate",
3295
+ "module": "./ai-criteria-search.template"
3296
+ }
3297
+ },
3298
+ {
3299
+ "kind": "js",
3300
+ "name": "*",
3301
+ "declaration": {
3302
+ "name": "*",
3303
+ "package": "./validation/criteria-ir"
3304
+ }
3305
+ },
3306
+ {
3307
+ "kind": "js",
3308
+ "name": "*",
3309
+ "declaration": {
3310
+ "name": "*",
3311
+ "package": "./validation/operator-map"
3312
+ }
3313
+ },
3314
+ {
3315
+ "kind": "js",
3316
+ "name": "*",
3317
+ "declaration": {
3318
+ "name": "*",
3319
+ "package": "./validation/schema-validator"
3439
3320
  }
3440
3321
  }
3441
3322
  ]
3442
3323
  },
3443
3324
  {
3444
3325
  "kind": "javascript-module",
3445
- "path": "src/accordion/accordion.styles.ts",
3326
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3446
3327
  "declarations": [
3447
3328
  {
3448
3329
  "kind": "function",
3449
- "name": "foundationAccordionStyles",
3330
+ "name": "formatValidationErrors",
3450
3331
  "return": {
3451
3332
  "type": {
3452
- "text": "ElementStyles"
3333
+ "text": "string"
3453
3334
  }
3454
3335
  },
3455
3336
  "parameters": [
3456
3337
  {
3457
- "name": "context",
3338
+ "name": "errors",
3458
3339
  "type": {
3459
- "text": "ElementDefinitionContext"
3340
+ "text": "ValidationError[]"
3460
3341
  }
3342
+ }
3343
+ ],
3344
+ "description": "Formats validation errors into a user-friendly message."
3345
+ },
3346
+ {
3347
+ "kind": "function",
3348
+ "name": "showCriteriaError",
3349
+ "return": {
3350
+ "type": {
3351
+ "text": "void"
3352
+ }
3353
+ },
3354
+ "parameters": [
3355
+ {
3356
+ "name": "title",
3357
+ "type": {
3358
+ "text": "string"
3359
+ },
3360
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3461
3361
  },
3462
3362
  {
3463
- "name": "definition",
3363
+ "name": "body",
3464
3364
  "type": {
3465
- "text": "FoundationElementDefinition"
3466
- }
3365
+ "text": "string"
3366
+ },
3367
+ "description": "Error message to display"
3368
+ },
3369
+ {
3370
+ "name": "tagName",
3371
+ "type": {
3372
+ "text": "string"
3373
+ },
3374
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3467
3375
  }
3468
- ]
3376
+ ],
3377
+ "description": "Shows a criteria error as a toast notification."
3469
3378
  }
3470
3379
  ],
3471
3380
  "exports": [
3472
3381
  {
3473
3382
  "kind": "js",
3474
- "name": "foundationAccordionStyles",
3383
+ "name": "formatValidationErrors",
3475
3384
  "declaration": {
3476
- "name": "foundationAccordionStyles",
3477
- "module": "src/accordion/accordion.styles.ts"
3385
+ "name": "formatValidationErrors",
3386
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3387
+ }
3388
+ },
3389
+ {
3390
+ "kind": "js",
3391
+ "name": "showCriteriaError",
3392
+ "declaration": {
3393
+ "name": "showCriteriaError",
3394
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3478
3395
  }
3479
3396
  }
3480
3397
  ]
3481
3398
  },
3482
3399
  {
3483
3400
  "kind": "javascript-module",
3484
- "path": "src/accordion/accordion.template.ts",
3401
+ "path": "src/actions-menu/actions-menu.styles.ts",
3485
3402
  "declarations": [
3486
3403
  {
3487
3404
  "kind": "function",
3488
- "name": "foundationAccordionTemplate",
3405
+ "name": "actionsMenuBaseStyles",
3489
3406
  "return": {
3490
3407
  "type": {
3491
- "text": "ViewTemplate<Accordion>"
3408
+ "text": "ElementStyles"
3409
+ }
3410
+ },
3411
+ "parameters": [
3412
+ {
3413
+ "name": "context",
3414
+ "type": {
3415
+ "text": "ElementDefinitionContext"
3416
+ }
3417
+ },
3418
+ {
3419
+ "name": "definition",
3420
+ "type": {
3421
+ "text": "FoundationElementDefinition"
3422
+ }
3423
+ }
3424
+ ]
3425
+ },
3426
+ {
3427
+ "kind": "function",
3428
+ "name": "foundationActionsMenuStyles",
3429
+ "return": {
3430
+ "type": {
3431
+ "text": "ElementStyles"
3492
3432
  }
3493
3433
  },
3494
3434
  "parameters": [
@@ -3510,238 +3450,269 @@
3510
3450
  "exports": [
3511
3451
  {
3512
3452
  "kind": "js",
3513
- "name": "foundationAccordionTemplate",
3453
+ "name": "actionsMenuBaseStyles",
3514
3454
  "declaration": {
3515
- "name": "foundationAccordionTemplate",
3516
- "module": "src/accordion/accordion.template.ts"
3455
+ "name": "actionsMenuBaseStyles",
3456
+ "module": "src/actions-menu/actions-menu.styles.ts"
3457
+ }
3458
+ },
3459
+ {
3460
+ "kind": "js",
3461
+ "name": "foundationActionsMenuStyles",
3462
+ "declaration": {
3463
+ "name": "foundationActionsMenuStyles",
3464
+ "module": "src/actions-menu/actions-menu.styles.ts"
3517
3465
  }
3518
3466
  }
3519
3467
  ]
3520
3468
  },
3521
3469
  {
3522
3470
  "kind": "javascript-module",
3523
- "path": "src/accordion/accordion.ts",
3471
+ "path": "src/actions-menu/actions-menu.template.ts",
3524
3472
  "declarations": [
3525
3473
  {
3526
- "kind": "class",
3527
- "description": "",
3528
- "name": "Accordion",
3529
- "superclass": {
3530
- "name": "FASTAccordion",
3531
- "package": "@microsoft/fast-foundation"
3532
- },
3533
- "tagName": "%%prefix%%-accordion",
3534
- "customElement": true,
3535
- "attributes": [
3474
+ "kind": "function",
3475
+ "name": "menuTemplate",
3476
+ "parameters": [
3536
3477
  {
3537
- "name": "expand-mode",
3478
+ "name": "prefix",
3538
3479
  "type": {
3539
- "text": "AccordionExpandMode"
3540
- },
3541
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3542
- "fieldName": "expandmode",
3543
- "inheritedFrom": {
3544
- "name": "Accordion",
3545
- "module": "src/accordion/accordion.ts"
3480
+ "text": "string"
3546
3481
  }
3547
3482
  }
3548
- ],
3483
+ ]
3484
+ },
3485
+ {
3486
+ "kind": "function",
3487
+ "name": "singleOptionTemplate",
3488
+ "parameters": [
3489
+ {
3490
+ "name": "prefix",
3491
+ "type": {
3492
+ "text": "string"
3493
+ }
3494
+ }
3495
+ ]
3496
+ },
3497
+ {
3498
+ "kind": "variable",
3499
+ "name": "foundationActionsMenuTemplate",
3500
+ "type": {
3501
+ "text": "ViewTemplate<ActionsMenu>"
3502
+ },
3503
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
3504
+ }
3505
+ ],
3506
+ "exports": [
3507
+ {
3508
+ "kind": "js",
3509
+ "name": "menuTemplate",
3510
+ "declaration": {
3511
+ "name": "menuTemplate",
3512
+ "module": "src/actions-menu/actions-menu.template.ts"
3513
+ }
3514
+ },
3515
+ {
3516
+ "kind": "js",
3517
+ "name": "singleOptionTemplate",
3518
+ "declaration": {
3519
+ "name": "singleOptionTemplate",
3520
+ "module": "src/actions-menu/actions-menu.template.ts"
3521
+ }
3522
+ },
3523
+ {
3524
+ "kind": "js",
3525
+ "name": "foundationActionsMenuTemplate",
3526
+ "declaration": {
3527
+ "name": "foundationActionsMenuTemplate",
3528
+ "module": "src/actions-menu/actions-menu.template.ts"
3529
+ }
3530
+ }
3531
+ ]
3532
+ },
3533
+ {
3534
+ "kind": "javascript-module",
3535
+ "path": "src/actions-menu/actions-menu.ts",
3536
+ "declarations": [
3537
+ {
3538
+ "kind": "class",
3539
+ "description": "",
3540
+ "name": "ActionsMenu",
3549
3541
  "members": [
3550
3542
  {
3551
3543
  "kind": "field",
3552
- "name": "expandmode",
3544
+ "name": "actions",
3553
3545
  "type": {
3554
- "text": "AccordionExpandMode"
3555
- },
3556
- "privacy": "public",
3557
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
- "inheritedFrom": {
3559
- "name": "Accordion",
3560
- "module": "src/accordion/accordion.ts"
3546
+ "text": "ActionMenuItem[]"
3561
3547
  }
3562
3548
  },
3563
3549
  {
3564
3550
  "kind": "field",
3565
- "name": "activeid",
3551
+ "name": "isVertical",
3566
3552
  "type": {
3567
- "text": "string | null"
3553
+ "text": "boolean"
3568
3554
  },
3569
- "privacy": "private",
3570
- "inheritedFrom": {
3571
- "name": "Accordion",
3572
- "module": "src/accordion/accordion.ts"
3573
- }
3555
+ "default": "false"
3574
3556
  },
3575
3557
  {
3576
3558
  "kind": "field",
3577
- "name": "activeItemIndex",
3559
+ "name": "addDefaultActions",
3578
3560
  "type": {
3579
- "text": "number"
3561
+ "text": "boolean"
3580
3562
  },
3581
- "privacy": "private",
3582
- "default": "0",
3583
- "inheritedFrom": {
3584
- "name": "Accordion",
3585
- "module": "src/accordion/accordion.ts"
3586
- }
3563
+ "default": "true"
3587
3564
  },
3588
3565
  {
3589
3566
  "kind": "field",
3590
- "name": "accordionIds",
3567
+ "name": "autoCloseOnAction",
3591
3568
  "type": {
3592
- "text": "Array<string | null>"
3569
+ "text": "boolean"
3593
3570
  },
3594
- "privacy": "private",
3595
- "inheritedFrom": {
3596
- "name": "Accordion",
3597
- "module": "src/accordion/accordion.ts"
3571
+ "default": "true"
3572
+ },
3573
+ {
3574
+ "kind": "field",
3575
+ "name": "classNames",
3576
+ "type": {
3577
+ "text": "string"
3598
3578
  }
3599
3579
  },
3600
3580
  {
3601
3581
  "kind": "field",
3602
- "name": "change",
3603
- "privacy": "private",
3604
- "inheritedFrom": {
3605
- "name": "Accordion",
3606
- "module": "src/accordion/accordion.ts"
3582
+ "name": "definition",
3583
+ "type": {
3584
+ "text": "any"
3607
3585
  }
3608
3586
  },
3609
3587
  {
3610
- "kind": "method",
3611
- "name": "findExpandedItem",
3612
- "privacy": "private",
3613
- "return": {
3614
- "type": {
3615
- "text": "AccordionItem | null"
3616
- }
3588
+ "kind": "field",
3589
+ "name": "name",
3590
+ "type": {
3591
+ "text": "string"
3617
3592
  },
3618
- "inheritedFrom": {
3619
- "name": "Accordion",
3620
- "module": "src/accordion/accordion.ts"
3621
- }
3593
+ "default": "'Actions'"
3622
3594
  },
3623
3595
  {
3624
3596
  "kind": "field",
3625
- "name": "setItems",
3626
- "privacy": "private",
3627
- "inheritedFrom": {
3628
- "name": "Accordion",
3629
- "module": "src/accordion/accordion.ts"
3597
+ "name": "open",
3598
+ "type": {
3599
+ "text": "boolean"
3600
+ },
3601
+ "default": "false"
3602
+ },
3603
+ {
3604
+ "kind": "field",
3605
+ "name": "buttonAppearance",
3606
+ "type": {
3607
+ "text": "string"
3630
3608
  }
3631
3609
  },
3632
3610
  {
3633
- "kind": "method",
3634
- "name": "resetItems",
3635
- "privacy": "private",
3636
- "return": {
3637
- "type": {
3638
- "text": "void"
3639
- }
3611
+ "kind": "field",
3612
+ "name": "hideDisabled",
3613
+ "type": {
3614
+ "text": "boolean"
3640
3615
  },
3641
- "inheritedFrom": {
3642
- "name": "Accordion",
3643
- "module": "src/accordion/accordion.ts"
3644
- }
3616
+ "default": "false"
3617
+ },
3618
+ {
3619
+ "kind": "field",
3620
+ "name": "hideMenuSingleOption",
3621
+ "type": {
3622
+ "text": "boolean"
3623
+ },
3624
+ "default": "false"
3645
3625
  },
3646
3626
  {
3647
3627
  "kind": "field",
3648
- "name": "removeItemListeners",
3649
- "privacy": "private",
3650
- "inheritedFrom": {
3651
- "name": "Accordion",
3652
- "module": "src/accordion/accordion.ts"
3628
+ "name": "singleOption",
3629
+ "type": {
3630
+ "text": "ActionMenuItem"
3653
3631
  }
3654
3632
  },
3655
3633
  {
3656
3634
  "kind": "field",
3657
- "name": "activeItemChange",
3658
- "privacy": "private",
3659
- "inheritedFrom": {
3660
- "name": "Accordion",
3661
- "module": "src/accordion/accordion.ts"
3635
+ "name": "actionsMenu",
3636
+ "type": {
3637
+ "text": "HTMLElement"
3662
3638
  }
3663
3639
  },
3664
3640
  {
3665
3641
  "kind": "method",
3666
- "name": "getItemIds",
3667
- "privacy": "private",
3668
- "return": {
3669
- "type": {
3670
- "text": "Array<string | null>"
3642
+ "name": "definitionChanged",
3643
+ "privacy": "protected",
3644
+ "parameters": [
3645
+ {
3646
+ "name": "oldValue",
3647
+ "type": {
3648
+ "text": "any"
3649
+ }
3650
+ },
3651
+ {
3652
+ "name": "newValue",
3653
+ "type": {
3654
+ "text": "any"
3655
+ }
3671
3656
  }
3672
- },
3673
- "inheritedFrom": {
3674
- "name": "Accordion",
3675
- "module": "src/accordion/accordion.ts"
3676
- }
3657
+ ]
3677
3658
  },
3678
3659
  {
3679
3660
  "kind": "method",
3680
- "name": "isSingleExpandMode",
3681
- "privacy": "private",
3682
- "return": {
3683
- "type": {
3684
- "text": "boolean"
3661
+ "name": "openChanged",
3662
+ "privacy": "protected"
3663
+ },
3664
+ {
3665
+ "kind": "method",
3666
+ "name": "toggleActionsMenuVisibility"
3667
+ },
3668
+ {
3669
+ "kind": "method",
3670
+ "name": "onActionMenuItemClick",
3671
+ "parameters": [
3672
+ {
3673
+ "name": "callback",
3674
+ "type": {
3675
+ "text": "(rowData) => void | any"
3676
+ }
3685
3677
  }
3686
- },
3687
- "inheritedFrom": {
3688
- "name": "Accordion",
3689
- "module": "src/accordion/accordion.ts"
3690
- }
3678
+ ]
3691
3679
  },
3692
3680
  {
3693
3681
  "kind": "field",
3694
- "name": "handleItemKeyDown",
3695
- "privacy": "private",
3696
- "inheritedFrom": {
3697
- "name": "Accordion",
3698
- "module": "src/accordion/accordion.ts"
3699
- }
3682
+ "name": "allActions",
3683
+ "type": {
3684
+ "text": "ActionMenuItem[]"
3685
+ },
3686
+ "readonly": true
3700
3687
  },
3701
3688
  {
3702
3689
  "kind": "field",
3703
- "name": "handleItemFocus",
3704
- "privacy": "private",
3705
- "inheritedFrom": {
3706
- "name": "Accordion",
3707
- "module": "src/accordion/accordion.ts"
3708
- }
3690
+ "name": "rowData",
3691
+ "readonly": true
3709
3692
  },
3710
3693
  {
3711
3694
  "kind": "method",
3712
- "name": "adjust",
3713
- "privacy": "private",
3714
- "return": {
3715
- "type": {
3716
- "text": "void"
3717
- }
3718
- },
3695
+ "name": "getLabel",
3719
3696
  "parameters": [
3720
3697
  {
3721
- "name": "adjustment",
3698
+ "name": "name",
3722
3699
  "type": {
3723
- "text": "number"
3700
+ "text": "string | ((rowData: any) => string)"
3724
3701
  }
3725
3702
  }
3726
- ],
3727
- "inheritedFrom": {
3728
- "name": "Accordion",
3729
- "module": "src/accordion/accordion.ts"
3730
- }
3703
+ ]
3731
3704
  },
3732
3705
  {
3733
3706
  "kind": "method",
3734
- "name": "focusItem",
3735
- "privacy": "private",
3736
- "return": {
3737
- "type": {
3738
- "text": "void"
3707
+ "name": "getTemplate",
3708
+ "parameters": [
3709
+ {
3710
+ "name": "prefix",
3711
+ "type": {
3712
+ "text": "string"
3713
+ }
3739
3714
  }
3740
- },
3741
- "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3744
- }
3715
+ ]
3745
3716
  },
3746
3717
  {
3747
3718
  "kind": "field",
@@ -3855,78 +3826,107 @@
3855
3826
  }
3856
3827
  }
3857
3828
  ],
3858
- "events": [
3829
+ "attributes": [
3859
3830
  {
3860
- "description": "Fires a custom 'change' event when the active item changes",
3861
- "name": "change",
3862
- "inheritedFrom": {
3863
- "name": "Accordion",
3864
- "module": "src/accordion/accordion.ts"
3865
- }
3831
+ "name": "is-vertical",
3832
+ "type": {
3833
+ "text": "boolean"
3834
+ },
3835
+ "default": "false",
3836
+ "fieldName": "isVertical"
3837
+ },
3838
+ {
3839
+ "name": "add-default-actions",
3840
+ "type": {
3841
+ "text": "boolean"
3842
+ },
3843
+ "default": "true",
3844
+ "fieldName": "addDefaultActions"
3845
+ },
3846
+ {
3847
+ "name": "auto-close-on-action",
3848
+ "type": {
3849
+ "text": "boolean"
3850
+ },
3851
+ "default": "true",
3852
+ "fieldName": "autoCloseOnAction"
3853
+ },
3854
+ {
3855
+ "name": "name",
3856
+ "type": {
3857
+ "text": "string"
3858
+ },
3859
+ "default": "'Actions'",
3860
+ "fieldName": "name"
3861
+ },
3862
+ {
3863
+ "name": "open",
3864
+ "type": {
3865
+ "text": "boolean"
3866
+ },
3867
+ "default": "false",
3868
+ "fieldName": "open"
3869
+ },
3870
+ {
3871
+ "name": "buttonAppearance",
3872
+ "type": {
3873
+ "text": "string"
3874
+ },
3875
+ "fieldName": "buttonAppearance"
3876
+ },
3877
+ {
3878
+ "name": "hide-disabled",
3879
+ "type": {
3880
+ "text": "boolean"
3881
+ },
3882
+ "default": "false",
3883
+ "fieldName": "hideDisabled"
3884
+ },
3885
+ {
3886
+ "name": "hide-menu-single-option",
3887
+ "type": {
3888
+ "text": "boolean"
3889
+ },
3890
+ "default": "false",
3891
+ "fieldName": "hideMenuSingleOption"
3866
3892
  }
3867
- ]
3868
- },
3869
- {
3870
- "kind": "variable",
3871
- "name": "foundationAccordionShadowOptions",
3872
- "type": {
3873
- "text": "ShadowRootInit"
3874
- },
3875
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3876
- },
3877
- {
3878
- "kind": "variable",
3879
- "name": "defaultAccordionConfig",
3880
- "type": {
3881
- "text": "object"
3893
+ ],
3894
+ "superclass": {
3895
+ "name": "FoundationElement",
3896
+ "package": "@microsoft/fast-foundation"
3882
3897
  },
3883
- "default": "{}"
3898
+ "tagName": "%%prefix%%-actions-menu",
3899
+ "customElement": true
3884
3900
  },
3885
3901
  {
3886
3902
  "kind": "variable",
3887
- "name": "foundationAccordion",
3888
- "description": "The Foundation Accordion",
3903
+ "name": "foundationActionsMenu",
3904
+ "description": "The Foundation Actions Menu",
3889
3905
  "privacy": "public"
3890
3906
  }
3891
3907
  ],
3892
3908
  "exports": [
3893
3909
  {
3894
3910
  "kind": "js",
3895
- "name": "Accordion",
3896
- "declaration": {
3897
- "name": "Accordion",
3898
- "module": "src/accordion/accordion.ts"
3899
- }
3900
- },
3901
- {
3902
- "kind": "js",
3903
- "name": "foundationAccordionShadowOptions",
3904
- "declaration": {
3905
- "name": "foundationAccordionShadowOptions",
3906
- "module": "src/accordion/accordion.ts"
3907
- }
3908
- },
3909
- {
3910
- "kind": "js",
3911
- "name": "defaultAccordionConfig",
3911
+ "name": "ActionsMenu",
3912
3912
  "declaration": {
3913
- "name": "defaultAccordionConfig",
3914
- "module": "src/accordion/accordion.ts"
3913
+ "name": "ActionsMenu",
3914
+ "module": "src/actions-menu/actions-menu.ts"
3915
3915
  }
3916
3916
  },
3917
3917
  {
3918
3918
  "kind": "js",
3919
- "name": "foundationAccordion",
3919
+ "name": "foundationActionsMenu",
3920
3920
  "declaration": {
3921
- "name": "foundationAccordion",
3922
- "module": "src/accordion/accordion.ts"
3921
+ "name": "foundationActionsMenu",
3922
+ "module": "src/actions-menu/actions-menu.ts"
3923
3923
  }
3924
3924
  }
3925
3925
  ]
3926
3926
  },
3927
3927
  {
3928
3928
  "kind": "javascript-module",
3929
- "path": "src/accordion/index.ts",
3929
+ "path": "src/actions-menu/index.ts",
3930
3930
  "declarations": [],
3931
3931
  "exports": [
3932
3932
  {
@@ -3934,7 +3934,7 @@
3934
3934
  "name": "*",
3935
3935
  "declaration": {
3936
3936
  "name": "*",
3937
- "package": "./accordion.template"
3937
+ "package": "./actions-menu.styles"
3938
3938
  }
3939
3939
  },
3940
3940
  {
@@ -3942,7 +3942,7 @@
3942
3942
  "name": "*",
3943
3943
  "declaration": {
3944
3944
  "name": "*",
3945
- "package": "./accordion.styles"
3945
+ "package": "./actions-menu.template"
3946
3946
  }
3947
3947
  },
3948
3948
  {
@@ -3950,7 +3950,7 @@
3950
3950
  "name": "*",
3951
3951
  "declaration": {
3952
3952
  "name": "*",
3953
- "package": "./accordion"
3953
+ "package": "./actions-menu"
3954
3954
  }
3955
3955
  }
3956
3956
  ]