@genesislcap/foundation-ui 15.80.0 → 15.81.0-GENC-1660.10

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.
@@ -1526,267 +1526,339 @@
1526
1526
  },
1527
1527
  {
1528
1528
  "kind": "javascript-module",
1529
- "path": "src/accordion-item/accordion-item.styles.ts",
1529
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1530
1530
  "declarations": [
1531
1531
  {
1532
- "kind": "function",
1533
- "name": "foundationAccordionItemStyles",
1534
- "return": {
1535
- "type": {
1536
- "text": "ElementStyles"
1537
- }
1538
- },
1539
- "parameters": [
1540
- {
1541
- "name": "context",
1542
- "type": {
1543
- "text": "ElementDefinitionContext"
1544
- }
1545
- },
1546
- {
1547
- "name": "definition",
1548
- "type": {
1549
- "text": "FoundationElementDefinition"
1550
- }
1551
- }
1552
- ]
1532
+ "kind": "variable",
1533
+ "name": "foundationAiCriteriaSearchStyles",
1534
+ "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`"
1553
1535
  }
1554
1536
  ],
1555
1537
  "exports": [
1556
1538
  {
1557
1539
  "kind": "js",
1558
- "name": "foundationAccordionItemStyles",
1540
+ "name": "foundationAiCriteriaSearchStyles",
1559
1541
  "declaration": {
1560
- "name": "foundationAccordionItemStyles",
1561
- "module": "src/accordion-item/accordion-item.styles.ts"
1542
+ "name": "foundationAiCriteriaSearchStyles",
1543
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1562
1544
  }
1563
1545
  }
1564
1546
  ]
1565
1547
  },
1566
1548
  {
1567
1549
  "kind": "javascript-module",
1568
- "path": "src/accordion-item/accordion-item.template.ts",
1550
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1569
1551
  "declarations": [
1570
1552
  {
1571
- "kind": "function",
1572
- "name": "foundationAccordionItemTemplate",
1573
- "return": {
1574
- "type": {
1575
- "text": "ViewTemplate<AccordionItem>"
1576
- }
1553
+ "kind": "variable",
1554
+ "name": "foundationAiCriteriaSearchTemplate",
1555
+ "type": {
1556
+ "text": "ViewTemplate<AiCriteriaSearch>"
1577
1557
  },
1578
- "parameters": [
1579
- {
1580
- "name": "context",
1581
- "type": {
1582
- "text": "ElementDefinitionContext"
1583
- }
1584
- },
1585
- {
1586
- "name": "definition",
1587
- "type": {
1588
- "text": "FoundationElementDefinition"
1589
- }
1590
- }
1591
- ]
1558
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1592
1559
  }
1593
1560
  ],
1594
1561
  "exports": [
1595
1562
  {
1596
1563
  "kind": "js",
1597
- "name": "foundationAccordionItemTemplate",
1564
+ "name": "foundationAiCriteriaSearchTemplate",
1598
1565
  "declaration": {
1599
- "name": "foundationAccordionItemTemplate",
1600
- "module": "src/accordion-item/accordion-item.template.ts"
1566
+ "name": "foundationAiCriteriaSearchTemplate",
1567
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1601
1568
  }
1602
1569
  }
1603
1570
  ]
1604
1571
  },
1605
1572
  {
1606
1573
  "kind": "javascript-module",
1607
- "path": "src/accordion-item/accordion-item.ts",
1574
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1608
1575
  "declarations": [
1609
1576
  {
1610
1577
  "kind": "class",
1611
- "description": "",
1612
- "name": "AccordionItem",
1613
- "superclass": {
1614
- "name": "FASTAccordionItem",
1615
- "package": "@microsoft/fast-components"
1616
- },
1617
- "tagName": "%%prefix%%-accordion-item",
1618
- "customElement": true,
1619
- "attributes": [
1578
+ "description": "Natural-language criteria search input with AI interpretation.",
1579
+ "name": "AiCriteriaSearch",
1580
+ "members": [
1620
1581
  {
1621
- "name": "heading-level",
1582
+ "kind": "field",
1583
+ "name": "providerRegistry",
1622
1584
  "type": {
1623
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1624
- },
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",
1628
- "inheritedFrom": {
1629
- "name": "AccordionItem",
1630
- "module": "src/accordion-item/accordion-item.ts"
1585
+ "text": "AIProviderRegistry"
1631
1586
  }
1632
1587
  },
1633
1588
  {
1589
+ "kind": "field",
1590
+ "name": "placeholder",
1634
1591
  "type": {
1635
- "text": "boolean"
1592
+ "text": "string"
1636
1593
  },
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"
1594
+ "default": "'Describe your search criteria in natural language...'"
1595
+ },
1596
+ {
1597
+ "kind": "field",
1598
+ "name": "disabled",
1599
+ "type": {
1600
+ "text": "boolean"
1643
1601
  }
1644
1602
  },
1645
1603
  {
1646
- "name": "id",
1604
+ "kind": "field",
1605
+ "name": "inputValue",
1647
1606
  "type": {
1648
1607
  "text": "string"
1649
1608
  },
1650
- "description": "The item ID",
1651
- "fieldName": "id",
1652
- "inheritedFrom": {
1653
- "name": "AccordionItem",
1654
- "module": "src/accordion-item/accordion-item.ts"
1655
- }
1656
- }
1657
- ],
1658
- "members": [
1609
+ "default": "''"
1610
+ },
1659
1611
  {
1660
1612
  "kind": "field",
1661
- "name": "headinglevel",
1613
+ "name": "isInterpreting",
1662
1614
  "type": {
1663
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1615
+ "text": "boolean"
1664
1616
  },
1665
- "privacy": "public",
1666
- "default": "2",
1667
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1668
- "inheritedFrom": {
1669
- "name": "AccordionItem",
1670
- "module": "src/accordion-item/accordion-item.ts"
1671
- }
1617
+ "default": "false"
1672
1618
  },
1673
1619
  {
1674
1620
  "kind": "field",
1675
- "name": "expanded",
1621
+ "name": "lastValidCriteria",
1622
+ "type": {
1623
+ "text": "string | null"
1624
+ },
1625
+ "default": "null"
1626
+ },
1627
+ {
1628
+ "kind": "field",
1629
+ "name": "activeGroups",
1630
+ "type": {
1631
+ "text": "CriteriaGroup[]"
1632
+ },
1633
+ "default": "[]"
1634
+ },
1635
+ {
1636
+ "kind": "field",
1637
+ "name": "showingChips",
1676
1638
  "type": {
1677
1639
  "text": "boolean"
1678
1640
  },
1679
- "privacy": "public",
1680
- "default": "false",
1681
- "description": "Expands or collapses the item.",
1682
- "inheritedFrom": {
1683
- "name": "AccordionItem",
1684
- "module": "src/accordion-item/accordion-item.ts"
1685
- }
1641
+ "default": "false"
1686
1642
  },
1687
1643
  {
1688
1644
  "kind": "field",
1689
- "name": "id",
1645
+ "name": "fieldMetadata",
1690
1646
  "type": {
1691
- "text": "string"
1647
+ "text": "MetadataDetail[] | string[]"
1692
1648
  },
1693
- "privacy": "public",
1694
- "description": "The item ID",
1695
- "inheritedFrom": {
1696
- "name": "AccordionItem",
1697
- "module": "src/accordion-item/accordion-item.ts"
1698
- }
1649
+ "default": "[]"
1699
1650
  },
1700
1651
  {
1701
1652
  "kind": "field",
1702
- "name": "change",
1703
- "privacy": "private",
1704
- "inheritedFrom": {
1705
- "name": "AccordionItem",
1706
- "module": "src/accordion-item/accordion-item.ts"
1707
- }
1653
+ "name": "isRecording",
1654
+ "type": {
1655
+ "text": "boolean"
1656
+ },
1657
+ "default": "false"
1708
1658
  },
1709
1659
  {
1710
1660
  "kind": "field",
1711
- "name": "_presentation",
1661
+ "name": "textAreaRef",
1712
1662
  "type": {
1713
- "text": "ComponentPresentation | null | undefined"
1663
+ "text": "HTMLTextAreaElement"
1714
1664
  },
1715
- "privacy": "private",
1716
- "default": "void 0",
1717
- "inheritedFrom": {
1718
- "name": "FoundationElement",
1719
- "module": "src/foundation-element/foundation-element.ts"
1720
- }
1665
+ "privacy": "public"
1721
1666
  },
1722
1667
  {
1723
1668
  "kind": "field",
1724
- "name": "$presentation",
1669
+ "name": "stopRecording",
1725
1670
  "type": {
1726
- "text": "ComponentPresentation | null"
1671
+ "text": "(() => void) | null"
1727
1672
  },
1728
- "privacy": "public",
1729
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1730
- "inheritedFrom": {
1731
- "name": "FoundationElement",
1732
- "module": "src/foundation-element/foundation-element.ts"
1733
- }
1673
+ "privacy": "private",
1674
+ "default": "null"
1734
1675
  },
1735
1676
  {
1736
1677
  "kind": "field",
1737
- "name": "template",
1678
+ "name": "speechApplyDebounceTimer",
1738
1679
  "type": {
1739
- "text": "ElementViewTemplate | void | null"
1680
+ "text": "ReturnType<typeof setTimeout> | null"
1740
1681
  },
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.",
1743
- "inheritedFrom": {
1744
- "name": "FoundationElement",
1745
- "module": "src/foundation-element/foundation-element.ts"
1746
- }
1682
+ "privacy": "private",
1683
+ "default": "null"
1747
1684
  },
1748
1685
  {
1749
- "kind": "method",
1750
- "name": "templateChanged",
1751
- "privacy": "protected",
1752
- "return": {
1753
- "type": {
1754
- "text": "void"
1755
- }
1686
+ "kind": "field",
1687
+ "name": "speechAvailable",
1688
+ "type": {
1689
+ "text": "boolean"
1756
1690
  },
1757
- "inheritedFrom": {
1758
- "name": "FoundationElement",
1759
- "module": "src/foundation-element/foundation-element.ts"
1760
- }
1691
+ "readonly": true
1761
1692
  },
1762
1693
  {
1763
1694
  "kind": "field",
1764
- "name": "styles",
1695
+ "name": "criteriaChips",
1765
1696
  "type": {
1766
- "text": "ElementStyles | void | null"
1697
+ "text": "CriteriaChip[]"
1767
1698
  },
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.",
1770
- "inheritedFrom": {
1771
- "name": "FoundationElement",
1772
- "module": "src/foundation-element/foundation-element.ts"
1773
- }
1699
+ "readonly": true
1774
1700
  },
1775
1701
  {
1776
1702
  "kind": "method",
1777
- "name": "stylesChanged",
1778
- "privacy": "protected",
1703
+ "name": "getFieldLabel",
1704
+ "privacy": "private",
1779
1705
  "return": {
1780
1706
  "type": {
1781
- "text": "void"
1707
+ "text": "string"
1782
1708
  }
1783
1709
  },
1784
- "inheritedFrom": {
1785
- "name": "FoundationElement",
1786
- "module": "src/foundation-element/foundation-element.ts"
1787
- }
1788
- },
1789
- {
1710
+ "parameters": [
1711
+ {
1712
+ "name": "fieldName",
1713
+ "type": {
1714
+ "text": "string"
1715
+ }
1716
+ }
1717
+ ]
1718
+ },
1719
+ {
1720
+ "kind": "method",
1721
+ "name": "toggleCriteriaView",
1722
+ "return": {
1723
+ "type": {
1724
+ "text": "void"
1725
+ }
1726
+ }
1727
+ },
1728
+ {
1729
+ "kind": "method",
1730
+ "name": "removeChip",
1731
+ "return": {
1732
+ "type": {
1733
+ "text": "void"
1734
+ }
1735
+ },
1736
+ "parameters": [
1737
+ {
1738
+ "name": "groupIndex",
1739
+ "type": {
1740
+ "text": "number"
1741
+ }
1742
+ },
1743
+ {
1744
+ "name": "clauseIndex",
1745
+ "type": {
1746
+ "text": "number"
1747
+ }
1748
+ }
1749
+ ]
1750
+ },
1751
+ {
1752
+ "kind": "method",
1753
+ "name": "clearChips",
1754
+ "return": {
1755
+ "type": {
1756
+ "text": "void"
1757
+ }
1758
+ }
1759
+ },
1760
+ {
1761
+ "kind": "method",
1762
+ "name": "handleSubmit"
1763
+ },
1764
+ {
1765
+ "kind": "method",
1766
+ "name": "handleBlur"
1767
+ },
1768
+ {
1769
+ "kind": "method",
1770
+ "name": "clear"
1771
+ },
1772
+ {
1773
+ "kind": "method",
1774
+ "name": "toggleSpeechInput"
1775
+ },
1776
+ {
1777
+ "kind": "method",
1778
+ "name": "clearSpeechApplyDebounce",
1779
+ "privacy": "private"
1780
+ },
1781
+ {
1782
+ "kind": "field",
1783
+ "name": "_presentation",
1784
+ "type": {
1785
+ "text": "ComponentPresentation | null | undefined"
1786
+ },
1787
+ "privacy": "private",
1788
+ "default": "void 0",
1789
+ "inheritedFrom": {
1790
+ "name": "FoundationElement",
1791
+ "module": "src/foundation-element/foundation-element.ts"
1792
+ }
1793
+ },
1794
+ {
1795
+ "kind": "field",
1796
+ "name": "$presentation",
1797
+ "type": {
1798
+ "text": "ComponentPresentation | null"
1799
+ },
1800
+ "privacy": "public",
1801
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1802
+ "inheritedFrom": {
1803
+ "name": "FoundationElement",
1804
+ "module": "src/foundation-element/foundation-element.ts"
1805
+ }
1806
+ },
1807
+ {
1808
+ "kind": "field",
1809
+ "name": "template",
1810
+ "type": {
1811
+ "text": "ElementViewTemplate | void | null"
1812
+ },
1813
+ "privacy": "public",
1814
+ "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.",
1815
+ "inheritedFrom": {
1816
+ "name": "FoundationElement",
1817
+ "module": "src/foundation-element/foundation-element.ts"
1818
+ }
1819
+ },
1820
+ {
1821
+ "kind": "method",
1822
+ "name": "templateChanged",
1823
+ "privacy": "protected",
1824
+ "return": {
1825
+ "type": {
1826
+ "text": "void"
1827
+ }
1828
+ },
1829
+ "inheritedFrom": {
1830
+ "name": "FoundationElement",
1831
+ "module": "src/foundation-element/foundation-element.ts"
1832
+ }
1833
+ },
1834
+ {
1835
+ "kind": "field",
1836
+ "name": "styles",
1837
+ "type": {
1838
+ "text": "ElementStyles | void | null"
1839
+ },
1840
+ "privacy": "public",
1841
+ "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.",
1842
+ "inheritedFrom": {
1843
+ "name": "FoundationElement",
1844
+ "module": "src/foundation-element/foundation-element.ts"
1845
+ }
1846
+ },
1847
+ {
1848
+ "kind": "method",
1849
+ "name": "stylesChanged",
1850
+ "privacy": "protected",
1851
+ "return": {
1852
+ "type": {
1853
+ "text": "void"
1854
+ }
1855
+ },
1856
+ "inheritedFrom": {
1857
+ "name": "FoundationElement",
1858
+ "module": "src/foundation-element/foundation-element.ts"
1859
+ }
1860
+ },
1861
+ {
1790
1862
  "kind": "method",
1791
1863
  "name": "compose",
1792
1864
  "privacy": "public",
@@ -1820,113 +1892,256 @@
1820
1892
  ],
1821
1893
  "events": [
1822
1894
  {
1823
- "description": "Fires a custom 'change' event when the button is invoked",
1824
- "name": "change",
1825
- "inheritedFrom": {
1826
- "name": "AccordionItem",
1827
- "module": "src/accordion-item/accordion-item.ts"
1828
- }
1895
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
1896
+ "name": "criteria-changed"
1897
+ },
1898
+ {
1899
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
1900
+ "name": "validation-errors"
1829
1901
  }
1830
- ]
1902
+ ],
1903
+ "attributes": [
1904
+ {
1905
+ "name": "placeholder",
1906
+ "type": {
1907
+ "text": "string"
1908
+ },
1909
+ "default": "'Describe your search criteria in natural language...'",
1910
+ "fieldName": "placeholder"
1911
+ },
1912
+ {
1913
+ "type": {
1914
+ "text": "boolean"
1915
+ },
1916
+ "fieldName": "disabled"
1917
+ }
1918
+ ],
1919
+ "superclass": {
1920
+ "name": "FoundationElement",
1921
+ "package": "@microsoft/fast-foundation"
1922
+ },
1923
+ "tagName": "%%prefix%%-ai-criteria-search",
1924
+ "customElement": true
1831
1925
  },
1832
1926
  {
1833
1927
  "kind": "variable",
1834
- "name": "foundationAccordionItemShadowOptions",
1928
+ "name": "foundationAiCriteriaSearchShadowOptions",
1835
1929
  "type": {
1836
1930
  "text": "ShadowRootInit"
1837
1931
  },
1838
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1932
+ "default": "undefined"
1839
1933
  },
1840
1934
  {
1841
1935
  "kind": "variable",
1842
- "name": "defaultAccordionItemConfig",
1936
+ "name": "defaultAiCriteriaSearchConfig",
1843
1937
  "type": {
1844
1938
  "text": "object"
1845
1939
  },
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}"
1940
+ "default": "{}"
1847
1941
  },
1848
1942
  {
1849
1943
  "kind": "variable",
1850
- "name": "foundationAccordionItem",
1851
- "description": "The Foundation Accordion Item",
1852
- "privacy": "public"
1944
+ "name": "foundationAiCriteriaSearch"
1853
1945
  }
1854
1946
  ],
1855
1947
  "exports": [
1856
1948
  {
1857
1949
  "kind": "js",
1858
- "name": "AccordionItem",
1950
+ "name": "AiCriteriaSearch",
1859
1951
  "declaration": {
1860
- "name": "AccordionItem",
1861
- "module": "src/accordion-item/accordion-item.ts"
1952
+ "name": "AiCriteriaSearch",
1953
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1862
1954
  }
1863
1955
  },
1864
1956
  {
1865
1957
  "kind": "js",
1866
- "name": "foundationAccordionItemShadowOptions",
1958
+ "name": "foundationAiCriteriaSearchShadowOptions",
1867
1959
  "declaration": {
1868
- "name": "foundationAccordionItemShadowOptions",
1869
- "module": "src/accordion-item/accordion-item.ts"
1960
+ "name": "foundationAiCriteriaSearchShadowOptions",
1961
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1870
1962
  }
1871
1963
  },
1872
1964
  {
1873
1965
  "kind": "js",
1874
- "name": "defaultAccordionItemConfig",
1966
+ "name": "defaultAiCriteriaSearchConfig",
1875
1967
  "declaration": {
1876
- "name": "defaultAccordionItemConfig",
1877
- "module": "src/accordion-item/accordion-item.ts"
1968
+ "name": "defaultAiCriteriaSearchConfig",
1969
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1878
1970
  }
1879
1971
  },
1880
1972
  {
1881
1973
  "kind": "js",
1882
- "name": "foundationAccordionItem",
1974
+ "name": "foundationAiCriteriaSearch",
1883
1975
  "declaration": {
1884
- "name": "foundationAccordionItem",
1885
- "module": "src/accordion-item/accordion-item.ts"
1976
+ "name": "foundationAiCriteriaSearch",
1977
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
1886
1978
  }
1887
1979
  }
1888
1980
  ]
1889
1981
  },
1890
1982
  {
1891
1983
  "kind": "javascript-module",
1892
- "path": "src/accordion-item/index.ts",
1984
+ "path": "src/ai-criteria-search/index.ts",
1893
1985
  "declarations": [],
1894
1986
  "exports": [
1895
1987
  {
1896
1988
  "kind": "js",
1897
- "name": "*",
1989
+ "name": "AiCriteriaSearch",
1898
1990
  "declaration": {
1899
- "name": "*",
1900
- "package": "./accordion-item.template"
1991
+ "name": "AiCriteriaSearch",
1992
+ "module": "./ai-criteria-search"
1901
1993
  }
1902
1994
  },
1903
1995
  {
1904
1996
  "kind": "js",
1905
- "name": "*",
1997
+ "name": "defaultAiCriteriaSearchConfig",
1906
1998
  "declaration": {
1907
- "name": "*",
1908
- "package": "./accordion-item.styles"
1999
+ "name": "defaultAiCriteriaSearchConfig",
2000
+ "module": "./ai-criteria-search"
1909
2001
  }
1910
2002
  },
1911
2003
  {
1912
2004
  "kind": "js",
1913
- "name": "*",
2005
+ "name": "foundationAiCriteriaSearch",
1914
2006
  "declaration": {
1915
- "name": "*",
1916
- "package": "./accordion-item"
2007
+ "name": "foundationAiCriteriaSearch",
2008
+ "module": "./ai-criteria-search"
1917
2009
  }
1918
- }
1919
- ]
1920
- },
1921
- {
1922
- "kind": "javascript-module",
1923
- "path": "src/actions-menu/actions-menu.styles.ts",
1924
- "declarations": [
2010
+ },
1925
2011
  {
1926
- "kind": "function",
1927
- "name": "actionsMenuBaseStyles",
1928
- "return": {
1929
- "type": {
2012
+ "kind": "js",
2013
+ "name": "foundationAiCriteriaSearchShadowOptions",
2014
+ "declaration": {
2015
+ "name": "foundationAiCriteriaSearchShadowOptions",
2016
+ "module": "./ai-criteria-search"
2017
+ }
2018
+ },
2019
+ {
2020
+ "kind": "js",
2021
+ "name": "foundationAiCriteriaSearchStyles",
2022
+ "declaration": {
2023
+ "name": "foundationAiCriteriaSearchStyles",
2024
+ "module": "./ai-criteria-search.styles"
2025
+ }
2026
+ },
2027
+ {
2028
+ "kind": "js",
2029
+ "name": "foundationAiCriteriaSearchTemplate",
2030
+ "declaration": {
2031
+ "name": "foundationAiCriteriaSearchTemplate",
2032
+ "module": "./ai-criteria-search.template"
2033
+ }
2034
+ },
2035
+ {
2036
+ "kind": "js",
2037
+ "name": "*",
2038
+ "declaration": {
2039
+ "name": "*",
2040
+ "package": "./validation/criteria-ir"
2041
+ }
2042
+ },
2043
+ {
2044
+ "kind": "js",
2045
+ "name": "*",
2046
+ "declaration": {
2047
+ "name": "*",
2048
+ "package": "./validation/operator-map"
2049
+ }
2050
+ },
2051
+ {
2052
+ "kind": "js",
2053
+ "name": "*",
2054
+ "declaration": {
2055
+ "name": "*",
2056
+ "package": "./validation/schema-validator"
2057
+ }
2058
+ }
2059
+ ]
2060
+ },
2061
+ {
2062
+ "kind": "javascript-module",
2063
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2064
+ "declarations": [
2065
+ {
2066
+ "kind": "function",
2067
+ "name": "formatValidationErrors",
2068
+ "return": {
2069
+ "type": {
2070
+ "text": "string"
2071
+ }
2072
+ },
2073
+ "parameters": [
2074
+ {
2075
+ "name": "errors",
2076
+ "type": {
2077
+ "text": "ValidationError[]"
2078
+ }
2079
+ }
2080
+ ],
2081
+ "description": "Formats validation errors into a user-friendly message."
2082
+ },
2083
+ {
2084
+ "kind": "function",
2085
+ "name": "showCriteriaError",
2086
+ "return": {
2087
+ "type": {
2088
+ "text": "void"
2089
+ }
2090
+ },
2091
+ "parameters": [
2092
+ {
2093
+ "name": "title",
2094
+ "type": {
2095
+ "text": "string"
2096
+ },
2097
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2098
+ },
2099
+ {
2100
+ "name": "body",
2101
+ "type": {
2102
+ "text": "string"
2103
+ },
2104
+ "description": "Error message to display"
2105
+ },
2106
+ {
2107
+ "name": "tagName",
2108
+ "type": {
2109
+ "text": "string"
2110
+ },
2111
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2112
+ }
2113
+ ],
2114
+ "description": "Shows a criteria error as a toast notification."
2115
+ }
2116
+ ],
2117
+ "exports": [
2118
+ {
2119
+ "kind": "js",
2120
+ "name": "formatValidationErrors",
2121
+ "declaration": {
2122
+ "name": "formatValidationErrors",
2123
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2124
+ }
2125
+ },
2126
+ {
2127
+ "kind": "js",
2128
+ "name": "showCriteriaError",
2129
+ "declaration": {
2130
+ "name": "showCriteriaError",
2131
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2132
+ }
2133
+ }
2134
+ ]
2135
+ },
2136
+ {
2137
+ "kind": "javascript-module",
2138
+ "path": "src/actions-menu/actions-menu.styles.ts",
2139
+ "declarations": [
2140
+ {
2141
+ "kind": "function",
2142
+ "name": "actionsMenuBaseStyles",
2143
+ "return": {
2144
+ "type": {
1930
2145
  "text": "ElementStyles"
1931
2146
  }
1932
2147
  },
@@ -2645,257 +2860,185 @@
2645
2860
  },
2646
2861
  {
2647
2862
  "kind": "javascript-module",
2648
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2863
+ "path": "src/accordion-item/accordion-item.styles.ts",
2649
2864
  "declarations": [
2650
2865
  {
2651
- "kind": "variable",
2652
- "name": "foundationAiCriteriaSearchStyles",
2653
- "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`"
2866
+ "kind": "function",
2867
+ "name": "foundationAccordionItemStyles",
2868
+ "return": {
2869
+ "type": {
2870
+ "text": "ElementStyles"
2871
+ }
2872
+ },
2873
+ "parameters": [
2874
+ {
2875
+ "name": "context",
2876
+ "type": {
2877
+ "text": "ElementDefinitionContext"
2878
+ }
2879
+ },
2880
+ {
2881
+ "name": "definition",
2882
+ "type": {
2883
+ "text": "FoundationElementDefinition"
2884
+ }
2885
+ }
2886
+ ]
2654
2887
  }
2655
2888
  ],
2656
2889
  "exports": [
2657
2890
  {
2658
2891
  "kind": "js",
2659
- "name": "foundationAiCriteriaSearchStyles",
2892
+ "name": "foundationAccordionItemStyles",
2660
2893
  "declaration": {
2661
- "name": "foundationAiCriteriaSearchStyles",
2662
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2894
+ "name": "foundationAccordionItemStyles",
2895
+ "module": "src/accordion-item/accordion-item.styles.ts"
2663
2896
  }
2664
2897
  }
2665
2898
  ]
2666
2899
  },
2667
2900
  {
2668
2901
  "kind": "javascript-module",
2669
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2902
+ "path": "src/accordion-item/accordion-item.template.ts",
2670
2903
  "declarations": [
2671
2904
  {
2672
- "kind": "variable",
2673
- "name": "foundationAiCriteriaSearchTemplate",
2674
- "type": {
2675
- "text": "ViewTemplate<AiCriteriaSearch>"
2905
+ "kind": "function",
2906
+ "name": "foundationAccordionItemTemplate",
2907
+ "return": {
2908
+ "type": {
2909
+ "text": "ViewTemplate<AccordionItem>"
2910
+ }
2676
2911
  },
2677
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2912
+ "parameters": [
2913
+ {
2914
+ "name": "context",
2915
+ "type": {
2916
+ "text": "ElementDefinitionContext"
2917
+ }
2918
+ },
2919
+ {
2920
+ "name": "definition",
2921
+ "type": {
2922
+ "text": "FoundationElementDefinition"
2923
+ }
2924
+ }
2925
+ ]
2678
2926
  }
2679
2927
  ],
2680
2928
  "exports": [
2681
2929
  {
2682
2930
  "kind": "js",
2683
- "name": "foundationAiCriteriaSearchTemplate",
2931
+ "name": "foundationAccordionItemTemplate",
2684
2932
  "declaration": {
2685
- "name": "foundationAiCriteriaSearchTemplate",
2686
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2933
+ "name": "foundationAccordionItemTemplate",
2934
+ "module": "src/accordion-item/accordion-item.template.ts"
2687
2935
  }
2688
2936
  }
2689
2937
  ]
2690
2938
  },
2691
2939
  {
2692
2940
  "kind": "javascript-module",
2693
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2941
+ "path": "src/accordion-item/accordion-item.ts",
2694
2942
  "declarations": [
2695
2943
  {
2696
2944
  "kind": "class",
2697
- "description": "Natural-language criteria search input with AI interpretation.",
2698
- "name": "AiCriteriaSearch",
2699
- "members": [
2700
- {
2701
- "kind": "field",
2702
- "name": "providerRegistry",
2703
- "type": {
2704
- "text": "AIProviderRegistry"
2705
- }
2706
- },
2945
+ "description": "",
2946
+ "name": "AccordionItem",
2947
+ "superclass": {
2948
+ "name": "FASTAccordionItem",
2949
+ "package": "@microsoft/fast-components"
2950
+ },
2951
+ "tagName": "%%prefix%%-accordion-item",
2952
+ "customElement": true,
2953
+ "attributes": [
2707
2954
  {
2708
- "kind": "field",
2709
- "name": "placeholder",
2955
+ "name": "heading-level",
2710
2956
  "type": {
2711
- "text": "string"
2957
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2712
2958
  },
2713
- "default": "'Describe your search criteria in natural language...'"
2714
- },
2715
- {
2716
- "kind": "field",
2717
- "name": "disabled",
2718
- "type": {
2719
- "text": "boolean"
2959
+ "default": "2",
2960
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2961
+ "fieldName": "headinglevel",
2962
+ "inheritedFrom": {
2963
+ "name": "AccordionItem",
2964
+ "module": "src/accordion-item/accordion-item.ts"
2720
2965
  }
2721
2966
  },
2722
2967
  {
2723
- "kind": "field",
2724
- "name": "inputValue",
2725
- "type": {
2726
- "text": "string"
2727
- },
2728
- "default": "''"
2729
- },
2730
- {
2731
- "kind": "field",
2732
- "name": "isInterpreting",
2733
- "type": {
2734
- "text": "boolean"
2735
- },
2736
- "default": "false"
2737
- },
2738
- {
2739
- "kind": "field",
2740
- "name": "lastValidCriteria",
2741
- "type": {
2742
- "text": "string | null"
2743
- },
2744
- "default": "null"
2745
- },
2746
- {
2747
- "kind": "field",
2748
- "name": "activeGroups",
2749
- "type": {
2750
- "text": "CriteriaGroup[]"
2751
- },
2752
- "default": "[]"
2753
- },
2754
- {
2755
- "kind": "field",
2756
- "name": "showingChips",
2757
- "type": {
2758
- "text": "boolean"
2759
- },
2760
- "default": "false"
2761
- },
2762
- {
2763
- "kind": "field",
2764
- "name": "fieldMetadata",
2765
- "type": {
2766
- "text": "MetadataDetail[] | string[]"
2767
- },
2768
- "default": "[]"
2769
- },
2770
- {
2771
- "kind": "field",
2772
- "name": "isRecording",
2773
- "type": {
2774
- "text": "boolean"
2775
- },
2776
- "default": "false"
2777
- },
2778
- {
2779
- "kind": "field",
2780
- "name": "textAreaRef",
2781
- "type": {
2782
- "text": "HTMLTextAreaElement"
2783
- },
2784
- "privacy": "public"
2785
- },
2786
- {
2787
- "kind": "field",
2788
- "name": "stopRecording",
2789
- "type": {
2790
- "text": "(() => void) | null"
2791
- },
2792
- "privacy": "private",
2793
- "default": "null"
2794
- },
2795
- {
2796
- "kind": "field",
2797
- "name": "speechApplyDebounceTimer",
2798
- "type": {
2799
- "text": "ReturnType<typeof setTimeout> | null"
2800
- },
2801
- "privacy": "private",
2802
- "default": "null"
2803
- },
2804
- {
2805
- "kind": "field",
2806
- "name": "speechAvailable",
2807
2968
  "type": {
2808
2969
  "text": "boolean"
2809
2970
  },
2810
- "readonly": true
2811
- },
2812
- {
2813
- "kind": "field",
2814
- "name": "criteriaChips",
2815
- "type": {
2816
- "text": "CriteriaChip[]"
2817
- },
2818
- "readonly": true
2819
- },
2820
- {
2821
- "kind": "method",
2822
- "name": "getFieldLabel",
2823
- "privacy": "private",
2824
- "return": {
2825
- "type": {
2826
- "text": "string"
2827
- }
2828
- },
2829
- "parameters": [
2830
- {
2831
- "name": "fieldName",
2832
- "type": {
2833
- "text": "string"
2834
- }
2835
- }
2836
- ]
2837
- },
2838
- {
2839
- "kind": "method",
2840
- "name": "toggleCriteriaView",
2841
- "return": {
2842
- "type": {
2843
- "text": "void"
2844
- }
2971
+ "default": "false",
2972
+ "description": "Expands or collapses the item.",
2973
+ "fieldName": "expanded",
2974
+ "inheritedFrom": {
2975
+ "name": "AccordionItem",
2976
+ "module": "src/accordion-item/accordion-item.ts"
2845
2977
  }
2846
2978
  },
2847
2979
  {
2848
- "kind": "method",
2849
- "name": "removeChip",
2850
- "return": {
2851
- "type": {
2852
- "text": "void"
2853
- }
2980
+ "name": "id",
2981
+ "type": {
2982
+ "text": "string"
2854
2983
  },
2855
- "parameters": [
2856
- {
2857
- "name": "groupIndex",
2858
- "type": {
2859
- "text": "number"
2860
- }
2861
- },
2862
- {
2863
- "name": "clauseIndex",
2864
- "type": {
2865
- "text": "number"
2866
- }
2867
- }
2868
- ]
2869
- },
2870
- {
2871
- "kind": "method",
2872
- "name": "clearChips",
2873
- "return": {
2874
- "type": {
2875
- "text": "void"
2876
- }
2984
+ "description": "The item ID",
2985
+ "fieldName": "id",
2986
+ "inheritedFrom": {
2987
+ "name": "AccordionItem",
2988
+ "module": "src/accordion-item/accordion-item.ts"
2877
2989
  }
2878
- },
2879
- {
2880
- "kind": "method",
2881
- "name": "handleSubmit"
2882
- },
2990
+ }
2991
+ ],
2992
+ "members": [
2883
2993
  {
2884
- "kind": "method",
2885
- "name": "handleBlur"
2994
+ "kind": "field",
2995
+ "name": "headinglevel",
2996
+ "type": {
2997
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2998
+ },
2999
+ "privacy": "public",
3000
+ "default": "2",
3001
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3002
+ "inheritedFrom": {
3003
+ "name": "AccordionItem",
3004
+ "module": "src/accordion-item/accordion-item.ts"
3005
+ }
2886
3006
  },
2887
3007
  {
2888
- "kind": "method",
2889
- "name": "clear"
3008
+ "kind": "field",
3009
+ "name": "expanded",
3010
+ "type": {
3011
+ "text": "boolean"
3012
+ },
3013
+ "privacy": "public",
3014
+ "default": "false",
3015
+ "description": "Expands or collapses the item.",
3016
+ "inheritedFrom": {
3017
+ "name": "AccordionItem",
3018
+ "module": "src/accordion-item/accordion-item.ts"
3019
+ }
2890
3020
  },
2891
3021
  {
2892
- "kind": "method",
2893
- "name": "toggleSpeechInput"
3022
+ "kind": "field",
3023
+ "name": "id",
3024
+ "type": {
3025
+ "text": "string"
3026
+ },
3027
+ "privacy": "public",
3028
+ "description": "The item ID",
3029
+ "inheritedFrom": {
3030
+ "name": "AccordionItem",
3031
+ "module": "src/accordion-item/accordion-item.ts"
3032
+ }
2894
3033
  },
2895
3034
  {
2896
- "kind": "method",
2897
- "name": "clearSpeechApplyDebounce",
2898
- "privacy": "private"
3035
+ "kind": "field",
3036
+ "name": "change",
3037
+ "privacy": "private",
3038
+ "inheritedFrom": {
3039
+ "name": "AccordionItem",
3040
+ "module": "src/accordion-item/accordion-item.ts"
3041
+ }
2899
3042
  },
2900
3043
  {
2901
3044
  "kind": "field",
@@ -3011,152 +3154,84 @@
3011
3154
  ],
3012
3155
  "events": [
3013
3156
  {
3014
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3015
- "name": "criteria-changed"
3016
- },
3017
- {
3018
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3019
- "name": "validation-errors"
3020
- }
3021
- ],
3022
- "attributes": [
3023
- {
3024
- "name": "placeholder",
3025
- "type": {
3026
- "text": "string"
3027
- },
3028
- "default": "'Describe your search criteria in natural language...'",
3029
- "fieldName": "placeholder"
3030
- },
3031
- {
3032
- "type": {
3033
- "text": "boolean"
3034
- },
3035
- "fieldName": "disabled"
3157
+ "description": "Fires a custom 'change' event when the button is invoked",
3158
+ "name": "change",
3159
+ "inheritedFrom": {
3160
+ "name": "AccordionItem",
3161
+ "module": "src/accordion-item/accordion-item.ts"
3162
+ }
3036
3163
  }
3037
- ],
3038
- "superclass": {
3039
- "name": "FoundationElement",
3040
- "package": "@microsoft/fast-foundation"
3041
- },
3042
- "tagName": "%%prefix%%-ai-criteria-search",
3043
- "customElement": true
3164
+ ]
3044
3165
  },
3045
3166
  {
3046
3167
  "kind": "variable",
3047
- "name": "foundationAiCriteriaSearchShadowOptions",
3168
+ "name": "foundationAccordionItemShadowOptions",
3048
3169
  "type": {
3049
3170
  "text": "ShadowRootInit"
3050
3171
  },
3051
- "default": "undefined"
3172
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3052
3173
  },
3053
3174
  {
3054
3175
  "kind": "variable",
3055
- "name": "defaultAiCriteriaSearchConfig",
3176
+ "name": "defaultAccordionItemConfig",
3056
3177
  "type": {
3057
3178
  "text": "object"
3058
3179
  },
3059
- "default": "{}"
3180
+ "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}"
3060
3181
  },
3061
3182
  {
3062
3183
  "kind": "variable",
3063
- "name": "foundationAiCriteriaSearch"
3184
+ "name": "foundationAccordionItem",
3185
+ "description": "The Foundation Accordion Item",
3186
+ "privacy": "public"
3064
3187
  }
3065
3188
  ],
3066
3189
  "exports": [
3067
3190
  {
3068
3191
  "kind": "js",
3069
- "name": "AiCriteriaSearch",
3192
+ "name": "AccordionItem",
3070
3193
  "declaration": {
3071
- "name": "AiCriteriaSearch",
3072
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3194
+ "name": "AccordionItem",
3195
+ "module": "src/accordion-item/accordion-item.ts"
3073
3196
  }
3074
3197
  },
3075
3198
  {
3076
3199
  "kind": "js",
3077
- "name": "foundationAiCriteriaSearchShadowOptions",
3200
+ "name": "foundationAccordionItemShadowOptions",
3078
3201
  "declaration": {
3079
- "name": "foundationAiCriteriaSearchShadowOptions",
3080
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3202
+ "name": "foundationAccordionItemShadowOptions",
3203
+ "module": "src/accordion-item/accordion-item.ts"
3081
3204
  }
3082
3205
  },
3083
3206
  {
3084
3207
  "kind": "js",
3085
- "name": "defaultAiCriteriaSearchConfig",
3208
+ "name": "defaultAccordionItemConfig",
3086
3209
  "declaration": {
3087
- "name": "defaultAiCriteriaSearchConfig",
3088
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3210
+ "name": "defaultAccordionItemConfig",
3211
+ "module": "src/accordion-item/accordion-item.ts"
3089
3212
  }
3090
3213
  },
3091
3214
  {
3092
3215
  "kind": "js",
3093
- "name": "foundationAiCriteriaSearch",
3216
+ "name": "foundationAccordionItem",
3094
3217
  "declaration": {
3095
- "name": "foundationAiCriteriaSearch",
3096
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3218
+ "name": "foundationAccordionItem",
3219
+ "module": "src/accordion-item/accordion-item.ts"
3097
3220
  }
3098
3221
  }
3099
3222
  ]
3100
3223
  },
3101
3224
  {
3102
3225
  "kind": "javascript-module",
3103
- "path": "src/ai-criteria-search/index.ts",
3226
+ "path": "src/accordion-item/index.ts",
3104
3227
  "declarations": [],
3105
3228
  "exports": [
3106
- {
3107
- "kind": "js",
3108
- "name": "AiCriteriaSearch",
3109
- "declaration": {
3110
- "name": "AiCriteriaSearch",
3111
- "module": "./ai-criteria-search"
3112
- }
3113
- },
3114
- {
3115
- "kind": "js",
3116
- "name": "defaultAiCriteriaSearchConfig",
3117
- "declaration": {
3118
- "name": "defaultAiCriteriaSearchConfig",
3119
- "module": "./ai-criteria-search"
3120
- }
3121
- },
3122
- {
3123
- "kind": "js",
3124
- "name": "foundationAiCriteriaSearch",
3125
- "declaration": {
3126
- "name": "foundationAiCriteriaSearch",
3127
- "module": "./ai-criteria-search"
3128
- }
3129
- },
3130
- {
3131
- "kind": "js",
3132
- "name": "foundationAiCriteriaSearchShadowOptions",
3133
- "declaration": {
3134
- "name": "foundationAiCriteriaSearchShadowOptions",
3135
- "module": "./ai-criteria-search"
3136
- }
3137
- },
3138
- {
3139
- "kind": "js",
3140
- "name": "foundationAiCriteriaSearchStyles",
3141
- "declaration": {
3142
- "name": "foundationAiCriteriaSearchStyles",
3143
- "module": "./ai-criteria-search.styles"
3144
- }
3145
- },
3146
- {
3147
- "kind": "js",
3148
- "name": "foundationAiCriteriaSearchTemplate",
3149
- "declaration": {
3150
- "name": "foundationAiCriteriaSearchTemplate",
3151
- "module": "./ai-criteria-search.template"
3152
- }
3153
- },
3154
3229
  {
3155
3230
  "kind": "js",
3156
3231
  "name": "*",
3157
3232
  "declaration": {
3158
3233
  "name": "*",
3159
- "package": "./validation/criteria-ir"
3234
+ "package": "./accordion-item.template"
3160
3235
  }
3161
3236
  },
3162
3237
  {
@@ -3164,7 +3239,7 @@
3164
3239
  "name": "*",
3165
3240
  "declaration": {
3166
3241
  "name": "*",
3167
- "package": "./validation/operator-map"
3242
+ "package": "./accordion-item.styles"
3168
3243
  }
3169
3244
  },
3170
3245
  {
@@ -3172,82 +3247,7 @@
3172
3247
  "name": "*",
3173
3248
  "declaration": {
3174
3249
  "name": "*",
3175
- "package": "./validation/schema-validator"
3176
- }
3177
- }
3178
- ]
3179
- },
3180
- {
3181
- "kind": "javascript-module",
3182
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3183
- "declarations": [
3184
- {
3185
- "kind": "function",
3186
- "name": "formatValidationErrors",
3187
- "return": {
3188
- "type": {
3189
- "text": "string"
3190
- }
3191
- },
3192
- "parameters": [
3193
- {
3194
- "name": "errors",
3195
- "type": {
3196
- "text": "ValidationError[]"
3197
- }
3198
- }
3199
- ],
3200
- "description": "Formats validation errors into a user-friendly message."
3201
- },
3202
- {
3203
- "kind": "function",
3204
- "name": "showCriteriaError",
3205
- "return": {
3206
- "type": {
3207
- "text": "void"
3208
- }
3209
- },
3210
- "parameters": [
3211
- {
3212
- "name": "title",
3213
- "type": {
3214
- "text": "string"
3215
- },
3216
- "description": "Notification title (e.g. \"Criteria validation error\")"
3217
- },
3218
- {
3219
- "name": "body",
3220
- "type": {
3221
- "text": "string"
3222
- },
3223
- "description": "Error message to display"
3224
- },
3225
- {
3226
- "name": "tagName",
3227
- "type": {
3228
- "text": "string"
3229
- },
3230
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3231
- }
3232
- ],
3233
- "description": "Shows a criteria error as a toast notification."
3234
- }
3235
- ],
3236
- "exports": [
3237
- {
3238
- "kind": "js",
3239
- "name": "formatValidationErrors",
3240
- "declaration": {
3241
- "name": "formatValidationErrors",
3242
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3243
- }
3244
- },
3245
- {
3246
- "kind": "js",
3247
- "name": "showCriteriaError",
3248
- "declaration": {
3249
- "name": "showCriteriaError",
3250
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3250
+ "package": "./accordion-item"
3251
3251
  }
3252
3252
  }
3253
3253
  ]