@genesislcap/foundation-ui 15.10.2 → 15.10.3-GENC-1494.1

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.
@@ -1424,42 +1424,11 @@
1424
1424
  },
1425
1425
  {
1426
1426
  "kind": "javascript-module",
1427
- "path": "src/_config/index.ts",
1428
- "declarations": [],
1429
- "exports": [
1430
- {
1431
- "kind": "js",
1432
- "name": "*",
1433
- "declaration": {
1434
- "name": "*",
1435
- "package": "./styles"
1436
- }
1437
- },
1438
- {
1439
- "kind": "js",
1440
- "name": "*",
1441
- "declaration": {
1442
- "name": "*",
1443
- "package": "./tokens"
1444
- }
1445
- },
1446
- {
1447
- "kind": "js",
1448
- "name": "*",
1449
- "declaration": {
1450
- "name": "*",
1451
- "package": "./values"
1452
- }
1453
- }
1454
- ]
1455
- },
1456
- {
1457
- "kind": "javascript-module",
1458
- "path": "src/accordion/accordion.styles.ts",
1427
+ "path": "src/accordion-item/accordion-item.styles.ts",
1459
1428
  "declarations": [
1460
1429
  {
1461
1430
  "kind": "function",
1462
- "name": "foundationAccordionStyles",
1431
+ "name": "foundationAccordionItemStyles",
1463
1432
  "return": {
1464
1433
  "type": {
1465
1434
  "text": "ElementStyles"
@@ -1484,24 +1453,24 @@
1484
1453
  "exports": [
1485
1454
  {
1486
1455
  "kind": "js",
1487
- "name": "foundationAccordionStyles",
1456
+ "name": "foundationAccordionItemStyles",
1488
1457
  "declaration": {
1489
- "name": "foundationAccordionStyles",
1490
- "module": "src/accordion/accordion.styles.ts"
1458
+ "name": "foundationAccordionItemStyles",
1459
+ "module": "src/accordion-item/accordion-item.styles.ts"
1491
1460
  }
1492
1461
  }
1493
1462
  ]
1494
1463
  },
1495
1464
  {
1496
1465
  "kind": "javascript-module",
1497
- "path": "src/accordion/accordion.template.ts",
1466
+ "path": "src/accordion-item/accordion-item.template.ts",
1498
1467
  "declarations": [
1499
1468
  {
1500
1469
  "kind": "function",
1501
- "name": "foundationAccordionTemplate",
1470
+ "name": "foundationAccordionItemTemplate",
1502
1471
  "return": {
1503
1472
  "type": {
1504
- "text": "ViewTemplate<Accordion>"
1473
+ "text": "ViewTemplate<AccordionItem>"
1505
1474
  }
1506
1475
  },
1507
1476
  "parameters": [
@@ -1523,365 +1492,244 @@
1523
1492
  "exports": [
1524
1493
  {
1525
1494
  "kind": "js",
1526
- "name": "foundationAccordionTemplate",
1495
+ "name": "foundationAccordionItemTemplate",
1527
1496
  "declaration": {
1528
- "name": "foundationAccordionTemplate",
1529
- "module": "src/accordion/accordion.template.ts"
1497
+ "name": "foundationAccordionItemTemplate",
1498
+ "module": "src/accordion-item/accordion-item.template.ts"
1530
1499
  }
1531
1500
  }
1532
1501
  ]
1533
1502
  },
1534
1503
  {
1535
1504
  "kind": "javascript-module",
1536
- "path": "src/accordion/accordion.ts",
1505
+ "path": "src/accordion-item/accordion-item.ts",
1537
1506
  "declarations": [
1538
1507
  {
1539
1508
  "kind": "class",
1540
1509
  "description": "",
1541
- "name": "Accordion",
1510
+ "name": "AccordionItem",
1542
1511
  "superclass": {
1543
- "name": "FASTAccordion",
1544
- "package": "@microsoft/fast-foundation"
1512
+ "name": "FASTAccordionItem",
1513
+ "package": "@microsoft/fast-components"
1545
1514
  },
1546
- "tagName": "%%prefix%%-accordion",
1515
+ "tagName": "%%prefix%%-accordion-item",
1547
1516
  "customElement": true,
1548
1517
  "attributes": [
1549
1518
  {
1550
- "name": "expand-mode",
1519
+ "name": "heading-level",
1551
1520
  "type": {
1552
- "text": "AccordionExpandMode"
1521
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1553
1522
  },
1554
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1555
- "fieldName": "expandmode",
1523
+ "default": "2",
1524
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1525
+ "fieldName": "headinglevel",
1556
1526
  "inheritedFrom": {
1557
- "name": "Accordion",
1558
- "module": "src/accordion/accordion.ts"
1527
+ "name": "AccordionItem",
1528
+ "module": "src/accordion-item/accordion-item.ts"
1529
+ }
1530
+ },
1531
+ {
1532
+ "type": {
1533
+ "text": "boolean"
1534
+ },
1535
+ "default": "false",
1536
+ "description": "Expands or collapses the item.",
1537
+ "fieldName": "expanded",
1538
+ "inheritedFrom": {
1539
+ "name": "AccordionItem",
1540
+ "module": "src/accordion-item/accordion-item.ts"
1541
+ }
1542
+ },
1543
+ {
1544
+ "name": "id",
1545
+ "type": {
1546
+ "text": "string"
1547
+ },
1548
+ "description": "The item ID",
1549
+ "fieldName": "id",
1550
+ "inheritedFrom": {
1551
+ "name": "AccordionItem",
1552
+ "module": "src/accordion-item/accordion-item.ts"
1559
1553
  }
1560
1554
  }
1561
1555
  ],
1562
1556
  "members": [
1563
1557
  {
1564
1558
  "kind": "field",
1565
- "name": "expandmode",
1559
+ "name": "headinglevel",
1566
1560
  "type": {
1567
- "text": "AccordionExpandMode"
1561
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1568
1562
  },
1569
1563
  "privacy": "public",
1570
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1564
+ "default": "2",
1565
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1571
1566
  "inheritedFrom": {
1572
- "name": "Accordion",
1573
- "module": "src/accordion/accordion.ts"
1567
+ "name": "AccordionItem",
1568
+ "module": "src/accordion-item/accordion-item.ts"
1574
1569
  }
1575
1570
  },
1576
1571
  {
1577
1572
  "kind": "field",
1578
- "name": "activeid",
1573
+ "name": "expanded",
1579
1574
  "type": {
1580
- "text": "string | null"
1575
+ "text": "boolean"
1581
1576
  },
1582
- "privacy": "private",
1577
+ "privacy": "public",
1578
+ "default": "false",
1579
+ "description": "Expands or collapses the item.",
1583
1580
  "inheritedFrom": {
1584
- "name": "Accordion",
1585
- "module": "src/accordion/accordion.ts"
1581
+ "name": "AccordionItem",
1582
+ "module": "src/accordion-item/accordion-item.ts"
1586
1583
  }
1587
1584
  },
1588
1585
  {
1589
1586
  "kind": "field",
1590
- "name": "activeItemIndex",
1587
+ "name": "id",
1591
1588
  "type": {
1592
- "text": "number"
1589
+ "text": "string"
1593
1590
  },
1594
- "privacy": "private",
1595
- "default": "0",
1591
+ "privacy": "public",
1592
+ "description": "The item ID",
1596
1593
  "inheritedFrom": {
1597
- "name": "Accordion",
1598
- "module": "src/accordion/accordion.ts"
1594
+ "name": "AccordionItem",
1595
+ "module": "src/accordion-item/accordion-item.ts"
1599
1596
  }
1600
1597
  },
1601
1598
  {
1602
1599
  "kind": "field",
1603
- "name": "accordionIds",
1604
- "type": {
1605
- "text": "Array<string | null>"
1606
- },
1600
+ "name": "change",
1607
1601
  "privacy": "private",
1608
1602
  "inheritedFrom": {
1609
- "name": "Accordion",
1610
- "module": "src/accordion/accordion.ts"
1603
+ "name": "AccordionItem",
1604
+ "module": "src/accordion-item/accordion-item.ts"
1611
1605
  }
1612
1606
  },
1613
1607
  {
1614
1608
  "kind": "field",
1615
- "name": "change",
1609
+ "name": "_presentation",
1610
+ "type": {
1611
+ "text": "ComponentPresentation | null | undefined"
1612
+ },
1616
1613
  "privacy": "private",
1614
+ "default": "void 0",
1617
1615
  "inheritedFrom": {
1618
- "name": "Accordion",
1619
- "module": "src/accordion/accordion.ts"
1616
+ "name": "FoundationElement",
1617
+ "module": "src/foundation-element/foundation-element.ts"
1620
1618
  }
1621
1619
  },
1622
1620
  {
1623
- "kind": "method",
1624
- "name": "findExpandedItem",
1625
- "privacy": "private",
1626
- "return": {
1627
- "type": {
1628
- "text": "AccordionItem | null"
1629
- }
1621
+ "kind": "field",
1622
+ "name": "$presentation",
1623
+ "type": {
1624
+ "text": "ComponentPresentation | null"
1630
1625
  },
1626
+ "privacy": "public",
1627
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1631
1628
  "inheritedFrom": {
1632
- "name": "Accordion",
1633
- "module": "src/accordion/accordion.ts"
1629
+ "name": "FoundationElement",
1630
+ "module": "src/foundation-element/foundation-element.ts"
1634
1631
  }
1635
1632
  },
1636
1633
  {
1637
1634
  "kind": "field",
1638
- "name": "setItems",
1639
- "privacy": "private",
1635
+ "name": "template",
1636
+ "type": {
1637
+ "text": "ElementViewTemplate | void | null"
1638
+ },
1639
+ "privacy": "public",
1640
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1640
1641
  "inheritedFrom": {
1641
- "name": "Accordion",
1642
- "module": "src/accordion/accordion.ts"
1642
+ "name": "FoundationElement",
1643
+ "module": "src/foundation-element/foundation-element.ts"
1643
1644
  }
1644
1645
  },
1645
1646
  {
1646
1647
  "kind": "method",
1647
- "name": "resetItems",
1648
- "privacy": "private",
1648
+ "name": "templateChanged",
1649
+ "privacy": "protected",
1649
1650
  "return": {
1650
1651
  "type": {
1651
1652
  "text": "void"
1652
1653
  }
1653
1654
  },
1654
1655
  "inheritedFrom": {
1655
- "name": "Accordion",
1656
- "module": "src/accordion/accordion.ts"
1657
- }
1658
- },
1659
- {
1660
- "kind": "field",
1661
- "name": "removeItemListeners",
1662
- "privacy": "private",
1663
- "inheritedFrom": {
1664
- "name": "Accordion",
1665
- "module": "src/accordion/accordion.ts"
1656
+ "name": "FoundationElement",
1657
+ "module": "src/foundation-element/foundation-element.ts"
1666
1658
  }
1667
1659
  },
1668
1660
  {
1669
1661
  "kind": "field",
1670
- "name": "activeItemChange",
1671
- "privacy": "private",
1662
+ "name": "styles",
1663
+ "type": {
1664
+ "text": "ElementStyles | void | null"
1665
+ },
1666
+ "privacy": "public",
1667
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1672
1668
  "inheritedFrom": {
1673
- "name": "Accordion",
1674
- "module": "src/accordion/accordion.ts"
1669
+ "name": "FoundationElement",
1670
+ "module": "src/foundation-element/foundation-element.ts"
1675
1671
  }
1676
1672
  },
1677
1673
  {
1678
1674
  "kind": "method",
1679
- "name": "getItemIds",
1680
- "privacy": "private",
1675
+ "name": "stylesChanged",
1676
+ "privacy": "protected",
1681
1677
  "return": {
1682
1678
  "type": {
1683
- "text": "Array<string | null>"
1679
+ "text": "void"
1684
1680
  }
1685
1681
  },
1686
1682
  "inheritedFrom": {
1687
- "name": "Accordion",
1688
- "module": "src/accordion/accordion.ts"
1683
+ "name": "FoundationElement",
1684
+ "module": "src/foundation-element/foundation-element.ts"
1689
1685
  }
1690
1686
  },
1691
1687
  {
1692
1688
  "kind": "method",
1693
- "name": "isSingleExpandMode",
1694
- "privacy": "private",
1689
+ "name": "compose",
1690
+ "privacy": "public",
1691
+ "static": true,
1695
1692
  "return": {
1696
1693
  "type": {
1697
- "text": "boolean"
1694
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1698
1695
  }
1699
1696
  },
1697
+ "parameters": [
1698
+ {
1699
+ "name": "this",
1700
+ "type": {
1701
+ "text": "K"
1702
+ }
1703
+ },
1704
+ {
1705
+ "name": "elementDefinition",
1706
+ "type": {
1707
+ "text": "T"
1708
+ },
1709
+ "description": "The definition of the element to create the registry\nfunction for."
1710
+ }
1711
+ ],
1712
+ "description": "Defines an element registry function with a set of element definition defaults.",
1700
1713
  "inheritedFrom": {
1701
- "name": "Accordion",
1702
- "module": "src/accordion/accordion.ts"
1714
+ "name": "FoundationElement",
1715
+ "module": "src/foundation-element/foundation-element.ts"
1703
1716
  }
1704
- },
1717
+ }
1718
+ ],
1719
+ "events": [
1705
1720
  {
1706
- "kind": "field",
1707
- "name": "handleItemKeyDown",
1708
- "privacy": "private",
1709
- "inheritedFrom": {
1710
- "name": "Accordion",
1711
- "module": "src/accordion/accordion.ts"
1712
- }
1713
- },
1714
- {
1715
- "kind": "field",
1716
- "name": "handleItemFocus",
1717
- "privacy": "private",
1718
- "inheritedFrom": {
1719
- "name": "Accordion",
1720
- "module": "src/accordion/accordion.ts"
1721
- }
1722
- },
1723
- {
1724
- "kind": "method",
1725
- "name": "adjust",
1726
- "privacy": "private",
1727
- "return": {
1728
- "type": {
1729
- "text": "void"
1730
- }
1731
- },
1732
- "parameters": [
1733
- {
1734
- "name": "adjustment",
1735
- "type": {
1736
- "text": "number"
1737
- }
1738
- }
1739
- ],
1740
- "inheritedFrom": {
1741
- "name": "Accordion",
1742
- "module": "src/accordion/accordion.ts"
1743
- }
1744
- },
1745
- {
1746
- "kind": "method",
1747
- "name": "focusItem",
1748
- "privacy": "private",
1749
- "return": {
1750
- "type": {
1751
- "text": "void"
1752
- }
1753
- },
1754
- "inheritedFrom": {
1755
- "name": "Accordion",
1756
- "module": "src/accordion/accordion.ts"
1757
- }
1758
- },
1759
- {
1760
- "kind": "field",
1761
- "name": "_presentation",
1762
- "type": {
1763
- "text": "ComponentPresentation | null | undefined"
1764
- },
1765
- "privacy": "private",
1766
- "default": "void 0",
1767
- "inheritedFrom": {
1768
- "name": "FoundationElement",
1769
- "module": "src/foundation-element/foundation-element.ts"
1770
- }
1771
- },
1772
- {
1773
- "kind": "field",
1774
- "name": "$presentation",
1775
- "type": {
1776
- "text": "ComponentPresentation | null"
1777
- },
1778
- "privacy": "public",
1779
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1780
- "inheritedFrom": {
1781
- "name": "FoundationElement",
1782
- "module": "src/foundation-element/foundation-element.ts"
1783
- }
1784
- },
1785
- {
1786
- "kind": "field",
1787
- "name": "template",
1788
- "type": {
1789
- "text": "ElementViewTemplate | void | null"
1790
- },
1791
- "privacy": "public",
1792
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1793
- "inheritedFrom": {
1794
- "name": "FoundationElement",
1795
- "module": "src/foundation-element/foundation-element.ts"
1796
- }
1797
- },
1798
- {
1799
- "kind": "method",
1800
- "name": "templateChanged",
1801
- "privacy": "protected",
1802
- "return": {
1803
- "type": {
1804
- "text": "void"
1805
- }
1806
- },
1807
- "inheritedFrom": {
1808
- "name": "FoundationElement",
1809
- "module": "src/foundation-element/foundation-element.ts"
1810
- }
1811
- },
1812
- {
1813
- "kind": "field",
1814
- "name": "styles",
1815
- "type": {
1816
- "text": "ElementStyles | void | null"
1817
- },
1818
- "privacy": "public",
1819
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1820
- "inheritedFrom": {
1821
- "name": "FoundationElement",
1822
- "module": "src/foundation-element/foundation-element.ts"
1823
- }
1824
- },
1825
- {
1826
- "kind": "method",
1827
- "name": "stylesChanged",
1828
- "privacy": "protected",
1829
- "return": {
1830
- "type": {
1831
- "text": "void"
1832
- }
1833
- },
1834
- "inheritedFrom": {
1835
- "name": "FoundationElement",
1836
- "module": "src/foundation-element/foundation-element.ts"
1837
- }
1838
- },
1839
- {
1840
- "kind": "method",
1841
- "name": "compose",
1842
- "privacy": "public",
1843
- "static": true,
1844
- "return": {
1845
- "type": {
1846
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1847
- }
1848
- },
1849
- "parameters": [
1850
- {
1851
- "name": "this",
1852
- "type": {
1853
- "text": "K"
1854
- }
1855
- },
1856
- {
1857
- "name": "elementDefinition",
1858
- "type": {
1859
- "text": "T"
1860
- },
1861
- "description": "The definition of the element to create the registry\nfunction for."
1862
- }
1863
- ],
1864
- "description": "Defines an element registry function with a set of element definition defaults.",
1865
- "inheritedFrom": {
1866
- "name": "FoundationElement",
1867
- "module": "src/foundation-element/foundation-element.ts"
1868
- }
1869
- }
1870
- ],
1871
- "events": [
1872
- {
1873
- "description": "Fires a custom 'change' event when the active item changes",
1721
+ "description": "Fires a custom 'change' event when the button is invoked",
1874
1722
  "name": "change",
1875
1723
  "inheritedFrom": {
1876
- "name": "Accordion",
1877
- "module": "src/accordion/accordion.ts"
1724
+ "name": "AccordionItem",
1725
+ "module": "src/accordion-item/accordion-item.ts"
1878
1726
  }
1879
1727
  }
1880
1728
  ]
1881
1729
  },
1882
1730
  {
1883
1731
  "kind": "variable",
1884
- "name": "foundationAccordionShadowOptions",
1732
+ "name": "foundationAccordionItemShadowOptions",
1885
1733
  "type": {
1886
1734
  "text": "ShadowRootInit"
1887
1735
  },
@@ -1889,57 +1737,57 @@
1889
1737
  },
1890
1738
  {
1891
1739
  "kind": "variable",
1892
- "name": "defaultAccordionConfig",
1740
+ "name": "defaultAccordionItemConfig",
1893
1741
  "type": {
1894
1742
  "text": "object"
1895
1743
  },
1896
- "default": "{}"
1744
+ "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}"
1897
1745
  },
1898
1746
  {
1899
1747
  "kind": "variable",
1900
- "name": "foundationAccordion",
1901
- "description": "The Foundation Accordion",
1748
+ "name": "foundationAccordionItem",
1749
+ "description": "The Foundation Accordion Item",
1902
1750
  "privacy": "public"
1903
1751
  }
1904
1752
  ],
1905
1753
  "exports": [
1906
1754
  {
1907
1755
  "kind": "js",
1908
- "name": "Accordion",
1756
+ "name": "AccordionItem",
1909
1757
  "declaration": {
1910
- "name": "Accordion",
1911
- "module": "src/accordion/accordion.ts"
1758
+ "name": "AccordionItem",
1759
+ "module": "src/accordion-item/accordion-item.ts"
1912
1760
  }
1913
1761
  },
1914
1762
  {
1915
1763
  "kind": "js",
1916
- "name": "foundationAccordionShadowOptions",
1764
+ "name": "foundationAccordionItemShadowOptions",
1917
1765
  "declaration": {
1918
- "name": "foundationAccordionShadowOptions",
1919
- "module": "src/accordion/accordion.ts"
1766
+ "name": "foundationAccordionItemShadowOptions",
1767
+ "module": "src/accordion-item/accordion-item.ts"
1920
1768
  }
1921
1769
  },
1922
1770
  {
1923
1771
  "kind": "js",
1924
- "name": "defaultAccordionConfig",
1772
+ "name": "defaultAccordionItemConfig",
1925
1773
  "declaration": {
1926
- "name": "defaultAccordionConfig",
1927
- "module": "src/accordion/accordion.ts"
1774
+ "name": "defaultAccordionItemConfig",
1775
+ "module": "src/accordion-item/accordion-item.ts"
1928
1776
  }
1929
1777
  },
1930
1778
  {
1931
1779
  "kind": "js",
1932
- "name": "foundationAccordion",
1780
+ "name": "foundationAccordionItem",
1933
1781
  "declaration": {
1934
- "name": "foundationAccordion",
1935
- "module": "src/accordion/accordion.ts"
1782
+ "name": "foundationAccordionItem",
1783
+ "module": "src/accordion-item/accordion-item.ts"
1936
1784
  }
1937
1785
  }
1938
1786
  ]
1939
1787
  },
1940
1788
  {
1941
1789
  "kind": "javascript-module",
1942
- "path": "src/accordion/index.ts",
1790
+ "path": "src/accordion-item/index.ts",
1943
1791
  "declarations": [],
1944
1792
  "exports": [
1945
1793
  {
@@ -1947,7 +1795,7 @@
1947
1795
  "name": "*",
1948
1796
  "declaration": {
1949
1797
  "name": "*",
1950
- "package": "./accordion.template"
1798
+ "package": "./accordion-item.template"
1951
1799
  }
1952
1800
  },
1953
1801
  {
@@ -1955,7 +1803,7 @@
1955
1803
  "name": "*",
1956
1804
  "declaration": {
1957
1805
  "name": "*",
1958
- "package": "./accordion.styles"
1806
+ "package": "./accordion-item.styles"
1959
1807
  }
1960
1808
  },
1961
1809
  {
@@ -1963,7 +1811,38 @@
1963
1811
  "name": "*",
1964
1812
  "declaration": {
1965
1813
  "name": "*",
1966
- "package": "./accordion"
1814
+ "package": "./accordion-item"
1815
+ }
1816
+ }
1817
+ ]
1818
+ },
1819
+ {
1820
+ "kind": "javascript-module",
1821
+ "path": "src/_config/index.ts",
1822
+ "declarations": [],
1823
+ "exports": [
1824
+ {
1825
+ "kind": "js",
1826
+ "name": "*",
1827
+ "declaration": {
1828
+ "name": "*",
1829
+ "package": "./styles"
1830
+ }
1831
+ },
1832
+ {
1833
+ "kind": "js",
1834
+ "name": "*",
1835
+ "declaration": {
1836
+ "name": "*",
1837
+ "package": "./tokens"
1838
+ }
1839
+ },
1840
+ {
1841
+ "kind": "js",
1842
+ "name": "*",
1843
+ "declaration": {
1844
+ "name": "*",
1845
+ "package": "./values"
1967
1846
  }
1968
1847
  }
1969
1848
  ]
@@ -2541,57 +2420,75 @@
2541
2420
  },
2542
2421
  {
2543
2422
  "kind": "javascript-module",
2544
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2423
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2545
2424
  "declarations": [
2546
2425
  {
2547
- "kind": "variable",
2548
- "name": "foundationAiCriteriaSearchStyles",
2549
- "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`"
2550
- }
2551
- ],
2552
- "exports": [
2553
- {
2554
- "kind": "js",
2555
- "name": "foundationAiCriteriaSearchStyles",
2556
- "declaration": {
2557
- "name": "foundationAiCriteriaSearchStyles",
2558
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2426
+ "kind": "function",
2427
+ "name": "foundationAiIndicatorStyles",
2428
+ "return": {
2429
+ "type": {
2430
+ "text": "ElementStyles"
2431
+ }
2432
+ },
2433
+ "parameters": [
2434
+ {
2435
+ "name": "context",
2436
+ "type": {
2437
+ "text": "ElementDefinitionContext"
2438
+ }
2439
+ },
2440
+ {
2441
+ "name": "definition",
2442
+ "type": {
2443
+ "text": "FoundationElementDefinition"
2444
+ }
2445
+ }
2446
+ ]
2447
+ }
2448
+ ],
2449
+ "exports": [
2450
+ {
2451
+ "kind": "js",
2452
+ "name": "foundationAiIndicatorStyles",
2453
+ "declaration": {
2454
+ "name": "foundationAiIndicatorStyles",
2455
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2559
2456
  }
2560
2457
  }
2561
2458
  ]
2562
2459
  },
2563
2460
  {
2564
2461
  "kind": "javascript-module",
2565
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2462
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2566
2463
  "declarations": [
2567
2464
  {
2568
2465
  "kind": "variable",
2569
- "name": "foundationAiCriteriaSearchTemplate",
2466
+ "name": "foundationAiIndicatorTemplate",
2570
2467
  "type": {
2571
- "text": "ViewTemplate<AiCriteriaSearch>"
2468
+ "text": "ViewTemplate<AiIndicator>"
2572
2469
  },
2573
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2470
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2574
2471
  }
2575
2472
  ],
2576
2473
  "exports": [
2577
2474
  {
2578
2475
  "kind": "js",
2579
- "name": "foundationAiCriteriaSearchTemplate",
2476
+ "name": "foundationAiIndicatorTemplate",
2580
2477
  "declaration": {
2581
- "name": "foundationAiCriteriaSearchTemplate",
2582
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2478
+ "name": "foundationAiIndicatorTemplate",
2479
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2583
2480
  }
2584
2481
  }
2585
2482
  ]
2586
2483
  },
2587
2484
  {
2588
2485
  "kind": "javascript-module",
2589
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2486
+ "path": "src/ai-indicator/ai-indicator.ts",
2590
2487
  "declarations": [
2591
2488
  {
2592
2489
  "kind": "class",
2593
- "description": "Natural-language criteria search input with AI interpretation.",
2594
- "name": "AiCriteriaSearch",
2490
+ "description": "",
2491
+ "name": "AiIndicator",
2595
2492
  "members": [
2596
2493
  {
2597
2494
  "kind": "field",
@@ -2602,54 +2499,25 @@
2602
2499
  },
2603
2500
  {
2604
2501
  "kind": "field",
2605
- "name": "placeholder",
2606
- "type": {
2607
- "text": "string"
2608
- },
2609
- "default": "'Describe your search criteria in natural language...'"
2610
- },
2611
- {
2612
- "kind": "field",
2613
- "name": "disabled",
2614
- "type": {
2615
- "text": "boolean"
2616
- }
2617
- },
2618
- {
2619
- "kind": "field",
2620
- "name": "inputValue",
2621
- "type": {
2622
- "text": "string"
2623
- },
2624
- "default": "''"
2625
- },
2626
- {
2627
- "kind": "field",
2628
- "name": "isInterpreting",
2502
+ "name": "aiProvider",
2629
2503
  "type": {
2630
- "text": "boolean"
2504
+ "text": "AIProvider | undefined"
2631
2505
  },
2632
- "default": "false"
2506
+ "privacy": "private",
2507
+ "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.",
2508
+ "readonly": true
2633
2509
  },
2634
2510
  {
2635
2511
  "kind": "field",
2636
- "name": "lastValidCriteria",
2512
+ "name": "status",
2637
2513
  "type": {
2638
- "text": "string | null"
2514
+ "text": "AIStatus | null"
2639
2515
  },
2640
2516
  "default": "null"
2641
2517
  },
2642
2518
  {
2643
2519
  "kind": "field",
2644
- "name": "activeGroups",
2645
- "type": {
2646
- "text": "CriteriaGroup[]"
2647
- },
2648
- "default": "[]"
2649
- },
2650
- {
2651
- "kind": "field",
2652
- "name": "showingChips",
2520
+ "name": "open",
2653
2521
  "type": {
2654
2522
  "text": "boolean"
2655
2523
  },
@@ -2657,15 +2525,15 @@
2657
2525
  },
2658
2526
  {
2659
2527
  "kind": "field",
2660
- "name": "fieldMetadata",
2528
+ "name": "state",
2661
2529
  "type": {
2662
- "text": "MetadataDetail[] | string[]"
2530
+ "text": "AIIndicatorState"
2663
2531
  },
2664
- "default": "[]"
2532
+ "default": "'none'"
2665
2533
  },
2666
2534
  {
2667
2535
  "kind": "field",
2668
- "name": "isRecording",
2536
+ "name": "isInstalling",
2669
2537
  "type": {
2670
2538
  "text": "boolean"
2671
2539
  },
@@ -2673,33 +2541,29 @@
2673
2541
  },
2674
2542
  {
2675
2543
  "kind": "field",
2676
- "name": "textAreaRef",
2544
+ "name": "pollTimer",
2677
2545
  "type": {
2678
- "text": "HTMLTextAreaElement"
2546
+ "text": "ReturnType<typeof setInterval> | null"
2679
2547
  },
2680
- "privacy": "public"
2548
+ "privacy": "private",
2549
+ "default": "null"
2681
2550
  },
2682
2551
  {
2683
2552
  "kind": "field",
2684
- "name": "stopRecording",
2685
- "type": {
2686
- "text": "(() => void) | null"
2687
- },
2688
- "privacy": "private",
2689
- "default": "null"
2553
+ "name": "clickOutside",
2554
+ "privacy": "private"
2690
2555
  },
2691
2556
  {
2692
2557
  "kind": "field",
2693
- "name": "speechApplyDebounceTimer",
2558
+ "name": "chromeStatusLabel",
2694
2559
  "type": {
2695
- "text": "ReturnType<typeof setTimeout> | null"
2560
+ "text": "string | null"
2696
2561
  },
2697
- "privacy": "private",
2698
- "default": "null"
2562
+ "readonly": true
2699
2563
  },
2700
2564
  {
2701
2565
  "kind": "field",
2702
- "name": "speechAvailable",
2566
+ "name": "canInstall",
2703
2567
  "type": {
2704
2568
  "text": "boolean"
2705
2569
  },
@@ -2707,65 +2571,69 @@
2707
2571
  },
2708
2572
  {
2709
2573
  "kind": "field",
2710
- "name": "criteriaChips",
2574
+ "name": "isDownloading",
2711
2575
  "type": {
2712
- "text": "CriteriaChip[]"
2576
+ "text": "boolean"
2713
2577
  },
2714
2578
  "readonly": true
2715
2579
  },
2716
2580
  {
2717
2581
  "kind": "method",
2718
- "name": "getFieldLabel",
2719
- "privacy": "private",
2582
+ "name": "openChanged",
2720
2583
  "return": {
2721
2584
  "type": {
2722
- "text": "string"
2585
+ "text": "void"
2723
2586
  }
2724
- },
2587
+ }
2588
+ },
2589
+ {
2590
+ "kind": "method",
2591
+ "name": "handleClickOutside",
2592
+ "privacy": "private",
2725
2593
  "parameters": [
2726
2594
  {
2727
- "name": "fieldName",
2595
+ "name": "event",
2728
2596
  "type": {
2729
- "text": "string"
2597
+ "text": "MouseEvent"
2730
2598
  }
2731
2599
  }
2732
2600
  ]
2733
2601
  },
2734
2602
  {
2735
2603
  "kind": "method",
2736
- "name": "toggleCriteriaView",
2604
+ "name": "toggleDropdown"
2605
+ },
2606
+ {
2607
+ "kind": "method",
2608
+ "name": "refreshStatus",
2737
2609
  "return": {
2738
2610
  "type": {
2739
- "text": "void"
2611
+ "text": "Promise<void>"
2740
2612
  }
2741
2613
  }
2742
2614
  },
2743
2615
  {
2744
2616
  "kind": "method",
2745
- "name": "removeChip",
2617
+ "name": "deriveState",
2618
+ "privacy": "private",
2746
2619
  "return": {
2747
2620
  "type": {
2748
- "text": "void"
2621
+ "text": "AIIndicatorState"
2749
2622
  }
2750
2623
  },
2751
2624
  "parameters": [
2752
2625
  {
2753
- "name": "groupIndex",
2754
- "type": {
2755
- "text": "number"
2756
- }
2757
- },
2758
- {
2759
- "name": "clauseIndex",
2626
+ "name": "s",
2760
2627
  "type": {
2761
- "text": "number"
2628
+ "text": "AIStatus | null"
2762
2629
  }
2763
2630
  }
2764
2631
  ]
2765
2632
  },
2766
2633
  {
2767
2634
  "kind": "method",
2768
- "name": "clearChips",
2635
+ "name": "maybeStartPolling",
2636
+ "privacy": "private",
2769
2637
  "return": {
2770
2638
  "type": {
2771
2639
  "text": "void"
@@ -2774,24 +2642,32 @@
2774
2642
  },
2775
2643
  {
2776
2644
  "kind": "method",
2777
- "name": "handleSubmit"
2778
- },
2779
- {
2780
- "kind": "method",
2781
- "name": "handleBlur"
2782
- },
2783
- {
2784
- "kind": "method",
2785
- "name": "clear"
2645
+ "name": "startPolling",
2646
+ "privacy": "private",
2647
+ "return": {
2648
+ "type": {
2649
+ "text": "void"
2650
+ }
2651
+ }
2786
2652
  },
2787
2653
  {
2788
2654
  "kind": "method",
2789
- "name": "toggleSpeechInput"
2655
+ "name": "stopPolling",
2656
+ "privacy": "private",
2657
+ "return": {
2658
+ "type": {
2659
+ "text": "void"
2660
+ }
2661
+ }
2790
2662
  },
2791
2663
  {
2792
2664
  "kind": "method",
2793
- "name": "clearSpeechApplyDebounce",
2794
- "privacy": "private"
2665
+ "name": "onInstall",
2666
+ "return": {
2667
+ "type": {
2668
+ "text": "Promise<void>"
2669
+ }
2670
+ }
2795
2671
  },
2796
2672
  {
2797
2673
  "kind": "field",
@@ -2905,259 +2781,141 @@
2905
2781
  }
2906
2782
  }
2907
2783
  ],
2908
- "events": [
2909
- {
2910
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2911
- "name": "criteria-changed"
2912
- },
2913
- {
2914
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2915
- "name": "validation-errors"
2916
- }
2917
- ],
2918
- "attributes": [
2919
- {
2920
- "name": "placeholder",
2921
- "type": {
2922
- "text": "string"
2923
- },
2924
- "default": "'Describe your search criteria in natural language...'",
2925
- "fieldName": "placeholder"
2926
- },
2927
- {
2928
- "type": {
2929
- "text": "boolean"
2930
- },
2931
- "fieldName": "disabled"
2932
- }
2933
- ],
2934
2784
  "superclass": {
2935
2785
  "name": "FoundationElement",
2936
2786
  "package": "@microsoft/fast-foundation"
2937
2787
  },
2938
- "tagName": "%%prefix%%-ai-criteria-search",
2788
+ "tagName": "%%prefix%%-ai-indicator",
2939
2789
  "customElement": true
2940
2790
  },
2941
2791
  {
2942
2792
  "kind": "variable",
2943
- "name": "foundationAiCriteriaSearchShadowOptions",
2944
- "type": {
2945
- "text": "ShadowRootInit"
2946
- },
2947
- "default": "undefined"
2948
- },
2949
- {
2950
- "kind": "variable",
2951
- "name": "defaultAiCriteriaSearchConfig",
2952
- "type": {
2953
- "text": "object"
2954
- },
2955
- "default": "{}"
2956
- },
2957
- {
2958
- "kind": "variable",
2959
- "name": "foundationAiCriteriaSearch"
2793
+ "name": "foundationAiIndicator"
2960
2794
  }
2961
2795
  ],
2962
2796
  "exports": [
2963
2797
  {
2964
2798
  "kind": "js",
2965
- "name": "AiCriteriaSearch",
2799
+ "name": "AiIndicator",
2966
2800
  "declaration": {
2967
- "name": "AiCriteriaSearch",
2968
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2969
- }
2970
- },
2971
- {
2972
- "kind": "js",
2973
- "name": "foundationAiCriteriaSearchShadowOptions",
2974
- "declaration": {
2975
- "name": "foundationAiCriteriaSearchShadowOptions",
2976
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2977
- }
2978
- },
2979
- {
2980
- "kind": "js",
2981
- "name": "defaultAiCriteriaSearchConfig",
2982
- "declaration": {
2983
- "name": "defaultAiCriteriaSearchConfig",
2984
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2801
+ "name": "AiIndicator",
2802
+ "module": "src/ai-indicator/ai-indicator.ts"
2985
2803
  }
2986
2804
  },
2987
2805
  {
2988
2806
  "kind": "js",
2989
- "name": "foundationAiCriteriaSearch",
2807
+ "name": "foundationAiIndicator",
2990
2808
  "declaration": {
2991
- "name": "foundationAiCriteriaSearch",
2992
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2809
+ "name": "foundationAiIndicator",
2810
+ "module": "src/ai-indicator/ai-indicator.ts"
2993
2811
  }
2994
2812
  }
2995
2813
  ]
2996
2814
  },
2997
2815
  {
2998
2816
  "kind": "javascript-module",
2999
- "path": "src/ai-criteria-search/index.ts",
2817
+ "path": "src/ai-indicator/index.ts",
3000
2818
  "declarations": [],
3001
2819
  "exports": [
3002
2820
  {
3003
2821
  "kind": "js",
3004
- "name": "AiCriteriaSearch",
3005
- "declaration": {
3006
- "name": "AiCriteriaSearch",
3007
- "module": "./ai-criteria-search"
3008
- }
3009
- },
3010
- {
3011
- "kind": "js",
3012
- "name": "defaultAiCriteriaSearchConfig",
3013
- "declaration": {
3014
- "name": "defaultAiCriteriaSearchConfig",
3015
- "module": "./ai-criteria-search"
3016
- }
3017
- },
3018
- {
3019
- "kind": "js",
3020
- "name": "foundationAiCriteriaSearch",
3021
- "declaration": {
3022
- "name": "foundationAiCriteriaSearch",
3023
- "module": "./ai-criteria-search"
3024
- }
3025
- },
3026
- {
3027
- "kind": "js",
3028
- "name": "foundationAiCriteriaSearchShadowOptions",
2822
+ "name": "AiIndicator",
3029
2823
  "declaration": {
3030
- "name": "foundationAiCriteriaSearchShadowOptions",
3031
- "module": "./ai-criteria-search"
2824
+ "name": "AiIndicator",
2825
+ "module": "./ai-indicator"
3032
2826
  }
3033
2827
  },
3034
2828
  {
3035
2829
  "kind": "js",
3036
- "name": "foundationAiCriteriaSearchStyles",
2830
+ "name": "foundationAiIndicator",
3037
2831
  "declaration": {
3038
- "name": "foundationAiCriteriaSearchStyles",
3039
- "module": "./ai-criteria-search.styles"
2832
+ "name": "foundationAiIndicator",
2833
+ "module": "./ai-indicator"
3040
2834
  }
3041
2835
  },
3042
2836
  {
3043
2837
  "kind": "js",
3044
- "name": "foundationAiCriteriaSearchTemplate",
2838
+ "name": "type",
3045
2839
  "declaration": {
3046
- "name": "foundationAiCriteriaSearchTemplate",
3047
- "module": "./ai-criteria-search.template"
2840
+ "name": "type",
2841
+ "module": "./ai-indicator"
3048
2842
  }
3049
2843
  },
3050
2844
  {
3051
2845
  "kind": "js",
3052
- "name": "*",
2846
+ "name": "AIIndicatorState",
3053
2847
  "declaration": {
3054
- "name": "*",
3055
- "package": "./validation/criteria-ir"
2848
+ "name": "AIIndicatorState",
2849
+ "module": "./ai-indicator"
3056
2850
  }
3057
2851
  },
3058
2852
  {
3059
2853
  "kind": "js",
3060
- "name": "*",
2854
+ "name": "foundationAiIndicatorTemplate",
3061
2855
  "declaration": {
3062
- "name": "*",
3063
- "package": "./validation/operator-map"
2856
+ "name": "foundationAiIndicatorTemplate",
2857
+ "module": "./ai-indicator.template"
3064
2858
  }
3065
2859
  },
3066
2860
  {
3067
2861
  "kind": "js",
3068
- "name": "*",
2862
+ "name": "foundationAiIndicatorStyles",
3069
2863
  "declaration": {
3070
- "name": "*",
3071
- "package": "./validation/schema-validator"
2864
+ "name": "foundationAiIndicatorStyles",
2865
+ "module": "./ai-indicator.styles"
3072
2866
  }
3073
2867
  }
3074
2868
  ]
3075
2869
  },
3076
2870
  {
3077
2871
  "kind": "javascript-module",
3078
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2872
+ "path": "src/accordion/accordion.styles.ts",
3079
2873
  "declarations": [
3080
2874
  {
3081
2875
  "kind": "function",
3082
- "name": "formatValidationErrors",
2876
+ "name": "foundationAccordionStyles",
3083
2877
  "return": {
3084
2878
  "type": {
3085
- "text": "string"
2879
+ "text": "ElementStyles"
3086
2880
  }
3087
2881
  },
3088
2882
  "parameters": [
3089
2883
  {
3090
- "name": "errors",
2884
+ "name": "context",
3091
2885
  "type": {
3092
- "text": "ValidationError[]"
2886
+ "text": "ElementDefinitionContext"
3093
2887
  }
3094
- }
3095
- ],
3096
- "description": "Formats validation errors into a user-friendly message."
3097
- },
3098
- {
3099
- "kind": "function",
3100
- "name": "showCriteriaError",
3101
- "return": {
3102
- "type": {
3103
- "text": "void"
3104
- }
3105
- },
3106
- "parameters": [
3107
- {
3108
- "name": "title",
3109
- "type": {
3110
- "text": "string"
3111
- },
3112
- "description": "Notification title (e.g. \"Criteria validation error\")"
3113
- },
3114
- {
3115
- "name": "body",
3116
- "type": {
3117
- "text": "string"
3118
- },
3119
- "description": "Error message to display"
3120
2888
  },
3121
2889
  {
3122
- "name": "tagName",
2890
+ "name": "definition",
3123
2891
  "type": {
3124
- "text": "string"
3125
- },
3126
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2892
+ "text": "FoundationElementDefinition"
2893
+ }
3127
2894
  }
3128
- ],
3129
- "description": "Shows a criteria error as a toast notification."
2895
+ ]
3130
2896
  }
3131
2897
  ],
3132
2898
  "exports": [
3133
2899
  {
3134
2900
  "kind": "js",
3135
- "name": "formatValidationErrors",
3136
- "declaration": {
3137
- "name": "formatValidationErrors",
3138
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3139
- }
3140
- },
3141
- {
3142
- "kind": "js",
3143
- "name": "showCriteriaError",
2901
+ "name": "foundationAccordionStyles",
3144
2902
  "declaration": {
3145
- "name": "showCriteriaError",
3146
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2903
+ "name": "foundationAccordionStyles",
2904
+ "module": "src/accordion/accordion.styles.ts"
3147
2905
  }
3148
2906
  }
3149
2907
  ]
3150
2908
  },
3151
2909
  {
3152
2910
  "kind": "javascript-module",
3153
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2911
+ "path": "src/accordion/accordion.template.ts",
3154
2912
  "declarations": [
3155
2913
  {
3156
2914
  "kind": "function",
3157
- "name": "foundationAiIndicatorStyles",
2915
+ "name": "foundationAccordionTemplate",
3158
2916
  "return": {
3159
2917
  "type": {
3160
- "text": "ElementStyles"
2918
+ "text": "ViewTemplate<Accordion>"
3161
2919
  }
3162
2920
  },
3163
2921
  "parameters": [
@@ -3179,224 +2937,237 @@
3179
2937
  "exports": [
3180
2938
  {
3181
2939
  "kind": "js",
3182
- "name": "foundationAiIndicatorStyles",
3183
- "declaration": {
3184
- "name": "foundationAiIndicatorStyles",
3185
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3186
- }
3187
- }
3188
- ]
3189
- },
3190
- {
3191
- "kind": "javascript-module",
3192
- "path": "src/ai-indicator/ai-indicator.template.ts",
3193
- "declarations": [
3194
- {
3195
- "kind": "variable",
3196
- "name": "foundationAiIndicatorTemplate",
3197
- "type": {
3198
- "text": "ViewTemplate<AiIndicator>"
3199
- },
3200
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3201
- }
3202
- ],
3203
- "exports": [
3204
- {
3205
- "kind": "js",
3206
- "name": "foundationAiIndicatorTemplate",
2940
+ "name": "foundationAccordionTemplate",
3207
2941
  "declaration": {
3208
- "name": "foundationAiIndicatorTemplate",
3209
- "module": "src/ai-indicator/ai-indicator.template.ts"
2942
+ "name": "foundationAccordionTemplate",
2943
+ "module": "src/accordion/accordion.template.ts"
3210
2944
  }
3211
2945
  }
3212
2946
  ]
3213
2947
  },
3214
2948
  {
3215
2949
  "kind": "javascript-module",
3216
- "path": "src/ai-indicator/ai-indicator.ts",
2950
+ "path": "src/accordion/accordion.ts",
3217
2951
  "declarations": [
3218
2952
  {
3219
2953
  "kind": "class",
3220
2954
  "description": "",
3221
- "name": "AiIndicator",
3222
- "members": [
2955
+ "name": "Accordion",
2956
+ "superclass": {
2957
+ "name": "FASTAccordion",
2958
+ "package": "@microsoft/fast-foundation"
2959
+ },
2960
+ "tagName": "%%prefix%%-accordion",
2961
+ "customElement": true,
2962
+ "attributes": [
3223
2963
  {
3224
- "kind": "field",
3225
- "name": "providerRegistry",
2964
+ "name": "expand-mode",
3226
2965
  "type": {
3227
- "text": "AIProviderRegistry"
2966
+ "text": "AccordionExpandMode"
2967
+ },
2968
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2969
+ "fieldName": "expandmode",
2970
+ "inheritedFrom": {
2971
+ "name": "Accordion",
2972
+ "module": "src/accordion/accordion.ts"
3228
2973
  }
3229
- },
2974
+ }
2975
+ ],
2976
+ "members": [
3230
2977
  {
3231
2978
  "kind": "field",
3232
- "name": "aiProvider",
2979
+ "name": "expandmode",
3233
2980
  "type": {
3234
- "text": "AIProvider | undefined"
2981
+ "text": "AccordionExpandMode"
3235
2982
  },
3236
- "privacy": "private",
3237
- "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.",
3238
- "readonly": true
2983
+ "privacy": "public",
2984
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2985
+ "inheritedFrom": {
2986
+ "name": "Accordion",
2987
+ "module": "src/accordion/accordion.ts"
2988
+ }
3239
2989
  },
3240
2990
  {
3241
2991
  "kind": "field",
3242
- "name": "status",
2992
+ "name": "activeid",
3243
2993
  "type": {
3244
- "text": "AIStatus | null"
2994
+ "text": "string | null"
3245
2995
  },
3246
- "default": "null"
2996
+ "privacy": "private",
2997
+ "inheritedFrom": {
2998
+ "name": "Accordion",
2999
+ "module": "src/accordion/accordion.ts"
3000
+ }
3247
3001
  },
3248
3002
  {
3249
3003
  "kind": "field",
3250
- "name": "open",
3004
+ "name": "activeItemIndex",
3251
3005
  "type": {
3252
- "text": "boolean"
3006
+ "text": "number"
3253
3007
  },
3254
- "default": "false"
3008
+ "privacy": "private",
3009
+ "default": "0",
3010
+ "inheritedFrom": {
3011
+ "name": "Accordion",
3012
+ "module": "src/accordion/accordion.ts"
3013
+ }
3255
3014
  },
3256
3015
  {
3257
3016
  "kind": "field",
3258
- "name": "state",
3017
+ "name": "accordionIds",
3259
3018
  "type": {
3260
- "text": "AIIndicatorState"
3019
+ "text": "Array<string | null>"
3261
3020
  },
3262
- "default": "'none'"
3021
+ "privacy": "private",
3022
+ "inheritedFrom": {
3023
+ "name": "Accordion",
3024
+ "module": "src/accordion/accordion.ts"
3025
+ }
3263
3026
  },
3264
3027
  {
3265
3028
  "kind": "field",
3266
- "name": "isInstalling",
3267
- "type": {
3268
- "text": "boolean"
3269
- },
3270
- "default": "false"
3271
- },
3272
- {
3273
- "kind": "field",
3274
- "name": "pollTimer",
3275
- "type": {
3276
- "text": "ReturnType<typeof setInterval> | null"
3277
- },
3029
+ "name": "change",
3278
3030
  "privacy": "private",
3279
- "default": "null"
3280
- },
3281
- {
3282
- "kind": "field",
3283
- "name": "clickOutside",
3284
- "privacy": "private"
3285
- },
3286
- {
3287
- "kind": "field",
3288
- "name": "chromeStatusLabel",
3289
- "type": {
3290
- "text": "string | null"
3291
- },
3292
- "readonly": true
3031
+ "inheritedFrom": {
3032
+ "name": "Accordion",
3033
+ "module": "src/accordion/accordion.ts"
3034
+ }
3293
3035
  },
3294
3036
  {
3295
- "kind": "field",
3296
- "name": "canInstall",
3297
- "type": {
3298
- "text": "boolean"
3037
+ "kind": "method",
3038
+ "name": "findExpandedItem",
3039
+ "privacy": "private",
3040
+ "return": {
3041
+ "type": {
3042
+ "text": "AccordionItem | null"
3043
+ }
3299
3044
  },
3300
- "readonly": true
3045
+ "inheritedFrom": {
3046
+ "name": "Accordion",
3047
+ "module": "src/accordion/accordion.ts"
3048
+ }
3301
3049
  },
3302
3050
  {
3303
3051
  "kind": "field",
3304
- "name": "isDownloading",
3305
- "type": {
3306
- "text": "boolean"
3307
- },
3308
- "readonly": true
3052
+ "name": "setItems",
3053
+ "privacy": "private",
3054
+ "inheritedFrom": {
3055
+ "name": "Accordion",
3056
+ "module": "src/accordion/accordion.ts"
3057
+ }
3309
3058
  },
3310
3059
  {
3311
3060
  "kind": "method",
3312
- "name": "openChanged",
3061
+ "name": "resetItems",
3062
+ "privacy": "private",
3313
3063
  "return": {
3314
3064
  "type": {
3315
3065
  "text": "void"
3316
3066
  }
3067
+ },
3068
+ "inheritedFrom": {
3069
+ "name": "Accordion",
3070
+ "module": "src/accordion/accordion.ts"
3317
3071
  }
3318
3072
  },
3319
3073
  {
3320
- "kind": "method",
3321
- "name": "handleClickOutside",
3074
+ "kind": "field",
3075
+ "name": "removeItemListeners",
3322
3076
  "privacy": "private",
3323
- "parameters": [
3324
- {
3325
- "name": "event",
3326
- "type": {
3327
- "text": "MouseEvent"
3328
- }
3329
- }
3330
- ]
3077
+ "inheritedFrom": {
3078
+ "name": "Accordion",
3079
+ "module": "src/accordion/accordion.ts"
3080
+ }
3331
3081
  },
3332
3082
  {
3333
- "kind": "method",
3334
- "name": "toggleDropdown"
3083
+ "kind": "field",
3084
+ "name": "activeItemChange",
3085
+ "privacy": "private",
3086
+ "inheritedFrom": {
3087
+ "name": "Accordion",
3088
+ "module": "src/accordion/accordion.ts"
3089
+ }
3335
3090
  },
3336
3091
  {
3337
3092
  "kind": "method",
3338
- "name": "refreshStatus",
3093
+ "name": "getItemIds",
3094
+ "privacy": "private",
3339
3095
  "return": {
3340
3096
  "type": {
3341
- "text": "Promise<void>"
3097
+ "text": "Array<string | null>"
3342
3098
  }
3099
+ },
3100
+ "inheritedFrom": {
3101
+ "name": "Accordion",
3102
+ "module": "src/accordion/accordion.ts"
3343
3103
  }
3344
3104
  },
3345
3105
  {
3346
3106
  "kind": "method",
3347
- "name": "deriveState",
3107
+ "name": "isSingleExpandMode",
3348
3108
  "privacy": "private",
3349
3109
  "return": {
3350
3110
  "type": {
3351
- "text": "AIIndicatorState"
3111
+ "text": "boolean"
3352
3112
  }
3353
3113
  },
3354
- "parameters": [
3355
- {
3356
- "name": "s",
3357
- "type": {
3358
- "text": "AIStatus | null"
3359
- }
3360
- }
3361
- ]
3114
+ "inheritedFrom": {
3115
+ "name": "Accordion",
3116
+ "module": "src/accordion/accordion.ts"
3117
+ }
3362
3118
  },
3363
3119
  {
3364
- "kind": "method",
3365
- "name": "maybeStartPolling",
3120
+ "kind": "field",
3121
+ "name": "handleItemKeyDown",
3366
3122
  "privacy": "private",
3367
- "return": {
3368
- "type": {
3369
- "text": "void"
3370
- }
3123
+ "inheritedFrom": {
3124
+ "name": "Accordion",
3125
+ "module": "src/accordion/accordion.ts"
3371
3126
  }
3372
3127
  },
3373
3128
  {
3374
- "kind": "method",
3375
- "name": "startPolling",
3129
+ "kind": "field",
3130
+ "name": "handleItemFocus",
3376
3131
  "privacy": "private",
3377
- "return": {
3378
- "type": {
3379
- "text": "void"
3380
- }
3132
+ "inheritedFrom": {
3133
+ "name": "Accordion",
3134
+ "module": "src/accordion/accordion.ts"
3381
3135
  }
3382
3136
  },
3383
3137
  {
3384
3138
  "kind": "method",
3385
- "name": "stopPolling",
3139
+ "name": "adjust",
3386
3140
  "privacy": "private",
3387
3141
  "return": {
3388
3142
  "type": {
3389
3143
  "text": "void"
3390
3144
  }
3145
+ },
3146
+ "parameters": [
3147
+ {
3148
+ "name": "adjustment",
3149
+ "type": {
3150
+ "text": "number"
3151
+ }
3152
+ }
3153
+ ],
3154
+ "inheritedFrom": {
3155
+ "name": "Accordion",
3156
+ "module": "src/accordion/accordion.ts"
3391
3157
  }
3392
3158
  },
3393
3159
  {
3394
3160
  "kind": "method",
3395
- "name": "onInstall",
3161
+ "name": "focusItem",
3162
+ "privacy": "private",
3396
3163
  "return": {
3397
3164
  "type": {
3398
- "text": "Promise<void>"
3165
+ "text": "void"
3399
3166
  }
3167
+ },
3168
+ "inheritedFrom": {
3169
+ "name": "Accordion",
3170
+ "module": "src/accordion/accordion.ts"
3400
3171
  }
3401
3172
  },
3402
3173
  {
@@ -3511,273 +3282,359 @@
3511
3282
  }
3512
3283
  }
3513
3284
  ],
3514
- "superclass": {
3515
- "name": "FoundationElement",
3516
- "package": "@microsoft/fast-foundation"
3285
+ "events": [
3286
+ {
3287
+ "description": "Fires a custom 'change' event when the active item changes",
3288
+ "name": "change",
3289
+ "inheritedFrom": {
3290
+ "name": "Accordion",
3291
+ "module": "src/accordion/accordion.ts"
3292
+ }
3293
+ }
3294
+ ]
3295
+ },
3296
+ {
3297
+ "kind": "variable",
3298
+ "name": "foundationAccordionShadowOptions",
3299
+ "type": {
3300
+ "text": "ShadowRootInit"
3517
3301
  },
3518
- "tagName": "%%prefix%%-ai-indicator",
3519
- "customElement": true
3302
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3520
3303
  },
3521
3304
  {
3522
3305
  "kind": "variable",
3523
- "name": "foundationAiIndicator"
3306
+ "name": "defaultAccordionConfig",
3307
+ "type": {
3308
+ "text": "object"
3309
+ },
3310
+ "default": "{}"
3311
+ },
3312
+ {
3313
+ "kind": "variable",
3314
+ "name": "foundationAccordion",
3315
+ "description": "The Foundation Accordion",
3316
+ "privacy": "public"
3524
3317
  }
3525
3318
  ],
3526
3319
  "exports": [
3527
3320
  {
3528
3321
  "kind": "js",
3529
- "name": "AiIndicator",
3322
+ "name": "Accordion",
3530
3323
  "declaration": {
3531
- "name": "AiIndicator",
3532
- "module": "src/ai-indicator/ai-indicator.ts"
3324
+ "name": "Accordion",
3325
+ "module": "src/accordion/accordion.ts"
3533
3326
  }
3534
3327
  },
3535
3328
  {
3536
3329
  "kind": "js",
3537
- "name": "foundationAiIndicator",
3330
+ "name": "foundationAccordionShadowOptions",
3538
3331
  "declaration": {
3539
- "name": "foundationAiIndicator",
3540
- "module": "src/ai-indicator/ai-indicator.ts"
3332
+ "name": "foundationAccordionShadowOptions",
3333
+ "module": "src/accordion/accordion.ts"
3334
+ }
3335
+ },
3336
+ {
3337
+ "kind": "js",
3338
+ "name": "defaultAccordionConfig",
3339
+ "declaration": {
3340
+ "name": "defaultAccordionConfig",
3341
+ "module": "src/accordion/accordion.ts"
3342
+ }
3343
+ },
3344
+ {
3345
+ "kind": "js",
3346
+ "name": "foundationAccordion",
3347
+ "declaration": {
3348
+ "name": "foundationAccordion",
3349
+ "module": "src/accordion/accordion.ts"
3541
3350
  }
3542
3351
  }
3543
3352
  ]
3544
3353
  },
3545
3354
  {
3546
3355
  "kind": "javascript-module",
3547
- "path": "src/ai-indicator/index.ts",
3356
+ "path": "src/accordion/index.ts",
3548
3357
  "declarations": [],
3549
3358
  "exports": [
3550
3359
  {
3551
3360
  "kind": "js",
3552
- "name": "AiIndicator",
3361
+ "name": "*",
3553
3362
  "declaration": {
3554
- "name": "AiIndicator",
3555
- "module": "./ai-indicator"
3363
+ "name": "*",
3364
+ "package": "./accordion.template"
3556
3365
  }
3557
3366
  },
3558
3367
  {
3559
3368
  "kind": "js",
3560
- "name": "foundationAiIndicator",
3369
+ "name": "*",
3561
3370
  "declaration": {
3562
- "name": "foundationAiIndicator",
3563
- "module": "./ai-indicator"
3371
+ "name": "*",
3372
+ "package": "./accordion.styles"
3564
3373
  }
3565
3374
  },
3566
3375
  {
3567
3376
  "kind": "js",
3568
- "name": "type",
3377
+ "name": "*",
3569
3378
  "declaration": {
3570
- "name": "type",
3571
- "module": "./ai-indicator"
3379
+ "name": "*",
3380
+ "package": "./accordion"
3572
3381
  }
3573
- },
3382
+ }
3383
+ ]
3384
+ },
3385
+ {
3386
+ "kind": "javascript-module",
3387
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3388
+ "declarations": [
3389
+ {
3390
+ "kind": "variable",
3391
+ "name": "foundationAiCriteriaSearchStyles",
3392
+ "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`"
3393
+ }
3394
+ ],
3395
+ "exports": [
3574
3396
  {
3575
3397
  "kind": "js",
3576
- "name": "AIIndicatorState",
3398
+ "name": "foundationAiCriteriaSearchStyles",
3577
3399
  "declaration": {
3578
- "name": "AIIndicatorState",
3579
- "module": "./ai-indicator"
3580
- }
3581
- },
3582
- {
3583
- "kind": "js",
3584
- "name": "foundationAiIndicatorTemplate",
3585
- "declaration": {
3586
- "name": "foundationAiIndicatorTemplate",
3587
- "module": "./ai-indicator.template"
3588
- }
3589
- },
3590
- {
3591
- "kind": "js",
3592
- "name": "foundationAiIndicatorStyles",
3593
- "declaration": {
3594
- "name": "foundationAiIndicatorStyles",
3595
- "module": "./ai-indicator.styles"
3400
+ "name": "foundationAiCriteriaSearchStyles",
3401
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3596
3402
  }
3597
3403
  }
3598
3404
  ]
3599
3405
  },
3600
3406
  {
3601
3407
  "kind": "javascript-module",
3602
- "path": "src/accordion-item/accordion-item.styles.ts",
3408
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3603
3409
  "declarations": [
3604
3410
  {
3605
- "kind": "function",
3606
- "name": "foundationAccordionItemStyles",
3607
- "return": {
3608
- "type": {
3609
- "text": "ElementStyles"
3610
- }
3411
+ "kind": "variable",
3412
+ "name": "foundationAiCriteriaSearchTemplate",
3413
+ "type": {
3414
+ "text": "ViewTemplate<AiCriteriaSearch>"
3611
3415
  },
3612
- "parameters": [
3613
- {
3614
- "name": "context",
3615
- "type": {
3616
- "text": "ElementDefinitionContext"
3617
- }
3618
- },
3619
- {
3620
- "name": "definition",
3621
- "type": {
3622
- "text": "FoundationElementDefinition"
3623
- }
3624
- }
3625
- ]
3416
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3626
3417
  }
3627
3418
  ],
3628
3419
  "exports": [
3629
3420
  {
3630
3421
  "kind": "js",
3631
- "name": "foundationAccordionItemStyles",
3422
+ "name": "foundationAiCriteriaSearchTemplate",
3632
3423
  "declaration": {
3633
- "name": "foundationAccordionItemStyles",
3634
- "module": "src/accordion-item/accordion-item.styles.ts"
3424
+ "name": "foundationAiCriteriaSearchTemplate",
3425
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3635
3426
  }
3636
3427
  }
3637
3428
  ]
3638
3429
  },
3639
3430
  {
3640
3431
  "kind": "javascript-module",
3641
- "path": "src/accordion-item/accordion-item.template.ts",
3432
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3642
3433
  "declarations": [
3643
3434
  {
3644
- "kind": "function",
3645
- "name": "foundationAccordionItemTemplate",
3646
- "return": {
3647
- "type": {
3648
- "text": "ViewTemplate<AccordionItem>"
3649
- }
3650
- },
3651
- "parameters": [
3435
+ "kind": "class",
3436
+ "description": "Natural-language criteria search input with AI interpretation.",
3437
+ "name": "AiCriteriaSearch",
3438
+ "members": [
3652
3439
  {
3653
- "name": "context",
3440
+ "kind": "field",
3441
+ "name": "providerRegistry",
3654
3442
  "type": {
3655
- "text": "ElementDefinitionContext"
3443
+ "text": "AIProviderRegistry"
3656
3444
  }
3657
3445
  },
3658
3446
  {
3659
- "name": "definition",
3447
+ "kind": "field",
3448
+ "name": "placeholder",
3660
3449
  "type": {
3661
- "text": "FoundationElementDefinition"
3450
+ "text": "string"
3451
+ },
3452
+ "default": "'Describe your search criteria in natural language...'"
3453
+ },
3454
+ {
3455
+ "kind": "field",
3456
+ "name": "disabled",
3457
+ "type": {
3458
+ "text": "boolean"
3662
3459
  }
3663
- }
3664
- ]
3665
- }
3666
- ],
3667
- "exports": [
3668
- {
3669
- "kind": "js",
3670
- "name": "foundationAccordionItemTemplate",
3671
- "declaration": {
3672
- "name": "foundationAccordionItemTemplate",
3673
- "module": "src/accordion-item/accordion-item.template.ts"
3674
- }
3675
- }
3676
- ]
3677
- },
3678
- {
3679
- "kind": "javascript-module",
3680
- "path": "src/accordion-item/accordion-item.ts",
3681
- "declarations": [
3682
- {
3683
- "kind": "class",
3684
- "description": "",
3685
- "name": "AccordionItem",
3686
- "superclass": {
3687
- "name": "FASTAccordionItem",
3688
- "package": "@microsoft/fast-components"
3689
- },
3690
- "tagName": "%%prefix%%-accordion-item",
3691
- "customElement": true,
3692
- "attributes": [
3460
+ },
3693
3461
  {
3694
- "name": "heading-level",
3462
+ "kind": "field",
3463
+ "name": "inputValue",
3695
3464
  "type": {
3696
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3465
+ "text": "string"
3697
3466
  },
3698
- "default": "2",
3699
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3700
- "fieldName": "headinglevel",
3701
- "inheritedFrom": {
3702
- "name": "AccordionItem",
3703
- "module": "src/accordion-item/accordion-item.ts"
3704
- }
3467
+ "default": "''"
3705
3468
  },
3706
3469
  {
3470
+ "kind": "field",
3471
+ "name": "isInterpreting",
3707
3472
  "type": {
3708
3473
  "text": "boolean"
3709
3474
  },
3710
- "default": "false",
3711
- "description": "Expands or collapses the item.",
3712
- "fieldName": "expanded",
3713
- "inheritedFrom": {
3714
- "name": "AccordionItem",
3715
- "module": "src/accordion-item/accordion-item.ts"
3716
- }
3475
+ "default": "false"
3717
3476
  },
3718
3477
  {
3719
- "name": "id",
3478
+ "kind": "field",
3479
+ "name": "lastValidCriteria",
3720
3480
  "type": {
3721
- "text": "string"
3481
+ "text": "string | null"
3722
3482
  },
3723
- "description": "The item ID",
3724
- "fieldName": "id",
3725
- "inheritedFrom": {
3726
- "name": "AccordionItem",
3727
- "module": "src/accordion-item/accordion-item.ts"
3728
- }
3729
- }
3730
- ],
3731
- "members": [
3483
+ "default": "null"
3484
+ },
3732
3485
  {
3733
3486
  "kind": "field",
3734
- "name": "headinglevel",
3487
+ "name": "activeGroups",
3735
3488
  "type": {
3736
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3489
+ "text": "CriteriaGroup[]"
3737
3490
  },
3738
- "privacy": "public",
3739
- "default": "2",
3740
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3741
- "inheritedFrom": {
3742
- "name": "AccordionItem",
3743
- "module": "src/accordion-item/accordion-item.ts"
3491
+ "default": "[]"
3492
+ },
3493
+ {
3494
+ "kind": "field",
3495
+ "name": "showingChips",
3496
+ "type": {
3497
+ "text": "boolean"
3498
+ },
3499
+ "default": "false"
3500
+ },
3501
+ {
3502
+ "kind": "field",
3503
+ "name": "fieldMetadata",
3504
+ "type": {
3505
+ "text": "MetadataDetail[] | string[]"
3506
+ },
3507
+ "default": "[]"
3508
+ },
3509
+ {
3510
+ "kind": "field",
3511
+ "name": "isRecording",
3512
+ "type": {
3513
+ "text": "boolean"
3514
+ },
3515
+ "default": "false"
3516
+ },
3517
+ {
3518
+ "kind": "field",
3519
+ "name": "textAreaRef",
3520
+ "type": {
3521
+ "text": "HTMLTextAreaElement"
3522
+ },
3523
+ "privacy": "public"
3524
+ },
3525
+ {
3526
+ "kind": "field",
3527
+ "name": "stopRecording",
3528
+ "type": {
3529
+ "text": "(() => void) | null"
3530
+ },
3531
+ "privacy": "private",
3532
+ "default": "null"
3533
+ },
3534
+ {
3535
+ "kind": "field",
3536
+ "name": "speechApplyDebounceTimer",
3537
+ "type": {
3538
+ "text": "ReturnType<typeof setTimeout> | null"
3539
+ },
3540
+ "privacy": "private",
3541
+ "default": "null"
3542
+ },
3543
+ {
3544
+ "kind": "field",
3545
+ "name": "speechAvailable",
3546
+ "type": {
3547
+ "text": "boolean"
3548
+ },
3549
+ "readonly": true
3550
+ },
3551
+ {
3552
+ "kind": "field",
3553
+ "name": "criteriaChips",
3554
+ "type": {
3555
+ "text": "CriteriaChip[]"
3556
+ },
3557
+ "readonly": true
3558
+ },
3559
+ {
3560
+ "kind": "method",
3561
+ "name": "getFieldLabel",
3562
+ "privacy": "private",
3563
+ "return": {
3564
+ "type": {
3565
+ "text": "string"
3566
+ }
3567
+ },
3568
+ "parameters": [
3569
+ {
3570
+ "name": "fieldName",
3571
+ "type": {
3572
+ "text": "string"
3573
+ }
3574
+ }
3575
+ ]
3576
+ },
3577
+ {
3578
+ "kind": "method",
3579
+ "name": "toggleCriteriaView",
3580
+ "return": {
3581
+ "type": {
3582
+ "text": "void"
3583
+ }
3744
3584
  }
3745
3585
  },
3746
3586
  {
3747
- "kind": "field",
3748
- "name": "expanded",
3749
- "type": {
3750
- "text": "boolean"
3751
- },
3752
- "privacy": "public",
3753
- "default": "false",
3754
- "description": "Expands or collapses the item.",
3755
- "inheritedFrom": {
3756
- "name": "AccordionItem",
3757
- "module": "src/accordion-item/accordion-item.ts"
3587
+ "kind": "method",
3588
+ "name": "removeChip",
3589
+ "return": {
3590
+ "type": {
3591
+ "text": "void"
3592
+ }
3593
+ },
3594
+ "parameters": [
3595
+ {
3596
+ "name": "groupIndex",
3597
+ "type": {
3598
+ "text": "number"
3599
+ }
3600
+ },
3601
+ {
3602
+ "name": "clauseIndex",
3603
+ "type": {
3604
+ "text": "number"
3605
+ }
3606
+ }
3607
+ ]
3608
+ },
3609
+ {
3610
+ "kind": "method",
3611
+ "name": "clearChips",
3612
+ "return": {
3613
+ "type": {
3614
+ "text": "void"
3615
+ }
3758
3616
  }
3759
3617
  },
3760
3618
  {
3761
- "kind": "field",
3762
- "name": "id",
3763
- "type": {
3764
- "text": "string"
3765
- },
3766
- "privacy": "public",
3767
- "description": "The item ID",
3768
- "inheritedFrom": {
3769
- "name": "AccordionItem",
3770
- "module": "src/accordion-item/accordion-item.ts"
3771
- }
3619
+ "kind": "method",
3620
+ "name": "handleSubmit"
3772
3621
  },
3773
3622
  {
3774
- "kind": "field",
3775
- "name": "change",
3776
- "privacy": "private",
3777
- "inheritedFrom": {
3778
- "name": "AccordionItem",
3779
- "module": "src/accordion-item/accordion-item.ts"
3780
- }
3623
+ "kind": "method",
3624
+ "name": "handleBlur"
3625
+ },
3626
+ {
3627
+ "kind": "method",
3628
+ "name": "clear"
3629
+ },
3630
+ {
3631
+ "kind": "method",
3632
+ "name": "toggleSpeechInput"
3633
+ },
3634
+ {
3635
+ "kind": "method",
3636
+ "name": "clearSpeechApplyDebounce",
3637
+ "privacy": "private"
3781
3638
  },
3782
3639
  {
3783
3640
  "kind": "field",
@@ -3893,84 +3750,152 @@
3893
3750
  ],
3894
3751
  "events": [
3895
3752
  {
3896
- "description": "Fires a custom 'change' event when the button is invoked",
3897
- "name": "change",
3898
- "inheritedFrom": {
3899
- "name": "AccordionItem",
3900
- "module": "src/accordion-item/accordion-item.ts"
3901
- }
3753
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3754
+ "name": "criteria-changed"
3755
+ },
3756
+ {
3757
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3758
+ "name": "validation-errors"
3902
3759
  }
3903
- ]
3760
+ ],
3761
+ "attributes": [
3762
+ {
3763
+ "name": "placeholder",
3764
+ "type": {
3765
+ "text": "string"
3766
+ },
3767
+ "default": "'Describe your search criteria in natural language...'",
3768
+ "fieldName": "placeholder"
3769
+ },
3770
+ {
3771
+ "type": {
3772
+ "text": "boolean"
3773
+ },
3774
+ "fieldName": "disabled"
3775
+ }
3776
+ ],
3777
+ "superclass": {
3778
+ "name": "FoundationElement",
3779
+ "package": "@microsoft/fast-foundation"
3780
+ },
3781
+ "tagName": "%%prefix%%-ai-criteria-search",
3782
+ "customElement": true
3904
3783
  },
3905
3784
  {
3906
3785
  "kind": "variable",
3907
- "name": "foundationAccordionItemShadowOptions",
3786
+ "name": "foundationAiCriteriaSearchShadowOptions",
3908
3787
  "type": {
3909
3788
  "text": "ShadowRootInit"
3910
3789
  },
3911
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3790
+ "default": "undefined"
3912
3791
  },
3913
3792
  {
3914
3793
  "kind": "variable",
3915
- "name": "defaultAccordionItemConfig",
3794
+ "name": "defaultAiCriteriaSearchConfig",
3916
3795
  "type": {
3917
3796
  "text": "object"
3918
3797
  },
3919
- "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}"
3798
+ "default": "{}"
3920
3799
  },
3921
3800
  {
3922
3801
  "kind": "variable",
3923
- "name": "foundationAccordionItem",
3924
- "description": "The Foundation Accordion Item",
3925
- "privacy": "public"
3802
+ "name": "foundationAiCriteriaSearch"
3926
3803
  }
3927
3804
  ],
3928
3805
  "exports": [
3929
3806
  {
3930
3807
  "kind": "js",
3931
- "name": "AccordionItem",
3808
+ "name": "AiCriteriaSearch",
3932
3809
  "declaration": {
3933
- "name": "AccordionItem",
3934
- "module": "src/accordion-item/accordion-item.ts"
3810
+ "name": "AiCriteriaSearch",
3811
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3935
3812
  }
3936
3813
  },
3937
3814
  {
3938
3815
  "kind": "js",
3939
- "name": "foundationAccordionItemShadowOptions",
3816
+ "name": "foundationAiCriteriaSearchShadowOptions",
3940
3817
  "declaration": {
3941
- "name": "foundationAccordionItemShadowOptions",
3942
- "module": "src/accordion-item/accordion-item.ts"
3818
+ "name": "foundationAiCriteriaSearchShadowOptions",
3819
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3943
3820
  }
3944
3821
  },
3945
3822
  {
3946
3823
  "kind": "js",
3947
- "name": "defaultAccordionItemConfig",
3824
+ "name": "defaultAiCriteriaSearchConfig",
3948
3825
  "declaration": {
3949
- "name": "defaultAccordionItemConfig",
3950
- "module": "src/accordion-item/accordion-item.ts"
3826
+ "name": "defaultAiCriteriaSearchConfig",
3827
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3951
3828
  }
3952
3829
  },
3953
3830
  {
3954
3831
  "kind": "js",
3955
- "name": "foundationAccordionItem",
3832
+ "name": "foundationAiCriteriaSearch",
3956
3833
  "declaration": {
3957
- "name": "foundationAccordionItem",
3958
- "module": "src/accordion-item/accordion-item.ts"
3834
+ "name": "foundationAiCriteriaSearch",
3835
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3959
3836
  }
3960
3837
  }
3961
3838
  ]
3962
3839
  },
3963
3840
  {
3964
3841
  "kind": "javascript-module",
3965
- "path": "src/accordion-item/index.ts",
3842
+ "path": "src/ai-criteria-search/index.ts",
3966
3843
  "declarations": [],
3967
3844
  "exports": [
3845
+ {
3846
+ "kind": "js",
3847
+ "name": "AiCriteriaSearch",
3848
+ "declaration": {
3849
+ "name": "AiCriteriaSearch",
3850
+ "module": "./ai-criteria-search"
3851
+ }
3852
+ },
3853
+ {
3854
+ "kind": "js",
3855
+ "name": "defaultAiCriteriaSearchConfig",
3856
+ "declaration": {
3857
+ "name": "defaultAiCriteriaSearchConfig",
3858
+ "module": "./ai-criteria-search"
3859
+ }
3860
+ },
3861
+ {
3862
+ "kind": "js",
3863
+ "name": "foundationAiCriteriaSearch",
3864
+ "declaration": {
3865
+ "name": "foundationAiCriteriaSearch",
3866
+ "module": "./ai-criteria-search"
3867
+ }
3868
+ },
3869
+ {
3870
+ "kind": "js",
3871
+ "name": "foundationAiCriteriaSearchShadowOptions",
3872
+ "declaration": {
3873
+ "name": "foundationAiCriteriaSearchShadowOptions",
3874
+ "module": "./ai-criteria-search"
3875
+ }
3876
+ },
3877
+ {
3878
+ "kind": "js",
3879
+ "name": "foundationAiCriteriaSearchStyles",
3880
+ "declaration": {
3881
+ "name": "foundationAiCriteriaSearchStyles",
3882
+ "module": "./ai-criteria-search.styles"
3883
+ }
3884
+ },
3885
+ {
3886
+ "kind": "js",
3887
+ "name": "foundationAiCriteriaSearchTemplate",
3888
+ "declaration": {
3889
+ "name": "foundationAiCriteriaSearchTemplate",
3890
+ "module": "./ai-criteria-search.template"
3891
+ }
3892
+ },
3968
3893
  {
3969
3894
  "kind": "js",
3970
3895
  "name": "*",
3971
3896
  "declaration": {
3972
3897
  "name": "*",
3973
- "package": "./accordion-item.template"
3898
+ "package": "./validation/criteria-ir"
3974
3899
  }
3975
3900
  },
3976
3901
  {
@@ -3978,7 +3903,7 @@
3978
3903
  "name": "*",
3979
3904
  "declaration": {
3980
3905
  "name": "*",
3981
- "package": "./accordion-item.styles"
3906
+ "package": "./validation/operator-map"
3982
3907
  }
3983
3908
  },
3984
3909
  {
@@ -3986,7 +3911,82 @@
3986
3911
  "name": "*",
3987
3912
  "declaration": {
3988
3913
  "name": "*",
3989
- "package": "./accordion-item"
3914
+ "package": "./validation/schema-validator"
3915
+ }
3916
+ }
3917
+ ]
3918
+ },
3919
+ {
3920
+ "kind": "javascript-module",
3921
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3922
+ "declarations": [
3923
+ {
3924
+ "kind": "function",
3925
+ "name": "formatValidationErrors",
3926
+ "return": {
3927
+ "type": {
3928
+ "text": "string"
3929
+ }
3930
+ },
3931
+ "parameters": [
3932
+ {
3933
+ "name": "errors",
3934
+ "type": {
3935
+ "text": "ValidationError[]"
3936
+ }
3937
+ }
3938
+ ],
3939
+ "description": "Formats validation errors into a user-friendly message."
3940
+ },
3941
+ {
3942
+ "kind": "function",
3943
+ "name": "showCriteriaError",
3944
+ "return": {
3945
+ "type": {
3946
+ "text": "void"
3947
+ }
3948
+ },
3949
+ "parameters": [
3950
+ {
3951
+ "name": "title",
3952
+ "type": {
3953
+ "text": "string"
3954
+ },
3955
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3956
+ },
3957
+ {
3958
+ "name": "body",
3959
+ "type": {
3960
+ "text": "string"
3961
+ },
3962
+ "description": "Error message to display"
3963
+ },
3964
+ {
3965
+ "name": "tagName",
3966
+ "type": {
3967
+ "text": "string"
3968
+ },
3969
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3970
+ }
3971
+ ],
3972
+ "description": "Shows a criteria error as a toast notification."
3973
+ }
3974
+ ],
3975
+ "exports": [
3976
+ {
3977
+ "kind": "js",
3978
+ "name": "formatValidationErrors",
3979
+ "declaration": {
3980
+ "name": "formatValidationErrors",
3981
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3982
+ }
3983
+ },
3984
+ {
3985
+ "kind": "js",
3986
+ "name": "showCriteriaError",
3987
+ "declaration": {
3988
+ "name": "showCriteriaError",
3989
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3990
3990
  }
3991
3991
  }
3992
3992
  ]