@genesislcap/foundation-ui 14.411.0 → 14.412.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.
@@ -1287,6 +1287,431 @@
1287
1287
  }
1288
1288
  ]
1289
1289
  },
1290
+ {
1291
+ "kind": "javascript-module",
1292
+ "path": "src/accordion-item/accordion-item.styles.ts",
1293
+ "declarations": [
1294
+ {
1295
+ "kind": "function",
1296
+ "name": "foundationAccordionItemStyles",
1297
+ "return": {
1298
+ "type": {
1299
+ "text": "ElementStyles"
1300
+ }
1301
+ },
1302
+ "parameters": [
1303
+ {
1304
+ "name": "context",
1305
+ "type": {
1306
+ "text": "ElementDefinitionContext"
1307
+ }
1308
+ },
1309
+ {
1310
+ "name": "definition",
1311
+ "type": {
1312
+ "text": "FoundationElementDefinition"
1313
+ }
1314
+ }
1315
+ ]
1316
+ }
1317
+ ],
1318
+ "exports": [
1319
+ {
1320
+ "kind": "js",
1321
+ "name": "foundationAccordionItemStyles",
1322
+ "declaration": {
1323
+ "name": "foundationAccordionItemStyles",
1324
+ "module": "src/accordion-item/accordion-item.styles.ts"
1325
+ }
1326
+ }
1327
+ ]
1328
+ },
1329
+ {
1330
+ "kind": "javascript-module",
1331
+ "path": "src/accordion-item/accordion-item.template.ts",
1332
+ "declarations": [
1333
+ {
1334
+ "kind": "function",
1335
+ "name": "foundationAccordionItemTemplate",
1336
+ "return": {
1337
+ "type": {
1338
+ "text": "ViewTemplate<AccordionItem>"
1339
+ }
1340
+ },
1341
+ "parameters": [
1342
+ {
1343
+ "name": "context",
1344
+ "type": {
1345
+ "text": "ElementDefinitionContext"
1346
+ }
1347
+ },
1348
+ {
1349
+ "name": "definition",
1350
+ "type": {
1351
+ "text": "FoundationElementDefinition"
1352
+ }
1353
+ }
1354
+ ]
1355
+ }
1356
+ ],
1357
+ "exports": [
1358
+ {
1359
+ "kind": "js",
1360
+ "name": "foundationAccordionItemTemplate",
1361
+ "declaration": {
1362
+ "name": "foundationAccordionItemTemplate",
1363
+ "module": "src/accordion-item/accordion-item.template.ts"
1364
+ }
1365
+ }
1366
+ ]
1367
+ },
1368
+ {
1369
+ "kind": "javascript-module",
1370
+ "path": "src/accordion-item/accordion-item.ts",
1371
+ "declarations": [
1372
+ {
1373
+ "kind": "class",
1374
+ "description": "",
1375
+ "name": "AccordionItem",
1376
+ "superclass": {
1377
+ "name": "FASTAccordionItem",
1378
+ "package": "@microsoft/fast-components"
1379
+ },
1380
+ "tagName": "%%prefix%%-accordion-item",
1381
+ "customElement": true,
1382
+ "attributes": [
1383
+ {
1384
+ "name": "heading-level",
1385
+ "type": {
1386
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1387
+ },
1388
+ "default": "2",
1389
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1390
+ "fieldName": "headinglevel",
1391
+ "inheritedFrom": {
1392
+ "name": "AccordionItem",
1393
+ "module": "src/accordion-item/accordion-item.ts"
1394
+ }
1395
+ },
1396
+ {
1397
+ "type": {
1398
+ "text": "boolean"
1399
+ },
1400
+ "default": "false",
1401
+ "description": "Expands or collapses the item.",
1402
+ "fieldName": "expanded",
1403
+ "inheritedFrom": {
1404
+ "name": "AccordionItem",
1405
+ "module": "src/accordion-item/accordion-item.ts"
1406
+ }
1407
+ },
1408
+ {
1409
+ "name": "id",
1410
+ "type": {
1411
+ "text": "string"
1412
+ },
1413
+ "description": "The item ID",
1414
+ "fieldName": "id",
1415
+ "inheritedFrom": {
1416
+ "name": "AccordionItem",
1417
+ "module": "src/accordion-item/accordion-item.ts"
1418
+ }
1419
+ }
1420
+ ],
1421
+ "members": [
1422
+ {
1423
+ "kind": "field",
1424
+ "name": "headinglevel",
1425
+ "type": {
1426
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1427
+ },
1428
+ "privacy": "public",
1429
+ "default": "2",
1430
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1431
+ "inheritedFrom": {
1432
+ "name": "AccordionItem",
1433
+ "module": "src/accordion-item/accordion-item.ts"
1434
+ }
1435
+ },
1436
+ {
1437
+ "kind": "field",
1438
+ "name": "expanded",
1439
+ "type": {
1440
+ "text": "boolean"
1441
+ },
1442
+ "privacy": "public",
1443
+ "default": "false",
1444
+ "description": "Expands or collapses the item.",
1445
+ "inheritedFrom": {
1446
+ "name": "AccordionItem",
1447
+ "module": "src/accordion-item/accordion-item.ts"
1448
+ }
1449
+ },
1450
+ {
1451
+ "kind": "field",
1452
+ "name": "id",
1453
+ "type": {
1454
+ "text": "string"
1455
+ },
1456
+ "privacy": "public",
1457
+ "description": "The item ID",
1458
+ "inheritedFrom": {
1459
+ "name": "AccordionItem",
1460
+ "module": "src/accordion-item/accordion-item.ts"
1461
+ }
1462
+ },
1463
+ {
1464
+ "kind": "field",
1465
+ "name": "change",
1466
+ "privacy": "private",
1467
+ "inheritedFrom": {
1468
+ "name": "AccordionItem",
1469
+ "module": "src/accordion-item/accordion-item.ts"
1470
+ }
1471
+ },
1472
+ {
1473
+ "kind": "field",
1474
+ "name": "_presentation",
1475
+ "type": {
1476
+ "text": "ComponentPresentation | null | undefined"
1477
+ },
1478
+ "privacy": "private",
1479
+ "default": "void 0",
1480
+ "inheritedFrom": {
1481
+ "name": "FoundationElement",
1482
+ "module": "src/foundation-element/foundation-element.ts"
1483
+ }
1484
+ },
1485
+ {
1486
+ "kind": "field",
1487
+ "name": "$presentation",
1488
+ "type": {
1489
+ "text": "ComponentPresentation | null"
1490
+ },
1491
+ "privacy": "public",
1492
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1493
+ "inheritedFrom": {
1494
+ "name": "FoundationElement",
1495
+ "module": "src/foundation-element/foundation-element.ts"
1496
+ }
1497
+ },
1498
+ {
1499
+ "kind": "field",
1500
+ "name": "template",
1501
+ "type": {
1502
+ "text": "ElementViewTemplate | void | null"
1503
+ },
1504
+ "privacy": "public",
1505
+ "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.",
1506
+ "inheritedFrom": {
1507
+ "name": "FoundationElement",
1508
+ "module": "src/foundation-element/foundation-element.ts"
1509
+ }
1510
+ },
1511
+ {
1512
+ "kind": "method",
1513
+ "name": "templateChanged",
1514
+ "privacy": "protected",
1515
+ "return": {
1516
+ "type": {
1517
+ "text": "void"
1518
+ }
1519
+ },
1520
+ "inheritedFrom": {
1521
+ "name": "FoundationElement",
1522
+ "module": "src/foundation-element/foundation-element.ts"
1523
+ }
1524
+ },
1525
+ {
1526
+ "kind": "field",
1527
+ "name": "styles",
1528
+ "type": {
1529
+ "text": "ElementStyles | void | null"
1530
+ },
1531
+ "privacy": "public",
1532
+ "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.",
1533
+ "inheritedFrom": {
1534
+ "name": "FoundationElement",
1535
+ "module": "src/foundation-element/foundation-element.ts"
1536
+ }
1537
+ },
1538
+ {
1539
+ "kind": "method",
1540
+ "name": "stylesChanged",
1541
+ "privacy": "protected",
1542
+ "return": {
1543
+ "type": {
1544
+ "text": "void"
1545
+ }
1546
+ },
1547
+ "inheritedFrom": {
1548
+ "name": "FoundationElement",
1549
+ "module": "src/foundation-element/foundation-element.ts"
1550
+ }
1551
+ },
1552
+ {
1553
+ "kind": "method",
1554
+ "name": "compose",
1555
+ "privacy": "public",
1556
+ "static": true,
1557
+ "return": {
1558
+ "type": {
1559
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1560
+ }
1561
+ },
1562
+ "parameters": [
1563
+ {
1564
+ "name": "this",
1565
+ "type": {
1566
+ "text": "K"
1567
+ }
1568
+ },
1569
+ {
1570
+ "name": "elementDefinition",
1571
+ "type": {
1572
+ "text": "T"
1573
+ },
1574
+ "description": "The definition of the element to create the registry\nfunction for."
1575
+ }
1576
+ ],
1577
+ "description": "Defines an element registry function with a set of element definition defaults.",
1578
+ "inheritedFrom": {
1579
+ "name": "FoundationElement",
1580
+ "module": "src/foundation-element/foundation-element.ts"
1581
+ }
1582
+ }
1583
+ ],
1584
+ "events": [
1585
+ {
1586
+ "description": "Fires a custom 'change' event when the button is invoked",
1587
+ "name": "change",
1588
+ "inheritedFrom": {
1589
+ "name": "AccordionItem",
1590
+ "module": "src/accordion-item/accordion-item.ts"
1591
+ }
1592
+ }
1593
+ ]
1594
+ },
1595
+ {
1596
+ "kind": "variable",
1597
+ "name": "foundationAccordionItemShadowOptions",
1598
+ "type": {
1599
+ "text": "ShadowRootInit"
1600
+ },
1601
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1602
+ },
1603
+ {
1604
+ "kind": "variable",
1605
+ "name": "defaultAccordionItemConfig",
1606
+ "type": {
1607
+ "text": "object"
1608
+ },
1609
+ "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}"
1610
+ },
1611
+ {
1612
+ "kind": "variable",
1613
+ "name": "foundationAccordionItem",
1614
+ "description": "The Foundation Accordion Item",
1615
+ "privacy": "public"
1616
+ }
1617
+ ],
1618
+ "exports": [
1619
+ {
1620
+ "kind": "js",
1621
+ "name": "AccordionItem",
1622
+ "declaration": {
1623
+ "name": "AccordionItem",
1624
+ "module": "src/accordion-item/accordion-item.ts"
1625
+ }
1626
+ },
1627
+ {
1628
+ "kind": "js",
1629
+ "name": "foundationAccordionItemShadowOptions",
1630
+ "declaration": {
1631
+ "name": "foundationAccordionItemShadowOptions",
1632
+ "module": "src/accordion-item/accordion-item.ts"
1633
+ }
1634
+ },
1635
+ {
1636
+ "kind": "js",
1637
+ "name": "defaultAccordionItemConfig",
1638
+ "declaration": {
1639
+ "name": "defaultAccordionItemConfig",
1640
+ "module": "src/accordion-item/accordion-item.ts"
1641
+ }
1642
+ },
1643
+ {
1644
+ "kind": "js",
1645
+ "name": "foundationAccordionItem",
1646
+ "declaration": {
1647
+ "name": "foundationAccordionItem",
1648
+ "module": "src/accordion-item/accordion-item.ts"
1649
+ }
1650
+ }
1651
+ ]
1652
+ },
1653
+ {
1654
+ "kind": "javascript-module",
1655
+ "path": "src/accordion-item/index.ts",
1656
+ "declarations": [],
1657
+ "exports": [
1658
+ {
1659
+ "kind": "js",
1660
+ "name": "*",
1661
+ "declaration": {
1662
+ "name": "*",
1663
+ "package": "./accordion-item.template"
1664
+ }
1665
+ },
1666
+ {
1667
+ "kind": "js",
1668
+ "name": "*",
1669
+ "declaration": {
1670
+ "name": "*",
1671
+ "package": "./accordion-item.styles"
1672
+ }
1673
+ },
1674
+ {
1675
+ "kind": "js",
1676
+ "name": "*",
1677
+ "declaration": {
1678
+ "name": "*",
1679
+ "package": "./accordion-item"
1680
+ }
1681
+ }
1682
+ ]
1683
+ },
1684
+ {
1685
+ "kind": "javascript-module",
1686
+ "path": "src/_config/index.ts",
1687
+ "declarations": [],
1688
+ "exports": [
1689
+ {
1690
+ "kind": "js",
1691
+ "name": "*",
1692
+ "declaration": {
1693
+ "name": "*",
1694
+ "package": "./styles"
1695
+ }
1696
+ },
1697
+ {
1698
+ "kind": "js",
1699
+ "name": "*",
1700
+ "declaration": {
1701
+ "name": "*",
1702
+ "package": "./tokens"
1703
+ }
1704
+ },
1705
+ {
1706
+ "kind": "js",
1707
+ "name": "*",
1708
+ "declaration": {
1709
+ "name": "*",
1710
+ "package": "./values"
1711
+ }
1712
+ }
1713
+ ]
1714
+ },
1290
1715
  {
1291
1716
  "kind": "javascript-module",
1292
1717
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -1848,11 +2273,11 @@
1848
2273
  },
1849
2274
  {
1850
2275
  "kind": "javascript-module",
1851
- "path": "src/accordion-item/accordion-item.styles.ts",
2276
+ "path": "src/accordion/accordion.styles.ts",
1852
2277
  "declarations": [
1853
2278
  {
1854
2279
  "kind": "function",
1855
- "name": "foundationAccordionItemStyles",
2280
+ "name": "foundationAccordionStyles",
1856
2281
  "return": {
1857
2282
  "type": {
1858
2283
  "text": "ElementStyles"
@@ -1877,24 +2302,24 @@
1877
2302
  "exports": [
1878
2303
  {
1879
2304
  "kind": "js",
1880
- "name": "foundationAccordionItemStyles",
2305
+ "name": "foundationAccordionStyles",
1881
2306
  "declaration": {
1882
- "name": "foundationAccordionItemStyles",
1883
- "module": "src/accordion-item/accordion-item.styles.ts"
2307
+ "name": "foundationAccordionStyles",
2308
+ "module": "src/accordion/accordion.styles.ts"
1884
2309
  }
1885
2310
  }
1886
2311
  ]
1887
2312
  },
1888
2313
  {
1889
2314
  "kind": "javascript-module",
1890
- "path": "src/accordion-item/accordion-item.template.ts",
2315
+ "path": "src/accordion/accordion.template.ts",
1891
2316
  "declarations": [
1892
2317
  {
1893
2318
  "kind": "function",
1894
- "name": "foundationAccordionItemTemplate",
2319
+ "name": "foundationAccordionTemplate",
1895
2320
  "return": {
1896
2321
  "type": {
1897
- "text": "ViewTemplate<AccordionItem>"
2322
+ "text": "ViewTemplate<Accordion>"
1898
2323
  }
1899
2324
  },
1900
2325
  "parameters": [
@@ -1916,244 +2341,32 @@
1916
2341
  "exports": [
1917
2342
  {
1918
2343
  "kind": "js",
1919
- "name": "foundationAccordionItemTemplate",
2344
+ "name": "foundationAccordionTemplate",
1920
2345
  "declaration": {
1921
- "name": "foundationAccordionItemTemplate",
1922
- "module": "src/accordion-item/accordion-item.template.ts"
2346
+ "name": "foundationAccordionTemplate",
2347
+ "module": "src/accordion/accordion.template.ts"
1923
2348
  }
1924
2349
  }
1925
2350
  ]
1926
2351
  },
1927
2352
  {
1928
2353
  "kind": "javascript-module",
1929
- "path": "src/accordion-item/accordion-item.ts",
2354
+ "path": "src/accordion/accordion.ts",
1930
2355
  "declarations": [
1931
2356
  {
1932
2357
  "kind": "class",
1933
2358
  "description": "",
1934
- "name": "AccordionItem",
2359
+ "name": "Accordion",
1935
2360
  "superclass": {
1936
- "name": "FASTAccordionItem",
1937
- "package": "@microsoft/fast-components"
2361
+ "name": "FASTAccordion",
2362
+ "package": "@microsoft/fast-foundation"
1938
2363
  },
1939
- "tagName": "%%prefix%%-accordion-item",
1940
- "customElement": true,
1941
- "attributes": [
1942
- {
1943
- "name": "heading-level",
1944
- "type": {
1945
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1946
- },
1947
- "default": "2",
1948
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1949
- "fieldName": "headinglevel",
1950
- "inheritedFrom": {
1951
- "name": "AccordionItem",
1952
- "module": "src/accordion-item/accordion-item.ts"
1953
- }
1954
- },
1955
- {
1956
- "type": {
1957
- "text": "boolean"
1958
- },
1959
- "default": "false",
1960
- "description": "Expands or collapses the item.",
1961
- "fieldName": "expanded",
1962
- "inheritedFrom": {
1963
- "name": "AccordionItem",
1964
- "module": "src/accordion-item/accordion-item.ts"
1965
- }
1966
- },
1967
- {
1968
- "name": "id",
1969
- "type": {
1970
- "text": "string"
1971
- },
1972
- "description": "The item ID",
1973
- "fieldName": "id",
1974
- "inheritedFrom": {
1975
- "name": "AccordionItem",
1976
- "module": "src/accordion-item/accordion-item.ts"
1977
- }
1978
- }
1979
- ],
1980
- "members": [
1981
- {
1982
- "kind": "field",
1983
- "name": "headinglevel",
1984
- "type": {
1985
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1986
- },
1987
- "privacy": "public",
1988
- "default": "2",
1989
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1990
- "inheritedFrom": {
1991
- "name": "AccordionItem",
1992
- "module": "src/accordion-item/accordion-item.ts"
1993
- }
1994
- },
1995
- {
1996
- "kind": "field",
1997
- "name": "expanded",
1998
- "type": {
1999
- "text": "boolean"
2000
- },
2001
- "privacy": "public",
2002
- "default": "false",
2003
- "description": "Expands or collapses the item.",
2004
- "inheritedFrom": {
2005
- "name": "AccordionItem",
2006
- "module": "src/accordion-item/accordion-item.ts"
2007
- }
2008
- },
2009
- {
2010
- "kind": "field",
2011
- "name": "id",
2012
- "type": {
2013
- "text": "string"
2014
- },
2015
- "privacy": "public",
2016
- "description": "The item ID",
2017
- "inheritedFrom": {
2018
- "name": "AccordionItem",
2019
- "module": "src/accordion-item/accordion-item.ts"
2020
- }
2021
- },
2022
- {
2023
- "kind": "field",
2024
- "name": "change",
2025
- "privacy": "private",
2026
- "inheritedFrom": {
2027
- "name": "AccordionItem",
2028
- "module": "src/accordion-item/accordion-item.ts"
2029
- }
2030
- },
2031
- {
2032
- "kind": "field",
2033
- "name": "_presentation",
2034
- "type": {
2035
- "text": "ComponentPresentation | null | undefined"
2036
- },
2037
- "privacy": "private",
2038
- "default": "void 0",
2039
- "inheritedFrom": {
2040
- "name": "FoundationElement",
2041
- "module": "src/foundation-element/foundation-element.ts"
2042
- }
2043
- },
2044
- {
2045
- "kind": "field",
2046
- "name": "$presentation",
2047
- "type": {
2048
- "text": "ComponentPresentation | null"
2049
- },
2050
- "privacy": "public",
2051
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2052
- "inheritedFrom": {
2053
- "name": "FoundationElement",
2054
- "module": "src/foundation-element/foundation-element.ts"
2055
- }
2056
- },
2057
- {
2058
- "kind": "field",
2059
- "name": "template",
2060
- "type": {
2061
- "text": "ElementViewTemplate | void | null"
2062
- },
2063
- "privacy": "public",
2064
- "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.",
2065
- "inheritedFrom": {
2066
- "name": "FoundationElement",
2067
- "module": "src/foundation-element/foundation-element.ts"
2068
- }
2069
- },
2070
- {
2071
- "kind": "method",
2072
- "name": "templateChanged",
2073
- "privacy": "protected",
2074
- "return": {
2075
- "type": {
2076
- "text": "void"
2077
- }
2078
- },
2079
- "inheritedFrom": {
2080
- "name": "FoundationElement",
2081
- "module": "src/foundation-element/foundation-element.ts"
2082
- }
2083
- },
2084
- {
2085
- "kind": "field",
2086
- "name": "styles",
2087
- "type": {
2088
- "text": "ElementStyles | void | null"
2089
- },
2090
- "privacy": "public",
2091
- "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.",
2092
- "inheritedFrom": {
2093
- "name": "FoundationElement",
2094
- "module": "src/foundation-element/foundation-element.ts"
2095
- }
2096
- },
2097
- {
2098
- "kind": "method",
2099
- "name": "stylesChanged",
2100
- "privacy": "protected",
2101
- "return": {
2102
- "type": {
2103
- "text": "void"
2104
- }
2105
- },
2106
- "inheritedFrom": {
2107
- "name": "FoundationElement",
2108
- "module": "src/foundation-element/foundation-element.ts"
2109
- }
2110
- },
2111
- {
2112
- "kind": "method",
2113
- "name": "compose",
2114
- "privacy": "public",
2115
- "static": true,
2116
- "return": {
2117
- "type": {
2118
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2119
- }
2120
- },
2121
- "parameters": [
2122
- {
2123
- "name": "this",
2124
- "type": {
2125
- "text": "K"
2126
- }
2127
- },
2128
- {
2129
- "name": "elementDefinition",
2130
- "type": {
2131
- "text": "T"
2132
- },
2133
- "description": "The definition of the element to create the registry\nfunction for."
2134
- }
2135
- ],
2136
- "description": "Defines an element registry function with a set of element definition defaults.",
2137
- "inheritedFrom": {
2138
- "name": "FoundationElement",
2139
- "module": "src/foundation-element/foundation-element.ts"
2140
- }
2141
- }
2142
- ],
2143
- "events": [
2144
- {
2145
- "description": "Fires a custom 'change' event when the button is invoked",
2146
- "name": "change",
2147
- "inheritedFrom": {
2148
- "name": "AccordionItem",
2149
- "module": "src/accordion-item/accordion-item.ts"
2150
- }
2151
- }
2152
- ]
2364
+ "tagName": "%%prefix%%-accordion",
2365
+ "customElement": true
2153
2366
  },
2154
2367
  {
2155
2368
  "kind": "variable",
2156
- "name": "foundationAccordionItemShadowOptions",
2369
+ "name": "foundationAccordionShadowOptions",
2157
2370
  "type": {
2158
2371
  "text": "ShadowRootInit"
2159
2372
  },
@@ -2161,88 +2374,57 @@
2161
2374
  },
2162
2375
  {
2163
2376
  "kind": "variable",
2164
- "name": "defaultAccordionItemConfig",
2377
+ "name": "defaultAccordionConfig",
2165
2378
  "type": {
2166
2379
  "text": "object"
2167
2380
  },
2168
- "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}"
2381
+ "default": "{}"
2169
2382
  },
2170
2383
  {
2171
2384
  "kind": "variable",
2172
- "name": "foundationAccordionItem",
2173
- "description": "The Foundation Accordion Item",
2385
+ "name": "foundationAccordion",
2386
+ "description": "The Foundation Accordion",
2174
2387
  "privacy": "public"
2175
2388
  }
2176
2389
  ],
2177
2390
  "exports": [
2178
2391
  {
2179
2392
  "kind": "js",
2180
- "name": "AccordionItem",
2181
- "declaration": {
2182
- "name": "AccordionItem",
2183
- "module": "src/accordion-item/accordion-item.ts"
2184
- }
2185
- },
2186
- {
2187
- "kind": "js",
2188
- "name": "foundationAccordionItemShadowOptions",
2189
- "declaration": {
2190
- "name": "foundationAccordionItemShadowOptions",
2191
- "module": "src/accordion-item/accordion-item.ts"
2192
- }
2193
- },
2194
- {
2195
- "kind": "js",
2196
- "name": "defaultAccordionItemConfig",
2393
+ "name": "Accordion",
2197
2394
  "declaration": {
2198
- "name": "defaultAccordionItemConfig",
2199
- "module": "src/accordion-item/accordion-item.ts"
2395
+ "name": "Accordion",
2396
+ "module": "src/accordion/accordion.ts"
2200
2397
  }
2201
2398
  },
2202
2399
  {
2203
2400
  "kind": "js",
2204
- "name": "foundationAccordionItem",
2205
- "declaration": {
2206
- "name": "foundationAccordionItem",
2207
- "module": "src/accordion-item/accordion-item.ts"
2208
- }
2209
- }
2210
- ]
2211
- },
2212
- {
2213
- "kind": "javascript-module",
2214
- "path": "src/accordion-item/index.ts",
2215
- "declarations": [],
2216
- "exports": [
2217
- {
2218
- "kind": "js",
2219
- "name": "*",
2401
+ "name": "foundationAccordionShadowOptions",
2220
2402
  "declaration": {
2221
- "name": "*",
2222
- "package": "./accordion-item.template"
2403
+ "name": "foundationAccordionShadowOptions",
2404
+ "module": "src/accordion/accordion.ts"
2223
2405
  }
2224
2406
  },
2225
2407
  {
2226
2408
  "kind": "js",
2227
- "name": "*",
2409
+ "name": "defaultAccordionConfig",
2228
2410
  "declaration": {
2229
- "name": "*",
2230
- "package": "./accordion-item.styles"
2411
+ "name": "defaultAccordionConfig",
2412
+ "module": "src/accordion/accordion.ts"
2231
2413
  }
2232
2414
  },
2233
2415
  {
2234
2416
  "kind": "js",
2235
- "name": "*",
2417
+ "name": "foundationAccordion",
2236
2418
  "declaration": {
2237
- "name": "*",
2238
- "package": "./accordion-item"
2419
+ "name": "foundationAccordion",
2420
+ "module": "src/accordion/accordion.ts"
2239
2421
  }
2240
2422
  }
2241
2423
  ]
2242
2424
  },
2243
2425
  {
2244
2426
  "kind": "javascript-module",
2245
- "path": "src/_config/index.ts",
2427
+ "path": "src/accordion/index.ts",
2246
2428
  "declarations": [],
2247
2429
  "exports": [
2248
2430
  {
@@ -2250,7 +2432,7 @@
2250
2432
  "name": "*",
2251
2433
  "declaration": {
2252
2434
  "name": "*",
2253
- "package": "./styles"
2435
+ "package": "./accordion.template"
2254
2436
  }
2255
2437
  },
2256
2438
  {
@@ -2258,7 +2440,7 @@
2258
2440
  "name": "*",
2259
2441
  "declaration": {
2260
2442
  "name": "*",
2261
- "package": "./tokens"
2443
+ "package": "./accordion.styles"
2262
2444
  }
2263
2445
  },
2264
2446
  {
@@ -2266,7 +2448,7 @@
2266
2448
  "name": "*",
2267
2449
  "declaration": {
2268
2450
  "name": "*",
2269
- "package": "./values"
2451
+ "package": "./accordion"
2270
2452
  }
2271
2453
  }
2272
2454
  ]
@@ -2812,188 +2994,6 @@
2812
2994
  }
2813
2995
  ]
2814
2996
  },
2815
- {
2816
- "kind": "javascript-module",
2817
- "path": "src/accordion/accordion.styles.ts",
2818
- "declarations": [
2819
- {
2820
- "kind": "function",
2821
- "name": "foundationAccordionStyles",
2822
- "return": {
2823
- "type": {
2824
- "text": "ElementStyles"
2825
- }
2826
- },
2827
- "parameters": [
2828
- {
2829
- "name": "context",
2830
- "type": {
2831
- "text": "ElementDefinitionContext"
2832
- }
2833
- },
2834
- {
2835
- "name": "definition",
2836
- "type": {
2837
- "text": "FoundationElementDefinition"
2838
- }
2839
- }
2840
- ]
2841
- }
2842
- ],
2843
- "exports": [
2844
- {
2845
- "kind": "js",
2846
- "name": "foundationAccordionStyles",
2847
- "declaration": {
2848
- "name": "foundationAccordionStyles",
2849
- "module": "src/accordion/accordion.styles.ts"
2850
- }
2851
- }
2852
- ]
2853
- },
2854
- {
2855
- "kind": "javascript-module",
2856
- "path": "src/accordion/accordion.template.ts",
2857
- "declarations": [
2858
- {
2859
- "kind": "function",
2860
- "name": "foundationAccordionTemplate",
2861
- "return": {
2862
- "type": {
2863
- "text": "ViewTemplate<Accordion>"
2864
- }
2865
- },
2866
- "parameters": [
2867
- {
2868
- "name": "context",
2869
- "type": {
2870
- "text": "ElementDefinitionContext"
2871
- }
2872
- },
2873
- {
2874
- "name": "definition",
2875
- "type": {
2876
- "text": "FoundationElementDefinition"
2877
- }
2878
- }
2879
- ]
2880
- }
2881
- ],
2882
- "exports": [
2883
- {
2884
- "kind": "js",
2885
- "name": "foundationAccordionTemplate",
2886
- "declaration": {
2887
- "name": "foundationAccordionTemplate",
2888
- "module": "src/accordion/accordion.template.ts"
2889
- }
2890
- }
2891
- ]
2892
- },
2893
- {
2894
- "kind": "javascript-module",
2895
- "path": "src/accordion/accordion.ts",
2896
- "declarations": [
2897
- {
2898
- "kind": "class",
2899
- "description": "",
2900
- "name": "Accordion",
2901
- "superclass": {
2902
- "name": "FASTAccordion",
2903
- "package": "@microsoft/fast-foundation"
2904
- },
2905
- "tagName": "%%prefix%%-accordion",
2906
- "customElement": true
2907
- },
2908
- {
2909
- "kind": "variable",
2910
- "name": "foundationAccordionShadowOptions",
2911
- "type": {
2912
- "text": "ShadowRootInit"
2913
- },
2914
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2915
- },
2916
- {
2917
- "kind": "variable",
2918
- "name": "defaultAccordionConfig",
2919
- "type": {
2920
- "text": "object"
2921
- },
2922
- "default": "{}"
2923
- },
2924
- {
2925
- "kind": "variable",
2926
- "name": "foundationAccordion",
2927
- "description": "The Foundation Accordion",
2928
- "privacy": "public"
2929
- }
2930
- ],
2931
- "exports": [
2932
- {
2933
- "kind": "js",
2934
- "name": "Accordion",
2935
- "declaration": {
2936
- "name": "Accordion",
2937
- "module": "src/accordion/accordion.ts"
2938
- }
2939
- },
2940
- {
2941
- "kind": "js",
2942
- "name": "foundationAccordionShadowOptions",
2943
- "declaration": {
2944
- "name": "foundationAccordionShadowOptions",
2945
- "module": "src/accordion/accordion.ts"
2946
- }
2947
- },
2948
- {
2949
- "kind": "js",
2950
- "name": "defaultAccordionConfig",
2951
- "declaration": {
2952
- "name": "defaultAccordionConfig",
2953
- "module": "src/accordion/accordion.ts"
2954
- }
2955
- },
2956
- {
2957
- "kind": "js",
2958
- "name": "foundationAccordion",
2959
- "declaration": {
2960
- "name": "foundationAccordion",
2961
- "module": "src/accordion/accordion.ts"
2962
- }
2963
- }
2964
- ]
2965
- },
2966
- {
2967
- "kind": "javascript-module",
2968
- "path": "src/accordion/index.ts",
2969
- "declarations": [],
2970
- "exports": [
2971
- {
2972
- "kind": "js",
2973
- "name": "*",
2974
- "declaration": {
2975
- "name": "*",
2976
- "package": "./accordion.template"
2977
- }
2978
- },
2979
- {
2980
- "kind": "js",
2981
- "name": "*",
2982
- "declaration": {
2983
- "name": "*",
2984
- "package": "./accordion.styles"
2985
- }
2986
- },
2987
- {
2988
- "kind": "js",
2989
- "name": "*",
2990
- "declaration": {
2991
- "name": "*",
2992
- "package": "./accordion"
2993
- }
2994
- }
2995
- ]
2996
- },
2997
2997
  {
2998
2998
  "kind": "javascript-module",
2999
2999
  "path": "src/ai-indicator/ai-indicator.styles.ts",
@@ -49710,6 +49710,31 @@
49710
49710
  "text": "number"
49711
49711
  }
49712
49712
  },
49713
+ {
49714
+ "kind": "field",
49715
+ "name": "prefix",
49716
+ "type": {
49717
+ "text": "string"
49718
+ },
49719
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
49720
+ },
49721
+ {
49722
+ "kind": "field",
49723
+ "name": "suffix",
49724
+ "type": {
49725
+ "text": "string"
49726
+ },
49727
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
49728
+ },
49729
+ {
49730
+ "kind": "field",
49731
+ "name": "hideAffixFromScreenReader",
49732
+ "type": {
49733
+ "text": "boolean"
49734
+ },
49735
+ "default": "false",
49736
+ "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes, and their ids are omitted from the control’s `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
49737
+ },
49713
49738
  {
49714
49739
  "kind": "field",
49715
49740
  "name": "readOnly",
@@ -50154,6 +50179,31 @@
50154
50179
  },
50155
50180
  "fieldName": "step"
50156
50181
  },
50182
+ {
50183
+ "name": "prefix",
50184
+ "type": {
50185
+ "text": "string"
50186
+ },
50187
+ "description": "Optional non-editable label shown on the left inside the field, before the input.",
50188
+ "fieldName": "prefix"
50189
+ },
50190
+ {
50191
+ "name": "suffix",
50192
+ "type": {
50193
+ "text": "string"
50194
+ },
50195
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field.",
50196
+ "fieldName": "suffix"
50197
+ },
50198
+ {
50199
+ "name": "hide-affix-from-screen-reader",
50200
+ "type": {
50201
+ "text": "boolean"
50202
+ },
50203
+ "default": "false",
50204
+ "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes, and their ids are omitted from the control’s `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text.",
50205
+ "fieldName": "hideAffixFromScreenReader"
50206
+ },
50157
50207
  {
50158
50208
  "name": "readonly",
50159
50209
  "type": {