@genesislcap/foundation-ui 14.493.0-GENC-1461.1 → 14.493.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.
@@ -1439,11 +1439,11 @@
1439
1439
  },
1440
1440
  {
1441
1441
  "kind": "javascript-module",
1442
- "path": "src/accordion/accordion.styles.ts",
1442
+ "path": "src/accordion-item/accordion-item.styles.ts",
1443
1443
  "declarations": [
1444
1444
  {
1445
1445
  "kind": "function",
1446
- "name": "foundationAccordionStyles",
1446
+ "name": "foundationAccordionItemStyles",
1447
1447
  "return": {
1448
1448
  "type": {
1449
1449
  "text": "ElementStyles"
@@ -1468,24 +1468,24 @@
1468
1468
  "exports": [
1469
1469
  {
1470
1470
  "kind": "js",
1471
- "name": "foundationAccordionStyles",
1471
+ "name": "foundationAccordionItemStyles",
1472
1472
  "declaration": {
1473
- "name": "foundationAccordionStyles",
1474
- "module": "src/accordion/accordion.styles.ts"
1473
+ "name": "foundationAccordionItemStyles",
1474
+ "module": "src/accordion-item/accordion-item.styles.ts"
1475
1475
  }
1476
1476
  }
1477
1477
  ]
1478
1478
  },
1479
1479
  {
1480
1480
  "kind": "javascript-module",
1481
- "path": "src/accordion/accordion.template.ts",
1481
+ "path": "src/accordion-item/accordion-item.template.ts",
1482
1482
  "declarations": [
1483
1483
  {
1484
1484
  "kind": "function",
1485
- "name": "foundationAccordionTemplate",
1485
+ "name": "foundationAccordionItemTemplate",
1486
1486
  "return": {
1487
1487
  "type": {
1488
- "text": "ViewTemplate<Accordion>"
1488
+ "text": "ViewTemplate<AccordionItem>"
1489
1489
  }
1490
1490
  },
1491
1491
  "parameters": [
@@ -1507,237 +1507,116 @@
1507
1507
  "exports": [
1508
1508
  {
1509
1509
  "kind": "js",
1510
- "name": "foundationAccordionTemplate",
1510
+ "name": "foundationAccordionItemTemplate",
1511
1511
  "declaration": {
1512
- "name": "foundationAccordionTemplate",
1513
- "module": "src/accordion/accordion.template.ts"
1512
+ "name": "foundationAccordionItemTemplate",
1513
+ "module": "src/accordion-item/accordion-item.template.ts"
1514
1514
  }
1515
1515
  }
1516
1516
  ]
1517
1517
  },
1518
1518
  {
1519
1519
  "kind": "javascript-module",
1520
- "path": "src/accordion/accordion.ts",
1520
+ "path": "src/accordion-item/accordion-item.ts",
1521
1521
  "declarations": [
1522
1522
  {
1523
1523
  "kind": "class",
1524
1524
  "description": "",
1525
- "name": "Accordion",
1525
+ "name": "AccordionItem",
1526
1526
  "superclass": {
1527
- "name": "FASTAccordion",
1528
- "package": "@microsoft/fast-foundation"
1527
+ "name": "FASTAccordionItem",
1528
+ "package": "@microsoft/fast-components"
1529
1529
  },
1530
- "tagName": "%%prefix%%-accordion",
1530
+ "tagName": "%%prefix%%-accordion-item",
1531
1531
  "customElement": true,
1532
1532
  "attributes": [
1533
1533
  {
1534
- "name": "expand-mode",
1535
- "type": {
1536
- "text": "AccordionExpandMode"
1537
- },
1538
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1539
- "fieldName": "expandmode",
1540
- "inheritedFrom": {
1541
- "name": "Accordion",
1542
- "module": "src/accordion/accordion.ts"
1543
- }
1544
- }
1545
- ],
1546
- "members": [
1547
- {
1548
- "kind": "field",
1549
- "name": "expandmode",
1534
+ "name": "heading-level",
1550
1535
  "type": {
1551
- "text": "AccordionExpandMode"
1536
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1552
1537
  },
1553
- "privacy": "public",
1554
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1538
+ "default": "2",
1539
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1540
+ "fieldName": "headinglevel",
1555
1541
  "inheritedFrom": {
1556
- "name": "Accordion",
1557
- "module": "src/accordion/accordion.ts"
1542
+ "name": "AccordionItem",
1543
+ "module": "src/accordion-item/accordion-item.ts"
1558
1544
  }
1559
1545
  },
1560
1546
  {
1561
- "kind": "field",
1562
- "name": "activeid",
1563
1547
  "type": {
1564
- "text": "string | null"
1548
+ "text": "boolean"
1565
1549
  },
1566
- "privacy": "private",
1550
+ "default": "false",
1551
+ "description": "Expands or collapses the item.",
1552
+ "fieldName": "expanded",
1567
1553
  "inheritedFrom": {
1568
- "name": "Accordion",
1569
- "module": "src/accordion/accordion.ts"
1554
+ "name": "AccordionItem",
1555
+ "module": "src/accordion-item/accordion-item.ts"
1570
1556
  }
1571
1557
  },
1572
1558
  {
1573
- "kind": "field",
1574
- "name": "activeItemIndex",
1559
+ "name": "id",
1575
1560
  "type": {
1576
- "text": "number"
1561
+ "text": "string"
1577
1562
  },
1578
- "privacy": "private",
1579
- "default": "0",
1563
+ "description": "The item ID",
1564
+ "fieldName": "id",
1580
1565
  "inheritedFrom": {
1581
- "name": "Accordion",
1582
- "module": "src/accordion/accordion.ts"
1566
+ "name": "AccordionItem",
1567
+ "module": "src/accordion-item/accordion-item.ts"
1583
1568
  }
1584
- },
1569
+ }
1570
+ ],
1571
+ "members": [
1585
1572
  {
1586
1573
  "kind": "field",
1587
- "name": "accordionIds",
1574
+ "name": "headinglevel",
1588
1575
  "type": {
1589
- "text": "Array<string | null>"
1590
- },
1591
- "privacy": "private",
1592
- "inheritedFrom": {
1593
- "name": "Accordion",
1594
- "module": "src/accordion/accordion.ts"
1595
- }
1596
- },
1597
- {
1598
- "kind": "field",
1599
- "name": "change",
1600
- "privacy": "private",
1601
- "inheritedFrom": {
1602
- "name": "Accordion",
1603
- "module": "src/accordion/accordion.ts"
1604
- }
1605
- },
1606
- {
1607
- "kind": "method",
1608
- "name": "findExpandedItem",
1609
- "privacy": "private",
1610
- "return": {
1611
- "type": {
1612
- "text": "AccordionItem | null"
1613
- }
1576
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1614
1577
  },
1578
+ "privacy": "public",
1579
+ "default": "2",
1580
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1615
1581
  "inheritedFrom": {
1616
- "name": "Accordion",
1617
- "module": "src/accordion/accordion.ts"
1582
+ "name": "AccordionItem",
1583
+ "module": "src/accordion-item/accordion-item.ts"
1618
1584
  }
1619
1585
  },
1620
1586
  {
1621
1587
  "kind": "field",
1622
- "name": "setItems",
1623
- "privacy": "private",
1624
- "inheritedFrom": {
1625
- "name": "Accordion",
1626
- "module": "src/accordion/accordion.ts"
1627
- }
1628
- },
1629
- {
1630
- "kind": "method",
1631
- "name": "resetItems",
1632
- "privacy": "private",
1633
- "return": {
1634
- "type": {
1635
- "text": "void"
1636
- }
1588
+ "name": "expanded",
1589
+ "type": {
1590
+ "text": "boolean"
1637
1591
  },
1592
+ "privacy": "public",
1593
+ "default": "false",
1594
+ "description": "Expands or collapses the item.",
1638
1595
  "inheritedFrom": {
1639
- "name": "Accordion",
1640
- "module": "src/accordion/accordion.ts"
1641
- }
1642
- },
1643
- {
1644
- "kind": "field",
1645
- "name": "removeItemListeners",
1646
- "privacy": "private",
1647
- "inheritedFrom": {
1648
- "name": "Accordion",
1649
- "module": "src/accordion/accordion.ts"
1596
+ "name": "AccordionItem",
1597
+ "module": "src/accordion-item/accordion-item.ts"
1650
1598
  }
1651
1599
  },
1652
1600
  {
1653
1601
  "kind": "field",
1654
- "name": "activeItemChange",
1655
- "privacy": "private",
1656
- "inheritedFrom": {
1657
- "name": "Accordion",
1658
- "module": "src/accordion/accordion.ts"
1659
- }
1660
- },
1661
- {
1662
- "kind": "method",
1663
- "name": "getItemIds",
1664
- "privacy": "private",
1665
- "return": {
1666
- "type": {
1667
- "text": "Array<string | null>"
1668
- }
1669
- },
1670
- "inheritedFrom": {
1671
- "name": "Accordion",
1672
- "module": "src/accordion/accordion.ts"
1673
- }
1674
- },
1675
- {
1676
- "kind": "method",
1677
- "name": "isSingleExpandMode",
1678
- "privacy": "private",
1679
- "return": {
1680
- "type": {
1681
- "text": "boolean"
1682
- }
1602
+ "name": "id",
1603
+ "type": {
1604
+ "text": "string"
1683
1605
  },
1606
+ "privacy": "public",
1607
+ "description": "The item ID",
1684
1608
  "inheritedFrom": {
1685
- "name": "Accordion",
1686
- "module": "src/accordion/accordion.ts"
1687
- }
1688
- },
1689
- {
1690
- "kind": "field",
1691
- "name": "handleItemKeyDown",
1692
- "privacy": "private",
1693
- "inheritedFrom": {
1694
- "name": "Accordion",
1695
- "module": "src/accordion/accordion.ts"
1609
+ "name": "AccordionItem",
1610
+ "module": "src/accordion-item/accordion-item.ts"
1696
1611
  }
1697
1612
  },
1698
1613
  {
1699
1614
  "kind": "field",
1700
- "name": "handleItemFocus",
1701
- "privacy": "private",
1702
- "inheritedFrom": {
1703
- "name": "Accordion",
1704
- "module": "src/accordion/accordion.ts"
1705
- }
1706
- },
1707
- {
1708
- "kind": "method",
1709
- "name": "adjust",
1710
- "privacy": "private",
1711
- "return": {
1712
- "type": {
1713
- "text": "void"
1714
- }
1715
- },
1716
- "parameters": [
1717
- {
1718
- "name": "adjustment",
1719
- "type": {
1720
- "text": "number"
1721
- }
1722
- }
1723
- ],
1724
- "inheritedFrom": {
1725
- "name": "Accordion",
1726
- "module": "src/accordion/accordion.ts"
1727
- }
1728
- },
1729
- {
1730
- "kind": "method",
1731
- "name": "focusItem",
1615
+ "name": "change",
1732
1616
  "privacy": "private",
1733
- "return": {
1734
- "type": {
1735
- "text": "void"
1736
- }
1737
- },
1738
1617
  "inheritedFrom": {
1739
- "name": "Accordion",
1740
- "module": "src/accordion/accordion.ts"
1618
+ "name": "AccordionItem",
1619
+ "module": "src/accordion-item/accordion-item.ts"
1741
1620
  }
1742
1621
  },
1743
1622
  {
@@ -1854,18 +1733,18 @@
1854
1733
  ],
1855
1734
  "events": [
1856
1735
  {
1857
- "description": "Fires a custom 'change' event when the active item changes",
1736
+ "description": "Fires a custom 'change' event when the button is invoked",
1858
1737
  "name": "change",
1859
1738
  "inheritedFrom": {
1860
- "name": "Accordion",
1861
- "module": "src/accordion/accordion.ts"
1739
+ "name": "AccordionItem",
1740
+ "module": "src/accordion-item/accordion-item.ts"
1862
1741
  }
1863
1742
  }
1864
1743
  ]
1865
1744
  },
1866
1745
  {
1867
1746
  "kind": "variable",
1868
- "name": "foundationAccordionShadowOptions",
1747
+ "name": "foundationAccordionItemShadowOptions",
1869
1748
  "type": {
1870
1749
  "text": "ShadowRootInit"
1871
1750
  },
@@ -1873,57 +1752,57 @@
1873
1752
  },
1874
1753
  {
1875
1754
  "kind": "variable",
1876
- "name": "defaultAccordionConfig",
1755
+ "name": "defaultAccordionItemConfig",
1877
1756
  "type": {
1878
1757
  "text": "object"
1879
1758
  },
1880
- "default": "{}"
1759
+ "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}"
1881
1760
  },
1882
1761
  {
1883
1762
  "kind": "variable",
1884
- "name": "foundationAccordion",
1885
- "description": "The Foundation Accordion",
1763
+ "name": "foundationAccordionItem",
1764
+ "description": "The Foundation Accordion Item",
1886
1765
  "privacy": "public"
1887
1766
  }
1888
1767
  ],
1889
1768
  "exports": [
1890
1769
  {
1891
1770
  "kind": "js",
1892
- "name": "Accordion",
1771
+ "name": "AccordionItem",
1893
1772
  "declaration": {
1894
- "name": "Accordion",
1895
- "module": "src/accordion/accordion.ts"
1773
+ "name": "AccordionItem",
1774
+ "module": "src/accordion-item/accordion-item.ts"
1896
1775
  }
1897
1776
  },
1898
1777
  {
1899
1778
  "kind": "js",
1900
- "name": "foundationAccordionShadowOptions",
1779
+ "name": "foundationAccordionItemShadowOptions",
1901
1780
  "declaration": {
1902
- "name": "foundationAccordionShadowOptions",
1903
- "module": "src/accordion/accordion.ts"
1781
+ "name": "foundationAccordionItemShadowOptions",
1782
+ "module": "src/accordion-item/accordion-item.ts"
1904
1783
  }
1905
1784
  },
1906
1785
  {
1907
1786
  "kind": "js",
1908
- "name": "defaultAccordionConfig",
1787
+ "name": "defaultAccordionItemConfig",
1909
1788
  "declaration": {
1910
- "name": "defaultAccordionConfig",
1911
- "module": "src/accordion/accordion.ts"
1789
+ "name": "defaultAccordionItemConfig",
1790
+ "module": "src/accordion-item/accordion-item.ts"
1912
1791
  }
1913
1792
  },
1914
1793
  {
1915
1794
  "kind": "js",
1916
- "name": "foundationAccordion",
1795
+ "name": "foundationAccordionItem",
1917
1796
  "declaration": {
1918
- "name": "foundationAccordion",
1919
- "module": "src/accordion/accordion.ts"
1797
+ "name": "foundationAccordionItem",
1798
+ "module": "src/accordion-item/accordion-item.ts"
1920
1799
  }
1921
1800
  }
1922
1801
  ]
1923
1802
  },
1924
1803
  {
1925
1804
  "kind": "javascript-module",
1926
- "path": "src/accordion/index.ts",
1805
+ "path": "src/accordion-item/index.ts",
1927
1806
  "declarations": [],
1928
1807
  "exports": [
1929
1808
  {
@@ -1931,7 +1810,7 @@
1931
1810
  "name": "*",
1932
1811
  "declaration": {
1933
1812
  "name": "*",
1934
- "package": "./accordion.template"
1813
+ "package": "./accordion-item.template"
1935
1814
  }
1936
1815
  },
1937
1816
  {
@@ -1939,7 +1818,7 @@
1939
1818
  "name": "*",
1940
1819
  "declaration": {
1941
1820
  "name": "*",
1942
- "package": "./accordion.styles"
1821
+ "package": "./accordion-item.styles"
1943
1822
  }
1944
1823
  },
1945
1824
  {
@@ -1947,7 +1826,7 @@
1947
1826
  "name": "*",
1948
1827
  "declaration": {
1949
1828
  "name": "*",
1950
- "package": "./accordion"
1829
+ "package": "./accordion-item"
1951
1830
  }
1952
1831
  }
1953
1832
  ]
@@ -3122,11 +3001,11 @@
3122
3001
  },
3123
3002
  {
3124
3003
  "kind": "javascript-module",
3125
- "path": "src/accordion-item/accordion-item.styles.ts",
3004
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3126
3005
  "declarations": [
3127
3006
  {
3128
3007
  "kind": "function",
3129
- "name": "foundationAccordionItemStyles",
3008
+ "name": "foundationAiIndicatorStyles",
3130
3009
  "return": {
3131
3010
  "type": {
3132
3011
  "text": "ElementStyles"
@@ -3151,250 +3030,319 @@
3151
3030
  "exports": [
3152
3031
  {
3153
3032
  "kind": "js",
3154
- "name": "foundationAccordionItemStyles",
3033
+ "name": "foundationAiIndicatorStyles",
3155
3034
  "declaration": {
3156
- "name": "foundationAccordionItemStyles",
3157
- "module": "src/accordion-item/accordion-item.styles.ts"
3035
+ "name": "foundationAiIndicatorStyles",
3036
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3158
3037
  }
3159
3038
  }
3160
3039
  ]
3161
3040
  },
3162
3041
  {
3163
3042
  "kind": "javascript-module",
3164
- "path": "src/accordion-item/accordion-item.template.ts",
3043
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3165
3044
  "declarations": [
3166
3045
  {
3167
- "kind": "function",
3168
- "name": "foundationAccordionItemTemplate",
3169
- "return": {
3170
- "type": {
3171
- "text": "ViewTemplate<AccordionItem>"
3172
- }
3046
+ "kind": "variable",
3047
+ "name": "foundationAiIndicatorTemplate",
3048
+ "type": {
3049
+ "text": "ViewTemplate<AiIndicator>"
3173
3050
  },
3174
- "parameters": [
3175
- {
3176
- "name": "context",
3177
- "type": {
3178
- "text": "ElementDefinitionContext"
3179
- }
3180
- },
3181
- {
3182
- "name": "definition",
3183
- "type": {
3184
- "text": "FoundationElementDefinition"
3185
- }
3186
- }
3187
- ]
3051
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3188
3052
  }
3189
3053
  ],
3190
3054
  "exports": [
3191
3055
  {
3192
3056
  "kind": "js",
3193
- "name": "foundationAccordionItemTemplate",
3057
+ "name": "foundationAiIndicatorTemplate",
3194
3058
  "declaration": {
3195
- "name": "foundationAccordionItemTemplate",
3196
- "module": "src/accordion-item/accordion-item.template.ts"
3059
+ "name": "foundationAiIndicatorTemplate",
3060
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3197
3061
  }
3198
3062
  }
3199
3063
  ]
3200
3064
  },
3201
3065
  {
3202
3066
  "kind": "javascript-module",
3203
- "path": "src/accordion-item/accordion-item.ts",
3067
+ "path": "src/ai-indicator/ai-indicator.ts",
3204
3068
  "declarations": [
3205
3069
  {
3206
3070
  "kind": "class",
3207
3071
  "description": "",
3208
- "name": "AccordionItem",
3209
- "superclass": {
3210
- "name": "FASTAccordionItem",
3211
- "package": "@microsoft/fast-components"
3212
- },
3213
- "tagName": "%%prefix%%-accordion-item",
3214
- "customElement": true,
3215
- "attributes": [
3072
+ "name": "AiIndicator",
3073
+ "members": [
3216
3074
  {
3217
- "name": "heading-level",
3075
+ "kind": "field",
3076
+ "name": "providerRegistry",
3218
3077
  "type": {
3219
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3220
- },
3221
- "default": "2",
3222
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3223
- "fieldName": "headinglevel",
3224
- "inheritedFrom": {
3225
- "name": "AccordionItem",
3226
- "module": "src/accordion-item/accordion-item.ts"
3078
+ "text": "AIProviderRegistry"
3227
3079
  }
3228
3080
  },
3229
3081
  {
3082
+ "kind": "field",
3083
+ "name": "aiProvider",
3230
3084
  "type": {
3231
- "text": "boolean"
3085
+ "text": "AIProvider | undefined"
3232
3086
  },
3233
- "default": "false",
3234
- "description": "Expands or collapses the item.",
3235
- "fieldName": "expanded",
3236
- "inheritedFrom": {
3237
- "name": "AccordionItem",
3238
- "module": "src/accordion-item/accordion-item.ts"
3239
- }
3087
+ "privacy": "private",
3088
+ "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.",
3089
+ "readonly": true
3240
3090
  },
3241
- {
3242
- "name": "id",
3243
- "type": {
3244
- "text": "string"
3245
- },
3246
- "description": "The item ID",
3247
- "fieldName": "id",
3248
- "inheritedFrom": {
3249
- "name": "AccordionItem",
3250
- "module": "src/accordion-item/accordion-item.ts"
3251
- }
3252
- }
3253
- ],
3254
- "members": [
3255
3091
  {
3256
3092
  "kind": "field",
3257
- "name": "headinglevel",
3093
+ "name": "status",
3258
3094
  "type": {
3259
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3095
+ "text": "AIStatus | null"
3260
3096
  },
3261
- "privacy": "public",
3262
- "default": "2",
3263
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3264
- "inheritedFrom": {
3265
- "name": "AccordionItem",
3266
- "module": "src/accordion-item/accordion-item.ts"
3267
- }
3097
+ "default": "null"
3268
3098
  },
3269
3099
  {
3270
3100
  "kind": "field",
3271
- "name": "expanded",
3101
+ "name": "open",
3272
3102
  "type": {
3273
3103
  "text": "boolean"
3274
3104
  },
3275
- "privacy": "public",
3276
- "default": "false",
3277
- "description": "Expands or collapses the item.",
3278
- "inheritedFrom": {
3279
- "name": "AccordionItem",
3280
- "module": "src/accordion-item/accordion-item.ts"
3281
- }
3105
+ "default": "false"
3282
3106
  },
3283
3107
  {
3284
3108
  "kind": "field",
3285
- "name": "id",
3109
+ "name": "state",
3286
3110
  "type": {
3287
- "text": "string"
3111
+ "text": "AIIndicatorState"
3288
3112
  },
3289
- "privacy": "public",
3290
- "description": "The item ID",
3291
- "inheritedFrom": {
3292
- "name": "AccordionItem",
3293
- "module": "src/accordion-item/accordion-item.ts"
3294
- }
3113
+ "default": "'none'"
3295
3114
  },
3296
3115
  {
3297
3116
  "kind": "field",
3298
- "name": "change",
3299
- "privacy": "private",
3300
- "inheritedFrom": {
3301
- "name": "AccordionItem",
3302
- "module": "src/accordion-item/accordion-item.ts"
3303
- }
3117
+ "name": "isInstalling",
3118
+ "type": {
3119
+ "text": "boolean"
3120
+ },
3121
+ "default": "false"
3304
3122
  },
3305
3123
  {
3306
3124
  "kind": "field",
3307
- "name": "_presentation",
3125
+ "name": "pollTimer",
3308
3126
  "type": {
3309
- "text": "ComponentPresentation | null | undefined"
3127
+ "text": "ReturnType<typeof setInterval> | null"
3310
3128
  },
3311
3129
  "privacy": "private",
3312
- "default": "void 0",
3313
- "inheritedFrom": {
3314
- "name": "FoundationElement",
3315
- "module": "src/foundation-element/foundation-element.ts"
3316
- }
3130
+ "default": "null"
3317
3131
  },
3318
3132
  {
3319
3133
  "kind": "field",
3320
- "name": "$presentation",
3321
- "type": {
3322
- "text": "ComponentPresentation | null"
3323
- },
3324
- "privacy": "public",
3325
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3326
- "inheritedFrom": {
3327
- "name": "FoundationElement",
3328
- "module": "src/foundation-element/foundation-element.ts"
3329
- }
3134
+ "name": "clickOutside",
3135
+ "privacy": "private"
3330
3136
  },
3331
3137
  {
3332
3138
  "kind": "field",
3333
- "name": "template",
3139
+ "name": "chromeStatusLabel",
3334
3140
  "type": {
3335
- "text": "ElementViewTemplate | void | null"
3141
+ "text": "string | null"
3336
3142
  },
3337
- "privacy": "public",
3338
- "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.",
3339
- "inheritedFrom": {
3340
- "name": "FoundationElement",
3341
- "module": "src/foundation-element/foundation-element.ts"
3342
- }
3143
+ "readonly": true
3343
3144
  },
3344
3145
  {
3345
- "kind": "method",
3346
- "name": "templateChanged",
3347
- "privacy": "protected",
3348
- "return": {
3349
- "type": {
3350
- "text": "void"
3351
- }
3146
+ "kind": "field",
3147
+ "name": "canInstall",
3148
+ "type": {
3149
+ "text": "boolean"
3352
3150
  },
3353
- "inheritedFrom": {
3354
- "name": "FoundationElement",
3355
- "module": "src/foundation-element/foundation-element.ts"
3356
- }
3151
+ "readonly": true
3357
3152
  },
3358
3153
  {
3359
3154
  "kind": "field",
3360
- "name": "styles",
3155
+ "name": "isDownloading",
3361
3156
  "type": {
3362
- "text": "ElementStyles | void | null"
3157
+ "text": "boolean"
3363
3158
  },
3364
- "privacy": "public",
3365
- "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.",
3366
- "inheritedFrom": {
3367
- "name": "FoundationElement",
3368
- "module": "src/foundation-element/foundation-element.ts"
3369
- }
3159
+ "readonly": true
3370
3160
  },
3371
3161
  {
3372
3162
  "kind": "method",
3373
- "name": "stylesChanged",
3374
- "privacy": "protected",
3163
+ "name": "openChanged",
3375
3164
  "return": {
3376
3165
  "type": {
3377
3166
  "text": "void"
3378
3167
  }
3379
- },
3380
- "inheritedFrom": {
3381
- "name": "FoundationElement",
3382
- "module": "src/foundation-element/foundation-element.ts"
3383
3168
  }
3384
3169
  },
3385
3170
  {
3386
3171
  "kind": "method",
3387
- "name": "compose",
3388
- "privacy": "public",
3389
- "static": true,
3390
- "return": {
3391
- "type": {
3392
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3393
- }
3394
- },
3172
+ "name": "handleClickOutside",
3173
+ "privacy": "private",
3395
3174
  "parameters": [
3396
3175
  {
3397
- "name": "this",
3176
+ "name": "event",
3177
+ "type": {
3178
+ "text": "MouseEvent"
3179
+ }
3180
+ }
3181
+ ]
3182
+ },
3183
+ {
3184
+ "kind": "method",
3185
+ "name": "toggleDropdown"
3186
+ },
3187
+ {
3188
+ "kind": "method",
3189
+ "name": "refreshStatus",
3190
+ "return": {
3191
+ "type": {
3192
+ "text": "Promise<void>"
3193
+ }
3194
+ }
3195
+ },
3196
+ {
3197
+ "kind": "method",
3198
+ "name": "deriveState",
3199
+ "privacy": "private",
3200
+ "return": {
3201
+ "type": {
3202
+ "text": "AIIndicatorState"
3203
+ }
3204
+ },
3205
+ "parameters": [
3206
+ {
3207
+ "name": "s",
3208
+ "type": {
3209
+ "text": "AIStatus | null"
3210
+ }
3211
+ }
3212
+ ]
3213
+ },
3214
+ {
3215
+ "kind": "method",
3216
+ "name": "maybeStartPolling",
3217
+ "privacy": "private",
3218
+ "return": {
3219
+ "type": {
3220
+ "text": "void"
3221
+ }
3222
+ }
3223
+ },
3224
+ {
3225
+ "kind": "method",
3226
+ "name": "startPolling",
3227
+ "privacy": "private",
3228
+ "return": {
3229
+ "type": {
3230
+ "text": "void"
3231
+ }
3232
+ }
3233
+ },
3234
+ {
3235
+ "kind": "method",
3236
+ "name": "stopPolling",
3237
+ "privacy": "private",
3238
+ "return": {
3239
+ "type": {
3240
+ "text": "void"
3241
+ }
3242
+ }
3243
+ },
3244
+ {
3245
+ "kind": "method",
3246
+ "name": "onInstall",
3247
+ "return": {
3248
+ "type": {
3249
+ "text": "Promise<void>"
3250
+ }
3251
+ }
3252
+ },
3253
+ {
3254
+ "kind": "field",
3255
+ "name": "_presentation",
3256
+ "type": {
3257
+ "text": "ComponentPresentation | null | undefined"
3258
+ },
3259
+ "privacy": "private",
3260
+ "default": "void 0",
3261
+ "inheritedFrom": {
3262
+ "name": "FoundationElement",
3263
+ "module": "src/foundation-element/foundation-element.ts"
3264
+ }
3265
+ },
3266
+ {
3267
+ "kind": "field",
3268
+ "name": "$presentation",
3269
+ "type": {
3270
+ "text": "ComponentPresentation | null"
3271
+ },
3272
+ "privacy": "public",
3273
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3274
+ "inheritedFrom": {
3275
+ "name": "FoundationElement",
3276
+ "module": "src/foundation-element/foundation-element.ts"
3277
+ }
3278
+ },
3279
+ {
3280
+ "kind": "field",
3281
+ "name": "template",
3282
+ "type": {
3283
+ "text": "ElementViewTemplate | void | null"
3284
+ },
3285
+ "privacy": "public",
3286
+ "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.",
3287
+ "inheritedFrom": {
3288
+ "name": "FoundationElement",
3289
+ "module": "src/foundation-element/foundation-element.ts"
3290
+ }
3291
+ },
3292
+ {
3293
+ "kind": "method",
3294
+ "name": "templateChanged",
3295
+ "privacy": "protected",
3296
+ "return": {
3297
+ "type": {
3298
+ "text": "void"
3299
+ }
3300
+ },
3301
+ "inheritedFrom": {
3302
+ "name": "FoundationElement",
3303
+ "module": "src/foundation-element/foundation-element.ts"
3304
+ }
3305
+ },
3306
+ {
3307
+ "kind": "field",
3308
+ "name": "styles",
3309
+ "type": {
3310
+ "text": "ElementStyles | void | null"
3311
+ },
3312
+ "privacy": "public",
3313
+ "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.",
3314
+ "inheritedFrom": {
3315
+ "name": "FoundationElement",
3316
+ "module": "src/foundation-element/foundation-element.ts"
3317
+ }
3318
+ },
3319
+ {
3320
+ "kind": "method",
3321
+ "name": "stylesChanged",
3322
+ "privacy": "protected",
3323
+ "return": {
3324
+ "type": {
3325
+ "text": "void"
3326
+ }
3327
+ },
3328
+ "inheritedFrom": {
3329
+ "name": "FoundationElement",
3330
+ "module": "src/foundation-element/foundation-element.ts"
3331
+ }
3332
+ },
3333
+ {
3334
+ "kind": "method",
3335
+ "name": "compose",
3336
+ "privacy": "public",
3337
+ "static": true,
3338
+ "return": {
3339
+ "type": {
3340
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3341
+ }
3342
+ },
3343
+ "parameters": [
3344
+ {
3345
+ "name": "this",
3398
3346
  "type": {
3399
3347
  "text": "K"
3400
3348
  }
@@ -3414,113 +3362,99 @@
3414
3362
  }
3415
3363
  }
3416
3364
  ],
3417
- "events": [
3418
- {
3419
- "description": "Fires a custom 'change' event when the button is invoked",
3420
- "name": "change",
3421
- "inheritedFrom": {
3422
- "name": "AccordionItem",
3423
- "module": "src/accordion-item/accordion-item.ts"
3424
- }
3425
- }
3426
- ]
3427
- },
3428
- {
3429
- "kind": "variable",
3430
- "name": "foundationAccordionItemShadowOptions",
3431
- "type": {
3432
- "text": "ShadowRootInit"
3433
- },
3434
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3435
- },
3436
- {
3437
- "kind": "variable",
3438
- "name": "defaultAccordionItemConfig",
3439
- "type": {
3440
- "text": "object"
3365
+ "superclass": {
3366
+ "name": "FoundationElement",
3367
+ "package": "@microsoft/fast-foundation"
3441
3368
  },
3442
- "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}"
3369
+ "tagName": "%%prefix%%-ai-indicator",
3370
+ "customElement": true
3443
3371
  },
3444
3372
  {
3445
3373
  "kind": "variable",
3446
- "name": "foundationAccordionItem",
3447
- "description": "The Foundation Accordion Item",
3448
- "privacy": "public"
3374
+ "name": "foundationAiIndicator"
3449
3375
  }
3450
3376
  ],
3451
3377
  "exports": [
3452
3378
  {
3453
3379
  "kind": "js",
3454
- "name": "AccordionItem",
3380
+ "name": "AiIndicator",
3455
3381
  "declaration": {
3456
- "name": "AccordionItem",
3457
- "module": "src/accordion-item/accordion-item.ts"
3382
+ "name": "AiIndicator",
3383
+ "module": "src/ai-indicator/ai-indicator.ts"
3458
3384
  }
3459
3385
  },
3460
3386
  {
3461
3387
  "kind": "js",
3462
- "name": "foundationAccordionItemShadowOptions",
3388
+ "name": "foundationAiIndicator",
3463
3389
  "declaration": {
3464
- "name": "foundationAccordionItemShadowOptions",
3465
- "module": "src/accordion-item/accordion-item.ts"
3390
+ "name": "foundationAiIndicator",
3391
+ "module": "src/ai-indicator/ai-indicator.ts"
3392
+ }
3393
+ }
3394
+ ]
3395
+ },
3396
+ {
3397
+ "kind": "javascript-module",
3398
+ "path": "src/ai-indicator/index.ts",
3399
+ "declarations": [],
3400
+ "exports": [
3401
+ {
3402
+ "kind": "js",
3403
+ "name": "AiIndicator",
3404
+ "declaration": {
3405
+ "name": "AiIndicator",
3406
+ "module": "./ai-indicator"
3466
3407
  }
3467
3408
  },
3468
3409
  {
3469
3410
  "kind": "js",
3470
- "name": "defaultAccordionItemConfig",
3411
+ "name": "foundationAiIndicator",
3471
3412
  "declaration": {
3472
- "name": "defaultAccordionItemConfig",
3473
- "module": "src/accordion-item/accordion-item.ts"
3413
+ "name": "foundationAiIndicator",
3414
+ "module": "./ai-indicator"
3474
3415
  }
3475
3416
  },
3476
3417
  {
3477
3418
  "kind": "js",
3478
- "name": "foundationAccordionItem",
3419
+ "name": "type",
3479
3420
  "declaration": {
3480
- "name": "foundationAccordionItem",
3481
- "module": "src/accordion-item/accordion-item.ts"
3421
+ "name": "type",
3422
+ "module": "./ai-indicator"
3482
3423
  }
3483
- }
3484
- ]
3485
- },
3486
- {
3487
- "kind": "javascript-module",
3488
- "path": "src/accordion-item/index.ts",
3489
- "declarations": [],
3490
- "exports": [
3424
+ },
3491
3425
  {
3492
3426
  "kind": "js",
3493
- "name": "*",
3427
+ "name": "AIIndicatorState",
3494
3428
  "declaration": {
3495
- "name": "*",
3496
- "package": "./accordion-item.template"
3429
+ "name": "AIIndicatorState",
3430
+ "module": "./ai-indicator"
3497
3431
  }
3498
3432
  },
3499
3433
  {
3500
3434
  "kind": "js",
3501
- "name": "*",
3435
+ "name": "foundationAiIndicatorTemplate",
3502
3436
  "declaration": {
3503
- "name": "*",
3504
- "package": "./accordion-item.styles"
3437
+ "name": "foundationAiIndicatorTemplate",
3438
+ "module": "./ai-indicator.template"
3505
3439
  }
3506
3440
  },
3507
3441
  {
3508
3442
  "kind": "js",
3509
- "name": "*",
3443
+ "name": "foundationAiIndicatorStyles",
3510
3444
  "declaration": {
3511
- "name": "*",
3512
- "package": "./accordion-item"
3445
+ "name": "foundationAiIndicatorStyles",
3446
+ "module": "./ai-indicator.styles"
3513
3447
  }
3514
3448
  }
3515
3449
  ]
3516
3450
  },
3517
3451
  {
3518
3452
  "kind": "javascript-module",
3519
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3453
+ "path": "src/accordion/accordion.styles.ts",
3520
3454
  "declarations": [
3521
3455
  {
3522
3456
  "kind": "function",
3523
- "name": "foundationAiIndicatorStyles",
3457
+ "name": "foundationAccordionStyles",
3524
3458
  "return": {
3525
3459
  "type": {
3526
3460
  "text": "ElementStyles"
@@ -3545,224 +3479,276 @@
3545
3479
  "exports": [
3546
3480
  {
3547
3481
  "kind": "js",
3548
- "name": "foundationAiIndicatorStyles",
3482
+ "name": "foundationAccordionStyles",
3549
3483
  "declaration": {
3550
- "name": "foundationAiIndicatorStyles",
3551
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3484
+ "name": "foundationAccordionStyles",
3485
+ "module": "src/accordion/accordion.styles.ts"
3552
3486
  }
3553
3487
  }
3554
3488
  ]
3555
3489
  },
3556
3490
  {
3557
3491
  "kind": "javascript-module",
3558
- "path": "src/ai-indicator/ai-indicator.template.ts",
3492
+ "path": "src/accordion/accordion.template.ts",
3559
3493
  "declarations": [
3560
3494
  {
3561
- "kind": "variable",
3562
- "name": "foundationAiIndicatorTemplate",
3563
- "type": {
3564
- "text": "ViewTemplate<AiIndicator>"
3495
+ "kind": "function",
3496
+ "name": "foundationAccordionTemplate",
3497
+ "return": {
3498
+ "type": {
3499
+ "text": "ViewTemplate<Accordion>"
3500
+ }
3565
3501
  },
3566
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3502
+ "parameters": [
3503
+ {
3504
+ "name": "context",
3505
+ "type": {
3506
+ "text": "ElementDefinitionContext"
3507
+ }
3508
+ },
3509
+ {
3510
+ "name": "definition",
3511
+ "type": {
3512
+ "text": "FoundationElementDefinition"
3513
+ }
3514
+ }
3515
+ ]
3567
3516
  }
3568
3517
  ],
3569
3518
  "exports": [
3570
3519
  {
3571
3520
  "kind": "js",
3572
- "name": "foundationAiIndicatorTemplate",
3521
+ "name": "foundationAccordionTemplate",
3573
3522
  "declaration": {
3574
- "name": "foundationAiIndicatorTemplate",
3575
- "module": "src/ai-indicator/ai-indicator.template.ts"
3523
+ "name": "foundationAccordionTemplate",
3524
+ "module": "src/accordion/accordion.template.ts"
3576
3525
  }
3577
3526
  }
3578
3527
  ]
3579
3528
  },
3580
3529
  {
3581
3530
  "kind": "javascript-module",
3582
- "path": "src/ai-indicator/ai-indicator.ts",
3531
+ "path": "src/accordion/accordion.ts",
3583
3532
  "declarations": [
3584
3533
  {
3585
3534
  "kind": "class",
3586
3535
  "description": "",
3587
- "name": "AiIndicator",
3588
- "members": [
3589
- {
3590
- "kind": "field",
3591
- "name": "providerRegistry",
3592
- "type": {
3593
- "text": "AIProviderRegistry"
3594
- }
3595
- },
3596
- {
3597
- "kind": "field",
3598
- "name": "aiProvider",
3599
- "type": {
3600
- "text": "AIProvider | undefined"
3601
- },
3602
- "privacy": "private",
3603
- "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.",
3604
- "readonly": true
3605
- },
3536
+ "name": "Accordion",
3537
+ "superclass": {
3538
+ "name": "FASTAccordion",
3539
+ "package": "@microsoft/fast-foundation"
3540
+ },
3541
+ "tagName": "%%prefix%%-accordion",
3542
+ "customElement": true,
3543
+ "attributes": [
3606
3544
  {
3607
- "kind": "field",
3608
- "name": "status",
3545
+ "name": "expand-mode",
3609
3546
  "type": {
3610
- "text": "AIStatus | null"
3547
+ "text": "AccordionExpandMode"
3611
3548
  },
3612
- "default": "null"
3613
- },
3549
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3550
+ "fieldName": "expandmode",
3551
+ "inheritedFrom": {
3552
+ "name": "Accordion",
3553
+ "module": "src/accordion/accordion.ts"
3554
+ }
3555
+ }
3556
+ ],
3557
+ "members": [
3614
3558
  {
3615
3559
  "kind": "field",
3616
- "name": "open",
3560
+ "name": "expandmode",
3617
3561
  "type": {
3618
- "text": "boolean"
3562
+ "text": "AccordionExpandMode"
3619
3563
  },
3620
- "default": "false"
3564
+ "privacy": "public",
3565
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3566
+ "inheritedFrom": {
3567
+ "name": "Accordion",
3568
+ "module": "src/accordion/accordion.ts"
3569
+ }
3621
3570
  },
3622
3571
  {
3623
3572
  "kind": "field",
3624
- "name": "state",
3573
+ "name": "activeid",
3625
3574
  "type": {
3626
- "text": "AIIndicatorState"
3575
+ "text": "string | null"
3627
3576
  },
3628
- "default": "'none'"
3577
+ "privacy": "private",
3578
+ "inheritedFrom": {
3579
+ "name": "Accordion",
3580
+ "module": "src/accordion/accordion.ts"
3581
+ }
3629
3582
  },
3630
3583
  {
3631
3584
  "kind": "field",
3632
- "name": "isInstalling",
3585
+ "name": "activeItemIndex",
3633
3586
  "type": {
3634
- "text": "boolean"
3587
+ "text": "number"
3635
3588
  },
3636
- "default": "false"
3589
+ "privacy": "private",
3590
+ "default": "0",
3591
+ "inheritedFrom": {
3592
+ "name": "Accordion",
3593
+ "module": "src/accordion/accordion.ts"
3594
+ }
3637
3595
  },
3638
3596
  {
3639
3597
  "kind": "field",
3640
- "name": "pollTimer",
3598
+ "name": "accordionIds",
3641
3599
  "type": {
3642
- "text": "ReturnType<typeof setInterval> | null"
3600
+ "text": "Array<string | null>"
3643
3601
  },
3644
3602
  "privacy": "private",
3645
- "default": "null"
3646
- },
3647
- {
3648
- "kind": "field",
3649
- "name": "clickOutside",
3650
- "privacy": "private"
3603
+ "inheritedFrom": {
3604
+ "name": "Accordion",
3605
+ "module": "src/accordion/accordion.ts"
3606
+ }
3651
3607
  },
3652
3608
  {
3653
3609
  "kind": "field",
3654
- "name": "chromeStatusLabel",
3655
- "type": {
3656
- "text": "string | null"
3657
- },
3658
- "readonly": true
3610
+ "name": "change",
3611
+ "privacy": "private",
3612
+ "inheritedFrom": {
3613
+ "name": "Accordion",
3614
+ "module": "src/accordion/accordion.ts"
3615
+ }
3659
3616
  },
3660
3617
  {
3661
- "kind": "field",
3662
- "name": "canInstall",
3663
- "type": {
3664
- "text": "boolean"
3618
+ "kind": "method",
3619
+ "name": "findExpandedItem",
3620
+ "privacy": "private",
3621
+ "return": {
3622
+ "type": {
3623
+ "text": "AccordionItem | null"
3624
+ }
3665
3625
  },
3666
- "readonly": true
3626
+ "inheritedFrom": {
3627
+ "name": "Accordion",
3628
+ "module": "src/accordion/accordion.ts"
3629
+ }
3667
3630
  },
3668
3631
  {
3669
3632
  "kind": "field",
3670
- "name": "isDownloading",
3671
- "type": {
3672
- "text": "boolean"
3673
- },
3674
- "readonly": true
3633
+ "name": "setItems",
3634
+ "privacy": "private",
3635
+ "inheritedFrom": {
3636
+ "name": "Accordion",
3637
+ "module": "src/accordion/accordion.ts"
3638
+ }
3675
3639
  },
3676
3640
  {
3677
3641
  "kind": "method",
3678
- "name": "openChanged",
3642
+ "name": "resetItems",
3643
+ "privacy": "private",
3679
3644
  "return": {
3680
3645
  "type": {
3681
3646
  "text": "void"
3682
3647
  }
3648
+ },
3649
+ "inheritedFrom": {
3650
+ "name": "Accordion",
3651
+ "module": "src/accordion/accordion.ts"
3683
3652
  }
3684
3653
  },
3685
3654
  {
3686
- "kind": "method",
3687
- "name": "handleClickOutside",
3655
+ "kind": "field",
3656
+ "name": "removeItemListeners",
3688
3657
  "privacy": "private",
3689
- "parameters": [
3690
- {
3691
- "name": "event",
3692
- "type": {
3693
- "text": "MouseEvent"
3694
- }
3695
- }
3696
- ]
3658
+ "inheritedFrom": {
3659
+ "name": "Accordion",
3660
+ "module": "src/accordion/accordion.ts"
3661
+ }
3697
3662
  },
3698
3663
  {
3699
- "kind": "method",
3700
- "name": "toggleDropdown"
3664
+ "kind": "field",
3665
+ "name": "activeItemChange",
3666
+ "privacy": "private",
3667
+ "inheritedFrom": {
3668
+ "name": "Accordion",
3669
+ "module": "src/accordion/accordion.ts"
3670
+ }
3701
3671
  },
3702
3672
  {
3703
3673
  "kind": "method",
3704
- "name": "refreshStatus",
3674
+ "name": "getItemIds",
3675
+ "privacy": "private",
3705
3676
  "return": {
3706
3677
  "type": {
3707
- "text": "Promise<void>"
3678
+ "text": "Array<string | null>"
3708
3679
  }
3680
+ },
3681
+ "inheritedFrom": {
3682
+ "name": "Accordion",
3683
+ "module": "src/accordion/accordion.ts"
3709
3684
  }
3710
3685
  },
3711
3686
  {
3712
3687
  "kind": "method",
3713
- "name": "deriveState",
3688
+ "name": "isSingleExpandMode",
3714
3689
  "privacy": "private",
3715
3690
  "return": {
3716
3691
  "type": {
3717
- "text": "AIIndicatorState"
3692
+ "text": "boolean"
3718
3693
  }
3719
3694
  },
3720
- "parameters": [
3721
- {
3722
- "name": "s",
3723
- "type": {
3724
- "text": "AIStatus | null"
3725
- }
3726
- }
3727
- ]
3695
+ "inheritedFrom": {
3696
+ "name": "Accordion",
3697
+ "module": "src/accordion/accordion.ts"
3698
+ }
3728
3699
  },
3729
3700
  {
3730
- "kind": "method",
3731
- "name": "maybeStartPolling",
3701
+ "kind": "field",
3702
+ "name": "handleItemKeyDown",
3732
3703
  "privacy": "private",
3733
- "return": {
3734
- "type": {
3735
- "text": "void"
3736
- }
3704
+ "inheritedFrom": {
3705
+ "name": "Accordion",
3706
+ "module": "src/accordion/accordion.ts"
3737
3707
  }
3738
3708
  },
3739
3709
  {
3740
- "kind": "method",
3741
- "name": "startPolling",
3710
+ "kind": "field",
3711
+ "name": "handleItemFocus",
3742
3712
  "privacy": "private",
3743
- "return": {
3744
- "type": {
3745
- "text": "void"
3746
- }
3713
+ "inheritedFrom": {
3714
+ "name": "Accordion",
3715
+ "module": "src/accordion/accordion.ts"
3747
3716
  }
3748
3717
  },
3749
3718
  {
3750
3719
  "kind": "method",
3751
- "name": "stopPolling",
3720
+ "name": "adjust",
3752
3721
  "privacy": "private",
3753
3722
  "return": {
3754
3723
  "type": {
3755
3724
  "text": "void"
3756
3725
  }
3726
+ },
3727
+ "parameters": [
3728
+ {
3729
+ "name": "adjustment",
3730
+ "type": {
3731
+ "text": "number"
3732
+ }
3733
+ }
3734
+ ],
3735
+ "inheritedFrom": {
3736
+ "name": "Accordion",
3737
+ "module": "src/accordion/accordion.ts"
3757
3738
  }
3758
3739
  },
3759
3740
  {
3760
3741
  "kind": "method",
3761
- "name": "onInstall",
3742
+ "name": "focusItem",
3743
+ "privacy": "private",
3762
3744
  "return": {
3763
3745
  "type": {
3764
- "text": "Promise<void>"
3746
+ "text": "void"
3765
3747
  }
3748
+ },
3749
+ "inheritedFrom": {
3750
+ "name": "Accordion",
3751
+ "module": "src/accordion/accordion.ts"
3766
3752
  }
3767
3753
  },
3768
3754
  {
@@ -3877,88 +3863,102 @@
3877
3863
  }
3878
3864
  }
3879
3865
  ],
3880
- "superclass": {
3881
- "name": "FoundationElement",
3882
- "package": "@microsoft/fast-foundation"
3866
+ "events": [
3867
+ {
3868
+ "description": "Fires a custom 'change' event when the active item changes",
3869
+ "name": "change",
3870
+ "inheritedFrom": {
3871
+ "name": "Accordion",
3872
+ "module": "src/accordion/accordion.ts"
3873
+ }
3874
+ }
3875
+ ]
3876
+ },
3877
+ {
3878
+ "kind": "variable",
3879
+ "name": "foundationAccordionShadowOptions",
3880
+ "type": {
3881
+ "text": "ShadowRootInit"
3883
3882
  },
3884
- "tagName": "%%prefix%%-ai-indicator",
3885
- "customElement": true
3883
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3886
3884
  },
3887
3885
  {
3888
3886
  "kind": "variable",
3889
- "name": "foundationAiIndicator"
3887
+ "name": "defaultAccordionConfig",
3888
+ "type": {
3889
+ "text": "object"
3890
+ },
3891
+ "default": "{}"
3892
+ },
3893
+ {
3894
+ "kind": "variable",
3895
+ "name": "foundationAccordion",
3896
+ "description": "The Foundation Accordion",
3897
+ "privacy": "public"
3890
3898
  }
3891
3899
  ],
3892
3900
  "exports": [
3893
3901
  {
3894
3902
  "kind": "js",
3895
- "name": "AiIndicator",
3903
+ "name": "Accordion",
3896
3904
  "declaration": {
3897
- "name": "AiIndicator",
3898
- "module": "src/ai-indicator/ai-indicator.ts"
3905
+ "name": "Accordion",
3906
+ "module": "src/accordion/accordion.ts"
3899
3907
  }
3900
3908
  },
3901
3909
  {
3902
3910
  "kind": "js",
3903
- "name": "foundationAiIndicator",
3904
- "declaration": {
3905
- "name": "foundationAiIndicator",
3906
- "module": "src/ai-indicator/ai-indicator.ts"
3907
- }
3908
- }
3909
- ]
3910
- },
3911
- {
3912
- "kind": "javascript-module",
3913
- "path": "src/ai-indicator/index.ts",
3914
- "declarations": [],
3915
- "exports": [
3916
- {
3917
- "kind": "js",
3918
- "name": "AiIndicator",
3911
+ "name": "foundationAccordionShadowOptions",
3919
3912
  "declaration": {
3920
- "name": "AiIndicator",
3921
- "module": "./ai-indicator"
3913
+ "name": "foundationAccordionShadowOptions",
3914
+ "module": "src/accordion/accordion.ts"
3922
3915
  }
3923
3916
  },
3924
3917
  {
3925
3918
  "kind": "js",
3926
- "name": "foundationAiIndicator",
3919
+ "name": "defaultAccordionConfig",
3927
3920
  "declaration": {
3928
- "name": "foundationAiIndicator",
3929
- "module": "./ai-indicator"
3921
+ "name": "defaultAccordionConfig",
3922
+ "module": "src/accordion/accordion.ts"
3930
3923
  }
3931
3924
  },
3932
3925
  {
3933
3926
  "kind": "js",
3934
- "name": "type",
3927
+ "name": "foundationAccordion",
3935
3928
  "declaration": {
3936
- "name": "type",
3937
- "module": "./ai-indicator"
3929
+ "name": "foundationAccordion",
3930
+ "module": "src/accordion/accordion.ts"
3938
3931
  }
3939
- },
3932
+ }
3933
+ ]
3934
+ },
3935
+ {
3936
+ "kind": "javascript-module",
3937
+ "path": "src/accordion/index.ts",
3938
+ "declarations": [],
3939
+ "exports": [
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "AIIndicatorState",
3942
+ "name": "*",
3943
3943
  "declaration": {
3944
- "name": "AIIndicatorState",
3945
- "module": "./ai-indicator"
3944
+ "name": "*",
3945
+ "package": "./accordion.template"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "foundationAiIndicatorTemplate",
3950
+ "name": "*",
3951
3951
  "declaration": {
3952
- "name": "foundationAiIndicatorTemplate",
3953
- "module": "./ai-indicator.template"
3952
+ "name": "*",
3953
+ "package": "./accordion.styles"
3954
3954
  }
3955
3955
  },
3956
3956
  {
3957
3957
  "kind": "js",
3958
- "name": "foundationAiIndicatorStyles",
3958
+ "name": "*",
3959
3959
  "declaration": {
3960
- "name": "foundationAiIndicatorStyles",
3961
- "module": "./ai-indicator.styles"
3960
+ "name": "*",
3961
+ "package": "./accordion"
3962
3962
  }
3963
3963
  }
3964
3964
  ]