@genesislcap/foundation-ui 15.61.0 → 15.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1495,11 +1495,11 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/accordion-item/accordion-item.styles.ts",
1498
+ "path": "src/accordion/accordion.styles.ts",
1499
1499
  "declarations": [
1500
1500
  {
1501
1501
  "kind": "function",
1502
- "name": "foundationAccordionItemStyles",
1502
+ "name": "foundationAccordionStyles",
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": "foundationAccordionItemStyles",
1527
+ "name": "foundationAccordionStyles",
1528
1528
  "declaration": {
1529
- "name": "foundationAccordionItemStyles",
1530
- "module": "src/accordion-item/accordion-item.styles.ts"
1529
+ "name": "foundationAccordionStyles",
1530
+ "module": "src/accordion/accordion.styles.ts"
1531
1531
  }
1532
1532
  }
1533
1533
  ]
1534
1534
  },
1535
1535
  {
1536
1536
  "kind": "javascript-module",
1537
- "path": "src/accordion-item/accordion-item.template.ts",
1537
+ "path": "src/accordion/accordion.template.ts",
1538
1538
  "declarations": [
1539
1539
  {
1540
1540
  "kind": "function",
1541
- "name": "foundationAccordionItemTemplate",
1541
+ "name": "foundationAccordionTemplate",
1542
1542
  "return": {
1543
1543
  "type": {
1544
- "text": "ViewTemplate<AccordionItem>"
1544
+ "text": "ViewTemplate<Accordion>"
1545
1545
  }
1546
1546
  },
1547
1547
  "parameters": [
@@ -1563,116 +1563,237 @@
1563
1563
  "exports": [
1564
1564
  {
1565
1565
  "kind": "js",
1566
- "name": "foundationAccordionItemTemplate",
1566
+ "name": "foundationAccordionTemplate",
1567
1567
  "declaration": {
1568
- "name": "foundationAccordionItemTemplate",
1569
- "module": "src/accordion-item/accordion-item.template.ts"
1568
+ "name": "foundationAccordionTemplate",
1569
+ "module": "src/accordion/accordion.template.ts"
1570
1570
  }
1571
1571
  }
1572
1572
  ]
1573
1573
  },
1574
1574
  {
1575
1575
  "kind": "javascript-module",
1576
- "path": "src/accordion-item/accordion-item.ts",
1576
+ "path": "src/accordion/accordion.ts",
1577
1577
  "declarations": [
1578
1578
  {
1579
1579
  "kind": "class",
1580
1580
  "description": "",
1581
- "name": "AccordionItem",
1581
+ "name": "Accordion",
1582
1582
  "superclass": {
1583
- "name": "FASTAccordionItem",
1584
- "package": "@microsoft/fast-components"
1583
+ "name": "FASTAccordion",
1584
+ "package": "@microsoft/fast-foundation"
1585
1585
  },
1586
- "tagName": "%%prefix%%-accordion-item",
1586
+ "tagName": "%%prefix%%-accordion",
1587
1587
  "customElement": true,
1588
1588
  "attributes": [
1589
1589
  {
1590
- "name": "heading-level",
1590
+ "name": "expand-mode",
1591
1591
  "type": {
1592
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1592
+ "text": "AccordionExpandMode"
1593
1593
  },
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",
1594
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1595
+ "fieldName": "expandmode",
1597
1596
  "inheritedFrom": {
1598
- "name": "AccordionItem",
1599
- "module": "src/accordion-item/accordion-item.ts"
1597
+ "name": "Accordion",
1598
+ "module": "src/accordion/accordion.ts"
1600
1599
  }
1601
- },
1600
+ }
1601
+ ],
1602
+ "members": [
1602
1603
  {
1604
+ "kind": "field",
1605
+ "name": "expandmode",
1603
1606
  "type": {
1604
- "text": "boolean"
1607
+ "text": "AccordionExpandMode"
1605
1608
  },
1606
- "default": "false",
1607
- "description": "Expands or collapses the item.",
1608
- "fieldName": "expanded",
1609
+ "privacy": "public",
1610
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1609
1611
  "inheritedFrom": {
1610
- "name": "AccordionItem",
1611
- "module": "src/accordion-item/accordion-item.ts"
1612
+ "name": "Accordion",
1613
+ "module": "src/accordion/accordion.ts"
1612
1614
  }
1613
1615
  },
1614
1616
  {
1615
- "name": "id",
1617
+ "kind": "field",
1618
+ "name": "activeid",
1616
1619
  "type": {
1617
- "text": "string"
1620
+ "text": "string | null"
1618
1621
  },
1619
- "description": "The item ID",
1620
- "fieldName": "id",
1622
+ "privacy": "private",
1621
1623
  "inheritedFrom": {
1622
- "name": "AccordionItem",
1623
- "module": "src/accordion-item/accordion-item.ts"
1624
+ "name": "Accordion",
1625
+ "module": "src/accordion/accordion.ts"
1624
1626
  }
1625
- }
1626
- ],
1627
- "members": [
1627
+ },
1628
1628
  {
1629
1629
  "kind": "field",
1630
- "name": "headinglevel",
1630
+ "name": "activeItemIndex",
1631
1631
  "type": {
1632
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1632
+ "text": "number"
1633
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.",
1634
+ "privacy": "private",
1635
+ "default": "0",
1637
1636
  "inheritedFrom": {
1638
- "name": "AccordionItem",
1639
- "module": "src/accordion-item/accordion-item.ts"
1637
+ "name": "Accordion",
1638
+ "module": "src/accordion/accordion.ts"
1640
1639
  }
1641
1640
  },
1642
1641
  {
1643
1642
  "kind": "field",
1644
- "name": "expanded",
1643
+ "name": "accordionIds",
1645
1644
  "type": {
1646
- "text": "boolean"
1645
+ "text": "Array<string | null>"
1647
1646
  },
1648
- "privacy": "public",
1649
- "default": "false",
1650
- "description": "Expands or collapses the item.",
1647
+ "privacy": "private",
1651
1648
  "inheritedFrom": {
1652
- "name": "AccordionItem",
1653
- "module": "src/accordion-item/accordion-item.ts"
1649
+ "name": "Accordion",
1650
+ "module": "src/accordion/accordion.ts"
1654
1651
  }
1655
1652
  },
1656
1653
  {
1657
1654
  "kind": "field",
1658
- "name": "id",
1659
- "type": {
1660
- "text": "string"
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
+ }
1661
1670
  },
1662
- "privacy": "public",
1663
- "description": "The item ID",
1664
1671
  "inheritedFrom": {
1665
- "name": "AccordionItem",
1666
- "module": "src/accordion-item/accordion-item.ts"
1672
+ "name": "Accordion",
1673
+ "module": "src/accordion/accordion.ts"
1667
1674
  }
1668
1675
  },
1669
1676
  {
1670
1677
  "kind": "field",
1671
- "name": "change",
1678
+ "name": "setItems",
1672
1679
  "privacy": "private",
1673
1680
  "inheritedFrom": {
1674
- "name": "AccordionItem",
1675
- "module": "src/accordion-item/accordion-item.ts"
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
+ }
1693
+ },
1694
+ "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"
1706
+ }
1707
+ },
1708
+ {
1709
+ "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
+ }
1739
+ },
1740
+ "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"
1752
+ }
1753
+ },
1754
+ {
1755
+ "kind": "field",
1756
+ "name": "handleItemFocus",
1757
+ "privacy": "private",
1758
+ "inheritedFrom": {
1759
+ "name": "Accordion",
1760
+ "module": "src/accordion/accordion.ts"
1761
+ }
1762
+ },
1763
+ {
1764
+ "kind": "method",
1765
+ "name": "adjust",
1766
+ "privacy": "private",
1767
+ "return": {
1768
+ "type": {
1769
+ "text": "void"
1770
+ }
1771
+ },
1772
+ "parameters": [
1773
+ {
1774
+ "name": "adjustment",
1775
+ "type": {
1776
+ "text": "number"
1777
+ }
1778
+ }
1779
+ ],
1780
+ "inheritedFrom": {
1781
+ "name": "Accordion",
1782
+ "module": "src/accordion/accordion.ts"
1783
+ }
1784
+ },
1785
+ {
1786
+ "kind": "method",
1787
+ "name": "focusItem",
1788
+ "privacy": "private",
1789
+ "return": {
1790
+ "type": {
1791
+ "text": "void"
1792
+ }
1793
+ },
1794
+ "inheritedFrom": {
1795
+ "name": "Accordion",
1796
+ "module": "src/accordion/accordion.ts"
1676
1797
  }
1677
1798
  },
1678
1799
  {
@@ -1789,18 +1910,18 @@
1789
1910
  ],
1790
1911
  "events": [
1791
1912
  {
1792
- "description": "Fires a custom 'change' event when the button is invoked",
1913
+ "description": "Fires a custom 'change' event when the active item changes",
1793
1914
  "name": "change",
1794
1915
  "inheritedFrom": {
1795
- "name": "AccordionItem",
1796
- "module": "src/accordion-item/accordion-item.ts"
1916
+ "name": "Accordion",
1917
+ "module": "src/accordion/accordion.ts"
1797
1918
  }
1798
1919
  }
1799
1920
  ]
1800
1921
  },
1801
1922
  {
1802
1923
  "kind": "variable",
1803
- "name": "foundationAccordionItemShadowOptions",
1924
+ "name": "foundationAccordionShadowOptions",
1804
1925
  "type": {
1805
1926
  "text": "ShadowRootInit"
1806
1927
  },
@@ -1808,57 +1929,57 @@
1808
1929
  },
1809
1930
  {
1810
1931
  "kind": "variable",
1811
- "name": "defaultAccordionItemConfig",
1932
+ "name": "defaultAccordionConfig",
1812
1933
  "type": {
1813
1934
  "text": "object"
1814
1935
  },
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}"
1936
+ "default": "{}"
1816
1937
  },
1817
1938
  {
1818
1939
  "kind": "variable",
1819
- "name": "foundationAccordionItem",
1820
- "description": "The Foundation Accordion Item",
1940
+ "name": "foundationAccordion",
1941
+ "description": "The Foundation Accordion",
1821
1942
  "privacy": "public"
1822
1943
  }
1823
1944
  ],
1824
1945
  "exports": [
1825
1946
  {
1826
1947
  "kind": "js",
1827
- "name": "AccordionItem",
1948
+ "name": "Accordion",
1828
1949
  "declaration": {
1829
- "name": "AccordionItem",
1830
- "module": "src/accordion-item/accordion-item.ts"
1950
+ "name": "Accordion",
1951
+ "module": "src/accordion/accordion.ts"
1831
1952
  }
1832
1953
  },
1833
1954
  {
1834
1955
  "kind": "js",
1835
- "name": "foundationAccordionItemShadowOptions",
1956
+ "name": "foundationAccordionShadowOptions",
1836
1957
  "declaration": {
1837
- "name": "foundationAccordionItemShadowOptions",
1838
- "module": "src/accordion-item/accordion-item.ts"
1958
+ "name": "foundationAccordionShadowOptions",
1959
+ "module": "src/accordion/accordion.ts"
1839
1960
  }
1840
1961
  },
1841
1962
  {
1842
1963
  "kind": "js",
1843
- "name": "defaultAccordionItemConfig",
1964
+ "name": "defaultAccordionConfig",
1844
1965
  "declaration": {
1845
- "name": "defaultAccordionItemConfig",
1846
- "module": "src/accordion-item/accordion-item.ts"
1966
+ "name": "defaultAccordionConfig",
1967
+ "module": "src/accordion/accordion.ts"
1847
1968
  }
1848
1969
  },
1849
1970
  {
1850
1971
  "kind": "js",
1851
- "name": "foundationAccordionItem",
1972
+ "name": "foundationAccordion",
1852
1973
  "declaration": {
1853
- "name": "foundationAccordionItem",
1854
- "module": "src/accordion-item/accordion-item.ts"
1974
+ "name": "foundationAccordion",
1975
+ "module": "src/accordion/accordion.ts"
1855
1976
  }
1856
1977
  }
1857
1978
  ]
1858
1979
  },
1859
1980
  {
1860
1981
  "kind": "javascript-module",
1861
- "path": "src/accordion-item/index.ts",
1982
+ "path": "src/accordion/index.ts",
1862
1983
  "declarations": [],
1863
1984
  "exports": [
1864
1985
  {
@@ -1866,7 +1987,7 @@
1866
1987
  "name": "*",
1867
1988
  "declaration": {
1868
1989
  "name": "*",
1869
- "package": "./accordion-item.template"
1990
+ "package": "./accordion.template"
1870
1991
  }
1871
1992
  },
1872
1993
  {
@@ -1874,7 +1995,7 @@
1874
1995
  "name": "*",
1875
1996
  "declaration": {
1876
1997
  "name": "*",
1877
- "package": "./accordion-item.styles"
1998
+ "package": "./accordion.styles"
1878
1999
  }
1879
2000
  },
1880
2001
  {
@@ -1882,7 +2003,7 @@
1882
2003
  "name": "*",
1883
2004
  "declaration": {
1884
2005
  "name": "*",
1885
- "package": "./accordion-item"
2006
+ "package": "./accordion"
1886
2007
  }
1887
2008
  }
1888
2009
  ]
@@ -3100,11 +3221,11 @@
3100
3221
  },
3101
3222
  {
3102
3223
  "kind": "javascript-module",
3103
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3224
+ "path": "src/accordion-item/accordion-item.styles.ts",
3104
3225
  "declarations": [
3105
3226
  {
3106
3227
  "kind": "function",
3107
- "name": "foundationAiIndicatorStyles",
3228
+ "name": "foundationAccordionItemStyles",
3108
3229
  "return": {
3109
3230
  "type": {
3110
3231
  "text": "ElementStyles"
@@ -3129,316 +3250,247 @@
3129
3250
  "exports": [
3130
3251
  {
3131
3252
  "kind": "js",
3132
- "name": "foundationAiIndicatorStyles",
3253
+ "name": "foundationAccordionItemStyles",
3133
3254
  "declaration": {
3134
- "name": "foundationAiIndicatorStyles",
3135
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3255
+ "name": "foundationAccordionItemStyles",
3256
+ "module": "src/accordion-item/accordion-item.styles.ts"
3136
3257
  }
3137
3258
  }
3138
3259
  ]
3139
3260
  },
3140
3261
  {
3141
3262
  "kind": "javascript-module",
3142
- "path": "src/ai-indicator/ai-indicator.template.ts",
3263
+ "path": "src/accordion-item/accordion-item.template.ts",
3143
3264
  "declarations": [
3144
3265
  {
3145
- "kind": "variable",
3146
- "name": "foundationAiIndicatorTemplate",
3147
- "type": {
3148
- "text": "ViewTemplate<AiIndicator>"
3266
+ "kind": "function",
3267
+ "name": "foundationAccordionItemTemplate",
3268
+ "return": {
3269
+ "type": {
3270
+ "text": "ViewTemplate<AccordionItem>"
3271
+ }
3149
3272
  },
3150
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
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
+ ]
3151
3287
  }
3152
3288
  ],
3153
3289
  "exports": [
3154
3290
  {
3155
3291
  "kind": "js",
3156
- "name": "foundationAiIndicatorTemplate",
3292
+ "name": "foundationAccordionItemTemplate",
3157
3293
  "declaration": {
3158
- "name": "foundationAiIndicatorTemplate",
3159
- "module": "src/ai-indicator/ai-indicator.template.ts"
3294
+ "name": "foundationAccordionItemTemplate",
3295
+ "module": "src/accordion-item/accordion-item.template.ts"
3160
3296
  }
3161
3297
  }
3162
3298
  ]
3163
3299
  },
3164
3300
  {
3165
3301
  "kind": "javascript-module",
3166
- "path": "src/ai-indicator/ai-indicator.ts",
3302
+ "path": "src/accordion-item/accordion-item.ts",
3167
3303
  "declarations": [
3168
3304
  {
3169
3305
  "kind": "class",
3170
3306
  "description": "",
3171
- "name": "AiIndicator",
3172
- "members": [
3307
+ "name": "AccordionItem",
3308
+ "superclass": {
3309
+ "name": "FASTAccordionItem",
3310
+ "package": "@microsoft/fast-components"
3311
+ },
3312
+ "tagName": "%%prefix%%-accordion-item",
3313
+ "customElement": true,
3314
+ "attributes": [
3173
3315
  {
3174
- "kind": "field",
3175
- "name": "providerRegistry",
3316
+ "name": "heading-level",
3176
3317
  "type": {
3177
- "text": "AIProviderRegistry"
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"
3178
3326
  }
3179
3327
  },
3180
3328
  {
3181
- "kind": "field",
3182
- "name": "aiProvider",
3183
3329
  "type": {
3184
- "text": "AIProvider | undefined"
3330
+ "text": "boolean"
3185
3331
  },
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
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
+ }
3189
3339
  },
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": [
3190
3354
  {
3191
3355
  "kind": "field",
3192
- "name": "status",
3356
+ "name": "headinglevel",
3193
3357
  "type": {
3194
- "text": "AIStatus | null"
3358
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3195
3359
  },
3196
- "default": "null"
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
+ }
3197
3367
  },
3198
3368
  {
3199
3369
  "kind": "field",
3200
- "name": "open",
3370
+ "name": "expanded",
3201
3371
  "type": {
3202
3372
  "text": "boolean"
3203
3373
  },
3204
- "default": "false"
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
+ }
3205
3381
  },
3206
3382
  {
3207
3383
  "kind": "field",
3208
- "name": "state",
3384
+ "name": "id",
3209
3385
  "type": {
3210
- "text": "AIIndicatorState"
3386
+ "text": "string"
3211
3387
  },
3212
- "default": "'none'"
3388
+ "privacy": "public",
3389
+ "description": "The item ID",
3390
+ "inheritedFrom": {
3391
+ "name": "AccordionItem",
3392
+ "module": "src/accordion-item/accordion-item.ts"
3393
+ }
3213
3394
  },
3214
3395
  {
3215
3396
  "kind": "field",
3216
- "name": "isInstalling",
3217
- "type": {
3218
- "text": "boolean"
3219
- },
3220
- "default": "false"
3397
+ "name": "change",
3398
+ "privacy": "private",
3399
+ "inheritedFrom": {
3400
+ "name": "AccordionItem",
3401
+ "module": "src/accordion-item/accordion-item.ts"
3402
+ }
3221
3403
  },
3222
3404
  {
3223
3405
  "kind": "field",
3224
- "name": "pollTimer",
3406
+ "name": "_presentation",
3225
3407
  "type": {
3226
- "text": "ReturnType<typeof setInterval> | null"
3408
+ "text": "ComponentPresentation | null | undefined"
3227
3409
  },
3228
3410
  "privacy": "private",
3229
- "default": "null"
3411
+ "default": "void 0",
3412
+ "inheritedFrom": {
3413
+ "name": "FoundationElement",
3414
+ "module": "src/foundation-element/foundation-element.ts"
3415
+ }
3230
3416
  },
3231
3417
  {
3232
3418
  "kind": "field",
3233
- "name": "clickOutside",
3234
- "privacy": "private"
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
+ }
3235
3429
  },
3236
3430
  {
3237
3431
  "kind": "field",
3238
- "name": "chromeStatusLabel",
3432
+ "name": "template",
3239
3433
  "type": {
3240
- "text": "string | null"
3434
+ "text": "ElementViewTemplate | void | null"
3241
3435
  },
3242
- "readonly": true
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
+ }
3243
3442
  },
3244
3443
  {
3245
- "kind": "field",
3246
- "name": "canInstall",
3247
- "type": {
3248
- "text": "boolean"
3444
+ "kind": "method",
3445
+ "name": "templateChanged",
3446
+ "privacy": "protected",
3447
+ "return": {
3448
+ "type": {
3449
+ "text": "void"
3450
+ }
3249
3451
  },
3250
- "readonly": true
3452
+ "inheritedFrom": {
3453
+ "name": "FoundationElement",
3454
+ "module": "src/foundation-element/foundation-element.ts"
3455
+ }
3251
3456
  },
3252
3457
  {
3253
3458
  "kind": "field",
3254
- "name": "isDownloading",
3459
+ "name": "styles",
3255
3460
  "type": {
3256
- "text": "boolean"
3461
+ "text": "ElementStyles | void | null"
3257
3462
  },
3258
- "readonly": true
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
+ }
3259
3469
  },
3260
3470
  {
3261
3471
  "kind": "method",
3262
- "name": "openChanged",
3472
+ "name": "stylesChanged",
3473
+ "privacy": "protected",
3263
3474
  "return": {
3264
3475
  "type": {
3265
3476
  "text": "void"
3266
3477
  }
3478
+ },
3479
+ "inheritedFrom": {
3480
+ "name": "FoundationElement",
3481
+ "module": "src/foundation-element/foundation-element.ts"
3267
3482
  }
3268
3483
  },
3269
3484
  {
3270
3485
  "kind": "method",
3271
- "name": "handleClickOutside",
3272
- "privacy": "private",
3273
- "parameters": [
3274
- {
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
- },
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
+ },
3442
3494
  "parameters": [
3443
3495
  {
3444
3496
  "name": "this",
@@ -3461,99 +3513,113 @@
3461
3513
  }
3462
3514
  }
3463
3515
  ],
3464
- "superclass": {
3465
- "name": "FoundationElement",
3466
- "package": "@microsoft/fast-foundation"
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"
3467
3532
  },
3468
- "tagName": "%%prefix%%-ai-indicator",
3469
- "customElement": true
3533
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3470
3534
  },
3471
3535
  {
3472
3536
  "kind": "variable",
3473
- "name": "foundationAiIndicator"
3537
+ "name": "defaultAccordionItemConfig",
3538
+ "type": {
3539
+ "text": "object"
3540
+ },
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}"
3542
+ },
3543
+ {
3544
+ "kind": "variable",
3545
+ "name": "foundationAccordionItem",
3546
+ "description": "The Foundation Accordion Item",
3547
+ "privacy": "public"
3474
3548
  }
3475
3549
  ],
3476
3550
  "exports": [
3477
3551
  {
3478
3552
  "kind": "js",
3479
- "name": "AiIndicator",
3553
+ "name": "AccordionItem",
3480
3554
  "declaration": {
3481
- "name": "AiIndicator",
3482
- "module": "src/ai-indicator/ai-indicator.ts"
3555
+ "name": "AccordionItem",
3556
+ "module": "src/accordion-item/accordion-item.ts"
3483
3557
  }
3484
3558
  },
3485
3559
  {
3486
3560
  "kind": "js",
3487
- "name": "foundationAiIndicator",
3488
- "declaration": {
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",
3561
+ "name": "foundationAccordionItemShadowOptions",
3503
3562
  "declaration": {
3504
- "name": "AiIndicator",
3505
- "module": "./ai-indicator"
3563
+ "name": "foundationAccordionItemShadowOptions",
3564
+ "module": "src/accordion-item/accordion-item.ts"
3506
3565
  }
3507
3566
  },
3508
3567
  {
3509
3568
  "kind": "js",
3510
- "name": "foundationAiIndicator",
3569
+ "name": "defaultAccordionItemConfig",
3511
3570
  "declaration": {
3512
- "name": "foundationAiIndicator",
3513
- "module": "./ai-indicator"
3571
+ "name": "defaultAccordionItemConfig",
3572
+ "module": "src/accordion-item/accordion-item.ts"
3514
3573
  }
3515
3574
  },
3516
3575
  {
3517
3576
  "kind": "js",
3518
- "name": "type",
3577
+ "name": "foundationAccordionItem",
3519
3578
  "declaration": {
3520
- "name": "type",
3521
- "module": "./ai-indicator"
3579
+ "name": "foundationAccordionItem",
3580
+ "module": "src/accordion-item/accordion-item.ts"
3522
3581
  }
3523
- },
3582
+ }
3583
+ ]
3584
+ },
3585
+ {
3586
+ "kind": "javascript-module",
3587
+ "path": "src/accordion-item/index.ts",
3588
+ "declarations": [],
3589
+ "exports": [
3524
3590
  {
3525
3591
  "kind": "js",
3526
- "name": "AIIndicatorState",
3592
+ "name": "*",
3527
3593
  "declaration": {
3528
- "name": "AIIndicatorState",
3529
- "module": "./ai-indicator"
3594
+ "name": "*",
3595
+ "package": "./accordion-item.template"
3530
3596
  }
3531
3597
  },
3532
3598
  {
3533
3599
  "kind": "js",
3534
- "name": "foundationAiIndicatorTemplate",
3600
+ "name": "*",
3535
3601
  "declaration": {
3536
- "name": "foundationAiIndicatorTemplate",
3537
- "module": "./ai-indicator.template"
3602
+ "name": "*",
3603
+ "package": "./accordion-item.styles"
3538
3604
  }
3539
3605
  },
3540
3606
  {
3541
3607
  "kind": "js",
3542
- "name": "foundationAiIndicatorStyles",
3608
+ "name": "*",
3543
3609
  "declaration": {
3544
- "name": "foundationAiIndicatorStyles",
3545
- "module": "./ai-indicator.styles"
3610
+ "name": "*",
3611
+ "package": "./accordion-item"
3546
3612
  }
3547
3613
  }
3548
3614
  ]
3549
3615
  },
3550
3616
  {
3551
3617
  "kind": "javascript-module",
3552
- "path": "src/accordion/accordion.styles.ts",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3553
3619
  "declarations": [
3554
3620
  {
3555
3621
  "kind": "function",
3556
- "name": "foundationAccordionStyles",
3622
+ "name": "foundationAiIndicatorStyles",
3557
3623
  "return": {
3558
3624
  "type": {
3559
3625
  "text": "ElementStyles"
@@ -3578,276 +3644,224 @@
3578
3644
  "exports": [
3579
3645
  {
3580
3646
  "kind": "js",
3581
- "name": "foundationAccordionStyles",
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"
3720
+ },
3721
+ {
3722
+ "kind": "field",
3723
+ "name": "state",
3724
+ "type": {
3725
+ "text": "AIIndicatorState"
3726
+ },
3727
+ "default": "'none'"
3728
+ },
3729
+ {
3730
+ "kind": "field",
3731
+ "name": "isInstalling",
3732
+ "type": {
3733
+ "text": "boolean"
3734
+ },
3735
+ "default": "false"
3694
3736
  },
3695
3737
  {
3696
3738
  "kind": "field",
3697
- "name": "accordionIds",
3739
+ "name": "pollTimer",
3698
3740
  "type": {
3699
- "text": "Array<string | null>"
3741
+ "text": "ReturnType<typeof setInterval> | null"
3700
3742
  },
3701
3743
  "privacy": "private",
3702
- "inheritedFrom": {
3703
- "name": "Accordion",
3704
- "module": "src/accordion/accordion.ts"
3705
- }
3744
+ "default": "null"
3706
3745
  },
3707
3746
  {
3708
3747
  "kind": "field",
3709
- "name": "change",
3710
- "privacy": "private",
3711
- "inheritedFrom": {
3712
- "name": "Accordion",
3713
- "module": "src/accordion/accordion.ts"
3714
- }
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3715
3750
  },
3716
3751
  {
3717
- "kind": "method",
3718
- "name": "findExpandedItem",
3719
- "privacy": "private",
3720
- "return": {
3721
- "type": {
3722
- "text": "AccordionItem | null"
3723
- }
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
  ]