@genesislcap/foundation-ui 15.17.0 → 15.18.0-notification-listener.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1495,11 +1495,11 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/accordion/accordion.styles.ts",
1498
+ "path": "src/accordion-item/accordion-item.styles.ts",
1499
1499
  "declarations": [
1500
1500
  {
1501
1501
  "kind": "function",
1502
- "name": "foundationAccordionStyles",
1502
+ "name": "foundationAccordionItemStyles",
1503
1503
  "return": {
1504
1504
  "type": {
1505
1505
  "text": "ElementStyles"
@@ -1524,24 +1524,24 @@
1524
1524
  "exports": [
1525
1525
  {
1526
1526
  "kind": "js",
1527
- "name": "foundationAccordionStyles",
1527
+ "name": "foundationAccordionItemStyles",
1528
1528
  "declaration": {
1529
- "name": "foundationAccordionStyles",
1530
- "module": "src/accordion/accordion.styles.ts"
1529
+ "name": "foundationAccordionItemStyles",
1530
+ "module": "src/accordion-item/accordion-item.styles.ts"
1531
1531
  }
1532
1532
  }
1533
1533
  ]
1534
1534
  },
1535
1535
  {
1536
1536
  "kind": "javascript-module",
1537
- "path": "src/accordion/accordion.template.ts",
1537
+ "path": "src/accordion-item/accordion-item.template.ts",
1538
1538
  "declarations": [
1539
1539
  {
1540
1540
  "kind": "function",
1541
- "name": "foundationAccordionTemplate",
1541
+ "name": "foundationAccordionItemTemplate",
1542
1542
  "return": {
1543
1543
  "type": {
1544
- "text": "ViewTemplate<Accordion>"
1544
+ "text": "ViewTemplate<AccordionItem>"
1545
1545
  }
1546
1546
  },
1547
1547
  "parameters": [
@@ -1563,237 +1563,116 @@
1563
1563
  "exports": [
1564
1564
  {
1565
1565
  "kind": "js",
1566
- "name": "foundationAccordionTemplate",
1566
+ "name": "foundationAccordionItemTemplate",
1567
1567
  "declaration": {
1568
- "name": "foundationAccordionTemplate",
1569
- "module": "src/accordion/accordion.template.ts"
1568
+ "name": "foundationAccordionItemTemplate",
1569
+ "module": "src/accordion-item/accordion-item.template.ts"
1570
1570
  }
1571
1571
  }
1572
1572
  ]
1573
1573
  },
1574
1574
  {
1575
1575
  "kind": "javascript-module",
1576
- "path": "src/accordion/accordion.ts",
1576
+ "path": "src/accordion-item/accordion-item.ts",
1577
1577
  "declarations": [
1578
1578
  {
1579
1579
  "kind": "class",
1580
1580
  "description": "",
1581
- "name": "Accordion",
1581
+ "name": "AccordionItem",
1582
1582
  "superclass": {
1583
- "name": "FASTAccordion",
1584
- "package": "@microsoft/fast-foundation"
1583
+ "name": "FASTAccordionItem",
1584
+ "package": "@microsoft/fast-components"
1585
1585
  },
1586
- "tagName": "%%prefix%%-accordion",
1586
+ "tagName": "%%prefix%%-accordion-item",
1587
1587
  "customElement": true,
1588
1588
  "attributes": [
1589
1589
  {
1590
- "name": "expand-mode",
1591
- "type": {
1592
- "text": "AccordionExpandMode"
1593
- },
1594
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1595
- "fieldName": "expandmode",
1596
- "inheritedFrom": {
1597
- "name": "Accordion",
1598
- "module": "src/accordion/accordion.ts"
1599
- }
1600
- }
1601
- ],
1602
- "members": [
1603
- {
1604
- "kind": "field",
1605
- "name": "expandmode",
1590
+ "name": "heading-level",
1606
1591
  "type": {
1607
- "text": "AccordionExpandMode"
1592
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1608
1593
  },
1609
- "privacy": "public",
1610
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1594
+ "default": "2",
1595
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1596
+ "fieldName": "headinglevel",
1611
1597
  "inheritedFrom": {
1612
- "name": "Accordion",
1613
- "module": "src/accordion/accordion.ts"
1598
+ "name": "AccordionItem",
1599
+ "module": "src/accordion-item/accordion-item.ts"
1614
1600
  }
1615
1601
  },
1616
1602
  {
1617
- "kind": "field",
1618
- "name": "activeid",
1619
1603
  "type": {
1620
- "text": "string | null"
1604
+ "text": "boolean"
1621
1605
  },
1622
- "privacy": "private",
1606
+ "default": "false",
1607
+ "description": "Expands or collapses the item.",
1608
+ "fieldName": "expanded",
1623
1609
  "inheritedFrom": {
1624
- "name": "Accordion",
1625
- "module": "src/accordion/accordion.ts"
1610
+ "name": "AccordionItem",
1611
+ "module": "src/accordion-item/accordion-item.ts"
1626
1612
  }
1627
1613
  },
1628
1614
  {
1629
- "kind": "field",
1630
- "name": "activeItemIndex",
1615
+ "name": "id",
1631
1616
  "type": {
1632
- "text": "number"
1617
+ "text": "string"
1633
1618
  },
1634
- "privacy": "private",
1635
- "default": "0",
1619
+ "description": "The item ID",
1620
+ "fieldName": "id",
1636
1621
  "inheritedFrom": {
1637
- "name": "Accordion",
1638
- "module": "src/accordion/accordion.ts"
1622
+ "name": "AccordionItem",
1623
+ "module": "src/accordion-item/accordion-item.ts"
1639
1624
  }
1640
- },
1625
+ }
1626
+ ],
1627
+ "members": [
1641
1628
  {
1642
1629
  "kind": "field",
1643
- "name": "accordionIds",
1630
+ "name": "headinglevel",
1644
1631
  "type": {
1645
- "text": "Array<string | null>"
1646
- },
1647
- "privacy": "private",
1648
- "inheritedFrom": {
1649
- "name": "Accordion",
1650
- "module": "src/accordion/accordion.ts"
1651
- }
1652
- },
1653
- {
1654
- "kind": "field",
1655
- "name": "change",
1656
- "privacy": "private",
1657
- "inheritedFrom": {
1658
- "name": "Accordion",
1659
- "module": "src/accordion/accordion.ts"
1660
- }
1661
- },
1662
- {
1663
- "kind": "method",
1664
- "name": "findExpandedItem",
1665
- "privacy": "private",
1666
- "return": {
1667
- "type": {
1668
- "text": "AccordionItem | null"
1669
- }
1632
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1670
1633
  },
1634
+ "privacy": "public",
1635
+ "default": "2",
1636
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1671
1637
  "inheritedFrom": {
1672
- "name": "Accordion",
1673
- "module": "src/accordion/accordion.ts"
1638
+ "name": "AccordionItem",
1639
+ "module": "src/accordion-item/accordion-item.ts"
1674
1640
  }
1675
1641
  },
1676
1642
  {
1677
1643
  "kind": "field",
1678
- "name": "setItems",
1679
- "privacy": "private",
1680
- "inheritedFrom": {
1681
- "name": "Accordion",
1682
- "module": "src/accordion/accordion.ts"
1683
- }
1684
- },
1685
- {
1686
- "kind": "method",
1687
- "name": "resetItems",
1688
- "privacy": "private",
1689
- "return": {
1690
- "type": {
1691
- "text": "void"
1692
- }
1644
+ "name": "expanded",
1645
+ "type": {
1646
+ "text": "boolean"
1693
1647
  },
1648
+ "privacy": "public",
1649
+ "default": "false",
1650
+ "description": "Expands or collapses the item.",
1694
1651
  "inheritedFrom": {
1695
- "name": "Accordion",
1696
- "module": "src/accordion/accordion.ts"
1697
- }
1698
- },
1699
- {
1700
- "kind": "field",
1701
- "name": "removeItemListeners",
1702
- "privacy": "private",
1703
- "inheritedFrom": {
1704
- "name": "Accordion",
1705
- "module": "src/accordion/accordion.ts"
1652
+ "name": "AccordionItem",
1653
+ "module": "src/accordion-item/accordion-item.ts"
1706
1654
  }
1707
1655
  },
1708
1656
  {
1709
1657
  "kind": "field",
1710
- "name": "activeItemChange",
1711
- "privacy": "private",
1712
- "inheritedFrom": {
1713
- "name": "Accordion",
1714
- "module": "src/accordion/accordion.ts"
1715
- }
1716
- },
1717
- {
1718
- "kind": "method",
1719
- "name": "getItemIds",
1720
- "privacy": "private",
1721
- "return": {
1722
- "type": {
1723
- "text": "Array<string | null>"
1724
- }
1725
- },
1726
- "inheritedFrom": {
1727
- "name": "Accordion",
1728
- "module": "src/accordion/accordion.ts"
1729
- }
1730
- },
1731
- {
1732
- "kind": "method",
1733
- "name": "isSingleExpandMode",
1734
- "privacy": "private",
1735
- "return": {
1736
- "type": {
1737
- "text": "boolean"
1738
- }
1658
+ "name": "id",
1659
+ "type": {
1660
+ "text": "string"
1739
1661
  },
1662
+ "privacy": "public",
1663
+ "description": "The item ID",
1740
1664
  "inheritedFrom": {
1741
- "name": "Accordion",
1742
- "module": "src/accordion/accordion.ts"
1743
- }
1744
- },
1745
- {
1746
- "kind": "field",
1747
- "name": "handleItemKeyDown",
1748
- "privacy": "private",
1749
- "inheritedFrom": {
1750
- "name": "Accordion",
1751
- "module": "src/accordion/accordion.ts"
1665
+ "name": "AccordionItem",
1666
+ "module": "src/accordion-item/accordion-item.ts"
1752
1667
  }
1753
1668
  },
1754
1669
  {
1755
1670
  "kind": "field",
1756
- "name": "handleItemFocus",
1757
- "privacy": "private",
1758
- "inheritedFrom": {
1759
- "name": "Accordion",
1760
- "module": "src/accordion/accordion.ts"
1761
- }
1762
- },
1763
- {
1764
- "kind": "method",
1765
- "name": "adjust",
1766
- "privacy": "private",
1767
- "return": {
1768
- "type": {
1769
- "text": "void"
1770
- }
1771
- },
1772
- "parameters": [
1773
- {
1774
- "name": "adjustment",
1775
- "type": {
1776
- "text": "number"
1777
- }
1778
- }
1779
- ],
1780
- "inheritedFrom": {
1781
- "name": "Accordion",
1782
- "module": "src/accordion/accordion.ts"
1783
- }
1784
- },
1785
- {
1786
- "kind": "method",
1787
- "name": "focusItem",
1671
+ "name": "change",
1788
1672
  "privacy": "private",
1789
- "return": {
1790
- "type": {
1791
- "text": "void"
1792
- }
1793
- },
1794
1673
  "inheritedFrom": {
1795
- "name": "Accordion",
1796
- "module": "src/accordion/accordion.ts"
1674
+ "name": "AccordionItem",
1675
+ "module": "src/accordion-item/accordion-item.ts"
1797
1676
  }
1798
1677
  },
1799
1678
  {
@@ -1910,18 +1789,18 @@
1910
1789
  ],
1911
1790
  "events": [
1912
1791
  {
1913
- "description": "Fires a custom 'change' event when the active item changes",
1792
+ "description": "Fires a custom 'change' event when the button is invoked",
1914
1793
  "name": "change",
1915
1794
  "inheritedFrom": {
1916
- "name": "Accordion",
1917
- "module": "src/accordion/accordion.ts"
1795
+ "name": "AccordionItem",
1796
+ "module": "src/accordion-item/accordion-item.ts"
1918
1797
  }
1919
1798
  }
1920
1799
  ]
1921
1800
  },
1922
1801
  {
1923
1802
  "kind": "variable",
1924
- "name": "foundationAccordionShadowOptions",
1803
+ "name": "foundationAccordionItemShadowOptions",
1925
1804
  "type": {
1926
1805
  "text": "ShadowRootInit"
1927
1806
  },
@@ -1929,57 +1808,57 @@
1929
1808
  },
1930
1809
  {
1931
1810
  "kind": "variable",
1932
- "name": "defaultAccordionConfig",
1811
+ "name": "defaultAccordionItemConfig",
1933
1812
  "type": {
1934
1813
  "text": "object"
1935
1814
  },
1936
- "default": "{}"
1815
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1937
1816
  },
1938
1817
  {
1939
1818
  "kind": "variable",
1940
- "name": "foundationAccordion",
1941
- "description": "The Foundation Accordion",
1819
+ "name": "foundationAccordionItem",
1820
+ "description": "The Foundation Accordion Item",
1942
1821
  "privacy": "public"
1943
1822
  }
1944
1823
  ],
1945
1824
  "exports": [
1946
1825
  {
1947
1826
  "kind": "js",
1948
- "name": "Accordion",
1827
+ "name": "AccordionItem",
1949
1828
  "declaration": {
1950
- "name": "Accordion",
1951
- "module": "src/accordion/accordion.ts"
1829
+ "name": "AccordionItem",
1830
+ "module": "src/accordion-item/accordion-item.ts"
1952
1831
  }
1953
1832
  },
1954
1833
  {
1955
1834
  "kind": "js",
1956
- "name": "foundationAccordionShadowOptions",
1835
+ "name": "foundationAccordionItemShadowOptions",
1957
1836
  "declaration": {
1958
- "name": "foundationAccordionShadowOptions",
1959
- "module": "src/accordion/accordion.ts"
1837
+ "name": "foundationAccordionItemShadowOptions",
1838
+ "module": "src/accordion-item/accordion-item.ts"
1960
1839
  }
1961
1840
  },
1962
1841
  {
1963
1842
  "kind": "js",
1964
- "name": "defaultAccordionConfig",
1843
+ "name": "defaultAccordionItemConfig",
1965
1844
  "declaration": {
1966
- "name": "defaultAccordionConfig",
1967
- "module": "src/accordion/accordion.ts"
1845
+ "name": "defaultAccordionItemConfig",
1846
+ "module": "src/accordion-item/accordion-item.ts"
1968
1847
  }
1969
1848
  },
1970
1849
  {
1971
1850
  "kind": "js",
1972
- "name": "foundationAccordion",
1851
+ "name": "foundationAccordionItem",
1973
1852
  "declaration": {
1974
- "name": "foundationAccordion",
1975
- "module": "src/accordion/accordion.ts"
1853
+ "name": "foundationAccordionItem",
1854
+ "module": "src/accordion-item/accordion-item.ts"
1976
1855
  }
1977
1856
  }
1978
1857
  ]
1979
1858
  },
1980
1859
  {
1981
1860
  "kind": "javascript-module",
1982
- "path": "src/accordion/index.ts",
1861
+ "path": "src/accordion-item/index.ts",
1983
1862
  "declarations": [],
1984
1863
  "exports": [
1985
1864
  {
@@ -1987,7 +1866,7 @@
1987
1866
  "name": "*",
1988
1867
  "declaration": {
1989
1868
  "name": "*",
1990
- "package": "./accordion.template"
1869
+ "package": "./accordion-item.template"
1991
1870
  }
1992
1871
  },
1993
1872
  {
@@ -1995,7 +1874,7 @@
1995
1874
  "name": "*",
1996
1875
  "declaration": {
1997
1876
  "name": "*",
1998
- "package": "./accordion.styles"
1877
+ "package": "./accordion-item.styles"
1999
1878
  }
2000
1879
  },
2001
1880
  {
@@ -2003,7 +1882,7 @@
2003
1882
  "name": "*",
2004
1883
  "declaration": {
2005
1884
  "name": "*",
2006
- "package": "./accordion"
1885
+ "package": "./accordion-item"
2007
1886
  }
2008
1887
  }
2009
1888
  ]
@@ -3221,11 +3100,11 @@
3221
3100
  },
3222
3101
  {
3223
3102
  "kind": "javascript-module",
3224
- "path": "src/accordion-item/accordion-item.styles.ts",
3103
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3225
3104
  "declarations": [
3226
3105
  {
3227
3106
  "kind": "function",
3228
- "name": "foundationAccordionItemStyles",
3107
+ "name": "foundationAiIndicatorStyles",
3229
3108
  "return": {
3230
3109
  "type": {
3231
3110
  "text": "ElementStyles"
@@ -3250,250 +3129,319 @@
3250
3129
  "exports": [
3251
3130
  {
3252
3131
  "kind": "js",
3253
- "name": "foundationAccordionItemStyles",
3132
+ "name": "foundationAiIndicatorStyles",
3254
3133
  "declaration": {
3255
- "name": "foundationAccordionItemStyles",
3256
- "module": "src/accordion-item/accordion-item.styles.ts"
3134
+ "name": "foundationAiIndicatorStyles",
3135
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3257
3136
  }
3258
3137
  }
3259
3138
  ]
3260
3139
  },
3261
3140
  {
3262
3141
  "kind": "javascript-module",
3263
- "path": "src/accordion-item/accordion-item.template.ts",
3142
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3264
3143
  "declarations": [
3265
3144
  {
3266
- "kind": "function",
3267
- "name": "foundationAccordionItemTemplate",
3268
- "return": {
3269
- "type": {
3270
- "text": "ViewTemplate<AccordionItem>"
3271
- }
3145
+ "kind": "variable",
3146
+ "name": "foundationAiIndicatorTemplate",
3147
+ "type": {
3148
+ "text": "ViewTemplate<AiIndicator>"
3272
3149
  },
3273
- "parameters": [
3274
- {
3275
- "name": "context",
3276
- "type": {
3277
- "text": "ElementDefinitionContext"
3278
- }
3279
- },
3280
- {
3281
- "name": "definition",
3282
- "type": {
3283
- "text": "FoundationElementDefinition"
3284
- }
3285
- }
3286
- ]
3150
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3287
3151
  }
3288
3152
  ],
3289
3153
  "exports": [
3290
3154
  {
3291
3155
  "kind": "js",
3292
- "name": "foundationAccordionItemTemplate",
3156
+ "name": "foundationAiIndicatorTemplate",
3293
3157
  "declaration": {
3294
- "name": "foundationAccordionItemTemplate",
3295
- "module": "src/accordion-item/accordion-item.template.ts"
3158
+ "name": "foundationAiIndicatorTemplate",
3159
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3296
3160
  }
3297
3161
  }
3298
3162
  ]
3299
3163
  },
3300
3164
  {
3301
3165
  "kind": "javascript-module",
3302
- "path": "src/accordion-item/accordion-item.ts",
3166
+ "path": "src/ai-indicator/ai-indicator.ts",
3303
3167
  "declarations": [
3304
3168
  {
3305
3169
  "kind": "class",
3306
3170
  "description": "",
3307
- "name": "AccordionItem",
3308
- "superclass": {
3309
- "name": "FASTAccordionItem",
3310
- "package": "@microsoft/fast-components"
3311
- },
3312
- "tagName": "%%prefix%%-accordion-item",
3313
- "customElement": true,
3314
- "attributes": [
3171
+ "name": "AiIndicator",
3172
+ "members": [
3315
3173
  {
3316
- "name": "heading-level",
3174
+ "kind": "field",
3175
+ "name": "providerRegistry",
3317
3176
  "type": {
3318
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3319
- },
3320
- "default": "2",
3321
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3322
- "fieldName": "headinglevel",
3323
- "inheritedFrom": {
3324
- "name": "AccordionItem",
3325
- "module": "src/accordion-item/accordion-item.ts"
3177
+ "text": "AIProviderRegistry"
3326
3178
  }
3327
3179
  },
3328
3180
  {
3181
+ "kind": "field",
3182
+ "name": "aiProvider",
3329
3183
  "type": {
3330
- "text": "boolean"
3184
+ "text": "AIProvider | undefined"
3331
3185
  },
3332
- "default": "false",
3333
- "description": "Expands or collapses the item.",
3334
- "fieldName": "expanded",
3335
- "inheritedFrom": {
3336
- "name": "AccordionItem",
3337
- "module": "src/accordion-item/accordion-item.ts"
3338
- }
3186
+ "privacy": "private",
3187
+ "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.",
3188
+ "readonly": true
3339
3189
  },
3340
- {
3341
- "name": "id",
3342
- "type": {
3343
- "text": "string"
3344
- },
3345
- "description": "The item ID",
3346
- "fieldName": "id",
3347
- "inheritedFrom": {
3348
- "name": "AccordionItem",
3349
- "module": "src/accordion-item/accordion-item.ts"
3350
- }
3351
- }
3352
- ],
3353
- "members": [
3354
3190
  {
3355
3191
  "kind": "field",
3356
- "name": "headinglevel",
3192
+ "name": "status",
3357
3193
  "type": {
3358
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3194
+ "text": "AIStatus | null"
3359
3195
  },
3360
- "privacy": "public",
3361
- "default": "2",
3362
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3363
- "inheritedFrom": {
3364
- "name": "AccordionItem",
3365
- "module": "src/accordion-item/accordion-item.ts"
3366
- }
3196
+ "default": "null"
3367
3197
  },
3368
3198
  {
3369
3199
  "kind": "field",
3370
- "name": "expanded",
3200
+ "name": "open",
3371
3201
  "type": {
3372
3202
  "text": "boolean"
3373
3203
  },
3374
- "privacy": "public",
3375
- "default": "false",
3376
- "description": "Expands or collapses the item.",
3377
- "inheritedFrom": {
3378
- "name": "AccordionItem",
3379
- "module": "src/accordion-item/accordion-item.ts"
3380
- }
3204
+ "default": "false"
3381
3205
  },
3382
3206
  {
3383
3207
  "kind": "field",
3384
- "name": "id",
3208
+ "name": "state",
3385
3209
  "type": {
3386
- "text": "string"
3210
+ "text": "AIIndicatorState"
3387
3211
  },
3388
- "privacy": "public",
3389
- "description": "The item ID",
3390
- "inheritedFrom": {
3391
- "name": "AccordionItem",
3392
- "module": "src/accordion-item/accordion-item.ts"
3393
- }
3212
+ "default": "'none'"
3394
3213
  },
3395
3214
  {
3396
3215
  "kind": "field",
3397
- "name": "change",
3398
- "privacy": "private",
3399
- "inheritedFrom": {
3400
- "name": "AccordionItem",
3401
- "module": "src/accordion-item/accordion-item.ts"
3402
- }
3216
+ "name": "isInstalling",
3217
+ "type": {
3218
+ "text": "boolean"
3219
+ },
3220
+ "default": "false"
3403
3221
  },
3404
3222
  {
3405
3223
  "kind": "field",
3406
- "name": "_presentation",
3224
+ "name": "pollTimer",
3407
3225
  "type": {
3408
- "text": "ComponentPresentation | null | undefined"
3226
+ "text": "ReturnType<typeof setInterval> | null"
3409
3227
  },
3410
3228
  "privacy": "private",
3411
- "default": "void 0",
3412
- "inheritedFrom": {
3413
- "name": "FoundationElement",
3414
- "module": "src/foundation-element/foundation-element.ts"
3415
- }
3229
+ "default": "null"
3416
3230
  },
3417
3231
  {
3418
3232
  "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
- }
3233
+ "name": "clickOutside",
3234
+ "privacy": "private"
3429
3235
  },
3430
3236
  {
3431
3237
  "kind": "field",
3432
- "name": "template",
3238
+ "name": "chromeStatusLabel",
3433
3239
  "type": {
3434
- "text": "ElementViewTemplate | void | null"
3240
+ "text": "string | null"
3435
3241
  },
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
- }
3242
+ "readonly": true
3442
3243
  },
3443
3244
  {
3444
- "kind": "method",
3445
- "name": "templateChanged",
3446
- "privacy": "protected",
3447
- "return": {
3448
- "type": {
3449
- "text": "void"
3450
- }
3245
+ "kind": "field",
3246
+ "name": "canInstall",
3247
+ "type": {
3248
+ "text": "boolean"
3451
3249
  },
3452
- "inheritedFrom": {
3453
- "name": "FoundationElement",
3454
- "module": "src/foundation-element/foundation-element.ts"
3455
- }
3250
+ "readonly": true
3456
3251
  },
3457
3252
  {
3458
3253
  "kind": "field",
3459
- "name": "styles",
3254
+ "name": "isDownloading",
3460
3255
  "type": {
3461
- "text": "ElementStyles | void | null"
3256
+ "text": "boolean"
3462
3257
  },
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
- }
3258
+ "readonly": true
3469
3259
  },
3470
3260
  {
3471
3261
  "kind": "method",
3472
- "name": "stylesChanged",
3473
- "privacy": "protected",
3262
+ "name": "openChanged",
3474
3263
  "return": {
3475
3264
  "type": {
3476
3265
  "text": "void"
3477
3266
  }
3478
- },
3479
- "inheritedFrom": {
3480
- "name": "FoundationElement",
3481
- "module": "src/foundation-element/foundation-element.ts"
3482
3267
  }
3483
3268
  },
3484
3269
  {
3485
3270
  "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
- },
3271
+ "name": "handleClickOutside",
3272
+ "privacy": "private",
3494
3273
  "parameters": [
3495
3274
  {
3496
- "name": "this",
3275
+ "name": "event",
3276
+ "type": {
3277
+ "text": "MouseEvent"
3278
+ }
3279
+ }
3280
+ ]
3281
+ },
3282
+ {
3283
+ "kind": "method",
3284
+ "name": "toggleDropdown"
3285
+ },
3286
+ {
3287
+ "kind": "method",
3288
+ "name": "refreshStatus",
3289
+ "return": {
3290
+ "type": {
3291
+ "text": "Promise<void>"
3292
+ }
3293
+ }
3294
+ },
3295
+ {
3296
+ "kind": "method",
3297
+ "name": "deriveState",
3298
+ "privacy": "private",
3299
+ "return": {
3300
+ "type": {
3301
+ "text": "AIIndicatorState"
3302
+ }
3303
+ },
3304
+ "parameters": [
3305
+ {
3306
+ "name": "s",
3307
+ "type": {
3308
+ "text": "AIStatus | null"
3309
+ }
3310
+ }
3311
+ ]
3312
+ },
3313
+ {
3314
+ "kind": "method",
3315
+ "name": "maybeStartPolling",
3316
+ "privacy": "private",
3317
+ "return": {
3318
+ "type": {
3319
+ "text": "void"
3320
+ }
3321
+ }
3322
+ },
3323
+ {
3324
+ "kind": "method",
3325
+ "name": "startPolling",
3326
+ "privacy": "private",
3327
+ "return": {
3328
+ "type": {
3329
+ "text": "void"
3330
+ }
3331
+ }
3332
+ },
3333
+ {
3334
+ "kind": "method",
3335
+ "name": "stopPolling",
3336
+ "privacy": "private",
3337
+ "return": {
3338
+ "type": {
3339
+ "text": "void"
3340
+ }
3341
+ }
3342
+ },
3343
+ {
3344
+ "kind": "method",
3345
+ "name": "onInstall",
3346
+ "return": {
3347
+ "type": {
3348
+ "text": "Promise<void>"
3349
+ }
3350
+ }
3351
+ },
3352
+ {
3353
+ "kind": "field",
3354
+ "name": "_presentation",
3355
+ "type": {
3356
+ "text": "ComponentPresentation | null | undefined"
3357
+ },
3358
+ "privacy": "private",
3359
+ "default": "void 0",
3360
+ "inheritedFrom": {
3361
+ "name": "FoundationElement",
3362
+ "module": "src/foundation-element/foundation-element.ts"
3363
+ }
3364
+ },
3365
+ {
3366
+ "kind": "field",
3367
+ "name": "$presentation",
3368
+ "type": {
3369
+ "text": "ComponentPresentation | null"
3370
+ },
3371
+ "privacy": "public",
3372
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3373
+ "inheritedFrom": {
3374
+ "name": "FoundationElement",
3375
+ "module": "src/foundation-element/foundation-element.ts"
3376
+ }
3377
+ },
3378
+ {
3379
+ "kind": "field",
3380
+ "name": "template",
3381
+ "type": {
3382
+ "text": "ElementViewTemplate | void | null"
3383
+ },
3384
+ "privacy": "public",
3385
+ "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.",
3386
+ "inheritedFrom": {
3387
+ "name": "FoundationElement",
3388
+ "module": "src/foundation-element/foundation-element.ts"
3389
+ }
3390
+ },
3391
+ {
3392
+ "kind": "method",
3393
+ "name": "templateChanged",
3394
+ "privacy": "protected",
3395
+ "return": {
3396
+ "type": {
3397
+ "text": "void"
3398
+ }
3399
+ },
3400
+ "inheritedFrom": {
3401
+ "name": "FoundationElement",
3402
+ "module": "src/foundation-element/foundation-element.ts"
3403
+ }
3404
+ },
3405
+ {
3406
+ "kind": "field",
3407
+ "name": "styles",
3408
+ "type": {
3409
+ "text": "ElementStyles | void | null"
3410
+ },
3411
+ "privacy": "public",
3412
+ "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.",
3413
+ "inheritedFrom": {
3414
+ "name": "FoundationElement",
3415
+ "module": "src/foundation-element/foundation-element.ts"
3416
+ }
3417
+ },
3418
+ {
3419
+ "kind": "method",
3420
+ "name": "stylesChanged",
3421
+ "privacy": "protected",
3422
+ "return": {
3423
+ "type": {
3424
+ "text": "void"
3425
+ }
3426
+ },
3427
+ "inheritedFrom": {
3428
+ "name": "FoundationElement",
3429
+ "module": "src/foundation-element/foundation-element.ts"
3430
+ }
3431
+ },
3432
+ {
3433
+ "kind": "method",
3434
+ "name": "compose",
3435
+ "privacy": "public",
3436
+ "static": true,
3437
+ "return": {
3438
+ "type": {
3439
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3440
+ }
3441
+ },
3442
+ "parameters": [
3443
+ {
3444
+ "name": "this",
3497
3445
  "type": {
3498
3446
  "text": "K"
3499
3447
  }
@@ -3513,113 +3461,99 @@
3513
3461
  }
3514
3462
  }
3515
3463
  ],
3516
- "events": [
3517
- {
3518
- "description": "Fires a custom 'change' event when the button is invoked",
3519
- "name": "change",
3520
- "inheritedFrom": {
3521
- "name": "AccordionItem",
3522
- "module": "src/accordion-item/accordion-item.ts"
3523
- }
3524
- }
3525
- ]
3526
- },
3527
- {
3528
- "kind": "variable",
3529
- "name": "foundationAccordionItemShadowOptions",
3530
- "type": {
3531
- "text": "ShadowRootInit"
3532
- },
3533
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3534
- },
3535
- {
3536
- "kind": "variable",
3537
- "name": "defaultAccordionItemConfig",
3538
- "type": {
3539
- "text": "object"
3464
+ "superclass": {
3465
+ "name": "FoundationElement",
3466
+ "package": "@microsoft/fast-foundation"
3540
3467
  },
3541
- "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}"
3468
+ "tagName": "%%prefix%%-ai-indicator",
3469
+ "customElement": true
3542
3470
  },
3543
3471
  {
3544
3472
  "kind": "variable",
3545
- "name": "foundationAccordionItem",
3546
- "description": "The Foundation Accordion Item",
3547
- "privacy": "public"
3473
+ "name": "foundationAiIndicator"
3548
3474
  }
3549
3475
  ],
3550
3476
  "exports": [
3551
3477
  {
3552
3478
  "kind": "js",
3553
- "name": "AccordionItem",
3479
+ "name": "AiIndicator",
3554
3480
  "declaration": {
3555
- "name": "AccordionItem",
3556
- "module": "src/accordion-item/accordion-item.ts"
3481
+ "name": "AiIndicator",
3482
+ "module": "src/ai-indicator/ai-indicator.ts"
3557
3483
  }
3558
3484
  },
3559
3485
  {
3560
3486
  "kind": "js",
3561
- "name": "foundationAccordionItemShadowOptions",
3487
+ "name": "foundationAiIndicator",
3562
3488
  "declaration": {
3563
- "name": "foundationAccordionItemShadowOptions",
3564
- "module": "src/accordion-item/accordion-item.ts"
3489
+ "name": "foundationAiIndicator",
3490
+ "module": "src/ai-indicator/ai-indicator.ts"
3491
+ }
3492
+ }
3493
+ ]
3494
+ },
3495
+ {
3496
+ "kind": "javascript-module",
3497
+ "path": "src/ai-indicator/index.ts",
3498
+ "declarations": [],
3499
+ "exports": [
3500
+ {
3501
+ "kind": "js",
3502
+ "name": "AiIndicator",
3503
+ "declaration": {
3504
+ "name": "AiIndicator",
3505
+ "module": "./ai-indicator"
3565
3506
  }
3566
3507
  },
3567
3508
  {
3568
3509
  "kind": "js",
3569
- "name": "defaultAccordionItemConfig",
3510
+ "name": "foundationAiIndicator",
3570
3511
  "declaration": {
3571
- "name": "defaultAccordionItemConfig",
3572
- "module": "src/accordion-item/accordion-item.ts"
3512
+ "name": "foundationAiIndicator",
3513
+ "module": "./ai-indicator"
3573
3514
  }
3574
3515
  },
3575
3516
  {
3576
3517
  "kind": "js",
3577
- "name": "foundationAccordionItem",
3518
+ "name": "type",
3578
3519
  "declaration": {
3579
- "name": "foundationAccordionItem",
3580
- "module": "src/accordion-item/accordion-item.ts"
3520
+ "name": "type",
3521
+ "module": "./ai-indicator"
3581
3522
  }
3582
- }
3583
- ]
3584
- },
3585
- {
3586
- "kind": "javascript-module",
3587
- "path": "src/accordion-item/index.ts",
3588
- "declarations": [],
3589
- "exports": [
3523
+ },
3590
3524
  {
3591
3525
  "kind": "js",
3592
- "name": "*",
3526
+ "name": "AIIndicatorState",
3593
3527
  "declaration": {
3594
- "name": "*",
3595
- "package": "./accordion-item.template"
3528
+ "name": "AIIndicatorState",
3529
+ "module": "./ai-indicator"
3596
3530
  }
3597
3531
  },
3598
3532
  {
3599
3533
  "kind": "js",
3600
- "name": "*",
3534
+ "name": "foundationAiIndicatorTemplate",
3601
3535
  "declaration": {
3602
- "name": "*",
3603
- "package": "./accordion-item.styles"
3536
+ "name": "foundationAiIndicatorTemplate",
3537
+ "module": "./ai-indicator.template"
3604
3538
  }
3605
3539
  },
3606
3540
  {
3607
3541
  "kind": "js",
3608
- "name": "*",
3542
+ "name": "foundationAiIndicatorStyles",
3609
3543
  "declaration": {
3610
- "name": "*",
3611
- "package": "./accordion-item"
3544
+ "name": "foundationAiIndicatorStyles",
3545
+ "module": "./ai-indicator.styles"
3612
3546
  }
3613
3547
  }
3614
3548
  ]
3615
3549
  },
3616
3550
  {
3617
3551
  "kind": "javascript-module",
3618
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3552
+ "path": "src/accordion/accordion.styles.ts",
3619
3553
  "declarations": [
3620
3554
  {
3621
3555
  "kind": "function",
3622
- "name": "foundationAiIndicatorStyles",
3556
+ "name": "foundationAccordionStyles",
3623
3557
  "return": {
3624
3558
  "type": {
3625
3559
  "text": "ElementStyles"
@@ -3644,224 +3578,276 @@
3644
3578
  "exports": [
3645
3579
  {
3646
3580
  "kind": "js",
3647
- "name": "foundationAiIndicatorStyles",
3581
+ "name": "foundationAccordionStyles",
3648
3582
  "declaration": {
3649
- "name": "foundationAiIndicatorStyles",
3650
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3583
+ "name": "foundationAccordionStyles",
3584
+ "module": "src/accordion/accordion.styles.ts"
3651
3585
  }
3652
3586
  }
3653
3587
  ]
3654
3588
  },
3655
3589
  {
3656
3590
  "kind": "javascript-module",
3657
- "path": "src/ai-indicator/ai-indicator.template.ts",
3591
+ "path": "src/accordion/accordion.template.ts",
3658
3592
  "declarations": [
3659
3593
  {
3660
- "kind": "variable",
3661
- "name": "foundationAiIndicatorTemplate",
3662
- "type": {
3663
- "text": "ViewTemplate<AiIndicator>"
3594
+ "kind": "function",
3595
+ "name": "foundationAccordionTemplate",
3596
+ "return": {
3597
+ "type": {
3598
+ "text": "ViewTemplate<Accordion>"
3599
+ }
3664
3600
  },
3665
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
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
+ ]
3666
3615
  }
3667
3616
  ],
3668
3617
  "exports": [
3669
3618
  {
3670
3619
  "kind": "js",
3671
- "name": "foundationAiIndicatorTemplate",
3620
+ "name": "foundationAccordionTemplate",
3672
3621
  "declaration": {
3673
- "name": "foundationAiIndicatorTemplate",
3674
- "module": "src/ai-indicator/ai-indicator.template.ts"
3622
+ "name": "foundationAccordionTemplate",
3623
+ "module": "src/accordion/accordion.template.ts"
3675
3624
  }
3676
3625
  }
3677
3626
  ]
3678
3627
  },
3679
3628
  {
3680
3629
  "kind": "javascript-module",
3681
- "path": "src/ai-indicator/ai-indicator.ts",
3630
+ "path": "src/accordion/accordion.ts",
3682
3631
  "declarations": [
3683
3632
  {
3684
3633
  "kind": "class",
3685
3634
  "description": "",
3686
- "name": "AiIndicator",
3687
- "members": [
3688
- {
3689
- "kind": "field",
3690
- "name": "providerRegistry",
3691
- "type": {
3692
- "text": "AIProviderRegistry"
3693
- }
3694
- },
3695
- {
3696
- "kind": "field",
3697
- "name": "aiProvider",
3698
- "type": {
3699
- "text": "AIProvider | undefined"
3700
- },
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
3704
- },
3705
- {
3706
- "kind": "field",
3707
- "name": "status",
3708
- "type": {
3709
- "text": "AIStatus | null"
3710
- },
3711
- "default": "null"
3712
- },
3635
+ "name": "Accordion",
3636
+ "superclass": {
3637
+ "name": "FASTAccordion",
3638
+ "package": "@microsoft/fast-foundation"
3639
+ },
3640
+ "tagName": "%%prefix%%-accordion",
3641
+ "customElement": true,
3642
+ "attributes": [
3713
3643
  {
3714
- "kind": "field",
3715
- "name": "open",
3644
+ "name": "expand-mode",
3716
3645
  "type": {
3717
- "text": "boolean"
3646
+ "text": "AccordionExpandMode"
3718
3647
  },
3719
- "default": "false"
3720
- },
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"
3653
+ }
3654
+ }
3655
+ ],
3656
+ "members": [
3721
3657
  {
3722
3658
  "kind": "field",
3723
- "name": "state",
3659
+ "name": "expandmode",
3724
3660
  "type": {
3725
- "text": "AIIndicatorState"
3661
+ "text": "AccordionExpandMode"
3726
3662
  },
3727
- "default": "'none'"
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
+ }
3728
3669
  },
3729
3670
  {
3730
3671
  "kind": "field",
3731
- "name": "isInstalling",
3672
+ "name": "activeid",
3732
3673
  "type": {
3733
- "text": "boolean"
3674
+ "text": "string | null"
3734
3675
  },
3735
- "default": "false"
3676
+ "privacy": "private",
3677
+ "inheritedFrom": {
3678
+ "name": "Accordion",
3679
+ "module": "src/accordion/accordion.ts"
3680
+ }
3736
3681
  },
3737
3682
  {
3738
3683
  "kind": "field",
3739
- "name": "pollTimer",
3684
+ "name": "activeItemIndex",
3740
3685
  "type": {
3741
- "text": "ReturnType<typeof setInterval> | null"
3686
+ "text": "number"
3742
3687
  },
3743
3688
  "privacy": "private",
3744
- "default": "null"
3745
- },
3746
- {
3747
- "kind": "field",
3748
- "name": "clickOutside",
3749
- "privacy": "private"
3689
+ "default": "0",
3690
+ "inheritedFrom": {
3691
+ "name": "Accordion",
3692
+ "module": "src/accordion/accordion.ts"
3693
+ }
3750
3694
  },
3751
3695
  {
3752
3696
  "kind": "field",
3753
- "name": "chromeStatusLabel",
3697
+ "name": "accordionIds",
3754
3698
  "type": {
3755
- "text": "string | null"
3699
+ "text": "Array<string | null>"
3756
3700
  },
3757
- "readonly": true
3701
+ "privacy": "private",
3702
+ "inheritedFrom": {
3703
+ "name": "Accordion",
3704
+ "module": "src/accordion/accordion.ts"
3705
+ }
3758
3706
  },
3759
3707
  {
3760
3708
  "kind": "field",
3761
- "name": "canInstall",
3762
- "type": {
3763
- "text": "boolean"
3709
+ "name": "change",
3710
+ "privacy": "private",
3711
+ "inheritedFrom": {
3712
+ "name": "Accordion",
3713
+ "module": "src/accordion/accordion.ts"
3714
+ }
3715
+ },
3716
+ {
3717
+ "kind": "method",
3718
+ "name": "findExpandedItem",
3719
+ "privacy": "private",
3720
+ "return": {
3721
+ "type": {
3722
+ "text": "AccordionItem | null"
3723
+ }
3764
3724
  },
3765
- "readonly": true
3725
+ "inheritedFrom": {
3726
+ "name": "Accordion",
3727
+ "module": "src/accordion/accordion.ts"
3728
+ }
3766
3729
  },
3767
3730
  {
3768
3731
  "kind": "field",
3769
- "name": "isDownloading",
3770
- "type": {
3771
- "text": "boolean"
3772
- },
3773
- "readonly": true
3732
+ "name": "setItems",
3733
+ "privacy": "private",
3734
+ "inheritedFrom": {
3735
+ "name": "Accordion",
3736
+ "module": "src/accordion/accordion.ts"
3737
+ }
3774
3738
  },
3775
3739
  {
3776
3740
  "kind": "method",
3777
- "name": "openChanged",
3741
+ "name": "resetItems",
3742
+ "privacy": "private",
3778
3743
  "return": {
3779
3744
  "type": {
3780
3745
  "text": "void"
3781
3746
  }
3747
+ },
3748
+ "inheritedFrom": {
3749
+ "name": "Accordion",
3750
+ "module": "src/accordion/accordion.ts"
3782
3751
  }
3783
3752
  },
3784
3753
  {
3785
- "kind": "method",
3786
- "name": "handleClickOutside",
3754
+ "kind": "field",
3755
+ "name": "removeItemListeners",
3787
3756
  "privacy": "private",
3788
- "parameters": [
3789
- {
3790
- "name": "event",
3791
- "type": {
3792
- "text": "MouseEvent"
3793
- }
3794
- }
3795
- ]
3757
+ "inheritedFrom": {
3758
+ "name": "Accordion",
3759
+ "module": "src/accordion/accordion.ts"
3760
+ }
3796
3761
  },
3797
3762
  {
3798
- "kind": "method",
3799
- "name": "toggleDropdown"
3763
+ "kind": "field",
3764
+ "name": "activeItemChange",
3765
+ "privacy": "private",
3766
+ "inheritedFrom": {
3767
+ "name": "Accordion",
3768
+ "module": "src/accordion/accordion.ts"
3769
+ }
3800
3770
  },
3801
3771
  {
3802
3772
  "kind": "method",
3803
- "name": "refreshStatus",
3773
+ "name": "getItemIds",
3774
+ "privacy": "private",
3804
3775
  "return": {
3805
3776
  "type": {
3806
- "text": "Promise<void>"
3777
+ "text": "Array<string | null>"
3807
3778
  }
3779
+ },
3780
+ "inheritedFrom": {
3781
+ "name": "Accordion",
3782
+ "module": "src/accordion/accordion.ts"
3808
3783
  }
3809
3784
  },
3810
3785
  {
3811
3786
  "kind": "method",
3812
- "name": "deriveState",
3787
+ "name": "isSingleExpandMode",
3813
3788
  "privacy": "private",
3814
3789
  "return": {
3815
3790
  "type": {
3816
- "text": "AIIndicatorState"
3791
+ "text": "boolean"
3817
3792
  }
3818
3793
  },
3819
- "parameters": [
3820
- {
3821
- "name": "s",
3822
- "type": {
3823
- "text": "AIStatus | null"
3824
- }
3825
- }
3826
- ]
3794
+ "inheritedFrom": {
3795
+ "name": "Accordion",
3796
+ "module": "src/accordion/accordion.ts"
3797
+ }
3827
3798
  },
3828
3799
  {
3829
- "kind": "method",
3830
- "name": "maybeStartPolling",
3800
+ "kind": "field",
3801
+ "name": "handleItemKeyDown",
3831
3802
  "privacy": "private",
3832
- "return": {
3833
- "type": {
3834
- "text": "void"
3835
- }
3803
+ "inheritedFrom": {
3804
+ "name": "Accordion",
3805
+ "module": "src/accordion/accordion.ts"
3836
3806
  }
3837
3807
  },
3838
3808
  {
3839
- "kind": "method",
3840
- "name": "startPolling",
3809
+ "kind": "field",
3810
+ "name": "handleItemFocus",
3841
3811
  "privacy": "private",
3842
- "return": {
3843
- "type": {
3844
- "text": "void"
3845
- }
3812
+ "inheritedFrom": {
3813
+ "name": "Accordion",
3814
+ "module": "src/accordion/accordion.ts"
3846
3815
  }
3847
3816
  },
3848
3817
  {
3849
3818
  "kind": "method",
3850
- "name": "stopPolling",
3819
+ "name": "adjust",
3851
3820
  "privacy": "private",
3852
3821
  "return": {
3853
3822
  "type": {
3854
3823
  "text": "void"
3855
3824
  }
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"
3856
3837
  }
3857
3838
  },
3858
3839
  {
3859
3840
  "kind": "method",
3860
- "name": "onInstall",
3841
+ "name": "focusItem",
3842
+ "privacy": "private",
3861
3843
  "return": {
3862
3844
  "type": {
3863
- "text": "Promise<void>"
3845
+ "text": "void"
3864
3846
  }
3847
+ },
3848
+ "inheritedFrom": {
3849
+ "name": "Accordion",
3850
+ "module": "src/accordion/accordion.ts"
3865
3851
  }
3866
3852
  },
3867
3853
  {
@@ -3976,88 +3962,102 @@
3976
3962
  }
3977
3963
  }
3978
3964
  ],
3979
- "superclass": {
3980
- "name": "FoundationElement",
3981
- "package": "@microsoft/fast-foundation"
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"
3982
3981
  },
3983
- "tagName": "%%prefix%%-ai-indicator",
3984
- "customElement": true
3982
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3985
3983
  },
3986
3984
  {
3987
3985
  "kind": "variable",
3988
- "name": "foundationAiIndicator"
3986
+ "name": "defaultAccordionConfig",
3987
+ "type": {
3988
+ "text": "object"
3989
+ },
3990
+ "default": "{}"
3991
+ },
3992
+ {
3993
+ "kind": "variable",
3994
+ "name": "foundationAccordion",
3995
+ "description": "The Foundation Accordion",
3996
+ "privacy": "public"
3989
3997
  }
3990
3998
  ],
3991
3999
  "exports": [
3992
4000
  {
3993
4001
  "kind": "js",
3994
- "name": "AiIndicator",
4002
+ "name": "Accordion",
3995
4003
  "declaration": {
3996
- "name": "AiIndicator",
3997
- "module": "src/ai-indicator/ai-indicator.ts"
4004
+ "name": "Accordion",
4005
+ "module": "src/accordion/accordion.ts"
3998
4006
  }
3999
4007
  },
4000
4008
  {
4001
4009
  "kind": "js",
4002
- "name": "foundationAiIndicator",
4003
- "declaration": {
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",
4010
+ "name": "foundationAccordionShadowOptions",
4018
4011
  "declaration": {
4019
- "name": "AiIndicator",
4020
- "module": "./ai-indicator"
4012
+ "name": "foundationAccordionShadowOptions",
4013
+ "module": "src/accordion/accordion.ts"
4021
4014
  }
4022
4015
  },
4023
4016
  {
4024
4017
  "kind": "js",
4025
- "name": "foundationAiIndicator",
4018
+ "name": "defaultAccordionConfig",
4026
4019
  "declaration": {
4027
- "name": "foundationAiIndicator",
4028
- "module": "./ai-indicator"
4020
+ "name": "defaultAccordionConfig",
4021
+ "module": "src/accordion/accordion.ts"
4029
4022
  }
4030
4023
  },
4031
4024
  {
4032
4025
  "kind": "js",
4033
- "name": "type",
4026
+ "name": "foundationAccordion",
4034
4027
  "declaration": {
4035
- "name": "type",
4036
- "module": "./ai-indicator"
4028
+ "name": "foundationAccordion",
4029
+ "module": "src/accordion/accordion.ts"
4037
4030
  }
4038
- },
4031
+ }
4032
+ ]
4033
+ },
4034
+ {
4035
+ "kind": "javascript-module",
4036
+ "path": "src/accordion/index.ts",
4037
+ "declarations": [],
4038
+ "exports": [
4039
4039
  {
4040
4040
  "kind": "js",
4041
- "name": "AIIndicatorState",
4041
+ "name": "*",
4042
4042
  "declaration": {
4043
- "name": "AIIndicatorState",
4044
- "module": "./ai-indicator"
4043
+ "name": "*",
4044
+ "package": "./accordion.template"
4045
4045
  }
4046
4046
  },
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "foundationAiIndicatorTemplate",
4049
+ "name": "*",
4050
4050
  "declaration": {
4051
- "name": "foundationAiIndicatorTemplate",
4052
- "module": "./ai-indicator.template"
4051
+ "name": "*",
4052
+ "package": "./accordion.styles"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "foundationAiIndicatorStyles",
4057
+ "name": "*",
4058
4058
  "declaration": {
4059
- "name": "foundationAiIndicatorStyles",
4060
- "module": "./ai-indicator.styles"
4059
+ "name": "*",
4060
+ "package": "./accordion"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -33748,6 +33748,16 @@
33748
33748
  },
33749
33749
  "privacy": "private"
33750
33750
  },
33751
+ {
33752
+ "kind": "field",
33753
+ "name": "reconnectGeneration",
33754
+ "type": {
33755
+ "text": "number"
33756
+ },
33757
+ "privacy": "private",
33758
+ "default": "0",
33759
+ "description": "Bumped at the start of every `handleReconnection()` call so an overlapping, superseded call\ncan tell it's stale once its `await`s resume — without this, two `isConnected$` emissions in\nquick succession race `initializeDatasource()`'s `destroy()`/`init()` cycle against each\nother and can leave a subscription hanging off whichever call loses the race."
33760
+ },
33751
33761
  {
33752
33762
  "kind": "method",
33753
33763
  "name": "handleReconnection",