@genesislcap/foundation-ui 15.20.1-alpha-08bf7a668.0 → 15.20.2-FUI-0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1524,400 +1524,6 @@
1524
1524
  }
1525
1525
  ]
1526
1526
  },
1527
- {
1528
- "kind": "javascript-module",
1529
- "path": "src/accordion-item/accordion-item.styles.ts",
1530
- "declarations": [
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
- ]
1553
- }
1554
- ],
1555
- "exports": [
1556
- {
1557
- "kind": "js",
1558
- "name": "foundationAccordionItemStyles",
1559
- "declaration": {
1560
- "name": "foundationAccordionItemStyles",
1561
- "module": "src/accordion-item/accordion-item.styles.ts"
1562
- }
1563
- }
1564
- ]
1565
- },
1566
- {
1567
- "kind": "javascript-module",
1568
- "path": "src/accordion-item/accordion-item.template.ts",
1569
- "declarations": [
1570
- {
1571
- "kind": "function",
1572
- "name": "foundationAccordionItemTemplate",
1573
- "return": {
1574
- "type": {
1575
- "text": "ViewTemplate<AccordionItem>"
1576
- }
1577
- },
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
- ]
1592
- }
1593
- ],
1594
- "exports": [
1595
- {
1596
- "kind": "js",
1597
- "name": "foundationAccordionItemTemplate",
1598
- "declaration": {
1599
- "name": "foundationAccordionItemTemplate",
1600
- "module": "src/accordion-item/accordion-item.template.ts"
1601
- }
1602
- }
1603
- ]
1604
- },
1605
- {
1606
- "kind": "javascript-module",
1607
- "path": "src/accordion-item/accordion-item.ts",
1608
- "declarations": [
1609
- {
1610
- "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": [
1620
- {
1621
- "name": "heading-level",
1622
- "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"
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"
1655
- }
1656
- }
1657
- ],
1658
- "members": [
1659
- {
1660
- "kind": "field",
1661
- "name": "headinglevel",
1662
- "type": {
1663
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1664
- },
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
- }
1672
- },
1673
- {
1674
- "kind": "field",
1675
- "name": "expanded",
1676
- "type": {
1677
- "text": "boolean"
1678
- },
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
- }
1686
- },
1687
- {
1688
- "kind": "field",
1689
- "name": "id",
1690
- "type": {
1691
- "text": "string"
1692
- },
1693
- "privacy": "public",
1694
- "description": "The item ID",
1695
- "inheritedFrom": {
1696
- "name": "AccordionItem",
1697
- "module": "src/accordion-item/accordion-item.ts"
1698
- }
1699
- },
1700
- {
1701
- "kind": "field",
1702
- "name": "change",
1703
- "privacy": "private",
1704
- "inheritedFrom": {
1705
- "name": "AccordionItem",
1706
- "module": "src/accordion-item/accordion-item.ts"
1707
- }
1708
- },
1709
- {
1710
- "kind": "field",
1711
- "name": "_presentation",
1712
- "type": {
1713
- "text": "ComponentPresentation | null | undefined"
1714
- },
1715
- "privacy": "private",
1716
- "default": "void 0",
1717
- "inheritedFrom": {
1718
- "name": "FoundationElement",
1719
- "module": "src/foundation-element/foundation-element.ts"
1720
- }
1721
- },
1722
- {
1723
- "kind": "field",
1724
- "name": "$presentation",
1725
- "type": {
1726
- "text": "ComponentPresentation | null"
1727
- },
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
- }
1734
- },
1735
- {
1736
- "kind": "field",
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.",
1743
- "inheritedFrom": {
1744
- "name": "FoundationElement",
1745
- "module": "src/foundation-element/foundation-element.ts"
1746
- }
1747
- },
1748
- {
1749
- "kind": "method",
1750
- "name": "templateChanged",
1751
- "privacy": "protected",
1752
- "return": {
1753
- "type": {
1754
- "text": "void"
1755
- }
1756
- },
1757
- "inheritedFrom": {
1758
- "name": "FoundationElement",
1759
- "module": "src/foundation-element/foundation-element.ts"
1760
- }
1761
- },
1762
- {
1763
- "kind": "field",
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.",
1770
- "inheritedFrom": {
1771
- "name": "FoundationElement",
1772
- "module": "src/foundation-element/foundation-element.ts"
1773
- }
1774
- },
1775
- {
1776
- "kind": "method",
1777
- "name": "stylesChanged",
1778
- "privacy": "protected",
1779
- "return": {
1780
- "type": {
1781
- "text": "void"
1782
- }
1783
- },
1784
- "inheritedFrom": {
1785
- "name": "FoundationElement",
1786
- "module": "src/foundation-element/foundation-element.ts"
1787
- }
1788
- },
1789
- {
1790
- "kind": "method",
1791
- "name": "compose",
1792
- "privacy": "public",
1793
- "static": true,
1794
- "return": {
1795
- "type": {
1796
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1797
- }
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.",
1815
- "inheritedFrom": {
1816
- "name": "FoundationElement",
1817
- "module": "src/foundation-element/foundation-element.ts"
1818
- }
1819
- }
1820
- ],
1821
- "events": [
1822
- {
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
- }
1829
- }
1830
- ]
1831
- },
1832
- {
1833
- "kind": "variable",
1834
- "name": "foundationAccordionItemShadowOptions",
1835
- "type": {
1836
- "text": "ShadowRootInit"
1837
- },
1838
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1839
- },
1840
- {
1841
- "kind": "variable",
1842
- "name": "defaultAccordionItemConfig",
1843
- "type": {
1844
- "text": "object"
1845
- },
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}"
1847
- },
1848
- {
1849
- "kind": "variable",
1850
- "name": "foundationAccordionItem",
1851
- "description": "The Foundation Accordion Item",
1852
- "privacy": "public"
1853
- }
1854
- ],
1855
- "exports": [
1856
- {
1857
- "kind": "js",
1858
- "name": "AccordionItem",
1859
- "declaration": {
1860
- "name": "AccordionItem",
1861
- "module": "src/accordion-item/accordion-item.ts"
1862
- }
1863
- },
1864
- {
1865
- "kind": "js",
1866
- "name": "foundationAccordionItemShadowOptions",
1867
- "declaration": {
1868
- "name": "foundationAccordionItemShadowOptions",
1869
- "module": "src/accordion-item/accordion-item.ts"
1870
- }
1871
- },
1872
- {
1873
- "kind": "js",
1874
- "name": "defaultAccordionItemConfig",
1875
- "declaration": {
1876
- "name": "defaultAccordionItemConfig",
1877
- "module": "src/accordion-item/accordion-item.ts"
1878
- }
1879
- },
1880
- {
1881
- "kind": "js",
1882
- "name": "foundationAccordionItem",
1883
- "declaration": {
1884
- "name": "foundationAccordionItem",
1885
- "module": "src/accordion-item/accordion-item.ts"
1886
- }
1887
- }
1888
- ]
1889
- },
1890
- {
1891
- "kind": "javascript-module",
1892
- "path": "src/accordion-item/index.ts",
1893
- "declarations": [],
1894
- "exports": [
1895
- {
1896
- "kind": "js",
1897
- "name": "*",
1898
- "declaration": {
1899
- "name": "*",
1900
- "package": "./accordion-item.template"
1901
- }
1902
- },
1903
- {
1904
- "kind": "js",
1905
- "name": "*",
1906
- "declaration": {
1907
- "name": "*",
1908
- "package": "./accordion-item.styles"
1909
- }
1910
- },
1911
- {
1912
- "kind": "js",
1913
- "name": "*",
1914
- "declaration": {
1915
- "name": "*",
1916
- "package": "./accordion-item"
1917
- }
1918
- }
1919
- ]
1920
- },
1921
1527
  {
1922
1528
  "kind": "javascript-module",
1923
1529
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2491,11 +2097,11 @@
2491
2097
  },
2492
2098
  {
2493
2099
  "kind": "javascript-module",
2494
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2100
+ "path": "src/accordion-item/accordion-item.styles.ts",
2495
2101
  "declarations": [
2496
2102
  {
2497
2103
  "kind": "function",
2498
- "name": "foundationAiIndicatorStyles",
2104
+ "name": "foundationAccordionItemStyles",
2499
2105
  "return": {
2500
2106
  "type": {
2501
2107
  "text": "ElementStyles"
@@ -2520,224 +2126,155 @@
2520
2126
  "exports": [
2521
2127
  {
2522
2128
  "kind": "js",
2523
- "name": "foundationAiIndicatorStyles",
2129
+ "name": "foundationAccordionItemStyles",
2524
2130
  "declaration": {
2525
- "name": "foundationAiIndicatorStyles",
2526
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2131
+ "name": "foundationAccordionItemStyles",
2132
+ "module": "src/accordion-item/accordion-item.styles.ts"
2527
2133
  }
2528
2134
  }
2529
2135
  ]
2530
2136
  },
2531
2137
  {
2532
2138
  "kind": "javascript-module",
2533
- "path": "src/ai-indicator/ai-indicator.template.ts",
2139
+ "path": "src/accordion-item/accordion-item.template.ts",
2534
2140
  "declarations": [
2535
2141
  {
2536
- "kind": "variable",
2537
- "name": "foundationAiIndicatorTemplate",
2538
- "type": {
2539
- "text": "ViewTemplate<AiIndicator>"
2142
+ "kind": "function",
2143
+ "name": "foundationAccordionItemTemplate",
2144
+ "return": {
2145
+ "type": {
2146
+ "text": "ViewTemplate<AccordionItem>"
2147
+ }
2540
2148
  },
2541
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2149
+ "parameters": [
2150
+ {
2151
+ "name": "context",
2152
+ "type": {
2153
+ "text": "ElementDefinitionContext"
2154
+ }
2155
+ },
2156
+ {
2157
+ "name": "definition",
2158
+ "type": {
2159
+ "text": "FoundationElementDefinition"
2160
+ }
2161
+ }
2162
+ ]
2542
2163
  }
2543
2164
  ],
2544
2165
  "exports": [
2545
2166
  {
2546
2167
  "kind": "js",
2547
- "name": "foundationAiIndicatorTemplate",
2168
+ "name": "foundationAccordionItemTemplate",
2548
2169
  "declaration": {
2549
- "name": "foundationAiIndicatorTemplate",
2550
- "module": "src/ai-indicator/ai-indicator.template.ts"
2170
+ "name": "foundationAccordionItemTemplate",
2171
+ "module": "src/accordion-item/accordion-item.template.ts"
2551
2172
  }
2552
2173
  }
2553
2174
  ]
2554
2175
  },
2555
2176
  {
2556
2177
  "kind": "javascript-module",
2557
- "path": "src/ai-indicator/ai-indicator.ts",
2178
+ "path": "src/accordion-item/accordion-item.ts",
2558
2179
  "declarations": [
2559
2180
  {
2560
2181
  "kind": "class",
2561
2182
  "description": "",
2562
- "name": "AiIndicator",
2563
- "members": [
2183
+ "name": "AccordionItem",
2184
+ "superclass": {
2185
+ "name": "FASTAccordionItem",
2186
+ "package": "@microsoft/fast-components"
2187
+ },
2188
+ "tagName": "%%prefix%%-accordion-item",
2189
+ "customElement": true,
2190
+ "attributes": [
2564
2191
  {
2565
- "kind": "field",
2566
- "name": "providerRegistry",
2192
+ "name": "heading-level",
2567
2193
  "type": {
2568
- "text": "AIProviderRegistry"
2194
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2195
+ },
2196
+ "default": "2",
2197
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2198
+ "fieldName": "headinglevel",
2199
+ "inheritedFrom": {
2200
+ "name": "AccordionItem",
2201
+ "module": "src/accordion-item/accordion-item.ts"
2569
2202
  }
2570
2203
  },
2571
2204
  {
2572
- "kind": "field",
2573
- "name": "aiProvider",
2574
2205
  "type": {
2575
- "text": "AIProvider | undefined"
2206
+ "text": "boolean"
2576
2207
  },
2577
- "privacy": "private",
2578
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
2579
- "readonly": true
2208
+ "default": "false",
2209
+ "description": "Expands or collapses the item.",
2210
+ "fieldName": "expanded",
2211
+ "inheritedFrom": {
2212
+ "name": "AccordionItem",
2213
+ "module": "src/accordion-item/accordion-item.ts"
2214
+ }
2580
2215
  },
2216
+ {
2217
+ "name": "id",
2218
+ "type": {
2219
+ "text": "string"
2220
+ },
2221
+ "description": "The item ID",
2222
+ "fieldName": "id",
2223
+ "inheritedFrom": {
2224
+ "name": "AccordionItem",
2225
+ "module": "src/accordion-item/accordion-item.ts"
2226
+ }
2227
+ }
2228
+ ],
2229
+ "members": [
2581
2230
  {
2582
2231
  "kind": "field",
2583
- "name": "status",
2232
+ "name": "headinglevel",
2584
2233
  "type": {
2585
- "text": "AIStatus | null"
2234
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2586
2235
  },
2587
- "default": "null"
2236
+ "privacy": "public",
2237
+ "default": "2",
2238
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2239
+ "inheritedFrom": {
2240
+ "name": "AccordionItem",
2241
+ "module": "src/accordion-item/accordion-item.ts"
2242
+ }
2588
2243
  },
2589
2244
  {
2590
2245
  "kind": "field",
2591
- "name": "open",
2246
+ "name": "expanded",
2592
2247
  "type": {
2593
2248
  "text": "boolean"
2594
2249
  },
2595
- "default": "false"
2250
+ "privacy": "public",
2251
+ "default": "false",
2252
+ "description": "Expands or collapses the item.",
2253
+ "inheritedFrom": {
2254
+ "name": "AccordionItem",
2255
+ "module": "src/accordion-item/accordion-item.ts"
2256
+ }
2596
2257
  },
2597
2258
  {
2598
2259
  "kind": "field",
2599
- "name": "state",
2600
- "type": {
2601
- "text": "AIIndicatorState"
2602
- },
2603
- "default": "'none'"
2604
- },
2605
- {
2606
- "kind": "field",
2607
- "name": "isInstalling",
2608
- "type": {
2609
- "text": "boolean"
2610
- },
2611
- "default": "false"
2612
- },
2613
- {
2614
- "kind": "field",
2615
- "name": "pollTimer",
2616
- "type": {
2617
- "text": "ReturnType<typeof setInterval> | null"
2618
- },
2619
- "privacy": "private",
2620
- "default": "null"
2621
- },
2622
- {
2623
- "kind": "field",
2624
- "name": "clickOutside",
2625
- "privacy": "private"
2626
- },
2627
- {
2628
- "kind": "field",
2629
- "name": "chromeStatusLabel",
2630
- "type": {
2631
- "text": "string | null"
2632
- },
2633
- "readonly": true
2634
- },
2635
- {
2636
- "kind": "field",
2637
- "name": "canInstall",
2638
- "type": {
2639
- "text": "boolean"
2640
- },
2641
- "readonly": true
2642
- },
2643
- {
2644
- "kind": "field",
2645
- "name": "isDownloading",
2260
+ "name": "id",
2646
2261
  "type": {
2647
- "text": "boolean"
2648
- },
2649
- "readonly": true
2650
- },
2651
- {
2652
- "kind": "method",
2653
- "name": "openChanged",
2654
- "return": {
2655
- "type": {
2656
- "text": "void"
2657
- }
2658
- }
2659
- },
2660
- {
2661
- "kind": "method",
2662
- "name": "handleClickOutside",
2663
- "privacy": "private",
2664
- "parameters": [
2665
- {
2666
- "name": "event",
2667
- "type": {
2668
- "text": "MouseEvent"
2669
- }
2670
- }
2671
- ]
2672
- },
2673
- {
2674
- "kind": "method",
2675
- "name": "toggleDropdown"
2676
- },
2677
- {
2678
- "kind": "method",
2679
- "name": "refreshStatus",
2680
- "return": {
2681
- "type": {
2682
- "text": "Promise<void>"
2683
- }
2684
- }
2685
- },
2686
- {
2687
- "kind": "method",
2688
- "name": "deriveState",
2689
- "privacy": "private",
2690
- "return": {
2691
- "type": {
2692
- "text": "AIIndicatorState"
2693
- }
2262
+ "text": "string"
2694
2263
  },
2695
- "parameters": [
2696
- {
2697
- "name": "s",
2698
- "type": {
2699
- "text": "AIStatus | null"
2700
- }
2701
- }
2702
- ]
2703
- },
2704
- {
2705
- "kind": "method",
2706
- "name": "maybeStartPolling",
2707
- "privacy": "private",
2708
- "return": {
2709
- "type": {
2710
- "text": "void"
2711
- }
2712
- }
2713
- },
2714
- {
2715
- "kind": "method",
2716
- "name": "startPolling",
2717
- "privacy": "private",
2718
- "return": {
2719
- "type": {
2720
- "text": "void"
2721
- }
2264
+ "privacy": "public",
2265
+ "description": "The item ID",
2266
+ "inheritedFrom": {
2267
+ "name": "AccordionItem",
2268
+ "module": "src/accordion-item/accordion-item.ts"
2722
2269
  }
2723
2270
  },
2724
2271
  {
2725
- "kind": "method",
2726
- "name": "stopPolling",
2272
+ "kind": "field",
2273
+ "name": "change",
2727
2274
  "privacy": "private",
2728
- "return": {
2729
- "type": {
2730
- "text": "void"
2731
- }
2732
- }
2733
- },
2734
- {
2735
- "kind": "method",
2736
- "name": "onInstall",
2737
- "return": {
2738
- "type": {
2739
- "text": "Promise<void>"
2740
- }
2275
+ "inheritedFrom": {
2276
+ "name": "AccordionItem",
2277
+ "module": "src/accordion-item/accordion-item.ts"
2741
2278
  }
2742
2279
  },
2743
2280
  {
@@ -2852,88 +2389,102 @@
2852
2389
  }
2853
2390
  }
2854
2391
  ],
2855
- "superclass": {
2856
- "name": "FoundationElement",
2857
- "package": "@microsoft/fast-foundation"
2392
+ "events": [
2393
+ {
2394
+ "description": "Fires a custom 'change' event when the button is invoked",
2395
+ "name": "change",
2396
+ "inheritedFrom": {
2397
+ "name": "AccordionItem",
2398
+ "module": "src/accordion-item/accordion-item.ts"
2399
+ }
2400
+ }
2401
+ ]
2402
+ },
2403
+ {
2404
+ "kind": "variable",
2405
+ "name": "foundationAccordionItemShadowOptions",
2406
+ "type": {
2407
+ "text": "ShadowRootInit"
2858
2408
  },
2859
- "tagName": "%%prefix%%-ai-indicator",
2860
- "customElement": true
2409
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2861
2410
  },
2862
2411
  {
2863
2412
  "kind": "variable",
2864
- "name": "foundationAiIndicator"
2413
+ "name": "defaultAccordionItemConfig",
2414
+ "type": {
2415
+ "text": "object"
2416
+ },
2417
+ "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}"
2418
+ },
2419
+ {
2420
+ "kind": "variable",
2421
+ "name": "foundationAccordionItem",
2422
+ "description": "The Foundation Accordion Item",
2423
+ "privacy": "public"
2865
2424
  }
2866
2425
  ],
2867
2426
  "exports": [
2868
2427
  {
2869
2428
  "kind": "js",
2870
- "name": "AiIndicator",
2429
+ "name": "AccordionItem",
2871
2430
  "declaration": {
2872
- "name": "AiIndicator",
2873
- "module": "src/ai-indicator/ai-indicator.ts"
2431
+ "name": "AccordionItem",
2432
+ "module": "src/accordion-item/accordion-item.ts"
2874
2433
  }
2875
2434
  },
2876
2435
  {
2877
2436
  "kind": "js",
2878
- "name": "foundationAiIndicator",
2879
- "declaration": {
2880
- "name": "foundationAiIndicator",
2881
- "module": "src/ai-indicator/ai-indicator.ts"
2882
- }
2883
- }
2884
- ]
2885
- },
2886
- {
2887
- "kind": "javascript-module",
2888
- "path": "src/ai-indicator/index.ts",
2889
- "declarations": [],
2890
- "exports": [
2891
- {
2892
- "kind": "js",
2893
- "name": "AiIndicator",
2437
+ "name": "foundationAccordionItemShadowOptions",
2894
2438
  "declaration": {
2895
- "name": "AiIndicator",
2896
- "module": "./ai-indicator"
2439
+ "name": "foundationAccordionItemShadowOptions",
2440
+ "module": "src/accordion-item/accordion-item.ts"
2897
2441
  }
2898
2442
  },
2899
2443
  {
2900
2444
  "kind": "js",
2901
- "name": "foundationAiIndicator",
2445
+ "name": "defaultAccordionItemConfig",
2902
2446
  "declaration": {
2903
- "name": "foundationAiIndicator",
2904
- "module": "./ai-indicator"
2447
+ "name": "defaultAccordionItemConfig",
2448
+ "module": "src/accordion-item/accordion-item.ts"
2905
2449
  }
2906
2450
  },
2907
2451
  {
2908
2452
  "kind": "js",
2909
- "name": "type",
2453
+ "name": "foundationAccordionItem",
2910
2454
  "declaration": {
2911
- "name": "type",
2912
- "module": "./ai-indicator"
2455
+ "name": "foundationAccordionItem",
2456
+ "module": "src/accordion-item/accordion-item.ts"
2913
2457
  }
2914
- },
2458
+ }
2459
+ ]
2460
+ },
2461
+ {
2462
+ "kind": "javascript-module",
2463
+ "path": "src/accordion-item/index.ts",
2464
+ "declarations": [],
2465
+ "exports": [
2915
2466
  {
2916
2467
  "kind": "js",
2917
- "name": "AIIndicatorState",
2468
+ "name": "*",
2918
2469
  "declaration": {
2919
- "name": "AIIndicatorState",
2920
- "module": "./ai-indicator"
2470
+ "name": "*",
2471
+ "package": "./accordion-item.template"
2921
2472
  }
2922
2473
  },
2923
2474
  {
2924
2475
  "kind": "js",
2925
- "name": "foundationAiIndicatorTemplate",
2476
+ "name": "*",
2926
2477
  "declaration": {
2927
- "name": "foundationAiIndicatorTemplate",
2928
- "module": "./ai-indicator.template"
2478
+ "name": "*",
2479
+ "package": "./accordion-item.styles"
2929
2480
  }
2930
2481
  },
2931
2482
  {
2932
2483
  "kind": "js",
2933
- "name": "foundationAiIndicatorStyles",
2484
+ "name": "*",
2934
2485
  "declaration": {
2935
- "name": "foundationAiIndicatorStyles",
2936
- "module": "./ai-indicator.styles"
2486
+ "name": "*",
2487
+ "package": "./accordion-item"
2937
2488
  }
2938
2489
  }
2939
2490
  ]
@@ -3578,276 +3129,739 @@
3578
3129
  "exports": [
3579
3130
  {
3580
3131
  "kind": "js",
3581
- "name": "foundationAccordionStyles",
3132
+ "name": "foundationAccordionStyles",
3133
+ "declaration": {
3134
+ "name": "foundationAccordionStyles",
3135
+ "module": "src/accordion/accordion.styles.ts"
3136
+ }
3137
+ }
3138
+ ]
3139
+ },
3140
+ {
3141
+ "kind": "javascript-module",
3142
+ "path": "src/accordion/accordion.template.ts",
3143
+ "declarations": [
3144
+ {
3145
+ "kind": "function",
3146
+ "name": "foundationAccordionTemplate",
3147
+ "return": {
3148
+ "type": {
3149
+ "text": "ViewTemplate<Accordion>"
3150
+ }
3151
+ },
3152
+ "parameters": [
3153
+ {
3154
+ "name": "context",
3155
+ "type": {
3156
+ "text": "ElementDefinitionContext"
3157
+ }
3158
+ },
3159
+ {
3160
+ "name": "definition",
3161
+ "type": {
3162
+ "text": "FoundationElementDefinition"
3163
+ }
3164
+ }
3165
+ ]
3166
+ }
3167
+ ],
3168
+ "exports": [
3169
+ {
3170
+ "kind": "js",
3171
+ "name": "foundationAccordionTemplate",
3172
+ "declaration": {
3173
+ "name": "foundationAccordionTemplate",
3174
+ "module": "src/accordion/accordion.template.ts"
3175
+ }
3176
+ }
3177
+ ]
3178
+ },
3179
+ {
3180
+ "kind": "javascript-module",
3181
+ "path": "src/accordion/accordion.ts",
3182
+ "declarations": [
3183
+ {
3184
+ "kind": "class",
3185
+ "description": "",
3186
+ "name": "Accordion",
3187
+ "superclass": {
3188
+ "name": "FASTAccordion",
3189
+ "package": "@microsoft/fast-foundation"
3190
+ },
3191
+ "tagName": "%%prefix%%-accordion",
3192
+ "customElement": true,
3193
+ "attributes": [
3194
+ {
3195
+ "name": "expand-mode",
3196
+ "type": {
3197
+ "text": "AccordionExpandMode"
3198
+ },
3199
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3200
+ "fieldName": "expandmode",
3201
+ "inheritedFrom": {
3202
+ "name": "Accordion",
3203
+ "module": "src/accordion/accordion.ts"
3204
+ }
3205
+ }
3206
+ ],
3207
+ "members": [
3208
+ {
3209
+ "kind": "field",
3210
+ "name": "expandmode",
3211
+ "type": {
3212
+ "text": "AccordionExpandMode"
3213
+ },
3214
+ "privacy": "public",
3215
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3216
+ "inheritedFrom": {
3217
+ "name": "Accordion",
3218
+ "module": "src/accordion/accordion.ts"
3219
+ }
3220
+ },
3221
+ {
3222
+ "kind": "field",
3223
+ "name": "activeid",
3224
+ "type": {
3225
+ "text": "string | null"
3226
+ },
3227
+ "privacy": "private",
3228
+ "inheritedFrom": {
3229
+ "name": "Accordion",
3230
+ "module": "src/accordion/accordion.ts"
3231
+ }
3232
+ },
3233
+ {
3234
+ "kind": "field",
3235
+ "name": "activeItemIndex",
3236
+ "type": {
3237
+ "text": "number"
3238
+ },
3239
+ "privacy": "private",
3240
+ "default": "0",
3241
+ "inheritedFrom": {
3242
+ "name": "Accordion",
3243
+ "module": "src/accordion/accordion.ts"
3244
+ }
3245
+ },
3246
+ {
3247
+ "kind": "field",
3248
+ "name": "accordionIds",
3249
+ "type": {
3250
+ "text": "Array<string | null>"
3251
+ },
3252
+ "privacy": "private",
3253
+ "inheritedFrom": {
3254
+ "name": "Accordion",
3255
+ "module": "src/accordion/accordion.ts"
3256
+ }
3257
+ },
3258
+ {
3259
+ "kind": "field",
3260
+ "name": "change",
3261
+ "privacy": "private",
3262
+ "inheritedFrom": {
3263
+ "name": "Accordion",
3264
+ "module": "src/accordion/accordion.ts"
3265
+ }
3266
+ },
3267
+ {
3268
+ "kind": "method",
3269
+ "name": "findExpandedItem",
3270
+ "privacy": "private",
3271
+ "return": {
3272
+ "type": {
3273
+ "text": "AccordionItem | null"
3274
+ }
3275
+ },
3276
+ "inheritedFrom": {
3277
+ "name": "Accordion",
3278
+ "module": "src/accordion/accordion.ts"
3279
+ }
3280
+ },
3281
+ {
3282
+ "kind": "field",
3283
+ "name": "setItems",
3284
+ "privacy": "private",
3285
+ "inheritedFrom": {
3286
+ "name": "Accordion",
3287
+ "module": "src/accordion/accordion.ts"
3288
+ }
3289
+ },
3290
+ {
3291
+ "kind": "method",
3292
+ "name": "resetItems",
3293
+ "privacy": "private",
3294
+ "return": {
3295
+ "type": {
3296
+ "text": "void"
3297
+ }
3298
+ },
3299
+ "inheritedFrom": {
3300
+ "name": "Accordion",
3301
+ "module": "src/accordion/accordion.ts"
3302
+ }
3303
+ },
3304
+ {
3305
+ "kind": "field",
3306
+ "name": "removeItemListeners",
3307
+ "privacy": "private",
3308
+ "inheritedFrom": {
3309
+ "name": "Accordion",
3310
+ "module": "src/accordion/accordion.ts"
3311
+ }
3312
+ },
3313
+ {
3314
+ "kind": "field",
3315
+ "name": "activeItemChange",
3316
+ "privacy": "private",
3317
+ "inheritedFrom": {
3318
+ "name": "Accordion",
3319
+ "module": "src/accordion/accordion.ts"
3320
+ }
3321
+ },
3322
+ {
3323
+ "kind": "method",
3324
+ "name": "getItemIds",
3325
+ "privacy": "private",
3326
+ "return": {
3327
+ "type": {
3328
+ "text": "Array<string | null>"
3329
+ }
3330
+ },
3331
+ "inheritedFrom": {
3332
+ "name": "Accordion",
3333
+ "module": "src/accordion/accordion.ts"
3334
+ }
3335
+ },
3336
+ {
3337
+ "kind": "method",
3338
+ "name": "isSingleExpandMode",
3339
+ "privacy": "private",
3340
+ "return": {
3341
+ "type": {
3342
+ "text": "boolean"
3343
+ }
3344
+ },
3345
+ "inheritedFrom": {
3346
+ "name": "Accordion",
3347
+ "module": "src/accordion/accordion.ts"
3348
+ }
3349
+ },
3350
+ {
3351
+ "kind": "field",
3352
+ "name": "handleItemKeyDown",
3353
+ "privacy": "private",
3354
+ "inheritedFrom": {
3355
+ "name": "Accordion",
3356
+ "module": "src/accordion/accordion.ts"
3357
+ }
3358
+ },
3359
+ {
3360
+ "kind": "field",
3361
+ "name": "handleItemFocus",
3362
+ "privacy": "private",
3363
+ "inheritedFrom": {
3364
+ "name": "Accordion",
3365
+ "module": "src/accordion/accordion.ts"
3366
+ }
3367
+ },
3368
+ {
3369
+ "kind": "method",
3370
+ "name": "adjust",
3371
+ "privacy": "private",
3372
+ "return": {
3373
+ "type": {
3374
+ "text": "void"
3375
+ }
3376
+ },
3377
+ "parameters": [
3378
+ {
3379
+ "name": "adjustment",
3380
+ "type": {
3381
+ "text": "number"
3382
+ }
3383
+ }
3384
+ ],
3385
+ "inheritedFrom": {
3386
+ "name": "Accordion",
3387
+ "module": "src/accordion/accordion.ts"
3388
+ }
3389
+ },
3390
+ {
3391
+ "kind": "method",
3392
+ "name": "focusItem",
3393
+ "privacy": "private",
3394
+ "return": {
3395
+ "type": {
3396
+ "text": "void"
3397
+ }
3398
+ },
3399
+ "inheritedFrom": {
3400
+ "name": "Accordion",
3401
+ "module": "src/accordion/accordion.ts"
3402
+ }
3403
+ },
3404
+ {
3405
+ "kind": "field",
3406
+ "name": "_presentation",
3407
+ "type": {
3408
+ "text": "ComponentPresentation | null | undefined"
3409
+ },
3410
+ "privacy": "private",
3411
+ "default": "void 0",
3412
+ "inheritedFrom": {
3413
+ "name": "FoundationElement",
3414
+ "module": "src/foundation-element/foundation-element.ts"
3415
+ }
3416
+ },
3417
+ {
3418
+ "kind": "field",
3419
+ "name": "$presentation",
3420
+ "type": {
3421
+ "text": "ComponentPresentation | null"
3422
+ },
3423
+ "privacy": "public",
3424
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3425
+ "inheritedFrom": {
3426
+ "name": "FoundationElement",
3427
+ "module": "src/foundation-element/foundation-element.ts"
3428
+ }
3429
+ },
3430
+ {
3431
+ "kind": "field",
3432
+ "name": "template",
3433
+ "type": {
3434
+ "text": "ElementViewTemplate | void | null"
3435
+ },
3436
+ "privacy": "public",
3437
+ "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.",
3438
+ "inheritedFrom": {
3439
+ "name": "FoundationElement",
3440
+ "module": "src/foundation-element/foundation-element.ts"
3441
+ }
3442
+ },
3443
+ {
3444
+ "kind": "method",
3445
+ "name": "templateChanged",
3446
+ "privacy": "protected",
3447
+ "return": {
3448
+ "type": {
3449
+ "text": "void"
3450
+ }
3451
+ },
3452
+ "inheritedFrom": {
3453
+ "name": "FoundationElement",
3454
+ "module": "src/foundation-element/foundation-element.ts"
3455
+ }
3456
+ },
3457
+ {
3458
+ "kind": "field",
3459
+ "name": "styles",
3460
+ "type": {
3461
+ "text": "ElementStyles | void | null"
3462
+ },
3463
+ "privacy": "public",
3464
+ "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.",
3465
+ "inheritedFrom": {
3466
+ "name": "FoundationElement",
3467
+ "module": "src/foundation-element/foundation-element.ts"
3468
+ }
3469
+ },
3470
+ {
3471
+ "kind": "method",
3472
+ "name": "stylesChanged",
3473
+ "privacy": "protected",
3474
+ "return": {
3475
+ "type": {
3476
+ "text": "void"
3477
+ }
3478
+ },
3479
+ "inheritedFrom": {
3480
+ "name": "FoundationElement",
3481
+ "module": "src/foundation-element/foundation-element.ts"
3482
+ }
3483
+ },
3484
+ {
3485
+ "kind": "method",
3486
+ "name": "compose",
3487
+ "privacy": "public",
3488
+ "static": true,
3489
+ "return": {
3490
+ "type": {
3491
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3492
+ }
3493
+ },
3494
+ "parameters": [
3495
+ {
3496
+ "name": "this",
3497
+ "type": {
3498
+ "text": "K"
3499
+ }
3500
+ },
3501
+ {
3502
+ "name": "elementDefinition",
3503
+ "type": {
3504
+ "text": "T"
3505
+ },
3506
+ "description": "The definition of the element to create the registry\nfunction for."
3507
+ }
3508
+ ],
3509
+ "description": "Defines an element registry function with a set of element definition defaults.",
3510
+ "inheritedFrom": {
3511
+ "name": "FoundationElement",
3512
+ "module": "src/foundation-element/foundation-element.ts"
3513
+ }
3514
+ }
3515
+ ],
3516
+ "events": [
3517
+ {
3518
+ "description": "Fires a custom 'change' event when the active item changes",
3519
+ "name": "change",
3520
+ "inheritedFrom": {
3521
+ "name": "Accordion",
3522
+ "module": "src/accordion/accordion.ts"
3523
+ }
3524
+ }
3525
+ ]
3526
+ },
3527
+ {
3528
+ "kind": "variable",
3529
+ "name": "foundationAccordionShadowOptions",
3530
+ "type": {
3531
+ "text": "ShadowRootInit"
3532
+ },
3533
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3534
+ },
3535
+ {
3536
+ "kind": "variable",
3537
+ "name": "defaultAccordionConfig",
3538
+ "type": {
3539
+ "text": "object"
3540
+ },
3541
+ "default": "{}"
3542
+ },
3543
+ {
3544
+ "kind": "variable",
3545
+ "name": "foundationAccordion",
3546
+ "description": "The Foundation Accordion",
3547
+ "privacy": "public"
3548
+ }
3549
+ ],
3550
+ "exports": [
3551
+ {
3552
+ "kind": "js",
3553
+ "name": "Accordion",
3554
+ "declaration": {
3555
+ "name": "Accordion",
3556
+ "module": "src/accordion/accordion.ts"
3557
+ }
3558
+ },
3559
+ {
3560
+ "kind": "js",
3561
+ "name": "foundationAccordionShadowOptions",
3562
+ "declaration": {
3563
+ "name": "foundationAccordionShadowOptions",
3564
+ "module": "src/accordion/accordion.ts"
3565
+ }
3566
+ },
3567
+ {
3568
+ "kind": "js",
3569
+ "name": "defaultAccordionConfig",
3570
+ "declaration": {
3571
+ "name": "defaultAccordionConfig",
3572
+ "module": "src/accordion/accordion.ts"
3573
+ }
3574
+ },
3575
+ {
3576
+ "kind": "js",
3577
+ "name": "foundationAccordion",
3578
+ "declaration": {
3579
+ "name": "foundationAccordion",
3580
+ "module": "src/accordion/accordion.ts"
3581
+ }
3582
+ }
3583
+ ]
3584
+ },
3585
+ {
3586
+ "kind": "javascript-module",
3587
+ "path": "src/accordion/index.ts",
3588
+ "declarations": [],
3589
+ "exports": [
3590
+ {
3591
+ "kind": "js",
3592
+ "name": "*",
3593
+ "declaration": {
3594
+ "name": "*",
3595
+ "package": "./accordion.template"
3596
+ }
3597
+ },
3598
+ {
3599
+ "kind": "js",
3600
+ "name": "*",
3601
+ "declaration": {
3602
+ "name": "*",
3603
+ "package": "./accordion.styles"
3604
+ }
3605
+ },
3606
+ {
3607
+ "kind": "js",
3608
+ "name": "*",
3609
+ "declaration": {
3610
+ "name": "*",
3611
+ "package": "./accordion"
3612
+ }
3613
+ }
3614
+ ]
3615
+ },
3616
+ {
3617
+ "kind": "javascript-module",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3619
+ "declarations": [
3620
+ {
3621
+ "kind": "function",
3622
+ "name": "foundationAiIndicatorStyles",
3623
+ "return": {
3624
+ "type": {
3625
+ "text": "ElementStyles"
3626
+ }
3627
+ },
3628
+ "parameters": [
3629
+ {
3630
+ "name": "context",
3631
+ "type": {
3632
+ "text": "ElementDefinitionContext"
3633
+ }
3634
+ },
3635
+ {
3636
+ "name": "definition",
3637
+ "type": {
3638
+ "text": "FoundationElementDefinition"
3639
+ }
3640
+ }
3641
+ ]
3642
+ }
3643
+ ],
3644
+ "exports": [
3645
+ {
3646
+ "kind": "js",
3647
+ "name": "foundationAiIndicatorStyles",
3582
3648
  "declaration": {
3583
- "name": "foundationAccordionStyles",
3584
- "module": "src/accordion/accordion.styles.ts"
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3585
3651
  }
3586
3652
  }
3587
3653
  ]
3588
3654
  },
3589
3655
  {
3590
3656
  "kind": "javascript-module",
3591
- "path": "src/accordion/accordion.template.ts",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3592
3658
  "declarations": [
3593
3659
  {
3594
- "kind": "function",
3595
- "name": "foundationAccordionTemplate",
3596
- "return": {
3597
- "type": {
3598
- "text": "ViewTemplate<Accordion>"
3599
- }
3660
+ "kind": "variable",
3661
+ "name": "foundationAiIndicatorTemplate",
3662
+ "type": {
3663
+ "text": "ViewTemplate<AiIndicator>"
3600
3664
  },
3601
- "parameters": [
3602
- {
3603
- "name": "context",
3604
- "type": {
3605
- "text": "ElementDefinitionContext"
3606
- }
3607
- },
3608
- {
3609
- "name": "definition",
3610
- "type": {
3611
- "text": "FoundationElementDefinition"
3612
- }
3613
- }
3614
- ]
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3615
3666
  }
3616
3667
  ],
3617
3668
  "exports": [
3618
3669
  {
3619
3670
  "kind": "js",
3620
- "name": "foundationAccordionTemplate",
3671
+ "name": "foundationAiIndicatorTemplate",
3621
3672
  "declaration": {
3622
- "name": "foundationAccordionTemplate",
3623
- "module": "src/accordion/accordion.template.ts"
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3624
3675
  }
3625
3676
  }
3626
3677
  ]
3627
3678
  },
3628
3679
  {
3629
3680
  "kind": "javascript-module",
3630
- "path": "src/accordion/accordion.ts",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3631
3682
  "declarations": [
3632
3683
  {
3633
3684
  "kind": "class",
3634
3685
  "description": "",
3635
- "name": "Accordion",
3636
- "superclass": {
3637
- "name": "FASTAccordion",
3638
- "package": "@microsoft/fast-foundation"
3639
- },
3640
- "tagName": "%%prefix%%-accordion",
3641
- "customElement": true,
3642
- "attributes": [
3686
+ "name": "AiIndicator",
3687
+ "members": [
3643
3688
  {
3644
- "name": "expand-mode",
3689
+ "kind": "field",
3690
+ "name": "providerRegistry",
3645
3691
  "type": {
3646
- "text": "AccordionExpandMode"
3647
- },
3648
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3649
- "fieldName": "expandmode",
3650
- "inheritedFrom": {
3651
- "name": "Accordion",
3652
- "module": "src/accordion/accordion.ts"
3692
+ "text": "AIProviderRegistry"
3653
3693
  }
3654
- }
3655
- ],
3656
- "members": [
3694
+ },
3657
3695
  {
3658
3696
  "kind": "field",
3659
- "name": "expandmode",
3697
+ "name": "aiProvider",
3660
3698
  "type": {
3661
- "text": "AccordionExpandMode"
3699
+ "text": "AIProvider | undefined"
3662
3700
  },
3663
- "privacy": "public",
3664
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3665
- "inheritedFrom": {
3666
- "name": "Accordion",
3667
- "module": "src/accordion/accordion.ts"
3668
- }
3701
+ "privacy": "private",
3702
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3703
+ "readonly": true
3669
3704
  },
3670
3705
  {
3671
3706
  "kind": "field",
3672
- "name": "activeid",
3707
+ "name": "status",
3673
3708
  "type": {
3674
- "text": "string | null"
3709
+ "text": "AIStatus | null"
3675
3710
  },
3676
- "privacy": "private",
3677
- "inheritedFrom": {
3678
- "name": "Accordion",
3679
- "module": "src/accordion/accordion.ts"
3680
- }
3711
+ "default": "null"
3681
3712
  },
3682
3713
  {
3683
3714
  "kind": "field",
3684
- "name": "activeItemIndex",
3715
+ "name": "open",
3685
3716
  "type": {
3686
- "text": "number"
3717
+ "text": "boolean"
3687
3718
  },
3688
- "privacy": "private",
3689
- "default": "0",
3690
- "inheritedFrom": {
3691
- "name": "Accordion",
3692
- "module": "src/accordion/accordion.ts"
3693
- }
3719
+ "default": "false"
3694
3720
  },
3695
3721
  {
3696
3722
  "kind": "field",
3697
- "name": "accordionIds",
3723
+ "name": "state",
3698
3724
  "type": {
3699
- "text": "Array<string | null>"
3725
+ "text": "AIIndicatorState"
3700
3726
  },
3701
- "privacy": "private",
3702
- "inheritedFrom": {
3703
- "name": "Accordion",
3704
- "module": "src/accordion/accordion.ts"
3705
- }
3727
+ "default": "'none'"
3706
3728
  },
3707
3729
  {
3708
3730
  "kind": "field",
3709
- "name": "change",
3710
- "privacy": "private",
3711
- "inheritedFrom": {
3712
- "name": "Accordion",
3713
- "module": "src/accordion/accordion.ts"
3714
- }
3731
+ "name": "isInstalling",
3732
+ "type": {
3733
+ "text": "boolean"
3734
+ },
3735
+ "default": "false"
3715
3736
  },
3716
3737
  {
3717
- "kind": "method",
3718
- "name": "findExpandedItem",
3738
+ "kind": "field",
3739
+ "name": "pollTimer",
3740
+ "type": {
3741
+ "text": "ReturnType<typeof setInterval> | null"
3742
+ },
3719
3743
  "privacy": "private",
3720
- "return": {
3721
- "type": {
3722
- "text": "AccordionItem | null"
3723
- }
3744
+ "default": "null"
3745
+ },
3746
+ {
3747
+ "kind": "field",
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3750
+ },
3751
+ {
3752
+ "kind": "field",
3753
+ "name": "chromeStatusLabel",
3754
+ "type": {
3755
+ "text": "string | null"
3724
3756
  },
3725
- "inheritedFrom": {
3726
- "name": "Accordion",
3727
- "module": "src/accordion/accordion.ts"
3728
- }
3757
+ "readonly": true
3729
3758
  },
3730
3759
  {
3731
3760
  "kind": "field",
3732
- "name": "setItems",
3733
- "privacy": "private",
3734
- "inheritedFrom": {
3735
- "name": "Accordion",
3736
- "module": "src/accordion/accordion.ts"
3737
- }
3761
+ "name": "canInstall",
3762
+ "type": {
3763
+ "text": "boolean"
3764
+ },
3765
+ "readonly": true
3766
+ },
3767
+ {
3768
+ "kind": "field",
3769
+ "name": "isDownloading",
3770
+ "type": {
3771
+ "text": "boolean"
3772
+ },
3773
+ "readonly": true
3738
3774
  },
3739
3775
  {
3740
3776
  "kind": "method",
3741
- "name": "resetItems",
3742
- "privacy": "private",
3777
+ "name": "openChanged",
3743
3778
  "return": {
3744
3779
  "type": {
3745
3780
  "text": "void"
3746
3781
  }
3747
- },
3748
- "inheritedFrom": {
3749
- "name": "Accordion",
3750
- "module": "src/accordion/accordion.ts"
3751
3782
  }
3752
3783
  },
3753
3784
  {
3754
- "kind": "field",
3755
- "name": "removeItemListeners",
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3756
3787
  "privacy": "private",
3757
- "inheritedFrom": {
3758
- "name": "Accordion",
3759
- "module": "src/accordion/accordion.ts"
3760
- }
3788
+ "parameters": [
3789
+ {
3790
+ "name": "event",
3791
+ "type": {
3792
+ "text": "MouseEvent"
3793
+ }
3794
+ }
3795
+ ]
3761
3796
  },
3762
3797
  {
3763
- "kind": "field",
3764
- "name": "activeItemChange",
3765
- "privacy": "private",
3766
- "inheritedFrom": {
3767
- "name": "Accordion",
3768
- "module": "src/accordion/accordion.ts"
3769
- }
3798
+ "kind": "method",
3799
+ "name": "toggleDropdown"
3770
3800
  },
3771
3801
  {
3772
3802
  "kind": "method",
3773
- "name": "getItemIds",
3774
- "privacy": "private",
3803
+ "name": "refreshStatus",
3775
3804
  "return": {
3776
3805
  "type": {
3777
- "text": "Array<string | null>"
3806
+ "text": "Promise<void>"
3778
3807
  }
3779
- },
3780
- "inheritedFrom": {
3781
- "name": "Accordion",
3782
- "module": "src/accordion/accordion.ts"
3783
3808
  }
3784
3809
  },
3785
3810
  {
3786
3811
  "kind": "method",
3787
- "name": "isSingleExpandMode",
3812
+ "name": "deriveState",
3788
3813
  "privacy": "private",
3789
3814
  "return": {
3790
3815
  "type": {
3791
- "text": "boolean"
3816
+ "text": "AIIndicatorState"
3792
3817
  }
3793
3818
  },
3794
- "inheritedFrom": {
3795
- "name": "Accordion",
3796
- "module": "src/accordion/accordion.ts"
3797
- }
3819
+ "parameters": [
3820
+ {
3821
+ "name": "s",
3822
+ "type": {
3823
+ "text": "AIStatus | null"
3824
+ }
3825
+ }
3826
+ ]
3798
3827
  },
3799
3828
  {
3800
- "kind": "field",
3801
- "name": "handleItemKeyDown",
3829
+ "kind": "method",
3830
+ "name": "maybeStartPolling",
3802
3831
  "privacy": "private",
3803
- "inheritedFrom": {
3804
- "name": "Accordion",
3805
- "module": "src/accordion/accordion.ts"
3832
+ "return": {
3833
+ "type": {
3834
+ "text": "void"
3835
+ }
3806
3836
  }
3807
3837
  },
3808
3838
  {
3809
- "kind": "field",
3810
- "name": "handleItemFocus",
3839
+ "kind": "method",
3840
+ "name": "startPolling",
3811
3841
  "privacy": "private",
3812
- "inheritedFrom": {
3813
- "name": "Accordion",
3814
- "module": "src/accordion/accordion.ts"
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3815
3846
  }
3816
3847
  },
3817
3848
  {
3818
3849
  "kind": "method",
3819
- "name": "adjust",
3850
+ "name": "stopPolling",
3820
3851
  "privacy": "private",
3821
3852
  "return": {
3822
3853
  "type": {
3823
3854
  "text": "void"
3824
3855
  }
3825
- },
3826
- "parameters": [
3827
- {
3828
- "name": "adjustment",
3829
- "type": {
3830
- "text": "number"
3831
- }
3832
- }
3833
- ],
3834
- "inheritedFrom": {
3835
- "name": "Accordion",
3836
- "module": "src/accordion/accordion.ts"
3837
3856
  }
3838
3857
  },
3839
3858
  {
3840
3859
  "kind": "method",
3841
- "name": "focusItem",
3842
- "privacy": "private",
3860
+ "name": "onInstall",
3843
3861
  "return": {
3844
3862
  "type": {
3845
- "text": "void"
3863
+ "text": "Promise<void>"
3846
3864
  }
3847
- },
3848
- "inheritedFrom": {
3849
- "name": "Accordion",
3850
- "module": "src/accordion/accordion.ts"
3851
3865
  }
3852
3866
  },
3853
3867
  {
@@ -3962,102 +3976,88 @@
3962
3976
  }
3963
3977
  }
3964
3978
  ],
3965
- "events": [
3966
- {
3967
- "description": "Fires a custom 'change' event when the active item changes",
3968
- "name": "change",
3969
- "inheritedFrom": {
3970
- "name": "Accordion",
3971
- "module": "src/accordion/accordion.ts"
3972
- }
3973
- }
3974
- ]
3975
- },
3976
- {
3977
- "kind": "variable",
3978
- "name": "foundationAccordionShadowOptions",
3979
- "type": {
3980
- "text": "ShadowRootInit"
3981
- },
3982
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3983
- },
3984
- {
3985
- "kind": "variable",
3986
- "name": "defaultAccordionConfig",
3987
- "type": {
3988
- "text": "object"
3979
+ "superclass": {
3980
+ "name": "FoundationElement",
3981
+ "package": "@microsoft/fast-foundation"
3989
3982
  },
3990
- "default": "{}"
3983
+ "tagName": "%%prefix%%-ai-indicator",
3984
+ "customElement": true
3991
3985
  },
3992
3986
  {
3993
3987
  "kind": "variable",
3994
- "name": "foundationAccordion",
3995
- "description": "The Foundation Accordion",
3996
- "privacy": "public"
3988
+ "name": "foundationAiIndicator"
3997
3989
  }
3998
3990
  ],
3999
3991
  "exports": [
4000
3992
  {
4001
3993
  "kind": "js",
4002
- "name": "Accordion",
3994
+ "name": "AiIndicator",
4003
3995
  "declaration": {
4004
- "name": "Accordion",
4005
- "module": "src/accordion/accordion.ts"
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
3998
  }
4007
3999
  },
4008
4000
  {
4009
4001
  "kind": "js",
4010
- "name": "foundationAccordionShadowOptions",
4002
+ "name": "foundationAiIndicator",
4011
4003
  "declaration": {
4012
- "name": "foundationAccordionShadowOptions",
4013
- "module": "src/accordion/accordion.ts"
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
+ }
4007
+ }
4008
+ ]
4009
+ },
4010
+ {
4011
+ "kind": "javascript-module",
4012
+ "path": "src/ai-indicator/index.ts",
4013
+ "declarations": [],
4014
+ "exports": [
4015
+ {
4016
+ "kind": "js",
4017
+ "name": "AiIndicator",
4018
+ "declaration": {
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
4014
4021
  }
4015
4022
  },
4016
4023
  {
4017
4024
  "kind": "js",
4018
- "name": "defaultAccordionConfig",
4025
+ "name": "foundationAiIndicator",
4019
4026
  "declaration": {
4020
- "name": "defaultAccordionConfig",
4021
- "module": "src/accordion/accordion.ts"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
4022
4029
  }
4023
4030
  },
4024
4031
  {
4025
4032
  "kind": "js",
4026
- "name": "foundationAccordion",
4033
+ "name": "type",
4027
4034
  "declaration": {
4028
- "name": "foundationAccordion",
4029
- "module": "src/accordion/accordion.ts"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
4030
4037
  }
4031
- }
4032
- ]
4033
- },
4034
- {
4035
- "kind": "javascript-module",
4036
- "path": "src/accordion/index.ts",
4037
- "declarations": [],
4038
- "exports": [
4038
+ },
4039
4039
  {
4040
4040
  "kind": "js",
4041
- "name": "*",
4041
+ "name": "AIIndicatorState",
4042
4042
  "declaration": {
4043
- "name": "*",
4044
- "package": "./accordion.template"
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
4045
4045
  }
4046
4046
  },
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "*",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
4050
  "declaration": {
4051
- "name": "*",
4052
- "package": "./accordion.styles"
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "*",
4057
+ "name": "foundationAiIndicatorStyles",
4058
4058
  "declaration": {
4059
- "name": "*",
4060
- "package": "./accordion"
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -59158,6 +59158,25 @@
59158
59158
  }
59159
59159
  ]
59160
59160
  },
59161
+ {
59162
+ "kind": "function",
59163
+ "name": "resolveByValueCriteriaBuilder",
59164
+ "parameters": [
59165
+ {
59166
+ "name": "datasource",
59167
+ "type": {
59168
+ "text": "OptionsDatasource | MultiselectDatasource"
59169
+ }
59170
+ },
59171
+ {
59172
+ "name": "value",
59173
+ "type": {
59174
+ "text": "string | number"
59175
+ }
59176
+ }
59177
+ ],
59178
+ "description": "Resolves a known field value (e.g. a bound `initialSelectedValue`) by exact match on\n`valueField`, as opposed to dataserverCriteriaBuilder, which treats `value` as\ntyped search text and matches it against `labelField`. Using the label-based search to\nresolve an initial value only works by coincidence: an id like `\"CP123\"` will not be found\nby searching a `NAME`/label column for that same string."
59179
+ },
59161
59180
  {
59162
59181
  "kind": "function",
59163
59182
  "name": "requestServerCriteriaBuilder",
@@ -59186,6 +59205,14 @@
59186
59205
  "module": "src/utils/options-datasource-utils.ts"
59187
59206
  }
59188
59207
  },
59208
+ {
59209
+ "kind": "js",
59210
+ "name": "resolveByValueCriteriaBuilder",
59211
+ "declaration": {
59212
+ "name": "resolveByValueCriteriaBuilder",
59213
+ "module": "src/utils/options-datasource-utils.ts"
59214
+ }
59215
+ },
59189
59216
  {
59190
59217
  "kind": "js",
59191
59218
  "name": "requestServerCriteriaBuilder",