@genesislcap/foundation-ui 15.54.0 → 15.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1495,11 +1495,42 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/accordion/accordion.styles.ts",
1498
+ "path": "src/_config/index.ts",
1499
+ "declarations": [],
1500
+ "exports": [
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "*",
1504
+ "declaration": {
1505
+ "name": "*",
1506
+ "package": "./styles"
1507
+ }
1508
+ },
1509
+ {
1510
+ "kind": "js",
1511
+ "name": "*",
1512
+ "declaration": {
1513
+ "name": "*",
1514
+ "package": "./tokens"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "*",
1520
+ "declaration": {
1521
+ "name": "*",
1522
+ "package": "./values"
1523
+ }
1524
+ }
1525
+ ]
1526
+ },
1527
+ {
1528
+ "kind": "javascript-module",
1529
+ "path": "src/accordion-item/accordion-item.styles.ts",
1499
1530
  "declarations": [
1500
1531
  {
1501
1532
  "kind": "function",
1502
- "name": "foundationAccordionStyles",
1533
+ "name": "foundationAccordionItemStyles",
1503
1534
  "return": {
1504
1535
  "type": {
1505
1536
  "text": "ElementStyles"
@@ -1524,24 +1555,24 @@
1524
1555
  "exports": [
1525
1556
  {
1526
1557
  "kind": "js",
1527
- "name": "foundationAccordionStyles",
1558
+ "name": "foundationAccordionItemStyles",
1528
1559
  "declaration": {
1529
- "name": "foundationAccordionStyles",
1530
- "module": "src/accordion/accordion.styles.ts"
1560
+ "name": "foundationAccordionItemStyles",
1561
+ "module": "src/accordion-item/accordion-item.styles.ts"
1531
1562
  }
1532
1563
  }
1533
1564
  ]
1534
1565
  },
1535
1566
  {
1536
1567
  "kind": "javascript-module",
1537
- "path": "src/accordion/accordion.template.ts",
1568
+ "path": "src/accordion-item/accordion-item.template.ts",
1538
1569
  "declarations": [
1539
1570
  {
1540
1571
  "kind": "function",
1541
- "name": "foundationAccordionTemplate",
1572
+ "name": "foundationAccordionItemTemplate",
1542
1573
  "return": {
1543
1574
  "type": {
1544
- "text": "ViewTemplate<Accordion>"
1575
+ "text": "ViewTemplate<AccordionItem>"
1545
1576
  }
1546
1577
  },
1547
1578
  "parameters": [
@@ -1563,365 +1594,244 @@
1563
1594
  "exports": [
1564
1595
  {
1565
1596
  "kind": "js",
1566
- "name": "foundationAccordionTemplate",
1597
+ "name": "foundationAccordionItemTemplate",
1567
1598
  "declaration": {
1568
- "name": "foundationAccordionTemplate",
1569
- "module": "src/accordion/accordion.template.ts"
1599
+ "name": "foundationAccordionItemTemplate",
1600
+ "module": "src/accordion-item/accordion-item.template.ts"
1570
1601
  }
1571
1602
  }
1572
1603
  ]
1573
1604
  },
1574
1605
  {
1575
1606
  "kind": "javascript-module",
1576
- "path": "src/accordion/accordion.ts",
1607
+ "path": "src/accordion-item/accordion-item.ts",
1577
1608
  "declarations": [
1578
1609
  {
1579
1610
  "kind": "class",
1580
1611
  "description": "",
1581
- "name": "Accordion",
1612
+ "name": "AccordionItem",
1582
1613
  "superclass": {
1583
- "name": "FASTAccordion",
1584
- "package": "@microsoft/fast-foundation"
1614
+ "name": "FASTAccordionItem",
1615
+ "package": "@microsoft/fast-components"
1585
1616
  },
1586
- "tagName": "%%prefix%%-accordion",
1617
+ "tagName": "%%prefix%%-accordion-item",
1587
1618
  "customElement": true,
1588
1619
  "attributes": [
1589
1620
  {
1590
- "name": "expand-mode",
1621
+ "name": "heading-level",
1591
1622
  "type": {
1592
- "text": "AccordionExpandMode"
1623
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1593
1624
  },
1594
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1595
- "fieldName": "expandmode",
1625
+ "default": "2",
1626
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1627
+ "fieldName": "headinglevel",
1596
1628
  "inheritedFrom": {
1597
- "name": "Accordion",
1598
- "module": "src/accordion/accordion.ts"
1629
+ "name": "AccordionItem",
1630
+ "module": "src/accordion-item/accordion-item.ts"
1631
+ }
1632
+ },
1633
+ {
1634
+ "type": {
1635
+ "text": "boolean"
1636
+ },
1637
+ "default": "false",
1638
+ "description": "Expands or collapses the item.",
1639
+ "fieldName": "expanded",
1640
+ "inheritedFrom": {
1641
+ "name": "AccordionItem",
1642
+ "module": "src/accordion-item/accordion-item.ts"
1643
+ }
1644
+ },
1645
+ {
1646
+ "name": "id",
1647
+ "type": {
1648
+ "text": "string"
1649
+ },
1650
+ "description": "The item ID",
1651
+ "fieldName": "id",
1652
+ "inheritedFrom": {
1653
+ "name": "AccordionItem",
1654
+ "module": "src/accordion-item/accordion-item.ts"
1599
1655
  }
1600
1656
  }
1601
1657
  ],
1602
1658
  "members": [
1603
1659
  {
1604
1660
  "kind": "field",
1605
- "name": "expandmode",
1661
+ "name": "headinglevel",
1606
1662
  "type": {
1607
- "text": "AccordionExpandMode"
1663
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1608
1664
  },
1609
1665
  "privacy": "public",
1610
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1666
+ "default": "2",
1667
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1611
1668
  "inheritedFrom": {
1612
- "name": "Accordion",
1613
- "module": "src/accordion/accordion.ts"
1669
+ "name": "AccordionItem",
1670
+ "module": "src/accordion-item/accordion-item.ts"
1614
1671
  }
1615
1672
  },
1616
1673
  {
1617
1674
  "kind": "field",
1618
- "name": "activeid",
1675
+ "name": "expanded",
1619
1676
  "type": {
1620
- "text": "string | null"
1677
+ "text": "boolean"
1621
1678
  },
1622
- "privacy": "private",
1679
+ "privacy": "public",
1680
+ "default": "false",
1681
+ "description": "Expands or collapses the item.",
1623
1682
  "inheritedFrom": {
1624
- "name": "Accordion",
1625
- "module": "src/accordion/accordion.ts"
1683
+ "name": "AccordionItem",
1684
+ "module": "src/accordion-item/accordion-item.ts"
1626
1685
  }
1627
1686
  },
1628
1687
  {
1629
1688
  "kind": "field",
1630
- "name": "activeItemIndex",
1689
+ "name": "id",
1631
1690
  "type": {
1632
- "text": "number"
1691
+ "text": "string"
1633
1692
  },
1634
- "privacy": "private",
1635
- "default": "0",
1693
+ "privacy": "public",
1694
+ "description": "The item ID",
1636
1695
  "inheritedFrom": {
1637
- "name": "Accordion",
1638
- "module": "src/accordion/accordion.ts"
1696
+ "name": "AccordionItem",
1697
+ "module": "src/accordion-item/accordion-item.ts"
1639
1698
  }
1640
1699
  },
1641
1700
  {
1642
1701
  "kind": "field",
1643
- "name": "accordionIds",
1644
- "type": {
1645
- "text": "Array<string | null>"
1646
- },
1702
+ "name": "change",
1647
1703
  "privacy": "private",
1648
1704
  "inheritedFrom": {
1649
- "name": "Accordion",
1650
- "module": "src/accordion/accordion.ts"
1705
+ "name": "AccordionItem",
1706
+ "module": "src/accordion-item/accordion-item.ts"
1651
1707
  }
1652
1708
  },
1653
1709
  {
1654
1710
  "kind": "field",
1655
- "name": "change",
1711
+ "name": "_presentation",
1712
+ "type": {
1713
+ "text": "ComponentPresentation | null | undefined"
1714
+ },
1656
1715
  "privacy": "private",
1716
+ "default": "void 0",
1657
1717
  "inheritedFrom": {
1658
- "name": "Accordion",
1659
- "module": "src/accordion/accordion.ts"
1718
+ "name": "FoundationElement",
1719
+ "module": "src/foundation-element/foundation-element.ts"
1660
1720
  }
1661
1721
  },
1662
1722
  {
1663
- "kind": "method",
1664
- "name": "findExpandedItem",
1665
- "privacy": "private",
1666
- "return": {
1667
- "type": {
1668
- "text": "AccordionItem | null"
1669
- }
1723
+ "kind": "field",
1724
+ "name": "$presentation",
1725
+ "type": {
1726
+ "text": "ComponentPresentation | null"
1670
1727
  },
1728
+ "privacy": "public",
1729
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1671
1730
  "inheritedFrom": {
1672
- "name": "Accordion",
1673
- "module": "src/accordion/accordion.ts"
1731
+ "name": "FoundationElement",
1732
+ "module": "src/foundation-element/foundation-element.ts"
1674
1733
  }
1675
1734
  },
1676
1735
  {
1677
1736
  "kind": "field",
1678
- "name": "setItems",
1679
- "privacy": "private",
1737
+ "name": "template",
1738
+ "type": {
1739
+ "text": "ElementViewTemplate | void | null"
1740
+ },
1741
+ "privacy": "public",
1742
+ "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.",
1680
1743
  "inheritedFrom": {
1681
- "name": "Accordion",
1682
- "module": "src/accordion/accordion.ts"
1744
+ "name": "FoundationElement",
1745
+ "module": "src/foundation-element/foundation-element.ts"
1683
1746
  }
1684
1747
  },
1685
1748
  {
1686
1749
  "kind": "method",
1687
- "name": "resetItems",
1688
- "privacy": "private",
1750
+ "name": "templateChanged",
1751
+ "privacy": "protected",
1689
1752
  "return": {
1690
1753
  "type": {
1691
1754
  "text": "void"
1692
1755
  }
1693
1756
  },
1694
1757
  "inheritedFrom": {
1695
- "name": "Accordion",
1696
- "module": "src/accordion/accordion.ts"
1697
- }
1698
- },
1699
- {
1700
- "kind": "field",
1701
- "name": "removeItemListeners",
1702
- "privacy": "private",
1703
- "inheritedFrom": {
1704
- "name": "Accordion",
1705
- "module": "src/accordion/accordion.ts"
1758
+ "name": "FoundationElement",
1759
+ "module": "src/foundation-element/foundation-element.ts"
1706
1760
  }
1707
1761
  },
1708
1762
  {
1709
1763
  "kind": "field",
1710
- "name": "activeItemChange",
1711
- "privacy": "private",
1764
+ "name": "styles",
1765
+ "type": {
1766
+ "text": "ElementStyles | void | null"
1767
+ },
1768
+ "privacy": "public",
1769
+ "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.",
1712
1770
  "inheritedFrom": {
1713
- "name": "Accordion",
1714
- "module": "src/accordion/accordion.ts"
1771
+ "name": "FoundationElement",
1772
+ "module": "src/foundation-element/foundation-element.ts"
1715
1773
  }
1716
1774
  },
1717
1775
  {
1718
1776
  "kind": "method",
1719
- "name": "getItemIds",
1720
- "privacy": "private",
1777
+ "name": "stylesChanged",
1778
+ "privacy": "protected",
1721
1779
  "return": {
1722
1780
  "type": {
1723
- "text": "Array<string | null>"
1781
+ "text": "void"
1724
1782
  }
1725
1783
  },
1726
1784
  "inheritedFrom": {
1727
- "name": "Accordion",
1728
- "module": "src/accordion/accordion.ts"
1785
+ "name": "FoundationElement",
1786
+ "module": "src/foundation-element/foundation-element.ts"
1729
1787
  }
1730
1788
  },
1731
1789
  {
1732
1790
  "kind": "method",
1733
- "name": "isSingleExpandMode",
1734
- "privacy": "private",
1791
+ "name": "compose",
1792
+ "privacy": "public",
1793
+ "static": true,
1735
1794
  "return": {
1736
1795
  "type": {
1737
- "text": "boolean"
1796
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1738
1797
  }
1739
1798
  },
1799
+ "parameters": [
1800
+ {
1801
+ "name": "this",
1802
+ "type": {
1803
+ "text": "K"
1804
+ }
1805
+ },
1806
+ {
1807
+ "name": "elementDefinition",
1808
+ "type": {
1809
+ "text": "T"
1810
+ },
1811
+ "description": "The definition of the element to create the registry\nfunction for."
1812
+ }
1813
+ ],
1814
+ "description": "Defines an element registry function with a set of element definition defaults.",
1740
1815
  "inheritedFrom": {
1741
- "name": "Accordion",
1742
- "module": "src/accordion/accordion.ts"
1816
+ "name": "FoundationElement",
1817
+ "module": "src/foundation-element/foundation-element.ts"
1743
1818
  }
1744
- },
1819
+ }
1820
+ ],
1821
+ "events": [
1745
1822
  {
1746
- "kind": "field",
1747
- "name": "handleItemKeyDown",
1748
- "privacy": "private",
1749
- "inheritedFrom": {
1750
- "name": "Accordion",
1751
- "module": "src/accordion/accordion.ts"
1752
- }
1753
- },
1754
- {
1755
- "kind": "field",
1756
- "name": "handleItemFocus",
1757
- "privacy": "private",
1758
- "inheritedFrom": {
1759
- "name": "Accordion",
1760
- "module": "src/accordion/accordion.ts"
1761
- }
1762
- },
1763
- {
1764
- "kind": "method",
1765
- "name": "adjust",
1766
- "privacy": "private",
1767
- "return": {
1768
- "type": {
1769
- "text": "void"
1770
- }
1771
- },
1772
- "parameters": [
1773
- {
1774
- "name": "adjustment",
1775
- "type": {
1776
- "text": "number"
1777
- }
1778
- }
1779
- ],
1780
- "inheritedFrom": {
1781
- "name": "Accordion",
1782
- "module": "src/accordion/accordion.ts"
1783
- }
1784
- },
1785
- {
1786
- "kind": "method",
1787
- "name": "focusItem",
1788
- "privacy": "private",
1789
- "return": {
1790
- "type": {
1791
- "text": "void"
1792
- }
1793
- },
1794
- "inheritedFrom": {
1795
- "name": "Accordion",
1796
- "module": "src/accordion/accordion.ts"
1797
- }
1798
- },
1799
- {
1800
- "kind": "field",
1801
- "name": "_presentation",
1802
- "type": {
1803
- "text": "ComponentPresentation | null | undefined"
1804
- },
1805
- "privacy": "private",
1806
- "default": "void 0",
1807
- "inheritedFrom": {
1808
- "name": "FoundationElement",
1809
- "module": "src/foundation-element/foundation-element.ts"
1810
- }
1811
- },
1812
- {
1813
- "kind": "field",
1814
- "name": "$presentation",
1815
- "type": {
1816
- "text": "ComponentPresentation | null"
1817
- },
1818
- "privacy": "public",
1819
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1820
- "inheritedFrom": {
1821
- "name": "FoundationElement",
1822
- "module": "src/foundation-element/foundation-element.ts"
1823
- }
1824
- },
1825
- {
1826
- "kind": "field",
1827
- "name": "template",
1828
- "type": {
1829
- "text": "ElementViewTemplate | void | null"
1830
- },
1831
- "privacy": "public",
1832
- "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.",
1833
- "inheritedFrom": {
1834
- "name": "FoundationElement",
1835
- "module": "src/foundation-element/foundation-element.ts"
1836
- }
1837
- },
1838
- {
1839
- "kind": "method",
1840
- "name": "templateChanged",
1841
- "privacy": "protected",
1842
- "return": {
1843
- "type": {
1844
- "text": "void"
1845
- }
1846
- },
1847
- "inheritedFrom": {
1848
- "name": "FoundationElement",
1849
- "module": "src/foundation-element/foundation-element.ts"
1850
- }
1851
- },
1852
- {
1853
- "kind": "field",
1854
- "name": "styles",
1855
- "type": {
1856
- "text": "ElementStyles | void | null"
1857
- },
1858
- "privacy": "public",
1859
- "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.",
1860
- "inheritedFrom": {
1861
- "name": "FoundationElement",
1862
- "module": "src/foundation-element/foundation-element.ts"
1863
- }
1864
- },
1865
- {
1866
- "kind": "method",
1867
- "name": "stylesChanged",
1868
- "privacy": "protected",
1869
- "return": {
1870
- "type": {
1871
- "text": "void"
1872
- }
1873
- },
1874
- "inheritedFrom": {
1875
- "name": "FoundationElement",
1876
- "module": "src/foundation-element/foundation-element.ts"
1877
- }
1878
- },
1879
- {
1880
- "kind": "method",
1881
- "name": "compose",
1882
- "privacy": "public",
1883
- "static": true,
1884
- "return": {
1885
- "type": {
1886
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1887
- }
1888
- },
1889
- "parameters": [
1890
- {
1891
- "name": "this",
1892
- "type": {
1893
- "text": "K"
1894
- }
1895
- },
1896
- {
1897
- "name": "elementDefinition",
1898
- "type": {
1899
- "text": "T"
1900
- },
1901
- "description": "The definition of the element to create the registry\nfunction for."
1902
- }
1903
- ],
1904
- "description": "Defines an element registry function with a set of element definition defaults.",
1905
- "inheritedFrom": {
1906
- "name": "FoundationElement",
1907
- "module": "src/foundation-element/foundation-element.ts"
1908
- }
1909
- }
1910
- ],
1911
- "events": [
1912
- {
1913
- "description": "Fires a custom 'change' event when the active item changes",
1823
+ "description": "Fires a custom 'change' event when the button is invoked",
1914
1824
  "name": "change",
1915
1825
  "inheritedFrom": {
1916
- "name": "Accordion",
1917
- "module": "src/accordion/accordion.ts"
1826
+ "name": "AccordionItem",
1827
+ "module": "src/accordion-item/accordion-item.ts"
1918
1828
  }
1919
1829
  }
1920
1830
  ]
1921
1831
  },
1922
1832
  {
1923
1833
  "kind": "variable",
1924
- "name": "foundationAccordionShadowOptions",
1834
+ "name": "foundationAccordionItemShadowOptions",
1925
1835
  "type": {
1926
1836
  "text": "ShadowRootInit"
1927
1837
  },
@@ -1929,88 +1839,57 @@
1929
1839
  },
1930
1840
  {
1931
1841
  "kind": "variable",
1932
- "name": "defaultAccordionConfig",
1842
+ "name": "defaultAccordionItemConfig",
1933
1843
  "type": {
1934
1844
  "text": "object"
1935
1845
  },
1936
- "default": "{}"
1846
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1937
1847
  },
1938
1848
  {
1939
1849
  "kind": "variable",
1940
- "name": "foundationAccordion",
1941
- "description": "The Foundation Accordion",
1850
+ "name": "foundationAccordionItem",
1851
+ "description": "The Foundation Accordion Item",
1942
1852
  "privacy": "public"
1943
1853
  }
1944
1854
  ],
1945
1855
  "exports": [
1946
1856
  {
1947
1857
  "kind": "js",
1948
- "name": "Accordion",
1949
- "declaration": {
1950
- "name": "Accordion",
1951
- "module": "src/accordion/accordion.ts"
1952
- }
1953
- },
1954
- {
1955
- "kind": "js",
1956
- "name": "foundationAccordionShadowOptions",
1957
- "declaration": {
1958
- "name": "foundationAccordionShadowOptions",
1959
- "module": "src/accordion/accordion.ts"
1960
- }
1961
- },
1962
- {
1963
- "kind": "js",
1964
- "name": "defaultAccordionConfig",
1858
+ "name": "AccordionItem",
1965
1859
  "declaration": {
1966
- "name": "defaultAccordionConfig",
1967
- "module": "src/accordion/accordion.ts"
1860
+ "name": "AccordionItem",
1861
+ "module": "src/accordion-item/accordion-item.ts"
1968
1862
  }
1969
1863
  },
1970
1864
  {
1971
1865
  "kind": "js",
1972
- "name": "foundationAccordion",
1973
- "declaration": {
1974
- "name": "foundationAccordion",
1975
- "module": "src/accordion/accordion.ts"
1976
- }
1977
- }
1978
- ]
1979
- },
1980
- {
1981
- "kind": "javascript-module",
1982
- "path": "src/accordion/index.ts",
1983
- "declarations": [],
1984
- "exports": [
1985
- {
1986
- "kind": "js",
1987
- "name": "*",
1866
+ "name": "foundationAccordionItemShadowOptions",
1988
1867
  "declaration": {
1989
- "name": "*",
1990
- "package": "./accordion.template"
1868
+ "name": "foundationAccordionItemShadowOptions",
1869
+ "module": "src/accordion-item/accordion-item.ts"
1991
1870
  }
1992
1871
  },
1993
1872
  {
1994
1873
  "kind": "js",
1995
- "name": "*",
1874
+ "name": "defaultAccordionItemConfig",
1996
1875
  "declaration": {
1997
- "name": "*",
1998
- "package": "./accordion.styles"
1876
+ "name": "defaultAccordionItemConfig",
1877
+ "module": "src/accordion-item/accordion-item.ts"
1999
1878
  }
2000
1879
  },
2001
1880
  {
2002
1881
  "kind": "js",
2003
- "name": "*",
1882
+ "name": "foundationAccordionItem",
2004
1883
  "declaration": {
2005
- "name": "*",
2006
- "package": "./accordion"
1884
+ "name": "foundationAccordionItem",
1885
+ "module": "src/accordion-item/accordion-item.ts"
2007
1886
  }
2008
1887
  }
2009
1888
  ]
2010
1889
  },
2011
1890
  {
2012
1891
  "kind": "javascript-module",
2013
- "path": "src/_config/index.ts",
1892
+ "path": "src/accordion-item/index.ts",
2014
1893
  "declarations": [],
2015
1894
  "exports": [
2016
1895
  {
@@ -2018,7 +1897,7 @@
2018
1897
  "name": "*",
2019
1898
  "declaration": {
2020
1899
  "name": "*",
2021
- "package": "./styles"
1900
+ "package": "./accordion-item.template"
2022
1901
  }
2023
1902
  },
2024
1903
  {
@@ -2026,7 +1905,7 @@
2026
1905
  "name": "*",
2027
1906
  "declaration": {
2028
1907
  "name": "*",
2029
- "package": "./tokens"
1908
+ "package": "./accordion-item.styles"
2030
1909
  }
2031
1910
  },
2032
1911
  {
@@ -2034,7 +1913,7 @@
2034
1913
  "name": "*",
2035
1914
  "declaration": {
2036
1915
  "name": "*",
2037
- "package": "./values"
1916
+ "package": "./accordion-item"
2038
1917
  }
2039
1918
  }
2040
1919
  ]
@@ -2612,208 +2491,275 @@
2612
2491
  },
2613
2492
  {
2614
2493
  "kind": "javascript-module",
2615
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2494
+ "path": "src/accordion/accordion.styles.ts",
2616
2495
  "declarations": [
2617
2496
  {
2618
- "kind": "variable",
2619
- "name": "foundationAiCriteriaSearchStyles",
2620
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2621
- }
2622
- ],
2623
- "exports": [
2624
- {
2625
- "kind": "js",
2626
- "name": "foundationAiCriteriaSearchStyles",
2627
- "declaration": {
2628
- "name": "foundationAiCriteriaSearchStyles",
2629
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2497
+ "kind": "function",
2498
+ "name": "foundationAccordionStyles",
2499
+ "return": {
2500
+ "type": {
2501
+ "text": "ElementStyles"
2502
+ }
2503
+ },
2504
+ "parameters": [
2505
+ {
2506
+ "name": "context",
2507
+ "type": {
2508
+ "text": "ElementDefinitionContext"
2509
+ }
2510
+ },
2511
+ {
2512
+ "name": "definition",
2513
+ "type": {
2514
+ "text": "FoundationElementDefinition"
2515
+ }
2516
+ }
2517
+ ]
2518
+ }
2519
+ ],
2520
+ "exports": [
2521
+ {
2522
+ "kind": "js",
2523
+ "name": "foundationAccordionStyles",
2524
+ "declaration": {
2525
+ "name": "foundationAccordionStyles",
2526
+ "module": "src/accordion/accordion.styles.ts"
2630
2527
  }
2631
2528
  }
2632
2529
  ]
2633
2530
  },
2634
2531
  {
2635
2532
  "kind": "javascript-module",
2636
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2533
+ "path": "src/accordion/accordion.template.ts",
2637
2534
  "declarations": [
2638
2535
  {
2639
- "kind": "variable",
2640
- "name": "foundationAiCriteriaSearchTemplate",
2641
- "type": {
2642
- "text": "ViewTemplate<AiCriteriaSearch>"
2536
+ "kind": "function",
2537
+ "name": "foundationAccordionTemplate",
2538
+ "return": {
2539
+ "type": {
2540
+ "text": "ViewTemplate<Accordion>"
2541
+ }
2643
2542
  },
2644
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2543
+ "parameters": [
2544
+ {
2545
+ "name": "context",
2546
+ "type": {
2547
+ "text": "ElementDefinitionContext"
2548
+ }
2549
+ },
2550
+ {
2551
+ "name": "definition",
2552
+ "type": {
2553
+ "text": "FoundationElementDefinition"
2554
+ }
2555
+ }
2556
+ ]
2645
2557
  }
2646
2558
  ],
2647
2559
  "exports": [
2648
2560
  {
2649
2561
  "kind": "js",
2650
- "name": "foundationAiCriteriaSearchTemplate",
2562
+ "name": "foundationAccordionTemplate",
2651
2563
  "declaration": {
2652
- "name": "foundationAiCriteriaSearchTemplate",
2653
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2564
+ "name": "foundationAccordionTemplate",
2565
+ "module": "src/accordion/accordion.template.ts"
2654
2566
  }
2655
2567
  }
2656
2568
  ]
2657
2569
  },
2658
2570
  {
2659
2571
  "kind": "javascript-module",
2660
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2572
+ "path": "src/accordion/accordion.ts",
2661
2573
  "declarations": [
2662
2574
  {
2663
2575
  "kind": "class",
2664
- "description": "Natural-language criteria search input with AI interpretation.",
2665
- "name": "AiCriteriaSearch",
2666
- "members": [
2667
- {
2668
- "kind": "field",
2669
- "name": "providerRegistry",
2670
- "type": {
2671
- "text": "AIProviderRegistry"
2672
- }
2673
- },
2576
+ "description": "",
2577
+ "name": "Accordion",
2578
+ "superclass": {
2579
+ "name": "FASTAccordion",
2580
+ "package": "@microsoft/fast-foundation"
2581
+ },
2582
+ "tagName": "%%prefix%%-accordion",
2583
+ "customElement": true,
2584
+ "attributes": [
2674
2585
  {
2675
- "kind": "field",
2676
- "name": "placeholder",
2586
+ "name": "expand-mode",
2677
2587
  "type": {
2678
- "text": "string"
2588
+ "text": "AccordionExpandMode"
2679
2589
  },
2680
- "default": "'Describe your search criteria in natural language...'"
2681
- },
2682
- {
2683
- "kind": "field",
2684
- "name": "disabled",
2685
- "type": {
2686
- "text": "boolean"
2590
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2591
+ "fieldName": "expandmode",
2592
+ "inheritedFrom": {
2593
+ "name": "Accordion",
2594
+ "module": "src/accordion/accordion.ts"
2687
2595
  }
2688
- },
2689
- {
2690
- "kind": "field",
2691
- "name": "inputValue",
2692
- "type": {
2693
- "text": "string"
2694
- },
2695
- "default": "''"
2696
- },
2596
+ }
2597
+ ],
2598
+ "members": [
2697
2599
  {
2698
2600
  "kind": "field",
2699
- "name": "isInterpreting",
2601
+ "name": "expandmode",
2700
2602
  "type": {
2701
- "text": "boolean"
2603
+ "text": "AccordionExpandMode"
2702
2604
  },
2703
- "default": "false"
2605
+ "privacy": "public",
2606
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2607
+ "inheritedFrom": {
2608
+ "name": "Accordion",
2609
+ "module": "src/accordion/accordion.ts"
2610
+ }
2704
2611
  },
2705
2612
  {
2706
2613
  "kind": "field",
2707
- "name": "lastValidCriteria",
2614
+ "name": "activeid",
2708
2615
  "type": {
2709
2616
  "text": "string | null"
2710
2617
  },
2711
- "default": "null"
2712
- },
2713
- {
2714
- "kind": "field",
2715
- "name": "activeGroups",
2716
- "type": {
2717
- "text": "CriteriaGroup[]"
2718
- },
2719
- "default": "[]"
2618
+ "privacy": "private",
2619
+ "inheritedFrom": {
2620
+ "name": "Accordion",
2621
+ "module": "src/accordion/accordion.ts"
2622
+ }
2720
2623
  },
2721
2624
  {
2722
2625
  "kind": "field",
2723
- "name": "showingChips",
2626
+ "name": "activeItemIndex",
2724
2627
  "type": {
2725
- "text": "boolean"
2628
+ "text": "number"
2726
2629
  },
2727
- "default": "false"
2630
+ "privacy": "private",
2631
+ "default": "0",
2632
+ "inheritedFrom": {
2633
+ "name": "Accordion",
2634
+ "module": "src/accordion/accordion.ts"
2635
+ }
2728
2636
  },
2729
2637
  {
2730
2638
  "kind": "field",
2731
- "name": "fieldMetadata",
2639
+ "name": "accordionIds",
2732
2640
  "type": {
2733
- "text": "MetadataDetail[] | string[]"
2641
+ "text": "Array<string | null>"
2734
2642
  },
2735
- "default": "[]"
2643
+ "privacy": "private",
2644
+ "inheritedFrom": {
2645
+ "name": "Accordion",
2646
+ "module": "src/accordion/accordion.ts"
2647
+ }
2736
2648
  },
2737
2649
  {
2738
2650
  "kind": "field",
2739
- "name": "isRecording",
2740
- "type": {
2741
- "text": "boolean"
2742
- },
2743
- "default": "false"
2651
+ "name": "change",
2652
+ "privacy": "private",
2653
+ "inheritedFrom": {
2654
+ "name": "Accordion",
2655
+ "module": "src/accordion/accordion.ts"
2656
+ }
2744
2657
  },
2745
2658
  {
2746
- "kind": "field",
2747
- "name": "textAreaRef",
2748
- "type": {
2749
- "text": "HTMLTextAreaElement"
2659
+ "kind": "method",
2660
+ "name": "findExpandedItem",
2661
+ "privacy": "private",
2662
+ "return": {
2663
+ "type": {
2664
+ "text": "AccordionItem | null"
2665
+ }
2750
2666
  },
2751
- "privacy": "public"
2667
+ "inheritedFrom": {
2668
+ "name": "Accordion",
2669
+ "module": "src/accordion/accordion.ts"
2670
+ }
2752
2671
  },
2753
2672
  {
2754
2673
  "kind": "field",
2755
- "name": "stopRecording",
2756
- "type": {
2757
- "text": "(() => void) | null"
2758
- },
2674
+ "name": "setItems",
2759
2675
  "privacy": "private",
2760
- "default": "null"
2676
+ "inheritedFrom": {
2677
+ "name": "Accordion",
2678
+ "module": "src/accordion/accordion.ts"
2679
+ }
2761
2680
  },
2762
2681
  {
2763
- "kind": "field",
2764
- "name": "speechApplyDebounceTimer",
2765
- "type": {
2766
- "text": "ReturnType<typeof setTimeout> | null"
2767
- },
2682
+ "kind": "method",
2683
+ "name": "resetItems",
2768
2684
  "privacy": "private",
2769
- "default": "null"
2685
+ "return": {
2686
+ "type": {
2687
+ "text": "void"
2688
+ }
2689
+ },
2690
+ "inheritedFrom": {
2691
+ "name": "Accordion",
2692
+ "module": "src/accordion/accordion.ts"
2693
+ }
2770
2694
  },
2771
2695
  {
2772
2696
  "kind": "field",
2773
- "name": "speechAvailable",
2774
- "type": {
2775
- "text": "boolean"
2776
- },
2777
- "readonly": true
2697
+ "name": "removeItemListeners",
2698
+ "privacy": "private",
2699
+ "inheritedFrom": {
2700
+ "name": "Accordion",
2701
+ "module": "src/accordion/accordion.ts"
2702
+ }
2778
2703
  },
2779
2704
  {
2780
2705
  "kind": "field",
2781
- "name": "criteriaChips",
2782
- "type": {
2783
- "text": "CriteriaChip[]"
2784
- },
2785
- "readonly": true
2706
+ "name": "activeItemChange",
2707
+ "privacy": "private",
2708
+ "inheritedFrom": {
2709
+ "name": "Accordion",
2710
+ "module": "src/accordion/accordion.ts"
2711
+ }
2786
2712
  },
2787
2713
  {
2788
2714
  "kind": "method",
2789
- "name": "getFieldLabel",
2715
+ "name": "getItemIds",
2790
2716
  "privacy": "private",
2791
2717
  "return": {
2792
2718
  "type": {
2793
- "text": "string"
2719
+ "text": "Array<string | null>"
2794
2720
  }
2795
2721
  },
2796
- "parameters": [
2797
- {
2798
- "name": "fieldName",
2799
- "type": {
2800
- "text": "string"
2801
- }
2802
- }
2803
- ]
2722
+ "inheritedFrom": {
2723
+ "name": "Accordion",
2724
+ "module": "src/accordion/accordion.ts"
2725
+ }
2804
2726
  },
2805
2727
  {
2806
2728
  "kind": "method",
2807
- "name": "toggleCriteriaView",
2808
- "return": {
2729
+ "name": "isSingleExpandMode",
2730
+ "privacy": "private",
2731
+ "return": {
2809
2732
  "type": {
2810
- "text": "void"
2733
+ "text": "boolean"
2811
2734
  }
2735
+ },
2736
+ "inheritedFrom": {
2737
+ "name": "Accordion",
2738
+ "module": "src/accordion/accordion.ts"
2739
+ }
2740
+ },
2741
+ {
2742
+ "kind": "field",
2743
+ "name": "handleItemKeyDown",
2744
+ "privacy": "private",
2745
+ "inheritedFrom": {
2746
+ "name": "Accordion",
2747
+ "module": "src/accordion/accordion.ts"
2748
+ }
2749
+ },
2750
+ {
2751
+ "kind": "field",
2752
+ "name": "handleItemFocus",
2753
+ "privacy": "private",
2754
+ "inheritedFrom": {
2755
+ "name": "Accordion",
2756
+ "module": "src/accordion/accordion.ts"
2812
2757
  }
2813
2758
  },
2814
2759
  {
2815
2760
  "kind": "method",
2816
- "name": "removeChip",
2761
+ "name": "adjust",
2762
+ "privacy": "private",
2817
2763
  "return": {
2818
2764
  "type": {
2819
2765
  "text": "void"
@@ -2821,49 +2767,31 @@
2821
2767
  },
2822
2768
  "parameters": [
2823
2769
  {
2824
- "name": "groupIndex",
2825
- "type": {
2826
- "text": "number"
2827
- }
2828
- },
2829
- {
2830
- "name": "clauseIndex",
2770
+ "name": "adjustment",
2831
2771
  "type": {
2832
2772
  "text": "number"
2833
2773
  }
2834
2774
  }
2835
- ]
2775
+ ],
2776
+ "inheritedFrom": {
2777
+ "name": "Accordion",
2778
+ "module": "src/accordion/accordion.ts"
2779
+ }
2836
2780
  },
2837
2781
  {
2838
2782
  "kind": "method",
2839
- "name": "clearChips",
2783
+ "name": "focusItem",
2784
+ "privacy": "private",
2840
2785
  "return": {
2841
2786
  "type": {
2842
2787
  "text": "void"
2843
2788
  }
2789
+ },
2790
+ "inheritedFrom": {
2791
+ "name": "Accordion",
2792
+ "module": "src/accordion/accordion.ts"
2844
2793
  }
2845
2794
  },
2846
- {
2847
- "kind": "method",
2848
- "name": "handleSubmit"
2849
- },
2850
- {
2851
- "kind": "method",
2852
- "name": "handleBlur"
2853
- },
2854
- {
2855
- "kind": "method",
2856
- "name": "clear"
2857
- },
2858
- {
2859
- "kind": "method",
2860
- "name": "toggleSpeechInput"
2861
- },
2862
- {
2863
- "kind": "method",
2864
- "name": "clearSpeechApplyDebounce",
2865
- "privacy": "private"
2866
- },
2867
2795
  {
2868
2796
  "kind": "field",
2869
2797
  "name": "_presentation",
@@ -2978,48 +2906,26 @@
2978
2906
  ],
2979
2907
  "events": [
2980
2908
  {
2981
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2982
- "name": "criteria-changed"
2983
- },
2984
- {
2985
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2986
- "name": "validation-errors"
2987
- }
2988
- ],
2989
- "attributes": [
2990
- {
2991
- "name": "placeholder",
2992
- "type": {
2993
- "text": "string"
2994
- },
2995
- "default": "'Describe your search criteria in natural language...'",
2996
- "fieldName": "placeholder"
2997
- },
2998
- {
2999
- "type": {
3000
- "text": "boolean"
3001
- },
3002
- "fieldName": "disabled"
2909
+ "description": "Fires a custom 'change' event when the active item changes",
2910
+ "name": "change",
2911
+ "inheritedFrom": {
2912
+ "name": "Accordion",
2913
+ "module": "src/accordion/accordion.ts"
2914
+ }
3003
2915
  }
3004
- ],
3005
- "superclass": {
3006
- "name": "FoundationElement",
3007
- "package": "@microsoft/fast-foundation"
3008
- },
3009
- "tagName": "%%prefix%%-ai-criteria-search",
3010
- "customElement": true
2916
+ ]
3011
2917
  },
3012
2918
  {
3013
2919
  "kind": "variable",
3014
- "name": "foundationAiCriteriaSearchShadowOptions",
2920
+ "name": "foundationAccordionShadowOptions",
3015
2921
  "type": {
3016
2922
  "text": "ShadowRootInit"
3017
2923
  },
3018
- "default": "undefined"
2924
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3019
2925
  },
3020
2926
  {
3021
2927
  "kind": "variable",
3022
- "name": "defaultAiCriteriaSearchConfig",
2928
+ "name": "defaultAccordionConfig",
3023
2929
  "type": {
3024
2930
  "text": "object"
3025
2931
  },
@@ -3027,103 +2933,57 @@
3027
2933
  },
3028
2934
  {
3029
2935
  "kind": "variable",
3030
- "name": "foundationAiCriteriaSearch"
2936
+ "name": "foundationAccordion",
2937
+ "description": "The Foundation Accordion",
2938
+ "privacy": "public"
3031
2939
  }
3032
2940
  ],
3033
2941
  "exports": [
3034
2942
  {
3035
2943
  "kind": "js",
3036
- "name": "AiCriteriaSearch",
2944
+ "name": "Accordion",
3037
2945
  "declaration": {
3038
- "name": "AiCriteriaSearch",
3039
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2946
+ "name": "Accordion",
2947
+ "module": "src/accordion/accordion.ts"
3040
2948
  }
3041
2949
  },
3042
2950
  {
3043
2951
  "kind": "js",
3044
- "name": "foundationAiCriteriaSearchShadowOptions",
2952
+ "name": "foundationAccordionShadowOptions",
3045
2953
  "declaration": {
3046
- "name": "foundationAiCriteriaSearchShadowOptions",
3047
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2954
+ "name": "foundationAccordionShadowOptions",
2955
+ "module": "src/accordion/accordion.ts"
3048
2956
  }
3049
2957
  },
3050
2958
  {
3051
2959
  "kind": "js",
3052
- "name": "defaultAiCriteriaSearchConfig",
2960
+ "name": "defaultAccordionConfig",
3053
2961
  "declaration": {
3054
- "name": "defaultAiCriteriaSearchConfig",
3055
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2962
+ "name": "defaultAccordionConfig",
2963
+ "module": "src/accordion/accordion.ts"
3056
2964
  }
3057
2965
  },
3058
2966
  {
3059
2967
  "kind": "js",
3060
- "name": "foundationAiCriteriaSearch",
2968
+ "name": "foundationAccordion",
3061
2969
  "declaration": {
3062
- "name": "foundationAiCriteriaSearch",
3063
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2970
+ "name": "foundationAccordion",
2971
+ "module": "src/accordion/accordion.ts"
3064
2972
  }
3065
2973
  }
3066
2974
  ]
3067
2975
  },
3068
2976
  {
3069
2977
  "kind": "javascript-module",
3070
- "path": "src/ai-criteria-search/index.ts",
2978
+ "path": "src/accordion/index.ts",
3071
2979
  "declarations": [],
3072
2980
  "exports": [
3073
- {
3074
- "kind": "js",
3075
- "name": "AiCriteriaSearch",
3076
- "declaration": {
3077
- "name": "AiCriteriaSearch",
3078
- "module": "./ai-criteria-search"
3079
- }
3080
- },
3081
- {
3082
- "kind": "js",
3083
- "name": "defaultAiCriteriaSearchConfig",
3084
- "declaration": {
3085
- "name": "defaultAiCriteriaSearchConfig",
3086
- "module": "./ai-criteria-search"
3087
- }
3088
- },
3089
- {
3090
- "kind": "js",
3091
- "name": "foundationAiCriteriaSearch",
3092
- "declaration": {
3093
- "name": "foundationAiCriteriaSearch",
3094
- "module": "./ai-criteria-search"
3095
- }
3096
- },
3097
- {
3098
- "kind": "js",
3099
- "name": "foundationAiCriteriaSearchShadowOptions",
3100
- "declaration": {
3101
- "name": "foundationAiCriteriaSearchShadowOptions",
3102
- "module": "./ai-criteria-search"
3103
- }
3104
- },
3105
- {
3106
- "kind": "js",
3107
- "name": "foundationAiCriteriaSearchStyles",
3108
- "declaration": {
3109
- "name": "foundationAiCriteriaSearchStyles",
3110
- "module": "./ai-criteria-search.styles"
3111
- }
3112
- },
3113
- {
3114
- "kind": "js",
3115
- "name": "foundationAiCriteriaSearchTemplate",
3116
- "declaration": {
3117
- "name": "foundationAiCriteriaSearchTemplate",
3118
- "module": "./ai-criteria-search.template"
3119
- }
3120
- },
3121
2981
  {
3122
2982
  "kind": "js",
3123
2983
  "name": "*",
3124
2984
  "declaration": {
3125
2985
  "name": "*",
3126
- "package": "./validation/criteria-ir"
2986
+ "package": "./accordion.template"
3127
2987
  }
3128
2988
  },
3129
2989
  {
@@ -3131,7 +2991,7 @@
3131
2991
  "name": "*",
3132
2992
  "declaration": {
3133
2993
  "name": "*",
3134
- "package": "./validation/operator-map"
2994
+ "package": "./accordion.styles"
3135
2995
  }
3136
2996
  },
3137
2997
  {
@@ -3139,121 +2999,46 @@
3139
2999
  "name": "*",
3140
3000
  "declaration": {
3141
3001
  "name": "*",
3142
- "package": "./validation/schema-validator"
3002
+ "package": "./accordion"
3143
3003
  }
3144
3004
  }
3145
3005
  ]
3146
3006
  },
3147
3007
  {
3148
3008
  "kind": "javascript-module",
3149
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3009
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3150
3010
  "declarations": [
3151
3011
  {
3152
3012
  "kind": "function",
3153
- "name": "formatValidationErrors",
3013
+ "name": "foundationAiIndicatorStyles",
3154
3014
  "return": {
3155
3015
  "type": {
3156
- "text": "string"
3016
+ "text": "ElementStyles"
3157
3017
  }
3158
3018
  },
3159
3019
  "parameters": [
3160
3020
  {
3161
- "name": "errors",
3021
+ "name": "context",
3162
3022
  "type": {
3163
- "text": "ValidationError[]"
3023
+ "text": "ElementDefinitionContext"
3164
3024
  }
3165
- }
3166
- ],
3167
- "description": "Formats validation errors into a user-friendly message."
3168
- },
3169
- {
3170
- "kind": "function",
3171
- "name": "showCriteriaError",
3172
- "return": {
3173
- "type": {
3174
- "text": "void"
3175
- }
3176
- },
3177
- "parameters": [
3178
- {
3179
- "name": "title",
3180
- "type": {
3181
- "text": "string"
3182
- },
3183
- "description": "Notification title (e.g. \"Criteria validation error\")"
3184
- },
3185
- {
3186
- "name": "body",
3187
- "type": {
3188
- "text": "string"
3189
- },
3190
- "description": "Error message to display"
3191
3025
  },
3192
3026
  {
3193
- "name": "tagName",
3027
+ "name": "definition",
3194
3028
  "type": {
3195
- "text": "string"
3196
- },
3197
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3029
+ "text": "FoundationElementDefinition"
3030
+ }
3198
3031
  }
3199
- ],
3200
- "description": "Shows a criteria error as a toast notification."
3032
+ ]
3201
3033
  }
3202
3034
  ],
3203
3035
  "exports": [
3204
3036
  {
3205
3037
  "kind": "js",
3206
- "name": "formatValidationErrors",
3038
+ "name": "foundationAiIndicatorStyles",
3207
3039
  "declaration": {
3208
- "name": "formatValidationErrors",
3209
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3210
- }
3211
- },
3212
- {
3213
- "kind": "js",
3214
- "name": "showCriteriaError",
3215
- "declaration": {
3216
- "name": "showCriteriaError",
3217
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3218
- }
3219
- }
3220
- ]
3221
- },
3222
- {
3223
- "kind": "javascript-module",
3224
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3225
- "declarations": [
3226
- {
3227
- "kind": "function",
3228
- "name": "foundationAiIndicatorStyles",
3229
- "return": {
3230
- "type": {
3231
- "text": "ElementStyles"
3232
- }
3233
- },
3234
- "parameters": [
3235
- {
3236
- "name": "context",
3237
- "type": {
3238
- "text": "ElementDefinitionContext"
3239
- }
3240
- },
3241
- {
3242
- "name": "definition",
3243
- "type": {
3244
- "text": "FoundationElementDefinition"
3245
- }
3246
- }
3247
- ]
3248
- }
3249
- ],
3250
- "exports": [
3251
- {
3252
- "kind": "js",
3253
- "name": "foundationAiIndicatorStyles",
3254
- "declaration": {
3255
- "name": "foundationAiIndicatorStyles",
3256
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3040
+ "name": "foundationAiIndicatorStyles",
3041
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3257
3042
  }
3258
3043
  }
3259
3044
  ]
@@ -3670,185 +3455,257 @@
3670
3455
  },
3671
3456
  {
3672
3457
  "kind": "javascript-module",
3673
- "path": "src/accordion-item/accordion-item.styles.ts",
3458
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3674
3459
  "declarations": [
3675
3460
  {
3676
- "kind": "function",
3677
- "name": "foundationAccordionItemStyles",
3678
- "return": {
3679
- "type": {
3680
- "text": "ElementStyles"
3681
- }
3682
- },
3683
- "parameters": [
3684
- {
3685
- "name": "context",
3686
- "type": {
3687
- "text": "ElementDefinitionContext"
3688
- }
3689
- },
3690
- {
3691
- "name": "definition",
3692
- "type": {
3693
- "text": "FoundationElementDefinition"
3694
- }
3695
- }
3696
- ]
3461
+ "kind": "variable",
3462
+ "name": "foundationAiCriteriaSearchStyles",
3463
+ "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`"
3697
3464
  }
3698
3465
  ],
3699
3466
  "exports": [
3700
3467
  {
3701
3468
  "kind": "js",
3702
- "name": "foundationAccordionItemStyles",
3469
+ "name": "foundationAiCriteriaSearchStyles",
3703
3470
  "declaration": {
3704
- "name": "foundationAccordionItemStyles",
3705
- "module": "src/accordion-item/accordion-item.styles.ts"
3471
+ "name": "foundationAiCriteriaSearchStyles",
3472
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3706
3473
  }
3707
3474
  }
3708
3475
  ]
3709
3476
  },
3710
3477
  {
3711
3478
  "kind": "javascript-module",
3712
- "path": "src/accordion-item/accordion-item.template.ts",
3479
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3713
3480
  "declarations": [
3714
3481
  {
3715
- "kind": "function",
3716
- "name": "foundationAccordionItemTemplate",
3717
- "return": {
3718
- "type": {
3719
- "text": "ViewTemplate<AccordionItem>"
3720
- }
3482
+ "kind": "variable",
3483
+ "name": "foundationAiCriteriaSearchTemplate",
3484
+ "type": {
3485
+ "text": "ViewTemplate<AiCriteriaSearch>"
3721
3486
  },
3722
- "parameters": [
3723
- {
3724
- "name": "context",
3725
- "type": {
3726
- "text": "ElementDefinitionContext"
3727
- }
3728
- },
3729
- {
3730
- "name": "definition",
3731
- "type": {
3732
- "text": "FoundationElementDefinition"
3733
- }
3734
- }
3735
- ]
3487
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3736
3488
  }
3737
3489
  ],
3738
3490
  "exports": [
3739
3491
  {
3740
3492
  "kind": "js",
3741
- "name": "foundationAccordionItemTemplate",
3493
+ "name": "foundationAiCriteriaSearchTemplate",
3742
3494
  "declaration": {
3743
- "name": "foundationAccordionItemTemplate",
3744
- "module": "src/accordion-item/accordion-item.template.ts"
3495
+ "name": "foundationAiCriteriaSearchTemplate",
3496
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3745
3497
  }
3746
3498
  }
3747
3499
  ]
3748
3500
  },
3749
3501
  {
3750
3502
  "kind": "javascript-module",
3751
- "path": "src/accordion-item/accordion-item.ts",
3503
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3752
3504
  "declarations": [
3753
3505
  {
3754
3506
  "kind": "class",
3755
- "description": "",
3756
- "name": "AccordionItem",
3757
- "superclass": {
3758
- "name": "FASTAccordionItem",
3759
- "package": "@microsoft/fast-components"
3760
- },
3761
- "tagName": "%%prefix%%-accordion-item",
3762
- "customElement": true,
3763
- "attributes": [
3507
+ "description": "Natural-language criteria search input with AI interpretation.",
3508
+ "name": "AiCriteriaSearch",
3509
+ "members": [
3764
3510
  {
3765
- "name": "heading-level",
3511
+ "kind": "field",
3512
+ "name": "providerRegistry",
3766
3513
  "type": {
3767
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3768
- },
3769
- "default": "2",
3770
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3771
- "fieldName": "headinglevel",
3772
- "inheritedFrom": {
3773
- "name": "AccordionItem",
3774
- "module": "src/accordion-item/accordion-item.ts"
3514
+ "text": "AIProviderRegistry"
3775
3515
  }
3776
3516
  },
3777
3517
  {
3518
+ "kind": "field",
3519
+ "name": "placeholder",
3520
+ "type": {
3521
+ "text": "string"
3522
+ },
3523
+ "default": "'Describe your search criteria in natural language...'"
3524
+ },
3525
+ {
3526
+ "kind": "field",
3527
+ "name": "disabled",
3778
3528
  "type": {
3779
3529
  "text": "boolean"
3780
- },
3781
- "default": "false",
3782
- "description": "Expands or collapses the item.",
3783
- "fieldName": "expanded",
3784
- "inheritedFrom": {
3785
- "name": "AccordionItem",
3786
- "module": "src/accordion-item/accordion-item.ts"
3787
3530
  }
3788
3531
  },
3789
3532
  {
3790
- "name": "id",
3533
+ "kind": "field",
3534
+ "name": "inputValue",
3791
3535
  "type": {
3792
3536
  "text": "string"
3793
3537
  },
3794
- "description": "The item ID",
3795
- "fieldName": "id",
3796
- "inheritedFrom": {
3797
- "name": "AccordionItem",
3798
- "module": "src/accordion-item/accordion-item.ts"
3799
- }
3800
- }
3801
- ],
3802
- "members": [
3538
+ "default": "''"
3539
+ },
3803
3540
  {
3804
3541
  "kind": "field",
3805
- "name": "headinglevel",
3542
+ "name": "isInterpreting",
3806
3543
  "type": {
3807
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3544
+ "text": "boolean"
3808
3545
  },
3809
- "privacy": "public",
3810
- "default": "2",
3811
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3812
- "inheritedFrom": {
3813
- "name": "AccordionItem",
3814
- "module": "src/accordion-item/accordion-item.ts"
3546
+ "default": "false"
3547
+ },
3548
+ {
3549
+ "kind": "field",
3550
+ "name": "lastValidCriteria",
3551
+ "type": {
3552
+ "text": "string | null"
3553
+ },
3554
+ "default": "null"
3555
+ },
3556
+ {
3557
+ "kind": "field",
3558
+ "name": "activeGroups",
3559
+ "type": {
3560
+ "text": "CriteriaGroup[]"
3561
+ },
3562
+ "default": "[]"
3563
+ },
3564
+ {
3565
+ "kind": "field",
3566
+ "name": "showingChips",
3567
+ "type": {
3568
+ "text": "boolean"
3569
+ },
3570
+ "default": "false"
3571
+ },
3572
+ {
3573
+ "kind": "field",
3574
+ "name": "fieldMetadata",
3575
+ "type": {
3576
+ "text": "MetadataDetail[] | string[]"
3577
+ },
3578
+ "default": "[]"
3579
+ },
3580
+ {
3581
+ "kind": "field",
3582
+ "name": "isRecording",
3583
+ "type": {
3584
+ "text": "boolean"
3585
+ },
3586
+ "default": "false"
3587
+ },
3588
+ {
3589
+ "kind": "field",
3590
+ "name": "textAreaRef",
3591
+ "type": {
3592
+ "text": "HTMLTextAreaElement"
3593
+ },
3594
+ "privacy": "public"
3595
+ },
3596
+ {
3597
+ "kind": "field",
3598
+ "name": "stopRecording",
3599
+ "type": {
3600
+ "text": "(() => void) | null"
3601
+ },
3602
+ "privacy": "private",
3603
+ "default": "null"
3604
+ },
3605
+ {
3606
+ "kind": "field",
3607
+ "name": "speechApplyDebounceTimer",
3608
+ "type": {
3609
+ "text": "ReturnType<typeof setTimeout> | null"
3610
+ },
3611
+ "privacy": "private",
3612
+ "default": "null"
3613
+ },
3614
+ {
3615
+ "kind": "field",
3616
+ "name": "speechAvailable",
3617
+ "type": {
3618
+ "text": "boolean"
3619
+ },
3620
+ "readonly": true
3621
+ },
3622
+ {
3623
+ "kind": "field",
3624
+ "name": "criteriaChips",
3625
+ "type": {
3626
+ "text": "CriteriaChip[]"
3627
+ },
3628
+ "readonly": true
3629
+ },
3630
+ {
3631
+ "kind": "method",
3632
+ "name": "getFieldLabel",
3633
+ "privacy": "private",
3634
+ "return": {
3635
+ "type": {
3636
+ "text": "string"
3637
+ }
3638
+ },
3639
+ "parameters": [
3640
+ {
3641
+ "name": "fieldName",
3642
+ "type": {
3643
+ "text": "string"
3644
+ }
3645
+ }
3646
+ ]
3647
+ },
3648
+ {
3649
+ "kind": "method",
3650
+ "name": "toggleCriteriaView",
3651
+ "return": {
3652
+ "type": {
3653
+ "text": "void"
3654
+ }
3815
3655
  }
3816
3656
  },
3817
3657
  {
3818
- "kind": "field",
3819
- "name": "expanded",
3820
- "type": {
3821
- "text": "boolean"
3822
- },
3823
- "privacy": "public",
3824
- "default": "false",
3825
- "description": "Expands or collapses the item.",
3826
- "inheritedFrom": {
3827
- "name": "AccordionItem",
3828
- "module": "src/accordion-item/accordion-item.ts"
3658
+ "kind": "method",
3659
+ "name": "removeChip",
3660
+ "return": {
3661
+ "type": {
3662
+ "text": "void"
3663
+ }
3664
+ },
3665
+ "parameters": [
3666
+ {
3667
+ "name": "groupIndex",
3668
+ "type": {
3669
+ "text": "number"
3670
+ }
3671
+ },
3672
+ {
3673
+ "name": "clauseIndex",
3674
+ "type": {
3675
+ "text": "number"
3676
+ }
3677
+ }
3678
+ ]
3679
+ },
3680
+ {
3681
+ "kind": "method",
3682
+ "name": "clearChips",
3683
+ "return": {
3684
+ "type": {
3685
+ "text": "void"
3686
+ }
3829
3687
  }
3830
3688
  },
3831
3689
  {
3832
- "kind": "field",
3833
- "name": "id",
3834
- "type": {
3835
- "text": "string"
3836
- },
3837
- "privacy": "public",
3838
- "description": "The item ID",
3839
- "inheritedFrom": {
3840
- "name": "AccordionItem",
3841
- "module": "src/accordion-item/accordion-item.ts"
3842
- }
3690
+ "kind": "method",
3691
+ "name": "handleSubmit"
3843
3692
  },
3844
3693
  {
3845
- "kind": "field",
3846
- "name": "change",
3847
- "privacy": "private",
3848
- "inheritedFrom": {
3849
- "name": "AccordionItem",
3850
- "module": "src/accordion-item/accordion-item.ts"
3851
- }
3694
+ "kind": "method",
3695
+ "name": "handleBlur"
3696
+ },
3697
+ {
3698
+ "kind": "method",
3699
+ "name": "clear"
3700
+ },
3701
+ {
3702
+ "kind": "method",
3703
+ "name": "toggleSpeechInput"
3704
+ },
3705
+ {
3706
+ "kind": "method",
3707
+ "name": "clearSpeechApplyDebounce",
3708
+ "privacy": "private"
3852
3709
  },
3853
3710
  {
3854
3711
  "kind": "field",
@@ -3964,84 +3821,152 @@
3964
3821
  ],
3965
3822
  "events": [
3966
3823
  {
3967
- "description": "Fires a custom 'change' event when the button is invoked",
3968
- "name": "change",
3969
- "inheritedFrom": {
3970
- "name": "AccordionItem",
3971
- "module": "src/accordion-item/accordion-item.ts"
3972
- }
3824
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3825
+ "name": "criteria-changed"
3826
+ },
3827
+ {
3828
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3829
+ "name": "validation-errors"
3973
3830
  }
3974
- ]
3831
+ ],
3832
+ "attributes": [
3833
+ {
3834
+ "name": "placeholder",
3835
+ "type": {
3836
+ "text": "string"
3837
+ },
3838
+ "default": "'Describe your search criteria in natural language...'",
3839
+ "fieldName": "placeholder"
3840
+ },
3841
+ {
3842
+ "type": {
3843
+ "text": "boolean"
3844
+ },
3845
+ "fieldName": "disabled"
3846
+ }
3847
+ ],
3848
+ "superclass": {
3849
+ "name": "FoundationElement",
3850
+ "package": "@microsoft/fast-foundation"
3851
+ },
3852
+ "tagName": "%%prefix%%-ai-criteria-search",
3853
+ "customElement": true
3975
3854
  },
3976
3855
  {
3977
3856
  "kind": "variable",
3978
- "name": "foundationAccordionItemShadowOptions",
3857
+ "name": "foundationAiCriteriaSearchShadowOptions",
3979
3858
  "type": {
3980
3859
  "text": "ShadowRootInit"
3981
3860
  },
3982
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3861
+ "default": "undefined"
3983
3862
  },
3984
3863
  {
3985
3864
  "kind": "variable",
3986
- "name": "defaultAccordionItemConfig",
3865
+ "name": "defaultAiCriteriaSearchConfig",
3987
3866
  "type": {
3988
3867
  "text": "object"
3989
3868
  },
3990
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
3869
+ "default": "{}"
3991
3870
  },
3992
3871
  {
3993
3872
  "kind": "variable",
3994
- "name": "foundationAccordionItem",
3995
- "description": "The Foundation Accordion Item",
3996
- "privacy": "public"
3873
+ "name": "foundationAiCriteriaSearch"
3997
3874
  }
3998
3875
  ],
3999
3876
  "exports": [
4000
3877
  {
4001
3878
  "kind": "js",
4002
- "name": "AccordionItem",
3879
+ "name": "AiCriteriaSearch",
4003
3880
  "declaration": {
4004
- "name": "AccordionItem",
4005
- "module": "src/accordion-item/accordion-item.ts"
3881
+ "name": "AiCriteriaSearch",
3882
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
4006
3883
  }
4007
3884
  },
4008
3885
  {
4009
3886
  "kind": "js",
4010
- "name": "foundationAccordionItemShadowOptions",
3887
+ "name": "foundationAiCriteriaSearchShadowOptions",
4011
3888
  "declaration": {
4012
- "name": "foundationAccordionItemShadowOptions",
4013
- "module": "src/accordion-item/accordion-item.ts"
3889
+ "name": "foundationAiCriteriaSearchShadowOptions",
3890
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
4014
3891
  }
4015
3892
  },
4016
3893
  {
4017
3894
  "kind": "js",
4018
- "name": "defaultAccordionItemConfig",
3895
+ "name": "defaultAiCriteriaSearchConfig",
4019
3896
  "declaration": {
4020
- "name": "defaultAccordionItemConfig",
4021
- "module": "src/accordion-item/accordion-item.ts"
3897
+ "name": "defaultAiCriteriaSearchConfig",
3898
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
4022
3899
  }
4023
3900
  },
4024
3901
  {
4025
3902
  "kind": "js",
4026
- "name": "foundationAccordionItem",
3903
+ "name": "foundationAiCriteriaSearch",
4027
3904
  "declaration": {
4028
- "name": "foundationAccordionItem",
4029
- "module": "src/accordion-item/accordion-item.ts"
3905
+ "name": "foundationAiCriteriaSearch",
3906
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
4030
3907
  }
4031
3908
  }
4032
3909
  ]
4033
3910
  },
4034
3911
  {
4035
3912
  "kind": "javascript-module",
4036
- "path": "src/accordion-item/index.ts",
3913
+ "path": "src/ai-criteria-search/index.ts",
4037
3914
  "declarations": [],
4038
3915
  "exports": [
3916
+ {
3917
+ "kind": "js",
3918
+ "name": "AiCriteriaSearch",
3919
+ "declaration": {
3920
+ "name": "AiCriteriaSearch",
3921
+ "module": "./ai-criteria-search"
3922
+ }
3923
+ },
3924
+ {
3925
+ "kind": "js",
3926
+ "name": "defaultAiCriteriaSearchConfig",
3927
+ "declaration": {
3928
+ "name": "defaultAiCriteriaSearchConfig",
3929
+ "module": "./ai-criteria-search"
3930
+ }
3931
+ },
3932
+ {
3933
+ "kind": "js",
3934
+ "name": "foundationAiCriteriaSearch",
3935
+ "declaration": {
3936
+ "name": "foundationAiCriteriaSearch",
3937
+ "module": "./ai-criteria-search"
3938
+ }
3939
+ },
3940
+ {
3941
+ "kind": "js",
3942
+ "name": "foundationAiCriteriaSearchShadowOptions",
3943
+ "declaration": {
3944
+ "name": "foundationAiCriteriaSearchShadowOptions",
3945
+ "module": "./ai-criteria-search"
3946
+ }
3947
+ },
3948
+ {
3949
+ "kind": "js",
3950
+ "name": "foundationAiCriteriaSearchStyles",
3951
+ "declaration": {
3952
+ "name": "foundationAiCriteriaSearchStyles",
3953
+ "module": "./ai-criteria-search.styles"
3954
+ }
3955
+ },
3956
+ {
3957
+ "kind": "js",
3958
+ "name": "foundationAiCriteriaSearchTemplate",
3959
+ "declaration": {
3960
+ "name": "foundationAiCriteriaSearchTemplate",
3961
+ "module": "./ai-criteria-search.template"
3962
+ }
3963
+ },
4039
3964
  {
4040
3965
  "kind": "js",
4041
3966
  "name": "*",
4042
3967
  "declaration": {
4043
3968
  "name": "*",
4044
- "package": "./accordion-item.template"
3969
+ "package": "./validation/criteria-ir"
4045
3970
  }
4046
3971
  },
4047
3972
  {
@@ -4049,7 +3974,7 @@
4049
3974
  "name": "*",
4050
3975
  "declaration": {
4051
3976
  "name": "*",
4052
- "package": "./accordion-item.styles"
3977
+ "package": "./validation/operator-map"
4053
3978
  }
4054
3979
  },
4055
3980
  {
@@ -4057,7 +3982,82 @@
4057
3982
  "name": "*",
4058
3983
  "declaration": {
4059
3984
  "name": "*",
4060
- "package": "./accordion-item"
3985
+ "package": "./validation/schema-validator"
3986
+ }
3987
+ }
3988
+ ]
3989
+ },
3990
+ {
3991
+ "kind": "javascript-module",
3992
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3993
+ "declarations": [
3994
+ {
3995
+ "kind": "function",
3996
+ "name": "formatValidationErrors",
3997
+ "return": {
3998
+ "type": {
3999
+ "text": "string"
4000
+ }
4001
+ },
4002
+ "parameters": [
4003
+ {
4004
+ "name": "errors",
4005
+ "type": {
4006
+ "text": "ValidationError[]"
4007
+ }
4008
+ }
4009
+ ],
4010
+ "description": "Formats validation errors into a user-friendly message."
4011
+ },
4012
+ {
4013
+ "kind": "function",
4014
+ "name": "showCriteriaError",
4015
+ "return": {
4016
+ "type": {
4017
+ "text": "void"
4018
+ }
4019
+ },
4020
+ "parameters": [
4021
+ {
4022
+ "name": "title",
4023
+ "type": {
4024
+ "text": "string"
4025
+ },
4026
+ "description": "Notification title (e.g. \"Criteria validation error\")"
4027
+ },
4028
+ {
4029
+ "name": "body",
4030
+ "type": {
4031
+ "text": "string"
4032
+ },
4033
+ "description": "Error message to display"
4034
+ },
4035
+ {
4036
+ "name": "tagName",
4037
+ "type": {
4038
+ "text": "string"
4039
+ },
4040
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
4041
+ }
4042
+ ],
4043
+ "description": "Shows a criteria error as a toast notification."
4044
+ }
4045
+ ],
4046
+ "exports": [
4047
+ {
4048
+ "kind": "js",
4049
+ "name": "formatValidationErrors",
4050
+ "declaration": {
4051
+ "name": "formatValidationErrors",
4052
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
4053
+ }
4054
+ },
4055
+ {
4056
+ "kind": "js",
4057
+ "name": "showCriteriaError",
4058
+ "declaration": {
4059
+ "name": "showCriteriaError",
4060
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
4061
4061
  }
4062
4062
  }
4063
4063
  ]