@genesislcap/foundation-ui 14.429.2-alpha-0d0a008.0 → 14.429.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1400,11 +1400,34 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/accordion-item/accordion-item.styles.ts",
1403
+ "path": "src/actions-menu/actions-menu.styles.ts",
1404
1404
  "declarations": [
1405
1405
  {
1406
1406
  "kind": "function",
1407
- "name": "foundationAccordionItemStyles",
1407
+ "name": "actionsMenuBaseStyles",
1408
+ "return": {
1409
+ "type": {
1410
+ "text": "ElementStyles"
1411
+ }
1412
+ },
1413
+ "parameters": [
1414
+ {
1415
+ "name": "context",
1416
+ "type": {
1417
+ "text": "ElementDefinitionContext"
1418
+ }
1419
+ },
1420
+ {
1421
+ "name": "definition",
1422
+ "type": {
1423
+ "text": "FoundationElementDefinition"
1424
+ }
1425
+ }
1426
+ ]
1427
+ },
1428
+ {
1429
+ "kind": "function",
1430
+ "name": "foundationActionsMenuStyles",
1408
1431
  "return": {
1409
1432
  "type": {
1410
1433
  "text": "ElementStyles"
@@ -1429,230 +1452,343 @@
1429
1452
  "exports": [
1430
1453
  {
1431
1454
  "kind": "js",
1432
- "name": "foundationAccordionItemStyles",
1455
+ "name": "actionsMenuBaseStyles",
1433
1456
  "declaration": {
1434
- "name": "foundationAccordionItemStyles",
1435
- "module": "src/accordion-item/accordion-item.styles.ts"
1457
+ "name": "actionsMenuBaseStyles",
1458
+ "module": "src/actions-menu/actions-menu.styles.ts"
1459
+ }
1460
+ },
1461
+ {
1462
+ "kind": "js",
1463
+ "name": "foundationActionsMenuStyles",
1464
+ "declaration": {
1465
+ "name": "foundationActionsMenuStyles",
1466
+ "module": "src/actions-menu/actions-menu.styles.ts"
1436
1467
  }
1437
1468
  }
1438
1469
  ]
1439
1470
  },
1440
1471
  {
1441
1472
  "kind": "javascript-module",
1442
- "path": "src/accordion-item/accordion-item.template.ts",
1473
+ "path": "src/actions-menu/actions-menu.template.ts",
1443
1474
  "declarations": [
1444
1475
  {
1445
1476
  "kind": "function",
1446
- "name": "foundationAccordionItemTemplate",
1447
- "return": {
1448
- "type": {
1449
- "text": "ViewTemplate<AccordionItem>"
1450
- }
1451
- },
1477
+ "name": "menuTemplate",
1452
1478
  "parameters": [
1453
1479
  {
1454
- "name": "context",
1480
+ "name": "prefix",
1455
1481
  "type": {
1456
- "text": "ElementDefinitionContext"
1482
+ "text": "string"
1457
1483
  }
1458
- },
1484
+ }
1485
+ ]
1486
+ },
1487
+ {
1488
+ "kind": "function",
1489
+ "name": "singleOptionTemplate",
1490
+ "parameters": [
1459
1491
  {
1460
- "name": "definition",
1492
+ "name": "prefix",
1461
1493
  "type": {
1462
- "text": "FoundationElementDefinition"
1494
+ "text": "string"
1463
1495
  }
1464
1496
  }
1465
1497
  ]
1498
+ },
1499
+ {
1500
+ "kind": "variable",
1501
+ "name": "foundationActionsMenuTemplate",
1502
+ "type": {
1503
+ "text": "ViewTemplate<ActionsMenu>"
1504
+ },
1505
+ "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`"
1466
1506
  }
1467
1507
  ],
1468
1508
  "exports": [
1469
1509
  {
1470
1510
  "kind": "js",
1471
- "name": "foundationAccordionItemTemplate",
1511
+ "name": "menuTemplate",
1472
1512
  "declaration": {
1473
- "name": "foundationAccordionItemTemplate",
1474
- "module": "src/accordion-item/accordion-item.template.ts"
1513
+ "name": "menuTemplate",
1514
+ "module": "src/actions-menu/actions-menu.template.ts"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "singleOptionTemplate",
1520
+ "declaration": {
1521
+ "name": "singleOptionTemplate",
1522
+ "module": "src/actions-menu/actions-menu.template.ts"
1523
+ }
1524
+ },
1525
+ {
1526
+ "kind": "js",
1527
+ "name": "foundationActionsMenuTemplate",
1528
+ "declaration": {
1529
+ "name": "foundationActionsMenuTemplate",
1530
+ "module": "src/actions-menu/actions-menu.template.ts"
1475
1531
  }
1476
1532
  }
1477
1533
  ]
1478
1534
  },
1479
1535
  {
1480
1536
  "kind": "javascript-module",
1481
- "path": "src/accordion-item/accordion-item.ts",
1537
+ "path": "src/actions-menu/actions-menu.ts",
1482
1538
  "declarations": [
1483
1539
  {
1484
1540
  "kind": "class",
1485
1541
  "description": "",
1486
- "name": "AccordionItem",
1487
- "superclass": {
1488
- "name": "FASTAccordionItem",
1489
- "package": "@microsoft/fast-components"
1490
- },
1491
- "tagName": "%%prefix%%-accordion-item",
1492
- "customElement": true,
1493
- "attributes": [
1542
+ "name": "ActionsMenu",
1543
+ "members": [
1494
1544
  {
1495
- "name": "heading-level",
1545
+ "kind": "field",
1546
+ "name": "actions",
1496
1547
  "type": {
1497
- "text": "1 | 2 | 3 | 4 | 5 | 6"
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",
1502
- "inheritedFrom": {
1503
- "name": "AccordionItem",
1504
- "module": "src/accordion-item/accordion-item.ts"
1548
+ "text": "ActionMenuItem[]"
1505
1549
  }
1506
1550
  },
1507
1551
  {
1552
+ "kind": "field",
1553
+ "name": "isVertical",
1508
1554
  "type": {
1509
1555
  "text": "boolean"
1510
1556
  },
1511
- "default": "false",
1512
- "description": "Expands or collapses the item.",
1513
- "fieldName": "expanded",
1514
- "inheritedFrom": {
1515
- "name": "AccordionItem",
1516
- "module": "src/accordion-item/accordion-item.ts"
1517
- }
1557
+ "default": "false"
1518
1558
  },
1519
- {
1520
- "name": "id",
1521
- "type": {
1522
- "text": "string"
1523
- },
1524
- "description": "The item ID",
1525
- "fieldName": "id",
1526
- "inheritedFrom": {
1527
- "name": "AccordionItem",
1528
- "module": "src/accordion-item/accordion-item.ts"
1529
- }
1530
- }
1531
- ],
1532
- "members": [
1533
1559
  {
1534
1560
  "kind": "field",
1535
- "name": "headinglevel",
1561
+ "name": "addDefaultActions",
1536
1562
  "type": {
1537
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1563
+ "text": "boolean"
1538
1564
  },
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.",
1542
- "inheritedFrom": {
1543
- "name": "AccordionItem",
1544
- "module": "src/accordion-item/accordion-item.ts"
1545
- }
1565
+ "default": "true"
1546
1566
  },
1547
1567
  {
1548
1568
  "kind": "field",
1549
- "name": "expanded",
1569
+ "name": "autoCloseOnAction",
1550
1570
  "type": {
1551
1571
  "text": "boolean"
1552
1572
  },
1553
- "privacy": "public",
1554
- "default": "false",
1555
- "description": "Expands or collapses the item.",
1556
- "inheritedFrom": {
1557
- "name": "AccordionItem",
1558
- "module": "src/accordion-item/accordion-item.ts"
1559
- }
1573
+ "default": "true"
1560
1574
  },
1561
1575
  {
1562
1576
  "kind": "field",
1563
- "name": "id",
1577
+ "name": "classNames",
1564
1578
  "type": {
1565
1579
  "text": "string"
1566
- },
1567
- "privacy": "public",
1568
- "description": "The item ID",
1569
- "inheritedFrom": {
1570
- "name": "AccordionItem",
1571
- "module": "src/accordion-item/accordion-item.ts"
1572
1580
  }
1573
1581
  },
1574
1582
  {
1575
1583
  "kind": "field",
1576
- "name": "change",
1577
- "privacy": "private",
1578
- "inheritedFrom": {
1579
- "name": "AccordionItem",
1580
- "module": "src/accordion-item/accordion-item.ts"
1584
+ "name": "definition",
1585
+ "type": {
1586
+ "text": "any"
1581
1587
  }
1582
1588
  },
1583
1589
  {
1584
1590
  "kind": "field",
1585
- "name": "_presentation",
1591
+ "name": "name",
1586
1592
  "type": {
1587
- "text": "ComponentPresentation | null | undefined"
1593
+ "text": "string"
1588
1594
  },
1589
- "privacy": "private",
1590
- "default": "void 0",
1591
- "inheritedFrom": {
1592
- "name": "FoundationElement",
1593
- "module": "src/foundation-element/foundation-element.ts"
1594
- }
1595
+ "default": "'Actions'"
1595
1596
  },
1596
1597
  {
1597
1598
  "kind": "field",
1598
- "name": "$presentation",
1599
+ "name": "open",
1599
1600
  "type": {
1600
- "text": "ComponentPresentation | null"
1601
+ "text": "boolean"
1601
1602
  },
1602
- "privacy": "public",
1603
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1604
- "inheritedFrom": {
1605
- "name": "FoundationElement",
1606
- "module": "src/foundation-element/foundation-element.ts"
1603
+ "default": "false"
1604
+ },
1605
+ {
1606
+ "kind": "field",
1607
+ "name": "buttonAppearance",
1608
+ "type": {
1609
+ "text": "string"
1607
1610
  }
1608
1611
  },
1609
1612
  {
1610
1613
  "kind": "field",
1611
- "name": "template",
1614
+ "name": "hideDisabled",
1612
1615
  "type": {
1613
- "text": "ElementViewTemplate | void | null"
1616
+ "text": "boolean"
1614
1617
  },
1615
- "privacy": "public",
1616
- "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.",
1617
- "inheritedFrom": {
1618
- "name": "FoundationElement",
1619
- "module": "src/foundation-element/foundation-element.ts"
1620
- }
1618
+ "default": "false"
1621
1619
  },
1622
1620
  {
1623
- "kind": "method",
1624
- "name": "templateChanged",
1625
- "privacy": "protected",
1626
- "return": {
1627
- "type": {
1628
- "text": "void"
1629
- }
1621
+ "kind": "field",
1622
+ "name": "hideMenuSingleOption",
1623
+ "type": {
1624
+ "text": "boolean"
1630
1625
  },
1631
- "inheritedFrom": {
1632
- "name": "FoundationElement",
1633
- "module": "src/foundation-element/foundation-element.ts"
1626
+ "default": "false"
1627
+ },
1628
+ {
1629
+ "kind": "field",
1630
+ "name": "singleOption",
1631
+ "type": {
1632
+ "text": "ActionMenuItem"
1634
1633
  }
1635
1634
  },
1636
1635
  {
1637
1636
  "kind": "field",
1638
- "name": "styles",
1637
+ "name": "actionsMenu",
1639
1638
  "type": {
1640
- "text": "ElementStyles | void | null"
1641
- },
1642
- "privacy": "public",
1643
- "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.",
1644
- "inheritedFrom": {
1645
- "name": "FoundationElement",
1646
- "module": "src/foundation-element/foundation-element.ts"
1639
+ "text": "HTMLElement"
1647
1640
  }
1648
1641
  },
1649
1642
  {
1650
1643
  "kind": "method",
1651
- "name": "stylesChanged",
1644
+ "name": "definitionChanged",
1652
1645
  "privacy": "protected",
1653
- "return": {
1654
- "type": {
1655
- "text": "void"
1646
+ "parameters": [
1647
+ {
1648
+ "name": "oldValue",
1649
+ "type": {
1650
+ "text": "any"
1651
+ }
1652
+ },
1653
+ {
1654
+ "name": "newValue",
1655
+ "type": {
1656
+ "text": "any"
1657
+ }
1658
+ }
1659
+ ]
1660
+ },
1661
+ {
1662
+ "kind": "method",
1663
+ "name": "openChanged",
1664
+ "privacy": "protected"
1665
+ },
1666
+ {
1667
+ "kind": "method",
1668
+ "name": "toggleActionsMenuVisibility"
1669
+ },
1670
+ {
1671
+ "kind": "method",
1672
+ "name": "onActionMenuItemClick",
1673
+ "parameters": [
1674
+ {
1675
+ "name": "callback",
1676
+ "type": {
1677
+ "text": "(rowData) => void | any"
1678
+ }
1679
+ }
1680
+ ]
1681
+ },
1682
+ {
1683
+ "kind": "field",
1684
+ "name": "allActions",
1685
+ "type": {
1686
+ "text": "ActionMenuItem[]"
1687
+ },
1688
+ "readonly": true
1689
+ },
1690
+ {
1691
+ "kind": "field",
1692
+ "name": "rowData",
1693
+ "readonly": true
1694
+ },
1695
+ {
1696
+ "kind": "method",
1697
+ "name": "getLabel",
1698
+ "parameters": [
1699
+ {
1700
+ "name": "name",
1701
+ "type": {
1702
+ "text": "string | ((rowData: any) => string)"
1703
+ }
1704
+ }
1705
+ ]
1706
+ },
1707
+ {
1708
+ "kind": "method",
1709
+ "name": "getTemplate",
1710
+ "parameters": [
1711
+ {
1712
+ "name": "prefix",
1713
+ "type": {
1714
+ "text": "string"
1715
+ }
1716
+ }
1717
+ ]
1718
+ },
1719
+ {
1720
+ "kind": "field",
1721
+ "name": "_presentation",
1722
+ "type": {
1723
+ "text": "ComponentPresentation | null | undefined"
1724
+ },
1725
+ "privacy": "private",
1726
+ "default": "void 0",
1727
+ "inheritedFrom": {
1728
+ "name": "FoundationElement",
1729
+ "module": "src/foundation-element/foundation-element.ts"
1730
+ }
1731
+ },
1732
+ {
1733
+ "kind": "field",
1734
+ "name": "$presentation",
1735
+ "type": {
1736
+ "text": "ComponentPresentation | null"
1737
+ },
1738
+ "privacy": "public",
1739
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1740
+ "inheritedFrom": {
1741
+ "name": "FoundationElement",
1742
+ "module": "src/foundation-element/foundation-element.ts"
1743
+ }
1744
+ },
1745
+ {
1746
+ "kind": "field",
1747
+ "name": "template",
1748
+ "type": {
1749
+ "text": "ElementViewTemplate | void | null"
1750
+ },
1751
+ "privacy": "public",
1752
+ "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.",
1753
+ "inheritedFrom": {
1754
+ "name": "FoundationElement",
1755
+ "module": "src/foundation-element/foundation-element.ts"
1756
+ }
1757
+ },
1758
+ {
1759
+ "kind": "method",
1760
+ "name": "templateChanged",
1761
+ "privacy": "protected",
1762
+ "return": {
1763
+ "type": {
1764
+ "text": "void"
1765
+ }
1766
+ },
1767
+ "inheritedFrom": {
1768
+ "name": "FoundationElement",
1769
+ "module": "src/foundation-element/foundation-element.ts"
1770
+ }
1771
+ },
1772
+ {
1773
+ "kind": "field",
1774
+ "name": "styles",
1775
+ "type": {
1776
+ "text": "ElementStyles | void | null"
1777
+ },
1778
+ "privacy": "public",
1779
+ "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.",
1780
+ "inheritedFrom": {
1781
+ "name": "FoundationElement",
1782
+ "module": "src/foundation-element/foundation-element.ts"
1783
+ }
1784
+ },
1785
+ {
1786
+ "kind": "method",
1787
+ "name": "stylesChanged",
1788
+ "privacy": "protected",
1789
+ "return": {
1790
+ "type": {
1791
+ "text": "void"
1656
1792
  }
1657
1793
  },
1658
1794
  "inheritedFrom": {
@@ -1692,109 +1828,107 @@
1692
1828
  }
1693
1829
  }
1694
1830
  ],
1695
- "events": [
1831
+ "attributes": [
1696
1832
  {
1697
- "description": "Fires a custom 'change' event when the button is invoked",
1698
- "name": "change",
1699
- "inheritedFrom": {
1700
- "name": "AccordionItem",
1701
- "module": "src/accordion-item/accordion-item.ts"
1702
- }
1833
+ "name": "is-vertical",
1834
+ "type": {
1835
+ "text": "boolean"
1836
+ },
1837
+ "default": "false",
1838
+ "fieldName": "isVertical"
1839
+ },
1840
+ {
1841
+ "name": "add-default-actions",
1842
+ "type": {
1843
+ "text": "boolean"
1844
+ },
1845
+ "default": "true",
1846
+ "fieldName": "addDefaultActions"
1847
+ },
1848
+ {
1849
+ "name": "auto-close-on-action",
1850
+ "type": {
1851
+ "text": "boolean"
1852
+ },
1853
+ "default": "true",
1854
+ "fieldName": "autoCloseOnAction"
1855
+ },
1856
+ {
1857
+ "name": "name",
1858
+ "type": {
1859
+ "text": "string"
1860
+ },
1861
+ "default": "'Actions'",
1862
+ "fieldName": "name"
1863
+ },
1864
+ {
1865
+ "name": "open",
1866
+ "type": {
1867
+ "text": "boolean"
1868
+ },
1869
+ "default": "false",
1870
+ "fieldName": "open"
1871
+ },
1872
+ {
1873
+ "name": "buttonAppearance",
1874
+ "type": {
1875
+ "text": "string"
1876
+ },
1877
+ "fieldName": "buttonAppearance"
1878
+ },
1879
+ {
1880
+ "name": "hide-disabled",
1881
+ "type": {
1882
+ "text": "boolean"
1883
+ },
1884
+ "default": "false",
1885
+ "fieldName": "hideDisabled"
1886
+ },
1887
+ {
1888
+ "name": "hide-menu-single-option",
1889
+ "type": {
1890
+ "text": "boolean"
1891
+ },
1892
+ "default": "false",
1893
+ "fieldName": "hideMenuSingleOption"
1703
1894
  }
1704
- ]
1705
- },
1706
- {
1707
- "kind": "variable",
1708
- "name": "foundationAccordionItemShadowOptions",
1709
- "type": {
1710
- "text": "ShadowRootInit"
1711
- },
1712
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1713
- },
1714
- {
1715
- "kind": "variable",
1716
- "name": "defaultAccordionItemConfig",
1717
- "type": {
1718
- "text": "object"
1895
+ ],
1896
+ "superclass": {
1897
+ "name": "FoundationElement",
1898
+ "package": "@microsoft/fast-foundation"
1719
1899
  },
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}"
1900
+ "tagName": "%%prefix%%-actions-menu",
1901
+ "customElement": true
1721
1902
  },
1722
1903
  {
1723
1904
  "kind": "variable",
1724
- "name": "foundationAccordionItem",
1725
- "description": "The Foundation Accordion Item",
1905
+ "name": "foundationActionsMenu",
1906
+ "description": "The Foundation Actions Menu",
1726
1907
  "privacy": "public"
1727
1908
  }
1728
1909
  ],
1729
1910
  "exports": [
1730
1911
  {
1731
1912
  "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",
1749
- "declaration": {
1750
- "name": "defaultAccordionItemConfig",
1751
- "module": "src/accordion-item/accordion-item.ts"
1752
- }
1753
- },
1754
- {
1755
- "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": "*",
1772
- "declaration": {
1773
- "name": "*",
1774
- "package": "./accordion-item.template"
1775
- }
1776
- },
1777
- {
1778
- "kind": "js",
1779
- "name": "*",
1913
+ "name": "ActionsMenu",
1780
1914
  "declaration": {
1781
- "name": "*",
1782
- "package": "./accordion-item.styles"
1915
+ "name": "ActionsMenu",
1916
+ "module": "src/actions-menu/actions-menu.ts"
1783
1917
  }
1784
1918
  },
1785
1919
  {
1786
1920
  "kind": "js",
1787
- "name": "*",
1921
+ "name": "foundationActionsMenu",
1788
1922
  "declaration": {
1789
- "name": "*",
1790
- "package": "./accordion-item"
1923
+ "name": "foundationActionsMenu",
1924
+ "module": "src/actions-menu/actions-menu.ts"
1791
1925
  }
1792
1926
  }
1793
1927
  ]
1794
1928
  },
1795
1929
  {
1796
1930
  "kind": "javascript-module",
1797
- "path": "src/_config/index.ts",
1931
+ "path": "src/actions-menu/index.ts",
1798
1932
  "declarations": [],
1799
1933
  "exports": [
1800
1934
  {
@@ -1802,7 +1936,7 @@
1802
1936
  "name": "*",
1803
1937
  "declaration": {
1804
1938
  "name": "*",
1805
- "package": "./styles"
1939
+ "package": "./actions-menu.styles"
1806
1940
  }
1807
1941
  },
1808
1942
  {
@@ -1810,7 +1944,7 @@
1810
1944
  "name": "*",
1811
1945
  "declaration": {
1812
1946
  "name": "*",
1813
- "package": "./tokens"
1947
+ "package": "./actions-menu.template"
1814
1948
  }
1815
1949
  },
1816
1950
  {
@@ -1818,41 +1952,18 @@
1818
1952
  "name": "*",
1819
1953
  "declaration": {
1820
1954
  "name": "*",
1821
- "package": "./values"
1955
+ "package": "./actions-menu"
1822
1956
  }
1823
1957
  }
1824
1958
  ]
1825
1959
  },
1826
1960
  {
1827
1961
  "kind": "javascript-module",
1828
- "path": "src/actions-menu/actions-menu.styles.ts",
1962
+ "path": "src/accordion-item/accordion-item.styles.ts",
1829
1963
  "declarations": [
1830
1964
  {
1831
1965
  "kind": "function",
1832
- "name": "actionsMenuBaseStyles",
1833
- "return": {
1834
- "type": {
1835
- "text": "ElementStyles"
1836
- }
1837
- },
1838
- "parameters": [
1839
- {
1840
- "name": "context",
1841
- "type": {
1842
- "text": "ElementDefinitionContext"
1843
- }
1844
- },
1845
- {
1846
- "name": "definition",
1847
- "type": {
1848
- "text": "FoundationElementDefinition"
1849
- }
1850
- }
1851
- ]
1852
- },
1853
- {
1854
- "kind": "function",
1855
- "name": "foundationActionsMenuStyles",
1966
+ "name": "foundationAccordionItemStyles",
1856
1967
  "return": {
1857
1968
  "type": {
1858
1969
  "text": "ElementStyles"
@@ -1868,278 +1979,165 @@
1868
1979
  {
1869
1980
  "name": "definition",
1870
1981
  "type": {
1871
- "text": "FoundationElementDefinition"
1872
- }
1873
- }
1874
- ]
1875
- }
1876
- ],
1877
- "exports": [
1878
- {
1879
- "kind": "js",
1880
- "name": "actionsMenuBaseStyles",
1881
- "declaration": {
1882
- "name": "actionsMenuBaseStyles",
1883
- "module": "src/actions-menu/actions-menu.styles.ts"
1884
- }
1885
- },
1982
+ "text": "FoundationElementDefinition"
1983
+ }
1984
+ }
1985
+ ]
1986
+ }
1987
+ ],
1988
+ "exports": [
1886
1989
  {
1887
1990
  "kind": "js",
1888
- "name": "foundationActionsMenuStyles",
1991
+ "name": "foundationAccordionItemStyles",
1889
1992
  "declaration": {
1890
- "name": "foundationActionsMenuStyles",
1891
- "module": "src/actions-menu/actions-menu.styles.ts"
1993
+ "name": "foundationAccordionItemStyles",
1994
+ "module": "src/accordion-item/accordion-item.styles.ts"
1892
1995
  }
1893
1996
  }
1894
1997
  ]
1895
1998
  },
1896
1999
  {
1897
2000
  "kind": "javascript-module",
1898
- "path": "src/actions-menu/actions-menu.template.ts",
2001
+ "path": "src/accordion-item/accordion-item.template.ts",
1899
2002
  "declarations": [
1900
2003
  {
1901
2004
  "kind": "function",
1902
- "name": "menuTemplate",
2005
+ "name": "foundationAccordionItemTemplate",
2006
+ "return": {
2007
+ "type": {
2008
+ "text": "ViewTemplate<AccordionItem>"
2009
+ }
2010
+ },
1903
2011
  "parameters": [
1904
2012
  {
1905
- "name": "prefix",
2013
+ "name": "context",
1906
2014
  "type": {
1907
- "text": "string"
2015
+ "text": "ElementDefinitionContext"
1908
2016
  }
1909
- }
1910
- ]
1911
- },
1912
- {
1913
- "kind": "function",
1914
- "name": "singleOptionTemplate",
1915
- "parameters": [
2017
+ },
1916
2018
  {
1917
- "name": "prefix",
2019
+ "name": "definition",
1918
2020
  "type": {
1919
- "text": "string"
2021
+ "text": "FoundationElementDefinition"
1920
2022
  }
1921
2023
  }
1922
2024
  ]
1923
- },
1924
- {
1925
- "kind": "variable",
1926
- "name": "foundationActionsMenuTemplate",
1927
- "type": {
1928
- "text": "ViewTemplate<ActionsMenu>"
1929
- },
1930
- "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`"
1931
2025
  }
1932
2026
  ],
1933
2027
  "exports": [
1934
2028
  {
1935
2029
  "kind": "js",
1936
- "name": "menuTemplate",
1937
- "declaration": {
1938
- "name": "menuTemplate",
1939
- "module": "src/actions-menu/actions-menu.template.ts"
1940
- }
1941
- },
1942
- {
1943
- "kind": "js",
1944
- "name": "singleOptionTemplate",
1945
- "declaration": {
1946
- "name": "singleOptionTemplate",
1947
- "module": "src/actions-menu/actions-menu.template.ts"
1948
- }
1949
- },
1950
- {
1951
- "kind": "js",
1952
- "name": "foundationActionsMenuTemplate",
2030
+ "name": "foundationAccordionItemTemplate",
1953
2031
  "declaration": {
1954
- "name": "foundationActionsMenuTemplate",
1955
- "module": "src/actions-menu/actions-menu.template.ts"
2032
+ "name": "foundationAccordionItemTemplate",
2033
+ "module": "src/accordion-item/accordion-item.template.ts"
1956
2034
  }
1957
2035
  }
1958
2036
  ]
1959
2037
  },
1960
2038
  {
1961
2039
  "kind": "javascript-module",
1962
- "path": "src/actions-menu/actions-menu.ts",
2040
+ "path": "src/accordion-item/accordion-item.ts",
1963
2041
  "declarations": [
1964
2042
  {
1965
2043
  "kind": "class",
1966
2044
  "description": "",
1967
- "name": "ActionsMenu",
1968
- "members": [
1969
- {
1970
- "kind": "field",
1971
- "name": "actions",
1972
- "type": {
1973
- "text": "ActionMenuItem[]"
1974
- }
1975
- },
1976
- {
1977
- "kind": "field",
1978
- "name": "isVertical",
1979
- "type": {
1980
- "text": "boolean"
1981
- },
1982
- "default": "false"
1983
- },
2045
+ "name": "AccordionItem",
2046
+ "superclass": {
2047
+ "name": "FASTAccordionItem",
2048
+ "package": "@microsoft/fast-components"
2049
+ },
2050
+ "tagName": "%%prefix%%-accordion-item",
2051
+ "customElement": true,
2052
+ "attributes": [
1984
2053
  {
1985
- "kind": "field",
1986
- "name": "addDefaultActions",
2054
+ "name": "heading-level",
1987
2055
  "type": {
1988
- "text": "boolean"
2056
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1989
2057
  },
1990
- "default": "true"
2058
+ "default": "2",
2059
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2060
+ "fieldName": "headinglevel",
2061
+ "inheritedFrom": {
2062
+ "name": "AccordionItem",
2063
+ "module": "src/accordion-item/accordion-item.ts"
2064
+ }
1991
2065
  },
1992
2066
  {
1993
- "kind": "field",
1994
- "name": "autoCloseOnAction",
1995
2067
  "type": {
1996
2068
  "text": "boolean"
1997
2069
  },
1998
- "default": "true"
1999
- },
2000
- {
2001
- "kind": "field",
2002
- "name": "classNames",
2003
- "type": {
2004
- "text": "string"
2005
- }
2006
- },
2007
- {
2008
- "kind": "field",
2009
- "name": "definition",
2010
- "type": {
2011
- "text": "any"
2070
+ "default": "false",
2071
+ "description": "Expands or collapses the item.",
2072
+ "fieldName": "expanded",
2073
+ "inheritedFrom": {
2074
+ "name": "AccordionItem",
2075
+ "module": "src/accordion-item/accordion-item.ts"
2012
2076
  }
2013
2077
  },
2014
2078
  {
2015
- "kind": "field",
2016
- "name": "name",
2079
+ "name": "id",
2017
2080
  "type": {
2018
2081
  "text": "string"
2019
2082
  },
2020
- "default": "'Actions'"
2021
- },
2022
- {
2023
- "kind": "field",
2024
- "name": "open",
2025
- "type": {
2026
- "text": "boolean"
2027
- },
2028
- "default": "false"
2029
- },
2030
- {
2031
- "kind": "field",
2032
- "name": "buttonAppearance",
2033
- "type": {
2034
- "text": "string"
2083
+ "description": "The item ID",
2084
+ "fieldName": "id",
2085
+ "inheritedFrom": {
2086
+ "name": "AccordionItem",
2087
+ "module": "src/accordion-item/accordion-item.ts"
2035
2088
  }
2036
- },
2089
+ }
2090
+ ],
2091
+ "members": [
2037
2092
  {
2038
2093
  "kind": "field",
2039
- "name": "hideDisabled",
2094
+ "name": "headinglevel",
2040
2095
  "type": {
2041
- "text": "boolean"
2096
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2042
2097
  },
2043
- "default": "false"
2098
+ "privacy": "public",
2099
+ "default": "2",
2100
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2101
+ "inheritedFrom": {
2102
+ "name": "AccordionItem",
2103
+ "module": "src/accordion-item/accordion-item.ts"
2104
+ }
2044
2105
  },
2045
2106
  {
2046
2107
  "kind": "field",
2047
- "name": "hideMenuSingleOption",
2108
+ "name": "expanded",
2048
2109
  "type": {
2049
2110
  "text": "boolean"
2050
2111
  },
2051
- "default": "false"
2052
- },
2053
- {
2054
- "kind": "field",
2055
- "name": "singleOption",
2056
- "type": {
2057
- "text": "ActionMenuItem"
2058
- }
2059
- },
2060
- {
2061
- "kind": "field",
2062
- "name": "actionsMenu",
2063
- "type": {
2064
- "text": "HTMLElement"
2112
+ "privacy": "public",
2113
+ "default": "false",
2114
+ "description": "Expands or collapses the item.",
2115
+ "inheritedFrom": {
2116
+ "name": "AccordionItem",
2117
+ "module": "src/accordion-item/accordion-item.ts"
2065
2118
  }
2066
2119
  },
2067
- {
2068
- "kind": "method",
2069
- "name": "definitionChanged",
2070
- "privacy": "protected",
2071
- "parameters": [
2072
- {
2073
- "name": "oldValue",
2074
- "type": {
2075
- "text": "any"
2076
- }
2077
- },
2078
- {
2079
- "name": "newValue",
2080
- "type": {
2081
- "text": "any"
2082
- }
2083
- }
2084
- ]
2085
- },
2086
- {
2087
- "kind": "method",
2088
- "name": "openChanged",
2089
- "privacy": "protected"
2090
- },
2091
- {
2092
- "kind": "method",
2093
- "name": "toggleActionsMenuVisibility"
2094
- },
2095
- {
2096
- "kind": "method",
2097
- "name": "onActionMenuItemClick",
2098
- "parameters": [
2099
- {
2100
- "name": "callback",
2101
- "type": {
2102
- "text": "(rowData) => void | any"
2103
- }
2104
- }
2105
- ]
2106
- },
2107
2120
  {
2108
2121
  "kind": "field",
2109
- "name": "allActions",
2122
+ "name": "id",
2110
2123
  "type": {
2111
- "text": "ActionMenuItem[]"
2124
+ "text": "string"
2112
2125
  },
2113
- "readonly": true
2114
- },
2115
- {
2116
- "kind": "field",
2117
- "name": "rowData",
2118
- "readonly": true
2119
- },
2120
- {
2121
- "kind": "method",
2122
- "name": "getLabel",
2123
- "parameters": [
2124
- {
2125
- "name": "name",
2126
- "type": {
2127
- "text": "string | ((rowData: any) => string)"
2128
- }
2129
- }
2130
- ]
2126
+ "privacy": "public",
2127
+ "description": "The item ID",
2128
+ "inheritedFrom": {
2129
+ "name": "AccordionItem",
2130
+ "module": "src/accordion-item/accordion-item.ts"
2131
+ }
2131
2132
  },
2132
2133
  {
2133
- "kind": "method",
2134
- "name": "getTemplate",
2135
- "parameters": [
2136
- {
2137
- "name": "prefix",
2138
- "type": {
2139
- "text": "string"
2140
- }
2141
- }
2142
- ]
2134
+ "kind": "field",
2135
+ "name": "change",
2136
+ "privacy": "private",
2137
+ "inheritedFrom": {
2138
+ "name": "AccordionItem",
2139
+ "module": "src/accordion-item/accordion-item.ts"
2140
+ }
2143
2141
  },
2144
2142
  {
2145
2143
  "kind": "field",
@@ -2253,107 +2251,78 @@
2253
2251
  }
2254
2252
  }
2255
2253
  ],
2256
- "attributes": [
2257
- {
2258
- "name": "is-vertical",
2259
- "type": {
2260
- "text": "boolean"
2261
- },
2262
- "default": "false",
2263
- "fieldName": "isVertical"
2264
- },
2265
- {
2266
- "name": "add-default-actions",
2267
- "type": {
2268
- "text": "boolean"
2269
- },
2270
- "default": "true",
2271
- "fieldName": "addDefaultActions"
2272
- },
2273
- {
2274
- "name": "auto-close-on-action",
2275
- "type": {
2276
- "text": "boolean"
2277
- },
2278
- "default": "true",
2279
- "fieldName": "autoCloseOnAction"
2280
- },
2281
- {
2282
- "name": "name",
2283
- "type": {
2284
- "text": "string"
2285
- },
2286
- "default": "'Actions'",
2287
- "fieldName": "name"
2288
- },
2289
- {
2290
- "name": "open",
2291
- "type": {
2292
- "text": "boolean"
2293
- },
2294
- "default": "false",
2295
- "fieldName": "open"
2296
- },
2297
- {
2298
- "name": "buttonAppearance",
2299
- "type": {
2300
- "text": "string"
2301
- },
2302
- "fieldName": "buttonAppearance"
2303
- },
2304
- {
2305
- "name": "hide-disabled",
2306
- "type": {
2307
- "text": "boolean"
2308
- },
2309
- "default": "false",
2310
- "fieldName": "hideDisabled"
2311
- },
2254
+ "events": [
2312
2255
  {
2313
- "name": "hide-menu-single-option",
2314
- "type": {
2315
- "text": "boolean"
2316
- },
2317
- "default": "false",
2318
- "fieldName": "hideMenuSingleOption"
2256
+ "description": "Fires a custom 'change' event when the button is invoked",
2257
+ "name": "change",
2258
+ "inheritedFrom": {
2259
+ "name": "AccordionItem",
2260
+ "module": "src/accordion-item/accordion-item.ts"
2261
+ }
2319
2262
  }
2320
- ],
2321
- "superclass": {
2322
- "name": "FoundationElement",
2323
- "package": "@microsoft/fast-foundation"
2263
+ ]
2264
+ },
2265
+ {
2266
+ "kind": "variable",
2267
+ "name": "foundationAccordionItemShadowOptions",
2268
+ "type": {
2269
+ "text": "ShadowRootInit"
2324
2270
  },
2325
- "tagName": "%%prefix%%-actions-menu",
2326
- "customElement": true
2271
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2327
2272
  },
2328
2273
  {
2329
2274
  "kind": "variable",
2330
- "name": "foundationActionsMenu",
2331
- "description": "The Foundation Actions Menu",
2275
+ "name": "defaultAccordionItemConfig",
2276
+ "type": {
2277
+ "text": "object"
2278
+ },
2279
+ "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}"
2280
+ },
2281
+ {
2282
+ "kind": "variable",
2283
+ "name": "foundationAccordionItem",
2284
+ "description": "The Foundation Accordion Item",
2332
2285
  "privacy": "public"
2333
2286
  }
2334
2287
  ],
2335
2288
  "exports": [
2336
2289
  {
2337
2290
  "kind": "js",
2338
- "name": "ActionsMenu",
2291
+ "name": "AccordionItem",
2339
2292
  "declaration": {
2340
- "name": "ActionsMenu",
2341
- "module": "src/actions-menu/actions-menu.ts"
2293
+ "name": "AccordionItem",
2294
+ "module": "src/accordion-item/accordion-item.ts"
2342
2295
  }
2343
2296
  },
2344
2297
  {
2345
2298
  "kind": "js",
2346
- "name": "foundationActionsMenu",
2299
+ "name": "foundationAccordionItemShadowOptions",
2347
2300
  "declaration": {
2348
- "name": "foundationActionsMenu",
2349
- "module": "src/actions-menu/actions-menu.ts"
2301
+ "name": "foundationAccordionItemShadowOptions",
2302
+ "module": "src/accordion-item/accordion-item.ts"
2303
+ }
2304
+ },
2305
+ {
2306
+ "kind": "js",
2307
+ "name": "defaultAccordionItemConfig",
2308
+ "declaration": {
2309
+ "name": "defaultAccordionItemConfig",
2310
+ "module": "src/accordion-item/accordion-item.ts"
2311
+ }
2312
+ },
2313
+ {
2314
+ "kind": "js",
2315
+ "name": "foundationAccordionItem",
2316
+ "declaration": {
2317
+ "name": "foundationAccordionItem",
2318
+ "module": "src/accordion-item/accordion-item.ts"
2350
2319
  }
2351
2320
  }
2352
2321
  ]
2353
2322
  },
2354
2323
  {
2355
2324
  "kind": "javascript-module",
2356
- "path": "src/actions-menu/index.ts",
2325
+ "path": "src/accordion-item/index.ts",
2357
2326
  "declarations": [],
2358
2327
  "exports": [
2359
2328
  {
@@ -2361,7 +2330,7 @@
2361
2330
  "name": "*",
2362
2331
  "declaration": {
2363
2332
  "name": "*",
2364
- "package": "./actions-menu.styles"
2333
+ "package": "./accordion-item.template"
2365
2334
  }
2366
2335
  },
2367
2336
  {
@@ -2369,7 +2338,7 @@
2369
2338
  "name": "*",
2370
2339
  "declaration": {
2371
2340
  "name": "*",
2372
- "package": "./actions-menu.template"
2341
+ "package": "./accordion-item.styles"
2373
2342
  }
2374
2343
  },
2375
2344
  {
@@ -2377,101 +2346,153 @@
2377
2346
  "name": "*",
2378
2347
  "declaration": {
2379
2348
  "name": "*",
2380
- "package": "./actions-menu"
2349
+ "package": "./accordion-item"
2381
2350
  }
2382
2351
  }
2383
2352
  ]
2384
2353
  },
2385
2354
  {
2386
2355
  "kind": "javascript-module",
2387
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2356
+ "path": "src/_config/index.ts",
2357
+ "declarations": [],
2358
+ "exports": [
2359
+ {
2360
+ "kind": "js",
2361
+ "name": "*",
2362
+ "declaration": {
2363
+ "name": "*",
2364
+ "package": "./styles"
2365
+ }
2366
+ },
2367
+ {
2368
+ "kind": "js",
2369
+ "name": "*",
2370
+ "declaration": {
2371
+ "name": "*",
2372
+ "package": "./tokens"
2373
+ }
2374
+ },
2375
+ {
2376
+ "kind": "js",
2377
+ "name": "*",
2378
+ "declaration": {
2379
+ "name": "*",
2380
+ "package": "./values"
2381
+ }
2382
+ }
2383
+ ]
2384
+ },
2385
+ {
2386
+ "kind": "javascript-module",
2387
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2388
2388
  "declarations": [
2389
2389
  {
2390
- "kind": "function",
2391
- "name": "foundationAiIndicatorStyles",
2392
- "return": {
2393
- "type": {
2394
- "text": "ElementStyles"
2395
- }
2396
- },
2397
- "parameters": [
2398
- {
2399
- "name": "context",
2400
- "type": {
2401
- "text": "ElementDefinitionContext"
2402
- }
2403
- },
2404
- {
2405
- "name": "definition",
2406
- "type": {
2407
- "text": "FoundationElementDefinition"
2408
- }
2409
- }
2410
- ]
2390
+ "kind": "variable",
2391
+ "name": "foundationAiCriteriaSearchStyles",
2392
+ "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`"
2411
2393
  }
2412
2394
  ],
2413
2395
  "exports": [
2414
2396
  {
2415
2397
  "kind": "js",
2416
- "name": "foundationAiIndicatorStyles",
2398
+ "name": "foundationAiCriteriaSearchStyles",
2417
2399
  "declaration": {
2418
- "name": "foundationAiIndicatorStyles",
2419
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2400
+ "name": "foundationAiCriteriaSearchStyles",
2401
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2420
2402
  }
2421
2403
  }
2422
2404
  ]
2423
2405
  },
2424
2406
  {
2425
2407
  "kind": "javascript-module",
2426
- "path": "src/ai-indicator/ai-indicator.template.ts",
2408
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2427
2409
  "declarations": [
2428
2410
  {
2429
2411
  "kind": "variable",
2430
- "name": "foundationAiIndicatorTemplate",
2412
+ "name": "foundationAiCriteriaSearchTemplate",
2431
2413
  "type": {
2432
- "text": "ViewTemplate<AiIndicator>"
2414
+ "text": "ViewTemplate<AiCriteriaSearch>"
2433
2415
  },
2434
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2416
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2435
2417
  }
2436
2418
  ],
2437
2419
  "exports": [
2438
2420
  {
2439
2421
  "kind": "js",
2440
- "name": "foundationAiIndicatorTemplate",
2422
+ "name": "foundationAiCriteriaSearchTemplate",
2441
2423
  "declaration": {
2442
- "name": "foundationAiIndicatorTemplate",
2443
- "module": "src/ai-indicator/ai-indicator.template.ts"
2424
+ "name": "foundationAiCriteriaSearchTemplate",
2425
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2444
2426
  }
2445
2427
  }
2446
2428
  ]
2447
2429
  },
2448
2430
  {
2449
2431
  "kind": "javascript-module",
2450
- "path": "src/ai-indicator/ai-indicator.ts",
2432
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2451
2433
  "declarations": [
2452
2434
  {
2453
2435
  "kind": "class",
2454
- "description": "",
2455
- "name": "AiIndicator",
2436
+ "description": "Natural-language criteria search input with AI interpretation.",
2437
+ "name": "AiCriteriaSearch",
2456
2438
  "members": [
2457
2439
  {
2458
2440
  "kind": "field",
2459
- "name": "aiProvider",
2441
+ "name": "aiProvider",
2442
+ "type": {
2443
+ "text": "AIProvider"
2444
+ }
2445
+ },
2446
+ {
2447
+ "kind": "field",
2448
+ "name": "placeholder",
2449
+ "type": {
2450
+ "text": "string"
2451
+ },
2452
+ "default": "'Describe your search criteria in natural language...'"
2453
+ },
2454
+ {
2455
+ "kind": "field",
2456
+ "name": "disabled",
2457
+ "type": {
2458
+ "text": "boolean"
2459
+ }
2460
+ },
2461
+ {
2462
+ "kind": "field",
2463
+ "name": "inputValue",
2460
2464
  "type": {
2461
- "text": "AIProvider"
2462
- }
2465
+ "text": "string"
2466
+ },
2467
+ "default": "''"
2463
2468
  },
2464
2469
  {
2465
2470
  "kind": "field",
2466
- "name": "status",
2471
+ "name": "isInterpreting",
2467
2472
  "type": {
2468
- "text": "AIStatus | null"
2473
+ "text": "boolean"
2474
+ },
2475
+ "default": "false"
2476
+ },
2477
+ {
2478
+ "kind": "field",
2479
+ "name": "lastValidCriteria",
2480
+ "type": {
2481
+ "text": "string | null"
2469
2482
  },
2470
2483
  "default": "null"
2471
2484
  },
2472
2485
  {
2473
2486
  "kind": "field",
2474
- "name": "open",
2487
+ "name": "activeGroups",
2488
+ "type": {
2489
+ "text": "CriteriaGroup[]"
2490
+ },
2491
+ "default": "[]"
2492
+ },
2493
+ {
2494
+ "kind": "field",
2495
+ "name": "showingChips",
2475
2496
  "type": {
2476
2497
  "text": "boolean"
2477
2498
  },
@@ -2479,15 +2500,15 @@
2479
2500
  },
2480
2501
  {
2481
2502
  "kind": "field",
2482
- "name": "state",
2503
+ "name": "fieldMetadata",
2483
2504
  "type": {
2484
- "text": "AIIndicatorState"
2505
+ "text": "MetadataDetail[] | string[]"
2485
2506
  },
2486
- "default": "'none'"
2507
+ "default": "[]"
2487
2508
  },
2488
2509
  {
2489
2510
  "kind": "field",
2490
- "name": "isInstalling",
2511
+ "name": "isRecording",
2491
2512
  "type": {
2492
2513
  "text": "boolean"
2493
2514
  },
@@ -2495,29 +2516,33 @@
2495
2516
  },
2496
2517
  {
2497
2518
  "kind": "field",
2498
- "name": "pollTimer",
2519
+ "name": "textAreaRef",
2499
2520
  "type": {
2500
- "text": "ReturnType<typeof setInterval> | null"
2521
+ "text": "HTMLTextAreaElement"
2501
2522
  },
2502
- "privacy": "private",
2503
- "default": "null"
2523
+ "privacy": "public"
2504
2524
  },
2505
2525
  {
2506
2526
  "kind": "field",
2507
- "name": "clickOutside",
2508
- "privacy": "private"
2527
+ "name": "stopRecording",
2528
+ "type": {
2529
+ "text": "(() => void) | null"
2530
+ },
2531
+ "privacy": "private",
2532
+ "default": "null"
2509
2533
  },
2510
2534
  {
2511
2535
  "kind": "field",
2512
- "name": "chromeStatusLabel",
2536
+ "name": "speechApplyDebounceTimer",
2513
2537
  "type": {
2514
- "text": "string | null"
2538
+ "text": "ReturnType<typeof setTimeout> | null"
2515
2539
  },
2516
- "readonly": true
2540
+ "privacy": "private",
2541
+ "default": "null"
2517
2542
  },
2518
2543
  {
2519
2544
  "kind": "field",
2520
- "name": "canInstall",
2545
+ "name": "speechAvailable",
2521
2546
  "type": {
2522
2547
  "text": "boolean"
2523
2548
  },
@@ -2525,69 +2550,65 @@
2525
2550
  },
2526
2551
  {
2527
2552
  "kind": "field",
2528
- "name": "isDownloading",
2553
+ "name": "criteriaChips",
2529
2554
  "type": {
2530
- "text": "boolean"
2555
+ "text": "CriteriaChip[]"
2531
2556
  },
2532
2557
  "readonly": true
2533
2558
  },
2534
2559
  {
2535
2560
  "kind": "method",
2536
- "name": "openChanged",
2561
+ "name": "getFieldLabel",
2562
+ "privacy": "private",
2537
2563
  "return": {
2538
2564
  "type": {
2539
- "text": "void"
2565
+ "text": "string"
2540
2566
  }
2541
- }
2542
- },
2543
- {
2544
- "kind": "method",
2545
- "name": "handleClickOutside",
2546
- "privacy": "private",
2567
+ },
2547
2568
  "parameters": [
2548
2569
  {
2549
- "name": "event",
2570
+ "name": "fieldName",
2550
2571
  "type": {
2551
- "text": "MouseEvent"
2572
+ "text": "string"
2552
2573
  }
2553
2574
  }
2554
2575
  ]
2555
2576
  },
2556
2577
  {
2557
2578
  "kind": "method",
2558
- "name": "toggleDropdown"
2559
- },
2560
- {
2561
- "kind": "method",
2562
- "name": "refreshStatus",
2579
+ "name": "toggleCriteriaView",
2563
2580
  "return": {
2564
2581
  "type": {
2565
- "text": "Promise<void>"
2582
+ "text": "void"
2566
2583
  }
2567
2584
  }
2568
2585
  },
2569
2586
  {
2570
2587
  "kind": "method",
2571
- "name": "deriveState",
2572
- "privacy": "private",
2588
+ "name": "removeChip",
2573
2589
  "return": {
2574
2590
  "type": {
2575
- "text": "AIIndicatorState"
2591
+ "text": "void"
2576
2592
  }
2577
2593
  },
2578
2594
  "parameters": [
2579
2595
  {
2580
- "name": "s",
2596
+ "name": "groupIndex",
2581
2597
  "type": {
2582
- "text": "AIStatus | null"
2598
+ "text": "number"
2599
+ }
2600
+ },
2601
+ {
2602
+ "name": "clauseIndex",
2603
+ "type": {
2604
+ "text": "number"
2583
2605
  }
2584
2606
  }
2585
2607
  ]
2586
2608
  },
2587
2609
  {
2588
2610
  "kind": "method",
2589
- "name": "maybeStartPolling",
2590
- "privacy": "private",
2611
+ "name": "clearChips",
2591
2612
  "return": {
2592
2613
  "type": {
2593
2614
  "text": "void"
@@ -2596,32 +2617,24 @@
2596
2617
  },
2597
2618
  {
2598
2619
  "kind": "method",
2599
- "name": "startPolling",
2600
- "privacy": "private",
2601
- "return": {
2602
- "type": {
2603
- "text": "void"
2604
- }
2605
- }
2620
+ "name": "handleSubmit"
2606
2621
  },
2607
2622
  {
2608
2623
  "kind": "method",
2609
- "name": "stopPolling",
2610
- "privacy": "private",
2611
- "return": {
2612
- "type": {
2613
- "text": "void"
2614
- }
2615
- }
2624
+ "name": "handleBlur"
2616
2625
  },
2617
2626
  {
2618
2627
  "kind": "method",
2619
- "name": "onInstall",
2620
- "return": {
2621
- "type": {
2622
- "text": "Promise<void>"
2623
- }
2624
- }
2628
+ "name": "clear"
2629
+ },
2630
+ {
2631
+ "kind": "method",
2632
+ "name": "toggleSpeechInput"
2633
+ },
2634
+ {
2635
+ "kind": "method",
2636
+ "name": "clearSpeechApplyDebounce",
2637
+ "privacy": "private"
2625
2638
  },
2626
2639
  {
2627
2640
  "kind": "field",
@@ -2735,145 +2748,320 @@
2735
2748
  }
2736
2749
  }
2737
2750
  ],
2751
+ "events": [
2752
+ {
2753
+ "description": "Fired when interpreted criteria is applied or cleared",
2754
+ "name": "criteria-changed"
2755
+ },
2756
+ {
2757
+ "description": "Fired when interpreted criteria contains invalid clauses",
2758
+ "name": "validation-errors"
2759
+ }
2760
+ ],
2761
+ "attributes": [
2762
+ {
2763
+ "name": "placeholder",
2764
+ "type": {
2765
+ "text": "string"
2766
+ },
2767
+ "default": "'Describe your search criteria in natural language...'",
2768
+ "fieldName": "placeholder"
2769
+ },
2770
+ {
2771
+ "type": {
2772
+ "text": "boolean"
2773
+ },
2774
+ "fieldName": "disabled"
2775
+ }
2776
+ ],
2738
2777
  "superclass": {
2739
2778
  "name": "FoundationElement",
2740
2779
  "package": "@microsoft/fast-foundation"
2741
2780
  },
2742
- "tagName": "%%prefix%%-ai-indicator",
2781
+ "tagName": "%%prefix%%-ai-criteria-search",
2743
2782
  "customElement": true
2744
2783
  },
2745
2784
  {
2746
2785
  "kind": "variable",
2747
- "name": "foundationAiIndicator"
2786
+ "name": "foundationAiCriteriaSearchShadowOptions",
2787
+ "type": {
2788
+ "text": "ShadowRootInit"
2789
+ },
2790
+ "default": "undefined"
2791
+ },
2792
+ {
2793
+ "kind": "variable",
2794
+ "name": "defaultAiCriteriaSearchConfig",
2795
+ "type": {
2796
+ "text": "object"
2797
+ },
2798
+ "default": "{}"
2799
+ },
2800
+ {
2801
+ "kind": "variable",
2802
+ "name": "foundationAiCriteriaSearch"
2748
2803
  }
2749
2804
  ],
2750
2805
  "exports": [
2751
2806
  {
2752
2807
  "kind": "js",
2753
- "name": "AiIndicator",
2808
+ "name": "AiCriteriaSearch",
2754
2809
  "declaration": {
2755
- "name": "AiIndicator",
2756
- "module": "src/ai-indicator/ai-indicator.ts"
2810
+ "name": "AiCriteriaSearch",
2811
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2757
2812
  }
2758
2813
  },
2759
2814
  {
2760
2815
  "kind": "js",
2761
- "name": "foundationAiIndicator",
2816
+ "name": "foundationAiCriteriaSearchShadowOptions",
2762
2817
  "declaration": {
2763
- "name": "foundationAiIndicator",
2764
- "module": "src/ai-indicator/ai-indicator.ts"
2818
+ "name": "foundationAiCriteriaSearchShadowOptions",
2819
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2820
+ }
2821
+ },
2822
+ {
2823
+ "kind": "js",
2824
+ "name": "defaultAiCriteriaSearchConfig",
2825
+ "declaration": {
2826
+ "name": "defaultAiCriteriaSearchConfig",
2827
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2828
+ }
2829
+ },
2830
+ {
2831
+ "kind": "js",
2832
+ "name": "foundationAiCriteriaSearch",
2833
+ "declaration": {
2834
+ "name": "foundationAiCriteriaSearch",
2835
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2765
2836
  }
2766
2837
  }
2767
2838
  ]
2768
2839
  },
2769
2840
  {
2770
2841
  "kind": "javascript-module",
2771
- "path": "src/ai-indicator/index.ts",
2842
+ "path": "src/ai-criteria-search/index.ts",
2772
2843
  "declarations": [],
2773
2844
  "exports": [
2774
2845
  {
2775
2846
  "kind": "js",
2776
- "name": "AiIndicator",
2847
+ "name": "AiCriteriaSearch",
2848
+ "declaration": {
2849
+ "name": "AiCriteriaSearch",
2850
+ "module": "./ai-criteria-search"
2851
+ }
2852
+ },
2853
+ {
2854
+ "kind": "js",
2855
+ "name": "defaultAiCriteriaSearchConfig",
2856
+ "declaration": {
2857
+ "name": "defaultAiCriteriaSearchConfig",
2858
+ "module": "./ai-criteria-search"
2859
+ }
2860
+ },
2861
+ {
2862
+ "kind": "js",
2863
+ "name": "foundationAiCriteriaSearch",
2864
+ "declaration": {
2865
+ "name": "foundationAiCriteriaSearch",
2866
+ "module": "./ai-criteria-search"
2867
+ }
2868
+ },
2869
+ {
2870
+ "kind": "js",
2871
+ "name": "foundationAiCriteriaSearchShadowOptions",
2872
+ "declaration": {
2873
+ "name": "foundationAiCriteriaSearchShadowOptions",
2874
+ "module": "./ai-criteria-search"
2875
+ }
2876
+ },
2877
+ {
2878
+ "kind": "js",
2879
+ "name": "foundationAiCriteriaSearchStyles",
2880
+ "declaration": {
2881
+ "name": "foundationAiCriteriaSearchStyles",
2882
+ "module": "./ai-criteria-search.styles"
2883
+ }
2884
+ },
2885
+ {
2886
+ "kind": "js",
2887
+ "name": "foundationAiCriteriaSearchTemplate",
2777
2888
  "declaration": {
2778
- "name": "AiIndicator",
2779
- "module": "./ai-indicator"
2889
+ "name": "foundationAiCriteriaSearchTemplate",
2890
+ "module": "./ai-criteria-search.template"
2780
2891
  }
2781
2892
  },
2782
2893
  {
2783
2894
  "kind": "js",
2784
- "name": "foundationAiIndicator",
2895
+ "name": "*",
2785
2896
  "declaration": {
2786
- "name": "foundationAiIndicator",
2787
- "module": "./ai-indicator"
2897
+ "name": "*",
2898
+ "package": "./validation/criteria-ir"
2788
2899
  }
2789
2900
  },
2790
2901
  {
2791
2902
  "kind": "js",
2792
- "name": "type",
2903
+ "name": "*",
2793
2904
  "declaration": {
2794
- "name": "type",
2795
- "module": "./ai-indicator"
2905
+ "name": "*",
2906
+ "package": "./validation/operator-map"
2796
2907
  }
2797
2908
  },
2798
2909
  {
2799
2910
  "kind": "js",
2800
- "name": "AIIndicatorState",
2911
+ "name": "*",
2801
2912
  "declaration": {
2802
- "name": "AIIndicatorState",
2803
- "module": "./ai-indicator"
2913
+ "name": "*",
2914
+ "package": "./validation/schema-validator"
2804
2915
  }
2916
+ }
2917
+ ]
2918
+ },
2919
+ {
2920
+ "kind": "javascript-module",
2921
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2922
+ "declarations": [
2923
+ {
2924
+ "kind": "function",
2925
+ "name": "formatValidationErrors",
2926
+ "return": {
2927
+ "type": {
2928
+ "text": "string"
2929
+ }
2930
+ },
2931
+ "parameters": [
2932
+ {
2933
+ "name": "errors",
2934
+ "type": {
2935
+ "text": "ValidationError[]"
2936
+ }
2937
+ }
2938
+ ],
2939
+ "description": "Formats validation errors into a user-friendly message."
2805
2940
  },
2941
+ {
2942
+ "kind": "function",
2943
+ "name": "showCriteriaError",
2944
+ "return": {
2945
+ "type": {
2946
+ "text": "void"
2947
+ }
2948
+ },
2949
+ "parameters": [
2950
+ {
2951
+ "name": "title",
2952
+ "type": {
2953
+ "text": "string"
2954
+ },
2955
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2956
+ },
2957
+ {
2958
+ "name": "body",
2959
+ "type": {
2960
+ "text": "string"
2961
+ },
2962
+ "description": "Error message to display"
2963
+ },
2964
+ {
2965
+ "name": "tagName",
2966
+ "type": {
2967
+ "text": "string"
2968
+ },
2969
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2970
+ }
2971
+ ],
2972
+ "description": "Shows a criteria error as a toast notification."
2973
+ }
2974
+ ],
2975
+ "exports": [
2806
2976
  {
2807
2977
  "kind": "js",
2808
- "name": "foundationAiIndicatorTemplate",
2978
+ "name": "formatValidationErrors",
2809
2979
  "declaration": {
2810
- "name": "foundationAiIndicatorTemplate",
2811
- "module": "./ai-indicator.template"
2980
+ "name": "formatValidationErrors",
2981
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2812
2982
  }
2813
2983
  },
2814
2984
  {
2815
2985
  "kind": "js",
2816
- "name": "foundationAiIndicatorStyles",
2986
+ "name": "showCriteriaError",
2817
2987
  "declaration": {
2818
- "name": "foundationAiIndicatorStyles",
2819
- "module": "./ai-indicator.styles"
2988
+ "name": "showCriteriaError",
2989
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2820
2990
  }
2821
2991
  }
2822
2992
  ]
2823
2993
  },
2824
2994
  {
2825
2995
  "kind": "javascript-module",
2826
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2996
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2827
2997
  "declarations": [
2828
2998
  {
2829
- "kind": "variable",
2830
- "name": "foundationAiCriteriaSearchStyles",
2831
- "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`"
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
+ ]
2832
3020
  }
2833
3021
  ],
2834
3022
  "exports": [
2835
3023
  {
2836
3024
  "kind": "js",
2837
- "name": "foundationAiCriteriaSearchStyles",
3025
+ "name": "foundationAiIndicatorStyles",
2838
3026
  "declaration": {
2839
- "name": "foundationAiCriteriaSearchStyles",
2840
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3027
+ "name": "foundationAiIndicatorStyles",
3028
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2841
3029
  }
2842
3030
  }
2843
3031
  ]
2844
3032
  },
2845
3033
  {
2846
3034
  "kind": "javascript-module",
2847
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3035
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2848
3036
  "declarations": [
2849
3037
  {
2850
3038
  "kind": "variable",
2851
- "name": "foundationAiCriteriaSearchTemplate",
3039
+ "name": "foundationAiIndicatorTemplate",
2852
3040
  "type": {
2853
- "text": "ViewTemplate<AiCriteriaSearch>"
3041
+ "text": "ViewTemplate<AiIndicator>"
2854
3042
  },
2855
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3043
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2856
3044
  }
2857
3045
  ],
2858
3046
  "exports": [
2859
3047
  {
2860
3048
  "kind": "js",
2861
- "name": "foundationAiCriteriaSearchTemplate",
3049
+ "name": "foundationAiIndicatorTemplate",
2862
3050
  "declaration": {
2863
- "name": "foundationAiCriteriaSearchTemplate",
2864
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3051
+ "name": "foundationAiIndicatorTemplate",
3052
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2865
3053
  }
2866
3054
  }
2867
3055
  ]
2868
3056
  },
2869
3057
  {
2870
3058
  "kind": "javascript-module",
2871
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3059
+ "path": "src/ai-indicator/ai-indicator.ts",
2872
3060
  "declarations": [
2873
3061
  {
2874
3062
  "kind": "class",
2875
- "description": "Natural-language criteria search input with AI interpretation.",
2876
- "name": "AiCriteriaSearch",
3063
+ "description": "",
3064
+ "name": "AiIndicator",
2877
3065
  "members": [
2878
3066
  {
2879
3067
  "kind": "field",
@@ -2884,54 +3072,15 @@
2884
3072
  },
2885
3073
  {
2886
3074
  "kind": "field",
2887
- "name": "placeholder",
2888
- "type": {
2889
- "text": "string"
2890
- },
2891
- "default": "'Describe your search criteria in natural language...'"
2892
- },
2893
- {
2894
- "kind": "field",
2895
- "name": "disabled",
2896
- "type": {
2897
- "text": "boolean"
2898
- }
2899
- },
2900
- {
2901
- "kind": "field",
2902
- "name": "inputValue",
2903
- "type": {
2904
- "text": "string"
2905
- },
2906
- "default": "''"
2907
- },
2908
- {
2909
- "kind": "field",
2910
- "name": "isInterpreting",
2911
- "type": {
2912
- "text": "boolean"
2913
- },
2914
- "default": "false"
2915
- },
2916
- {
2917
- "kind": "field",
2918
- "name": "lastValidCriteria",
3075
+ "name": "status",
2919
3076
  "type": {
2920
- "text": "string | null"
3077
+ "text": "AIStatus | null"
2921
3078
  },
2922
3079
  "default": "null"
2923
3080
  },
2924
3081
  {
2925
3082
  "kind": "field",
2926
- "name": "activeGroups",
2927
- "type": {
2928
- "text": "CriteriaGroup[]"
2929
- },
2930
- "default": "[]"
2931
- },
2932
- {
2933
- "kind": "field",
2934
- "name": "showingChips",
3083
+ "name": "open",
2935
3084
  "type": {
2936
3085
  "text": "boolean"
2937
3086
  },
@@ -2939,15 +3088,15 @@
2939
3088
  },
2940
3089
  {
2941
3090
  "kind": "field",
2942
- "name": "fieldMetadata",
3091
+ "name": "state",
2943
3092
  "type": {
2944
- "text": "MetadataDetail[] | string[]"
3093
+ "text": "AIIndicatorState"
2945
3094
  },
2946
- "default": "[]"
3095
+ "default": "'none'"
2947
3096
  },
2948
3097
  {
2949
3098
  "kind": "field",
2950
- "name": "isRecording",
3099
+ "name": "isInstalling",
2951
3100
  "type": {
2952
3101
  "text": "boolean"
2953
3102
  },
@@ -2955,33 +3104,29 @@
2955
3104
  },
2956
3105
  {
2957
3106
  "kind": "field",
2958
- "name": "textAreaRef",
3107
+ "name": "pollTimer",
2959
3108
  "type": {
2960
- "text": "HTMLTextAreaElement"
3109
+ "text": "ReturnType<typeof setInterval> | null"
2961
3110
  },
2962
- "privacy": "public"
3111
+ "privacy": "private",
3112
+ "default": "null"
2963
3113
  },
2964
3114
  {
2965
3115
  "kind": "field",
2966
- "name": "stopRecording",
2967
- "type": {
2968
- "text": "(() => void) | null"
2969
- },
2970
- "privacy": "private",
2971
- "default": "null"
3116
+ "name": "clickOutside",
3117
+ "privacy": "private"
2972
3118
  },
2973
3119
  {
2974
3120
  "kind": "field",
2975
- "name": "speechApplyDebounceTimer",
3121
+ "name": "chromeStatusLabel",
2976
3122
  "type": {
2977
- "text": "ReturnType<typeof setTimeout> | null"
3123
+ "text": "string | null"
2978
3124
  },
2979
- "privacy": "private",
2980
- "default": "null"
3125
+ "readonly": true
2981
3126
  },
2982
3127
  {
2983
3128
  "kind": "field",
2984
- "name": "speechAvailable",
3129
+ "name": "canInstall",
2985
3130
  "type": {
2986
3131
  "text": "boolean"
2987
3132
  },
@@ -2989,65 +3134,69 @@
2989
3134
  },
2990
3135
  {
2991
3136
  "kind": "field",
2992
- "name": "criteriaChips",
3137
+ "name": "isDownloading",
2993
3138
  "type": {
2994
- "text": "CriteriaChip[]"
3139
+ "text": "boolean"
2995
3140
  },
2996
3141
  "readonly": true
2997
3142
  },
2998
3143
  {
2999
3144
  "kind": "method",
3000
- "name": "getFieldLabel",
3001
- "privacy": "private",
3145
+ "name": "openChanged",
3002
3146
  "return": {
3003
3147
  "type": {
3004
- "text": "string"
3148
+ "text": "void"
3005
3149
  }
3006
- },
3150
+ }
3151
+ },
3152
+ {
3153
+ "kind": "method",
3154
+ "name": "handleClickOutside",
3155
+ "privacy": "private",
3007
3156
  "parameters": [
3008
3157
  {
3009
- "name": "fieldName",
3158
+ "name": "event",
3010
3159
  "type": {
3011
- "text": "string"
3160
+ "text": "MouseEvent"
3012
3161
  }
3013
3162
  }
3014
3163
  ]
3015
3164
  },
3016
3165
  {
3017
3166
  "kind": "method",
3018
- "name": "toggleCriteriaView",
3167
+ "name": "toggleDropdown"
3168
+ },
3169
+ {
3170
+ "kind": "method",
3171
+ "name": "refreshStatus",
3019
3172
  "return": {
3020
3173
  "type": {
3021
- "text": "void"
3174
+ "text": "Promise<void>"
3022
3175
  }
3023
3176
  }
3024
3177
  },
3025
3178
  {
3026
3179
  "kind": "method",
3027
- "name": "removeChip",
3180
+ "name": "deriveState",
3181
+ "privacy": "private",
3028
3182
  "return": {
3029
3183
  "type": {
3030
- "text": "void"
3184
+ "text": "AIIndicatorState"
3031
3185
  }
3032
3186
  },
3033
3187
  "parameters": [
3034
3188
  {
3035
- "name": "groupIndex",
3036
- "type": {
3037
- "text": "number"
3038
- }
3039
- },
3040
- {
3041
- "name": "clauseIndex",
3189
+ "name": "s",
3042
3190
  "type": {
3043
- "text": "number"
3191
+ "text": "AIStatus | null"
3044
3192
  }
3045
3193
  }
3046
3194
  ]
3047
3195
  },
3048
3196
  {
3049
3197
  "kind": "method",
3050
- "name": "clearChips",
3198
+ "name": "maybeStartPolling",
3199
+ "privacy": "private",
3051
3200
  "return": {
3052
3201
  "type": {
3053
3202
  "text": "void"
@@ -3056,24 +3205,32 @@
3056
3205
  },
3057
3206
  {
3058
3207
  "kind": "method",
3059
- "name": "handleSubmit"
3060
- },
3061
- {
3062
- "kind": "method",
3063
- "name": "handleBlur"
3064
- },
3065
- {
3066
- "kind": "method",
3067
- "name": "clear"
3208
+ "name": "startPolling",
3209
+ "privacy": "private",
3210
+ "return": {
3211
+ "type": {
3212
+ "text": "void"
3213
+ }
3214
+ }
3068
3215
  },
3069
3216
  {
3070
3217
  "kind": "method",
3071
- "name": "toggleSpeechInput"
3218
+ "name": "stopPolling",
3219
+ "privacy": "private",
3220
+ "return": {
3221
+ "type": {
3222
+ "text": "void"
3223
+ }
3224
+ }
3072
3225
  },
3073
3226
  {
3074
3227
  "kind": "method",
3075
- "name": "clearSpeechApplyDebounce",
3076
- "privacy": "private"
3228
+ "name": "onInstall",
3229
+ "return": {
3230
+ "type": {
3231
+ "text": "Promise<void>"
3232
+ }
3233
+ }
3077
3234
  },
3078
3235
  {
3079
3236
  "kind": "field",
@@ -3187,245 +3344,88 @@
3187
3344
  }
3188
3345
  }
3189
3346
  ],
3190
- "events": [
3191
- {
3192
- "description": "Fired when interpreted criteria is applied or cleared",
3193
- "name": "criteria-changed"
3194
- },
3195
- {
3196
- "description": "Fired when interpreted criteria contains invalid clauses",
3197
- "name": "validation-errors"
3198
- }
3199
- ],
3200
- "attributes": [
3201
- {
3202
- "name": "placeholder",
3203
- "type": {
3204
- "text": "string"
3205
- },
3206
- "default": "'Describe your search criteria in natural language...'",
3207
- "fieldName": "placeholder"
3208
- },
3209
- {
3210
- "type": {
3211
- "text": "boolean"
3212
- },
3213
- "fieldName": "disabled"
3214
- }
3215
- ],
3216
3347
  "superclass": {
3217
3348
  "name": "FoundationElement",
3218
3349
  "package": "@microsoft/fast-foundation"
3219
3350
  },
3220
- "tagName": "%%prefix%%-ai-criteria-search",
3351
+ "tagName": "%%prefix%%-ai-indicator",
3221
3352
  "customElement": true
3222
3353
  },
3223
3354
  {
3224
3355
  "kind": "variable",
3225
- "name": "foundationAiCriteriaSearchShadowOptions",
3226
- "type": {
3227
- "text": "ShadowRootInit"
3228
- },
3229
- "default": "undefined"
3230
- },
3231
- {
3232
- "kind": "variable",
3233
- "name": "defaultAiCriteriaSearchConfig",
3234
- "type": {
3235
- "text": "object"
3236
- },
3237
- "default": "{}"
3238
- },
3239
- {
3240
- "kind": "variable",
3241
- "name": "foundationAiCriteriaSearch"
3356
+ "name": "foundationAiIndicator"
3242
3357
  }
3243
3358
  ],
3244
3359
  "exports": [
3245
3360
  {
3246
3361
  "kind": "js",
3247
- "name": "AiCriteriaSearch",
3248
- "declaration": {
3249
- "name": "AiCriteriaSearch",
3250
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3251
- }
3252
- },
3253
- {
3254
- "kind": "js",
3255
- "name": "foundationAiCriteriaSearchShadowOptions",
3256
- "declaration": {
3257
- "name": "foundationAiCriteriaSearchShadowOptions",
3258
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3259
- }
3260
- },
3261
- {
3262
- "kind": "js",
3263
- "name": "defaultAiCriteriaSearchConfig",
3362
+ "name": "AiIndicator",
3264
3363
  "declaration": {
3265
- "name": "defaultAiCriteriaSearchConfig",
3266
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3364
+ "name": "AiIndicator",
3365
+ "module": "src/ai-indicator/ai-indicator.ts"
3267
3366
  }
3268
3367
  },
3269
3368
  {
3270
3369
  "kind": "js",
3271
- "name": "foundationAiCriteriaSearch",
3370
+ "name": "foundationAiIndicator",
3272
3371
  "declaration": {
3273
- "name": "foundationAiCriteriaSearch",
3274
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3372
+ "name": "foundationAiIndicator",
3373
+ "module": "src/ai-indicator/ai-indicator.ts"
3275
3374
  }
3276
3375
  }
3277
3376
  ]
3278
3377
  },
3279
3378
  {
3280
3379
  "kind": "javascript-module",
3281
- "path": "src/ai-criteria-search/index.ts",
3380
+ "path": "src/ai-indicator/index.ts",
3282
3381
  "declarations": [],
3283
3382
  "exports": [
3284
3383
  {
3285
3384
  "kind": "js",
3286
- "name": "AiCriteriaSearch",
3287
- "declaration": {
3288
- "name": "AiCriteriaSearch",
3289
- "module": "./ai-criteria-search"
3290
- }
3291
- },
3292
- {
3293
- "kind": "js",
3294
- "name": "defaultAiCriteriaSearchConfig",
3295
- "declaration": {
3296
- "name": "defaultAiCriteriaSearchConfig",
3297
- "module": "./ai-criteria-search"
3298
- }
3299
- },
3300
- {
3301
- "kind": "js",
3302
- "name": "foundationAiCriteriaSearch",
3303
- "declaration": {
3304
- "name": "foundationAiCriteriaSearch",
3305
- "module": "./ai-criteria-search"
3306
- }
3307
- },
3308
- {
3309
- "kind": "js",
3310
- "name": "foundationAiCriteriaSearchShadowOptions",
3311
- "declaration": {
3312
- "name": "foundationAiCriteriaSearchShadowOptions",
3313
- "module": "./ai-criteria-search"
3314
- }
3315
- },
3316
- {
3317
- "kind": "js",
3318
- "name": "foundationAiCriteriaSearchStyles",
3319
- "declaration": {
3320
- "name": "foundationAiCriteriaSearchStyles",
3321
- "module": "./ai-criteria-search.styles"
3322
- }
3323
- },
3324
- {
3325
- "kind": "js",
3326
- "name": "foundationAiCriteriaSearchTemplate",
3385
+ "name": "AiIndicator",
3327
3386
  "declaration": {
3328
- "name": "foundationAiCriteriaSearchTemplate",
3329
- "module": "./ai-criteria-search.template"
3387
+ "name": "AiIndicator",
3388
+ "module": "./ai-indicator"
3330
3389
  }
3331
3390
  },
3332
3391
  {
3333
3392
  "kind": "js",
3334
- "name": "*",
3393
+ "name": "foundationAiIndicator",
3335
3394
  "declaration": {
3336
- "name": "*",
3337
- "package": "./validation/criteria-ir"
3395
+ "name": "foundationAiIndicator",
3396
+ "module": "./ai-indicator"
3338
3397
  }
3339
3398
  },
3340
3399
  {
3341
3400
  "kind": "js",
3342
- "name": "*",
3401
+ "name": "type",
3343
3402
  "declaration": {
3344
- "name": "*",
3345
- "package": "./validation/operator-map"
3403
+ "name": "type",
3404
+ "module": "./ai-indicator"
3346
3405
  }
3347
3406
  },
3348
3407
  {
3349
3408
  "kind": "js",
3350
- "name": "*",
3409
+ "name": "AIIndicatorState",
3351
3410
  "declaration": {
3352
- "name": "*",
3353
- "package": "./validation/schema-validator"
3411
+ "name": "AIIndicatorState",
3412
+ "module": "./ai-indicator"
3354
3413
  }
3355
- }
3356
- ]
3357
- },
3358
- {
3359
- "kind": "javascript-module",
3360
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3361
- "declarations": [
3362
- {
3363
- "kind": "function",
3364
- "name": "formatValidationErrors",
3365
- "return": {
3366
- "type": {
3367
- "text": "string"
3368
- }
3369
- },
3370
- "parameters": [
3371
- {
3372
- "name": "errors",
3373
- "type": {
3374
- "text": "ValidationError[]"
3375
- }
3376
- }
3377
- ],
3378
- "description": "Formats validation errors into a user-friendly message."
3379
3414
  },
3380
- {
3381
- "kind": "function",
3382
- "name": "showCriteriaError",
3383
- "return": {
3384
- "type": {
3385
- "text": "void"
3386
- }
3387
- },
3388
- "parameters": [
3389
- {
3390
- "name": "title",
3391
- "type": {
3392
- "text": "string"
3393
- },
3394
- "description": "Notification title (e.g. \"Criteria validation error\")"
3395
- },
3396
- {
3397
- "name": "body",
3398
- "type": {
3399
- "text": "string"
3400
- },
3401
- "description": "Error message to display"
3402
- },
3403
- {
3404
- "name": "tagName",
3405
- "type": {
3406
- "text": "string"
3407
- },
3408
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3409
- }
3410
- ],
3411
- "description": "Shows a criteria error as a toast notification."
3412
- }
3413
- ],
3414
- "exports": [
3415
3415
  {
3416
3416
  "kind": "js",
3417
- "name": "formatValidationErrors",
3417
+ "name": "foundationAiIndicatorTemplate",
3418
3418
  "declaration": {
3419
- "name": "formatValidationErrors",
3420
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3419
+ "name": "foundationAiIndicatorTemplate",
3420
+ "module": "./ai-indicator.template"
3421
3421
  }
3422
3422
  },
3423
3423
  {
3424
3424
  "kind": "js",
3425
- "name": "showCriteriaError",
3425
+ "name": "foundationAiIndicatorStyles",
3426
3426
  "declaration": {
3427
- "name": "showCriteriaError",
3428
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3427
+ "name": "foundationAiIndicatorStyles",
3428
+ "module": "./ai-indicator.styles"
3429
3429
  }
3430
3430
  }
3431
3431
  ]